/* ==========================================================================
   リングロー「RPC無期限」中古PC × NURO光同時申込キャッシュバックLP
   モバイルファースト（375px基準）→ 768px（タブレット/PC）→ 1280px（デスクトップ）
   ========================================================================== */

:root {
  --ink: #14171c; /* FVの見出し色に合わせた黒系（コンテンツ見出し用。UI部品はvar(--navy)のまま） */
  --navy: #16294f;
  --navy-dark: #0d1830;
  --navy-soft: #263a63;
  --gold: #e4a93d;
  --gold-dark: #c88920;
  --white: #ffffff;
  --bg: #f6f7fa;
  --text: #222b3d;
  --text-sub: #5a6478;
  --danger: #c0392b;
  --notice-bg: #fff6e6;
  --notice-border: #e4a93d;
  --border: #e2e6ee;
  --radius: 12px;
  --shadow: 0 4px 16px rgba(22, 41, 79, 0.08);
  --shadow-lg: 0 10px 30px rgba(22, 41, 79, 0.14);
  --header-fv-max: 720px;
  --sp-bar-h: 88px; /* .sp-cta-bar実測高さ(約81px)+余白。戻るボタンとの重なり検証済み(js/main.js連動なし・CSS変数のみ) */
}

/* --------------------------------------------------------------------
   リセット・基本
   -------------------------------------------------------------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--sp-bar-h) + env(safe-area-inset-bottom));
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1, h2, h3, p, ul, ol, dl, dd {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
    padding: 0 32px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1120px;
    padding: 0 40px;
  }
}

/* 視覚非表示（SEO・スクリーンリーダー用） */
.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

section {
  padding: 48px 0;
}

@media (min-width: 768px) {
  section {
    padding: 72px 0;
  }
}

.section--alt {
  background: var(--bg);
}

.section-head {
  text-align: center;
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .section-head h2 {
    font-size: 30px;
  }
}

.section-lead {
  margin-top: 12px;
  color: var(--text-sub);
  font-size: 16px;
}

/* --------------------------------------------------------------------
   対象条件注記（景表法対応・CB額の近接必須要素）
   -------------------------------------------------------------------- */
.notice-box {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--notice-bg);
  border: 1px solid var(--notice-border);
  border-left: 4px solid var(--navy);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 16px 0;
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
}

.notice-box__icon {
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 1.4;
}

.notice-box p {
  font-weight: 600;
}

/* --------------------------------------------------------------------
   FV（焼き込みバナー）
   -------------------------------------------------------------------- */
.fv {
  position: relative;
  background: var(--white);
  padding: 0;
}

.fv-banner {
  width: 100%;
  overflow: hidden;
}

.fv-banner-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: var(--white);
}

@media (min-width: 768px) {
  .fv-banner-img {
    aspect-ratio: 16 / 9;
  }
}

/* バナー下端を背景色になじませるマスク */
.fv-banner::after {
  content: "";
  display: block;
  height: 28px;
  margin-top: -28px;
  background: linear-gradient(to bottom, rgba(22, 41, 79, 0) 0%, var(--navy) 100%);
  position: relative;
}

.fv-cta-area {
  background: var(--navy);
  padding: 20px 0 32px;
  text-align: center;
}

@media (min-width: 768px) {
  .fv-cta-area {
    padding: 28px 0 44px;
  }
}

.fv-cta-area .btn {
  width: 100%;
  max-width: 420px;
}

.fv-cta-sub {
  margin-top: 10px;
  color: #cdd6e8;
  font-size: 12px;
}

/* --------------------------------------------------------------------
   ボタン
   -------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy-dark);
  box-shadow: 0 6px 16px rgba(228, 169, 61, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(228, 169, 61, 0.5);
}

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-small {
  padding: 10px 18px;
  font-size: 14px;
}

.btn-arrow::after {
  content: "\2192";
}

.section-cta {
  text-align: center;
  margin-top: 36px;
}

.section-cta-sub {
  margin-top: 10px;
  color: var(--text-sub);
  font-size: 12px;
}

/* --------------------------------------------------------------------
   2. 導入・共感
   -------------------------------------------------------------------- */
.intro-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.intro-block img {
  width: 96px;
  height: auto;
}

@media (min-width: 768px) {
  .intro-block img {
    width: 120px;
  }
}

