/* おばあちゃんAI電話 LP v2（広告流入向けCV改善リニューアル）スタイル。
   外部CDN不使用・素のCSSのみ。モバイル優先・390pxで横スクロールが出ないことを確認済み。
   ORDER_lp_v2_cvr_2026-08-02 4-8準拠。配色トークンは現行(#1F3A5F紺・#2F6B4F緑・#FAF8F2アイボリー)を維持。 */

:root {
  --color-bg: #FFFFFF;
  --color-bg-ivory: #FAF8F2;
  --color-text: #1F2933;
  --color-navy: #1F3A5F;
  --color-green: #2F6B4F;
  --color-border: #E2DED2;
  --header-height: 60px;
  --shadow-card: 0 2px 8px rgba(31, 42, 51, 0.06);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--color-bg-ivory);
  color: var(--color-text);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
  padding-top: var(--header-height);
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

img, svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-navy);
}

/* --- typography --- */
h1, h2 {
  /* 見出しの1文字だけの孤立改行（「〜くださ/い」等）を防ぐ。未対応ブラウザでは無視される */
  text-wrap: balance;
}

h1 {
  font-size: 2rem;
  line-height: 1.4;
  color: var(--color-navy);
  margin: 0 0 16px;
}

h2 {
  font-size: 1.625rem;
  line-height: 1.4;
  color: var(--color-navy);
  margin: 0 0 24px;
}

h3 {
  font-size: 1.125rem;
  color: var(--color-navy);
  margin: 0 0 12px;
}

p {
  margin: 0 0 12px;
}

@media (min-width: 768px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
}

/* --- layout --- */
.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--color-bg);
}

@media (min-width: 768px) {
  .section { padding: 88px 0; }
}

.prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose-left {
  max-width: 720px;
}

.section-intro {
  max-width: 720px;
  margin: 0 0 32px;
}

/* ---------------------------------------------------------------------
   固定ヘッダー
--------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-border);
  z-index: 50;
  display: flex;
  align-items: center;
}

.site-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-weight: bold;
  font-size: 1.05rem;
  color: var(--color-navy);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav-links {
  display: none;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav-links a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav-links a:hover {
  color: var(--color-navy);
}

.btn-nav-cta {
  width: auto;
  min-height: 40px;
  padding: 8px 18px;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .site-nav-links {
    display: flex;
  }
}

/* ---------------------------------------------------------------------
   buttons / links
--------------------------------------------------------------------- */
.btn {
  display: inline-block;
  width: 100%;
  min-height: 48px;
  padding: 12px 22px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.1s ease;
}

.btn:hover {
  opacity: 0.88;
}

.btn-primary {
  background: var(--color-green);
  color: #FFFFFF;
}

