@charset "utf-8";
/* =========================================================
   page-flow.css ― 「家づくりの流れと、お金の話。」下層ページ
   因果ストーリー再構築版（2026-07-04）
   問題提起 → 比較表 → なぜ待てるのか → 4メリット → 流れ図 → アフター → FAQ
   ブランド規範: 角ゴ極太 / 生成り背景 / 金茶#a9814a / 写真ドン
   UI/UX基準: 絵文字アイコン不使用・コントラスト4.5:1・SP本文16px・
              lh1.75〜1.9・タップ44px・hover200ms・reduced-motion対応
   すべて body#flow スコープ。f-gothic-zen 不使用（明朝混在バグ回避）
   ========================================================= */

body#flow {
  --bg:      #f8f6f1;
  --cream:   #f4eede;
  --beige:   #ece6dc;
  --card:    #fffdf8;
  --ink:     #221714;
  --ink-soft:#453b2f;
  --sub:     #5f5748;   /* 小さめ本文でも 4.5:1 を満たす濃度 */
  --olive:   #6f6849;   /* バッジ地（白文字と4.5:1確保） */
  --gold:    #a9814a;   /* 罫線・帯・大型数字用アクセント */
  --gold-d:  #7c5a2d;   /* 金茶テキスト用（白/生成り上で4.5:1） */
  --gold-pale:#d9c79f;
  --line:    #ddd5c6;
}

body#flow .fl-band,
body#flow .fl-band *,
body#flow .fl-hero,
body#flow .fl-hero * { box-sizing: border-box; }

/* ラテン英字キッカー（半角英字のみ＝明朝混在は原理的に起きない） */
body#flow .fl-en {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

/* スクリーンリーダー専用 */
body#flow .fl-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 標準の見出しバーは非表示（H1はDOMに残す＝SEO維持）。パンくずは温存 */
body#flow .main-title-wrap { display: none; }

/* =========================================================
   HERO
   ========================================================= */
body#flow .fl-hero {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  overflow: hidden;
}
body#flow .fl-hero__media { margin: 0; line-height: 0; }
body#flow .fl-hero__media img {
  display: block;
  width: 100%;
  height: clamp(360px, 52vw, 620px);
  object-fit: cover;
  object-position: center 44%;
}
body#flow .fl-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(24,17,12,0) 34%, rgba(24,17,12,.24) 58%, rgba(24,17,12,.7) 100%);
  color: #fff;
}
body#flow .fl-hero__inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 72px) clamp(34px, 6vw, 68px);
}
body#flow .fl-hero__kicker {
  font-size: clamp(13px, 1.6vw, 17px);
  font-weight: 600;
  letter-spacing: .34em;
  color: #f2e6ca;
  margin: 0 0 14px;
}
body#flow .fl-hero__ttl {
  font-size: clamp(28px, 4.8vw, 50px);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: .02em;
  margin: 0;
  border: none;
  padding: 0;
  color: #fff;
  text-shadow: 0 2px 22px rgba(0,0,0,.4);
}
body#flow .fl-hero__sub {
  display: inline-block;
  margin: 20px 0 0;
  padding: 12px 24px;
  font-size: clamp(14px, 1.7vw, 17px);
  font-weight: 700;
  color: #3f2f14;
  background: rgba(255,255,255,.95);
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}

/* =========================================================
   帯（フルブリード・交互背景）＋内側ラッパー
   ========================================================= */
body#flow .fl-band { width: 100%; padding: clamp(56px, 8vw, 104px) 0; }
body#flow .fl-band--cream { background: var(--cream); }
body#flow .fl-band--white { background: #fff; }
body#flow .fl-wrap {
  width: 88%;
  max-width: 960px;
  margin: 0 auto;
  color: var(--ink);
}

body#flow .fl-kicker {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .32em;
  color: var(--gold-d);
  margin: 0 0 14px;
  text-transform: uppercase;
}

body#flow .fl-h2 {
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  text-align: center;
  border-bottom: none;
  padding: 0 0 20px;
  margin: 0 0 30px;
  position: relative;
}
body#flow .fl-h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