.intro-lede {
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
  color: var(--text);
}

.intro-lede strong {
  color: var(--gold-dark);
  font-weight: 700;
}

/* R∞PCの初出説明（ブランド認知が前提にできないため補足する） */
.intro-note {
  margin: 16px auto 0;
  padding: 12px 16px;
  max-width: 640px;
  background: var(--notice-bg);
  border-left: 4px solid var(--navy);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
}

.intro-note strong {
  font-weight: 700;
}

/* セクション3冒頭のR∞PC説明コンテンツ（実テキスト＋実写真） */
.about-rpc {
  margin: 0 auto 40px;
  max-width: 860px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .about-rpc {
    padding: 40px 48px;
  }
}

.about-rpc__head {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .about-rpc__head {
    font-size: 21px;
  }
}

.about-rpc__body {
  font-size: 14.5px;
  color: var(--text);
  margin-bottom: 12px;
}

.about-rpc__diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius);
}

@media (min-width: 600px) {
  .about-rpc__diagram {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
}

.about-rpc__party {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  min-width: 140px;
}

.about-rpc__party img {
  width: 56px;
  height: auto;
}

.about-rpc__party-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.about-rpc__arrow {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-sub);
  transform: rotate(90deg);
}

@media (min-width: 600px) {
  .about-rpc__arrow {
    transform: none;
  }
}

.about-rpc__party--ringrow {
  min-width: 260px;
  gap: 12px;
  padding: 18px 24px;
}

.about-rpc__ringrow {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.about-rpc__benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
}

.about-rpc__benefit img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.about-rpc__small-note {
  font-size: 12px;
  color: var(--text-sub);
  background: var(--notice-bg);
  border-left: 4px solid var(--navy);
  border-radius: 8px;
  padding: 10px 14px;
  margin: 4px 0 20px;
}

.about-rpc__photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 20px;
}

@media (min-width: 600px) {
  .about-rpc__photos {
    grid-template-columns: repeat(5, 1fr);
  }
}

.about-rpc__photos img {
  width: 100%;
  height: auto;
  aspect-ratio: 227 / 136;
  object-fit: cover;
  border-radius: 8px;
}

.about-rpc__caption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-sub);
}

.persona-list {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .persona-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.persona-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.persona-card img {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
}

.persona-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.persona-card p {
  font-size: 14px;
  color: var(--text-sub);
}

/* --------------------------------------------------------------------
   3. オファー詳細
   -------------------------------------------------------------------- */
.offer-lede {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.offer-lede .notice-box {
  text-align: left;
  display: flex;
}

.offer-body {
  max-width: 720px;
  margin: 28px auto 0;
  font-size: 16px;
}

.offer-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.offer-intro img {
  width: 88px;
  height: auto;
}

@media (min-width: 768px) {
  .offer-intro {
    flex-direction: row;
    text-align: left;
    gap: 24px;
  }

  .offer-intro img {
    width: 100px;
    flex-shrink: 0;
  }
}

.offer-table {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.offer-table th,
.offer-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.offer-table th {
  width: 34%;
  background: var(--bg);
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}

.offer-table td strong {
  color: var(--gold-dark);
}

.offer-table__highlight th,
.offer-table__highlight td {
  background: var(--notice-bg);
}

.offer-table__highlight th {
  background: var(--gold);
  color: var(--navy-dark);
}

.offer-table__amount {
  font-size: 20px;
  color: var(--gold-dark) !important;
}

.offer-table tr:last-child th,
.offer-table tr:last-child td {
  border-bottom: none;
}

.offer-footnote {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-sub);
}

.offer-footnote p + p {
  margin-top: 6px;
}

/* --------------------------------------------------------------------
   キャッシュバック受け取り詳細（戸建て／集合住宅タブ切替・CSSのみで実装）
   -------------------------------------------------------------------- */
.cb-detail {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .cb-detail {
    padding: 36px 44px;
  }
}

.cb-detail__radio {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.cb-detail__head {
  text-align: center;
  margin-bottom: 20px;
}

.cb-detail__heading {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

@media (min-width: 768px) {
  .cb-detail__heading {
    font-size: 20px;
  }
}

.cb-detail__lead {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-sub);
}

.cb-detail__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 24px;
}

.cb-detail__tab {
  display: block;
  text-align: center;
  padding: 12px 8px;
  border-radius: 999px;
  border: 2px solid var(--border);
  color: var(--text-sub);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

@media (min-width: 768px) {
  .cb-detail__tab {
    font-size: 15px;
  }
}

#cb-tab-house:checked ~ .cb-detail__tabs .cb-detail__tab:nth-child(1),
#cb-tab-mansion:checked ~ .cb-detail__tabs .cb-detail__tab:nth-child(2) {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.cb-detail__panel {
  display: none;
}

#cb-tab-house:checked ~ .cb-detail__panel--house,
#cb-tab-mansion:checked ~ .cb-detail__panel--mansion {
  display: block;
}

.cb-detail__amount {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--notice-bg);
  border: 1px solid var(--notice-border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 24px;
}

.cb-detail__amount-label {
  font-size: 13px;
  color: var(--text-sub);
  font-weight: 700;
}

.cb-detail__amount-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--gold-dark);
}

