@charset "utf-8";
/* トップページ（/）。紙・墨・黄・朱の4色。字は端末の字（明朝は見出し、ゴシックは本文）。
   よそから何も読み込まない。動きは、動きを減らす設定では止める。 */
:root {
  --paper: #F3EDE2;
  --paper-2: #E9E1D2;
  --paper-3: #FBF8F2;
  --ink: #141414;
  --ink-2: #2A2724;
  --sub: #5A544B;
  --line: #D6CDBD;
  --yel: #FFD23F;
  --yel-soft: #FFF1BF;
  --shu: #B8321C;
  --shu-fill: #E2452B;
  --shu-soft: #FDF1EC;
  --sky: #CFE6FA;
  --on-ink: #EDE6DA;
  --on-ink-sub: #BDB5A8;
  --focus: #1E5FD6;
  --mincho: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", "Noto Serif CJK JP", serif;
  --gothic: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Yu Gothic UI", "Noto Sans JP", Meiryo, sans-serif;
  --num: Bahnschrift, "DIN Alternate", "Roboto Condensed", "Segoe UI", sans-serif;
  --side: 20px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@supports (width: max(1px, 2px)) {
  :root { --side: max(20px, 4vw); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 17px;
  line-height: 1.8;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 600; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--side); }
.sp { display: inline; }
@media (min-width: 720px) { .sp { display: none; } }
.hero-lead, .sec-h, .hk-t, .hk-h, .hero-also, .iri-t, .baton-t, .final-h, .turn-b, .loop-line p, .ex-tab, .hero-h1, .cols a, .stats span { word-break: keep-all; overflow-wrap: anywhere; }
.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 30; padding: 10px 16px; background: var(--ink); color: #FFFFFF; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ───── いちばん上の帯 ───── */
.top { padding: 18px 0 0; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: block; width: 13rem; max-width: 52vw; height: auto; }
.top-note { display: none; color: var(--sub); font-size: 14px; letter-spacing: .08em; }
@media (min-width: 720px) {
  .logo { width: 15rem; }
  .top-note { display: block; }
}

/* ───── ボタン ───── */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 64px; padding: 16px 30px;
  background: var(--ink); color: #FFFFFF;
  border-radius: 999px;
  font-size: 19px; font-weight: 700; letter-spacing: .02em; text-decoration: none;
  box-shadow: 0 10px 0 -4px var(--yel);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; color: var(--yel);
  animation: osu-wa 1.8s ease-out infinite; pointer-events: none;
}
.btn .ic { color: var(--yel); animation: osu-ya 1.8s ease-in-out infinite; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 0 -4px var(--yel); }
.btn:active { transform: translateY(2px); box-shadow: 0 6px 0 -4px var(--yel); }
.btn:focus-visible::before { animation: none; }
@keyframes osu-ya { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@keyframes osu-wa { 0% { box-shadow: 0 0 0 0 currentColor; opacity: .7; } 70% { box-shadow: 0 0 0 16px currentColor; opacity: 0; } 100% { box-shadow: 0 0 0 16px currentColor; opacity: 0; } }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 30px; }
.risk { color: var(--sub); font-size: 14px; }
.watch { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; color: var(--ink); text-decoration: none; font-weight: 700; }
.watch-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--ink); flex: none; transition: transform .2s var(--ease); }
.watch-ic .ic { width: 22px; height: 22px; fill: var(--ink); stroke-width: 1.6; margin-left: 3px; }
.watch-t { display: grid; line-height: 1.45; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--yel); }
.watch-t small { font-size: 13px; font-weight: 400; color: var(--sub); }
.watch:hover .watch-ic { transform: scale(1.08); }
.watch:hover .watch-t { text-decoration-color: var(--ink); }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--yel); }
.more:hover { text-decoration-color: var(--ink); }

