/* =========================================================
   青木俊輔 取材・出演窓口 — site.css (v2)
   tokens → base → components → sections
   ========================================================= */

@font-face {
  font-family: "Shippori Mincho B1";
  src: url("../fonts/shippori-mincho-b1-800.subset.woff2") format("woff2");
  font-weight: 700 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Shippori Mincho B1";
  src: url("../fonts/shippori-mincho-b1-600.subset.woff2") format("woff2");
  font-weight: 500 699; font-style: normal; font-display: swap;
}

:root {
  --paper: #f3efe6;
  --paper-2: #e9e3d6;
  --paper-3: #ddd5c4;
  --ink: #16140f;
  --ink-deep: #0e0d0a;
  --ink-2: #3f3b33;
  --ink-3: #6a6458;
  --red: #c8241b;          /* 紙色・白文字ともに AA */
  --red-deep: #9e1a13;
  --red-hot: #ff5a45;      /* 墨色の背景上で使う赤（AA） */
  --line: rgba(22, 20, 15, .16);
  --line-strong: rgba(22, 20, 15, .55);
  --line-light: rgba(243, 239, 230, .18);
  --white: #fffdf8;

  --f-display: "Shippori Mincho B1", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --f-body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic UI", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --iso-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='69.28' height='40' viewBox='0 0 69.28 40'%3E%3Cpath d='M0 0 L69.28 40 M69.28 0 L0 40' stroke='%23ffffff' stroke-opacity='.06' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  --iso-grid-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='69.28' height='40' viewBox='0 0 69.28 40'%3E%3Cpath d='M0 0 L69.28 40 M69.28 0 L0 40' stroke='%2316140f' stroke-opacity='.06' stroke-width='1' fill='none'/%3E%3C/svg%3E");
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 1rem; line-height: 1.85; letter-spacing: .02em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
em { font-style: normal; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible, .reach :focus-visible, .film :focus-visible, .works :focus-visible, .contact :focus-visible, .site-footer :focus-visible, .ticker :focus-visible { outline-color: #ffd23f; }
::selection { background: var(--red); color: var(--white); }

/* 見出しは tools/phrase_breaks.py が文節を <span class="ph"> で包み、文節の間でだけ改行する */
h1, h2, h3, .docs__title, .serial__name, .phone__title { text-wrap: balance; }
.ph { white-space: nowrap; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pc { display: none; }
@media (min-width: 900px) { .pc { display: inline; } }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--white); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }

.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--red-hot); transform-origin: 0 50%; transform: scaleX(0); }

.ext::after {
  content: ""; display: inline-block; width: .72em; height: .72em; margin-left: .35em; vertical-align: .02em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1h7v7h-1.5V3.6L2.1 11 1 9.9 8.4 2.5H4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1h7v7h-1.5V3.6L2.1 11 1 9.9 8.4 2.5H4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* crop marks for photos (technical-drawing feel) */
.frame { position: relative; }
.frame::before, .frame::after { content: ""; position: absolute; width: 16px; height: 16px; border: 0 solid var(--red); pointer-events: none; z-index: 1; }
.frame::before { left: -7px; top: -7px; border-left-width: 2px; border-top-width: 2px; }
.frame::after { right: -7px; bottom: -7px; border-right-width: 2px; border-bottom-width: 2px; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .8em;
  min-height: 52px; padding: .7em 1.6em; background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font-weight: 700; font-size: .95rem; letter-spacing: .06em; line-height: 1.4; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn--red { --bg: var(--red); --bd: var(--red); }
.btn--red:hover { --bg: var(--red-deep); --bd: var(--red-deep); }
.btn--ink:hover { --bg: var(--red); --bd: var(--red); }
.btn--white { --bg: var(--white); --fg: var(--ink); --bd: var(--white); }
.btn--white:hover { --bg: transparent; --fg: var(--white); }
.btn--sm { min-height: 42px; padding: .45em 1.1em; font-size: .85rem; }
.btn--block { width: 100%; }
.btn__arrow { width: 18px; height: 1.5px; background: currentColor; position: relative; transition: width .3s var(--ease); }
.btn__arrow::after { content: ""; position: absolute; right: 0; top: 0; width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); transform-origin: 100% 0; }
.btn:hover .btn__arrow { width: 26px; }

.textlink { display: inline-flex; align-items: center; margin-top: 1.2em; font-weight: 700; font-size: .92rem; text-decoration: underline; }
.textlink:hover { color: var(--red); }
.textlink--light { color: var(--paper); }
.textlink--light:hover { color: #ffb4a8; }

/* ---------- 発信機 (fire alarm push button) CTA ---------- */
.alarm { display: inline-flex; align-items: center; gap: 18px; color: inherit; text-decoration: none; }
.alarm__btn {
  position: relative; flex: none; display: grid; place-items: center;
  width: 84px; height: 84px; border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #e8503f 0%, #c8241b 55%, #8f1610 100%);
  box-shadow: 0 0 0 7px #ece5d6, 0 0 0 8px rgba(0, 0, 0, .35), 0 14px 34px rgba(200, 36, 27, .5), inset 0 -6px 12px rgba(0, 0, 0, .25);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.alarm__btn::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid var(--red-hot); animation: ring 2.4s var(--ease) infinite; }
.alarm__push { font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; color: #fff; line-height: 1; text-shadow: 0 1px 0 rgba(0, 0, 0, .3); }
.alarm__lamp { position: absolute; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: #ffd9a8; box-shadow: 0 0 10px 3px rgba(255, 140, 90, .9); animation: blink 1.6s steps(2, jump-none) infinite; }
.alarm__text { display: grid; line-height: 1.4; }
.alarm__text b { font-size: 1.08rem; letter-spacing: .06em; }
.alarm__text small { font-size: .76rem; opacity: .75; letter-spacing: .1em; margin-top: 2px; }
.alarm:hover .alarm__btn { transform: translateY(3px) scale(.96); box-shadow: 0 0 0 7px #ece5d6, 0 0 0 8px rgba(0, 0, 0, .35), 0 6px 16px rgba(200, 36, 27, .5), inset 0 4px 12px rgba(0, 0, 0, .35); }
.alarm:hover .alarm__text b { text-decoration: underline; text-underline-offset: .25em; }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(1.45); opacity: 0; } }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: .35; } }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; color: var(--ink);
  background: rgba(243, 239, 230, .98); -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line); transition: background-color .35s, color .35s, border-color .35s;
}
.site-header[data-over="dark"] { background: transparent; color: var(--paper); border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header[data-over="dark"] .brand__role { color: rgba(243, 239, 230, .7); }
.site-header[data-over="ink"] { background: rgba(14, 13, 10, .94); color: var(--paper); border-bottom-color: rgba(255, 255, 255, .08); }
.site-header[data-over="ink"] .brand__role { color: rgba(243, 239, 230, .7); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; padding-inline: var(--gutter); max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 10px; height: 34px; background: var(--red); }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__name { font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; letter-spacing: .14em; }
.brand__role { font-size: .7rem; color: var(--ink-3); letter-spacing: .12em; }
.gnav { display: none; }
.gnav ul { display: flex; gap: clamp(14px, 1.6vw, 28px); }
.gnav a { font-size: .86rem; font-weight: 500; text-decoration: none; padding: 6px 0; position: relative; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red-hot); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.gnav a:hover::after, .gnav a[aria-current="true"]::after { transform: scaleX(1); }
.header-cta { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px 0 10px; background: none; border: 0; cursor: pointer; font-size: .8rem; font-weight: 700; letter-spacing: .1em; }
.menu-btn__bars { width: 22px; height: 10px; position: relative; border-top: 2px solid; border-bottom: 2px solid; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { border-color: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before, .menu-btn[aria-expanded="true"] .menu-btn__bars::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; height: 2px; background: currentColor; transform: rotate(35deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: rotate(-35deg); }
.drawer { position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink); color: var(--paper); padding: 24px var(--gutter) 40px; overflow-y: auto; }
.site-header:has(.menu-btn[aria-expanded="true"]) { background: var(--ink); color: var(--paper); }
.drawer ul { margin-bottom: 28px; }
.drawer li a { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-light); font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; text-decoration: none; }
.drawer li a span { font-family: var(--f-body); font-size: .75rem; color: var(--red-hot); font-weight: 700; letter-spacing: .1em; }
@media (min-width: 1080px) {
  .gnav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-btn, .drawer { display: none !important; }
}

/* ---------- hero (v3: full-bleed footage) ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--ink-deep) var(--iso-grid); color: var(--paper); padding: 0 0 48px; }
.hero__glow { position: absolute; inset: auto auto -30% -20%; width: 90vw; height: 90vw; max-width: 1100px; max-height: 1100px; background: radial-gradient(closest-side, rgba(200, 36, 27, .34), rgba(200, 36, 27, 0)); z-index: -1; pointer-events: none; }
/* the text column overlaps the footage on desktop: let clicks through to the scene buttons and pause button */
.hero__body { position: relative; z-index: 3; pointer-events: none; }
.hero__body a, .hero__body button, .hero__body .hero__title, .hero__body .hero__lead, .hero__body .hero__facts > div { pointer-events: auto; }
.hero__body .hero__title, .hero__body .hero__lead { width: fit-content; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: #ffd0c8; border: 1px solid rgba(255, 90, 69, .6); background: rgba(14, 13, 10, .55); padding: 6px 12px; line-height: 1.5; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-hot); flex: none; box-shadow: 0 0 8px 2px rgba(255, 90, 69, .7); animation: blink 1.6s steps(2, jump-none) infinite; }
.hero__title { margin-top: 16px; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.45rem, 10.4vw, 6.4rem); line-height: 1.12; letter-spacing: .02em; font-feature-settings: "palt" 1; text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__title .red { color: var(--red-hot); margin-left: -.08em; }
.hero__lead { margin-top: 20px; color: rgba(243, 239, 230, .88); font-size: .98rem; max-width: 34em; }
.hero__cta { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.hero__cta .textlink { margin-top: 0; }

/* footage: on phones a tall frame under the header, on desktop the right 56% at full height */
.hero__reel { position: relative; height: min(66svh, 580px); margin-bottom: -112px; background: #000; z-index: 1; }
.hero__poster, .hero__poster img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 74% 20%; }
/* the clip sits 1px inside the poster so its first frame never becomes a larger LCP candidate than the poster */
.hero__video { z-index: 1; inset: 1px; width: calc(100% - 2px); height: calc(100% - 2px); opacity: 0; transition: opacity .9s var(--ease); object-position: var(--pos-sp, 74% 20%); }
.hero__video { visibility: hidden; }   /* clips that are only preloading are not painted (and never become LCP candidates) */
.hero__video.is-current, .hero__video.is-leaving { visibility: visible; }
.hero__video.is-leaving { opacity: 1; z-index: 1; transition: none; }
.hero__video.is-current { z-index: 2; }
.hero__video.is-current.is-ready { opacity: 1; }
.hero__reel::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14, 13, 10, .7) 0%, rgba(14, 13, 10, 0) 22%, rgba(14, 13, 10, 0) 48%, rgba(14, 13, 10, .82) 80%, var(--ink-deep) 100%),
    linear-gradient(90deg, rgba(200, 36, 27, .18), rgba(200, 36, 27, 0) 60%); }
