/* =========================================================
   練馬区の精神科訪問看護 — サイト共通CSS（2026/11/5 作り直し v3）
   方針: 白地に紺が中心・赤は要所だけ（目安 紺7:赤3）。紺と赤を直接くっつけない。
         スマホ先行。iPad（768〜1194）は段組みを変える。動きは控えめ・reduced-motion を守る。
   ========================================================= */

/* ---------- 1. トークン ---------- */
:root {
  --navy: #001764;
  --navy-hover: #0a2a85;
  --navy-700: #1b3a8f;
  --navy-500: #4a64b0;
  --navy-300: #a7b6df;
  --navy-200: #cbd5ee;
  --navy-100: #e5ebf7;
  --navy-50: #f2f5fc;
  --red: #cf001c;
  --red-hover: #ad0017;
  --red-50: #fdf0f2;
  --line-green: #06c755;
  --line-green-hover: #05b04b;
  --ink: #161a24;
  --ink-2: #434a5c;
  --ink-3: #555c6e;
  --line: #dde3ee;
  --line-strong: #c3cbdc;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --tbd: #fff1a8;

  --font-ja: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "YuGothic", "Meiryo", system-ui, sans-serif;
  --font-en: "Outfit", "Noto Sans JP", system-ui, sans-serif;

  --fs-xs: .875rem;
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --fs-h4: clamp(1.0625rem, 1.02rem + .2vw, 1.1875rem);
  --fs-h3: clamp(1.1875rem, 1.1rem + .45vw, 1.4375rem);
  --fs-h2: clamp(1.5rem, 1.18rem + 1.45vw, 2.375rem);
  --fs-h1: clamp(1.875rem, 1.38rem + 2.3vw, 3.25rem);
  --fs-display: clamp(2.375rem, 1.55rem + 3.9vw, 4.5rem);

  --gutter: clamp(16px, 4.2vw, 40px);
  --container: 1200px;
  --measure: 42rem;
  --section-y: clamp(56px, 7vw, 96px);
  --header-h: 64px;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(0, 23, 100, .05), 0 2px 10px rgba(0, 23, 100, .05);
  --shadow-2: 0 2px 6px rgba(0, 23, 100, .06), 0 16px 40px rgba(0, 23, 100, .10);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 1024px) { :root { --header-h: 72px; } }

/* ---------- 2. 土台 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-ja); font-size: var(--fs-base); line-height: 1.9; letter-spacing: .04em;
  font-feature-settings: "palt" 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-wrap: anywhere; word-break: normal; line-break: strict;
}
@media (min-width: 1024px) { body { font-size: var(--fs-md); } }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-hover); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.38; letter-spacing: .02em; color: var(--ink); font-feature-settings: "palt" 1; text-wrap: balance; word-break: auto-phrase; }
h1 { font-size: var(--fs-h1); font-weight: 700; }
h2 { font-size: var(--fs-h2); font-weight: 700; color: var(--navy); }
h3 { font-size: var(--fs-h3); font-weight: 700; }
h4 { font-size: var(--fs-h4); font-weight: 700; }
small { font-size: var(--fs-sm); }
strong, b { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
::selection { background: var(--navy-100); color: var(--navy); }
:focus-visible { outline: 3px solid var(--navy-500); outline-offset: 2px; border-radius: 6px; }
.on-navy :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { top: 12px; color: #fff; }
.en { font-family: var(--font-en); letter-spacing: .08em; }
.nowrap { white-space: nowrap; }
.muted { color: var(--ink-3); }
.center { text-align: center; }

/* 下書きの印（公開ビルドでは出ない） */
.draft-bar { background: #26292f; color: #fff; font-size: var(--fs-xs); text-align: center; padding: 6px var(--gutter); line-height: 1.6; }
.draft-bar b { color: var(--tbd); }
.tbd { background: var(--tbd); color: #4a3b00; border-radius: 4px; padding: 0 .3em; font-weight: 500; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.on-navy .tbd, .site-footer .tbd { color: #4a3b00; }

/* ---------- 3. レイアウト ---------- */
.container { width: min(100% - (var(--gutter) * 2), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - (var(--gutter) * 2), 880px); margin-inline: auto; }
.prose { max-width: var(--measure); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--soft { background: var(--bg-soft); }
.section--tint { background: linear-gradient(180deg, var(--navy-50) 0%, #fff 100%); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.stack > * + * { margin-top: var(--stack, 1rem); }
.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.split { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; }
.split > *, .grid > *, .tool__grid > *, .hero__in > * { min-width: 0; }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--wide-left { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split--center { align-items: center; }
  .sticky-side { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- 4. 見出しのかたまり ---------- */
.head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 46rem; }
.head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-en); font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-500); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 2px; background: var(--red); }
.section--navy .eyebrow, .on-navy .eyebrow { color: var(--navy-200); }
.section--navy .eyebrow::before, .on-navy .eyebrow::before { background: #fff; }
.head p.lead, .lead { font-size: var(--fs-lg); color: var(--ink-2); line-height: 1.85; margin-top: 14px; }
.section--navy .lead, .on-navy .lead { color: var(--navy-100); }

/* ---------- 5. ボタン ---------- */
.btn {
  --bg: var(--navy); --fg: #fff; --bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border-radius: var(--r-pill);
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd);
  font: inherit; font-size: var(--fs-base); font-weight: 700; letter-spacing: .05em; line-height: 1.4;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { --bg: var(--navy-hover); --bd: var(--navy-hover); color: var(--fg); }
@media (hover: hover) { .btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-1); } }
.btn:active { transform: translateY(0); }
.btn .ic { width: 20px; height: 20px; flex: none; }
.btn--lg { min-height: 58px; padding-inline: 32px; font-size: var(--fs-md); }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: var(--fs-sm); }
.btn--block { width: 100%; }
.btn--line { --bg: var(--line-green); --bd: var(--line-green); --fg: #fff; }
.btn--line:hover { --bg: var(--line-green-hover); --bd: var(--line-green-hover); }
.btn--ghost { --bg: #fff; --fg: var(--navy); --bd: var(--navy-200); }
.btn--ghost:hover { --bg: var(--navy-50); --bd: var(--navy-300); --fg: var(--navy); }
.btn--red { --bg: var(--red); --bd: var(--red); --fg: #fff; }
.btn--red:hover { --bg: var(--red-hover); --bd: var(--red-hover); }
.btn--white { --bg: #fff; --fg: var(--navy); --bd: #fff; }
.btn--white:hover { --bg: var(--navy-50); --bd: var(--navy-50); --fg: var(--navy); }
.btn--outline-white { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .55); }
.btn--outline-white:hover { --bg: rgba(255, 255, 255, .1); --bd: #fff; --fg: #fff; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row--stack { flex-direction: column; align-items: stretch; }
@media (min-width: 640px) { .btn-row--stack { flex-direction: row; align-items: center; } }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; min-height: 44px; }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .ic { transform: translateX(3px); }
.ic { width: 24px; height: 24px; flex: none; }

/* ---------- 6. ヘッダー ---------- */
.aud-bar { display: none; background: var(--navy-50); border-bottom: 1px solid var(--navy-100); font-size: var(--fs-xs); }
@media (min-width: 1024px) { .aud-bar { display: block; } }
.aud-bar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.aud-tabs { display: flex; gap: 4px; }
.aud-tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--ink-2); text-decoration: none; font-weight: 500; position: relative; }
.aud-tabs a:hover { color: var(--navy); }
.aud-tabs a[aria-current="true"] { color: var(--navy); font-weight: 700; }
.aud-tabs a[aria-current="true"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--navy); }
.aud-bar__contact { display: flex; gap: 18px; color: var(--ink-2); }
.aud-bar__contact b { color: var(--navy); font-weight: 700; }

.site-header { position: relative; z-index: 50; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(0, 23, 100, .06); }
.site-header__in { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); margin-right: auto; min-height: 44px; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text b { font-size: 1.125rem; letter-spacing: .1em; font-weight: 700; color: var(--navy); }
.brand__text small { font-size: .6875rem; color: var(--ink-2); letter-spacing: .06em; margin-top: 3px; }
.brand__prov { display: inline-block; font-size: .625rem; font-weight: 700; color: var(--ink-3); border: 1px solid var(--line-strong); border-radius: 4px; padding: 0 4px; margin-left: 6px; vertical-align: 2px; letter-spacing: .04em; }
@media (min-width: 1024px) { .brand__mark { width: 34px; height: 34px; } .brand__text b { font-size: 1.25rem; } .brand__text small { font-size: .75rem; } }

.gnav { display: none; }
@media (min-width: 1024px) {
  .gnav { display: block; }
  .gnav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
  .gnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-pill); color: var(--ink); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; letter-spacing: .04em; }
  .gnav a:hover { background: var(--navy-50); color: var(--navy); }
  .gnav a[aria-current="page"] { color: var(--navy); font-weight: 700; background: var(--navy-50); }
}
@media (min-width: 1280px) { .gnav a { padding: 0 14px; font-size: .9375rem; } }
.header-cta { display: none; gap: 8px; }
@media (min-width: 1024px) { .header-cta { display: flex; } .header-cta .btn { min-height: 44px; padding: 8px 18px; font-size: var(--fs-sm); } }
@media (min-width: 1024px) and (max-width: 1199px) { .header-cta .btn--secondary-desktop { display: none; } }