/* 本文（SP16px以上・lh1.75〜1.9・1行約45字以内） */
body#flow .fl-lead {
  font-size: clamp(16px, 2.1vw, 19px);
  line-height: 1.95;
  color: var(--ink-soft);
  margin: 0 auto;
  text-align: center;
  max-width: 780px;
}
body#flow .fl-body {
  font-size: clamp(16px, 1.9vw, 16.5px);
  line-height: 1.9;
  color: var(--ink-soft);
  text-align: center;
  margin: 0 auto 4px;
  max-width: 740px;
}
body#flow .fl-body--wide { max-width: 820px; margin-bottom: 36px; }
body#flow .fl-body b { color: var(--gold-d); font-weight: 700; }
body#flow .fl-body--lead { margin-bottom: 32px; font-weight: 600; color: var(--ink); }

body#flow .fl-note {
  font-size: 13px;
  line-height: 1.75;
  color: var(--sub);
  text-align: center;
  margin: 18px auto 0;
  max-width: 760px;
}

/* =========================================================
   問題提起 ― 注意ボックス
   ========================================================= */
body#flow .fl-caution {
  max-width: 820px;
  margin: 8px auto 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: clamp(24px, 4vw, 36px) clamp(20px, 4vw, 40px);
  box-shadow: 0 10px 26px rgba(60,46,26,.07);
}
body#flow .fl-caution__ttl {
  font-size: clamp(16px, 2.2vw, 18px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.7;
  margin: 0 0 14px;
}
body#flow .fl-caution__txt {
  font-size: clamp(15px, 1.9vw, 15.5px);
  line-height: 1.9;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
body#flow .fl-caution__txt:last-child { margin-bottom: 0; }
body#flow .fl-caution__txt b { color: var(--gold-d); }

/* =========================================================
   お客様の不安の声（共感）― 吹き出しカード＋受けの一文
   ========================================================= */
body#flow .voice-cards {
  list-style: none;
  margin: 0 auto 8px;
  padding: 0;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
body#flow .voice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 22px 24px;
  box-shadow: 0 8px 22px rgba(60,46,26,.06);
}
/* 吹き出しの尻尾（下向き） */
body#flow .voice-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -11px;
  transform: translateX(-50%) rotate(45deg);
  width: 20px;
  height: 20px;
  background: var(--cream);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0 0 4px 0;
}
body#flow .voice-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--gold-pale);
  flex: 0 0 auto;
}
body#flow .voice-text {
  font-size: clamp(15px, 2vw, 16px);
  font-weight: 700;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}
/* 受けの一文（共感 → 仕組みへ） */
body#flow .voice-answer { margin-top: 34px; }
body#flow .voice-answer b { color: var(--gold-d); }

/* ブリッジ小見出し（黒字倒産の事実説明への導入） */
body#flow .fl-subhead {
  font-size: clamp(17px, 2.5vw, 21px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
  text-align: center;
  margin: 48px auto 20px;
  max-width: 760px;
}

/* =========================================================
   比較表（主役）― 福井工務店行を金茶枠で浮かせる
   ========================================================= */
/* 角丸＋クリップ＋外枠＋影は「ラッパー」に集約。
   table 側に overflow:hidden を置くと、福井行の金茶ハイライト（inset shadow）が
   角で四角く切れるため、ラッパーで丸くクリップし table は透明に。 */
body#flow .cmp-table-wrap {
  margin: 32px auto 0;
  max-width: 880px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(60,46,26,.1);
}
body#flow .cmp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
}
body#flow .cmp-table th,
body#flow .cmp-table td {
  padding: 16px 14px;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
body#flow .cmp-table thead th {
  background: var(--beige);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
}
body#flow .cmp-table tbody th[scope="row"] {
  font-weight: 700;
  color: var(--ink);
  background: #fbf9f4;
  width: 20%;
}
body#flow .cmp-table tbody tr:last-child th,
body#flow .cmp-table tbody tr:last-child td { border-bottom: none; }

/* 一般行＝控えめ */
body#flow .cmp-row--general td { color: var(--sub); }