/* crop marks around the footage, like a viewfinder */
.hero__marks { position: absolute; inset: calc(var(--header-h) + 10px) 14px 130px 14px; z-index: 3; pointer-events: none;
  background:
    linear-gradient(var(--red-hot), var(--red-hot)) left top / 22px 2px, linear-gradient(var(--red-hot), var(--red-hot)) left top / 2px 22px,
    linear-gradient(#fff, #fff) right top / 22px 2px, linear-gradient(#fff, #fff) right top / 2px 22px,
    linear-gradient(#fff, #fff) left bottom / 22px 2px, linear-gradient(#fff, #fff) left bottom / 2px 22px,
    linear-gradient(var(--red-hot), var(--red-hot)) right bottom / 22px 2px, linear-gradient(var(--red-hot), var(--red-hot)) right bottom / 2px 22px;
  background-repeat: no-repeat; opacity: .85; }
.reel-cap { position: absolute; right: 26px; top: calc(var(--header-h) + 22px); z-index: 3; display: inline-flex; align-items: center; gap: 8px; max-width: 70%; font-size: .68rem; letter-spacing: .04em; line-height: 1.5; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.reel-cap__rec { width: 8px; height: 8px; border-radius: 50%; background: var(--red-hot); flex: none; animation: blink 1.6s steps(2, jump-none) infinite; }
.vid-toggle { position: absolute; right: 26px; bottom: 144px; z-index: 4; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); background: rgba(14, 13, 10, .45); cursor: pointer; display: grid; place-items: center; }
.vid-toggle span { width: 10px; height: 12px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.vid-toggle[aria-pressed="true"] span { width: 0; height: 0; border: 0; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 4px; }


.hero__facts { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-light); }
.hero__facts > div { padding: 16px 12px 14px 0; border-bottom: 1px solid var(--line-light); }
.hero__facts > div:nth-child(odd) { border-right: 1px solid var(--line-light); }
.hero__facts > div:nth-child(even) { padding-left: 14px; }
.hero__facts dt { font-size: .72rem; font-weight: 700; letter-spacing: .08em; color: rgba(243, 239, 230, .72); }
.hero__facts dd { line-height: 1.2; margin-top: 4px; }
.hero__facts b { font-family: var(--f-display); font-weight: 800; font-size: 2.1rem; letter-spacing: .01em; color: var(--white); }
.hero__facts dd span { font-size: .82rem; font-weight: 700; margin-left: 3px; color: rgba(243, 239, 230, .86); }
.hero__facts > div:first-child b { color: var(--red-hot); }
.hero__note { margin-top: 10px; font-size: .7rem; color: rgba(243, 239, 230, .62); }

@media (min-width: 600px) and (max-width: 899px) {
  .hero__reel { height: min(62svh, 720px); }
}
@media (min-width: 900px) {
  .hero { min-height: clamp(700px, 100svh, 1040px); padding: calc(var(--header-h) + clamp(28px, 6vh, 72px)) 0 clamp(32px, 5vh, 56px); display: flex; flex-direction: column; justify-content: flex-end; }
  .hero__reel { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; height: auto; margin: 0; }
  .hero__poster, .hero__poster img, .hero__video { object-position: 70% 22%; }
  .hero__video { object-position: var(--pos, 70% 22%); }
  .hero__reel::after { background:
      linear-gradient(90deg, var(--ink-deep) 0%, rgba(14, 13, 10, .72) 14%, rgba(14, 13, 10, .12) 42%, rgba(14, 13, 10, 0) 70%),
      linear-gradient(180deg, rgba(14, 13, 10, .6) 0%, rgba(14, 13, 10, 0) 18%, rgba(14, 13, 10, 0) 70%, rgba(14, 13, 10, .7) 100%),
      linear-gradient(0deg, rgba(200, 36, 27, .16), rgba(200, 36, 27, 0) 50%); }
  .hero__marks { inset: calc(var(--header-h) + 18px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 - 24px)) 28px 18%; }
  .reel-cap { right: calc(max(var(--gutter), calc((100vw - var(--wrap)) / 2 - 24px)) + 16px); top: calc(var(--header-h) + 34px); }
  .vid-toggle { right: calc(max(var(--gutter), calc((100vw - var(--wrap)) / 2 - 24px)) + 16px); bottom: 46px; }
  .hero__title { font-size: clamp(3.6rem, 6.4vw, 6.8rem); max-width: 9.6em; }
  .hero__lead { max-width: 30em; }
  .hero__facts { grid-template-columns: repeat(4, auto); justify-content: start; margin-top: clamp(28px, 5vh, 56px); border-top: 0; width: max-content; }
  .hero__facts dt, .hero__facts dd { white-space: nowrap; }
  .hero__facts > div { border-bottom: 0; border-right: 1px solid var(--line-light); padding: 4px 26px 0; }
  .hero__facts > div:first-child { padding-left: 0; }
  .hero__facts > div:nth-child(even) { padding-left: 26px; }
  .hero__facts > div:last-child { border-right: 0; }
  .hero__facts b { font-size: clamp(2rem, 2.8vw, 2.8rem); }
}
@media (min-width: 900px) and (max-height: 860px) {
  .hero__title { font-size: clamp(3.1rem, 5.6vw, 5.6rem); margin-top: 12px; }
  .hero__lead { margin-top: 14px; }
  .hero__cta { margin-top: 18px; }
  .hero__facts b { font-size: clamp(1.8rem, 2.4vw, 2.4rem); }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .hero__facts > div { padding-inline: 16px; }
}

/* ---------- ticker ---------- */
.ticker { position: relative; background: var(--red); color: var(--white); overflow: hidden; border-block: 1px solid #000; }
.ticker__track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker__track, .ticker.is-paused .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; flex: none; }
.ticker__list li { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1; padding: 18px 0; white-space: nowrap; display: flex; align-items: center; }
.ticker__list li::after { content: ""; width: 12px; height: 12px; margin: 0 clamp(18px, 2.6vw, 36px); background: var(--ink); transform: rotate(45deg); flex: none; }
.ticker__pause { position: absolute; right: 8px; bottom: 6px; font-size: .68rem; font-weight: 700; padding: 4px 10px; min-height: 28px; background: var(--ink); color: var(--white); border: 0; cursor: pointer; opacity: .85; }
.ticker__pause:hover, .ticker__pause:focus-visible { opacity: 1; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- section head ---------- */
.section { padding-block: clamp(76px, 9vw, 132px); position: relative; }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(44px, 6vw, 88px); }
.sec-head__no { font-family: var(--f-display); font-weight: 800; font-size: .95rem; color: var(--red); letter-spacing: .1em; display: flex; align-items: center; gap: 12px; }
.sec-head__no::after { content: ""; width: 48px; height: 1.5px; background: currentColor; }
.sec-head__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.9rem, 4.8vw, 3.6rem); line-height: 1.28; letter-spacing: .04em; font-feature-settings: "palt" 1; }
.sec-head__title em { color: var(--red); }
.sec-head__lead { margin-top: 18px; max-width: 46em; color: var(--ink-2); }
.sec-head--light .sec-head__no { color: var(--red-hot); }
.sec-head--light .sec-head__title { color: var(--white); }
.sec-head--light .sec-head__title em { color: var(--red-hot); }
.sec-head--light .sec-head__lead { color: rgba(243, 239, 230, .8); }
@media (min-width: 900px) {
  .sec-head { grid-template-columns: 160px 1fr; gap: 0; }
  .sec-head__no { flex-direction: column; align-items: flex-start; padding-top: 1.1em; font-size: 1.1rem; }
  .sec-head__no::after { width: 1.5px; height: 56px; margin-left: 9px; }
}

