/* ============================================================
   おかねのそなえば — Web Site Styles
   くらしとお金の相談所 / OKコーポレーション株式会社
   Design: トラストブルー（ロゴ準拠）× 温かなアンバー × クリーム
   ============================================================ */

/* ---- Reset & Tokens ------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand blue（ロゴと同一値で統一） */
  --blue-900: #0D47A1;
  --blue-800: #1565C0;
  --blue-700: #1E74D8;
  --blue-100: #DBEAFB;
  --blue-50:  #EEF5FE;

  /* Warm accent（そなえ＝価値・あたたかさ。青の補色で信頼と親しみを両立） */
  --amber-600: #D9861A;
  --amber-500: #F0A431;
  --amber-200: #F7D6A0;
  --amber-50:  #FCF2DF;

  /* Warm neutrals */
  --cream:   #FBF6EE;   /* セクション背景 */
  --cream-2: #F4ECDD;   /* やや濃いクリーム */
  --ink:     #22303A;   /* 本文・見出し */
  --ink-2:   #3C4A54;
  --muted:   #6B7B85;   /* 補足テキスト */
  --line:    #E8DFCF;   /* 温かいヘアライン */
  --white:   #FFFFFF;

  /* 本文は端末標準の日本語フォントを使う（Webフォントを読まない＝表示が速い）。
     Noto Sans JP はローカルに入っている端末（Android等）でのみ使われる */
  --font-body:  -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN',
                'Noto Sans JP', 'Yu Gothic UI', 'Yu Gothic', 'Meiryo', sans-serif;
  /* 見出しのみ Webフォント（Zen Maru Gothic 700）。ブランドの丸ゴシック感を担う */
  --font-head:  'Zen Maru Gothic', 'M PLUS Rounded 1c', 'Hiragino Maru Gothic ProN', sans-serif;

  --maxw: 1120px;
  --nav-h: 72px;
  --radius: 18px;
  --radius-lg: 26px;

  --shadow-sm: 0 2px 12px rgba(31, 45, 54, .06);
  --shadow-md: 0 14px 38px rgba(31, 45, 54, .10);
  --shadow-blue: 0 20px 54px rgba(13, 71, 161, .16);
  --shadow-amber: 0 14px 34px rgba(217, 134, 26, .22);
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--font-body); color: var(--ink-2);
  line-height: 1.85; font-size: 16px; background: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue-800); text-decoration: none; }

:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 3px; border-radius: 4px; }

/* キーボード操作でナビを飛ばして本文へ（Tabで初めて出現） */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--blue-900); color: var(--white);
  font-weight: 700; font-size: 15px;
  padding: 12px 20px; border-radius: 0 0 12px 12px;
  transition: top .18s ease;
}
.skip-link:focus { top: 0; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sp-only { display: none; }

/* ---- Section titles（アンバーの"そなえ"下線を共通の signature に） --- */
.section-title {
  font-family: var(--font-head); font-size: clamp(24px, 3.4vw, 33px);
  font-weight: 700; color: var(--ink); text-align: center; letter-spacing: .02em;
  margin-bottom: 14px; position: relative; padding-bottom: 18px;
}
.section-title::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 46px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--amber-500), var(--amber-600));
}
.section-sub { text-align: center; color: var(--muted); margin-bottom: 52px; font-size: 15px; }