/* 福井行＝金茶枠・生成りハイライト・字を立てる */
body#flow .cmp-row--fukui th,
body#flow .cmp-row--fukui td {
  background: #fdf8ec;
  color: var(--ink);
  font-weight: 700;
  box-shadow: inset 0 2px 0 var(--gold), inset 0 -2px 0 var(--gold);
}
body#flow .cmp-row--fukui th { box-shadow: inset 2px 2px 0 var(--gold), inset 0 -2px 0 var(--gold); }
body#flow .cmp-row--fukui td:last-child { box-shadow: inset -2px 2px 0 var(--gold), inset 0 -2px 0 var(--gold); }
/* 福井行＝テーブル最下段。左下・右下の角セルに丸みを与え、
   金茶の inset ハイライトと生成り地をラッパーの角丸に沿って閉じる（フチ切れ防止） */
body#flow .cmp-row--fukui th { border-bottom-left-radius: 13px; }
body#flow .cmp-row--fukui td:last-child { border-bottom-right-radius: 13px; }
body#flow .cmp-zero {
  display: inline-block;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 700;
  color: var(--gold-d);
  letter-spacing: .06em;
}
body#flow .cmp-strong { color: var(--gold-d); }
body#flow .cmp-small {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--sub);
  margin-top: 4px;
}

/* =========================================================
   なぜ待てるのか ― 因果ステップ（理由1→理由2→だから）
   ========================================================= */
body#flow .why-steps {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
body#flow .why-step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(24px, 4vw, 34px) clamp(20px, 4vw, 40px);
  box-shadow: 0 10px 26px rgba(60,46,26,.07);
}
/* ステップ間の縦コネクタ（因果の流れを線で見せる） */
body#flow .why-step + .why-step { margin-top: 44px; }
body#flow .why-step + .why-step::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -44px;
  transform: translateX(-50%);
  width: 2px;
  height: 44px;
  background: linear-gradient(180deg, var(--gold-pale), var(--gold));
}
body#flow .why-step__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 16px;
  border-radius: 999px;
  background: var(--olive);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
body#flow .why-step__ttl {
  font-size: clamp(17px, 2.4vw, 20px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 12px;
}
body#flow .why-step__txt {
  font-size: clamp(15px, 1.9vw, 15.5px);
  line-height: 1.9;
  color: var(--ink-soft);
  margin: 0;
}
body#flow .why-step__txt b { color: var(--gold-d); }

/* 結論ステップ＝金茶で立てる */
body#flow .why-step--conclusion {
  background: linear-gradient(180deg, #fbf5e9 0%, var(--card) 62%);
  border: 2px solid var(--gold);
}
body#flow .why-step--conclusion .why-step__no { background: var(--gold-d); }

/* =========================================================
   フロー図 ― 縦型ステッパー（上から下へ 1→9）
   お金が動く1・8を金茶で強調。2〜7は「支払いなし」区間として
   縦の金茶点線ブラケットで括る。PC/SP同一レイアウト。
   ========================================================= */
body#flow .flow-stepper {
  list-style: none;
  margin: 8px auto 0;
  padding: 0;
  max-width: 560px;
  position: relative;
}

/* 1ステップ＝左に丸番号ノード（縦コネクタ線付き）＋右に名称ボックス */
body#flow .fs-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 22px;
}
/* 縦コネクタ線（ノード中心を上下につなぐ） */
body#flow .fs-step::before {
  content: "";
  position: absolute;
  left: 21px;              /* ノード幅44pxの中心 */
  top: 44px;
  bottom: -2px;
  width: 2px;
  background: var(--line);
}
body#flow .fs-step--last::before { display: none; }

body#flow .fs-node {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 2px solid var(--gold-pale);
}
body#flow .fs-num {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-d);
  line-height: 1;
}
body#flow .fs-body {
  flex: 1 1 auto;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 6px 16px rgba(60,46,26,.05);
}
body#flow .fs-name {
  font-size: clamp(15.5px, 2vw, 17px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}

/* お金が動くステップ（1・8）＝金茶で強調 */
body#flow .fs-step--money .fs-node {
  background: var(--gold-d);
  border-color: var(--gold-d);
}
body#flow .fs-step--money .fs-num { color: #fff; }
body#flow .fs-step--money .fs-body {
  background: #fff;
  border: 2px solid var(--gold);
  box-shadow: 0 8px 20px rgba(169,129,74,.14);
}
body#flow .fs-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* ¥バッジ＝金茶の円形（絵文字💰の置換・UI/UX基準） */
body#flow .fs-mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 3px 10px rgba(169,129,74,.3);
}
body#flow .fs-amount {
  margin: 10px 0 0;
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 700;
  color: var(--gold-d);
  line-height: 1.2;
  letter-spacing: .01em;
}
body#flow .fs-amount .fs-unit { font-size: 15px; margin-left: 2px; }
body#flow .fs-amount-sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--sub);
  margin-top: 5px;
  line-height: 1.55;
}
/* アフター（9）＝金茶ノードだが枠は控えめ */
body#flow .fs-step--after .fs-node { background: #fff; border-color: var(--gold); }
body#flow .fs-step--after .fs-num { color: var(--gold-d); }