/* ---------- reach (shorts) ---------- */
.reach { background: var(--ink-deep) var(--iso-grid); color: var(--paper); overflow: hidden; }
.reach::before { content: ""; position: absolute; left: 50%; top: 52%; width: 900px; height: 600px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(200, 36, 27, .28), transparent); pointer-events: none; }
.phones { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 18px var(--gutter) 24px; scrollbar-width: thin; }
.phone-item { scroll-snap-align: center; }
.phone { display: block; position: relative; padding: 10px; border-radius: 34px; background: #0a0908; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 30px 60px rgba(0, 0, 0, .6), inset 0 0 0 2px #22201b; transition: transform .45s var(--ease); }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 64px; height: 18px; border-radius: 10px; background: #0a0908; transform: translateX(-50%); z-index: 2; }
.phone__screen { display: block; border-radius: 25px; overflow: hidden; aspect-ratio: 9 / 16; background: #111; }
.phone__screen video { width: 100%; height: 100%; object-fit: cover; }
.phone:hover { transform: translateY(-8px); }
.phone__meta { padding: 20px 6px 0; }
.phone__rank { font-size: .76rem; font-weight: 700; letter-spacing: .12em; color: var(--red-hot); }
.phone__views { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.25; color: var(--white); }
.phone__views b { font-weight: 800; }
.phone__title { margin-top: 6px; font-size: .86rem; line-height: 1.6; color: rgba(243, 239, 230, .78); }
.reach__stats { margin-top: clamp(48px, 7vw, 96px); display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-light); }
.reach__stats > div { padding: 22px 12px 20px 0; border-bottom: 1px solid var(--line-light); }
.reach__stats > div:nth-child(odd) { border-right: 1px solid var(--line-light); }
.reach__stats > div:nth-child(even) { padding-left: 16px; }
.reach__stats dt { font-size: .76rem; font-weight: 700; letter-spacing: .08em; color: rgba(243, 239, 230, .7); }
.reach__stats dd { font-size: .9rem; font-weight: 700; color: rgba(243, 239, 230, .9); white-space: nowrap; }
.reach__stats b { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 3.4rem); color: var(--white); margin-right: 4px; letter-spacing: .01em; }
.reach__note { margin-top: 16px; font-size: .74rem; color: rgba(243, 239, 230, .6); }
@media (min-width: 900px) {
  .phones { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); overflow: visible; margin: 0 0 0 160px; padding: 40px 0 0; }
  .phone-item:nth-child(1) .phone { transform: rotate(-3deg); }
  .phone-item:nth-child(2) { margin-top: -40px; }
  .phone-item:nth-child(3) .phone { transform: rotate(3deg); }
  .phone-item:nth-child(1) .phone:hover, .phone-item:nth-child(3) .phone:hover { transform: rotate(0) translateY(-8px); }
  .reach__stats { grid-template-columns: repeat(4, 1fr); margin-left: 160px; }
  .reach__stats > div { border-bottom: 0; border-right: 1px solid var(--line-light); padding: 26px 20px 4px; }
  .reach__stats > div:first-child { padding-left: 0; }
  .reach__stats > div:nth-child(even) { padding-left: 20px; }
  .reach__stats > div:last-child { border-right: 0; }
  .reach__note { margin-left: 160px; }
}

/* ---------- why / matrix ---------- */
.matrix { position: relative; display: grid; border-top: 2px solid var(--ink); }
.matrix__cell { padding: 32px 0 40px; border-bottom: 1px solid var(--line); }
.matrix__photo { margin-bottom: 24px; }
.matrix__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 35%; }
.matrix__no { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em; color: var(--white); background: var(--red); padding: 3px 10px; margin-bottom: 14px; }
.matrix__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.45; margin-bottom: 14px; letter-spacing: .02em; }
.matrix__cell > p:not(.matrix__no) { color: var(--ink-2); }
.evidence { margin-top: 18px; display: grid; gap: 6px; }
.evidence li { font-size: .85rem; padding-left: 22px; position: relative; line-height: 1.6; }
.evidence li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.matrix__core { display: none; }
@media (min-width: 900px) {
  .matrix { grid-template-columns: 1fr 1fr; border-top: 0; }
  .matrix__cell { padding: 48px clamp(32px, 4vw, 64px) 56px; border: 0; }
  .matrix::before, .matrix::after { content: ""; position: absolute; background: var(--ink); }
  .matrix::before { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }
  .matrix::after { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
  .matrix__cell:nth-child(odd) { padding-left: 0; }
  .matrix__cell:nth-child(even) { padding-right: 0; }
  .matrix__cell:nth-child(-n+2) { padding-top: 0; }
  .matrix__core { display: grid; place-items: center; position: absolute; left: 50%; top: 50%; z-index: 1; width: 112px; height: 112px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--red); color: var(--white); text-align: center; font-family: var(--f-display); font-weight: 800; font-size: 1rem; line-height: 1.4; letter-spacing: .1em; box-shadow: 0 0 0 10px var(--paper); }
}

