/* ==========================================================================
   料金ページ専用スタイル
   ========================================================================== */

/* ---------- Hero（ダーク + オーロラ） ---------- */
.price-hero {
  position: relative;
  overflow: hidden;
  background: var(--c-dark-bg);
  color: #fff;
  padding: calc(clamp(64px, 9vw, 120px) + 72px) 0 clamp(56px, 8vw, 96px);
}

/* 最終検証で発覚: パンくずの現在ページ表示が共有style.cssの既定色(--c-ink、
   ダーク背景と同色)のまま上書きされておらず、実質不可視になっていた。
   .page-hero--world 用の白系上書きと同じパターンをこのダークヒーロー専用に適用する。 */
.price-hero .breadcrumb a,
.price-hero .breadcrumb li {
  color: rgba(255, 255, 255, 0.7);
}
.price-hero .breadcrumb [aria-current="page"] {
  color: #fff;
}

.price-hero::before,
.price-hero::after {
  content: "";
  position: absolute;
  width: clamp(420px, 50vw, 820px);
  height: clamp(420px, 50vw, 820px);
  border-radius: 50%;
  pointer-events: none;
}

.price-hero::before {
  left: -12%;
  bottom: -55%;
  background: radial-gradient(circle, rgba(43, 92, 255, 0.22) 0%, transparent 62%);
}

.price-hero::after {
  right: -14%;
  top: -55%;
  background: radial-gradient(circle, rgba(0, 196, 204, 0.14) 0%, transparent 62%);
}

.price-hero .container {
  position: relative;
  z-index: 1;
}

.price-hero .page-title {
  color: #fff;
}

.price-hero .page-title-en {
  color: #9db9ff;
}

.price-hero .page-lead {
  color: #c9d3e8;
  max-width: 640px;
}

/* ---------- 料金テーブル ---------- */
.price-block {
  margin-bottom: clamp(44px, 6vw, 72px);
  scroll-margin-top: 96px; /* サービス一覧からのアンカー着地時、固定ヘッダーに見出しが隠れないように */
}

.price-block-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
}

.price-block-num {
  font-family: "Inter", var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--c-brand);
}

.price-block-title {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 900;
}

.price-block-note {
  font-size: 0.85rem;
  color: var(--c-text-sub);
  margin-bottom: 16px;
}

.price-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.price-table {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  overflow: hidden;
  font-size: 0.92rem;
}

.price-table th {
  background: var(--c-dark-bg);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: left;
  padding: 13px 18px;
  white-space: nowrap;
}

.price-table td {
  padding: 16px 18px;
  border-top: 1px solid var(--c-line);
  vertical-align: top;
  line-height: 1.8;
  background: var(--c-bg);
}

.price-table .price-name {
  font-weight: 800;
  white-space: nowrap;
}

.price-table .price-amount {
  font-family: "Inter", var(--font-sans);
  font-weight: 800;
  white-space: nowrap;
  color: var(--c-brand-deep);
}

.price-table .price-desc {
  color: var(--c-text-sub);
  font-size: 0.88rem;
}

.price-table tr.is-recommended td {
  background: rgba(43, 92, 255, 0.06);
  border-top: 1px solid rgba(43, 92, 255, 0.3);
}

/* 比較表（○/−を中央揃え） */
.price-table--compare td {
  text-align: center;
  white-space: nowrap;
}

.price-table--compare td.price-name {
  text-align: left;
  white-space: normal;
}

.price-table--compare th {
  line-height: 1.6;
}

.price-table--compare td.ok {
  color: var(--c-brand);
  font-weight: 800;
}

.price-table--compare td.ng {
  color: #b7c0d2;
}

/* 契約条件リスト */
.price-terms {
  list-style: none;
  display: grid;
  gap: 12px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--c-line);
  border-radius: 16px;
  background: var(--c-bg-soft);
}

.price-terms li {
  position: relative;
  padding-left: 24px;
  font-size: 0.95rem;
  line-height: 1.9;
}

.price-terms li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.68em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--c-brand);
  border-bottom: 2px solid var(--c-brand);
  transform: rotate(-45deg);
}

.price-terms strong {
  color: var(--c-brand-deep);
}

.price-badge {
  display: inline-block;
  font-family: "Inter", var(--font-sans);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--g-brand);
  border-radius: var(--r-full);
  padding: 3px 10px;
  margin-left: 10px;
  vertical-align: 2px;
}

/* ---------- 補助金カード ---------- */
.subsidy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.subsidy-card {
  border: 1px solid var(--c-line);
  border-radius: 18px;
  background: var(--c-bg);
  padding: clamp(22px, 3vw, 30px);
}

.subsidy-card-name {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.subsidy-card-max {
  font-family: "Inter", var(--font-sans);
  font-weight: 800;
  font-size: 1.3rem;
  background: var(--g-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.subsidy-card-desc {
  font-size: 0.88rem;
  color: var(--c-text-sub);
  line-height: 1.9;
}

.subsidy-example {
  margin-top: 26px;
  border: 1px solid rgba(43, 92, 255, 0.3);
  background: rgba(43, 92, 255, 0.05);
  border-radius: 18px;
  padding: clamp(22px, 3vw, 32px);
}

.subsidy-example-title {
  font-weight: 800;
  margin-bottom: 12px;
}

.subsidy-example-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  padding-block: 8px;
  border-bottom: 1px dashed var(--c-line);
}

.subsidy-example-row:last-child {
  border-bottom: none;
}

.subsidy-example-row strong {
  font-family: "Inter", var(--font-sans);
  font-weight: 800;
  color: var(--c-brand-deep);
}

.subsidy-note {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--c-text-sub);
  line-height: 1.9;
}

/* ---------- 料金の考え方 ---------- */
.price-policy {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.price-policy-item {
  border-top: 2px solid var(--c-brand);
  padding-top: 16px;
}

.price-policy-item h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.price-policy-item p {
  font-size: 0.9rem;
  color: var(--c-text-sub);
  line-height: 1.95;
}