@media (min-width: 768px) {
  .cb-detail__amount-value {
    font-size: 30px;
  }
}

.cb-detail__sub {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 20px 0 10px;
  padding-left: 10px;
  border-left: 4px solid var(--gold);
}

.cb-detail__sub:first-of-type {
  margin-top: 0;
}

.cb-detail__list,
.cb-detail__steps {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.8;
}

.cb-detail__list {
  list-style: none;
  padding-left: 0;
}

.cb-detail__list li {
  padding-left: 1.3em;
  position: relative;
}

.cb-detail__list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 700;
}

.cb-detail__list--bonus li::before {
  content: "\2605";
  font-size: 11px;
  top: 2px;
}

.cb-detail__steps {
  list-style: none;
  padding-left: 0;
  counter-reset: cb-step;
}

.cb-detail__steps li {
  padding-left: 2em;
  position: relative;
  margin-bottom: 10px;
  counter-increment: cb-step;
}

.cb-detail__steps li::before {
  content: counter(cb-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cb-detail__steps li strong {
  color: var(--gold-dark);
}

.cb-detail__footnote {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  line-height: 1.7;
  color: var(--text-sub);
}

/* --------------------------------------------------------------------
   エリア確認カード（オファー詳細セクション内・NURO光提供エリアの事前チェック導線）
   -------------------------------------------------------------------- */
.area-check {
  position: relative;
  margin-top: 32px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  background: var(--notice-bg);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 30px 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .area-check {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    text-align: left;
    padding: 32px 40px;
  }
}

.area-check__tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-dark);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(200, 137, 32, 0.4);
}

@media (min-width: 768px) {
  .area-check__tag {
    left: 32px;
    transform: none;
  }
}

.area-check img {
  width: 52px;
  height: auto;
  margin: 6px auto 14px;
}

@media (min-width: 768px) {
  .area-check img {
    margin: 0;
  }
}

.area-check__title {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .area-check__title {
    font-size: 19px;
  }
}

.area-check__text {
  font-size: 13.5px;
  color: var(--text-sub);
}

.area-check__btn {
  margin-top: 20px;
  white-space: nowrap;
  font-size: 16px;
  padding: 16px 30px;
}

@media (min-width: 768px) {
  .area-check__btn {
    margin-top: 0;
    grid-row: 1;
    grid-column: 3;
  }
}

.area-check__note {
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-sub);
}

@media (min-width: 768px) {
  .area-check__note {
    grid-column: 3;
    grid-row: 2;
    text-align: center;
    margin-top: 6px;
  }
}

/* --------------------------------------------------------------------
   4. 選ばれる理由
   -------------------------------------------------------------------- */
.warranty-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 32px 24px;
}

@media (min-width: 768px) {
  .warranty-card {
    padding: 44px 48px;
  }
}

.warranty-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 768px) {
  .warranty-block {
    grid-template-columns: 140px 1fr;
    gap: 40px;
  }
}

.warranty-block img {
  width: 100px;
  height: 100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .warranty-block img {
    width: 140px;
    height: 140px;
  }
}

.warranty-block .body-text {
  font-size: 16px;
}

.warranty-block .body-text p + p {
  margin-top: 14px;
}

.warranty-block .body-text strong {
  color: var(--gold-dark);
}

.warranty-stats {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 768px) {
  .warranty-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.warranty-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 18px 12px;
  border-radius: var(--radius);
  background: var(--bg);
}