.btn-secondary {
  background: var(--color-bg);
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn-block {
  width: 100%;
}

.btn-inline {
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.link-secondary {
  display: inline-block;
  color: var(--color-navy);
  text-decoration: underline;
  font-weight: bold;
  padding: 8px 4px;
}

@media (min-width: 480px) {
  .btn { width: auto; }
}


/* ---------------------------------------------------------------------
   cards / grids（流れ・悩み・特徴など）
--------------------------------------------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 720px) {
  .cards-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--color-bg);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.section-alt .card {
  background: var(--color-bg-ivory);
  border: 1px solid var(--color-border);
  box-shadow: none;
}

.worries-cause {
  max-width: 720px;
  margin: 24px 0 0;
  color: #323F4B;
}

/* K2: ORDER_lp_fix5_copywriting_2026-08-03 悩みセクションのリード文（見出し直下） */
.worries-lead {
  margin: 8px 0 0;
  color: #323F4B;
}

/* --- flow --- */
.flow-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flow-step {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  border-radius: 50%;
  background: var(--color-navy);
  color: #FFFFFF;
  font-weight: bold;
  font-size: 0.95rem;
}

/* --- worries / features list items（カード内の箇条書き共通） --- */
.worries-list, .safety-list, .pricing-includes, .fit-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.worries-list li, .safety-list li, .pricing-includes li, .fit-list li {
  padding: 8px 0 8px 26px;
  position: relative;
}

.safety-list li:before {
  content: "・";
  position: absolute;
  left: 4px;
}

.pricing-includes li:before, .fit-yes li:before {
  content: "✓";
  position: absolute;
  left: 2px;
  color: var(--color-green);
  font-weight: bold;
}

.fit-no li:before {
  content: "×";
  position: absolute;
  left: 2px;
  color: #B02E2E;
  font-weight: bold;
}

/* ---------------------------------------------------------------------
   会話イメージ + メール例（2列）
--------------------------------------------------------------------- */
.conversation-note {
  max-width: 720px;
  font-weight: bold;
  color: var(--color-navy);
  background: var(--color-bg-ivory);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px 16px;
  margin: 0 0 28px;
}

.conversation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 16px;
}

@media (min-width: 860px) {
  .conversation-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.conversation-chat, .conversation-mail {
  background: var(--color-bg);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-bubble {
  max-width: 92%;
  padding: 10px 14px;
  border-radius: 14px;
  word-break: break-word;
  font-size: 1rem;
}

.chat-label {
  display: block;
  font-size: 0.875rem;
  font-weight: bold;
  margin-bottom: 4px;
  opacity: 0.7;
}

.chat-ai {
  align-self: flex-start;
  background: #EEF2F6;
  color: var(--color-text);
}

.chat-user {
  align-self: flex-end;
  background: var(--color-green);
  color: #FFFFFF;
}

/* 音声プレースホルダ: 再生UIは実装しない（非表示のdata属性コンテナのみ） */
[data-audio-placeholder] {
  display: none;
}

/* --- email card --- */
.email-card {
  background: var(--color-bg-ivory);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 18px;
}

.email-subject-label, .email-body-label {
  font-size: 0.875rem;
  color: #52606D;
  margin: 0 0 2px;
}

.email-subject {
  font-weight: bold;
  font-size: 1.05rem;
  margin: 0 0 14px;
}

.email-body {
  list-style: none;
  margin: 0;
  padding: 0;
}

.email-body li {
  padding: 5px 0;
}

.note {
  font-size: 0.875rem;
  color: #52606D;
}

/* ---------------------------------------------------------------------
   向いている家庭／できないこと
--------------------------------------------------------------------- */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 720px) {
  .fit-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.fit-card {
  /* P4(2026-08-04検収): 発注書4-2「角丸18-22px」に合わせ16px→20pxへ */
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.fit-yes {
  background: #EEF3EA;
  border: 1px solid #D3E0CB;
}

/* ORDER_lp_v6_rebuild_2026-08-04: 「できないこと」は強い赤を使わず、新パレットの
   ブラス系の落ち着いた注意色に揃える（.safety-card-cautionと同系）。 */
.fit-no {
  background: #FBF3E7;
  border: 1px solid #E7D3AE;
}

/* ---------------------------------------------------------------------
   料金（大型カード）
   P1(2026-08-04検収): 発注書4-3「セクション全体を使って大きく表示する」を満たすため、
   小さな中央カードから、PC960px程度まで広がる【左=価格+補足+CTA／右=内容6点】の
   2カラムへ再構成。SPは1カラムへフォールバック。
--------------------------------------------------------------------- */
.pricing-card {
  max-width: 960px;
  margin: 0 auto;
  background: var(--color-bg);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  text-align: left;
}

.pricing-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 720px) {
  .pricing-card-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: start;
  }
}

.pricing-card-includes {
  padding-top: 4px;
}

@media (min-width: 720px) {
  .pricing-card-includes {
    padding-top: 44px;
    border-left: 1px solid var(--color-border);
    padding-left: 40px;
  }
}

.pricing-includes-label {
  margin: 0 0 12px;
  font-size: 0.875rem;
  font-weight: bold;
  color: var(--color-navy);
}

.pricing-label {
  display: inline-block;
  background: var(--color-navy);
  color: #FFFFFF;
  font-size: 0.875rem;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* P1: 価格をこのページ最大級の表示に（PC 3rem前後）。
   P2: 途中改行禁止のため文字列全体を1つのnowrap spanで包む（.pricing-amount-nowrap）。 */
.pricing-amount {
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--color-navy);
  margin-bottom: 18px;
}

.pricing-amount-nowrap {
  white-space: nowrap;
}

@media (min-width: 480px) {
  .pricing-amount { font-size: 2.6rem; }
}

@media (min-width: 720px) {
  .pricing-amount { font-size: 3rem; }
}

.pricing-includes {
  text-align: left;
  max-width: 360px;
  margin: 0;
}

.pricing-note {
  font-size: 0.875rem;
  color: #52606D;
  margin: 4px 0;
}

.pricing-ctas {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.pricing-ctas .btn {
  width: 100%;
}

.pricing-ctas .btn-secondary {
  min-height: 42px;
  font-size: 0.9rem;
  padding: 8px 18px;
}

@media (min-width: 480px) {
  .pricing-ctas .btn { width: auto; min-width: 260px; }
}

/* ---------------------------------------------------------------------
   faq
--------------------------------------------------------------------- */
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 14px 0;
  max-width: 720px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: bold;
  padding: 4px 0;
}

.faq-item p {
  margin: 10px 0 0;
  color: #323F4B;
}

/* ---------------------------------------------------------------------
   最終CTA + フッター
--------------------------------------------------------------------- */
.final-cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.final-cta-inner .btn {
  width: 100%;
}

@media (min-width: 480px) {
  .final-cta-inner .btn { width: auto; min-width: 280px; }
}

/* フッターは直前の最終CTA(#294E43 深緑)と同系の暗い緑にする。
   以前は紺(--color-navy)で、深緑の直下に別系統の暗色が来て色が喧嘩していた。 */
.site-footer {
  background: #223F37;
  color: #E6EFE8;
  padding: 40px 0 calc(40px + env(safe-area-inset-bottom, 0px));
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-footer p {
  margin: 0 0 8px;
  font-size: 0.9rem;
}

.site-footer a {
  color: #FFFFFF;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  list-style: none;
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-links a {
  font-size: 0.875rem;
  text-decoration: underline;
}

/* ---------------------------------------------------------------------
   モバイル固定CTA（indexのみ・<768px）
--------------------------------------------------------------------- */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -2px 10px rgba(31, 42, 51, 0.08);
}

.sticky-mobile-cta .btn {
  width: 100%;
  min-height: 48px;
}

@media (max-width: 767px) {
  .sticky-mobile-cta.is-visible {
    display: block;
  }
}

/* ---------------------------------------------------------------------
   フォーム（/demo・/beta共通）
--------------------------------------------------------------------- */
.form-page-main {
  max-width: 560px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}

.form-page-back {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

/* H1(ORDER_lp_fix3_adprep_2026-08-03): index.htmlの3箇所(FV/料金カード/最終CTA)でも
   /demoと同じ.warning-cardを再利用する。text-alignは中央寄せの親(.pricing-card等)の
   影響を受けないよう明示的にleftへ固定する。 */
.warning-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
  background: #FFF7E0;
  border: 1px solid #EBD9A0;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 16px 0 24px;
  max-width: 480px;
}

.warning-card .icon-warning {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: #8A6D1F;
  margin-top: 2px;
}

.warning-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #5C4A16;
  text-align: left;
}

/* J2(ORDER_lp_fix4_copy_2026-08-03): フル版(hero/demo)は複数段落になるため、
   アイコンと並ぶ1つのflexアイテムとしてラップする（段落ごとに独立flexアイテム化する
   バグを避けるため。checkboxラベルの折り返しバグ修正と同じ考え方）。 */
.warning-card-text {
  flex: 1 1 auto;
  min-width: 0;
}

.warning-card-text p {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: #5C4A16;
  text-align: left;
}

.warning-card-text p:last-child {
  margin-bottom: 0;
}

.hero-copy .warning-card {
  margin-left: 0;
  margin-right: 0;
}

.pricing-card .warning-card,
.final-cta-inner .warning-card {
  margin-left: auto;
  margin-right: auto;
}

form {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 24px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  font-size: 16px;
  border: 1px solid #9AA5B1;
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--color-text);
  font-family: inherit;
}

.field textarea {
  min-height: 88px;
  resize: vertical;
}

.field-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
}