.menu-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 56px; height: 52px; white-space: nowrap; margin-right: -8px; border: 0; background: transparent; color: var(--navy); border-radius: 14px; cursor: pointer; font: inherit; font-size: .625rem; font-weight: 700; letter-spacing: .02em; line-height: 1; }
.menu-btn__bars { position: relative; width: 22px; height: 14px; }
.menu-btn__bars::before, .menu-btn__bars::after, .menu-btn__bars span { content: ""; position: absolute; left: 0; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.menu-btn__bars::before { top: 0; } .menu-btn__bars span { top: 6px; } .menu-btn__bars::after { top: 12px; }
@media (min-width: 1024px) { .menu-btn { display: none; } }

/* ドロワー（スマホ・iPad 縦） */
.drawer { position: fixed; inset: 0; z-index: 100; display: grid; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(0, 14, 61, .45); opacity: 0; transition: opacity .25s var(--ease); }
.drawer__panel { position: relative; margin-left: auto; width: min(100%, 460px); height: 100%; overflow-y: auto; overscroll-behavior: contain; background: #fff; padding: 0 var(--gutter) 40px; transform: translateX(100%); transition: transform .3s var(--ease); display: flex; flex-direction: column; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
@media (prefers-reduced-motion: reduce) { .drawer__panel, .drawer__scrim { transition: none; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); position: sticky; top: 0; background: #fff; z-index: 1; }
.drawer__close { width: 52px; height: 52px; margin-right: -8px; border: 0; background: transparent; color: var(--navy); cursor: pointer; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; }
.drawer__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: var(--navy-50); border-radius: 16px; margin: 4px 0 20px; }
.drawer__tabs button { min-height: 52px; border: 0; background: transparent; border-radius: 12px; font: inherit; font-size: .8125rem; font-weight: 700; color: var(--ink-2); cursor: pointer; line-height: 1.3; letter-spacing: .02em; padding: 4px; }
.drawer__tabs button[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: var(--shadow-1); }
.drawer__list { list-style: none; margin: 0 0 24px; padding: 0; }
.drawer__list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 8px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 1.0625rem; font-weight: 700; }
.drawer__list a .ic { color: var(--navy-300); width: 20px; height: 20px; }
.drawer__list a small { display: block; font-size: var(--fs-xs); color: var(--ink-3); font-weight: 400; margin-top: 2px; }
.drawer__cta { display: grid; gap: 10px; margin-bottom: 24px; }
.drawer__sub { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: var(--fs-sm); }
.drawer__sub a { display: inline-flex; min-height: 44px; align-items: center; color: var(--ink-2); }
body.is-locked { overflow: hidden; }

/* ---------- 7. パンくず ---------- */
.crumbs { font-size: var(--fs-xs); color: var(--ink-3); margin-bottom: 18px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid var(--navy-300); border-right: 1.5px solid var(--navy-300); transform: rotate(45deg); }
.crumbs a { color: var(--ink-2); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.on-navy .crumbs, .on-navy .crumbs a { color: var(--navy-200); }

/* ---------- 8. ヒーロー ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 100% 0%, var(--navy-100) 0%, rgba(229, 235, 247, 0) 55%), linear-gradient(180deg, #f7f9fd 0%, #fff 70%); }
.hero__motif { position: absolute; z-index: -1; right: -12%; top: 6%; width: min(78vw, 720px); opacity: .9; pointer-events: none; }
.hero__rings { position: absolute; z-index: -1; pointer-events: none; width: 560px; right: -260px; top: -150px; opacity: .9; }
@media (min-width: 768px) { .hero__rings { width: 720px; right: -240px; top: -120px; } }
@media (min-width: 1024px) { .hero__rings { width: 860px; right: -170px; top: 50%; transform: translateY(-50%); } }
.hero--home { padding: clamp(28px, 6vw, 64px) 0 clamp(40px, 5vw, 64px); }
.hero--home .hero__in { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 1024px) { .hero--home .hero__in { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; min-height: clamp(440px, 52vh, 540px); } .hero__motif { right: -4%; top: 50%; transform: translateY(-50%); width: 600px; } }
.hero--home + .section { padding-top: clamp(56px, 7vw, 96px); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: var(--fs-sm); color: var(--ink-2); margin-bottom: 18px; }
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 2px 12px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--navy-200); color: var(--navy); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; }
.pill--red { border-color: rgba(207, 0, 28, .35); color: var(--red); background: #fff; }
.pill--soft { background: var(--navy-50); border-color: transparent; }
.hero__title { font-size: var(--fs-display); font-weight: 700; line-height: 1.22; letter-spacing: .03em; color: var(--navy); }
.hero__title .sm { display: block; font-size: .44em; letter-spacing: .08em; color: var(--ink); margin-bottom: .45em; font-weight: 700; }
.hero__lead { font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); font-weight: 700; color: var(--ink); margin: 18px 0 0; letter-spacing: .06em; line-height: 1.7; }
.hero__sub { color: var(--ink-2); margin: 12px 0 0; max-width: 34rem; }
.hero__cta { margin-top: 28px; display: none; }
@media (min-width: 1024px) { .hero__cta { display: flex; } }

/* 入口カード（3つの読み手） */
.entries { display: grid; gap: 12px; }
@media (min-width: 640px) and (max-width: 1023px) { .entries { grid-template-columns: repeat(3, minmax(0, 1fr)); } .entry { flex-direction: column; align-items: stretch; text-align: left; min-height: 180px; padding: 20px 18px 22px; } .entry__go { position: absolute; right: 14px; top: 20px; } }
.entry { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 18px 18px 20px; min-height: 84px; border-radius: var(--r-lg); background: #fff; border: 1.5px solid var(--navy-100); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-1); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
@media (hover: hover) { .entry:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--navy-300); color: var(--ink); } }
.entry__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); flex: none; }
.entry__icon .ic { width: 26px; height: 26px; }
.entry__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.entry__label { font-size: 1.0625rem; font-weight: 700; color: var(--navy); line-height: 1.45; }
.entry__desc { font-size: var(--fs-xs); color: var(--ink-2); line-height: 1.6; letter-spacing: .03em; }
.entry__go { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); flex: none; transition: transform .2s var(--ease); }
.entry__go .ic { width: 18px; height: 18px; }
@media (hover: hover) { .entry:hover .entry__go { transform: translateX(3px); } }
.entry--primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.entry--primary .entry__label { color: #fff; }
.entry--primary .entry__desc { color: var(--navy-100); }
.entry--primary .entry__icon { background: rgba(255, 255, 255, .12); color: #fff; }
.entry--primary .entry__go { background: #fff; color: var(--navy); }
@media (hover: hover) { .entry--primary:hover { border-color: var(--navy-hover); background: var(--navy-hover); color: #fff; } }
.entry--recruit .entry__icon { background: var(--red-50); color: var(--red); }
.entry--recruit .entry__label { color: var(--ink); }
.entry--recruit .entry__go { background: var(--red-50); color: var(--red); }
@media (min-width: 1024px) { .sp-br { display: none; } }
.entries__note { font-size: var(--fs-xs); color: var(--ink-3); margin: 10px 4px 0; }

/* 下層ページのヒーロー */
.hero--page { padding: clamp(24px, 4vw, 48px) 0 clamp(36px, 5vw, 64px); }
.hero--page .hero__bg { background: radial-gradient(90% 120% at 100% 0%, var(--navy-50) 0%, rgba(242, 245, 252, 0) 60%), #fff; }
.hero--page h1 { color: var(--navy); max-width: 22em; }
.hero--page .hero__lead { font-weight: 500; font-size: var(--fs-lg); color: var(--ink-2); max-width: 40rem; letter-spacing: .04em; }
.hero--page .hero__actions { margin-top: 24px; }
.hero--navy { background: var(--navy); color: #fff; }
.hero--navy .hero__bg { background: radial-gradient(100% 120% at 100% 0%, #13308a 0%, rgba(0, 23, 100, 0) 60%), var(--navy); }
.hero--navy h1, .hero--navy .hero__title { color: #fff; }
.hero--navy .hero__lead { color: var(--navy-100); }
.hero--navy .crumbs a, .hero--navy .crumbs { color: var(--navy-200); }

/* 3行でいうと */
.tldr { position: relative; margin-top: 28px; padding: 20px 22px 18px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--navy-100); box-shadow: var(--shadow-1); max-width: 46rem; }
.tldr__label { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 700; color: var(--navy); letter-spacing: .1em; margin-bottom: 8px; }
.tldr__label .ic { width: 18px; height: 18px; color: var(--navy-500); }
.tldr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.tldr li { position: relative; padding-left: 22px; line-height: 1.75; }
.tldr li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--navy-300); }
.hero--navy .tldr { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); box-shadow: none; color: #fff; }
.hero--navy .tldr__label { color: #fff; }
.hero--navy .tldr li::before { background: var(--navy-200); }

/* ---------- 9. カード ---------- */
.card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.card--soft { background: var(--navy-50); border-color: transparent; }
.card--shadow { border-color: transparent; box-shadow: var(--shadow-1); }
.card h3 { font-size: var(--fs-h4); color: var(--navy); }
.card p { margin: 0; color: var(--ink-2); }
.card__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); margin-bottom: 6px; }
.card--soft .card__icon { background: #fff; }
.card__icon .ic { width: 28px; height: 28px; }
.card__num { font-family: var(--font-en); font-weight: 600; font-size: .875rem; letter-spacing: .12em; color: var(--red); }
a.card { text-decoration: none; color: inherit; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
@media (hover: hover) { a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--navy-200); color: inherit; } }
a.card .link-arrow { margin-top: auto; padding-top: 6px; color: var(--navy); }
.card .photo { margin: calc(clamp(22px, 2.4vw, 30px) * -1) calc(clamp(22px, 2.4vw, 30px) * -1) 8px; border-radius: var(--r-lg) var(--r-lg) 0 0; }

/* 横にスワイプする列（スマホ）→ 段組み（iPad 以上） */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 320px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 18px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.rail-dots { display: flex; gap: 2px; }
.rail-dots button { width: 32px; height: 44px; border: 0; background: transparent; padding: 0; cursor: pointer; display: grid; place-items: center; }
.rail-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: var(--navy-200); transition: width .2s var(--ease), background-color .2s; }
.rail-dots button[aria-current="true"]::before { width: 22px; background: var(--red); }
.rail-arrows { display: flex; gap: 8px; }
.rail-arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--navy-200); background: #fff; color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.rail-arrows button .ic { width: 18px; height: 18px; }
.rail-arrows button:disabled { opacity: .35; cursor: default; }
@media (min-width: 768px) {
  .rail { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; padding: 0; margin: 0; gap: clamp(16px, 2.2vw, 28px); }
  .rail-ctrl { display: none; }
}
@media (min-width: 1024px) { .rail--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rail--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 写真の枠（撮影前はグラデーション＋ラベル） */
.photo { position: relative; aspect-ratio: var(--ratio, 4 / 3); border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(135deg, var(--navy-100) 0%, var(--navy-50) 55%, #fff 100%); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--ph::after { content: attr(data-label); position: absolute; left: 12px; bottom: 10px; right: 12px; font-size: var(--fs-xs); color: var(--navy-500); letter-spacing: .04em; line-height: 1.5; }
.photo--ph svg.photo__motif { position: absolute; right: -6%; top: -8%; width: 62%; opacity: .55; }

/* ---------- 10. 約束（3つの柱） ---------- */
.pillars { display: grid; gap: 14px; counter-reset: p; }
@media (min-width: 1024px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.pillar { padding: 26px 24px 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); position: relative; }
.pillar__n { font-family: var(--font-en); font-size: 2.5rem; font-weight: 600; line-height: 1; color: var(--navy-100); position: absolute; right: 20px; top: 18px; letter-spacing: 0; }
.pillar h3 { color: var(--navy); font-size: var(--fs-h4); margin: 0 0 8px; padding-right: 48px; }
.pillar p { margin: 0; color: var(--ink-2); }

/* ---------- 11. 手順 ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.step { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 18px; padding-bottom: 28px; }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); grid-row: 1 / span 2; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--font-en); font-weight: 600; font-size: 1rem; letter-spacing: .04em; position: relative; z-index: 1; }
.step::after { content: ""; position: absolute; left: 25px; top: 56px; bottom: 4px; width: 2px; background: repeating-linear-gradient(180deg, var(--navy-200) 0 6px, transparent 6px 12px); }
.step:last-child::after { display: none; }
.step:last-child { padding-bottom: 0; }
.step h3 { font-size: var(--fs-h4); color: var(--navy); margin-top: 12px; }
.step p { margin: 6px 0 0; color: var(--ink-2); }
.step .step__note { font-size: var(--fs-sm); color: var(--ink-3); margin-top: 6px; }
@media (min-width: 1024px) {
  .steps--h { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 28px; }
  .steps--h .step { grid-template-columns: 1fr; padding-bottom: 0; }
  .steps--h .step::before { grid-row: auto; }
  .steps--h .step::after { left: 60px; right: -20px; top: 25px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(90deg, var(--navy-200) 0 6px, transparent 6px 12px); }
  .steps--h .step h3 { margin-top: 16px; }
}

/* ---------- 12. よくある質問（details） ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.section--soft .faq details { border-color: transparent; box-shadow: var(--shadow-1); }
.faq details[open] { border-color: var(--navy-200); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 18px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--font-en); font-weight: 600; color: var(--red); font-size: 1.125rem; flex: none; width: 20px; }
.faq summary::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-right: 2px solid var(--navy-500); border-bottom: 2px solid var(--navy-500); transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq .faq__a { padding: 0 18px 18px 52px; color: var(--ink-2); }
.faq .faq__a p:last-child { margin-bottom: 0; }
@supports (interpolate-size: allow-keywords) {
  .faq details { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .3s var(--ease), content-visibility .3s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}
@media (prefers-reduced-motion: reduce) { .faq details::details-content { transition: none; } }

/* 根拠（条文）— 小さく、開くと出る */
.basis { margin-top: 12px; font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.7; }
.basis summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; min-height: 44px; min-width: 44px; color: var(--ink-3); font-weight: 500; list-style: none; }
.basis summary::-webkit-details-marker { display: none; }
.basis summary::before { content: "§"; font-family: var(--font-en); color: var(--navy-500); font-weight: 600; }
.basis[open] summary { color: var(--navy); }
.basis div { padding: 4px 0 4px 14px; border-left: 2px solid var(--navy-100); }
.src { font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.7; margin-top: 10px; }

/* ---------- 13. 表 ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); line-height: 1.7; min-width: 520px; }
.table th, .table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--navy-50); color: var(--navy); font-weight: 700; white-space: nowrap; }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table--stack { min-width: 0; }
@media (max-width: 639px) {
  .table--stack thead { display: none; }
  .table--stack tr { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .table--stack tr:last-child { border-bottom: 0; }
  .table--stack th, .table--stack td { display: block; padding: 2px 0; border: 0; }
  .table--stack td[data-th]::before { content: attr(data-th) "："; color: var(--ink-3); font-size: var(--fs-xs); }
}
.dl { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.dl > div { display: grid; grid-template-columns: 1fr; gap: 2px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .dl > div { grid-template-columns: 11em minmax(0, 1fr); } }
.dl dt { font-weight: 700; color: var(--navy); font-size: var(--fs-sm); }
.dl dd { margin: 0; color: var(--ink); }

/* ---------- 14. 注意・メモ ---------- */
.note { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r-md); background: var(--navy-50); color: var(--ink); font-size: var(--fs-sm); line-height: 1.8; }
.note .ic { color: var(--navy-500); width: 22px; height: 22px; margin-top: 2px; }
.note p:last-child { margin-bottom: 0; }
.note--warm { background: #fff8f0; }
.note--warm .ic { color: #b45a00; }
.note--line { background: #fff; border: 1px solid var(--line); }

/* ---------- 15. CTA の帯 ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(32px, 5vw, 64px); background: var(--navy); color: #fff; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 120% at 100% 0%, #183a9a 0%, rgba(0, 23, 100, 0) 60%); }
.cta-band h2 { color: #fff; font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem); }
.cta-band p { color: var(--navy-100); margin: 12px 0 0; max-width: 38rem; }
.cta-band .btn-row { margin-top: 26px; }
.cta-band__motif { position: absolute; right: -40px; bottom: -60px; width: 300px; opacity: .14; z-index: -1; }
.cta-band__small { font-size: var(--fs-xs); color: var(--navy-200); margin-top: 14px; }
.cta-band--soft { background: var(--navy-50); color: var(--ink); }
.cta-band--soft::before { display: none; }
.cta-band--soft h2 { color: var(--navy); }
.cta-band--soft p { color: var(--ink-2); }

/* ---------- 16. 固定の行動ボタン（スマホ・iPad 縦） ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0, 23, 100, .06); display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; transform: translateY(110%); transition: transform .3s var(--ease); }
.sticky-cta.is-shown { transform: none; }
.sticky-cta .btn { min-height: 52px; padding: 8px 12px; font-size: .9375rem; letter-spacing: .03em; }
.sticky-cta .btn small { display: block; font-size: .6875rem; font-weight: 500; opacity: .9; letter-spacing: .02em; }
.sticky-cta .btn span { display: flex; flex-direction: column; line-height: 1.3; }
@media (min-width: 1024px) { .sticky-cta { display: none; } }
@media (max-width: 1023px) { body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* ---------- 17. フッター ---------- */
.site-footer { background: var(--navy); color: var(--navy-100); padding: clamp(56px, 7vw, 96px) 0 32px; font-size: var(--fs-sm); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-top { display: grid; gap: 40px; }
@media (min-width: 1024px) { .footer-top { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; } }
.footer-brand .brand { color: #fff; }
.footer-brand .brand__text b { color: #fff; }
.footer-brand .brand__text small { color: var(--navy-200); }
.footer-brand p { margin: 16px 0 0; line-height: 1.8; }
.footer-contact { margin-top: 18px; display: grid; gap: 4px; }
.footer-contact div { display: flex; gap: 10px; }
.footer-contact dt { color: var(--navy-200); min-width: 5em; }
.footer-contact dd { margin: 0; color: #fff; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
@media (min-width: 768px) { .footer-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-nav h2 { font-size: var(--fs-xs); color: var(--navy-200); font-weight: 700; letter-spacing: .1em; margin: 0 0 10px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 40px; line-height: 1.5; }
.crisis { margin-top: 44px; padding: 20px 22px; border-radius: var(--r-md); background: #fff; color: var(--ink); display: grid; gap: 10px; }
@media (min-width: 1024px) { .crisis { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 24px; } }
.crisis__title { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); }
.crisis__title .ic { color: var(--navy); }
.crisis ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.crisis a { color: var(--navy); font-weight: 700; text-decoration: underline; }
.crisis small { color: var(--ink-3); }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 14px; font-size: var(--fs-xs); color: var(--navy-200); }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 18px; }
.footer-bottom a { color: var(--navy-100); display: inline-flex; min-height: 36px; align-items: center; }

/* ---------- 18. フォーム ---------- */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { font-weight: 700; font-size: var(--fs-sm); color: var(--ink); padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.req { font-size: .6875rem; font-weight: 700; color: #fff; background: var(--red); border-radius: 4px; padding: 1px 6px; letter-spacing: .04em; }
.opt { font-size: .6875rem; font-weight: 700; color: var(--ink-2); background: var(--navy-50); border-radius: 4px; padding: 1px 6px; }
.hint { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 400; }
.input, .select, .textarea { width: 100%; min-height: 54px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: #fff; font: inherit; font-size: 1rem; color: var(--ink); letter-spacing: .03em; transition: border-color .2s, box-shadow .2s; }
.textarea { min-height: 120px; line-height: 1.7; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%234a64b0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy-500); box-shadow: 0 0 0 4px var(--navy-100); }
.input::placeholder, .textarea::placeholder { color: #8a90a0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 48px; padding: 8px 18px; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong); background: #fff; font-size: var(--fs-sm); font-weight: 500; transition: all .15s var(--ease); }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; }
.choice input:focus-visible + span { outline: 3px solid var(--navy-500); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--navy-50); font-size: var(--fs-sm); line-height: 1.7; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.form-err { color: var(--red); font-size: var(--fs-sm); font-weight: 700; min-height: 1.5em; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.survey { border-radius: var(--r-md); border: 1px dashed var(--line-strong); padding: 18px; display: grid; gap: 16px; }
.survey > p { margin: 0; font-size: var(--fs-sm); font-weight: 700; }
.confirm, .done { border-radius: var(--r-lg); background: #fff; border: 1.5px solid var(--navy-200); padding: clamp(22px, 3vw, 32px); }
.confirm dl { display: grid; grid-template-columns: 1fr; gap: 2px 18px; margin: 16px 0; }
@media (min-width: 640px) { .confirm dl { grid-template-columns: 9em minmax(0, 1fr); } }
.confirm dt { font-size: var(--fs-sm); color: var(--ink-3); font-weight: 700; padding-top: 10px; }
.confirm dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.done b { display: block; font-size: var(--fs-h4); color: var(--navy); margin-bottom: 8px; }

/* 空き枠 */
.slots-dummy { display: inline-block; font-size: var(--fs-xs); background: var(--tbd); color: #4a3b00; border-radius: 6px; padding: 2px 8px; margin-bottom: 12px; font-weight: 700; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.day { flex: none; width: 66px; min-height: 84px; border-radius: 16px; border: 1.5px solid var(--line-strong); background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; cursor: pointer; font: inherit; color: var(--ink); scroll-snap-align: start; position: relative; }
.day small { font-size: .6875rem; color: var(--ink-3); line-height: 1.4; }
.day b { font-size: 1.375rem; line-height: 1.2; font-family: var(--font-en); font-weight: 600; letter-spacing: 0; }
.day .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--navy-500); margin-top: 4px; }
.day.none { opacity: .5; }
.day.none .dot { background: transparent; }
.day.selected { background: var(--navy); border-color: var(--navy); color: #fff; }
.day.selected small { color: var(--navy-100); }
.day.selected .dot { background: #fff; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin-top: 8px; }
.time { min-height: 60px; border-radius: 14px; border: 1.5px solid var(--navy-200); background: #fff; font: inherit; font-weight: 700; font-size: 1.0625rem; color: var(--navy); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.3; font-family: var(--font-en); letter-spacing: .02em; }
.time small { font-family: var(--font-ja); font-size: .6875rem; font-weight: 500; color: var(--ink-3); }
.time.few small { color: #9a5b00; }
.time.selected { background: var(--navy); border-color: var(--navy); color: #fff; }
.time.selected small { color: var(--navy-100); }
.time:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.picked { margin-top: 16px; display: grid; gap: 12px; }
.picked:empty { display: none; }
.picked strong { font-size: var(--fs-lg); color: var(--navy); }
.times-empty { color: var(--ink-3); font-size: var(--fs-sm); }

/* ---------- 19. 道具（エリア判定・料金の計算・受け入れ状況） ---------- */
.tool { border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); padding: clamp(20px, 3vw, 36px); }
.tool__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.tool__head .card__icon { margin: 0; }
.tool__head h3 { color: var(--navy); }
.tool__grid { display: grid; gap: 22px; }
@media (min-width: 1024px) { .tool__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 36px; } }
.area-selects { display: grid; gap: 12px; }
@media (min-width: 640px) { .area-selects { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.area-result { margin-top: 16px; border-radius: var(--r-md); padding: 18px 20px; background: var(--bg-soft); display: none; }
.area-result.show { display: block; }
.area-result b { display: flex; align-items: center; gap: 8px; font-size: var(--fs-lg); }
.area-result p { margin: 6px 0 12px; color: var(--ink-2); font-size: var(--fs-sm); }
.area-result.ok { background: #eef8f1; }
.area-result.ok b { color: #11693a; }
.area-result.ask { background: #fff7e8; }
.area-result.ask b { color: #8a4b00; }
.area-result.out { background: var(--navy-50); }
.area-result.out b { color: var(--navy); }
.area-result ul { margin: 0 0 12px; font-size: var(--fs-sm); }
.area-map { position: relative; border-radius: var(--r-lg); background: var(--navy-50); overflow: hidden; }
.area-map svg { width: 100%; height: auto; }
.area-map__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--fs-xs); color: var(--ink-2); padding: 12px 16px 14px; background: #fff; border-top: 1px solid var(--line); }
.area-map__legend span { display: inline-flex; align-items: center; gap: 6px; }
.area-map__legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.prov { font-size: var(--fs-xs); color: var(--ink-3); margin-top: 10px; }

.sim-controls { display: grid; gap: 18px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; min-height: 48px; padding: 6px 14px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fff; font-weight: 700; font-size: var(--fs-sm); color: var(--ink); transition: all .15s var(--ease); }
.seg input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--navy-500); outline-offset: 2px; }
.seg input:disabled + span { opacity: .4; }
.sim-out { border-radius: var(--r-lg); background: var(--navy); color: #fff; padding: clamp(22px, 3vw, 32px); position: relative; overflow: hidden; }
.sim-out__label { font-size: var(--fs-sm); color: var(--navy-200); }
.sim-out__big { font-family: var(--font-en); font-size: clamp(2.5rem, 2rem + 2.4vw, 3.5rem); font-weight: 600; line-height: 1.1; letter-spacing: .01em; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.sim-out__big small { font-family: var(--font-ja); font-size: .38em; font-weight: 700; margin-left: 4px; letter-spacing: .04em; }
.sim-out__sub { font-size: var(--fs-sm); color: var(--navy-100); }
.sim-out dl { margin: 18px 0 0; display: grid; gap: 0; font-size: var(--fs-sm); }
.sim-out dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.sim-out dt { color: var(--navy-100); }
.sim-out dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.sim-note { font-size: var(--fs-xs); color: var(--ink-3); margin-top: 12px; line-height: 1.7; }

.status { display: grid; gap: 12px; }
.status__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--bg-soft); }
.status__row b { font-size: var(--fs-sm); }
.badge { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 2px 12px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.badge--ok { background: #e6f5ec; color: #11693a; }
.badge--ask { background: #fff2dc; color: #8a4b00; }
.badge--wait { background: var(--navy-100); color: var(--navy); }
.badge--off { background: #eceef3; color: #4b5162; }

/* ---------- 20. ロードマップ・1日の流れ ---------- */
.roadmap { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 0; }
.roadmap li { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 0 0 26px; }
.roadmap li::before { content: ""; position: absolute; left: 99px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--navy-300); z-index: 1; }
.roadmap li::after { content: ""; position: absolute; left: 105px; top: 22px; bottom: -8px; width: 2px; background: var(--navy-100); }
.roadmap li:last-child::after { display: none; }
.roadmap__when { font-family: var(--font-en); font-weight: 600; color: var(--navy-500); font-size: var(--fs-sm); text-align: right; padding-top: 2px; letter-spacing: .04em; }
.roadmap__what { padding-left: 28px; }
.roadmap__what b { display: block; color: var(--ink); }
.roadmap__what span { color: var(--ink-2); font-size: var(--fs-sm); }
.roadmap li.done::before { background: var(--navy); border-color: var(--navy); }
.roadmap li.done .roadmap__when { color: var(--navy); }
.roadmap li.now::before { background: var(--red); border-color: #fff; box-shadow: 0 0 0 3px var(--red); }
.roadmap li.now .roadmap__what b::after { content: "いまここ"; display: inline-block; margin-left: 10px; font-size: .6875rem; color: #fff; background: var(--red); border-radius: var(--r-pill); padding: 1px 9px; vertical-align: 2px; letter-spacing: .06em; }
.on-navy .roadmap__what b { color: #fff; }
.on-navy .roadmap__what span { color: var(--navy-100); }
.on-navy .roadmap li::after { background: rgba(255, 255, 255, .18); }
.on-navy .roadmap li::before { background: var(--navy); border-color: var(--navy-300); }
.on-navy .roadmap li.done::before { background: #fff; border-color: #fff; }
.on-navy .roadmap li.now::before { background: #fff; box-shadow: 0 0 0 3px #fff; border-color: var(--navy); }
.on-navy .roadmap li.now .roadmap__what b::after { background: #fff; color: var(--navy); }
.on-navy .roadmap__when { color: var(--navy-200); }

.day-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.day-flow li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.day-flow time { font-family: var(--font-en); font-weight: 600; color: var(--navy); font-size: 1.0625rem; letter-spacing: .02em; }
.day-flow b { display: block; }
.day-flow span { font-size: var(--fs-sm); color: var(--ink-2); }
.day-flow li.visit { border-left: 4px solid var(--navy); }

/* 求人カード */
.job { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
@media (hover: hover) { .job:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--navy-200); color: inherit; } }
.job__type { font-size: var(--fs-xs); font-weight: 700; color: var(--red); letter-spacing: .08em; }
.job h3 { font-size: var(--fs-h3); color: var(--navy); }
.job__pay { font-size: var(--fs-lg); font-weight: 700; color: var(--ink); }
.job__pay small { display: block; font-size: var(--fs-xs); color: var(--ink-3); font-weight: 500; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.tags li { font-size: var(--fs-xs); font-weight: 700; color: var(--navy); background: var(--navy-50); border-radius: 8px; padding: 4px 10px; }
.job .link-arrow { margin-top: auto; }

/* 代表 */
.profile { display: grid; gap: 24px; align-items: start; }
@media (min-width: 768px) { .profile { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; } }
.profile__photo { width: 160px; }
.msg-photo { max-width: 220px; }
@media (min-width: 1024px) { .msg-photo { max-width: 360px; } }
@media (min-width: 768px) { .profile__photo { width: 220px; } }
.profile__name { margin-top: 14px; font-weight: 700; }
.profile__name small { display: block; color: var(--ink-3); font-weight: 500; }
.letter p { line-height: 2.05; }
.letter p + p { margin-top: 1.2em; }
.sign { margin-top: 24px; font-weight: 700; }
.sign small { display: block; font-weight: 500; color: var(--ink-3); }

/* お知らせ */
.news { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news a { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 18px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
@media (min-width: 768px) { .news a { grid-template-columns: 9em 7em minmax(0, 1fr); align-items: center; gap: 16px; } }
.news time { font-family: var(--font-en); color: var(--ink-3); font-size: var(--fs-sm); letter-spacing: .04em; }
.news .cat { font-size: var(--fs-xs); font-weight: 700; color: var(--navy); }
.news span.t { font-weight: 700; }
@media (hover: hover) { .news a:hover span.t { color: var(--navy); text-decoration: underline; } }

/* 記事 */
.article { max-width: var(--measure); }
.article h2 { font-size: clamp(1.3125rem, 1.15rem + .8vw, 1.75rem); margin: 2.2em 0 .8em; padding-top: .2em; }
.article h3 { margin: 1.8em 0 .6em; color: var(--navy); }
.article p, .article li { line-height: 2; }
.article .meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--fs-sm); color: var(--ink-3); }
.toc { border-radius: var(--r-md); background: var(--bg-soft); padding: 18px 22px; margin: 24px 0 8px; }
.toc b { font-size: var(--fs-sm); color: var(--navy); }
.toc ol { margin: 8px 0 0; font-size: var(--fs-sm); }
.toc a { display: inline-block; padding: 4px 0; }

/* ---------- 21. 出てくる動き ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---------- 22. 印刷（FAX依頼書・主治医に伝えるメモ） ---------- */
.print-sheet { max-width: 800px; margin: 0 auto; background: #fff; }
.print-sheet h1 { font-size: 1.5rem; color: var(--ink); }
.sheet-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.sheet-table th, .sheet-table td { border: 1px solid #444; padding: 10px 12px; text-align: left; vertical-align: top; }
.sheet-table th { width: 9em; background: #f3f3f3; font-weight: 700; }
.sheet-table td.write { height: 3.2em; }
.sheet-table td.write-lg { height: 7em; }
.print-actions { margin: 24px 0; }
@media print {
  @page { size: A4; margin: 14mm; }
  body { padding: 0 !important; font-size: 10.5pt; letter-spacing: 0; color: #000; }
  .site-header, .aud-bar, .site-footer, .sticky-cta, .draft-bar, .print-actions, .crumbs, .no-print, .skip { display: none !important; }
  .section, .hero { padding: 0 !important; }
  .hero__bg, .hero__motif { display: none !important; }
  a { color: #000; text-decoration: none; }
  .print-sheet { max-width: none; }
}

/* ---------- 23. 採用のヒーロー・数字のタイル・求人票 ---------- */
.hero--rec { padding: clamp(28px, 5vw, 56px) 0 clamp(48px, 6vw, 88px); }
.hero--rec .hero__in { display: grid; gap: clamp(32px, 4vw, 56px); }
@media (min-width: 1024px) { .hero--rec .hero__in { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; } }
.hero--rec .hero__title { font-size: clamp(2.125rem, 1.4rem + 3.4vw, 4rem); line-height: 1.28; }
.hero--rec .hero__title .sm { color: var(--navy-200); font-size: clamp(.875rem, .8rem + .35vw, 1.0625rem); letter-spacing: .1em; margin-bottom: 1.1em; }
.hero--rec .hero__lead { color: #fff; font-weight: 500; font-size: var(--fs-lg); max-width: 34rem; }
.hero--rec .btn-row { margin-top: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 18px; list-style: none; padding: 0; }
.chips li { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 700; color: #fff; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.chips li .ic { width: 16px; height: 16px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fact { border-radius: var(--r-lg); padding: 18px 18px 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); color: #fff; }
.fact__big { display: block; font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2rem); font-weight: 700; line-height: 1.15; letter-spacing: .02em; font-feature-settings: "palt" 1; }
.fact__big small { font-size: .5em; margin-left: 2px; letter-spacing: .04em; }
.fact__cap { display: block; margin-top: 8px; font-size: var(--fs-xs); color: var(--navy-100); line-height: 1.6; }
.fact--accent { background: #fff; color: var(--navy); border-color: #fff; }
.fact--accent .fact__cap { color: var(--ink-2); }
.hero--navy .hero__rings { opacity: .14; }
@media (max-width: 639px) { .hero--rec .btn-row .btn { flex: 1 1 100%; } }
.jobs { display: grid; gap: 16px; }
@media (min-width: 1024px) { .jobs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.pay-box { border-radius: var(--r-lg); background: #fff; color: var(--ink); padding: 20px 22px; margin-top: 24px; max-width: 36rem; }
.pay-box__label { font-size: var(--fs-xs); font-weight: 700; color: var(--red); letter-spacing: .08em; }
.pay-box__main { font-size: clamp(1.25rem, 1.1rem + .8vw, 1.625rem); font-weight: 700; color: var(--navy); margin-top: 4px; line-height: 1.5; }
.pay-box__sub { font-size: var(--fs-sm); color: var(--ink-2); }
.hero--navy .tags li { background: rgba(255, 255, 255, .12); color: #fff; }
.req-list { margin: 0; padding-left: 1.2em; }
.req-list li + li { margin-top: 4px; }
.reqs { display: grid; gap: 16px; }
@media (min-width: 768px) { .reqs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.honest { border-radius: var(--r-xl); border: 1.5px solid var(--navy-200); background: #fff; padding: clamp(22px, 3vw, 36px); }
.honest h3 { color: var(--navy); }
.honest ul { margin: 12px 0 0; padding-left: 1.2em; color: var(--ink-2); }
.honest li + li { margin-top: 6px; }
.quote { font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); font-weight: 700; color: var(--navy); line-height: 1.7; letter-spacing: .04em; border-left: 4px solid var(--red); padding: 4px 0 4px 18px; margin: 0 0 28px; font-feature-settings: "palt" 1; }
.status-card { border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); padding: clamp(20px, 2.6vw, 28px); }
.status-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.status-card__head b { color: var(--navy); font-size: var(--fs-h4); }
.status-card__head small { color: var(--ink-3); }
.status-card__lead { font-size: var(--fs-sm); color: var(--ink-2); margin: 0 0 14px; }
.method { display: grid; gap: 14px; }
@media (min-width: 768px) { .method { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.method a { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
@media (hover: hover) { .method a:hover { border-color: var(--navy-300); box-shadow: var(--shadow-2); transform: translateY(-2px); color: var(--ink); } }
.method a b { color: var(--navy); font-size: var(--fs-h4); }
.method a small { color: var(--ink-2); }
.method a.is-line { border-color: rgba(6, 199, 85, .45); }
.method a.is-line .card__icon { background: #e8f9ef; color: #068a3b; }
.qr { width: 132px; height: 132px; border-radius: 16px; border: 1.5px dashed var(--line-strong); display: grid; place-items: center; font-size: var(--fs-xs); color: var(--ink-3); text-align: center; background: #fff; flex: none; }
.line-box { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.form-card { border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); padding: clamp(20px, 3vw, 40px); }

.table--fees { min-width: 640px; }
.table--fees th:first-child { min-width: 15em; }
.table--fees td:last-child { font-size: var(--fs-xs); color: var(--ink-2); }

/* ---------- 24. ページの担当から共通にしたもの ---------- */
.h1-sub { display: block; margin-top: .55em; font-size: .5em; line-height: 1.6; letter-spacing: .04em; color: var(--ink); }
.on-navy .h1-sub, .hero--navy .h1-sub { color: var(--navy-100); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pills a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 16px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--navy-200); color: var(--navy); font-size: var(--fs-sm); font-weight: 700; text-decoration: none; }
.pills a:hover { background: var(--navy-50); color: var(--navy); }
.pills .ic { width: 18px; height: 18px; }
@media (max-width: 639px) { .table--stack td.num { text-align: left; } }
main a[href^="tel:"] { white-space: nowrap; }

/* ---------- 25. デザインレビュー（11/5）を受けた直し ---------- */
/* 紺の帯の中は赤を使わない（eyebrow の線・いまここ） */
.cta-band .eyebrow { color: var(--navy-200); }
.cta-band .eyebrow::before { background: #fff; }
.cta-band:not(.cta-band--soft) .roadmap__what b { color: #fff; }
.cta-band:not(.cta-band--soft) .roadmap__what span { color: var(--navy-100); }
.cta-band:not(.cta-band--soft) .roadmap li::after { background: rgba(255, 255, 255, .18); }
.cta-band:not(.cta-band--soft) .roadmap li::before { background: var(--navy); border-color: var(--navy-300); }
.cta-band:not(.cta-band--soft) .roadmap li.now::before { background: #fff; box-shadow: 0 0 0 3px #fff; border-color: var(--navy); }
.cta-band:not(.cta-band--soft) .roadmap li.now .roadmap__what b::after { background: #fff; color: var(--navy); }
.cta-band:not(.cta-band--soft) .roadmap__when { color: var(--navy-200); }
/* スマホのトップ: 最初の画面に入口3つと行動ボタンが収まるように */
@media (max-width: 639px) {
  .sp-hide { display: none; }
  .hero--home { padding-top: 20px; }
  .hero--home .hero__meta { margin-bottom: 12px; }
  .hero--home .hero__sub { display: none; }
  .hero--home .hero__lead { margin-top: 10px; }
  .hero--home .hero__in { gap: 20px; }
  .entry { min-height: 76px; padding: 14px 14px 14px 16px; }
}
.service-more { margin-top: 20px; }
/* 下層ページの頭（スマホ）: リードと「3行でいうと」を詰めて、本文を近づける */
@media (max-width: 639px) {
  .hero--page { padding-bottom: 28px; }
  .hero--page .hero__lead { font-size: .9375rem; line-height: 1.8; margin-top: 12px; }
  .tldr { margin-top: 18px; padding: 14px 16px 12px; }
  .tldr li { font-size: .9375rem; line-height: 1.7; }
}
/* 表: スクロールできることが分かる影 */
.table-wrap { background:
  linear-gradient(to right, #fff 30%, rgba(255, 255, 255, 0)), linear-gradient(to left, #fff 30%, rgba(255, 255, 255, 0)) 100% 0,
  radial-gradient(farthest-side at 0 50%, rgba(0, 23, 100, .14), rgba(0, 23, 100, 0)), radial-gradient(farthest-side at 100% 50%, rgba(0, 23, 100, .14), rgba(0, 23, 100, 0)) 100% 0;
  background-repeat: no-repeat; background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%; background-attachment: local, local, scroll, scroll; }
@media (max-width: 639px) { .table--fees.table--stack { min-width: 0; } .table--fees.table--stack th:first-child { min-width: 0; } }
/* 代表メッセージ（トップは短く） */
.message-mini { display: grid; gap: 24px; align-items: center; }
@media (min-width: 768px) { .message-mini { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; } }
.message-mini__photo { max-width: 200px; }
.message-mini h2 { font-size: clamp(1.25rem, 1.05rem + .9vw, 1.75rem); margin-bottom: 12px; }
.message-mini p { color: var(--ink-2); }
/* フッター: 相談先を先頭に。スマホのリンクは開閉 */
.site-footer .crisis { margin: 0 0 40px; }
.fnav summary { list-style: none; cursor: default; }
.fnav summary::-webkit-details-marker { display: none; }
@media (max-width: 767px) {
  .footer-nav { grid-template-columns: 1fr; gap: 0; }
  .fnav { border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .fnav summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
  .fnav summary h2 { margin: 0; font-size: var(--fs-sm); color: #fff; }
  .fnav summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--navy-200); border-bottom: 2px solid var(--navy-200); transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
  .fnav[open] summary::after { transform: rotate(-135deg); }
  .fnav ul { padding-bottom: 12px; }
}
/* 印刷: スクロールしていない所が白紙にならないように */
@media print { .js .reveal { opacity: 1 !important; transform: none !important; } .site-footer .crisis { display: none; } }

/* 関係機関トップの頭: スマホは 紹介文 → 受け入れ状況 → 3行、PCは左に紹介文と3行・右に受け入れ状況 */
.pro-hero { display: grid; gap: 22px; grid-template-areas: "intro" "status" "tldr"; }
.pro-hero__intro { grid-area: intro; } .pro-hero__status { grid-area: status; } .pro-hero__tldr { grid-area: tldr; }
.pro-hero > * { min-width: 0; }
.pro-hero .tldr { margin-top: 0; }
@media (min-width: 1024px) { .pro-hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "intro status" "tldr status"; gap: 24px clamp(28px, 4vw, 64px); align-items: start; } }

/* ---------- 26. 競合の実測（11/5）を受けた直し ---------- */
/* PC・iPad横: 3つの入口の帯とヘッダーを一緒にスクロールしても残す */
.masthead { position: sticky; top: 0; z-index: 50; }
html { scroll-padding-top: calc(var(--header-h) + 16px); }
@media (min-width: 1024px) { html { scroll-padding-top: calc(var(--header-h) + 60px); } }
/* 下層ページの頭のボタンはスマホで横いっぱい（押しやすく、そろって見える） */
@media (max-width: 639px) { .hero__actions .btn, .cta-band .btn-row .btn { flex: 1 1 100%; } }
/* トップのエリア判定はスマホでは地図を省く（地図は /area/ で） */
@media (max-width: 767px) { .tool--compact .area-map { display: none; } }

/* PC・iPad横ではフッターの見出しは開閉しない */
@media (min-width: 768px) { .fnav summary { pointer-events: none; } }

/* ---------- 27. 11/5 本人の決定（名前（仮）・開設準備中・代表の写真・計測の止め方・希望の候補） ---------- */
/* ロゴの横に「開設準備中」。紺の文字と赤い面が直接触れないよう、薄い赤の地に赤の文字 */
.brand__status { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: var(--r-pill); background: var(--red-50); color: var(--red); font-weight: 700; font-size: .625rem; letter-spacing: .06em; line-height: 1.5; vertical-align: 1px; white-space: nowrap; }
@media (min-width: 1024px) { .brand__status { font-size: .6875rem; } }
.footer-brand .brand__status { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .55); }
.aud-bar__contact b { white-space: nowrap; }
/* 下書きだけ: 開設前の文（公開でもこのまま出る）に点線 */
.pre { text-decoration: underline dotted #b39a00; text-underline-offset: 3px; }
/* 代表の写真（AI生成の注釈つき） */
.portrait { margin: 0; }
.portrait__note { margin-top: 6px; font-size: .75rem; color: var(--ink-3); line-height: 1.5; }
.on-navy .portrait__note { color: var(--navy-200); }
.message-mini--nophoto { grid-template-columns: minmax(0, 1fr) !important; }
/* 計測を止めるボタン */
.an-optout { margin-top: 20px; }
.an-optout .btn-row { margin-top: 10px; }
/* 希望の候補（確定は返信で） */
.slots-note { margin: 0 0 12px; font-size: var(--fs-xs); color: var(--ink-2); }
.qr svg { width: 100%; height: auto; display: block; }
.aud-tabs a { white-space: nowrap; }