/* ---------- map (isometric) ---------- */
.map { background: var(--paper-2) var(--iso-grid-ink); }
.map__grid { display: grid; gap: 28px; }
.map__figure { position: relative; }
.iso { width: 100%; height: auto; overflow: visible; }
.iso-hot { cursor: pointer; }
.map:not(.is-live) .iso *, .map:not(.is-live) .iso { animation-play-state: paused !important; }
.iso-hot__ring { transform-box: fill-box; transform-origin: center; animation: hot 2.2s var(--ease) infinite; }
.iso-hot__dot { transition: fill .2s; }
.iso-hot:hover .iso-hot__dot, .iso-hot.is-active .iso-hot__dot { fill: var(--ink); }
.iso-hot.is-active .iso-hot__ring { animation: none; stroke: var(--ink); stroke-width: 3; }
.iso-lamp { animation: blink 1.6s steps(2, jump-none) infinite; }
.iso-flow { animation: flow 1.4s linear infinite; }
@keyframes hot { 0% { transform: scale(.9); opacity: 1; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
@keyframes flow { to { stroke-dashoffset: -40; } }
.map__tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-bottom: 16px; }
.map__tabs button { white-space: nowrap; }   /* equipment names never break mid-word (スプリ/ンクラー) */
@media (min-width: 600px) { .map__tabs { grid-template-columns: repeat(3, 1fr); } }
.map__tabs button { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 6px 10px; background: var(--paper); border: 1.5px solid var(--line-strong); font-size: .8rem; font-weight: 700; text-align: left; line-height: 1.3; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.map__tabs button span { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; font-size: .74rem; }
.map__tabs button:hover { border-color: var(--ink); }
.map__tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.iso-item { background: var(--white); border-top: 4px solid var(--red); padding: 26px 22px 24px; box-shadow: 0 20px 40px rgba(22, 20, 15, .08); }
.iso-item__no { font-family: var(--f-display); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--red); }
.iso-item__name { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; line-height: 1.35; margin: 6px 0 12px; letter-spacing: .04em; }
.iso-item__name small { display: block; font-family: var(--f-body); font-size: .76rem; font-weight: 700; color: var(--ink-3); letter-spacing: .1em; }
.iso-item > p:not(.iso-item__no):not(.iso-item__h) { color: var(--ink-2); font-size: .95rem; }
.iso-item__h { margin-top: 16px; font-size: .76rem; font-weight: 700; letter-spacing: .14em; color: var(--red); }
.iso-item ul { margin-top: 6px; display: grid; gap: 4px; }
.iso-item li { font-size: .9rem; line-height: 1.65; padding-left: 1.1em; text-indent: -1.1em; }
.iso-item li::before { content: "―"; color: var(--red); margin-right: .1em; }
.iso-item__video { display: block; margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-strong); font-size: .86rem; font-weight: 700; }
.iso-item__video:hover { color: var(--red); }
.map__note { margin-top: 24px; font-size: .76rem; color: var(--ink-3); }
.js .iso-item.is-swap { animation: swapin .45s var(--ease); }
@keyframes swapin { from { opacity: 0; transform: translateY(10px); } }
@media (min-width: 900px) {
  .map__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
  .map__panel { position: sticky; top: calc(var(--header-h) + 24px); }
  .iso-item { padding: 32px 32px 28px; }
}

/* ---------- themes ---------- */
.themes { background: var(--white); }
.theme-list { border-top: 2px solid var(--ink); }
.theme { display: grid; gap: 18px; padding: 44px 0 40px; border-bottom: 1px solid var(--line); }
.theme__media { position: relative; }
.theme__media .theme__no { z-index: 3; }
.theme__media picture { overflow: hidden; }
.theme__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--ease); }
.theme:hover .theme__media img { transform: scale(1.04); }
.theme__no { position: absolute; z-index: 2; left: -4px; top: -30px; font-family: var(--f-display); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--red); }
.theme__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.35rem, 2.4vw, 1.85rem); line-height: 1.45; letter-spacing: .04em; font-feature-settings: "palt" 1; }
.theme__angle { margin-top: 12px; color: var(--ink-2); }
.theme__detail { background: var(--paper); padding: 20px 20px 22px; }
.theme__label { font-size: .75rem; font-weight: 700; letter-spacing: .14em; color: var(--red); margin-bottom: 8px; }
.theme__detail ul { display: grid; gap: 6px; }
.theme__detail li { font-size: .9rem; line-height: 1.65; padding-left: 1.1em; text-indent: -1.1em; }
.theme__detail li::before { content: "―"; color: var(--red); margin-right: .1em; }
.theme__ref { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-strong); font-size: .82rem; color: var(--ink-3); }
.theme__ref a { color: var(--ink); font-weight: 500; }
.theme__ref a:hover { color: var(--red); }
.themes__foot { margin-top: 48px; display: grid; gap: 20px; align-items: center; }
.themes__foot p { color: var(--ink-2); }
@media (min-width: 900px) {
  .theme { grid-template-columns: 280px minmax(0, 1fr) minmax(0, .95fr); gap: 0 clamp(28px, 3.4vw, 52px); padding: 56px 0 52px; align-items: start; }
  .theme__media img { aspect-ratio: 4 / 3; }
  .theme__no { font-size: 3.4rem; top: -32px; }
  .theme__detail { padding: 24px 28px 26px; }
  .themes__foot { grid-template-columns: 1fr auto; }
}

/* ---------- film ---------- */
.film { background: var(--ink-deep); color: var(--paper); padding-block: clamp(72px, 10vw, 140px); overflow: hidden; }
.film__head { display: grid; gap: 14px; margin-bottom: 36px; }
.film__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.8rem, 4.2vw, 3.2rem); line-height: 1.3; color: var(--white); }
.film__head p { color: rgba(243, 239, 230, .8); max-width: 40em; }
.film__reel { display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 8px; scrollbar-width: thin; }
.film__reel li { scroll-snap-align: start; }
.film__clip video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #000; }
.film__clip figcaption { margin-top: 12px; font-size: .86rem; }
.film__clip figcaption a { text-decoration: none; }
.film__clip figcaption a:hover { text-decoration: underline; }
@media (min-width: 900px) {
  .film__head { grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; }
  .film__reel { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; width: min(100% - var(--gutter) * 2, 1400px); margin-inline: auto; padding: 0; gap: 16px; }
}

/* ---------- profile ---------- */
.profile__grid { display: grid; gap: 64px; }
.timeline { border-left: 1.5px solid var(--ink); margin-left: 6px; }
.timeline li { position: relative; padding: 0 0 40px 28px; display: grid; gap: 6px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -7.5px; top: .55em; width: 13px; height: 13px; background: var(--paper); border: 2px solid var(--red); border-radius: 50%; }
.timeline__year { font-family: var(--f-display); font-weight: 800; font-size: 1.9rem; line-height: 1.1; color: var(--red); }
.timeline__year--text { font-size: 1.15rem; padding-top: .3em; }
.timeline h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; line-height: 1.5; letter-spacing: .03em; }
.timeline p:not(.timeline__year) { margin-top: 6px; color: var(--ink-2); font-size: .94rem; }
.licenses { background: var(--ink); color: var(--paper); padding: 32px 24px 28px; align-self: start; }
.licenses__title { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; margin-bottom: 18px; letter-spacing: .06em; }
.licenses dl > div { padding: 14px 0; border-top: 1px solid var(--line-light); display: grid; gap: 4px; }
.licenses dt { font-size: .72rem; font-weight: 700; letter-spacing: .16em; color: var(--red-hot); margin-bottom: 4px; }
.licenses dd { font-size: .9rem; line-height: 1.6; }
.licenses__note { margin-top: 14px; font-size: .72rem; color: rgba(243, 239, 230, .7); }
@media (min-width: 900px) {
  .profile__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); margin-left: 160px; }
  .timeline li { grid-template-columns: 120px 1fr; gap: 24px; padding-left: 36px; padding-bottom: 48px; }
  .licenses { position: sticky; top: calc(var(--header-h) + 24px); padding: 40px 36px 32px; }
}