.field-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 2px;
}

/* ハニーポット: 通常利用者からは見えない位置へ寄せる（display:noneではなく画面外へ） */
.field-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-message {
  margin-top: 12px;
  font-size: 0.9rem;
  min-height: 1.2em;
}

.form-message.success {
  color: var(--color-green);
  font-weight: bold;
}

.form-message.error {
  color: #B02E2E;
}

.form-complete {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
}

.form-complete .icon-check {
  width: 40px;
  height: 40px;
  color: var(--color-green);
  margin: 0 auto 12px;
}

.form-complete .warning-card {
  text-align: left;
  margin-top: 20px;
  margin-bottom: 0;
}

/* ---------------------------------------------------------------------
   法的ページ（privacy / terms / tokushoho）
--------------------------------------------------------------------- */
.legal-header {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
  padding: 16px 0;
}

.legal-header-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}

.legal-main h1 {
  font-size: 1.6rem;
}

.legal-main h2 {
  font-size: 1.15rem;
  margin-top: 32px;
}

.legal-notice {
  background: #FFF7E0;
  border: 1px solid #EBD9A0;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.9rem;
  color: #5C4A16;
  margin-bottom: 24px;
}

.legal-pending {
  color: #B02E2E;
  font-weight: bold;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.legal-table th, .legal-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.legal-table th {
  width: 32%;
  color: var(--color-navy);
  white-space: nowrap;
}

/* ---------------------------------------------------------------------
   共通アイコン（インラインSVG線画・絵文字/外部アイコンフォント禁止）
--------------------------------------------------------------------- */
.icon {
  width: 20px;
  height: 20px;
  vertical-align: -4px;
}

/* ---------------------------------------------------------------------
   LP visual refresh v2 — ORDER_phase1_v19_port_2026-08-05
   施主承認済みv19たたき台(scratchpad/p12/v19_body.html)の見た目を、本番の構造
   （site-header/footer・sticky CTA・pricing_view観測対象の#pricing等の機能ハンドル）
   の上に載せる。index.html専用スコープ(body[data-page="index"])に閉じ込め、
   /demo・/beta・法的ページ・:rootの共有トークンには一切影響しない。

   色: 和紙のアイボリー --idx-paper #FFFDF9／深緑インク --idx-ink #294E43／
   淡いセージ --idx-sage #EAF2EB／テラコッタ差し色 --idx-accent #E96831（v19の
   .fv-scrim/.accentから移植）。書体: 見出しはKlee One（教科書体・和紙配色との
   相性を狙った実際のv19指定書体）、本文はシステムゴシック。
   signature: ヒーローの全画面写真＋白文字見出し（v19の最大の特徴）。
   9セクション構成: hero/worries/report(会話+レター)/compare(before-after)/
   flow(3ステップ+条件)/fit/pricing/faq/background+final-cta。
--------------------------------------------------------------------- */
@font-face {
  font-family: 'KleeOne';
  src: url('fonts/klee-one-subset.woff2') format('woff2');
  font-display: swap;
  font-weight: 400 700;
}

#pricing {
  position: relative;
  isolation: isolate;
  clip-path: inset(0 -100vmax);
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--color-green);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* ---------------------------------------------------------------------
   index専用トークン・基礎タイポ