/* 2〜7：この間、追加のお支払いはありません＝縦の点線ブラケットで括る */
body#flow .fs-zone {
  position: relative;
  list-style: none;
  padding: 8px 0 8px 20px;
  margin: 0 0 0 0;
}
/* 縦の金茶点線ブラケット（左側の括弧） */
body#flow .fs-zone::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 2px dashed var(--gold);
  border-radius: 4px;
}
body#flow .fs-zone-label {
  display: inline-block;
  margin: 0 0 14px 4px;
  padding: 9px 20px;
  font-size: clamp(13.5px, 1.9vw, 15px);
  font-weight: 700;
  color: var(--gold-d);
  background: #fff;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  line-height: 1.4;
  box-shadow: 0 3px 12px rgba(169,129,74,.14);
}
body#flow .fs-zone-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
/* ゾーン内ステップ＝従属（生成り地・小ぶり） */
body#flow .fs-zone .fs-step--plain { padding-bottom: 16px; }
body#flow .fs-zone .fs-step--plain:last-child { padding-bottom: 0; }
body#flow .fs-step--plain::before { left: 17px; top: 36px; }
body#flow .fs-step--plain .fs-node {
  width: 36px;
  height: 36px;
  background: var(--cream);
  border: 1.5px solid var(--gold-pale);
}
body#flow .fs-step--plain .fs-num { font-size: 14px; color: var(--olive); }
body#flow .fs-step--plain .fs-body {
  background: var(--cream);
  border-color: var(--line);
  box-shadow: none;
  padding: 12px 16px;
}
body#flow .fs-step--plain .fs-name { font-weight: 600; color: var(--ink-soft); }

/* =========================================================
   セクション写真
   ========================================================= */
body#flow .fl-photo {
  margin: 0 auto 32px;
  max-width: 840px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(60,46,26,.15);
}
body#flow .fl-photo img {
  display: block;
  width: 100%;
  height: clamp(220px, 42vw, 440px);
  object-fit: cover;
  object-position: center 46%;
}

/* =========================================================
   4つのメリット（等高カード）
   ========================================================= */
body#flow .merit-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
body#flow .merit-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 26px rgba(60,46,26,.07);
  overflow: hidden;
}
body#flow .merit-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 68px;
  background: var(--gold);
  border-radius: 0 4px 4px 0;
}
body#flow .merit-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-d);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}
body#flow .merit-title {
  font-size: clamp(16px, 2vw, 18.5px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 12px;
}
body#flow .merit-text {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
  margin: 0;
}
/* ④＝本ページの要。大きさは他3枚と完全に同一（2×2 等幅・gridで等高）。
   要の感は「サイズ」ではなく金茶グラデ地＋2px枠＋太いコーナーで出す。 */
body#flow .merit-card--key {
  background: linear-gradient(180deg, #fbf5e9 0%, var(--card) 62%);
  border: 2px solid var(--gold);
}
body#flow .merit-card--key::before { width: 5px; height: 84px; }
body#flow .merit-key-line {
  display: block;
  margin-top: 12px;
  font-size: clamp(16px, 2.1vw, 17.5px);
  font-weight: 700;
  line-height: 1.85;
  letter-spacing: .02em;
  color: var(--gold-d);
}

/* =========================================================
   引き渡し後の安心 ― 図解（お引き渡し起点のタイムライン）
   何を・誰が・いつまで守るかを、アイコン＋期間バーで一目に。
   絵文字不使用（SVG／CSSアイコン）。PC/SP同一・横スクロールなし。
   ========================================================= */