/* ---------- works (dark) ---------- */
.works { background: var(--ink); color: var(--paper); }
.works__grid { display: grid; gap: 16px; }
.work { background: #211e18; padding: 28px 22px 30px; border-top: 3px solid var(--red); }
.work p { color: rgba(243, 239, 230, .82); }
.work__type { font-size: .74rem; font-weight: 700; letter-spacing: .16em; color: var(--red-hot) !important; margin-bottom: 10px; }
.work__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.35; letter-spacing: .04em; margin-bottom: 14px; color: var(--paper); }
.work__title small { display: block; margin-top: 6px; font-size: .9rem; font-weight: 600; color: rgba(243, 239, 230, .78); letter-spacing: .06em; }
.work__meta { display: block; margin-top: 10px; font-size: .78rem; color: rgba(243, 239, 230, .62) !important; }
.work .textlink { color: var(--paper); }
.work .textlink:hover { color: #ffb4a8; }
.work--book { display: grid; gap: 24px; }
.work__cover { width: min(56%, 220px); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.biblio { display: grid; gap: 2px; margin: 4px 0 0; font-size: .86rem; }
.biblio > div { display: grid; grid-template-columns: 4.5em 1fr; gap: 12px; padding: 6px 0; border-bottom: 1px solid rgba(243, 239, 230, .14); }
.biblio dt { color: rgba(243, 239, 230, .62); }
.serial__name { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; color: var(--paper) !important; padding: 12px 0; margin-bottom: 12px; border-block: 1px solid rgba(243, 239, 230, .2); }
.yt-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 8px; }
.yt-stats { display: flex; gap: 28px; }
.yt-stats dt { font-size: .72rem; color: rgba(243, 239, 230, .62); letter-spacing: .12em; }
.yt-stats dd { font-family: var(--f-display); font-weight: 800; font-size: 2.2rem; line-height: 1.1; color: var(--paper); }
.yt-stats small { font-family: var(--f-body); font-size: .8rem; font-weight: 700; margin-left: 2px; }
.videos { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; margin: 22px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.videos li { scroll-snap-align: start; }
.videos a { display: block; text-decoration: none; }
.videos picture { overflow: hidden; background: #000; }
.videos img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s var(--ease); }
.videos a:hover img { transform: scale(1.03); }
.videos__title { display: block; margin-top: 10px; font-size: .86rem; line-height: 1.55; color: var(--paper); }
.videos a:hover .videos__title { text-decoration: underline; }
.work__wide { margin: 6px 0 18px; background: #fff; }
.work--media { background: transparent; border: 1px dashed rgba(243, 239, 230, .35); border-top: 3px solid var(--red); }
@media (min-width: 700px) {
  .work--book { grid-template-columns: 200px 1fr; align-items: start; }
  .work__cover { width: 100%; }
}
@media (min-width: 900px) {
  .works__grid { grid-template-columns: repeat(12, 1fr); gap: 20px; }
  .work { padding: 40px 36px 40px; }
  .work--book { grid-column: span 7; grid-template-columns: 210px 1fr; gap: 36px; }
  .work--serial { grid-column: span 5; }
  .work--yt { grid-column: span 12; }
  .work--materials { grid-column: span 7; }
  .work--media { grid-column: span 5; }
  .videos { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); margin: 26px 0 0; padding: 0; overflow: visible; gap: 20px; }
}

/* ---------- reading ---------- */
.docs { border-top: 2px solid var(--ink); }
.docs li { border-bottom: 1px solid var(--line); }
.docs a { display: grid; gap: 6px; padding: 22px 36px 22px 0; text-decoration: none; position: relative; transition: background-color .25s, padding .3s var(--ease); }
.docs a::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; transform: translateY(-50%); background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1h7v7h-1.5V3.6L2.1 11 1 9.9 8.4 2.5H4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1h7v7h-1.5V3.6L2.1 11 1 9.9 8.4 2.5H4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.docs a:hover { background: var(--white); }
.docs a:hover::after { background: var(--red); }
.docs__tag { font-size: .74rem; font-weight: 700; letter-spacing: .1em; color: var(--red); }
.docs__title { font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; line-height: 1.55; }
.docs__src { font-size: .78rem; color: var(--ink-3); }
.reading__more { margin-top: 28px; font-size: .88rem; color: var(--ink-2); line-height: 2; }
@media (min-width: 900px) {
  .docs, .reading__more { margin-left: 160px; }
  .docs a { grid-template-columns: 130px 1fr 240px; align-items: baseline; gap: 24px; padding: 24px 56px 24px 0; }
  .docs a:hover { padding-left: 16px; }
  .docs__src { text-align: right; }
}

/* ---------- press ---------- */
.press { background: var(--paper-2); }
.press .sec-head__no { color: var(--red-deep); }
.press__grid { display: grid; gap: 16px; }
.press__block { background: var(--paper); padding: 28px 22px; }
.press__h { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; letter-spacing: .05em; margin-bottom: 16px; }
.press__h:not(:first-child) { margin-top: 32px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { border: 1px solid var(--line-strong); padding: 4px 12px; font-size: .86rem; }
.formats > div { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
.formats dt { font-weight: 700; font-size: .92rem; }
.formats dd { font-size: .88rem; color: var(--ink-2); line-height: 1.7; }
.photo-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.photo-dl figure { display: grid; gap: 10px; }
.photo-dl picture { aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper-2); }
.photo-dl picture img { width: 100%; height: 100%; object-fit: cover; }
.photo-dl a { display: flex; flex-direction: column; font-weight: 700; font-size: .88rem; padding: 10px 12px; border: 1.5px solid var(--ink); text-decoration: none; line-height: 1.4; transition: background-color .2s, color .2s; }
.photo-dl a span { font-weight: 400; font-size: .75rem; color: var(--ink-3); }
.photo-dl a::before { content: "↓ "; color: var(--red); }
.photo-dl a:hover { background: var(--ink); color: var(--white); }
.photo-dl a:hover span { color: rgba(255, 255, 255, .7); }
.press__note { margin-top: 14px; font-size: .8rem; color: var(--ink-3); line-height: 1.7; }
.press__note:empty { display: none; }
.bio-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.bio-head .press__h { margin-bottom: 0; }
.bio-tabs { display: inline-flex; border: 1.5px solid var(--ink); }
.bio-tabs button { background: none; border: 0; padding: 8px 16px; min-height: 40px; font-size: .85rem; font-weight: 700; cursor: pointer; }
.bio-tabs button + button { border-left: 1.5px solid var(--ink); }
.bio-tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.bio-text { background: var(--white); border-left: 3px solid var(--red); padding: 18px 20px; font-size: .94rem; line-height: 1.95; user-select: all; }
.copy { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; background: var(--ink); color: var(--white); border: 0; font-weight: 700; font-size: .85rem; cursor: pointer; }
.copy:hover { background: var(--red); }
.check { display: grid; counter-reset: c; }
.check li { counter-increment: c; display: grid; grid-template-columns: 2.2em 1fr; padding: 10px 0; border-top: 1px solid var(--line); font-size: .92rem; line-height: 1.6; }
.check li::before { content: counter(c, decimal-leading-zero); font-family: var(--f-display); font-weight: 800; color: var(--red-deep); }
@media (min-width: 900px) {
  .press__grid { grid-template-columns: 1fr 1fr; gap: 20px; margin-left: 160px; grid-template-areas: "media photos" "bio bio" "check check"; }
  .press__block { padding: 40px 40px 36px; }
  .press__media { grid-area: media; } .press__photos { grid-area: photos; } .press__bio { grid-area: bio; } .press__checklist { grid-area: check; }
  .press__checklist .check { grid-template-columns: 1fr 1fr; column-gap: 40px; }
}

/* ---------- contact ---------- */
.contact { position: relative; overflow: hidden; isolation: isolate; background: var(--red); color: var(--white); padding-block: clamp(84px, 11vw, 150px); }
.contact__bg { position: absolute; inset: 0 0 0 auto; width: min(60%, 760px); z-index: -1; opacity: .28; mix-blend-mode: multiply; }
.contact__bg picture, .contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact__grid { display: grid; gap: 40px; }
.contact__kicker { font-size: .8rem; font-weight: 700; letter-spacing: .16em; display: flex; align-items: center; gap: 12px; }
.contact__kicker::before { content: ""; width: 32px; height: 1.5px; background: currentColor; }
.contact__title { margin: 16px 0 20px; font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.3; letter-spacing: .05em; }
.contact__direct { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .45); display: grid; gap: 12px; justify-items: start; }
.contact__direct-h { font-weight: 700; font-size: .9rem; }
.contact__small { font-size: .8rem; line-height: 1.7; }
.contact .btn--white:hover { --fg: var(--white); --bd: var(--white); }
.form { background: var(--paper); color: var(--ink); padding: 28px 20px; display: grid; gap: 20px; box-shadow: 0 30px 60px rgba(60, 6, 3, .35); }
.form__note { font-size: .8rem; color: var(--ink-3); }
.form__note span, .req { color: var(--red); font-weight: 700; }
.opt { font-size: .72rem; font-weight: 500; color: var(--ink-3); border: 1px solid var(--line-strong); padding: 0 6px; margin-left: 6px; }
.form__row { display: grid; gap: 20px; }
.form__field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.form__field > label, .form__field legend { font-weight: 700; font-size: .9rem; padding: 0; }
.form__field legend { margin-bottom: 8px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1.5px solid var(--line-strong); border-radius: 0; padding: 12px 14px; min-height: 50px; transition: border-color .2s, box-shadow .2s; }
.form textarea { resize: vertical; line-height: 1.7; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(200, 36, 27, .35); }
.form [aria-invalid="true"] { border-color: var(--red) !important; background: #fff6f4 !important; }
.form ::placeholder { color: #8b8578; }
.form__error { color: var(--red); font-size: .82rem; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line-strong); font-size: .9rem; font-weight: 500; background: var(--white); transition: background-color .2s, color .2s, border-color .2s; }
.chips input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.form__result { background: var(--white); border: 2px solid var(--ink); padding: 20px; font-size: .9rem; }
.form__result h3 { font-family: var(--f-display); font-size: 1.15rem; margin-bottom: 8px; }
.form__result ol { list-style: decimal; padding-left: 1.4em; display: grid; gap: 6px; margin: 10px 0 14px; }
.form__result .btn { margin-top: 6px; }
@media (min-width: 700px) { .form__row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .contact__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .contact__intro { position: sticky; top: calc(var(--header-h) + 32px); }
  .form { padding: 40px; }
  .contact__bg { inset: 0 auto 0 0; }
}

/* ---------- floating CTA (desktop) / sticky bar (mobile) ---------- */
.float-alarm { position: fixed; right: 28px; bottom: 28px; z-index: 60; display: none; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); transform: translateY(160%); transition: transform .45s var(--ease); }
.float-alarm .alarm__btn { width: 72px; height: 72px; }
.float-alarm .alarm__push { font-size: 1.45rem; }
.float-alarm__label { font-size: .74rem; font-weight: 700; letter-spacing: .12em; background: var(--ink); color: var(--white); padding: 2px 10px; }
.float-alarm.is-on { transform: none; }
.float-alarm:hover .alarm__btn { transform: translateY(3px) scale(.96); }
@media (min-width: 1080px) { .float-alarm:not([hidden]) { display: flex; } }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(14, 13, 10, .96); color: var(--paper); transform: translateY(110%); transition: transform .35s var(--ease); }
.sticky-cta[hidden] { display: flex; visibility: hidden; }
.sticky-cta.is-on { transform: none; visibility: visible; }
.sticky-cta__text { font-size: .82rem; font-weight: 700; letter-spacing: .04em; }
@media (min-width: 1080px) { .sticky-cta { display: none !important; } }
@media (max-width: 1079px) { .site-footer { padding-bottom: 96px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-deep); color: var(--paper); padding: 64px 0 28px; font-size: .88rem; }
.footer__grid { display: grid; gap: 32px; }
.footer__name { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; letter-spacing: .16em; }
.footer__role { color: rgba(243, 239, 230, .7); font-size: .8rem; letter-spacing: .12em; }
.footer__h { font-size: .72rem; font-weight: 700; letter-spacing: .16em; color: var(--red-hot); margin-bottom: 10px; }
.site-footer ul { display: grid; gap: 4px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer__bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: .75rem; color: rgba(243, 239, 230, .7); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; } }