/* ---- Buttons ------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 30px; border-radius: 999px; font-weight: 700; font-size: 15px;
  font-family: var(--font-head); letter-spacing: .02em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  cursor: pointer; border: 2px solid transparent; line-height: 1.4;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--amber-500); color: #4a2c00; border-color: var(--amber-500); box-shadow: var(--shadow-amber); }
.btn-primary:hover { background: var(--amber-600); border-color: var(--amber-600); color: #3a2200; }
.btn-outline { background: var(--white); color: var(--blue-800); border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: var(--blue-800); background: var(--blue-50); }
.btn-white { background: var(--white); color: var(--blue-800); border-color: var(--white); box-shadow: var(--shadow-md); }
.btn-white:hover { background: var(--blue-50); }
.btn-large { padding: 17px 38px; font-size: 17px; }

/* ---- Navigation ---------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 24px rgba(31, 45, 54, .07); }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo img { height: 42px; }
.nav-menu { display: flex; align-items: center; gap: 26px; }
.nav-menu a { font-size: 14px; font-weight: 700; font-family: var(--font-head); color: var(--ink); transition: color .2s; }
.nav-menu a:hover { color: var(--blue-800); }
.nav-cta {
  background: var(--blue-800); color: var(--white) !important; padding: 9px 22px;
  border-radius: 999px; transition: background .2s, transform .18s;
}
.nav-cta:hover { background: var(--blue-900); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero ---------------------------------------------- */
.hero {
  position: relative; padding: calc(var(--nav-h) + 72px) 0 120px;
  background:
    radial-gradient(130% 80% at 88% -10%, var(--amber-50) 0%, rgba(252, 242, 223, 0) 46%),
    linear-gradient(180deg, var(--blue-50) 0%, #F6FAFF 38%, var(--cream) 100%);
  overflow: hidden;
}
.hero-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 400px; gap: 56px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--blue-800); font-family: var(--font-head);
  letter-spacing: .12em; background: var(--white); border: 1px solid var(--blue-100);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 22px; box-shadow: var(--shadow-sm);
}
.hero-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber-500); }
.hero-title {
  font-family: var(--font-head); font-size: clamp(30px, 5vw, 47px); font-weight: 700;
  color: var(--ink); line-height: 1.36; margin-bottom: 22px; letter-spacing: .01em;
}
.hero-title .accent {
  background: linear-gradient(transparent 62%, var(--amber-200) 62%);
  padding: 0 .06em;
}
.hero-desc { color: var(--ink-2); font-size: 15.5px; line-height: 2.05; margin-bottom: 28px; }
.hero-badges { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--blue-900);
  background: var(--white); border: 1px solid var(--blue-100); box-shadow: var(--shadow-sm);
}
.badge::before { content: "✓"; color: var(--amber-600); font-weight: 900; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero card（"はじめての方へ" の温かい招待カード） */
.hero-visual { position: relative; }
.hero-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 38px 34px;
  box-shadow: var(--shadow-blue); text-align: center; position: relative;
  border: 1px solid rgba(255, 255, 255, .8);
}
.hero-card::before {
  content: "はじめての方へ"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--blue-800); color: #fff; font-size: 12px; font-weight: 700; font-family: var(--font-head);
  letter-spacing: .08em; padding: 5px 18px; border-radius: 999px; white-space: nowrap;
}
.hero-card-icon { margin: 8px 0 18px; }
.hero-card-icon img { width: 78px; height: 78px; filter: drop-shadow(0 8px 16px rgba(13, 71, 161, .18)); }
.hero-card-lead { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 22px; }
.hero-card-stats { display: flex; justify-content: center; gap: 14px; }
.stat { flex: 1; background: var(--cream); border-radius: 14px; padding: 14px 6px; }
.stat-num { display: block; font-size: 30px; font-weight: 700; color: var(--blue-800); font-family: var(--font-head); line-height: 1.1; }
.stat-label { font-size: 11px; color: var(--muted); }

/* Hero下部の穏やかな稜線（守り＝盾／和歌山の山なみ） */
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; line-height: 0; pointer-events: none; }
.hero-wave svg { width: 100%; height: 90px; display: block; }

/* ---- Reassurance band ---------------------------------- */
.reassurance { padding: 30px 0; background: var(--amber-50); border-bottom: 1px solid var(--cream-2); }
.reassurance-grid { display: flex; justify-content: center; gap: 52px; flex-wrap: wrap; }
.reassurance-item { display: flex; align-items: center; gap: 13px; }
.reassurance-item svg { flex-shrink: 0; }
.reassurance-item div { display: flex; flex-direction: column; }
.reassurance-item strong { font-size: 15px; color: var(--ink); font-family: var(--font-head); }
.reassurance-item span { font-size: 12px; color: var(--muted); }