.warranty-stat--highlight {
  background: var(--notice-bg);
  border: 1px solid var(--notice-border);
}

.warranty-stat img {
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
}

.warranty-stat__label {
  font-size: 13px;
  color: var(--text-sub);
}

.warranty-stat__value {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

.warranty-stat--highlight .warranty-stat__value {
  color: var(--gold-dark);
  font-size: 22px;
}

.warranty-footer-text {
  margin-top: 24px;
  font-size: 15px;
  color: var(--text-sub);
  text-align: center;
}

/* --------------------------------------------------------------------
   5. 対象PCラインナップ
   -------------------------------------------------------------------- */
.product-lede {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  font-size: 14px;
  color: var(--text-sub);
}

.product-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1280px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.product-card__img-wrap {
  position: relative;
  background: var(--bg);
}

.product-card__img-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.product-card__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.product-card__price {
  font-size: 20px;
  font-weight: 800;
  color: var(--danger);
  margin-bottom: 8px;
}

.product-card__price span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-sub);
  margin-left: 4px;
}

.product-card__spec {
  font-size: 12.5px;
  color: var(--text-sub);
  line-height: 1.6;
  flex: 1;
}

.product-card__cta {
  margin-top: 16px;
}

.product-card__cta .btn {
  width: 100%;
}

.product-card__note {
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-sub);
  text-align: center;
}

/* --------------------------------------------------------------------
   6. ご利用の流れ
   -------------------------------------------------------------------- */
.steps {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.step-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}

.step-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(228, 169, 61, 0.5);
}

.step-card img {
  width: 56px;
  height: 56px;
  margin: 12px auto 14px;
}

.step-card h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 12.5px;
  color: var(--text-sub);
}

.steps-footnote {
  margin-top: 24px;
  text-align: center;
  font-size: 12px;
  color: var(--text-sub);
}

/* --------------------------------------------------------------------
   7. FAQ
   -------------------------------------------------------------------- */
.faq-list {
  max-width: 720px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 44px 16px 18px;
  font-weight: 700;
  color: var(--navy);
  font-size: 14.5px;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--gold-dark);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item__answer {
  padding: 0 18px 18px;
  font-size: 13.5px;
  color: var(--text-sub);
}

/* --------------------------------------------------------------------
   8. クロージング
   -------------------------------------------------------------------- */
.closing {
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.closing .section-head h2 {
  color: var(--white);
}

.closing .notice-box {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  color: var(--white);
  text-align: left;
  max-width: 640px;
  margin: 16px auto;
}

.closing .notice-box p {
  color: #fdf2dc;
}

.closing-body {
  max-width: 640px;
  margin: 0 auto;
  font-size: 16px;
  color: #dbe2f0;
}

.closing-cta {
  margin-top: 32px;
}

.closing-cta-sub {
  margin-top: 12px;
  font-size: 12px;
  color: #b9c3d9;
}

.closing-logo {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.closing-logo img {
  height: 32px;
  width: auto;
  opacity: 0.9;
}

/* --------------------------------------------------------------------
   フッター
   -------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-dark);
  color: #a8b2c8;
  padding: 28px 0;
  font-size: 12px;
  text-align: center;
}

.site-footer a {
  color: #cdd6e8;
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-bottom: 14px;
}

.footer-copyright {
  color: #6f7994;
}

.footer-contact {
  margin: 0 0 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.footer-contact__title {
  font-weight: 700;
  color: #cdd6e8;
  margin-bottom: 6px;
}

.footer-contact__body {
  color: #a8b2c8;
  line-height: 1.7;
}

/* --------------------------------------------------------------------
   SP固定CTAバー
   -------------------------------------------------------------------- */
.sp-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(22, 41, 79, 0.12);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex;
}

.sp-cta-bar .btn {
  width: 100%;
}

@media (min-width: 768px) {
  .sp-cta-bar {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
}

/* --------------------------------------------------------------------
   ページ先頭へ戻るボタン
   -------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: 16px;
  bottom: calc(var(--sp-bar-h) + 14px + env(safe-area-inset-bottom));
  z-index: 39;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 768px) {
  .back-to-top {
    right: 28px;
    bottom: 28px;
  }
}

/* --------------------------------------------------------------------
   ユーティリティ
   -------------------------------------------------------------------- */
.center {
  text-align: center;
}
