@charset "utf-8";

/*-----------------------------------pagetitle↓↓↓↓↓*/
.pagetitle {
  background-image: url(./images/price-pagetitle_bg.jpg);
}

/*-----------------------------------pagetitle↑↑↑↑↑*/

.mainContainer.pricePage .contentstitle {
  margin: 30px 0;
}

.p-planCont,
.p-shiyoCont{
  background: #fff;
}

.p-planCont__table {
  width: 100%;
  margin-bottom: 20px;
}

.p-planCont__table thead th {
  background: #f1f1f1;
  padding: 10px;
  font-weight: bold;
  border-right: solid 1px #fff;
}

.p-planCont__table thead th:last-child {
  border-right: none;
}

.p-planCont__table tbody tr {
  text-align: center;
}

.p-planCont__table tbody td {
  font-size: 16px;
  padding: 15px 10px;
  width: 50%;
  border-bottom: solid 1px #bababa;
  border-right: dotted 1px #bababa;
}

.p-planCont__table tbody td:last-child {
  border-right: none;
}

.p-planCont__itemList ul,
.p-shiyoCont__list ul{
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.p-planCont__itemList li {
  border: dotted 2px #93C74C;
  padding: 0 1em;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 65px;
  font-weight: bold;
  line-height: 1.3;
}

.p-planCont__itemList li.small {
  font-size: 12px;
  padding: 0 0.5em;
}

.p-shiyoCont {
  margin-bottom: 50px;
}

.p-shiyoCont__list li {
  text-align: center;
}

.p-shiyoCont__list li figure {
  margin-bottom: 0.3em;
}


@media print, screen and (min-width: 769px) {

  .p-planCont,
  .p-shiyoCont{
		padding: 50px;
  }
  
  .p-planCont__itemList li,
  .p-shiyoCont__list li{
    width: 23.5%;
    margin-right: 2%;
    margin-bottom: 2%;
  }
  
  .p-planCont__itemList li:nth-child(4n),
  .p-shiyoCont__list li:nth-child(4n){
    margin-right: 0;
  }
  
  .p-shiyoCont__list li img {
    width: 100%;
  }
  
}

@media screen and (max-width:768px) {

  .mainContainer.pricePage {
    padding: 20px 0;
  }
  
  .mainContainer.pricePage .contentstitle,
  .mainContainer.pricePage .p-areaCont{
   padding: 0 20px;
  }
  
  .p-planCont,
  .p-shiyoCont{
		padding: 30px 15px;
	}
  
  .p-planCont__itemList li,
  .p-shiyoCont__list li{
    width: 48.9%;
    margin-right: 2%;
    margin-bottom: 4%;
  }
  
  .p-planCont__itemList li:nth-child(2n),
  .p-shiyoCont__list li:nth-child(2n){
    margin-right: 0;
  }
  
}