/* ---------- decoration: giant outlined section numbers ---------- */
.sec-head { position: relative; isolation: isolate; }
.sec-head::before {
  content: attr(data-no); position: absolute; z-index: -1; right: -.04em; top: -.42em;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(7rem, 22vw, 17rem); line-height: 1; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(22, 20, 15, .1); pointer-events: none;
}
.sec-head--light::before { -webkit-text-stroke-color: rgba(243, 239, 230, .1); }
.press .sec-head::before, .map .sec-head::before { -webkit-text-stroke-color: rgba(22, 20, 15, .12); }

/* ---------- isometric illustrations (generated with Codex CLI, see tools/build_iso_assets.py) ---------- */
.theme__iso { position: absolute; z-index: 4; right: -8px; top: -34px; width: 108px; pointer-events: none; filter: drop-shadow(0 14px 16px rgba(22, 20, 15, .22)); transition: transform .7s var(--ease); }
.theme__media .theme__iso img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; transform: none; animation: none; }
.theme:hover .theme__iso { transform: translateY(-8px) rotate(-3deg); }
@media (min-width: 900px) {
  .theme__iso { width: 140px; right: -40px; top: auto; bottom: -48px; }
}

.media-icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.media-icons li { display: grid; justify-items: center; align-content: start; gap: 8px; padding: 14px 6px 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .35); text-align: center; font-size: .8rem; font-weight: 700; line-height: 1.45; letter-spacing: .02em; }
.media-icons picture { display: block; width: 100%; }
.media-icons img { width: 100%; height: 66px; object-fit: contain; transition: transform .5s var(--ease); }
.media-icons li:hover img { transform: translateY(-4px); }