--------------------------------------------------------------------- */
body[data-page="index"] {
  --idx-paper: #FFFDF9;
  --idx-paper-moss: #EAF2EB;
  --idx-card: #FFFFFF;
  --idx-ink: #294E43;
  --idx-body: #2D3430;
  --idx-sage: #EAF2EB;
  --idx-accent: #E96831;
  --idx-accent-soft: #FFF0E8;
  --idx-border: #DDD7CC;
  --idx-font-klee: 'KleeOne', 'Hiragino Sans', 'Yu Gothic Medium', 'Yu Gothic', sans-serif;
  font-size: 17px;
}

@media (min-width: 768px) {
  body[data-page="index"] { font-size: 18px; }
}

body[data-page="index"] { background: var(--idx-paper); }
body[data-page="index"] main { max-width: 1180px; }
body[data-page="index"] .section { padding: 64px 0; color: var(--idx-body); background: var(--idx-paper); }
body[data-page="index"] .section-intro { margin-bottom: 30px; }
body[data-page="index"] .section-intro-centered { margin-left: auto; margin-right: auto; text-align: center; }
/* mainに限定する。以前は全pが対象で、main外にあるフッター(<footer>は</main>の後)の
   pまで濃いグレー(--idx-body)になり、暗い背景に暗い文字＝ほぼ読めなくなっていた。 */
body[data-page="index"] main p { color: var(--idx-body); }
body[data-page="index"] h1,
body[data-page="index"] h2,
body[data-page="index"] h3 { color: var(--idx-ink); font-family: var(--idx-font-klee); font-weight: 700; }
body[data-page="index"] h2 { font-size: clamp(1.65rem, 3.6vw, 2.2rem); line-height: 1.4; letter-spacing: 0; text-wrap: balance; }
body[data-page="index"] h3 { font-size: 1.1rem; line-height: 1.5; }
body[data-page="index"] .section-kicker { display: block; color: var(--idx-ink); font-family: var(--idx-font-klee); font-size: 1.1rem; font-weight: 700; letter-spacing: 0; margin-bottom: 10px; }
body[data-page="index"] .section-intro-centered .section-kicker:after {
  content: ""; display: block; width: 32px; height: 2px; background: var(--idx-accent);
  margin: 12px auto 0;
}
body[data-page="index"] .prose { color: var(--idx-body); }

/* ヘッダー・共通CTAの差し色をindexだけ新パレットへ（ベースの--color-*は変更しない）。 */
body[data-page="index"] .brand { color: var(--idx-ink); }
body[data-page="index"] .site-header { border-bottom-color: var(--idx-border); background: rgba(255, 253, 249, 0.96); }
body[data-page="index"] .btn-nav-cta { background: var(--idx-accent); }

/* ボタン共通: v19の丸ピル型。base .btn/.btn-primary/.btn-secondary/.link-secondaryを
   index専用に上書きする（demo.html/beta.html/法的ページの.btnには影響しない）。 */
body[data-page="index"] .btn {
  border-radius: 31px;
  font-family: var(--idx-font-klee);
  font-weight: 700;
  font-size: 1.05rem;
  min-height: 60px;
  line-height: 1.3;
}
body[data-page="index"] .btn small {
  display: block;
  font-family: "Hiragino Sans", "BIZ UDPGothic", Meiryo, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0.92;
  margin-top: 3px;
}
body[data-page="index"] .btn-primary {
  background: var(--idx-accent);
  border-color: var(--idx-accent);
  box-shadow: 0 10px 20px rgba(233, 104, 49, 0.2);
}
body[data-page="index"] .btn-secondary {
  background: transparent;
  color: var(--idx-ink);
  border-color: var(--idx-ink);
}
body[data-page="index"] .link-secondary {
  color: var(--idx-ink);
  font-family: var(--idx-font-klee);
  font-weight: 700;
}
body[data-page="index"] .hero-ctas,
body[data-page="index"] .pricing-ctas { align-items: center; }
body[data-page="index"] .hero-ctas .btn,
body[data-page="index"] .pricing-ctas .btn { width: 100%; }
@media (min-width: 480px) {
  body[data-page="index"] .hero-ctas .btn-primary,
  body[data-page="index"] .pricing-ctas .btn { width: auto; min-width: 300px; }
}

/* ---------------------------------------------------------------------
   1. Hero: 全画面写真＋白文字見出し（v19最大の特徴）
--------------------------------------------------------------------- */
body[data-page="index"] .hero { padding: 0 0 40px; overflow: hidden; }
/* mainの共通padding(0 20px・全ページ共有・変更不可)を打ち消して全画面写真にする
   （v19の最大の特徴=「全画面ヒーロー写真」。width:100%だと main の内側20pxずつに
   収まってしまい実測353px幅になっていた不具合の修正）。 */
/* ゲート③(393x555)実測: clamp(420px,62vh,620px)だと主CTAの上端が画面外(y=733)に
   落ちたため、下限を340pxへ圧縮（写真visible条件の≥300pxは余裕を持って満たす）。 */