/* ---- Lifestage ----------------------------------------- */
.lifestage { padding: 96px 0; background: var(--white); }
.lifestage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ls-card {
  background: var(--cream); padding: 30px 26px; border-radius: var(--radius);
  border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
}
.ls-card:hover { transform: translateY(-4px); border-color: var(--amber-200); box-shadow: var(--shadow-md); }
.ls-icon { margin-bottom: 14px; }
.ls-card h3 { font-family: var(--font-head); font-size: 17.5px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.ls-card p { font-size: 14px; color: var(--ink-2); line-height: 1.85; margin-bottom: 14px; }
.ls-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.ls-tags li { font-size: 11px; color: var(--amber-600); background: var(--amber-50); padding: 4px 11px; border-radius: 999px; font-weight: 700; }

/* ---- Features ------------------------------------------ */
.features { padding: 92px 0; background: var(--cream); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { text-align: center; padding: 34px 24px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.feature-icon { margin-bottom: 16px; }
.feature-card h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.feature-card p { font-size: 14px; color: var(--ink-2); line-height: 1.85; }

/* ---- Services（並列カテゴリなので番号でなく分類キッカー） -------- */
.services { padding: 96px 0; background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: var(--cream); padding: 32px 28px; border-radius: var(--radius);
  border: 1px solid var(--line); transition: transform .2s, box-shadow .2s;
  border-top: 4px solid var(--blue-800);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-kicker {
  display: inline-block; font-size: 12px; font-weight: 700; font-family: var(--font-head);
  color: var(--blue-800); background: var(--blue-50); border-radius: 999px;
  padding: 4px 13px; margin-bottom: 14px; letter-spacing: .05em;
}
.service-card h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--ink-2); line-height: 1.85; }

/* ---- Stance（相談スタイル） ------------------------------ */
.stance { padding: 96px 0; background: var(--cream); }
.stance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stance-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.stance-card:hover { border-color: var(--blue-100); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.stance-num { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--amber-600); letter-spacing: .14em; }
.stance-card h3 { font-family: var(--font-head); font-size: 18px; color: var(--ink); margin: 8px 0 10px; }
.stance-card p { font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }
.stance-note {
  margin-top: 26px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 30px;
}
.stance-note p { font-size: 15px; line-height: 1.95; color: var(--ink-2); }
.stance-note strong { font-family: var(--font-head); color: var(--ink); }

/* ---- Voices -------------------------------------------- */
.voices { padding: 96px 0; background: var(--white); }
.voices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.voice-card { background: var(--cream); padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); position: relative; }
.voice-card::before {
  content: "\201C"; position: absolute; top: 8px; right: 22px;
  font-family: Georgia, serif; font-size: 64px; color: var(--amber-200); line-height: 1;
}
.voice-stars { color: var(--amber-500); font-size: 17px; margin-bottom: 12px; letter-spacing: 2px; }
.voice-text { font-size: 14px; color: var(--ink-2); line-height: 1.95; margin-bottom: 22px; }
.voice-author { display: flex; align-items: center; gap: 12px; }
.voice-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--blue-100); color: var(--blue-800); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 16px; flex-shrink: 0; }
.voice-author strong { display: block; font-size: 14px; color: var(--ink); }
.voice-author span { font-size: 12px; color: var(--muted); }
.voices-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 26px; }

/* ---- Flow（本物の順序＝番号を維持） --------------------- */
.flow { padding: 96px 0; background: var(--cream); }
.flow-detailed { max-width: 720px; margin: 0 auto; position: relative; }
.flow-d-step { display: flex; gap: 26px; padding: 26px 0; position: relative; }
.flow-d-step::before {
  content: ""; position: absolute; left: 23px; top: 60px; bottom: -26px; width: 2px;
  background: linear-gradient(var(--blue-100), var(--amber-200)); z-index: 0;
}
.flow-d-step:last-child::before { display: none; }
.flow-d-num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--blue-800);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 20px; font-weight: 700; flex-shrink: 0;
  z-index: 1; box-shadow: 0 6px 16px rgba(13, 71, 161, .22);
}
.flow-d-content { background: var(--white); border-radius: var(--radius); padding: 20px 24px; border: 1px solid var(--line); flex: 1; box-shadow: var(--shadow-sm); }
.flow-d-content h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.flow-d-content p { font-size: 14px; color: var(--ink-2); line-height: 1.85; margin-bottom: 10px; }
.flow-d-content p:last-child { margin-bottom: 0; }
.flow-d-meta { font-size: 12px; color: var(--amber-600); background: var(--amber-50); padding: 5px 13px; border-radius: 999px; display: inline-block; font-weight: 700; }

/* ---- FAQ ----------------------------------------------- */
.faq { padding: 96px 0; background: var(--white); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; background: var(--cream); overflow: hidden; transition: box-shadow .2s; }
.faq-item[open] { box-shadow: var(--shadow-sm); background: var(--white); }
.faq-item summary { padding: 20px 22px; font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 26px; color: var(--amber-600); font-weight: 400; flex-shrink: 0; transition: transform .2s; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 22px 20px; font-size: 14px; color: var(--ink-2); line-height: 1.95; }

