/* クスナビ Web v3 試作 — タッチ: 淡い寒色グレーの地 × 1 色のコーラル × 極太見出し × Pixar 調 3D 素材
   トークンの値は brand (#E8837C / #B0654A / #2C2220) を維持、地色だけ HTA 流の寒色グレーに振る (要けんせい判断)。 */
:root {
  --accent: #E8837C; --accent-dark: #DC6F68; --accent-deep: #C9584F; --accent-pale: #FBE9E6;
  --primary: #B0654A; --sage: #8DB596; --sage-dark: #5F8B6B; --sage-light: #E3F0E6;
  --bg: #E9ECEF; --bg-2: #F3F5F7; --surface: #FFFFFF; --ink: #22272A; --text: #22272A; --text-light: #4D5559; --text-muted: #8A9398;
  --line: #CCD2D5;
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1); --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-sm: 0 2px 10px rgba(34,39,42,0.06); --shadow-md: 0 14px 40px rgba(34,39,42,0.10); --shadow-lg: 0 30px 80px rgba(34,39,42,0.16);
  --r-lg: 26px; --r-md: 16px;
  --gutter: clamp(20px, 5vw, 80px);
  --display: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --body: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --en: "Hanken Grotesk", "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis { scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 15.5px; line-height: 1.95; font-feature-settings: "palt"; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1280px, 100% - var(--gutter) * 2); margin-inline: auto; }

/* ---------- 部品 ---------- */
.cap { display: inline-flex; align-items: center; gap: .5em; font-family: var(--en); font-size: 12px; letter-spacing: .12em; color: var(--text-muted); font-weight: 500; }
.cap::before { content: "["; } .cap::after { content: "]"; }
.cap.on-dark { color: rgba(255,255,255,.8); }
.display { font-family: var(--display); font-weight: 900; line-height: 1.1; letter-spacing: .02em; margin: 0; font-size: clamp(42px, 8.2vw, 124px); color: var(--accent); }
.display.ink { color: var(--ink); } .display.white { color: #fff; }
.h2 { font-family: var(--display); font-weight: 900; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.35; margin: 0; letter-spacing: .02em; }
.lead { font-size: clamp(14.5px, 1.15vw, 17px); color: var(--text-light); margin: 0; max-width: 34em; }
.en { font-family: var(--en); }
.ghost { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; pointer-events: none; font-family: var(--en); font-weight: 700; font-size: clamp(90px, 18vw, 280px); color: rgba(255,255,255,.55); letter-spacing: -.03em; line-height: 1; user-select: none; }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 12px 8px 12px 24px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14.5px; border: 0; cursor: pointer; transition: transform .5s var(--ease-expo), background .3s; }
.btn:hover { transform: translateY(-2px); background: #000; }
.btn .arr { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 13px; }
.btn.coral { background: var(--accent); } .btn.coral:hover { background: var(--accent-dark); } .btn.coral .arr { color: var(--accent); }
.btn.white { background: #fff; color: var(--accent); } .btn.white .arr { background: var(--accent); color: #fff; }
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-expo), transform 1s var(--ease-expo); }
.rv.in { opacity: 1; transform: none; }
.rv[data-d="1"] { transition-delay: .1s } .rv[data-d="2"] { transition-delay: .2s } .rv[data-d="3"] { transition-delay: .3s } .rv[data-d="4"] { transition-delay: .4s }