/* ───── 見出しの共通 ───── */
.kicker { display: inline-block; margin-bottom: 14px; padding: 4px 14px; border: 2px solid currentColor; border-radius: 999px; font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.sec-h { font-family: var(--mincho); font-weight: 600; font-size: 34px; font-size: clamp(30px, 5.2vw, 56px); line-height: 1.32; letter-spacing: .02em; }
.sec-lead { margin-top: 14px; color: var(--sub); }

/* ───── 1. いちばん上 ───── */
.hero { position: relative; padding: 28px 0 48px; overflow: hidden; }
.hero-grid { display: grid; gap: 44px; }
.eyebrow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.eyebrow span { padding: 4px 12px; background: var(--ink); color: var(--yel); border-radius: 6px; font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.hero-h1 { font-family: var(--mincho); font-weight: 600; font-size: 42px; font-size: clamp(36px, 11.2vw, 76px); line-height: 1.18; letter-spacing: .01em; }
.hero-h1 .ln { display: block; white-space: nowrap; }
@media (min-width: 960px) {
  .hero-h1 { font-size: 56px; font-size: clamp(52px, 5.3vw, 80px); }
}
.hero-h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--yel) 62%, var(--yel) 92%, transparent 92%); }
.hero-lead { margin-top: 26px; font-size: 19px; font-weight: 700; line-height: 1.75; }
.hero-kazoku { display: grid; gap: 4px; margin-top: 18px; }
.kazoku { display: flex; align-items: flex-end; gap: 3px; }
.kazoku img { height: 42px; width: auto; }
.hero-also { color: var(--sub); font-size: 14px; line-height: 1.6; }
.hero-ex { position: relative; }
.enso { position: absolute; left: 50%; top: 46%; max-width: none; width: 158%; height: auto; transform: translate(-50%, -50%) rotate(-8deg); fill: none; stroke: var(--yel); stroke-linecap: round; pointer-events: none; z-index: 0; }
.enso-a { stroke-width: 30; stroke-dasharray: 1300; stroke-dashoffset: 0; }
.enso-b { stroke-width: 12; opacity: .55; stroke-dasharray: 1260; stroke-dashoffset: 0; }
.js .enso-a, .js .enso-b { stroke-dashoffset: 1300; transition: stroke-dashoffset 1.8s var(--ease) .2s; }
.js .enso.drawn .enso-a, .js .enso.drawn .enso-b { stroke-dashoffset: 0; }
.ex-card {
  position: relative; z-index: 1;
  background: #FFFFFF; border: 3px solid var(--ink); border-radius: 26px;
  padding: 20px 18px 16px;
  box-shadow: 10px 12px 0 var(--ink);
}
.ex-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; font-weight: 700; font-size: 15px; }
.ex-title span { color: var(--sub); font-weight: 400; font-size: 14px; }
.ex-tabs { display: none; }
.js .ex-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 14px 0 4px; padding: 5px; background: var(--paper-2); border-radius: 14px; }
.ex-tab {
  min-height: 48px; padding: 6px 3px; border: 0; border-radius: 10px; background: transparent; color: var(--ink);
  font: inherit; font-size: 13px; font-weight: 700; line-height: 1.35; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.ex-tab[aria-selected="true"] { background: var(--ink); color: #FFFFFF; }
.ex-panel { padding-top: 10px; }
@media (min-width: 400px) { .ex-tab { font-size: 14px; padding: 6px; } }
.ex-panel + .ex-panel { margin-top: 10px; border-top: 2px dashed var(--line); }
.js .ex-panel + .ex-panel { margin-top: 0; border-top: 0; }
.js .ex-panel[hidden] { display: none; }
.ex-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-bottom: 6px; }
.ex-label { font-weight: 700; }
.js .ex-label { display: none; }
.ex-cond { color: var(--sub); font-size: 14px; }
.ex-row { padding: 12px 2px 12px; border-top: 2px solid var(--paper-2); }
.ex-row:first-child { border-top: 0; }
.ex-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ex-name { font-weight: 700; font-size: 17px; display: inline-flex; align-items: center; gap: 8px; }
.ex-name::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--g, var(--ink)); border: 2px solid var(--ink); flex: none; }
.ex-amount { font-weight: 700; text-align: right; word-break: keep-all; line-height: 1.2; }
.ex-amount b { font-family: var(--num); font-size: 38px; font-weight: 700; letter-spacing: -.01em; margin: 0 2px; font-variant-numeric: tabular-nums; }
.ex-how { margin-top: 2px; color: var(--sub); font-size: 13px; line-height: 1.6; }
.ex-tags { margin-top: 6px; }
.tagpair { display: inline-flex; align-items: center; gap: 6px; margin-right: 6px; }
.tag { display: inline-block; padding: 1px 10px; border: 2px solid var(--ink); border-radius: 999px; background: var(--sky); font-size: 12px; font-weight: 700; line-height: 1.6; }
.tag-calc, .tag-estimate { border-style: double; border-width: 3px; background: transparent; }
.tag-voice { border-style: dashed; background: transparent; }
.tag-survey { background: var(--yel-soft); }
.pub { font-size: 12px; }
.ex-src { margin-top: 4px; font-size: 12px; line-height: 1.6; color: var(--sub); }
.ex-src a, .sources a, .ff-src a, .ex-census a { color: var(--ink); font-weight: 700; }
.ex-note { margin-top: 10px; padding-top: 10px; border-top: 2px solid var(--paper-2); font-size: 12px; line-height: 1.6; color: var(--sub); }
.ex-census { display: block; }
[data-group="1"] { --g: #7DB7E8; }
[data-group="2"] { --g: #A9D4F5; }
[data-group="5"] { --g: #FFD23F; }
.ex-amount b.bump { animation: bump .5s var(--ease); }
@keyframes bump { 0% { transform: translateY(6px); opacity: .2; } 100% { transform: none; opacity: 1; } }
.ex-amount b { display: inline-block; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: none; align-items: center; gap: 8px; color: var(--sub); font-size: 13px; text-decoration: none; letter-spacing: .08em; }
.scroll-cue .ic { animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

@media (min-width: 960px) {
  .hero { padding: 40px 0 120px; min-height: 88vh; }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 56px; }
  .ex-card { padding: 24px 26px 18px; }
  .scroll-cue { display: inline-flex; }
}

/* ───── ほかの入口（いちばん上のすぐ下） ───── */
.iriguchi { padding: 0 0 64px; }
.iri-in { display: grid; gap: 10px; }
.iri-list { display: grid; gap: 10px; }
.iri { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; min-height: 56px; padding: 10px 18px; background: var(--paper-3); color: var(--ink); border: 2px solid var(--ink); border-radius: 16px; text-decoration: none; transition: transform .2s var(--ease); }
.iri:hover { transform: translateY(-2px); }
.iri-t { grid-column: 1; font-weight: 700; line-height: 1.4; }
.iri-s { grid-column: 1; color: var(--sub); font-size: 13px; line-height: 1.5; }
.iri .ic { grid-column: 2; grid-row: 1 / span 2; }
.iri-jump { display: inline-flex; align-items: center; gap: 8px; justify-self: start; min-height: 48px; font-size: 15px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--yel); }
.iri-jump:hover { text-decoration-color: var(--ink); }
@media (min-width: 720px) {
  .iri-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (min-width: 960px) {
  .iriguchi { padding-bottom: 72px; }
  .iri-in { grid-template-columns: minmax(0, 2fr) auto; align-items: center; column-gap: 28px; }
  .hero-kazoku { grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: 12px; }
}

/* ───── 2. よくある輪（墨の地） ───── */
.loop { background: var(--ink); color: var(--on-ink); padding: 96px 0 104px; }
.loop .sec-h { color: #FFFFFF; }
.loop-grid { display: grid; gap: 28px; margin-top: 40px; }
.loop-stick { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px; }
.loop-fig { margin: 0; width: 100%; max-width: 360px; }
.loop-fig svg { display: block; width: 100%; height: auto; overflow: visible; }
.loop-track { fill: none; stroke: #3A3632; stroke-width: 10; }
.loop-arc { fill: none; stroke: var(--yel); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transform: rotate(-90deg); transform-origin: 200px 200px; transition: stroke-dashoffset .7s var(--ease); }
.loop-runner { transform-origin: 200px 200px; transition: transform .7s var(--ease); fill: var(--yel); }
.node circle { fill: #2A2724; stroke: #4A4540; stroke-width: 3; transition: fill .4s, stroke .4s; }
.node text { fill: var(--on-ink-sub); font-family: var(--gothic); font-size: 16px; font-weight: 700; text-anchor: middle; transition: fill .4s; }
.loop-mid { fill: #6E675E; font-family: var(--mincho); font-size: 26px; text-anchor: middle; }
.loop-fig[data-at="1"] .loop-arc { stroke-dashoffset: 80; }
.loop-fig[data-at="2"] .loop-arc { stroke-dashoffset: 60; }
.loop-fig[data-at="3"] .loop-arc { stroke-dashoffset: 40; }
.loop-fig[data-at="4"] .loop-arc { stroke-dashoffset: 20; }
.loop-fig[data-at="5"] .loop-arc { stroke-dashoffset: 0; }
.loop-fig[data-at="2"] .loop-runner { transform: rotate(72deg); }
.loop-fig[data-at="3"] .loop-runner { transform: rotate(144deg); }
.loop-fig[data-at="4"] .loop-runner { transform: rotate(216deg); }
.loop-fig[data-at="5"] .loop-runner { transform: rotate(288deg); }
.loop-fig[data-at="1"] .n1 circle, .loop-fig[data-at="2"] .n2 circle, .loop-fig[data-at="3"] .n3 circle, .loop-fig[data-at="5"] .n5 circle { fill: var(--yel); stroke: var(--yel); }
.loop-fig[data-at="4"] .n4 circle { fill: var(--shu-fill); stroke: var(--shu-fill); }
.loop-fig[data-at="1"] .n1 text, .loop-fig[data-at="2"] .n2 text, .loop-fig[data-at="3"] .n3 text, .loop-fig[data-at="5"] .n5 text { fill: var(--ink); }
.loop-fig[data-at="4"] .n4 text { fill: #FFFFFF; }
.no-js .loop-arc { stroke-dashoffset: 0; }
.loop-hito { width: 92px; filter: grayscale(.2); }
.loop-line { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-top: 1px solid #34302C; opacity: .32; transition: opacity .5s var(--ease), transform .5s var(--ease); transform: translateX(-6px); }
.loop-line.on, .no-js .loop-line { opacity: 1; transform: none; }
.loop-line .no { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--yel); color: var(--yel); display: grid; place-items: center; font-family: var(--num); font-weight: 700; font-size: 18px; margin-top: 8px; }
.loop-line p { font-family: var(--mincho); font-weight: 600; font-size: 30px; font-size: clamp(26px, 4.6vw, 46px); line-height: 1.4; color: #FFFFFF; }
.loop-line em { font-style: normal; color: #FF8A73; }
.loop-turn { margin-top: 64px; padding: 36px 0 0; border-top: 3px solid var(--yel); }
.turn-a { color: var(--on-ink-sub); font-size: 17px; }
.turn-b { margin-top: 14px; font-family: var(--mincho); font-weight: 600; font-size: 26px; font-size: clamp(24px, 3.8vw, 40px); line-height: 1.55; color: #FFFFFF; }
.turn-b .hl { color: var(--ink); background: var(--yel); padding: 0 .2em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (min-width: 960px) {
  .loop-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
  .loop-stick { grid-template-columns: 1fr; justify-items: start; }
  .loop-fig { max-width: 360px; }
  .loop-hito { position: absolute; right: 0; bottom: -20px; width: 104px; }
  .loop-line { padding: 20px 0; }
}

/* ───── 3. 映像 ───── */
.film { padding: 88px 0 96px; background: var(--ink); color: var(--on-ink); }
.film .kicker { color: var(--yel); }
.film .sec-h { margin-bottom: 30px; color: #FFFFFF; }
.film-frame { position: relative; border: 3px solid var(--yel); border-radius: 22px; overflow: hidden; background: #000000; box-shadow: 12px 14px 0 var(--yel); }
.film-sound {
  position: absolute; left: 50%; bottom: 16%; transform: translateX(-50%); z-index: 2;
  display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 26px 12px 14px;
  background: var(--yel); color: var(--ink); border: 3px solid var(--ink); border-radius: 999px;
  font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; white-space: nowrap;
  box-shadow: 0 8px 0 -2px var(--ink);
}
.film-sound[hidden] { display: none; }
.fs-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--yel); }
.fs-ic .ic { width: 22px; height: 22px; stroke-width: 2.2; }
.film-sound:hover { transform: translate(-50%, -2px); }
.film-frame.sounded .film-sound { display: none; }
.film-v { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--ink); }
.film-v.tall { aspect-ratio: 9 / 16; }
.film-frame.tall { max-width: 440px; margin: 0 auto; }
.film-note { position: absolute; top: 12px; right: 12px; z-index: 2; max-width: calc(100% - 24px); padding: 4px 12px; background: rgba(20, 20, 20, .86); color: #FFFFFF; border: 2px solid var(--yel); border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.5; }
.film-note[hidden] { display: none; }
.film-sub { margin-top: 20px; color: var(--on-ink-sub); font-size: 14px; }
.film-more { display: grid; gap: 12px; margin-top: 22px; }
.film-more details { background: var(--paper-3); color: var(--ink); border: 2px solid var(--ink); border-radius: 16px; padding: 4px 18px; }
.film-more summary { cursor: pointer; padding: 12px 0; font-weight: 700; }
.film-more details[open] { padding-bottom: 16px; }
.film-words { list-style: decimal; padding-left: 1.4em; display: grid; gap: 6px; font-size: 15px; }
.film-facts { display: grid; gap: 12px; margin-top: 10px; font-size: 15px; }
.film-facts b { display: block; }
.ff-how { display: block; color: var(--sub); font-size: 14px; }
.ff-src { display: block; color: var(--sub); font-size: 13px; }
@media (min-width: 960px) {
  .film-more { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* ───── 4. 地図：Web でできること・アプリでできること ───── */
.chizu { padding: 104px 0 96px; }
.chizu-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.yubi { flex: none; width: 54px; }
.chizu-lead { max-width: 40em; color: var(--ink-2); }
.chizu-lead b { background: linear-gradient(transparent 62%, var(--yel) 62%, var(--yel) 92%, transparent 92%); }
.hk2 { width: 100%; margin-top: 36px; border-collapse: separate; border-spacing: 0; }
.hk2 tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 10px; }
.hk2 .hk2-sp { display: none; }
.hk2 tr:has(.hk2-none) { grid-template-columns: 112px minmax(0, 1fr); }
.hk2 thead th { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 12px 14px; border: 3px solid var(--ink); border-radius: 18px; text-align: left; }
.hk2 thead .hk2-web { background: var(--yel); }
.hk2 thead .hk2-app { background: var(--ink); color: #FFFFFF; }
.hk2-n { font-family: var(--mincho); font-weight: 600; font-size: 24px; line-height: 1.3; }
.hk2-w { font-size: 14px; font-weight: 700; }
.hk2 thead .hk2-app .hk2-w { color: var(--yel); }
.hk2 tbody th { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding: 26px 0 10px; font-size: 19px; font-weight: 700; line-height: 1.4; text-align: left; }
.hk2-no { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border: 3px solid var(--ink); border-radius: 50%; background: #FFFFFF; font-family: var(--num); font-size: 20px; }
.hk2 tbody td { display: flex; flex-direction: column; align-items: flex-start; padding: 12px 14px 16px; border: 3px solid var(--ink); border-radius: 18px; font-size: 15px; line-height: 1.7; }
.hk2 td.hk2-web { background: var(--yel-soft); }
.hk2 td.hk2-app { background: var(--ink); color: var(--on-ink); }
.hk2 td.hk2-none { justify-content: center; align-items: center; padding: 12px 8px; background: var(--paper); border-style: dashed; border-color: var(--sub); color: var(--sub); }
.hk2-c { font-size: 13px; font-weight: 700; color: var(--sub); }
.hk2-app .hk2-c { color: var(--yel); }
.hk2-ok { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-weight: 700; }
.hk2-app .hk2-ok { color: var(--yel); }
.hk2-nai { display: flex; align-items: center; gap: 4px; margin-top: 2px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.hk2-nai span { color: var(--shu); }
.hk2-d { margin-top: 6px; }
.hk2-lead { margin-top: 6px; font-weight: 700; font-size: 16px; color: #FFFFFF; }
.hk2-lead span { display: inline-block; }
.hk2-web .go:any-link { align-self: stretch; justify-content: space-between; min-height: 52px; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.5; }
.hk2-baton td { grid-column: 1 / -1; display: flex; flex-direction: row; align-items: center; gap: 12px; margin-top: 22px; padding: 12px 18px; background: var(--yel-soft); border: 3px dashed var(--ink); border-radius: 18px; font-weight: 700; }
.baton-ic { flex: none; width: 48px; height: 24px; }
.baton-ic rect { fill: var(--shu-fill); stroke: var(--ink); stroke-width: 3; }
.hk2-iza th { color: var(--shu); }
.hk2 .hk2-iza td.hk2-app { background: var(--shu-soft); color: var(--ink); border-color: var(--shu); }
.hk2-iza .hk2-app .hk2-c, .hk2-iza .hk2-app .hk2-ok { color: var(--shu); }
.hk2-iza .hk2-lead { color: var(--ink); font-family: var(--mincho); font-size: 19px; }
.hk2-not { margin-top: 10px; padding: 6px 12px; border: 2px dashed var(--shu); border-radius: 12px; background: #FFFFFF; font-size: 14px; font-weight: 700; }
.hk-memo { margin-top: 18px; color: var(--sub); font-size: 14px; }
@media (min-width: 720px) {
  .hk2 tr { grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1fr); gap: 0 14px; }
  .hk2 tr:has(.hk2-none) { grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1fr); }
  .hk2 .hk2-sp { display: block; }
  .hk2 tbody tr { margin-top: 14px; }
  .hk2 tbody th { grid-column: auto; align-self: center; padding: 0; }
  .hk2 tbody td { font-size: 16px; }
  .hk2-c { display: none; }
  .hk2-baton td { grid-column: 1 / -1; justify-content: center; margin-top: 14px; }
}

.go { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; margin-top: 14px; padding: 10px 22px; background: #FFFFFF; color: var(--ink); border: 3px solid var(--ink); border-radius: 999px; box-shadow: 4px 5px 0 var(--ink); font-weight: 700; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.go:hover { transform: translate(-1px, -1px); box-shadow: 6px 7px 0 var(--ink); }
.go:active { transform: translate(2px, 3px); box-shadow: 2px 2px 0 var(--ink); }
@media (min-width: 720px) {
  .yubi { width: 96px; }
}

/* ───── 5. 災害のとき ───── */
.saigai { position: relative; padding: 104px 0; background: var(--ink); color: var(--on-ink); overflow: hidden; }
.saigai::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--yel) 0 18px, var(--ink) 18px 36px); }
.saigai .kicker { color: var(--yel); }
.saigai .sec-h { color: #FFFFFF; }
.saigai .sec-h em { font-style: normal; color: var(--yel); }
.saigai-text > p:not(.kicker) { margin-top: 20px; max-width: 34em; }
.saigai-list { display: grid; gap: 12px; margin-top: 22px; max-width: 36em; }
.saigai-list li { padding: 14px 18px; border: 2px solid #3A3632; border-left: 6px solid var(--yel); border-radius: 12px; }
.saigai-list b { display: block; color: #FFFFFF; }
.saigai-text > .saigai-tip { margin-top: 18px; color: var(--yel); font-weight: 700; }
.saigai-text > p.saigai-not { margin-top: 12px; padding: 10px 16px; border: 2px dashed var(--on-ink-sub); border-radius: 12px; color: #FFFFFF; font-weight: 700; }
.saigai-grid { display: grid; gap: 44px; align-items: center; }
.phone { justify-self: center; width: 280px; max-width: 80vw; padding: 12px; background: #000000; border-radius: 46px; box-shadow: 0 0 0 3px #3A3632, 0 30px 60px rgba(0, 0, 0, .45); }
.scr { background: #1C1A18; border-radius: 36px; padding: 0 0 22px; overflow: hidden; min-height: 540px; }
.scr-bar { margin-top: 38px; padding: 14px 20px; background: var(--shu-fill); color: #FFFFFF; font-weight: 700; font-size: 20px; }
.band { display: grid; margin: 14px 14px 0; padding: 14px 16px 14px 20px; background: #2E2B28; border-left: 6px solid var(--yel); border-radius: 12px; }
.band b { color: #FFFFFF; font-size: 17px; }
.band span { color: #CFC8BC; font-size: 14px; line-height: 1.6; }
.js .saigai .band { opacity: 0; transform: translateX(24px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .saigai.in .band { opacity: 1; transform: none; }
.js .saigai.in .band:nth-of-type(3) { transition-delay: .15s; }
.js .saigai.in .band:nth-of-type(4) { transition-delay: .3s; }
.js .saigai.in .band:nth-of-type(5) { transition-delay: .45s; }
.scr-note { margin-top: 18px; text-align: center; color: var(--yel); font-size: 14px; font-weight: 700; }
@media (min-width: 960px) {
  .saigai-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
}

/* ───── 6. 根拠 ───── */
.konkyo { padding: 104px 0; }
.stats { display: grid; gap: 14px; margin-top: 40px; }
.stats li { display: flex; align-items: baseline; gap: 14px; padding: 18px 22px; background: #FFFFFF; border: 3px solid var(--ink); border-radius: 22px; }
.stats b { font-family: var(--num); font-weight: 700; font-size: 64px; line-height: 1; color: var(--ink); text-shadow: 4px 4px 0 var(--yel); }
.stats span { font-weight: 700; }
.bases { display: grid; gap: 14px; margin-top: 18px; }
.base { padding: 20px 22px; border-radius: 22px; background: var(--paper-2); }
.base-name { display: inline-block; margin-bottom: 6px; padding: 2px 14px; border-radius: 999px; background: var(--ink); color: var(--yel); font-weight: 700; }
.src-h { margin-top: 48px; font-size: 20px; font-weight: 700; }
.sources { margin-top: 14px; display: grid; gap: 10px; font-size: 15px; }
.sources li { padding-left: 18px; position: relative; }
.sources li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; background: var(--yel); border: 2px solid var(--ink); border-radius: 50%; }
@media (min-width: 960px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats li { flex-direction: column; gap: 10px; }
  .stats b { font-size: 88px; }
  .bases { grid-template-columns: 1fr 1fr; }
}

/* ───── 7. コラム ───── */
.cols-sec { padding: 96px 0; background: var(--yel); }
.cols { display: grid; gap: 14px; margin-top: 30px; counter-reset: col; }
.cols li { counter-increment: col; }
.cols a {
  display: flex; align-items: center; gap: 16px; min-height: 92px; padding: 18px 22px;
  background: #FFFFFF; border: 3px solid var(--ink); border-radius: 22px; box-shadow: 6px 7px 0 var(--ink);
  font-family: var(--mincho); font-weight: 600; font-size: 21px; line-height: 1.45; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.cols a::before { content: "0" counter(col); font-family: var(--num); font-weight: 700; font-size: 26px; color: var(--sub); flex: none; }
.cols a:hover { transform: translate(-2px, -2px); box-shadow: 8px 9px 0 var(--ink); }
.cols-sec .more { text-decoration-color: var(--ink); }
.cols-sec .sec-lead { color: var(--ink-2); }
@media (min-width: 960px) {
  .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cols a { min-height: 150px; flex-direction: column; align-items: flex-start; justify-content: space-between; }
}

/* ───── 8. よくある質問 ───── */
.faq-sec { padding: 96px 0; }
.faq-grid { display: grid; gap: 28px; }
.faq-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.faq-head .hito { width: 60px; }
.faq details { border-top: 2px solid var(--ink); }
.faq details:last-child { border-bottom: 2px solid var(--ink); }
.faq summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--yel); border: 2px solid var(--ink); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details p { padding: 0 4px 22px; color: var(--ink-2); }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 64px; }
  .faq-head { flex-direction: column; align-items: flex-start; }
  .faq-head .hito { width: 84px; }
}

/* ───── 9. おわり ───── */
.final { position: relative; padding: 96px 0 0; background: var(--ink); color: #FFFFFF; text-align: center; overflow: hidden; }
.final-in { display: grid; justify-items: center; }
.final .hito { width: 88px; }
.final-h { margin-top: 18px; font-family: var(--mincho); font-weight: 600; font-size: 32px; font-size: clamp(30px, 5.6vw, 64px); line-height: 1.35; }
.final .cta-row { justify-content: center; }
.final .btn { background: var(--yel); color: var(--ink); box-shadow: 0 10px 0 -4px #FFFFFF; }
.final .btn .ic { color: var(--ink); }
.final .btn::before { color: var(--yel); }
.final .risk { color: var(--on-ink-sub); }
.okuri { margin: 56px 0 0; display: flex; align-items: flex-end; justify-content: center; gap: 4px; }
.okuri .hito { width: 220px; display: block; }
.okuri .pets { width: 92px; display: block; margin-bottom: 4px; }

/* ───── 下に出る小さなボタン ───── */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: center; padding: 10px var(--side) 14px; background: linear-gradient(rgba(243, 237, 226, 0), var(--paper) 40%); transform: translateY(160%); opacity: 0; transition: transform .35s var(--ease), opacity .35s var(--ease); pointer-events: none; }
.dock.show { transform: none; opacity: 1; pointer-events: auto; }
.dock-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 420px; min-height: 56px; padding: 12px 22px; background: var(--ink); color: #FFFFFF; border-radius: 999px; font-weight: 700; text-decoration: none; box-shadow: 0 8px 0 -4px var(--yel); }
.dock-btn .ic { color: var(--yel); }
@media (min-width: 960px) {
  .dock { left: auto; right: 24px; bottom: 24px; padding: 0; background: none; }
  .dock-btn { width: auto; }
}

/* ───── 下の欄 ───── */
.foot { background: #0B0B0B; color: var(--on-ink-sub); padding: 40px 0 96px; font-size: 14px; }
.foot ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { color: var(--on-ink); }
.foot p { margin-top: 18px; }

/* ───── 現れる動き ───── */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .btn::before, .btn .ic { animation: none; }
  .scroll-cue .ic { animation: none; }
}
@media print {
  .btn::before, .btn .ic { animation: none; }
  .dock, .film, .scroll-cue, .enso, .watch { display: none; }
  .loop, .saigai, .final, .foot { background: #FFFFFF; color: #000000; }
}
