@charset "UTF-8";
/* ==========================================================================
   料金表ページ専用スタイル / price.html
   ========================================================================== */

/* --------------------------------------------------------------- 料金の考え方 */
.price-point {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.price-point__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 42px 32px 38px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.price-point__item::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-400));
}
.price-point__item:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }

.price-point__icon {
  display: grid;
  place-items: center;
  width: 66px; height: 66px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--gold);
}

.price-point__title { font-size: 1.95rem; color: var(--navy); margin-bottom: 12px; }
.price-point__text { font-size: 1.4rem; line-height: 1.95; color: var(--ink-muted); text-align: left; }

/* --------------------------------------------------------------- カテゴリ絞り込み */
.price-filter { margin-bottom: 26px; }

.price-filter__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.price-filter__btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  padding: 9px 22px;
  font-family: var(--font-jp);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.4;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.price-filter__btn:hover { border-color: var(--gold); color: var(--gold); }
.price-filter__btn.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* --------------------------------------------------------------- 料金テーブル */
.price-table-wrap {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.price-table { font-size: 1.5rem; }
.price-table__group[hidden] { display: none; }

.price-table thead th {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-jp);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 14px 26px;
  text-align: left;
}
.price-table thead th:last-child { text-align: right; width: 170px; }

.price-table__cat th {
  background: var(--cream-200);
  color: var(--navy);
  font-family: var(--font-jp);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 13px 26px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.price-table__cat-icon {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  color: var(--gold);
  margin-right: 10px;
  vertical-align: -7px;
}
.price-table__cat-icon svg { width: 22px; height: 22px; }

.price-table tbody td,
.price-table tbody th[scope="row"] {
  padding: 16px 26px;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}

.price-table tbody th[scope="row"] {
  text-align: left;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  width: auto;
}

.price-table tbody tr:not(.price-table__cat):hover { background: var(--cream); }

.price-table__fee {
  text-align: right;
  white-space: nowrap;
  font-family: var(--font-jp);
  font-weight: 700;
  color: var(--gold);
}

.price-table__group:last-child tr:last-child th,
.price-table__group:last-child tr:last-child td { border-bottom: none; }

.price-table__note { margin-top: 18px; }

.price-pay__heading { margin-top: 56px; }

/* --------------------------------------------------------------- レスポンシブ */
@media (max-width: 1024px) {
  .price-point { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .price-point__item { padding: 32px 24px 30px; }

  .price-filter__list { justify-content: flex-start; }
  .price-filter__btn { padding: 8px 16px; font-size: 1.25rem; }

  .price-table { font-size: 1.42rem; }
  .price-table thead { display: none; }

  .price-table__cat th {
    display: block;
    width: 100%;
    padding: 12px 18px;
  }

  .price-table tbody tr:not(.price-table__cat) {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    padding: 2px 18px;
    border-bottom: 1px solid var(--line);
  }

  .price-table tbody th[scope="row"],
  .price-table tbody td { border-bottom: none; padding: 11px 0; }
}