/* ---- About --------------------------------------------- */
.about { padding: 96px 0; background: var(--blue-50); }
.about-content { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
.about-table { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.about-table table { width: 100%; border-collapse: collapse; }
.about-table th, .about-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: 14px; text-align: left; vertical-align: top; }
.about-table tr:last-child th, .about-table tr:last-child td { border-bottom: none; }
.about-table th { width: 120px; font-family: var(--font-head); font-weight: 700; color: var(--ink); background: var(--cream); white-space: nowrap; }
.about-table td { color: var(--ink-2); }
.about-table a { color: var(--blue-800); font-weight: 700; }
.about-table .note-small { display: block; margin-top: 5px; font-size: 12.5px; color: var(--muted); line-height: 1.75; }
.about-access { margin-top: 0; }
.access-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.about-access-text { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* ---- CTA ----------------------------------------------- */
.cta { padding: 92px 0; background: linear-gradient(135deg, var(--blue-800), var(--blue-900)); text-align: center; color: var(--white); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; top: -80px; right: -60px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 164, 49, .28), transparent 68%); }
.cta > .container { position: relative; z-index: 1; }
.cta h2 { font-family: var(--font-head); font-size: clamp(24px, 3.6vw, 32px); margin-bottom: 14px; }
.cta > .container > p { font-size: 15px; opacity: .9; margin-bottom: 34px; line-height: 2; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-hours { font-size: 13px; opacity: .8; margin-top: 22px; }

/* ---- Footer -------------------------------------------- */
.footer { padding: 54px 0 26px; background: var(--ink); color: rgba(255, 255, 255, .72); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 44px; margin-bottom: 34px; }
/* フッターは logo-horizontal-white.svg（白版）を使う。
   filter で白く潰すと家のマークまで消えるため、色反転はSVG側で持たせている。
   height はCSSで明示する（グローバルの img{height:auto} がHTMLのheight属性に勝つため） */
.footer-brand img { height: 40px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; line-height: 1.9; }
.footer-brand a { color: rgba(255, 255, 255, .85); }
.footer-links ul { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: rgba(255, 255, 255, .72); font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: var(--amber-500); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; }
.footer-bottom p { font-size: 12px; text-align: center; opacity: .55; }
.footer-policy { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; list-style: none; margin: 0 0 14px; padding: 0; }
.footer-policy a { font-size: 13px; color: rgba(255, 255, 255, .72); transition: color .2s; }
.footer-policy a:hover { color: var(--amber-500); }

/* ---- Scroll reveal（JSで .reveal を付与。JS無効でも表示される） --- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---- Responsive ---------------------------------------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; width: 100%; }
  .stance-grid { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .sp-only { display: inline; }
  .nav-toggle { display: block; }
  .nav-menu {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 22px 24px; gap: 18px;
    border-bottom: 1px solid var(--line); box-shadow: 0 10px 26px rgba(0, 0, 0, .1);
  }
  .nav-menu.active { display: flex; }
  .nav-cta { text-align: center; }

  .hero { padding: calc(var(--nav-h) + 48px) 0 90px; }
  .hero-card { padding: 30px 24px; }

  .reassurance-grid { gap: 22px 30px; }

  .lifestage, .features, .services, .stance, .voices, .flow, .faq, .about { padding: 62px 0; }
  .lifestage-grid, .features-grid, .services-grid, .voices-grid { grid-template-columns: 1fr; }

  .cta { padding: 62px 0; }
  .cta-actions { flex-direction: column; align-items: center; }
  .btn-large { width: 100%; max-width: 340px; }

  .footer-inner { flex-direction: column; gap: 26px; }
  .footer-links ul { flex-direction: row; flex-wrap: wrap; gap: 12px 22px; }

  .section-sub { margin-bottom: 40px; }
}

/* ---- Reduced motion ------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .ls-card:hover, .service-card:hover, .feature-card:hover { transform: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ===== 下層ページ：規約・方針（legal） ===================== */
.page-head {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: calc(var(--nav-h) + 46px) 0 38px;
}
.legal-container { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.page-head .crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.page-head .crumbs a { color: var(--muted); }
.page-head .crumbs a:hover { color: var(--blue-800); }
.page-head h1 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.4vw, 34px);
  color: var(--ink); margin: 0;
}
.page-head .page-sub { color: var(--muted); font-size: 14px; margin-top: 10px; }

.legal { padding: 46px 0 76px; }
.legal-lead { color: var(--ink-2); line-height: 1.95; margin: 0 0 34px; }
.legal h2 {
  font-family: var(--font-head); font-size: 19px; color: var(--blue-800);
  margin: 40px 0 14px; padding-left: 14px; border-left: 4px solid var(--amber-500);
}
.legal h3 { font-size: 16px; color: var(--ink); margin: 22px 0 8px; }
.legal p { color: var(--ink-2); line-height: 1.95; margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 1.5em; color: var(--ink-2); line-height: 1.95; }
.legal li { margin-bottom: 7px; }
.legal-note {
  background: var(--blue-50); border: 1px solid var(--blue-100);
  border-radius: var(--radius); padding: 16px 20px; font-size: 14px; color: var(--ink-2); line-height: 1.85;
}
.legal-contact {
  margin-top: 30px; background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px; line-height: 1.9; color: var(--ink-2);
}
.legal-contact strong { font-family: var(--font-head); color: var(--ink); }
.legal-meta {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted); line-height: 1.9;
}
.legal-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 40px; font-family: var(--font-head); font-weight: 700; color: var(--blue-800); }
.legal-back:hover { color: var(--blue-900); }

/* ---- 404 ------------------------------------------------- */
.legal .nf-code {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(58px, 11vw, 88px); line-height: 1;
  color: var(--blue-100); letter-spacing: .04em;
  margin: 0 0 20px;
}
.nf-links { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 10px; }
.nf-links li {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nf-links li:hover { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.nf-links a { font-family: var(--font-head); font-weight: 700; color: var(--blue-800); }
.nf-links span { font-size: 14px; color: var(--muted); }