body[data-page="index"] .hero-photo { position: relative; margin: 0 -20px; height: clamp(310px, 50vh, 620px); overflow: hidden; }
body[data-page="index"] .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
body[data-page="index"] .hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24, 36, 32, 0) 38%, rgba(24, 36, 32, .4) 62%, rgba(24, 36, 32, .8) 100%);
}
body[data-page="index"] .hero-photo-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 20px 26px; max-width: 1180px; margin: 0 auto; }
body[data-page="index"] .hero-photo-text h1 {
  margin: 0; color: #fff; font-size: clamp(1.65rem, 6vw, 2.4rem); line-height: 1.35;
  text-shadow: 0 2px 10px rgba(20, 30, 26, .55);
}
body[data-page="index"] .hero-copy { max-width: 640px; margin: 0 auto; padding: 8px 20px 0; text-align: center; }
body[data-page="index"] .hero-note { font-weight: 700; color: var(--idx-ink); line-height: 1.5; font-size: 0.95rem; margin: 0 0 8px; }
/* 旧.hero-copy #hero-description{}（ID込みで詳細度が高い）を明示的に打ち消す
   （#hero-descriptionはlp.jsのapplyAngle()が参照するidなのでHTML側では維持し、
   CSS側だけ新パレットへ上書きする）。ゲート③実測に合わせ行間・余白を圧縮。 */
body[data-page="index"] #hero-description { color: var(--idx-ink); font-size: 0.95rem; line-height: 1.5; max-width: none; font-weight: 700; margin: 0 0 8px; }
body[data-page="index"] .hero-price-note { font-weight: 700; color: var(--idx-accent); font-size: 0.95rem; margin: 0 0 12px; }
body[data-page="index"] .hero-ctas { display: flex; flex-direction: column; gap: 10px; margin: 0 0 16px; }
body[data-page="index"] .hero-supplement { list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--idx-border); text-align: left; }
body[data-page="index"] .hero-supplement li { position: relative; padding: 3px 0 3px 16px; font-size: 0.875rem; color: var(--idx-body); opacity: 0.8; line-height: 1.7; }
body[data-page="index"] .hero-supplement li:before { content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--idx-body); opacity: 0.6; }

/* ---------------------------------------------------------------------
   2. Worries（悩み）: 暖色バンド＋悩み写真＋Q&Aリスト
--------------------------------------------------------------------- */
body[data-page="index"] .section-warm { background: var(--idx-paper-moss); box-shadow: 0 0 0 100vmax var(--idx-paper-moss); clip-path: inset(0 -100vmax); }
body[data-page="index"] .worries-catch { font-weight: 700; color: var(--idx-accent); font-size: 1rem; line-height: 1.6; margin: 0 0 12px; }
body[data-page="index"] .worries-lead { max-width: 640px; margin: 0 auto; color: var(--idx-body); }
body[data-page="index"] .worry-photo { max-width: 480px; margin: 0 auto 28px; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; }
body[data-page="index"] .worry-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
body[data-page="index"] .worry-qlist { max-width: 640px; margin: 0 auto; padding: 0; list-style: none; border-top: 1px solid var(--idx-border); }
body[data-page="index"] .worry-qlist li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--idx-border); text-align: left; }
body[data-page="index"] .worry-qlist .worry-q { flex: 0 0 auto; font-weight: 700; color: var(--idx-body); opacity: 0.5; line-height: 1.7; }
body[data-page="index"] .worry-qlist p { margin: 0; color: var(--idx-body); }
body[data-page="index"] .worry-turn { max-width: 640px; margin: 28px auto 0; padding: 20px 0 0; border-top: 1px solid var(--idx-border); text-align: left; }
body[data-page="index"] .worry-turn strong { display: block; font-weight: 700; color: var(--idx-ink); margin-bottom: 6px; }
body[data-page="index"] .worry-turn span { display: block; color: var(--idx-body); }

