/* AI セキュリティ改善・実装支援サービス LP。配色と使い分けは docs/decision-log.md「色の使い方」 */
:root {
  --navy: #0B1F33;
  --blue: #006FE6;
  --blue-hover: #005BBD;
  --cyan: #00AFC8;
  --ink: #1A2433;
  --pale: #F4F8FC;
  --muted: #4A5A6E;
  --line: #D5E0EC;
  --white: #FFFFFF;
  --radius: 8px;
  --content: 1120px;
  --font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --font-latin: Inter, Arial, "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { max-width: var(--content); margin: 0 auto; padding-inline: 32px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand img { display: block; width: 72px; height: auto; }
.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav .nav-link { color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 500; }
.header-nav .nav-link:hover { text-decoration: underline; }

/* Breadcrumb */
.breadcrumb { font-size: 12px; color: var(--muted); padding-block: 12px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; }
.breadcrumb a { color: var(--navy); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 6px;
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent;
}
.button:focus-visible, .text-link:focus-visible, .header-nav .nav-link:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.button--primary { background: var(--blue); color: var(--white); }
.button--primary:hover { background: var(--blue-hover); }
.button--secondary { background: var(--white); color: var(--navy); border-color: var(--navy); }
.button--small { min-height: 44px; padding: 10px 18px; font-size: 14px; }

/* Hero */
.hero { position: relative; isolation: isolate; background: linear-gradient(90deg, var(--white) 0%, var(--white) 36%, #E8F2FD 60%, #E3F0FD 100%); padding-block: 64px 96px; overflow-x: clip; overflow-y: clip; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(590px, 1.15fr) minmax(0, 1fr); /* 左は H1 の 1 行目「見つかったAIの脆弱性を、」（48px で約 581px）が 1 行に収まる幅を確保 */
  grid-template-areas:
    "head visual"
    "primary visual"
    "secondary visual"
    "note visual"
    "sub visual";
  grid-template-rows: auto auto auto auto 1fr;
  column-gap: 40px;
  align-items: start;
}
.hero-head { grid-area: head; }
.hero-primary { grid-area: primary; justify-self: start; margin-bottom: 12px; }
.hero-secondary { grid-area: secondary; justify-self: start; margin-bottom: 20px; }
.hero-note { grid-area: note; }
.hero-sublink { grid-area: sub; }
/* 右カラムは H1 の幅を確保するため狭い（1440px で約 430px）。図は右カラムから右の余白へ出して大きく見せ、はみ出しは最大 96px にとどめる（1440px のノート PC でも右に余白を残し、右へ寄って見せない）。左はカラム間の余白へ 40px 入れる（H1 の 1 行目は約 581px で、左カラムの 590px に収まるため重ならない）。H1 の文字とは重ならない */
.hero-visual { grid-area: visual; align-self: center; justify-self: stretch; width: auto; margin-left: -40px; margin-right: calc(-1 * min(max(0px, (100vw - var(--content)) / 2) + 32px, 96px)); pointer-events: none; }
.hero-eyebrow { display: inline-block; font-size: 14px; font-weight: 700; color: var(--navy); letter-spacing: 0.02em; margin: 0 0 16px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
/* 見出しサイズの基準: H1 48〜56px／モバイル 32〜36px、H2 32〜40px／モバイル 26〜30px */
.hero h1 { font-size: 48px; line-height: 1.35; color: var(--navy); margin: 0 0 24px; letter-spacing: 0.01em; font-weight: 700; }
.hero h1 .line { display: block; white-space: nowrap; }
/* 2 行目（「直し方」の設計から実装まで。）は左カラムに収まらないため、文節で折り返す。1 行目は左カラムの最小幅（590px）に収まるので PC では折り返さない */
.hero h1 .line:has(.phrase) { white-space: normal; }
.hero-lead { font-size: 17px; line-height: 1.9; margin: 0 0 32px; max-width: 34em; }
.hero-note { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink); margin: 0 0 12px; padding: 12px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); max-width: 34em; }
.hero-note svg { flex: none; margin-top: 4px; }
.hero-sublink { font-size: 14px; color: var(--muted); margin: 0; }
/* 日本語の改行: 意味単位の span ごとに折り返し、span の中では折り返さない（幅が足りないときだけ span 内で折る） */
.phrase { display: inline-block; }
.nowrap { white-space: nowrap; }
.text-link { color: var(--navy); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; display: inline-block; }

/* Visual: 先方提供の Key Visual（2026-09-28 差し替え。背景が淡い青の画像）。FV の背景を画像の地の色（#E3F0FD 前後）へ寄せ、四辺を直線のグラデーションで背景へつなぐ（角を丸くぼかす形は使わない）。スマホは左右が画面の端に接するので上下だけ */
.hero-visual { position: relative; aspect-ratio: 1448 / 1086; margin-block: 0; }
.hero-visual picture, .hero-visual .hero-visual-img { display: block; width: 100%; height: 100%; }
.hero-visual-img { object-fit: contain; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 11%, #000 92%, transparent 100%), linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 11%, #000 92%, transparent 100%), linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-composite: intersect; }

@media (max-width: 1023px) {
  .header-nav .nav-link { display: none; }
  .hero-grid { display: flex; flex-direction: column; }
  .hero h1 { font-size: 48px; }
  .hero-primary, .hero-secondary { align-self: flex-start; }
  /* 1 列のときは背景を上下のグラデーションにする。タブレットでは図の幅を 720px までにし、四辺を背景へつなぐ */
  .hero { background: linear-gradient(180deg, var(--white) 0%, #EEF5FD 45%, #E3F0FD 100%); }
  .hero-visual { width: 100%; max-width: 720px; margin: 8px auto 24px; }
  .hero-visual-img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%), linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%), linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
}

@media (max-width: 767px) {
  .container { padding-inline: 20px; }
  .header-inner { min-height: 60px; }
  .brand img { width: 56px; }
  .header-nav .button { display: none; } /* mobile は画面下部の固定 CTA（S12 到達で非表示）に置き換える */
  .hero h1 .line { white-space: normal; }
  .hero { padding-block: 32px 64px; }
  .hero h1 { font-size: clamp(26px, 8.6vw, 36px); } /* 375〜430px で 32〜36px。375px 未満は 1 行に収めるため下げる */
  .hero-lead { font-size: 16px; }
  /* mobile は DOM 順のまま縦に並べる（H1 → リード → 主 CTA → ビジュアル → 副 CTA → 補助表示 → 診断リンク） */
  .hero-primary, .hero-secondary { align-self: stretch; width: 100%; white-space: normal; }
  .hero-primary { margin-bottom: 0; }
  /* スマホは図を左右の画面端まで伸ばし、画面の端に接する左右はぼかさない */
  .hero-visual { width: calc(100% + 40px); max-width: none; margin: 16px -20px; }
  .hero-visual-img { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}


/* mobile の固定 CTA。最終 CTA が見えたら隠す */
.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta {
    display: block; position: fixed; inset-inline: 0; bottom: 0; z-index: 20;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--line);
  }
  .sticky-cta .button { width: 100%; white-space: normal; }
  .sticky-cta[hidden] { display: none; }
  body { padding-bottom: 88px; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--white); padding-block: 40px 56px; }
.site-footer h2 { font-size: 14px; color: var(--muted); font-weight: 700; margin: 0 0 8px; }
.site-footer p { margin: 0 0 8px; font-size: 14px; }
.site-footer .footer-note { color: var(--muted); font-size: 13px; }

/* ===== 本文セクション ===== */
.section { padding-block: 96px; }
.section--tinted { background: var(--pale); }
.section h2 { font-size: clamp(32px, 2.6vw, 38px); line-height: 1.5; color: var(--navy); margin: 0 0 20px; }
.section-lead { font-size: 17px; margin: 0 0 40px; max-width: 46em; }
.note { font-size: 14px; color: var(--muted); margin: 24px 0 0; max-width: 60em; }
.section-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* 課題提起 */
.problem-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.problem-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.problem-card h3 { font-size: 17px; color: var(--navy); margin: 0 0 8px; line-height: 1.6; }
.problem-card p { margin: 0; font-size: 15px; }
/* 「言う」から「する」へ（2026-09-23 先方指摘で目立たせる） */
.shift-message { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 28px 32px; margin: 0 0 32px; }
.shift-message p { margin: 0; font-size: 15px; line-height: 1.9; max-width: 52em; }
.shift-message .shift-message-title { font-size: clamp(20px, 1.9vw, 26px); font-weight: 700; line-height: 1.6; margin-bottom: 12px; max-width: none; }

/* 提供価値のフロー（PC は 6 列＋任意の再診断を列の外へ） */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.flow-step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px; display: flex; flex-direction: column; gap: 8px; }
.flow-step--optional { grid-column: 1 / -1; border-style: dashed; background: transparent; flex-direction: row; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.flow-step--optional p { flex: 1 1 320px; }
.flow-index { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 13px; font-weight: 700; flex: none; }
.flow-step--optional .flow-index { background: var(--white); color: var(--navy); border: 1px dashed var(--navy); }
.flow-step h3 { font-size: 15px; color: var(--navy); margin: 0; }
.flow-step--optional h3 { display: flex; align-items: center; gap: 8px; }
.flow-step p { margin: 0; font-size: 14px; line-height: 1.8; }

/* 支援対象領域（PC 2 列＋オプションを全幅） */
.domain-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.domain-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.domain-card--option { border-style: dashed; background: transparent; }
/* 標準 5 領域と、周辺領域（オプション）を分けて置く */
.domain-option-title { margin: 40px 0 4px; font-size: 16px; font-weight: 700; color: var(--navy); }
.domain-option-lead { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.domain-card h3 { font-size: 17px; color: var(--navy); margin: 0 0 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.domain-card p { margin: 0; font-size: 15px; }
/* ラベル（「例」「オプション」）。枠線だけの弱いバッジをやめ、面で示す */
.tag {
  font-size: 11px; font-weight: 700; line-height: 1.6; letter-spacing: 0.08em;
  color: #0B4E8F; background: #E4F0FD; border: 0; border-radius: 4px; padding: 3px 8px;
  white-space: nowrap; align-self: center;
}
.tag--option { color: #2F4A63; background: #EAF0F6; }

/* 比較表 */
.table-scroll { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 15px; }
.compare-table caption { text-align: left; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.compare-table th, .compare-table td { border: 1px solid var(--line); padding: 16px; text-align: left; vertical-align: top; }
.compare-table thead th { background: var(--navy); color: var(--white); font-size: 14px; }
.compare-table tbody th { background: var(--pale); width: 10em; color: var(--navy); }

/* 支援プロセス */
.process-list { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 16px; }
.process-step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px 20px 64px; position: relative; }
.process-step::before { counter-increment: step; content: counter(step); position: absolute; left: 24px; top: 20px; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.process-step h3 { font-size: 16px; color: var(--navy); margin: 0 0 6px; }
.process-step p { margin: 0; font-size: 15px; }
.process-step--optional { border-style: dashed; background: transparent; }
.process-step--optional::before { content: "＋"; counter-increment: none; background: var(--white); color: var(--navy); border: 1px dashed var(--navy); }
.process-step--optional h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* プラン */
.plan-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.plan-card--primary { border-color: var(--blue); border-width: 2px; }
.plan-card h3 { font-size: 18px; color: var(--navy); margin: 0; }
.plan-card p { margin: 0; font-size: 15px; }
.plan-for { color: var(--muted); }
/* 誰が実装するかを一目で分かるように、名前の直下に置く */
.plan-card .plan-who { display: flex; flex-direction: column; gap: 2px; background: var(--pale); border-radius: 6px; padding: 10px 12px; }
.plan-who-label { font-size: 12px; font-weight: 700; color: var(--muted); }
.plan-who-value { font-size: 16px; font-weight: 700; color: var(--navy); }
/* どのプランにも追加できるオプション（再診断） */
.plan-option { margin-top: 20px; border: 1px dashed var(--navy); border-radius: var(--radius); padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.plan-option h3 { font-size: 16px; color: var(--navy); margin: 0; display: flex; align-items: center; gap: 8px; }
.plan-option p { margin: 0; font-size: 15px; flex: 1 1 320px; }
.plan-meta { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.plan-meta dt { color: var(--muted); }
.plan-meta dd { margin: 0; font-weight: 700; color: var(--navy); }

/* 成果物 */
.deliverable-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.deliverable-group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.deliverable-group h3 { font-size: 16px; color: var(--navy); margin: 0 0 12px; }
.deliverable-group ul { margin: 0; padding-left: 1.2em; display: grid; gap: 14px; }
.deliverable-item { font-size: 15px; }
.deliverable-name { display: block; font-weight: 700; color: var(--navy); }
.deliverable-use { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }

@media (max-width: 1023px) {
  .section { padding-block: 72px; }
  .section h2 { font-size: 32px; }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plan-list, .deliverable-groups { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .section { padding-block: 64px; }
  .section h2 { font-size: clamp(26px, 7.2vw, 30px); }
  .section-lead { margin-bottom: 32px; }
  .problem-list, .domain-list, .flow { grid-template-columns: 1fr; }
  .flow-step--optional { flex-direction: column; align-items: flex-start; }
  .flow-step--optional p { flex: 0 1 auto; } /* 横並び用の基準幅（320px）が縦並びでは高さになり、空白ができるため */
  .shift-message { padding: 24px 20px; }
  .process-step { padding: 20px 20px 20px 60px; }
  .section-actions .button { width: 100%; white-space: normal; }
  /* 比較表は横スクロールを避け、行ごとのカードへ組み替える */
  .compare-table, .compare-table thead, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: auto; }
  .compare-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .compare-table tr { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: 16px; }
  .compare-table tbody th { width: auto; border: 0; border-bottom: 1px solid var(--line); }
  .compare-table td { border: 0; padding-block: 12px; }
  .compare-table td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
}


/* 支援対象領域のアイコン（装飾。意味は見出しと本文が持つ） */
.domain-card { display: grid; grid-template-columns: 24px 1fr; gap: 6px 12px; align-items: start; }
.domain-icon, .card-icon { color: var(--blue); }
.problem-card { display: grid; grid-template-columns: 24px 1fr; gap: 6px 12px; align-items: start; }
.problem-card h3 { margin: 0; }
.problem-card p { grid-column: 2; }
.domain-card h3 { margin: 0; }
.domain-card p { grid-column: 2; }
/* レビュー工程から任意の再診断へ伸びる破線矢印（装飾） */
.flow-step--optional { position: relative; margin-top: 28px; }
.flow-step--optional::before {
  content: ""; position: absolute; left: 50%; top: -26px; width: 1px; height: 18px;
  border-left: 1px dashed var(--navy);
}
.flow-step--optional::after {
  content: ""; position: absolute; left: 50%; top: -10px; width: 8px; height: 8px;
  border-right: 1px solid var(--navy); border-bottom: 1px solid var(--navy);
  transform: translateX(-50%) rotate(45deg);
}

/* 選ばれる理由 */
.reason-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.reason-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; border-left: 3px solid var(--blue); }
.reason-card h3 { font-size: 17px; color: var(--navy); margin: 0 0 8px; }
.reason-card p { margin: 0; font-size: 15px; }

/* 支援シナリオ */
.scenario-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.scenario-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.scenario-card h3 { font-size: 17px; color: var(--navy); margin: 0 0 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.scenario-card dl { margin: 0; display: grid; gap: 4px; }
.scenario-card dt { font-size: 12px; font-weight: 700; color: var(--muted); }
.scenario-card dd { margin: 0 0 8px; font-size: 15px; }
.scenario-card dd:last-child { margin-bottom: 0; }
.scenario-figure { margin: 32px 0 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.scenario-figure figcaption { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.scenario-figure .diagram {
  position: relative; width: 100%; aspect-ratio: 760 / 340; container-type: inline-size;
  border-radius: 12px; overflow: hidden;
  background-color: var(--white);
}
.scenario-figure svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.diagram span { position: absolute; transform: translate(-50%, -50%); text-align: center; line-height: 1.5; }
.diagram .dg-phase { transform: translate(0, -50%); }
.dg-phase { font-size: clamp(11px, 1.6cqw, 13px); font-weight: 700; color: #2F4A63; background: #EAF0F6; border-radius: 4px; padding: 3px 10px; white-space: nowrap; }
.dg-phase--after { color: #0B4E8F; background: #D6E8FB; }
.dg-node { font-size: clamp(12px, 1.85cqw, 15px); font-weight: 700; color: var(--navy); white-space: nowrap; display: grid; gap: 2px; }
.dg-node--narrow { white-space: nowrap; }
.dg-node small { font-size: clamp(10px, 1.45cqw, 12px); font-weight: 400; color: var(--muted); white-space: nowrap; }
/* 注記は帯の上に載るため、下地を敷いてコントラストを帯の色に依存させない */
.dg-note { font-size: clamp(10px, 1.45cqw, 12px); color: #0B4E8F; white-space: nowrap; background: var(--white); border-radius: 999px; padding: 1px 8px; }
.dg-note--muted { color: var(--muted); }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item h3 { margin: 0; font-size: 16px; }
.faq-question {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; align-items: flex-start; gap: 12px; padding: 20px 24px;
  font: inherit; font-weight: 700; color: var(--navy); line-height: 1.7;
}
.faq-question:focus-visible { outline: 3px solid var(--navy); outline-offset: -3px; }
.faq-icon { flex: none; width: 16px; height: 16px; margin-top: 5px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--blue); }
.faq-icon::before { inset: 7px 0; height: 2px; }
.faq-icon::after { inset: 0 7px; width: 2px; transition: transform 0.15s ease; }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: scaleY(0); }
.faq-answer { padding: 0 24px 20px 52px; }
.faq-answer p { margin: 0; font-size: 15px; }

/* 最終 CTA */
.section--contact { background: var(--navy); }
.section--contact h2, .section--contact .section-lead { color: var(--white); }
.section--contact .section-lead { max-width: 52em; }

@media (prefers-reduced-motion: reduce) { .faq-icon::after { transition: none; } }

@media (max-width: 767px) {
  .reason-list, .scenario-list { grid-template-columns: 1fr; }
  .faq-question { padding: 16px 20px; }
  .faq-answer { padding: 0 20px 16px 48px; }
  .scenario-figure { padding: 16px; overflow-x: auto; }
  .scenario-figure .diagram { min-width: 560px; }
}

/* 日本語の改行: 見出しは .phrase で文節の塊ごとに折り返す。本文は孤立行を避ける（text-wrap: pretty）。
   auto-phrase は Chromium のみ対応のため補助として使う */
:lang(ja) .section-lead, :lang(ja) .problem-card p, :lang(ja) .domain-card p, :lang(ja) .flow-step p, :lang(ja) .process-step p,
:lang(ja) .reason-card p, :lang(ja) .scenario-card dd, :lang(ja) .faq-answer p, :lang(ja) .compare-table td,
:lang(ja) .plan-for, :lang(ja) .plan-scope, :lang(ja) .deliverable-item, :lang(ja) .hero-note, :lang(ja) .scenario-figure figcaption,
:lang(ja) .note, :lang(ja) .shift-message p, :lang(ja) .domain-option-lead, :lang(ja) .plan-option p { text-wrap: pretty; word-break: auto-phrase; }
.section h2, .section h3, .faq-question, .button { text-wrap: balance; word-break: auto-phrase; }