/* ---------- ヘッダー ---------- */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 76px; display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gutter); }
.hd-logo { display: flex; align-items: center; gap: 12px; }
.hd-logo img { height: 28px; width: auto; }
.hd-logo small { font-family: var(--en); font-size: 10px; letter-spacing: .14em; color: var(--text-muted); display: block; line-height: 1.2; }
.hd-right { display: flex; align-items: center; gap: 10px; }
.hd-cta { background: var(--ink); color: #fff; }
.menu-pill { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 6px 0 20px; border-radius: 999px; background: var(--accent); color: #fff; border: 0; font-family: var(--en); font-weight: 700; letter-spacing: .1em; font-size: 12px; cursor: pointer; box-shadow: var(--shadow-sm); }
.menu-pill i { width: 32px; height: 32px; border-radius: 50%; background: #fff; position: relative; display: block; }
.menu-pill i::before, .menu-pill i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--accent); transform: translate(-50%, -50%); transition: transform .4s var(--ease-expo); }
.menu-pill i::after { transform: translate(-50%, -50%) rotate(90deg); }
body.menu-open .menu-pill i::before { transform: translate(-50%, -50%) rotate(45deg); }
body.menu-open .menu-pill i::after { transform: translate(-50%, -50%) rotate(-45deg); }
@media (max-width: 960px) { .hd-cta { display: none; } }

.menu { position: fixed; inset: 0; z-index: 40; background: var(--accent); color: #fff; clip-path: circle(0 at calc(100% - 64px) 38px); transition: clip-path .8s var(--ease-expo); visibility: hidden; display: grid; grid-template-columns: 1.1fr .9fr; padding: 120px var(--gutter) 60px; gap: 40px; }
body.menu-open .menu { clip-path: circle(150% at calc(100% - 64px) 38px); visibility: visible; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu-main li a { display: flex; align-items: baseline; gap: 18px; font-family: var(--display); font-size: clamp(28px, 4vw, 54px); font-weight: 900; line-height: 1.5; }
.menu-main li a small { font-family: var(--en); font-size: 12px; letter-spacing: .14em; font-weight: 500; opacity: .8; }
.menu-sub { font-size: 15px; display: grid; gap: 10px; align-content: start; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.4); }
.menu-sub .cap { color: rgba(255,255,255,.8); margin-bottom: 6px; }
@media (max-width: 760px) { .menu { grid-template-columns: 1fr; padding-top: 100px; overflow: auto; } }

/* ---------- ヒーロー: キャラが画面を占める。見出しは白タイルの縦組み ---------- */
.hero { position: relative; height: 240vh; }
.hero-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.hero-ghost { position: absolute; top: 52%; left: -2%; transform: none; font-size: clamp(120px, 22vw, 340px); color: rgba(255,255,255,.6); z-index: 1; }
/* 場面 1: 3 人 (別レイヤー)。idle は浮遊 + わずかな揺れ、スクロールで退場 */
.scene { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.scene-1 .char { position: absolute; bottom: 0; height: min(78vh, 760px); width: auto; will-change: transform; transform-origin: 50% 100%; }
.char-p { left: 19%; } .char-d { left: 40%; height: min(84vh, 820px) !important; z-index: 2; } .char-e { left: 62%; }
.scene-1 .floor-shadow { position: absolute; left: 20%; right: 10%; bottom: -3%; height: 12%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(34,39,42,.22), rgba(34,39,42,0) 70%); filter: blur(10px); }
@keyframes charIdle { 0%,100% { translate: 0 0; rotate: 0deg } 50% { translate: 0 -7px; rotate: .4deg } }
.scene-1 .char-p { animation: charIdle 4.3s ease-in-out infinite; }
.scene-1 .char-d { animation: charIdle 5.1s ease-in-out -1.7s infinite; }
.scene-1 .char-e { animation: charIdle 4.7s ease-in-out -3.1s infinite; }
/* 場面 2: 街を見下ろす */
.scene-2 { opacity: 0; transform: translateY(60vh); will-change: transform, opacity; }
.scene-2 .town { position: absolute; left: 50%; bottom: -6%; width: min(1000px, 86vw); transform: translateX(-50%); z-index: 3; filter: drop-shadow(0 40px 40px rgba(34,39,42,.22)); animation: townIdle 7s ease-in-out infinite; }
@keyframes townIdle { 0%,100% { translate: 0 0 } 50% { translate: 0 -10px } }
.scene-2 .char2 { position: absolute; height: min(50vh, 480px); width: auto; bottom: 36%; z-index: 1; filter: brightness(.97); animation: charIdle 5.3s ease-in-out infinite; }
.char2-p { left: 20%; animation-delay: -1.1s !important; } .char2-d { left: 42%; height: min(55vh, 520px) !important; } .char2-e { left: 64%; animation-delay: -2.4s !important; }
@media (max-width: 960px) {
  .scene-1 .char { height: 56vh; } .char-p { left: -4%; } .char-d { left: 28%; height: 62vh !important; } .char-e { left: 60%; }
  .scene-2 .town { width: 130vw; bottom: 10%; } .scene-2 .char2 { height: 34vh; bottom: 50%; } .char2-p { left: 0; } .char2-d { left: 30%; height: 38vh !important; } .char2-e { left: 62%; }
}
.hero-tiles { position: absolute; left: var(--gutter); top: 88px; z-index: 4; display: flex; align-items: flex-start; gap: clamp(8px, 1vw, 14px); height: min(72vh, 680px); }
.tile { writing-mode: vertical-rl; background: #fff; color: var(--accent); font-family: var(--display); font-weight: 900; font-size: clamp(28px, 4.2vw, 62px); line-height: 1; padding: clamp(14px, 1.6vw, 22px) clamp(6px, .7vw, 10px); letter-spacing: .08em; box-shadow: var(--shadow-sm); clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-expo); }
.tile.in { clip-path: inset(0 0 0 0); }
.tile.out { clip-path: inset(100% 0 0 0); transition: clip-path .7s var(--ease-expo); }
.tiles-2 { margin: 0; }
.hero .tile { transition: none; }
.hero .hero-lead { transition: none; }
.tile.ink { color: var(--ink); } .tile:nth-child(2) { margin-top: clamp(60px, 10vh, 120px); } .tile:nth-child(3) { margin-top: clamp(20px, 4vh, 48px); }
.tile .dot { color: var(--accent); }
.hero-side { position: absolute; right: var(--gutter); top: 112px; z-index: 4; display: grid; gap: 10px; font-size: 13.5px; font-weight: 700; color: var(--text-light); text-align: left; }
.hero-side .cap { margin-bottom: 8px; }
.hero-side a { display: inline-flex; gap: 10px; align-items: center; }
.hero-side a::before { content: ""; width: 12px; height: 2px; background: var(--accent); transition: width .4s var(--ease-expo); }
.hero-side a:hover::before { width: 24px; }
.hero-lead { position: absolute; left: var(--gutter); bottom: 90px; z-index: 4; max-width: 24em; font-size: clamp(14px, 1.15vw, 17px); font-weight: 700; color: var(--text); line-height: 2; background: rgba(233,236,239,.7); backdrop-filter: blur(6px); padding: 14px 18px; border-radius: 14px; transition: opacity .8s, transform .8s var(--ease-expo); }
.hero-lead:not(.in) { opacity: 0; transform: translateY(12px); }
.hero-scroll { position: absolute; left: var(--gutter); bottom: 28px; z-index: 4; display: flex; align-items: center; gap: 12px; font-family: var(--en); font-size: 11px; letter-spacing: .22em; color: var(--text-muted); }
.hero-scroll i { width: 1px; height: 44px; background: var(--text-muted); position: relative; overflow: hidden; display: block; }
.hero-scroll i::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--accent); animation: scrollLine 1.8s var(--ease-expo) infinite; }
@keyframes scrollLine { to { top: 100% } }
.hero-prog { position: absolute; right: var(--gutter); bottom: 28px; z-index: 4; font-family: var(--en); font-size: 12px; letter-spacing: .14em; color: var(--text-muted); display: flex; align-items: center; gap: 12px; }
.hero-prog b { color: var(--ink); font-weight: 700; font-size: 22px; }
.hero-prog .bar { width: 80px; height: 2px; background: var(--line); position: relative; }
.hero-prog .bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%); background: var(--accent); }
/* くすまる: 画面右下、キャラの前にちょこんと (2D フラット・正本 SVG) */
.km-wrap { position: absolute; right: clamp(16px, 6vw, 120px); bottom: 6vh; width: clamp(110px, 12vw, 170px); z-index: 5; }
.km-body { position: relative; animation: kmFloat 4s ease-in-out infinite; }
.km-body svg { width: 100%; height: auto; transition: opacity .22s; }
.km-body.swap svg { opacity: .7; }
.km-shadow { width: 62%; height: 10%; margin: 4px auto 0; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(34,39,42,.3), rgba(34,39,42,0) 70%); animation: kmShadow 4s ease-in-out infinite; }
.km-wrap.enter .km-body { animation: kmEnter .45s var(--ease-expo) both, kmFloat 4s ease-in-out .45s infinite; }
@keyframes kmFloat { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }
@keyframes kmShadow { 0%,100% { transform: scaleX(1); opacity: .9 } 50% { transform: scaleX(.78); opacity: .55 } }
@keyframes kmEnter { from { opacity: 0; transform: translateY(24px) scale(.92) } to { opacity: 1; transform: none } }
.km-eye-l, .km-eye-r { animation: kmBlink 5.2s infinite; } .km-eye-r { animation-delay: .04s; }
@keyframes kmBlink { 0%, 92%, 100% { transform: scaleY(1) } 94% { transform: scaleY(.08) } 96% { transform: scaleY(1) } 97.5% { transform: scaleY(.08) } 99% { transform: scaleY(1) } }
.km-pupil { transition: transform .35s var(--ease-expo); }
.km-speech { position: absolute; right: 100%; bottom: 60%; margin-right: 10px; white-space: nowrap; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 16px 16px 4px 16px; font-size: 13.5px; font-weight: 700; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .5s, transform .5s var(--ease-expo); }
.km-speech.show { opacity: 1; transform: none; }
@media (max-width: 960px) {
  .hero { height: 200vh; }
  .hero-side, .hero-prog { display: none; }
  .hero-tiles { top: 84px; }
  .hero-tiles { height: min(62vh, 520px); }
  .hero-lead { bottom: 70px; max-width: calc(100% - var(--gutter) * 2); font-size: 13px; }
  .km-wrap { width: 24vw; right: 10px; bottom: 9vh; }
}