.sec-art { display: block; width: min(74vw, 340px); margin: -8px auto 4px; pointer-events: none; filter: drop-shadow(0 20px 24px rgba(22, 20, 15, .16)); }
.sec-art img { width: 100%; height: auto; }
@media (min-width: 900px) {
  .sec-head--art { padding-right: 400px; }
  .sec-head--art::before { display: none; }
  .sec-art { position: absolute; right: -16px; top: -64px; width: 410px; margin: 0; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .sec-head--art { padding-right: 300px; }
  .sec-art { width: 300px; top: -30px; }
}

.contact__art { display: block; width: 132px; margin-top: 36px; transform: rotate(-5deg); filter: drop-shadow(0 22px 26px rgba(60, 0, 0, .45)); pointer-events: none; }
.contact__art img { width: 100%; height: auto; }
@media (min-width: 900px) {
  .contact__intro { position: relative; }
  .contact__art { width: 196px; margin-top: 56px; }
}

.film__art { display: block; width: min(56vw, 240px); justify-self: end; margin: -6px -6px -10px 0; filter: drop-shadow(0 26px 40px rgba(200, 36, 27, .28)); pointer-events: none; }
.film__art img { width: 100%; height: auto; }
@media (min-width: 900px) {
  .film__head { grid-template-columns: minmax(0, 1.15fr) 250px minmax(0, 1fr); }
  .film__art { width: 250px; margin: 0; justify-self: center; }
  /* asymmetric reel: one large clip, two stacked */
  .film__reel { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .film__reel li:first-child { grid-row: span 2; display: flex; }
  .film__reel li:first-child .film__clip { display: flex; flex-direction: column; width: 100%; }
  .film__reel li:first-child video { flex: 1 1 0; min-height: 0; height: auto; aspect-ratio: auto; }
}

/* more iso art (v3.1) */
.sec-art--sm { width: min(46vw, 220px); margin: -10px 0 -18px auto; }
.sec-art--sm img { max-height: 210px; width: auto; max-width: 100%; margin-left: auto; }
@media (min-width: 900px) {
  /* capped height so tall pieces (archive shelf, phone) never reach the content below the heading */
  .sec-art--sm { width: 360px; top: -48px; margin: 0; }
  .sec-art--sm img { max-height: 310px; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .sec-art--sm { width: 270px; top: -24px; }
  .sec-art--sm img { max-height: 240px; }
}
.sec-head--light .sec-art { filter: drop-shadow(0 24px 40px rgba(200, 36, 27, .25)); }

.matrix__media { position: relative; margin-bottom: 24px; }
.matrix__media .matrix__photo { margin-bottom: 0; }
.matrix__badge { position: absolute; z-index: 3; right: -6px; bottom: -30px; width: 100px; pointer-events: none; filter: drop-shadow(0 12px 14px rgba(22, 20, 15, .22)); transition: transform .7s var(--ease); }
.matrix__badge img { width: 100%; height: auto; }
.matrix__cell:hover .matrix__badge { transform: translateY(-8px) rotate(-3deg); }
@media (min-width: 900px) {
  .matrix__badge { width: 130px; right: -18px; bottom: -40px; }
}

.timeline__side { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.timeline__icon { width: 56px; flex: none; filter: drop-shadow(0 8px 10px rgba(22, 20, 15, .18)); }
.timeline__icon img { width: 100%; height: auto; }
@media (min-width: 900px) {
  .timeline__side { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 14px; }
  .timeline__icon { width: 92px; }
}

.licenses dl > div { grid-template-columns: minmax(0, 1fr) 52px; column-gap: 12px; }
.licenses dl > div > :not(.licenses__icon) { grid-column: 1; }
.licenses__icon { grid-column: 2; grid-row: 1 / span 6; align-self: start; width: 52px; margin-top: 2px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.licenses__icon img { width: 100%; height: auto; }

/* ---------- hero scene switcher ---------- */
.scenes { position: absolute; z-index: 5; left: 14px; right: 14px; top: calc(var(--header-h) + 8px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.scenes__btn { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 6px; min-height: 44px; padding: 6px 0 8px; background: none; border: 0; color: rgba(255, 255, 255, .7); cursor: pointer; text-align: left; font: inherit; }
.scenes__no { font-family: var(--f-display); font-weight: 800; font-size: .8rem; letter-spacing: .04em; }
.scenes__label { display: none; font-size: .7rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scenes__bar { grid-column: 1 / -1; height: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.scenes__bar i { display: block; height: 100%; background: var(--red-hot); transform: scaleX(0); transform-origin: left; }
.scenes__btn[aria-current="true"] { color: #fff; }
.scenes__btn[aria-current="true"] .scenes__bar i { transform: scaleX(1); }
.scenes__btn.is-running .scenes__bar i { animation: scenebar 5.2s linear both; }
.hero__reel.is-held .scenes__btn.is-running .scenes__bar i { animation-play-state: paused; }
.scenes__btn:hover { color: #fff; }
@keyframes scenebar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.reel-cap { top: auto; bottom: 132px; left: var(--gutter); right: 80px; max-width: none; }
.hero__marks { top: calc(var(--header-h) + 66px); }
@media (min-width: 600px) {
  .scenes__label { display: block; }
}
@media (min-width: 900px) {
  .scenes { left: 18%; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 - 24px)); top: calc(var(--header-h) + 14px); gap: 12px; }
  .reel-cap { top: calc(var(--header-h) + 76px); bottom: auto; left: auto; max-width: 70%; }
  .hero__marks { top: calc(var(--header-h) + 74px); }
}
@media (prefers-reduced-motion: reduce) {
  .scenes__btn.is-running .scenes__bar i { animation: none; transform: scaleX(1); }
}

/* proportional punctuation for every Mincho heading (full-width 、。「」 otherwise look loosely spaced) */
h2, h3, .docs__title, .brand__name { font-feature-settings: "palt" 1; }

/* book as a 3D mockup (transparent PNG): no flat box shadow, a soft cast shadow instead */
.work__cover--mockup { box-shadow: none; filter: drop-shadow(18px 22px 26px rgba(0, 0, 0, .55)); transform: rotate(-2deg); transition: transform .6s var(--ease); }
.work__cover--mockup img { width: 100%; height: auto; }
.work--book:hover .work__cover--mockup { transform: rotate(0) translateY(-6px); }

/* current scene name, set large in the corner of the footage (desktop) */
.scene-title { display: none; }
@media (min-width: 900px) {
  .scene-title { position: absolute; z-index: 4; right: calc(max(var(--gutter), calc((100vw - var(--wrap)) / 2 - 24px)) + 78px); bottom: 44px; display: flex; align-items: baseline; gap: 14px; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .55); pointer-events: none; }
  .scene-title__no { font-family: var(--f-display); font-weight: 800; font-size: 1rem; color: var(--red-hot); letter-spacing: .06em; }
  .scene-title__label { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 2.4vw, 2.4rem); letter-spacing: .08em; font-feature-settings: "palt" 1; }
  .scene-title.is-in .scene-title__label, .scene-title.is-in .scene-title__no { animation: scenein .9s var(--ease) both; }
  .scene-title.is-in .scene-title__label { animation-delay: .08s; }
}
@keyframes scenein { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- alarm band: the 総合盤 (lamp / bell speaker / call point) as the last call to action ----------
   Overlay positions are percentages of ill-sougouban (lamp centre 20.2% 50%, grille centre 49.5% 47%,
   push button centre 79% 61%). */
.alarmband { position: relative; overflow: hidden; background: var(--ink-deep) var(--iso-grid); color: var(--paper); padding-block: clamp(72px, 9vw, 128px); text-align: center; }
.alarmband::before { content: ""; position: absolute; left: 50%; top: 58%; width: min(1100px, 140vw); aspect-ratio: 1; translate: -50% -50%; background: radial-gradient(closest-side, rgba(200, 36, 27, .32), rgba(200, 36, 27, 0)); opacity: .35; transition: opacity 1.2s var(--ease); pointer-events: none; }
.alarmband.is-lit::before { opacity: 1; }
.alarmband__kicker { display: inline-flex; align-items: center; gap: 12px; font-size: .8rem; font-weight: 700; letter-spacing: .16em; color: var(--red-hot); }
.alarmband__kicker::before, .alarmband__kicker::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.alarmband__title { margin-top: 14px; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.7rem, 4.4vw, 3.2rem); line-height: 1.35; letter-spacing: .04em; color: var(--white); }
.alarmband__note { margin: 28px auto 0; max-width: 40em; font-size: .8rem; color: rgba(243, 239, 230, .66); line-height: 1.8; }

.sgb { position: relative; width: min(100%, 760px); margin: clamp(32px, 5vw, 56px) auto 0; }
.sgb__art { display: block; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.sgb__art img { width: 100%; height: auto; }
/* lamp: a lit layer over the red dome */
.sgb__glow { position: absolute; left: 20.2%; top: 50%; width: 19%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 42% 38%, rgba(255, 245, 230, .95) 0 8%, rgba(255, 120, 90, .85) 26%, rgba(255, 60, 40, .35) 52%, rgba(255, 60, 40, 0) 72%);
  mix-blend-mode: screen; box-shadow: 0 0 60px 24px rgba(255, 70, 45, .45); transition: opacity .5s; }
.alarmband.is-lit .sgb__glow { opacity: 1; animation: lamp 1.1s steps(2, jump-none) infinite; }
/* bell: rings spreading from the speaker grille */
.sgb__waves { position: absolute; left: 49.5%; top: 47%; width: 30%; aspect-ratio: 1.4; translate: -50% -50%; pointer-events: none; }
.sgb__waves i { position: absolute; inset: 0; border: 2px solid rgba(255, 90, 69, .7); border-radius: 50%; opacity: 0; }
.alarmband.is-lit .sgb__waves i { animation: bellwave 1.8s cubic-bezier(.2, .6, .3, 1) infinite; }
.alarmband.is-lit .sgb__waves i:nth-child(2) { animation-delay: .6s; }
.alarmband.is-lit .sgb__waves i:nth-child(3) { animation-delay: 1.2s; }
/* call point: the label plate carries real text, the black button is a real link */
.sgb__plate { position: absolute; left: 79.2%; top: 41%; translate: -50% -50%; font-family: var(--f-body); font-weight: 700; font-size: clamp(.5rem, 1.5vw, .85rem); letter-spacing: .12em; color: #fff; white-space: nowrap; pointer-events: none; }
.sgb__push { position: absolute; left: 79%; top: 61%; width: 9.5%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; display: block; transition: transform .15s, box-shadow .3s; }
.sgb__push::after { content: "押す"; position: absolute; left: 50%; top: calc(100% + 1px); translate: -50% 0; font-size: clamp(.5rem, 1.1vw, .72rem); font-weight: 700; letter-spacing: .14em; color: #fff; white-space: nowrap; }
.alarmband.is-lit .sgb__push { box-shadow: 0 0 0 0 rgba(255, 90, 69, .7); animation: pushhint 2.2s ease-out infinite; }
.sgb__push::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; }   /* larger tap target on phones */
.sgb__push:hover, .sgb__push:focus-visible { transform: scale(.9); box-shadow: inset 0 6px 12px rgba(0, 0, 0, .55); animation: none; }
.sgb__push:focus-visible { outline: 3px solid #ffd23f; outline-offset: 6px; }
@keyframes lamp { 0%, 49% { opacity: 1; } 50%, 100% { opacity: .55; } }
@keyframes bellwave { from { opacity: .8; transform: scale(.55); } to { opacity: 0; transform: scale(1.7); } }
@keyframes pushhint { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 69, .75); } 70%, 100% { box-shadow: 0 0 0 18px rgba(255, 90, 69, 0); } }
/* scroll-linked: the panel slides in from the right while the band enters (Chrome/Edge) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sgb { animation: sgbin linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  }
}
@keyframes sgbin { from { transform: translateX(18%) rotate(2deg); opacity: .2; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .alarmband .sgb__glow { opacity: 1; }
}

/* ---------- SNS totals (v3.4) ---------- */
.nw { white-space: nowrap; }
.phone__split { margin-top: 2px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; color: var(--red-hot); }
.reach__sns { margin-top: 18px; display: grid; gap: 8px; font-size: .82rem; color: rgba(243, 239, 230, .82); }
.reach__sns li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding-bottom: 8px; border-bottom: 1px solid var(--line-light); }
.reach__sns b { min-width: 6.5em; font-weight: 800; letter-spacing: .06em; color: var(--white); }
@media (min-width: 900px) {
  .reach__sns { grid-template-columns: repeat(2, 1fr); column-gap: 40px; margin-left: 160px; }
  .reach__sns + .reach__note { margin-left: 160px; }
}

/* ---------- 過去問テスト mockup slider ---------- */
.works__grid > * { min-width: 0; }   /* let the slider scroll inside its card instead of widening the grid */
.kako { position: relative; margin: 10px 0 18px; min-width: 0; max-width: 100%; }
.kako__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px 4px 14px; margin: 0 -4px; scrollbar-width: none; }
/* no CSS scroll-behavior here: smooth snapping at load registers as a scroll and Lighthouse then records no LCP (buttons scroll smoothly via JS) */
.kako__track::-webkit-scrollbar { display: none; }
.kako__track:focus-visible { outline: 3px solid #ffd23f; outline-offset: 2px; }
.kako__slide { flex: 0 0 auto; width: 150px; scroll-snap-align: start; }
.kako__slide a { display: grid; gap: 10px; justify-items: center; text-decoration: none; color: var(--paper); }
.kako__slide picture { display: block; width: 100%; filter: drop-shadow(10px 16px 18px rgba(0, 0, 0, .5)); transition: transform .5s var(--ease); }
.kako__slide img { width: 100%; height: auto; }
.kako__slide a:hover picture, .kako__slide a:focus-visible picture { transform: translateY(-8px) rotate(-2deg); }
.kako__label { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-align: center; line-height: 1.45; }
.kako__nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.kako__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(243, 239, 230, .4); background: none; color: var(--paper); font-size: 1rem; cursor: pointer; transition: background-color .2s, border-color .2s; }
.kako__btn:hover { background: var(--red); border-color: var(--red); }
.kako__btn:disabled { opacity: .3; cursor: default; background: none; border-color: rgba(243, 239, 230, .4); }
@media (min-width: 900px) { .kako__slide { width: 170px; } }

/* ---------- footer: URLs as text links ---------- */
.footer__links { gap: 10px !important; }
.footer__links li { display: grid; gap: 1px; }
.footer__label { font-size: .74rem; font-weight: 700; letter-spacing: .06em; color: rgba(243, 239, 230, .62); }
.footer__links a { text-decoration: underline !important; text-decoration-color: rgba(243, 239, 230, .35); text-underline-offset: .2em; word-break: break-all; }
.footer__links a:hover { text-decoration-color: currentColor; color: #fff; }

/* ---------- 取材テーマ: isometric illustration only, transparent, compact (v3.6) ---------- */
.theme { padding: 30px 0 28px; }
.theme__media { display: flex; justify-content: center; align-items: flex-end; height: 150px; background: none; }
.theme__media.frame::after { display: none; }
.theme__media .theme__iso { position: relative; inset: auto; width: auto; height: 100%; display: flex; align-items: flex-end; justify-content: center; pointer-events: none; }
.theme__media .theme__iso img { height: 100%; width: auto; max-width: 100%; }
.theme__media .theme__no { top: -6px; }
@media (min-width: 900px) {
  .theme { padding: 36px 0 34px; }
  .theme__media { height: 170px; justify-content: flex-start; padding-left: 40px; }
  .theme__media .theme__iso { width: auto; height: 100%; right: auto; bottom: auto; }
  .theme__media .theme__no { top: -10px; }
}

/* auto-flowing slider: no snapping while it moves; pause button mirrors the video toggle */
.kako__track.is-auto { scroll-snap-type: none; }
.kako__toggle { margin-right: auto; display: grid; place-items: center; }
.kako__toggle span { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.kako__toggle[aria-pressed="true"] span { width: 0; height: 0; border: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 4px; }
@media (prefers-reduced-motion: reduce) { .kako__toggle { display: none; } }

/* ---------- scroll-linked depth (progressive enhancement, Chrome/Edge) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero__poster img, .hero__video { animation: drift linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    .theme__media img { animation: zoomin linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
    .sec-head::before { animation: numslide linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
}
@keyframes drift { to { transform: scale(1.12) translateY(4%); } }
@keyframes zoomin { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes numslide { from { translate: 0 18%; } to { translate: 0 -18%; } }

/* ---------- motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (min-width: 900px) {
  .js .hero__title .line > span { transform: translateY(105%); animation: lineup 1.1s var(--ease) forwards; }
  /* a curtain over the footage rather than clipping it, so the poster still counts as the LCP image */
  .js .hero__reel::before { content: ""; position: absolute; inset: 0; z-index: 6; background: var(--ink-deep); transform-origin: right center; animation: curtain 1.4s var(--ease) .2s forwards; pointer-events: none; }
}
.js .hero__title .line:nth-child(1) > span { animation-delay: .1s; }
.js .hero__title .line:nth-child(2) > span { animation-delay: .22s; }
.js .hero__title .line:nth-child(3) > span { animation-delay: .34s; }
.js .hero__kicker, .js .hero__lead, .js .hero__cta, .js .hero__facts { animation: fadein .9s var(--ease) .3s both; }
@keyframes lineup { to { transform: none; } }
@keyframes fadein { from { opacity: 0; transform: translateY(12px); } }
@keyframes curtain { to { transform: scaleX(0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .hero__kicker, .js .hero__lead, .js .hero__cta, .js .hero__facts { opacity: 1 !important; transform: none; }
  .js .hero__title .line > span { transform: none !important; }
  .js .hero__reel::before { display: none; }
  .ticker__track { animation: none !important; flex-wrap: wrap; width: auto; }
  .ticker__list[aria-hidden="true"], .ticker__pause { display: none; }
  .ticker__list { flex-wrap: wrap; padding-inline: var(--gutter); }
}

@media print {
  .site-header, .ticker, .contact, .menu-btn, .float-alarm, .sticky-cta, video { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  body { background: #fff; }
}
.theme__media.frame::before { display: none; }
@media (max-width: 599px) { .reel-cap__long { display: none; } }