body#flow .after-tl {
  max-width: 700px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 38px) clamp(20px, 4vw, 40px) clamp(26px, 4vw, 40px);
  box-shadow: 0 14px 34px rgba(60,46,26,.09);
}
/* 起点ラベル「お引き渡し」 */
body#flow .atl-origin {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 0 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--gold-pale);
  font-size: clamp(18px, 2.6vw, 22px);
  font-weight: 700;
  color: var(--ink);
}
body#flow .atl-origin__dot {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(169,129,74,.16);
}
body#flow .atl-origin__sub {
  font-size: 14px;
  font-weight: 600;
  color: var(--sub);
}
body#flow .atl-tracks { list-style: none; margin: 0; padding: 0; }
/* 1トラック＝アイコン｜名称＋説明｜期間チップ、下段に期間バー */
body#flow .atl-track {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "ico main when"
    "bar bar  bar";
  align-items: center;
  column-gap: 16px;
  row-gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
body#flow .atl-track:first-child { border-top: none; }
body#flow .atl-ico {
  grid-area: ico;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fbf5e9;
  border: 1.5px solid var(--gold-pale);
}
body#flow .atl-ico svg { display: block; }
body#flow .atl-main { grid-area: main; min-width: 0; }
body#flow .atl-name {
  font-size: clamp(15.5px, 2.1vw, 17.5px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 5px;
}
body#flow .atl-desc {
  font-size: clamp(13.5px, 1.8vw, 14.5px);
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}
/* 期間チップ */
body#flow .atl-when {
  grid-area: when;
  justify-self: end;
  align-self: center;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--gold-d);
}
body#flow .atl-when--before { background: var(--olive); }
/* 期間バー（長さ・向きで「いつまで」を表現） */
body#flow .atl-bar {
  grid-area: bar;
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: rgba(169,129,74,.1);
  overflow: hidden;
}
body#flow .atl-bar__fill {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  border-radius: 999px;
}
/* 性能評価＝引き渡し前の短い点検区間（点線的に短く） */
body#flow .atl-bar__fill--check {
  width: 26%;
  background: repeating-linear-gradient(90deg, var(--olive) 0 8px, transparent 8px 14px);
}
/* 瑕疵保険＝10年の実線バー（中程度） */
body#flow .atl-bar__fill--10y {
  width: 62%;
  background: linear-gradient(90deg, var(--gold) 0%, #c8a765 100%);
}
/* アフター＝端まで伸びて矢印でフェード＝ずっと */
body#flow .atl-bar { }
body#flow .atl-track:last-child .atl-bar { overflow: visible; }
body#flow .atl-bar__fill--ever {
  width: 100%;
  background: linear-gradient(90deg, var(--gold-d) 0%, var(--gold) 62%, rgba(169,129,74,.35) 100%);
}
/* ずっと＝右端に矢印 */
body#flow .atl-bar__fill--ever::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid var(--gold);
}

/* =========================================================
   FAQ ― アコーディオン（懸念払拭→CTAへ）
   ========================================================= */
body#flow .faq-list { max-width: 780px; margin: 0 auto; }
body#flow .faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(60,46,26,.05);
}
body#flow .faq-q {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;               /* タップ対象44px以上を確保 */
  padding: 16px 52px 16px 18px;
  font-size: clamp(16px, 2vw, 17px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  list-style: none;
  transition: background-color .2s ease;
}
body#flow .faq-q::-webkit-details-marker { display: none; }
body#flow .faq-q:hover { background: #fbf7ee; }
body#flow .faq-q__mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold-d);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
/* 開閉アイコン（CSSのみ・＋/−） */
body#flow .faq-q__icon {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
}
body#flow .faq-q__icon::before,
body#flow .faq-q__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--gold-d);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
body#flow .faq-q__icon::before { width: 18px; height: 2px; transform: translate(-50%, -50%); }
body#flow .faq-q__icon::after  { width: 2px; height: 18px; transform: translate(-50%, -50%); }
body#flow .faq-item[open] .faq-q__icon::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }
body#flow .faq-a {
  padding: 2px 20px 20px 62px;
}
body#flow .faq-a p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
  margin: 0;
}

/* =========================================================
   モーション設定（reduced-motion 対応）
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  body#flow * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =========================================================
   レスポンシブ（SP：横スクロールを一切出さない）
   ========================================================= */
body#flow .fl-br-sp { display: none; }