/* ---------- ナラティブ (右寄せの短文が順に出る) ---------- */
.narr { position: relative; padding: clamp(90px, 14vw, 220px) 0 clamp(60px, 8vw, 120px); }
.narr-lines { display: grid; gap: clamp(40px, 7vw, 110px); justify-items: end; }
.narr-lines p { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(17px, 1.7vw, 24px); line-height: 2; max-width: 22em; text-align: left; }
.narr-lines p strong { color: var(--accent); }
.narr-cta { display: flex; justify-content: flex-end; margin-top: clamp(40px, 6vw, 80px); }
/* クスナビとは (白い囲みカード) */
.about { padding: 0 0 clamp(80px, 11vw, 160px); }
.about-card { background: var(--bg-2); border: 1px solid #fff; border-radius: 14px; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: .9fr 1.5fr .9fr; gap: 32px; align-items: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.about-card h2 { font-family: var(--display); font-weight: 900; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.5; margin: 0 0 10px; }
.about-card p { margin: 0; color: var(--text-light); font-size: 14.5px; }
.about-card .pic { aspect-ratio: 4/3; border-radius: 120px 24px 120px 24px; overflow: hidden; }
.about-card .pic img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) { .about-card { grid-template-columns: 1fr; } }

/* ---------- できること: 巨大見出し + はみ出すジオラマ + 01/02/03 ---------- */
.features { position: relative; padding: 0 0 clamp(120px, 14vw, 220px); }
.features-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(60px, 7vw, 110px); flex-wrap: wrap; }
.features-head .cap-row { display: flex; justify-content: space-between; width: 100%; margin-bottom: 8px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 40px); align-items: start; }
.card { position: relative; background: var(--surface); border-radius: 14px; padding: 0 0 28px; box-shadow: var(--shadow-sm); transition: transform .6s var(--ease-expo), box-shadow .6s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card:nth-child(2) { margin-top: 48px; } .card:nth-child(3) { margin-top: 96px; }
.card-art { position: relative; margin: -14% 6% 0; aspect-ratio: 1 / 1; }
.card-art img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(34,39,42,.14)); transition: transform 1.2s var(--ease-expo); }
.card:hover .card-art img { transform: translateY(-6px) scale(1.03); }
.card-art .num { position: absolute; top: -8%; right: 0; font-family: var(--en); font-weight: 700; font-size: clamp(56px, 6vw, 92px); color: #fff; line-height: 1; letter-spacing: -.02em; z-index: -1; }
.card-body { padding: 10px 26px 0; }
.card-body h3 { margin: 0 0 10px; font-family: var(--display); font-size: 20px; font-weight: 900; line-height: 1.55; background: #fff; display: inline; }
.card-body p { margin: 10px 0 0; font-size: 14px; color: var(--text-light); }
.card-body .cap { margin-bottom: 10px; display: flex; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; gap: 64px; } .card:nth-child(n) { margin-top: 0; } }

/* ---------- コーラルの大きな面 (斜めブロブ) + 名札カード ---------- */
.field { position: relative; color: #fff; padding: clamp(80px, 11vw, 160px) 0 clamp(90px, 12vw, 180px); isolation: isolate; }
.field::before { content: ""; position: absolute; inset: 0; background: var(--accent); z-index: -1; clip-path: polygon(0 10%, 38% 0, 42% 8%, 100% 2%, 100% 92%, 60% 100%, 56% 93%, 0 98%); }
.field-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.field .display { font-size: clamp(30px, 4.2vw, 60px); color: #fff; line-height: 1.3; }
.field p.lead { color: rgba(255,255,255,.92); margin-top: 20px; }
.badges { position: relative; height: clamp(320px, 36vw, 520px); }
.badge { position: absolute; width: clamp(150px, 15vw, 230px); background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 10px 16px; box-shadow: var(--shadow-lg); transition: transform .8s var(--ease-expo); }
.badge .strap { height: 14px; width: 60%; margin: -24px auto 10px; background: var(--ink); border-radius: 4px 4px 0 0; }
.badge .face { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--bg); }
.badge .face img { width: 300%; max-width: none; height: 130%; object-fit: cover; object-position: 50% 0; transform-origin: 0 0; }
.badge.b1 { left: 2%; top: 14%; transform: rotate(-9deg); border-top: 8px solid var(--accent-deep); }
.badge.b2 { left: 36%; top: 2%; transform: rotate(4deg); border-top: 8px solid var(--sage-dark); }
.badge.b3 { left: 66%; top: 20%; transform: rotate(10deg); border-top: 8px solid var(--primary); }
.badge.b1 .face img { transform: translateX(-2%); } .badge.b2 .face img { transform: translateX(-35%); } .badge.b3 .face img { transform: translateX(-67%); }
.badge h4 { margin: 10px 0 0; font-family: var(--display); font-weight: 900; font-size: 17px; text-align: center; }
.badge small { display: block; text-align: center; font-size: 11px; color: var(--text-muted); font-family: var(--en); letter-spacing: .08em; }
.badges:hover .badge { transform: rotate(0); }
@media (max-width: 960px) { .field-grid { grid-template-columns: 1fr; } .badges { height: 300px; } }

/* ---------- お知らせ ---------- */
.news { padding: 0 0 clamp(90px, 12vw, 180px); }
.news-grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: stretch; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 24px 6px; border-bottom: 1px dashed var(--line); align-items: center; }
.news-list h3 { margin: 0 0 6px; font-family: var(--display); font-size: 17px; font-weight: 700; line-height: 1.6; }
.news-list p { margin: 0 0 10px; font-size: 13.5px; color: var(--text-light); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.news-list .meta { display: flex; gap: 14px; align-items: center; font-size: 12px; color: var(--text-muted); font-family: var(--en); }
.news-list .meta .tag { font-family: var(--body); color: var(--accent); background: var(--accent-pale); padding: 3px 10px; border-radius: 999px; font-weight: 700; }
.news-list .meta .tag.g { color: var(--sage-dark); background: var(--sage-light); }
.news-list .go { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--accent); }
.news-side { border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; display: flex; flex-direction: column; gap: 22px; }
.news-side .vert { writing-mode: vertical-rl; font-family: var(--display); font-weight: 900; font-size: clamp(44px, 5vw, 76px); color: var(--accent); line-height: 1.05; letter-spacing: .08em; align-self: center; }
.news-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; font-weight: 700; color: var(--text-light); }
.news-side ul li::before { content: "→ "; color: var(--accent); }
.news-side ul li:first-child { border: 1.5px dashed var(--ink); border-radius: 999px; padding: 2px 12px; width: fit-content; color: var(--ink); }
@media (max-width: 860px) { .news-grid { grid-template-columns: 1fr; } .news-side .vert { writing-mode: horizontal-tb; } }