/* ---------------------------------------------------------------------
   3. Report（会話と3行メールの例）: 会話プレビュー＋レター風カード
--------------------------------------------------------------------- */
body[data-page="index"] .section-report { background: var(--idx-sage); box-shadow: 0 0 0 100vmax var(--idx-sage); clip-path: inset(0 -100vmax); }
body[data-page="index"] .report-photo { height: 220px; overflow: hidden; margin: -64px 0 32px; }
body[data-page="index"] .report-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; display: block; }
body[data-page="index"] .report-lead-tag { font-weight: 700; color: var(--idx-ink); }
body[data-page="index"] .report-grid { display: grid; gap: 24px; max-width: 640px; margin: 0 auto; }
body[data-page="index"] .report-chat { display: flex; flex-direction: column; gap: 12px; }
body[data-page="index"] .chat-bubble { max-width: 88%; }
body[data-page="index"] .chat-ai { background: var(--idx-card); border: 1px solid var(--idx-border); }
body[data-page="index"] .chat-user { align-self: flex-end; background: #FFFFFF; border: 1px solid rgba(41, 78, 67, .16); color: var(--idx-body); }
body[data-page="index"] .report-card { background: var(--idx-card); border-radius: 12px; border-top: 2px solid var(--idx-accent); padding: 20px 20px 6px; text-align: left; box-shadow: 0 12px 28px rgba(41, 78, 67, .08); }
body[data-page="index"] .report-card-label { display: block; font-size: 0.875rem; color: var(--idx-body); opacity: 0.62; margin: 0 0 10px; }
body[data-page="index"] .report-card ul { list-style: none; margin: 0; padding: 0; }
body[data-page="index"] .report-card li { padding: 12px 0; border-top: 1px solid var(--idx-border); }
body[data-page="index"] .report-card li:first-child { border-top: none; padding-top: 0; }
body[data-page="index"] .report-card strong { display: block; color: var(--idx-body); font-weight: 700; font-size: 0.95rem; }
body[data-page="index"] .report-card .report-quote { display: block; margin-top: 4px; color: var(--idx-body); opacity: 0.62; font-size: 0.875rem; }
body[data-page="index"] .report-note { max-width: 640px; margin: 24px auto 0; font-size: 0.875rem; color: var(--idx-body); opacity: 0.78; }
body[data-page="index"] .section-report .btn { margin: 24px auto 0; display: flex; }
@media (min-width: 860px) {
  body[data-page="index"] .report-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* ---------------------------------------------------------------------
   4. Compare（ビフォー/アフター）: 縦積み対比（PCは横並び）
--------------------------------------------------------------------- */
body[data-page="index"] .compare { max-width: 900px; margin: 0 auto; text-align: left; }
body[data-page="index"] .cmp-block { padding: 22px 20px 24px; }
body[data-page="index"] .cmp-before { background: #F2EDE4; border-radius: 12px; }
body[data-page="index"] .cmp-label { display: block; font-family: var(--idx-font-klee); font-weight: 600; color: #77716A; margin: 0 0 14px; }
body[data-page="index"] .cmp-list { list-style: none; margin: 0; padding: 0; }
body[data-page="index"] .cmp-list li { position: relative; padding: 8px 0 8px 22px; }
body[data-page="index"] .cmp-before .cmp-list li { color: #77716A; }
body[data-page="index"] .cmp-before .cmp-list li:before { content: "—"; position: absolute; left: 0; top: 7px; color: #77716A; font-weight: 700; }
body[data-page="index"] .cmp-after { background: var(--idx-card); border: 1px solid var(--idx-border); border-radius: 12px; overflow: hidden; padding: 0; }
body[data-page="index"] .cmp-band { background: var(--idx-ink); color: #fff; font-family: var(--idx-font-klee); font-weight: 600; padding: 14px 20px; }
body[data-page="index"] .cmp-after .cmp-list { padding: 20px 20px 22px; }
body[data-page="index"] .cmp-after .cmp-list li { color: var(--idx-body); font-weight: 700; }
body[data-page="index"] .cmp-after .cmp-list li:before {
  content: ""; position: absolute; left: 1px; top: 15px; width: 10px; height: 5px;
  border-left: 2px solid var(--idx-accent); border-bottom: 2px solid var(--idx-accent); transform: rotate(-45deg);
}
body[data-page="index"] .cmp-arrow { display: flex; justify-content: center; margin: 20px 0; }
body[data-page="index"] .cmp-arrow:before {
  content: ""; display: block; width: 0; height: 0;
  border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 20px solid var(--idx-accent);
}
body[data-page="index"] .compare-note { max-width: 900px; margin: 32px auto 0; padding-top: 20px; border-top: 1px solid var(--idx-border); text-align: left; }
body[data-page="index"] .compare-note strong { display: block; font-weight: 700; color: var(--idx-ink); margin-bottom: 6px; }
body[data-page="index"] .compare-note span { display: block; color: var(--idx-body); }
@media (min-width: 860px) {
  body[data-page="index"] .compare { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; }
  body[data-page="index"] .cmp-arrow { margin: 0 20px; align-self: center; }
  body[data-page="index"] .cmp-arrow:before {
    border-left: 20px solid var(--idx-accent); border-top: 14px solid transparent;
    border-bottom: 14px solid transparent; border-right: none;
  }
}

/* ---------------------------------------------------------------------
   5. Flow（3STEP写真カード＋はじめる前の条件）
--------------------------------------------------------------------- */
body[data-page="index"] .flow-photo-list { display: flex; flex-direction: column; gap: 32px; margin: 0 0 0; padding: 0; list-style: none; max-width: 640px; margin-left: auto; margin-right: auto; text-align: left; }
body[data-page="index"] .flow-photo { width: 100%; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; margin-bottom: 14px; }
body[data-page="index"] .flow-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
body[data-page="index"] .flow-photo-num { display: block; font-weight: 700; font-size: 0.875rem; letter-spacing: 0.06em; color: var(--idx-ink); opacity: 0.7; margin: 0 0 6px; }
body[data-page="index"] .flow-photo-item h3 { margin: 0 0 4px; }
body[data-page="index"] .flow-photo-item p { margin: 0; opacity: 0.85; font-size: 0.9rem; }
body[data-page="index"] .condlist { max-width: 640px; margin: 32px auto 0; padding: 0; list-style: none; border-top: 1px solid var(--idx-border); text-align: left; }
body[data-page="index"] .condlist li { display: flex; gap: 13px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--idx-border); }
body[data-page="index"] .condlist .cond-ck { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 4px; position: relative; }
body[data-page="index"] .condlist .cond-ck:before {
  content: ""; position: absolute; left: 1px; top: 6px; width: 10px; height: 5px;
  border-left: 2px solid var(--idx-ink); border-bottom: 2px solid var(--idx-ink); transform: rotate(-45deg);
}
body[data-page="index"] .condlist b { display: block; font-weight: 700; color: var(--idx-ink); }
body[data-page="index"] .condlist span { display: block; font-size: 0.9rem; color: var(--idx-body); margin-top: 3px; }
body[data-page="index"] .flow-agree { max-width: 640px; margin: 24px auto 0; padding-top: 20px; border-top: 1px solid var(--idx-border); text-align: left; font-size: 0.9rem; color: var(--idx-body); }
@media (min-width: 720px) {
  body[data-page="index"] .flow-photo-list { flex-direction: row; gap: 24px; max-width: none; }
  body[data-page="index"] .flow-photo-item { flex: 1 1 0; }
}

/* ---------------------------------------------------------------------
   6. Fit（できる/できない）
--------------------------------------------------------------------- */
body[data-page="index"] .fit-card h3 { margin-bottom: 12px; }
body[data-page="index"] .fit-note { max-width: 720px; margin: 20px auto 0; text-align: left; font-size: 0.9rem; color: var(--idx-body); opacity: 0.85; }

/* ---------------------------------------------------------------------
   7. Pricing
--------------------------------------------------------------------- */
body[data-page="index"] #pricing { background: var(--idx-paper); box-shadow: 0 0 0 100vmax var(--idx-paper); }
body[data-page="index"] .pricing-card { max-width: 560px; border: 1px solid var(--idx-border); border-radius: 16px; background: var(--idx-card); box-shadow: none; padding: 28px 22px; text-align: left; }
body[data-page="index"] .pricing-amount {
  font-family: var(--idx-font-klee); font-weight: 700; color: var(--idx-ink); font-size: 3rem; line-height: 1.1;
  letter-spacing: -0.02em; margin: 0; font-variant-numeric: tabular-nums;
}
body[data-page="index"] .pricing-amount small { font-family: "Hiragino Sans", Meiryo, sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-left: 6px; color: var(--idx-body); }
body[data-page="index"] .pricing-includes { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--idx-border); max-width: none; }
body[data-page="index"] .pricing-includes li { font-size: 0.95rem; padding: 12px 0 12px 22px; position: relative; border-bottom: 1px solid var(--idx-border); color: var(--idx-body); }
body[data-page="index"] .pricing-includes li:before {
  content: ""; position: absolute; left: 2px; top: 19px; width: 9px; height: 4px;
  border-left: 1.8px solid var(--idx-ink); border-bottom: 1.8px solid var(--idx-ink); transform: rotate(-45deg);
}
body[data-page="index"] .pricing-nofee { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--idx-border); }
body[data-page="index"] .pricing-nofee b { display: block; color: var(--idx-ink); margin: 0 0 8px; }
body[data-page="index"] .pricing-nofee .pricing-note { margin: 4px 0; font-size: 0.875rem; color: var(--idx-body); }
body[data-page="index"] .pricing-ctas { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
body[data-page="index"] .pricing-card .warning-card { margin: 20px 0 0; max-width: none; }

/* ---------------------------------------------------------------------
   8. FAQ: 一続きのアコーディオン
--------------------------------------------------------------------- */
body[data-page="index"] .faq-list { max-width: 720px; margin: 0 auto; display: block; border-top: 1px solid var(--idx-border); }
body[data-page="index"] .faq-item { border: none; border-bottom: 1px solid var(--idx-border); border-radius: 0; background: transparent; max-width: none; padding: 0; }
body[data-page="index"] .faq-item summary { padding: 16px 4px; font-family: "Hiragino Sans", Meiryo, sans-serif; font-weight: 600; font-size: 1rem; color: var(--idx-ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
body[data-page="index"] .faq-item summary:after { content: "＋"; color: var(--idx-ink); font-weight: 400; font-size: 1.3rem; flex: 0 0 auto; }
body[data-page="index"] .faq-item[open] summary:after { content: "−"; }
body[data-page="index"] .faq-item p { padding: 0 4px 20px; margin: 0; color: var(--idx-body); font-size: 0.92rem; line-height: 1.85; }
body[data-page="index"] .faq-item p b { color: var(--idx-ink); }
body[data-page="index"] .telno { display: inline-block; font-family: "SFMono-Regular", Consolas, Menlo, monospace; font-size: 0.875rem; color: var(--idx-ink); font-weight: 700; background: var(--idx-sage); border-radius: 6px; padding: 5px 10px; margin-top: 8px; }

/* ---------------------------------------------------------------------
   9. Background + Final CTA
--------------------------------------------------------------------- */
body[data-page="index"] #background { background: var(--idx-paper); }
body[data-page="index"] .story-grid { max-width: 900px; margin: 0 auto; }
body[data-page="index"] .story-photo { width: 100%; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; margin-bottom: 24px; }
body[data-page="index"] .story-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
body[data-page="index"] .story-copy { text-align: left; }
body[data-page="index"] .story-copy .section-kicker:after { margin-left: 0; }
body[data-page="index"] .story-copy h2 { text-align: left; }
body[data-page="index"] .story-copy .prose { font-size: 0.95rem; max-width: none; }
body[data-page="index"] .story-note { font-size: 0.875rem; color: var(--idx-body); opacity: 0.78; }
@media (min-width: 860px) {
  body[data-page="index"] .story-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: center; }
  body[data-page="index"] .story-photo { margin: 0; }
}

body[data-page="index"] .section-final { background: var(--idx-ink); }
body[data-page="index"] .section-final .final-cta-inner { max-width: 560px; margin: 0 auto; text-align: center; }
body[data-page="index"] .section-final h2 { color: #fff; }
body[data-page="index"] .section-final .hero-note { color: rgba(255, 255, 255, 0.85); }
body[data-page="index"] .section-final .final-ctas { margin-top: 24px; }
body[data-page="index"] .section-final .link-secondary { color: #fff; }
body[data-page="index"] .section-final .final-supplement { border-top-color: rgba(255, 255, 255, 0.25); }
body[data-page="index"] .section-final .final-supplement li { color: rgba(255, 255, 255, 0.78); }
body[data-page="index"] .section-final .final-supplement li:before { background: rgba(255, 255, 255, 0.6); }
body[data-page="index"] .section-final .warning-card { margin: 22px auto 0; max-width: 480px; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.25); }
body[data-page="index"] .section-final .warning-card p,
body[data-page="index"] .section-final .warning-card .icon-warning { color: rgba(255, 255, 255, 0.85); }

@media (max-width: 719px) {
  body[data-page="index"] .section { padding: 52px 0; }
  body[data-page="index"] .site-nav-links { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="index"] * { transition: none !important; animation: none !important; }
}

/* ---------------------------------------------------------------------
   Phase 3: 体験後アンケート（/survey）。**このページだけのスコープ**。
   承認済みのLP(index)や既存の /demo /beta には影響させない。
   読みやすさの設定は index で採用済みのもの（本文17px・広い画面で18px）に揃える。
   電話を受けた高齢のご家族ではなく申込者本人（50〜60代）が読む画面だが、
   小さい文字は読まれずに離脱するため、既定の16pxのままにしない。
   --------------------------------------------------------------------- */
body[data-page="survey"] {
  font-size: 17px;
}
@media (min-width: 768px) {
  body[data-page="survey"] { font-size: 18px; }
}
body[data-page="survey"] .note {
  font-size: 0.9375rem;
  color: #4A5560;
}
body[data-page="survey"] label {
  font-weight: 600;
}
/* 設問と設問の間を空ける（続けて答えるので、どこまで答えたか分かるように） */
body[data-page="survey"] .field {
  margin-bottom: 22px;
}
/* 有料先行の申込みは、アンケートのお礼のあとに続く別のかたまりだと分かるようにする */
body[data-page="survey"] #paid-beta-wrap {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #DDD7CC;
  text-align: left;
}
/* 画面上部に固定ヘッダーがあるので、scrollIntoViewの着地点をその分だけ下げる
   （下げないと見出しがヘッダーの裏に隠れる・2026-08-05 実ブラウザで実測） */
body[data-page="survey"] #survey-form-complete,
body[data-page="survey"] #paid-beta-complete,
body[data-page="survey"] #paid-beta-wrap {
  scroll-margin-top: calc(var(--header-height) + 16px);
}
body[data-page="survey"] #paid-beta-wrap h2 {
  font-size: 1.15rem;
  margin: 0 0 10px;
}
/* チェックボックスと文章を横に並べる。
   **文章は必ず1つの <span> にまとめること。**中の <a> が直接の子だと、
   リンクまでflexアイテムになって1語ずつ縦積みになる（2026-08-05 実ブラウザで実測）。 */
body[data-page="survey"] .field-check label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.6;
}
body[data-page="survey"] .field-check label > span {
  flex: 1 1 auto;
  min-width: 0;
}
body[data-page="survey"] .field-check input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

/* 入力欄の下に出る補足文（希望日時の説明など）。
   ラベルより小さく、本文より弱い色にして、入力の邪魔をしない。 */
/* font-sizeは0.875rem(14px)を下回らないこと。
   14px未満は「文字が読みにくい」というYUTAさんの指摘への対策で、
   tests/test_lp.py::test_lpcss_has_no_sub_14px_annotation_font_sizes が見張っている。 */
.field-note {
  margin: 6px 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #52606D;
}
.field-note strong { color: #2F5D50; }

/* ---------------------------------------------------------------------
   問い合わせ先（/demo の最下部）
   申し込み前に「誰がやっているのか」が分かるようにする。CTAより前に出て
   目立たないよう、枠は薄く・見出しは本文と同じ大きさにする。
   font-sizeは0.875rem(14px)を下回らないこと（読みにくさ対策のガードあり）。
--------------------------------------------------------------------- */
.contact-block {
  max-width: 640px;
  margin: 32px auto 8px;
  padding: 20px 22px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.contact-block h2 {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 14px;
  color: var(--color-navy);
}

.contact-list {
  display: grid;
  grid-template-columns: 5em 1fr;
  gap: 8px 14px;
  margin: 0;
  font-size: 0.9375rem;
}

.contact-list dt {
  color: #52606D;
}

.contact-list dd {
  margin: 0;
  word-break: break-all;
}

.contact-list a {
  color: var(--color-navy);
  text-decoration: underline;
}
