/* ==========================================================
   fukuhara-gyosei.site 共通スタイル v1.0（2026-10-01）
   背景 温かいオフホワイト #F7F4EE ／ アクセント 藍 #2E4A6E（希少に）
   見出し Zen Maru Gothic（2026-10-01 明朝から変更：相談しやすい雰囲気に） ／ UI・本文 Noto Sans JP
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@500;700;900&family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
  --bg: #F7F4EE;
  --bg-deep: #EFEAE1;
  --card: #FFFDF9;
  --ink: #23262B;
  --text: #3A3C40;
  --sub: #6E6F72;
  --acc: #2E4A6E;
  --acc-press: #22385A;
  --acc-soft: #E6EBF1;
  --gold: #A88A55;
  --line: rgba(35, 38, 43, 0.12);
  --line-soft: rgba(35, 38, 43, 0.07);
  --shadow: 0 2px 22px rgba(35, 38, 43, 0.06);
  --radius: 14px;
  --font-mincho: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-body: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--acc); text-decoration: none; }
a:hover { color: var(--acc-press); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 780px; }

h1, h2, h3, h4 { font-family: var(--font-mincho); color: var(--ink); line-height: 1.55; font-weight: 700; }

/* ---------- 見出しラベル ---------- */
.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: 0.24em; color: var(--acc); text-transform: uppercase;
  margin-bottom: 14px;
}
.label::before { content: ""; width: 28px; height: 1px; background: var(--acc); }

.section { padding: 104px 0; }
.section--tint { background: var(--bg-deep); }
.section__head { margin-bottom: 52px; }
.section__head--center { text-align: center; }
.section__head--center .label { justify-content: center; }
.section__title { font-size: clamp(24px, 3.4vw, 34px); letter-spacing: 0.06em; text-wrap: balance; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
.section__lead { margin-top: 18px; color: var(--sub); max-width: 640px; }
.section__head--center .section__lead { margin-left: auto; margin-right: auto; }

/* ---------- ヘッダー ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header__inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.header__logo { display: flex; flex-direction: column; line-height: 1.25; color: var(--ink); }
.header__logo:hover { color: var(--ink); }
.header__logo small { font-size: 10.5px; letter-spacing: 0.2em; color: var(--sub); }
.header__logo span { font-family: var(--font-mincho); font-size: 19px; font-weight: 700; letter-spacing: 0.1em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--text); font-size: 14px; font-weight: 500; letter-spacing: 0.06em; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--acc); }
.nav .btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--ink); transition: .3s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 28px; border-radius: 999px;
  background: var(--acc); color: #fff; font-size: 14.5px; font-weight: 700; letter-spacing: 0.08em;
  border: 1px solid var(--acc); transition: background .25s, color .25s, transform .25s;
}
.btn:hover { background: var(--acc-press); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--acc); }
.btn--ghost:hover { background: var(--acc); color: #fff; }
.btn--sm { padding: 9px 20px; font-size: 13px; }
.btn .arrow { display: inline-block; width: 14px; height: 1px; background: currentColor; position: relative; }
.btn .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }

/* ---------- ヒーロー ---------- */
.hero { position: relative; padding: 120px 0 112px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -120px; top: -80px; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 74, 110, 0.07), rgba(46, 74, 110, 0) 68%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 56px; align-items: center; }
.hero__eyebrow { font-size: 13px; letter-spacing: 0.2em; color: var(--sub); margin-bottom: 26px; }
.hero__title { font-size: clamp(32px, 5vw, 54px); line-height: 1.6; letter-spacing: 0.08em; font-weight: 700; }
.hero__title em { font-style: normal; background: linear-gradient(transparent 68%, var(--acc-soft) 68%); }
.hero__lead { margin-top: 30px; font-size: 16.5px; max-width: 520px; }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__card {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 34px 30px;
}
.hero__card h2 { font-size: 15px; letter-spacing: 0.12em; color: var(--sub); font-family: var(--font-body); font-weight: 700; margin-bottom: 14px; }
.hero__card ul { list-style: none; }
.hero__card li { padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; display: flex; gap: 12px; align-items: baseline; }
.hero__card li:last-child { border-bottom: 0; }
.hero__card li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); transform: translateY(-2px); }
.vertical-note {
  position: absolute; right: 24px; top: 120px; writing-mode: vertical-rl;
  font-family: var(--font-mincho); font-size: 13px; letter-spacing: 0.5em; color: var(--sub); opacity: .7;
}