@media (max-width: 767px) {
  body#flow .fl-wrap { width: 90%; }
  body#flow .fl-band { padding: 52px 0; }

  body#flow .fl-hero__media img { height: clamp(300px, 66vw, 420px); }
  body#flow .fl-hero__inner { padding: 0 22px 26px; }
  body#flow .fl-hero__ttl { line-height: 1.4; }
  body#flow .fl-br-sp { display: inline; }
  body#flow .fl-br-pc { display: none; }

  body#flow .fl-lead { text-align: left; font-size: 16px; }
  body#flow .fl-lead br { display: none; }
  body#flow .fl-body { text-align: left; font-size: 16px; }
  body#flow .fl-body--wide br { display: none; }
  body#flow .fl-caution__txt,
  body#flow .why-step__txt,
  body#flow .merit-text,
  body#flow .atl-desc,
  body#flow .voice-text,
  body#flow .faq-a p { font-size: 16px; line-height: 1.8; }

  /* 不安の声：1列（吹き出し尻尾はそのまま下向き） */
  body#flow .voice-cards { grid-template-columns: 1fr; gap: 22px; max-width: 460px; }
  body#flow .voice-answer { margin-top: 30px; }

  /* 比較表→カード型に組み替え（横スクロールなし） */
  body#flow .cmp-table { border: none; background: transparent; box-shadow: none; border-radius: 0; }
  body#flow .cmp-table thead { display: none; }
  body#flow .cmp-table tbody, body#flow .cmp-table tr,
  body#flow .cmp-table th, body#flow .cmp-table td { display: block; width: 100%; }
  body#flow .cmp-table tr {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 18px;
    box-shadow: 0 10px 26px rgba(60,46,26,.08);
  }
  body#flow .cmp-table tbody th[scope="row"] {
    width: 100%;
    text-align: center;
    background: var(--beige);
    font-size: 16px;
    padding: 14px 12px;
  }
  body#flow .cmp-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    text-align: right;
    font-size: 15px;
    padding: 13px 16px;
  }
  body#flow .cmp-table td::before {
    content: attr(data-label);
    font-size: 13px;
    font-weight: 700;
    color: var(--sub);
    flex: 0 0 auto;
  }
  body#flow .cmp-table tbody tr:last-child td { border-bottom: 1px solid var(--line); }
  body#flow .cmp-table td:last-child { border-bottom: none !important; }
  /* 福井カード＝金茶枠で浮かせる */
  body#flow .cmp-row--fukui { border: 2px solid var(--gold) !important; }
  body#flow .cmp-row--fukui th { background: #f6ead2; }
  body#flow .cmp-row--fukui th,
  body#flow .cmp-row--fukui td { box-shadow: none; }
  /* SPカードでは行=カード側の角丸で閉じるため、PC用の角丸リセット */
  body#flow .cmp-row--fukui th,
  body#flow .cmp-row--fukui td:last-child { border-radius: 0; }
  body#flow .cmp-small { display: inline; margin: 0 0 0 4px; }

  /* 因果ステップ */
  body#flow .why-step + .why-step { margin-top: 36px; }
  body#flow .why-step + .why-step::before { top: -36px; height: 36px; }

  /* 縦型ステッパー（SPも同一レイアウト・余白だけ詰める） */
  body#flow .fs-step { gap: 14px; }
  body#flow .fs-body { padding: 13px 15px; }

  /* アフター図解：期間チップを名称の下段へ回す（2列3行グリッド） */
  body#flow .atl-track {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "ico main"
      "ico when"
      "bar bar";
    align-items: start;
    column-gap: 14px;
    row-gap: 10px;
  }
  body#flow .atl-when { grid-area: when; justify-self: start; }
  body#flow .atl-ico { width: 46px; height: 46px; align-self: start; }

  body#flow .fl-photo { margin-bottom: 26px; border-radius: 14px; }

  /* メリットは1列 */
  body#flow .merit-cards { grid-template-columns: 1fr; gap: 16px; }
  body#flow .merit-card { padding: 28px 22px; }
  body#flow .merit-card--key { padding: 30px 22px; }

  body#flow .faq-a { padding-left: 20px; }
}

@media (max-width: 374px) {
  body#flow .fs-amount { font-size: 19px; }
  body#flow .cmp-table td { font-size: 14px; }
}
