@charset "utf-8";

/* ヘッダー電話番号・営業時間
--------------------------------------------------------------------------- */
header .h-contact-info {
  display: none;
  align-self: flex-start;
  margin-top: 0.5rem;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}
header .h-message {
  font-size: 0.7rem;
  color: #16257A;
  line-height: 1.3;
  white-space: nowrap;
  font-weight: bold;
}
header .h-tel {
  font-size: 1.4rem;
  font-weight: normal;
  white-space: nowrap;
  color: #000;
  line-height: 1.3;
}
header .h-tel .tel-label {
  font-size: 0.6em;
  font-weight: normal;
}
header .h-business-hours {
  font-size: 0.7rem;
  color: #333;
  line-height: 1.3;
  white-space: nowrap;
}
@media screen and (min-width:600px) {
  header .h-contact-info {
    display: flex !important;
    margin-right: 60px;
  }
  header .h-message {
    font-size: 0.8rem;
  }
  header .h-tel {
    font-size: 1.6rem;
  }
  header .h-business-hours {
    font-size: 0.8rem;
  }
}
@media screen and (min-width:900px) {
  header .h-contact-info {
    margin-right: 0;
  }
  header .h-message {
    font-size: 0.8rem;
  }
  header .h-tel {
    font-size: 1.4rem;
  }
  header .h-business-hours {
    font-size: 0.8rem;
  }
}
@media screen and (max-width: 599px) {
  header .h-contact-info {
    display: none !important;
  }
}

/* 料金表スタイル
--------------------------------------------------------------------------- */

/* 料金表ラッパー */
.price-table-wrapper {
    width: 100%;
    margin: 2rem 0;
}

/* テーブル基本スタイル */
.price-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--primary-inverse-color);
    border: 1px solid var(--table-border);
}

/* テーブル間の余白 */
.price-table + .section-note {
    margin: 0.5rem 0 2rem 0;
}

.price-table + p:not(.section-note) {
    margin-top: 2rem;
}

/* テーブルボディ */
.price-table tbody td {
    padding: 1rem;
    border: 1px solid var(--table-border);
    vertical-align: middle;
    line-height: 1.6;
}

/* 区分列 */
.price-table .category {
    background: var(--table-bg-category);
    font-weight: 700;
    text-align: center;
    color: var(--text-dark);
    border-right: 1px solid var(--table-border);
}

/* 項目列 */
.price-table .item {
    text-align: left;
    font-weight: 500;
    color: var(--text-dark);
}

/* 金額列 */
.price-table .price {
    text-align: right;
    font-weight: 600;
    color: var(--col-main);
    white-space: nowrap;
}

/* セクション注記 */
.section-note {
    margin: 0.5rem 0 2rem 0;
    font-size: 0.85rem;
    color: var(--text-gray);
    text-align: left;
    line-height: 1.6;
}

/* テーブル下の注記 */
.price-table-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-gray);
    text-align: left;
    line-height: 1.8;
}

/* スマホ: 縦積みレイアウト */
@media screen and (max-width: 599px) {
    .price-table {
        display: block;
        border: none;
        background: transparent;
    }

    .price-table tbody {
        display: block;
    }

    .price-table tbody tr {
        display: flex;
        flex-wrap: wrap;
        background: var(--primary-inverse-color);
        border: 1px solid var(--table-border);
    }

    .price-table tbody td {
        border: none;
        border-bottom: 1px solid var(--table-border);
        padding: 0.9rem 1rem;
        background: var(--primary-inverse-color);
    }

    /* 区分を100%幅で上部に配置 */
    .price-table .category {
        width: 100%;
        flex: 0 0 100%;
        background: var(--table-bg-category);
        color: var(--text-dark);
        font-size: 1rem;
        padding: 0.8rem 1rem;
        border-right: none;
        border-bottom: 2px solid var(--table-border);
        order: -1;
    }

    /* 項目と金額を横並び */
    .price-table .item {
        flex: 1;
        border-bottom: none;
    }

    .price-table .price {
        width: auto;
        flex: 0 0 auto;
        padding-left: 2rem;
        font-size: 1.05em;
        border-bottom: none;
    }

    .section-note {
        margin: 0.8rem 0 1.5rem 0;
        font-size: 0.8rem;
    }

    .price-table-note {
        margin-top: 1.5rem;
        font-size: 0.9rem;
        line-height: 1.8;
    }
}

/* タブレット */
@media screen and (min-width: 600px) and (max-width: 899px) {
    .price-table tbody td {
        padding: 1rem 1.2rem;
    }

    .price-table .category {
        width: 120px;
    }

    .price-table .item {
        width: auto;
    }

    .price-table .price {
        width: 30%;
    }
}

/* デスクトップ */
@media screen and (min-width: 900px) {
    .price-table-wrapper {
        /*max-width: 750px;*/
        margin: 2.5rem auto;
    }

    .price-table tbody td {
        padding: 0.8rem 1.5rem;
        line-height: 1.5;
    }

    .price-table .category {
        width: 150px;
    }

    .price-table .item {
        width: auto;
    }

    .price-table .price {
        width: 28%;
    }

    /* ホバー効果（行全体） */
    .price-table tbody tr:hover td:not(.category) {
        background: var(--table-bg-hover);
    }
}

/* 汎用ボタン（フォーム系と同等の見た目） */
.btn-wrap {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px auto;
}
.btn-wrap .form-bt1,
.btn-wrap .form-bt2 {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  border: none;
  font-family: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-decoration: none;
  font-size: inherit;
  padding: 0 1em;
  width: calc(50% - 20px);
  height: 54px;
  transition: 0.3s;
}
@media screen and (min-width: 900px) {
  .btn-wrap .form-bt1,
  .btn-wrap .form-bt2 {
    max-width: 300px;
  }
}
@media (hover: hover) {
  .btn-wrap .form-bt1:hover,
  .btn-wrap .form-bt2:hover {
    opacity: 0.8;
  }
}
/* カラーリング（他テンプレートと同等） */
.btn-wrap .form-bt1 { /* 実行ボタン */
  background-color: var(--col-main);
  color: #fff;
}
.btn-wrap .form-bt2 { /* 戻る/閉じるボタン */
  background-color: #ddd;
  color: var(--text-dark, #333);
}

/* btn1 hover is controlled by color_*.css */