/* ---------- お悩みチップ ---------- */
.worries { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.worry {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: 999px;
  padding: 11px 22px; font-size: 14.5px; color: var(--text);
}

/* ---------- 業務カード ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 30px 28px 26px; color: var(--text); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 10px 34px rgba(35, 38, 43, 0.09); border-color: rgba(46, 74, 110, .25); color: var(--text); }
.service-card__no { font-family: var(--font-mincho); font-size: 13px; color: var(--gold); letter-spacing: 0.14em; }
.service-card h3 { font-size: 20px; margin: 8px 0 10px; letter-spacing: 0.05em; }
.service-card p { font-size: 14px; color: var(--sub); line-height: 1.85; flex: 1; }
.service-card__more { margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--acc); letter-spacing: 0.08em; display: inline-flex; align-items: center; gap: 10px; }
.service-card__more .arrow { display: inline-block; width: 18px; height: 1px; background: currentColor; position: relative; transition: width .3s; }
.service-card__more .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.service-card:hover .arrow { width: 26px; }

/* ---------- 強み（3つ） ---------- */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.reason { padding: 40px 32px 8px 0; }
.reason + .reason { padding-left: 32px; border-left: 1px solid var(--line); }
.reason__no { font-family: var(--font-mincho); font-size: 34px; letter-spacing: 0.06em; color: var(--acc); line-height: 1; opacity: .85; }
.reason h3 { font-size: 19px; margin: 18px 0 12px; }
.reason p { font-size: 14.5px; color: var(--text); }

/* ---------- 開業ガイド帯 ---------- */
.guide-band { background: var(--acc); color: #E9EEF4; border-radius: 22px; padding: 64px 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.guide-band .label { color: #C9D4E2; }
.guide-band .label::before { background: #C9D4E2; }
.guide-band h2 { color: #fff; font-size: clamp(24px, 3vw, 31px); letter-spacing: 0.06em; }
.guide-band p { margin-top: 16px; font-size: 15px; }
.guide-band .btn { background: #fff; color: var(--acc); border-color: #fff; margin-top: 30px; }
.guide-band .btn:hover { background: var(--bg); }
.guide-list { list-style: none; counter-reset: g; }
.guide-list li { counter-increment: g; display: flex; gap: 18px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.guide-list li:last-child { border-bottom: 0; }
.guide-list li::before { content: counter(g, decimal-leading-zero); font-family: var(--font-mincho); font-size: 14px; color: #C9D4E2; }
.guide-list a { color: #fff; font-size: 15px; }
.guide-list a:hover { color: #C9D4E2; }

/* ---------- 代表あいさつ ---------- */
.greeting { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.greeting__name { font-family: var(--font-mincho); font-size: 26px; color: var(--ink); letter-spacing: 0.14em; margin-top: 6px; }
.greeting__kana { font-size: 12px; letter-spacing: 0.26em; color: var(--sub); }
.greeting__role { margin-top: 18px; font-size: 13.5px; color: var(--sub); line-height: 2; }
.greeting__body p + p { margin-top: 1.2em; }
.greeting__body .btn { margin-top: 30px; }
.quals { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.qual { font-size: 12.5px; padding: 5px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: var(--card); }

/* ---------- 流れ ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: f; }
.flow__step { counter-increment: f; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.flow__step::before { content: "STEP " counter(f); display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 10px; }
.flow__step h3 { font-size: 17px; margin-bottom: 8px; }
.flow__step p { font-size: 13.5px; color: var(--sub); line-height: 1.8; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative; font-weight: 500; color: var(--ink); display: flex; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary { text-wrap: balance; }
.faq summary::before { content: "Q"; font-family: var(--font-mincho); color: var(--acc); font-size: 18px; line-height: 1.6; flex: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 34px; width: 9px; height: 9px; border-right: 1.5px solid var(--sub); border-bottom: 1.5px solid var(--sub); transform: rotate(45deg); transition: .3s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 38px; }
.faq__a { padding: 0 0 26px 34px; color: var(--text); font-size: 15px; }
.faq__a p + p, .faq__a ul { margin-top: .6em; }
.faq__a ul { padding-left: 1.2em; }

/* ---------- CTA ---------- */
.cta { text-align: center; padding: 96px 0; }
.cta h2 { font-size: clamp(24px, 3.2vw, 32px); letter-spacing: 0.08em; }
.cta p { margin-top: 16px; color: var(--sub); }
.cta__ways { margin: 40px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 860px; }
.cta__way { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px 18px; color: var(--text); transition: border-color .25s, transform .25s; }
.cta__way:hover { border-color: rgba(46, 74, 110, .3); transform: translateY(-2px); color: var(--text); }
.cta__way small { display: block; font-size: 12px; letter-spacing: 0.18em; color: var(--sub); }
.cta__way strong { display: block; margin-top: 6px; font-family: var(--font-mincho); font-size: 19px; color: var(--acc); letter-spacing: 0.02em; overflow-wrap: anywhere; }
.cta__way strong[data-mail], a[href^="mailto:"].cta__way strong { font-size: 16px; }
.cta__note { margin-top: 22px; font-size: 13px; color: var(--sub); }

/* ---------- フッター ---------- */
.footer { background: #23262B; color: #B9BBBF; padding: 72px 0 36px; font-size: 13.5px; }
.footer a { color: #D8DADD; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
.footer__name { font-family: var(--font-mincho); color: #fff; font-size: 19px; letter-spacing: 0.1em; }
.footer__addr { margin-top: 14px; line-height: 2; }
.footer h4 { font-family: var(--font-body); color: #fff; font-size: 12px; letter-spacing: 0.22em; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer li { padding: 3px 0; }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; }

/* ==========================================================
   下層ページ（業務・記事）
   ========================================================== */
.page-hero { padding: 72px 0 60px; border-bottom: 1px solid var(--line-soft); }
.breadcrumb { font-size: 12.5px; color: var(--sub); margin-bottom: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb a { color: var(--sub); }
.breadcrumb a:hover { color: var(--acc); }
.breadcrumb span::before { content: "/"; margin-right: 8px; opacity: .5; }
.page-hero h1 { font-size: clamp(28px, 4.2vw, 42px); letter-spacing: 0.08em; }
.page-hero__catch { margin-top: 18px; font-family: var(--font-mincho); font-size: clamp(17px, 2vw, 20px); color: var(--acc); letter-spacing: 0.06em; }
.page-hero__lead { margin-top: 20px; max-width: 680px; }
.page-hero__voices { margin-top: 28px; display: flex; flex-direction: column; gap: 8px; }
.page-hero__voices p { font-size: 14.5px; color: var(--text); padding-left: 16px; border-left: 2px solid var(--gold); }

.page-layout { display: grid; grid-template-columns: 240px 1fr; gap: 64px; padding: 72px 0 104px; align-items: start; }
.toc { position: sticky; top: 100px; font-size: 13.5px; }
.toc__title { font-size: 11.5px; font-weight: 700; letter-spacing: 0.22em; color: var(--sub); margin-bottom: 12px; }
.toc ol { list-style: none; border-left: 1px solid var(--line); }
.toc li a { display: block; padding: 6px 0 6px 16px; color: var(--sub); line-height: 1.6; margin-left: -1px; border-left: 1px solid transparent; }
.toc li a:hover, .toc li a.is-active { color: var(--acc); border-left-color: var(--acc); }

.prose { min-width: 0; }
.prose > section + section { margin-top: 80px; }
.prose h2 { font-size: clamp(22px, 2.6vw, 27px); letter-spacing: 0.06em; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 28px; display: flex; gap: 14px; align-items: baseline; }
.prose h2 .no { font-size: 15px; color: var(--gold); letter-spacing: 0.1em; flex: none; }
.prose h3 { font-size: 18.5px; margin: 36px 0 14px; letter-spacing: 0.04em; }
.prose p { margin-top: 1em; }
.prose p:first-child, .prose h2 + p, .prose h3 + p { margin-top: 0; }
.prose ul, .prose ol { margin: 1em 0 0 1.3em; }
.prose li { margin: 0.35em 0; }
.prose strong { color: var(--ink); background: linear-gradient(transparent 70%, var(--acc-soft) 70%); font-weight: 700; }
.prose .note { font-size: 13.5px; color: var(--sub); margin-top: 14px; }

.table-wrap { margin-top: 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.table-wrap th, .table-wrap td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; line-height: 1.7; }
.table-wrap thead th { background: var(--acc-soft); color: var(--ink); font-weight: 700; font-size: 13.5px; letter-spacing: 0.06em; }
.table-wrap tbody th { font-weight: 500; color: var(--ink); white-space: nowrap; }
/* 2列だけの表はスマホでも横スクロールさせない */
.table-wrap table:not(:has(tr > :nth-child(3))) { min-width: 0; }
.table-wrap tr:last-child td, .table-wrap tr:last-child th { border-bottom: 0; }
.table-wrap .total td, .table-wrap .total th { font-weight: 700; background: rgba(46,74,110,.04); }

.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.box { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px 26px; }
.box h3, .box h4 { margin: 0 0 10px; font-size: 17px; }
.box * + h3, .box * + h4 { margin-top: 20px; }
.box ul { margin: 0 0 0 1.2em; font-size: 14.5px; }
.box p { font-size: 14.5px; }
.box--acc { border-color: rgba(46,74,110,.22); background: linear-gradient(180deg, #fff, var(--acc-soft)); }

.decide { counter-reset: d; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.decide .box { counter-increment: d; }
.decide .box:last-child:nth-child(odd) { grid-column: 1 / -1; }
.decide .box h3::before { content: counter(d) "．"; color: var(--gold); }

.point { margin-top: 24px; background: var(--acc-soft); border-radius: 12px; padding: 20px 24px; font-size: 14.5px; }
.point strong { background: none; }
.caution { margin-top: 24px; border: 1px solid rgba(168,138,85,.45); background: #FBF6EC; border-radius: 12px; padding: 18px 22px; font-size: 14px; }
.caution b { color: #7C6230; }

.timeline { list-style: none; margin: 22px 0 0 !important; position: relative; }
.timeline li { position: relative; padding: 0 0 26px 36px; margin: 0 !important; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 10px; width: 11px; height: 11px; border-radius: 50%; background: var(--card); border: 2px solid var(--acc); }
.timeline li::after { content: ""; position: absolute; left: 12px; top: 26px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline b { display: block; font-family: var(--font-mincho); color: var(--ink); font-size: 16.5px; }
.timeline span { font-size: 14px; color: var(--sub); }

.office-card { margin-top: 56px; display: flex; gap: 24px; align-items: center; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px 30px; }
.office-card__mark { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--acc); color: #fff; display: grid; place-items: center; font-family: var(--font-mincho); font-size: 24px; }
.office-card p { font-size: 13.5px; color: var(--sub); line-height: 1.8; }
.office-card strong { font-family: var(--font-mincho); font-size: 17px; color: var(--ink); background: none; }

.related { margin-top: 64px; }
.related h2 { border: 0; padding: 0; margin-bottom: 18px; font-size: 19px; }


/* ---------- テンプレ紹介枠（販売はMi.Like合同会社） ---------- */
.template-teaser { margin-top: 20px; display: flex; gap: 32px; align-items: center; justify-content: space-between; background: var(--card); border: 1px dashed rgba(46,74,110,.35); border-radius: 18px; padding: 30px 36px; }
.template-teaser h3 { font-size: 18px; margin: 10px 0 8px; }
.template-teaser p { font-size: 14px; color: var(--text); }
.template-teaser__badge { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; color: var(--gold); border: 1px solid var(--gold); border-radius: 999px; padding: 2px 12px; }
.template-teaser__note { margin-top: 6px; font-size: 12.5px !important; color: var(--sub) !important; }
.template-teaser .btn { flex: none; }
@media (max-width: 640px) { .template-teaser { flex-direction: column; align-items: flex-start; padding: 26px 22px; } }


/* ---------- 開業準備ガイド（記事） ---------- */
.article-meta { margin-top: 16px; font-size: 12.5px; color: var(--sub); letter-spacing: 0.06em; }
.page-hero__voices-title { margin-top: 28px; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; color: var(--sub); }
.page-hero__voices-title + .page-hero__voices { margin-top: 10px; }
.prose .refs { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.prose .refs h2 { font-size: 14px; border: 0; padding: 0; margin-bottom: 10px; color: var(--sub); font-family: var(--font-body); letter-spacing: 0.08em; }
.prose .refs ul { margin-left: 1.1em; font-size: 12.5px; color: var(--sub); line-height: 1.7; }
.prose .refs li { margin: 0.55em 0; }
.prose .refs a { overflow-wrap: anywhere; }

.page-hero h1, .prose h2 { word-break: auto-phrase; }
/* 4列以上の表は1列目を折り返して、ほかの列に幅をゆずる */
.table-wrap table:has(tr > :nth-child(4)) tbody th { white-space: normal; min-width: 7.5em; }

.service-card h3 { word-break: auto-phrase; }
.services--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .services--2 { grid-template-columns: 1fr; } }

/* ---------- 出現アニメ ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================
   レスポンシブ
   ========================================================== */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; background: var(--bg); flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 28px; border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .3s;
  }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
  .nav .btn { margin-top: 18px; border-bottom: 0; }
  .nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .hero__inner, .greeting, .guide-band { grid-template-columns: 1fr; }
  .vertical-note { display: none; }
  .services { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .page-layout { grid-template-columns: 1fr; gap: 0; padding-top: 48px; }
  .toc { position: static; margin-bottom: 48px; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px 22px 16px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { padding: 0 16px; }
  .header__inner { padding: 0 16px; height: 64px; }
  .nav { inset: 64px 0 auto 0; padding: 8px 16px 24px; }
  .header__logo span { font-size: 17px; }
  .section { padding: 72px 0; }
  .section__title, .cta h2 { letter-spacing: 0.03em; }
  .section__head { margin-bottom: 36px; }
  .hero { padding: 64px 0 72px; }
  .hero__lead { font-size: 15.5px; }
  .hero__actions .btn { width: 100%; }
  .services, .flow, .reasons, .cards-2, .decide, .cta__ways { grid-template-columns: 1fr; }
  .reason, .reason + .reason { padding: 28px 0 24px; border-left: 0; }
  .reason + .reason { border-top: 1px solid var(--line); }
  .guide-band { padding: 44px 24px; border-radius: 16px; }
  .worry { font-size: 13.5px; padding: 9px 16px; }
  .page-hero { padding: 44px 0 40px; }
  .prose > section + section { margin-top: 60px; }
  .table-wrap th, .table-wrap td { padding: 12px 14px; font-size: 13.5px; }
  .table-wrap tbody th { white-space: normal; min-width: 6.5em; }
  .table-wrap table { min-width: 460px; }
  .office-card { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .cta { padding: 72px 0; }
}

/* 図解 */
.fig { margin: 28px 0 0; }
.fig img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); background: #F7F4EE; }
.fig figcaption { margin-top: 10px; font-size: 13px; color: var(--muted, #5c6b7a); text-align: center; }
