/* =========================================================
   price.html — 料金
   ========================================================= */
:root { --line-tan: #CDBF9B; }

/* ---- 上部バナー ---- */
.price-banner {
  margin-top: 40px;
  background: url("../../img/price-banner.jpg") center / cover no-repeat;
  padding: 50px 0 54px;
}
.price-banner__lead {
  color: #fff;
  text-align: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 29px;
  letter-spacing: .04em;
  line-height: 1.6;
  text-shadow: 0 1px 8px rgba(0,0,0,.25);
}
.price-banner__circles {
  display: flex;
  justify-content: center;
  gap: 72px;
  margin-top: 36px;
}
.price-banner .price-circle { position: relative; }
.price-banner .price-circle::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 50%;
}

/* ---- 料金表 ---- */
.price-table {
  width: 100%;
  margin-top: 110px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line-tan);
}
.price-table th, .price-table td { border: 0; }

.price-table .price-label {
  background: var(--gold);
  color: #fff;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .1em;
  text-align: center;
  vertical-align: middle;
  width: 360px;
  border: 2px solid #fff;
  border-left: 0;
}
.price-table tbody tr:first-child .price-label { border-top: 0; }
.price-table tbody tr:last-child .price-label { border-bottom: 0; }

.price-head {
  background: var(--cream);
  color: var(--navy);
  font-weight: 500;
  font-size: 15px;
  text-align: center;
  padding: 15px 10px;
  border-bottom: 1px solid var(--line-tan);
}
.price-table td + td:not([colspan]) { border-left: 1px solid var(--line-tan); }

.price-num {
  text-align: center;
  vertical-align: middle;
  padding: 32px 12px;
  border-bottom: 1px solid var(--line-tan);
  color: var(--red);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: .02em;
}
.price-num b { font-size: 30px; }

.price-notes {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line-tan);
  color: var(--navy);
  font-size: 14px;
  line-height: 1.9;
}

.price-cell {
  padding: 24px 26px;
  border-bottom: 1px solid var(--line-tan);
}
.price-badge {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .06em;
  padding: 9px 22px;
  margin-bottom: 16px;
}
.price-amount {
  color: var(--red);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: .02em;
  margin-bottom: 10px;
}
.price-amount b { font-size: 30px; }
.price-amount .sm { font-size: 17px; }
.price-note {
  color: var(--navy);
  font-size: 14px;
  line-height: 1.8;
}
.price-table tbody tr:last-child td { border-bottom: 0; }

/* ---- 赤枠 CTA ---- */
.price-cta {
  margin-top: 36px;
  border: 2px solid var(--red);
  color: var(--red);
  text-align: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: .04em;
  padding: 27px 20px;
}

/* ---- SP ---- */
@media (max-width: 768px) {
  .price-banner {
    margin-top: 24px;
    background-image: url("../../img/price-banner-sp.jpg");
    padding: 26px 16px 32px;
  }
  .price-banner__lead { font-size: 20px; line-height: 1.85; }
  .price-banner__lead span { display: block; }
  .price-banner__circles { flex-wrap: wrap; gap: 10px; margin-top: 24px; }
  .price-banner .price-circle { width: 140px; height: 140px; font-size: 15px; }
  .price-banner .price-circle svg { width: 24px; height: 24px; }
  .price-banner .price-circle .big { font-size: 22px; }
  .price-banner .price-circle .sm { font-size: 12px; }

  .price-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin-top: 32px;
    border: 0;
  }
  .price-table tbody, .price-table tr { display: contents; }
  .price-table .price-label {
    grid-column: 1 / -1;
    width: auto;
    border: 0;
    padding: 12px;
    font-size: 16px;
  }
  .price-head { padding: 13px 6px; font-size: 15px; }
  .price-num { padding: 20px 10px; font-size: 17px; }
  .price-num b { font-size: 24px; }
  .price-notes, .price-cell { grid-column: 1 / -1; }
  .price-notes { padding: 16px 14px; }
  .price-cell { padding: 20px 16px; text-align: center; }
  .price-badge { font-size: 16px; padding: 8px 20px; }
  .price-amount { font-size: 17px; }
  .price-amount b { font-size: 24px; }
  .price-amount .sm { font-size: 14px; }
  .price-note { text-align: left; }
  .price-table td + td:not([colspan]) { border-left: 0; }

  .price-cta { margin-top: 32px; font-size: 16px; padding: 20px 14px; }
}

/* 中間幅: ラベル列が表幅の過半を占め値セルで語中折返しするため列配分を調整 */
@media (min-width: 769px) and (max-width: 1199px) {
  .price-table .price-label { width: 200px; font-size: 15px; letter-spacing: 0; }
  .price-table .price-num { padding: 24px 8px; }
}
.nw { white-space: nowrap; } /* 金額 + 単位 の語中折返し防止 */

/* 420px 以下: nw (nowrap) の min-content が 2列グリッドを押し広げるため縮小 */
@media (max-width: 419px) {
  .price-num { font-size: 15px; padding: 16px 8px; }
  .price-num b { font-size: 20px; }
}

/* 320px 級: さらに縮小 (nw により金額+単位は分断されない) */
@media (max-width: 359px) {
  .price-num { font-size: 13px; padding: 14px 6px; }
  .price-num b { font-size: 17px; }
  .price-head { font-size: 13px; padding: 10px 4px; }
  .price-banner__lead { font-size: 18px; }
}
