/* 価格の目安ページ（tmp_price.php）だけで読み込む
   色・線・文字の大きさは styles.css のショールーム案内表（.p-showroom__guide）と設置までの流れのボタン（.p-flow__button）に合わせる */

.p-price {
  padding: 3.125rem 0 5rem;
  color: #535252;
}
@media screen and (min-width: 768px) {
  .p-price {
    padding: 6.25rem 0 8.75rem;
  }
  .p-price .l-inner {
    max-width: 960px;
  }
}

.p-price__lead p,
.p-price__text {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.05em;
}
@media screen and (min-width: 768px) {
  .p-price__lead p,
  .p-price__text {
    font-size: 1rem;
    letter-spacing: 0.1em;
  }
}
.p-price__lead p + p {
  margin-top: 0.5em;
}
.p-price__lead .p-price__note {
  margin-top: 1.25em;
  font-size: 0.8125rem;
}
@media screen and (min-width: 768px) {
  .p-price__lead .p-price__note {
    font-size: 0.875rem;
  }
}

.p-price__section {
  margin-top: 3.75rem;
}
@media screen and (min-width: 768px) {
  .p-price__section {
    margin-top: 5.625rem;
  }
}

.p-price__title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: #2D2D2D;
}
@media screen and (min-width: 768px) {
  .p-price__title {
    font-size: 1.5rem;
  }
}
.p-price__en {
  display: block;
  margin-bottom: 0.375rem;
  font-family: jost, sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8a8a8a;
}
@media screen and (min-width: 768px) {
  .p-price__en {
    font-size: 0.875rem;
  }
}

.p-price__subTitle {
  margin-top: 1.875rem;
  padding-left: 0.75rem;
  border-left: 3px solid #535252;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.1em;
}
@media screen and (min-width: 768px) {
  .p-price__subTitle {
    font-size: 1.0625rem;
  }
}
.p-price__subTitle + .p-price__text,
.p-price__subTitle + .p-price__list {
  margin-top: 0.75rem;
}

.p-price__table + .p-price__text,
.p-price__cols + .p-price__text,
.p-price__guide + .p-price__text {
  margin-top: 1.25rem;
}
.p-price__title + .p-price__text {
  margin-top: 1.25rem;
}

/* 表 */
.p-price__table {
  width: 100%;
  margin-top: 1.5rem;
  border-collapse: collapse;
  border-top: 1px solid #d6d6d6;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.05em;
}
@media screen and (min-width: 768px) {
  .p-price__table {
    font-size: 1rem;
    letter-spacing: 0.1em;
  }
}
.p-price__table th,
.p-price__table td {
  padding: 0.875rem 0.625rem;
  border-bottom: 1px solid #d6d6d6;
  text-align: left;
  vertical-align: top;
}
.p-price__table thead th {
  background: #f4f4f4;
  font-size: 0.8125rem;
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  .p-price__table thead th {
    font-size: 0.875rem;
  }
}
.p-price__table tbody th {
  font-weight: 700;
}
.p-price__table td:last-child {
  white-space: nowrap;
}

/* 施工事例の表はスマホで1事例ずつの縦並びにする */
@media screen and (max-width: 767px) {
  .p-price__table.--case thead {
    display: none;
  }
  .p-price__table.--case tr {
    display: block;
    padding: 0.875rem 0;
    border-bottom: 1px solid #d6d6d6;
  }
  .p-price__table.--case th,
  .p-price__table.--case td {
    display: block;
    padding: 0;
    border-bottom: none;
  }
  .p-price__table.--case td {
    margin-top: 0.25rem;
  }
  .p-price__table.--case td:last-child {
    white-space: normal;
  }
}
@media screen and (min-width: 768px) {
  .p-price__table.--case tbody th {
    width: 5.5rem;
  }
}

/* 含まれるもの・別途になるもの */
@media screen and (min-width: 768px) {
  .p-price__cols {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 2.5rem;
  }
  .p-price__col {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
}

.p-price__list {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.05em;
}
@media screen and (min-width: 768px) {
  .p-price__list {
    font-size: 1rem;
    letter-spacing: 0.1em;
  }
}
.p-price__list li {
  position: relative;
  padding-left: 1em;
}
.p-price__list li::before {
  content: "・";
  position: absolute;
  left: 0;
}

/* 納期・保証・ローン（ショールームの案内表と同じ形） */
.p-price__guide {
  margin-top: 1.5rem;
  border-top: 1px solid #d6d6d6;
}
.p-price__guideRow {
  padding: 0.875rem 0;
  border-bottom: 1px solid #d6d6d6;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.776;
  letter-spacing: 0.1em;
}
.p-price__guideRow dt {
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  .p-price__guideRow {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 1rem;
  }
  .p-price__guideRow dt {
    width: 10rem;
    -ms-flex-negative: 0;
        flex-shrink: 0;
  }
}

.p-price__text a {
  text-decoration: underline;
}

/* 問い合わせボタン（設置までの流れのボタンと同じ形） */
.p-price__button {
  margin: 2.5rem auto 0;
  width: 85.7142857143%;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-price__button {
    width: 22.875rem;
    margin-top: 3.125rem;
  }
}
.p-price__button a {
  display: block;
  padding: 1.125rem 0.625rem 1.1875rem;
  background: #535252;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}
@media screen and (min-width: 768px) {
  .p-price__button a {
    border: solid 1px #535252;
    font-size: 1.125rem;
    padding: 1rem;
  }
  .p-price__button a:hover {
    background: #fff;
    color: #535252;
    opacity: 1;
  }
}