/* ---------- 安心・安全 ---------- */
.safety { padding: 0 0 clamp(90px, 12vw, 180px); }
.safety-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.safety-left .h2 { margin: 14px 0 18px; }
.safety-left p { color: var(--text-light); margin: 0 0 24px; }
.pages { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pages li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 700; }
.pages li span.tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--text-muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.pages li span.tag.ok { color: var(--sage-dark); border-color: var(--sage); background: var(--sage-light); }
.safety-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.scard { background: var(--surface); border-radius: var(--r-md); padding: 24px 22px 26px; box-shadow: var(--shadow-sm); }
.scard .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; background: var(--accent-pale); color: var(--accent); }
.scard.g .ic { background: var(--sage-light); color: var(--sage-dark); }
.scard h3 { margin: 0 0 6px; font-family: var(--display); font-size: 17px; font-weight: 900; }
.scard p { margin: 0; font-size: 13.5px; color: var(--text-light); }
.scard small { display: block; margin-top: 10px; font-size: 12px; color: var(--text-muted); }
@media (max-width: 860px) { .safety-grid, .safety-cards { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { padding: 0 0 clamp(90px, 12vw, 180px); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; font-family: var(--display); font-weight: 700; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--accent); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease-expo); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq details p { margin: 0; padding: 0 4px 22px; color: var(--text-light); font-size: 14.5px; }
.faq details p small { display: block; margin-top: 8px; color: var(--text-muted); font-size: 12.5px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- CTA バナー: 回る円形ラベル + 街のジオラマ ---------- */
.cta { padding: 0 0 clamp(80px, 10vw, 140px); }
.banner { display: grid; grid-template-columns: 180px 1fr; gap: 4px; }
.banner .disc { background: var(--accent-deep); border-radius: 24px 4px 4px 24px; display: grid; place-items: center; position: relative; min-height: 100%; }
.banner .disc svg { width: 130px; height: 130px; animation: spin 14s linear infinite; }
.banner .disc svg text { font-family: var(--en); font-size: 13px; letter-spacing: .3em; fill: #fff; font-weight: 700; }
.banner .disc .arrow { position: absolute; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--accent-deep); display: grid; place-items: center; font-size: 22px; }
@keyframes spin { to { transform: rotate(360deg) } }
.banner .main { position: relative; background: var(--accent); color: #fff; border-radius: 4px 24px 24px 4px; padding: clamp(32px, 4.5vw, 64px) clamp(28px, 4vw, 60px); overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px; }
.banner .main .display { font-size: clamp(32px, 4.4vw, 62px); color: #fff; line-height: 1.25; }
.banner .main p { margin: 16px 0 24px; color: rgba(255,255,255,.92); font-weight: 700; }
.banner .main .town { position: relative; }
.banner .main .town img { width: 120%; max-width: none; transform: translate(4%, 6%); filter: drop-shadow(0 30px 30px rgba(0,0,0,.25)); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cta-actions small { font-size: 12.5px; color: rgba(255,255,255,.85); }
/* CTA のくすまる (別スクロール位置) */
.cta-km { position: absolute; left: 44%; bottom: 10%; width: clamp(90px, 9vw, 130px); z-index: 3; }
.cta-km .km-shadow { background: radial-gradient(ellipse at center, rgba(0,0,0,.3), rgba(0,0,0,0) 70%); }
@media (max-width: 960px) { .banner { grid-template-columns: 1fr; } .banner .disc { min-height: 160px; border-radius: 24px 24px 4px 4px; } .banner .main { grid-template-columns: 1fr; border-radius: 4px 4px 24px 24px; } .cta-km { display: none; } }

/* ---------- フッター (明るい地 + 大きな一言) ---------- */
.ft { padding: clamp(60px, 8vw, 110px) 0 36px; }
.ft-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.ft-state { font-family: var(--display); font-weight: 900; font-size: clamp(24px, 2.6vw, 36px); color: var(--accent); line-height: 1.5; margin: 0; }
.ft-col h4 { margin: 0 0 14px; font-family: var(--en); font-size: 12px; letter-spacing: .14em; color: var(--text-muted); font-weight: 600; }
.ft-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; font-weight: 700; }
.ft-col ul a:hover { color: var(--accent); }
.ft-col .soon { font-size: 10.5px; letter-spacing: .08em; color: var(--text-muted); margin-left: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 1px 7px; font-weight: 500; }
.ft-bottom { margin: 48px 0 0; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.ft-bottom img { height: 26px; }
.ft-bottom p { margin: 0; font-size: 12px; color: var(--text-muted); max-width: 48em; }
@media (max-width: 960px) { .ft-top { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .km-body, .km-shadow, .km-eye-l, .km-eye-r, .hero-scroll i::after, .banner .disc svg, .char, .char2, .town { animation: none !important; }
  .rv, .tile, .hero-lead { opacity: 1; transform: none; transition: none; clip-path: none; }
  .km-speech { transition: none; }
}
