@charset "UTF-8";


.p-cost-kv {
  color: #333333;
}

.tab-contents {
  display: none;
}

.is-contents-active {
  display: block;
}

.tab-list {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #FF871A;
  margin-top: 0;
}

.tab-list button {
  font-size: 22px;
  font-weight: bold;
  width: 33%;
  border: none;
  background-color: #FF871A;
  color: white;
  padding: 22px 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.tab-list .is-btn-active {
  background-color: white;
  border: 1px solid #FF871A;
  color: #FF871A;
  border-bottom: none;
}

.p-cost__txt01 {
  font-size: 15px;
  margin: 50px 0;
}

.p-cost__table-wrap table {
  width: 100%;
}

.p-cost__table-wrap table {
  border-collapse: collapse;
  border: none;
}
.p-cost__table-wrap table td,th {
  border: none;
  border-left: 1px solid #DFDFDF;
  border-top: 1px solid#DFDFDF;
}

.p-cost__table-wrap table td:first-child,th:first-child{
  border-left:none;
  width: 18% !important;
}

.business th:first-child{
  border-left:none;
  width: auto !important;
}

.p-cost__table-wrap table tr:first-child th:first-child {
  border-top: none;
}

.p-cost__table-wrap table tr:first-child th:nth-child(2){
  border-top: 6px solid #FFC38C;
}

.p-cost__table-wrap table tr:first-child th:nth-child(3){
  border-top: 6px solid #FF871A;
}

.p-cost__table-wrap table tr:first-child th:nth-child(4){
  border-top: 6px solid #D64518;
}

.p-cost__table-wrap table th {
  font-size: 20px;
  font-weight: 500;
  padding: 24px 0;
  width: 27%;
}

.p-cost__table-wrap table td {
  text-align: center;
  vertical-align:middle;
  padding: 18px 0;
}

.p-cost__table-wrap table td:first-child {
  text-align: left;
  padding-left: 20px;
  font-size: 16px;
  font-weight: 500;
}

.p-cost__table-wrap tbody tr:first-child td {
  padding: 24px 0;
  background-color: #ECEEF0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

.p-cost__table-wrap tbody tr td span {
  font-size: 30px;
  color: #FF871A;
  font-weight: 600;
}
.p-cost__table-wrap tbody tr:first-child td:first-child {
  padding-left: 20px;
}

.p-cost__table-wrap tbody tr:nth-child(2n+1) {
  background-color: #F8F8F8;
}

.p-cost__table-wrap tbody tr img {
  margin: 0 auto;
}

.u-dn-pc {
  display: none;
}

#cost .p-lower-kv__in {
  background-image: url(../../assets/images/business/production/cost/mv-pc.jpg);
}

.business h2.p-heading-02 {
  margin-top: 40px !important;
}


@media all and (max-width:767px) {

  .tab-list {
    margin-top: 148px;
  }

  .tab-list button {
    font-size: 12px;
    padding: 18px 10px;
  }

  .u-dn-pc {
    display: block;
  }

  #cost .p-lower-kv__title {
    margin-top: 130px;
  }

  #cost .p-lower-kv__in {
    background-image: url(../../assets/images/business/production/cost/mv.png);
  }

  .p-cost__txt01 {
    margin: 30px 0;
    font-size: 12px;
  }

  .p-cost__table-wrap table td {
    padding: 12px 0;
  }

  .p-cost__table-wrap table th {
    font-size: 18px;
    padding: 14px 0;
  }

  .p-cost__table-wrap tbody tr:first-child td:first-child {
    padding-left: 10px;
  }

  .p-cost__table-wrap tbody tr:first-child td {
    padding: 14px 0;
    font-size: 14px;
  }

  .p-cost__table-wrap table td:first-child {
    font-size: 14px;
  }

  .tab-contents {
    width: auto;
  }

  .p-cost__table-wrap {
    width: 100%;
    overflow-x: scroll;
  }

  .p-cost__table-wrap table {
    table-layout: fixed;
    line-height: 1.5;
  }

  .p-cost__table-wrap tbody tr td span {
    font-size: 20px;
  }

  .p-cost__table-wrap table th {
    width: 190px;
  }

  .p-cost__table-wrap table td:first-child, th:first-child {
    width: 180px !important;
  }

  .business th:first-child{
    border-left:none;
    width: auto !important;
  }

  .business h2.p-heading-02 {
    padding: 0 20px !important;
  }

  .business h2.p-heading-02 {
    margin-top: 20px !important;
  }

  .business #editform {
    padding: 0 20px !important;
    margin-bottom: 30px;
  }

  .business .p-cost__table-wrap th:first-child {
    width: 180px !important;
  }

  .p-under__blog-link-wrap {
    padding: 0 20px;
  }
  
}

.p-under__blog-link-wrap {
  margin: 40px 0;
}

.p-under__blog-link-wrap a {
  display: block;
  color: #f76700;
  transition: .3s;
  margin-top: 6px;
}

.p-under__blog-link-wrap a:first-child {
  margin-top: 0;
}

.p-under__blog-link-wrap a:hover {
  opacity: 0.7;
}