/* ============================================================
   OTO 01 — SILENCE, REDESIGNED.
   Tokens → Base → Layout → Sections → Motion → A11y
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --color-bg: #04060B;
  --color-surface: #0A0F1A;
  --color-line: rgba(158, 180, 220, 0.14);
  --color-text: #E9EEF7;
  --color-muted: #8B96AC;
  --color-accent: #5B8CFF;
  --color-glow: #9FD0FF;
  --color-accent-deep: #1E3F8F;
  --font-display: "Archivo", "Zen Kaku Gothic New", sans-serif;
  --font-body: "Zen Kaku Gothic New", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
  --duration-fast: 0.3s;
  --duration-base: 0.7s;
  --duration-slow: 1.2s;
  --space-unit: 8px;
  --container: 1200px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
small { font-size: 0.72em; color: var(--color-muted); }

::selection { background: var(--color-accent); color: #04060B; }

:focus-visible {
  outline: 2px solid var(--color-glow);
  outline-offset: 4px;
  border-radius: 2px;
}

/* WebGL非対応フォールバック背景 */
body.no-webgl::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(91, 140, 255, 0.18), transparent 70%),
    radial-gradient(ellipse 45% 35% at 50% 42%, rgba(159, 208, 255, 0.10), transparent 70%);
  pointer-events: none;
}

/* ---------- 固定レイヤー ---------- */
.gl-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.grain-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 40;
  pointer-events: none;
  mix-blend-mode: screen;
}

main { position: relative; z-index: 10; }

/* ---------- ローディング ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: transform 1s var(--ease-in-out-quart);
}
.loader.is-done { transform: translateY(-100%); }
.loader__mark { display: flex; align-items: center; gap: 6px; height: 48px; }
.loader__bar {
  width: 4px; height: 8px;
  background: var(--color-accent);
  border-radius: 2px;
  animation: loaderEq 0.9s var(--ease-in-out-quart) infinite alternate;
}
.loader__bar:nth-child(1) { animation-delay: 0s; }
.loader__bar:nth-child(2) { animation-delay: 0.12s; }
.loader__bar:nth-child(3) { animation-delay: 0.24s; }
.loader__bar:nth-child(4) { animation-delay: 0.36s; }
.loader__bar:nth-child(5) { animation-delay: 0.48s; }
@keyframes loaderEq { from { height: 6px; opacity: 0.5; } to { height: 44px; opacity: 1; } }
.loader.is-done .loader__bar { animation: none; height: 2px; }
.loader__wordmark {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.42em;
  padding-left: 0.42em;
}
.loader__percent {
  position: absolute;
  right: 32px; bottom: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-muted);
}

/* ---------- カスタムカーソル ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; z-index: 900; pointer-events: none; }
  .cursor__dot, .cursor__ring {
    position: absolute;
    top: 0; left: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }
  .cursor__dot { width: 6px; height: 6px; background: var(--color-glow); }
  .cursor__ring {
    width: 36px; height: 36px;
    border: 1px solid rgba(159, 208, 255, 0.5);
    transition: width 0.35s var(--ease-out-expo), height 0.35s var(--ease-out-expo),
                background-color 0.35s var(--ease-out-expo);
  }
  .cursor.is-hover .cursor__ring {
    width: 64px; height: 64px;
    background: rgba(91, 140, 255, 0.12);
  }
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
}

/* ---------- 章ナビ(レール) ---------- */
.rail {
  position: fixed;
  left: 28px; top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 16px;
}
.rail__line {
  width: 1px; height: 180px;
  background: var(--color-line);
  position: relative;
  overflow: hidden;
}
.rail__progress {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--color-accent);
  transform: scaleY(0);
  transform-origin: top;
}
.rail__list { display: flex; flex-direction: column; gap: 14px; }
.rail__link {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--color-muted);
  transition: color var(--duration-fast) var(--ease-out-expo);
}
.rail__item.is-active .rail__link { color: var(--color-glow); }
.rail__link:hover { color: var(--color-text); }
@media (max-width: 1023px) { .rail { display: none; } }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  transition: background-color 0.5s var(--ease-out-expo),
              backdrop-filter 0.5s var(--ease-out-expo);
}
.site-header.is-scrolled {
  background: rgba(4, 6, 11, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-line);
}
.site-header__logo { color: var(--color-text); display: inline-flex; }
.site-header__logo-svg { display: block; }
.site-header__nav { display: flex; gap: 32px; }
.site-header__link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 0 1px;
  transition: background-size 0.4s var(--ease-out-expo), color 0.4s var(--ease-out-expo);
  padding-bottom: 2px;
}
.site-header__link:hover { color: var(--color-text); background-size: 100% 1px; }
.site-header__cta {
  font-size: 13px;
  font-weight: 500;
  padding: 10px 22px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  z-index: 0;
  transition: color 0.4s var(--ease-out-expo), border-color 0.4s var(--ease-out-expo);
}
.site-header__cta::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}
.site-header__cta:hover { color: #04060B; border-color: var(--color-accent); }
.site-header__cta:hover::before { transform: scaleX(1); }
@media (max-width: 767px) { .site-header__nav { display: none; } }

/* ---------- セクション共通 ---------- */
.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::after {
  content: '';
  width: 48px; height: 1px;
  background: var(--color-accent);
  opacity: 0.5;
}
.section-label__num { color: var(--color-muted); }

/* ---------- 00 HERO ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 24px) clamp(20px, 6vw, 96px) 96px;
  position: relative;
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.2vw, 13px);
  letter-spacing: 0.22em;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
}
.hero__eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 12px var(--color-accent);
  animation: heroPulse 2.4s ease-in-out infinite;
}
@keyframes heroPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.hero__title {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 850;
  font-size: clamp(44px, 10.5vw, 158px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin-top: 20px;
  white-space: pre-line;
  text-shadow: 0 0 80px rgba(91, 140, 255, 0.25);
}
.hero__title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em) rotate(4deg);
}
body.is-loaded .hero__title .char {
  animation: charUp 0.9s var(--ease-out-expo) forwards;
  animation-delay: calc(0.35s + var(--char-i, 0) * 0.032s);
}
@keyframes charUp {
  to { opacity: 1; transform: translateY(0) rotate(0); }
}
.hero__lead {
  margin-top: 32px;
  max-width: 480px;
  color: var(--color-muted);
  opacity: 0;
}
body.is-loaded .hero__eyebrow { animation: heroFade 1s var(--ease-out-expo) 0.2s forwards; }
body.is-loaded .hero__lead { animation: heroFade 1s var(--ease-out-expo) 1.1s forwards; }
@keyframes heroFade { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: clamp(20px, 6vw, 96px);
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
}
body.is-loaded .hero__scroll { animation: heroFade 1s var(--ease-out-expo) 1.6s forwards; }
.hero__scroll-line {
  width: 56px; height: 1px;
  background: var(--color-muted);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--color-glow);
  animation: scrollLine 1.8s var(--ease-in-out-quart) infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}
.hero__scroll-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--color-muted);
}

/* ---------- 01 ANATOMY ---------- */
.anatomy { height: 520svh; position: relative; }
.anatomy__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--header-h) clamp(20px, 6vw, 96px) 48px;
}
.anatomy__head { max-width: 520px; }
.anatomy__title {
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin-top: 18px;
}
.anatomy__steps { margin-top: 40px; max-width: 460px; position: relative; min-height: 220px; }
.anatomy__step {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--duration-base) var(--ease-out-expo),
              transform var(--duration-base) var(--ease-out-expo);
  pointer-events: none;
  border-left: 1px solid var(--color-line);
  padding-left: 24px;
}
.anatomy__step.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  border-left-color: var(--color-accent);
}
.anatomy__step-en {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--color-accent);
}
.anatomy__step-title {
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 700;
  margin-top: 10px;
  letter-spacing: 0.03em;
}
.anatomy__step-text { margin-top: 12px; color: var(--color-muted); font-size: 14px; }
.anatomy__hint {
  position: absolute;
  bottom: 32px;
  right: clamp(20px, 6vw, 96px);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--color-muted);
}
@media (max-width: 767px) {
  .anatomy__sticky { justify-content: flex-end; }
  .anatomy__steps { min-height: 200px; }
  .anatomy__hint { display: none; }
}

/* ---------- 02 IMMERSION ---------- */
.immersion {
  min-height: 220svh;
  position: relative;
  display: flex;
  align-items: flex-start;
}
.immersion__inner {
  position: sticky;
  top: 0;
  height: 100svh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--header-h) 20px;
}
.immersion__title {
  font-size: clamp(42px, 9vw, 120px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.06em;
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  text-shadow: 0 0 60px rgba(91, 140, 255, 0.35);
}
.immersion__line {
  display: block;
  overflow: hidden;
}
.immersion__line { opacity: 0; transform: translateY(60%); }
.immersion__line.is-in {
  animation: lineUp 1.1s var(--ease-out-expo) forwards;
}
.immersion__line:nth-child(2).is-in { animation-delay: 0.14s; }
@keyframes lineUp { to { opacity: 1; transform: none; } }
.immersion__lead { margin-top: 30px; color: var(--color-muted); }

/* ---------- 03 SILENCE ---------- */
.silence { height: 320svh; position: relative; }
.silence__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--header-h) 20px;
}
.silence__title {
  margin-top: 26px;
  font-size: clamp(46px, 10vw, 136px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.08em;
  display: flex;
  flex-direction: column;
}
.silence__title-line--em {
  color: var(--color-glow);
  text-shadow: 0 0 70px rgba(159, 208, 255, 0.5);
}
.silence__lead { margin-top: 28px; color: var(--color-muted); }
.silence__meter {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.silence__meter-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--color-muted);
}
.silence__meter-value {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 56px);
  color: var(--color-glow);
  font-variant-numeric: tabular-nums;
}
.silence__meter-value small { font-size: 0.45em; margin-left: 6px; color: var(--color-muted); }

/* ---------- 04 SPEC ---------- */
.spec {
  position: relative;
  padding: 160px 0 0;
  background: linear-gradient(to bottom, transparent, rgba(10, 15, 26, 0.85) 220px);
}
.spec__head {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 48px);
}
.spec__title {
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-top: 18px;
}
.spec__stats {
  max-width: var(--container);
  margin: 72px auto 0;
  padding: 0 clamp(20px, 6vw, 48px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--color-line);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
@media (min-width: 1024px) { .spec__stats { grid-template-columns: repeat(4, 1fr); } }
.spec__stat {
  background: var(--color-bg);
  padding: 40px 28px 44px;
}
.spec__stat-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--color-muted);
}
.spec__stat-value { margin: 14px 0 0; display: flex; align-items: baseline; gap: 6px; }
.spec__stat-num {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}
.spec__stat-unit {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--color-accent);
}

/* 横スクロール・フィーチャー */
.features { margin-top: 120px; overflow: hidden; }
.features__track {
  display: flex;
  gap: clamp(16px, 2.4vw, 32px);
  padding: 0 clamp(20px, 6vw, 96px) 140px;
  width: max-content;
}
.features__card {
  width: clamp(260px, 30vw, 400px);
  border: 1px solid var(--color-line);
  border-radius: 20px;
  padding: 32px 30px 40px;
  background: linear-gradient(160deg, rgba(21, 30, 48, 0.65), rgba(8, 12, 21, 0.9));
  backdrop-filter: blur(6px);
  transition: transform var(--duration-fast) var(--ease-out-expo),
              border-color var(--duration-fast) var(--ease-out-expo),
              box-shadow var(--duration-fast) var(--ease-out-expo);
}
@media (hover: hover) {
  .features__card:hover {
    transform: translateY(-8px);
    border-color: rgba(91, 140, 255, 0.5);
    box-shadow: 0 24px 60px rgba(4, 8, 18, 0.7), 0 0 40px rgba(91, 140, 255, 0.12);
  }
}
.features__card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--color-accent);
}
.features__card-title {
  font-family: var(--font-display);
  font-stretch: 120%;
  font-weight: 750;
  font-size: clamp(22px, 2.4vw, 30px);
  margin-top: 40px;
  letter-spacing: 0.01em;
}
.features__card-text { margin-top: 16px; color: var(--color-muted); font-size: 14px; }
@media (max-width: 767px) {
  .features { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .features__track { padding-bottom: 80px; }
}

/* ---------- CTA ---------- */
.reserve {
  min-height: 90svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px;
  position: relative;
}
.reserve__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.26em;
  color: var(--color-accent);
}
.reserve__title {
  margin-top: 22px;
  font-size: clamp(40px, 7.5vw, 96px);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
}
.reserve__price { margin-top: 20px; color: var(--color-muted); font-size: 15px; }
.reserve__button {
  margin-top: 52px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(200px, 24vw, 240px);
  height: clamp(200px, 24vw, 240px);
  border-radius: 50%;
  border: 1px solid rgba(159, 208, 255, 0.4);
  overflow: hidden;
  isolation: isolate;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.08em;
  transition: color 0.45s var(--ease-out-expo), border-color 0.45s var(--ease-out-expo),
              box-shadow 0.45s var(--ease-out-expo);
}
.reserve__button-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 120%, var(--color-glow), var(--color-accent) 60%);
  transform: translateY(101%);
  transition: transform 0.55s var(--ease-out-expo);
}
.reserve__button:hover { color: #04060B; border-color: var(--color-glow); box-shadow: 0 0 80px rgba(91, 140, 255, 0.4); }
.reserve__button:hover .reserve__button-bg { transform: translateY(0); }
.reserve__note { margin-top: 44px; font-size: 12px; color: var(--color-muted); }

/* ---------- フッター ---------- */
.site-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--color-line);
  background: rgba(4, 6, 11, 0.8);
}
.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px clamp(20px, 6vw, 48px) 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.site-footer__logo {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 850;
  font-size: 26px;
  letter-spacing: 0.3em;
}
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer__link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  transition: color var(--duration-fast) var(--ease-out-expo);
}
.site-footer__link:hover { color: var(--color-glow); }
.site-footer__copy { font-size: 12px; }
@media (min-width: 768px) {
  .site-footer__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- 汎用リビール ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--duration-base) var(--ease-out-expo),
              transform var(--duration-base) var(--ease-out-expo);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- ユーティリティ ---------- */
.u-pc { display: none; }
@media (min-width: 768px) {
  .u-pc { display: inline; }
  .u-sp { display: none; }
}

/* ---------- Reduced Motion(必須) ---------- */
@media (prefers-reduced-motion: reduce) {html:not(.force-motion) *, html:not(.force-motion) *::before, html:not(.force-motion) *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }html:not(.force-motion) [data-reveal], html:not(.force-motion) .hero__title .char, html:not(.force-motion) .hero__eyebrow, html:not(.force-motion) .hero__lead, html:not(.force-motion) .hero__scroll, html:not(.force-motion) .immersion__line, html:not(.force-motion) .anatomy__step { opacity: 1 !important; transform: none !important; }html:not(.force-motion) .loader { display: none; }html:not(.force-motion) .grain-canvas { display: none; }html:not(.force-motion) .anatomy { height: auto; }html:not(.force-motion) .anatomy__steps { position: static; min-height: 0; display: grid; gap: 32px; }html:not(.force-motion) .anatomy__step { position: static; pointer-events: auto; }html:not(.force-motion) .silence, html:not(.force-motion) .immersion { height: auto; min-height: 100svh; }}

/* ============================================================
   派手化アップデート v2
   ============================================================ */

/* ヒーロータイトル: 文字単位で光が走り抜ける(background-clipは文字アニメと衝突するため不使用) */
.hero__title {
  color: var(--color-text);
  filter: drop-shadow(0 0 42px rgba(91, 140, 255, 0.4));
}
body.is-loaded .hero__title .char {
  animation:
    charUp 0.9s var(--ease-out-expo) forwards,
    charSheen 5.4s ease-in-out infinite;
  animation-delay:
    calc(0.35s + var(--char-i, 0) * 0.032s),
    calc(1.8s + var(--char-i, 0) * 0.085s);
}
@keyframes charSheen {
  0%, 84%, 100% { color: var(--color-text); text-shadow: none; }
  90% { color: var(--color-glow); text-shadow: 0 0 28px rgba(159, 208, 255, 0.9); }
}

/* マーキー: 巨大アウトライン文字の帯 */
.marquee-sec {
  padding: 150px 0 130px;
  overflow: hidden;
  display: grid;
  gap: clamp(12px, 2vw, 26px);
  position: relative;
  z-index: 10;
}
.marquee { display: flex; overflow: hidden; white-space: nowrap; }
.marquee__inner {
  display: inline-flex;
  align-items: baseline;
  gap: clamp(28px, 4vw, 64px);
  padding-right: clamp(28px, 4vw, 64px);
  animation: marqueeMove 30s linear infinite;
  flex-shrink: 0;
}
.marquee--rev .marquee__inner { animation-direction: reverse; animation-duration: 36s; }
.marquee__item {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 850;
  font-size: clamp(52px, 8.5vw, 132px);
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.marquee__item--fill { color: var(--color-text); opacity: 0.92; }
.marquee__item--outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(159, 208, 255, 0.55);
}
@keyframes marqueeMove { to { transform: translateX(-100%); } }

/* CTA: 回転テキストリング */
.reserve__button-wrap {
  margin-top: 52px;
  position: relative;
  display: inline-flex;
}
.reserve__button-wrap .reserve__button { margin-top: 0; }
.reserve__ring {
  position: absolute;
  inset: clamp(-44px, -4.5vw, -38px);
  width: auto;
  height: auto;
  animation: ringSpin 18s linear infinite;
  pointer-events: none;
}
@keyframes ringSpin { to { transform: rotate(360deg); } }
.reserve__ring-text {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.32em;
  fill: var(--color-muted);
}
.reserve__button-wrap:hover .reserve__ring-text { fill: var(--color-glow); }

/* スキュー歪みの対象(JSから変形) */
.hero, .anatomy__sticky, .immersion__inner, .silence__sticky, .marquee-sec, .reserve {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {html:not(.force-motion) .hero__title { animation: none; }html:not(.force-motion) .marquee__inner { animation: none; }html:not(.force-motion) .reserve__ring { animation: none; }}

/* ============================================================
   v3: レイアウト改善 + 演出追加
   ============================================================ */

/* --- ヒーロー: 中央配置 + 可読性ビネット --- */
.hero {
  align-items: center;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 62% 46% at 50% 52%, rgba(4, 6, 11, 0.62), transparent 72%);
  pointer-events: none;
  z-index: -1;
}
.hero__eyebrow { justify-content: center; }
.hero__lead { margin-left: auto; margin-right: auto; }
.hero__scroll {
  left: 50%;
  transform: translateX(-50%);
}

/* --- ANATOMY: 解説をガラスパネル化して右側へ(可読性UP) --- */
.anatomy__steps {
  background: rgba(8, 12, 21, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--color-line);
  border-radius: 18px;
  min-height: 264px;
}
.anatomy__step {
  padding: 30px 30px 30px 34px;
  border-left: none;
}
.anatomy__step::before {
  content: '';
  position: absolute;
  left: 0; top: 30px; bottom: 30px;
  width: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.7s var(--ease-out-expo) 0.15s;
}
.anatomy__step.is-active::before { transform: scaleY(1); }
@media (min-width: 1024px) {
  .anatomy__steps {
    position: absolute;
    right: clamp(24px, 6vw, 96px);
    top: 50%;
    transform: translateY(-50%);
    width: 440px;
    margin-top: 0;
  }
  .anatomy__sticky { position: sticky; }
}

/* --- SPEC見出し: 中央寄せ --- */
.spec__head { text-align: center; }
.spec__head .section-label { justify-content: center; }

/* --- リビールのバリエーション --- */
[data-reveal="left"] { transform: translateX(-44px); }
[data-reveal="right"] { transform: translateX(44px); }
[data-reveal="zoom"] { transform: scale(0.9); }
[data-reveal="wipe"] {
  transform: none;
  clip-path: inset(0 100% 0 0);
  transition: opacity var(--duration-base) var(--ease-out-expo),
              clip-path 0.9s var(--ease-out-expo);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal="wipe"].is-visible { clip-path: inset(0 0 0 0); }
[data-reveal].is-visible { transform: none; }

/* --- ロゴマーキー(FEATURED IN) --- */
.logos {
  position: relative;
  z-index: 10;
  padding: 40px 0 56px;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  background: rgba(6, 9, 16, 0.5);
}
.logos__label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--color-muted);
  margin-bottom: 26px;
}
.logos__belt { display: flex; overflow: hidden; white-space: nowrap; }
.logos__belt:hover .logos__inner { animation-play-state: paused; }
.logos__inner {
  display: inline-flex;
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
  padding-right: clamp(48px, 7vw, 110px);
  animation: marqueeMove 24s linear infinite;
  flex-shrink: 0;
}
.logos__item {
  color: var(--color-muted);
  opacity: 0.75;
  font-size: 19px;
  letter-spacing: 0.06em;
  transition: color var(--duration-fast) var(--ease-out-expo), opacity var(--duration-fast) var(--ease-out-expo);
  cursor: default;
}
.logos__item:hover { color: var(--color-glow); opacity: 1; }
.logos__item--serif { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; }
.logos__item--mono { font-family: var(--font-mono); letter-spacing: 0.22em; font-size: 16px; }
.logos__item--wide { font-family: var(--font-display); font-stretch: 125%; font-weight: 850; letter-spacing: 0.12em; }
.logos__item--thin { font-family: var(--font-display); font-stretch: 80%; font-weight: 400; letter-spacing: 0.3em; }

/* --- レビュー・カルーセル --- */
.reviews {
  position: relative;
  z-index: 10;
  padding: 150px 20px 130px;
  text-align: center;
}
.reviews .section-label { justify-content: center; }
.reviews__stage {
  position: relative;
  max-width: 860px;
  margin: 56px auto 0;
  min-height: 240px;
}
.reviews__slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 26px;
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
  pointer-events: none;
  margin: 0;
}
.reviews__slide.is-current { opacity: 1; transform: none; pointer-events: auto; }
.reviews__quote {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0.04em;
}
.reviews__quote::before { content: '“'; color: var(--color-accent); margin-right: 0.1em; }
.reviews__quote::after { content: '”'; color: var(--color-accent); margin-left: 0.1em; }
.reviews__source {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color-muted);
}
.reviews__stars { color: var(--color-glow); letter-spacing: 0.3em; font-size: 14px; }
.reviews__dots { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.reviews__dot {
  width: 26px; height: 26px;
  border: none;
  background: transparent;
  position: relative;
  padding: 0;
}
.reviews__dot::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--color-muted);
  opacity: 0.5;
  transition: opacity var(--duration-fast), background-color var(--duration-fast), transform var(--duration-fast);
}
.reviews__dot.is-current::after {
  background: var(--color-glow);
  opacity: 1;
  transform: scale(1.4);
}
.reviews__note { margin-top: 34px; font-size: 11px; color: var(--color-muted); }

@media (prefers-reduced-motion: reduce) {html:not(.force-motion) .logos__inner { animation: none; }html:not(.force-motion) .reviews__slide { position: static; opacity: 1; transform: none; pointer-events: auto; }html:not(.force-motion) .reviews__stage { min-height: 0; display: grid; gap: 48px; }html:not(.force-motion) .reviews__dots { display: none; }}

/* ============================================================
   v4: リサーチ移植(TriOrb / SHIFTBRAIN / mount / Neue Montreal)
   ============================================================ */

/* フォーカスプル遷移: JSからfilterを書き込む */
.gl-canvas { will-change: filter; }

/* 回転バッジ(ヒーロー右下) */
.hero__badge {
  position: absolute;
  right: clamp(20px, 6vw, 96px);
  bottom: 32px;
  width: 118px;
  height: 118px;
  opacity: 0;
}
body.is-loaded .hero__badge { animation: heroFade 1s var(--ease-out-expo) 1.9s forwards; }
.hero__badge svg { width: 100%; height: 100%; animation: ringSpin 22s linear infinite; display: block; }
.hero__badge-text {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  fill: var(--color-muted);
}
.hero__badge-dot {
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 16px var(--color-accent);
  animation: heroPulse 2.4s ease-in-out infinite;
}
@media (max-width: 767px) { .hero__badge { display: none; } }

/* X-RAY切替ピル(SHIFTBRAINのモード切替より) */
.anatomy__xray {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--color-muted);
  background: transparent;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 11px 20px;
  transition: color 0.35s var(--ease-out-expo),
              background-color 0.35s var(--ease-out-expo),
              border-color 0.35s var(--ease-out-expo),
              box-shadow 0.35s var(--ease-out-expo);
}
.anatomy__xray-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.anatomy__xray:hover { color: var(--color-glow); border-color: rgba(159, 208, 255, 0.5); }
.anatomy__xray.is-on {
  color: #04060B;
  background: var(--color-glow);
  border-color: var(--color-glow);
  box-shadow: 0 0 32px rgba(159, 208, 255, 0.45);
}

/* 蛍光マーカー(mount inc.のハイライトより) */
.marker {
  background: linear-gradient(rgba(91, 140, 255, 0.34), rgba(91, 140, 255, 0.34)) no-repeat left 62% / 0% 58%;
  border-radius: 4px;
  padding: 0 0.14em;
  transition: background-size 0.9s var(--ease-out-expo) 0.25s;
  color: var(--color-text);
}
.marker.is-marked { background-size: 100% 58%; }

@media (prefers-reduced-motion: reduce) {html:not(.force-motion) .hero__badge { opacity: 1; }html:not(.force-motion) .hero__badge svg { animation: none; }html:not(.force-motion) .marker { background-size: 100% 58%; }}

/* ============================================================
   v4.1: 静的モードの整形 + 章ナビ重なり修正 + モーション再生ボタン
   ============================================================ */

/* 章ナビ: 中間幅でタイトルと重なるため1280px未満は非表示に */
@media (max-width: 1279px) { .rail { display: none; } }

/* 章ナビが出る幅では、ANATOMYの見出しをレールの右側から始める */
@media (min-width: 1280px) {
  .anatomy__sticky { padding-left: 184px; }
}

/* 静的モード(視差効果を減らす)でのANATOMY: 崩さず縦に読ませる */
@media (prefers-reduced-motion: reduce) and (min-width: 1024px) {
  html:not(.force-motion) .anatomy__sticky {
    position: static;
    height: auto;
    min-height: 0;
    padding-top: 140px;
    padding-bottom: 100px;
  }
  html:not(.force-motion) .anatomy__steps {
    position: static;
    transform: none;
    width: auto;
    max-width: 640px;
    margin-top: 44px;
  }
}

/* モーション再生/停止ボタン(reduced環境でのみJSが生成) */
.motion-banner {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--color-text);
  background: rgba(10, 15, 26, 0.88);
  border: 1px solid rgba(159, 208, 255, 0.4);
  border-radius: 999px;
  padding: 12px 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: color 0.3s var(--ease-out-expo), border-color 0.3s var(--ease-out-expo),
              box-shadow 0.3s var(--ease-out-expo);
}
.motion-banner:hover {
  color: var(--color-glow);
  border-color: var(--color-glow);
  box-shadow: 0 0 28px rgba(91, 140, 255, 0.35);
}

/* ============================================================
   v5: リサーチ移植 第2弾(Dylan Brouwer / 日産 / Billboard Live)
   ============================================================ */

/* STORY: スクロールで1文字ずつ点灯するブランド宣言(Dylan Brouwer/日産より) */
.story { height: 300svh; position: relative; z-index: 10; }
.story__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--header-h) 24px;
  overflow: hidden;
}
.story__text {
  max-width: 820px;
  text-align: center;
  font-size: clamp(21px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 2.15;
  letter-spacing: 0.06em;
}
.story__text .ch { opacity: 0.14; }

/* 浮遊スペックチップ(日産の散らばる写真より) */
.story__chip {
  position: absolute;
  font-family: var(--font-mono);
  font-size: clamp(10px, 1vw, 12px);
  letter-spacing: 0.18em;
  color: var(--color-glow);
  background: rgba(10, 15, 26, 0.55);
  border: 1px solid rgba(91, 140, 255, 0.35);
  border-radius: 999px;
  padding: 10px 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 24px rgba(91, 140, 255, 0.12);
  animation: chipDrift 7s ease-in-out infinite alternate;
  white-space: nowrap;
}
.story__chip:nth-child(1) { top: 20%; left: 12%; animation-delay: 0s; }
.story__chip:nth-child(2) { top: 14%; right: 16%; animation-delay: 1.2s; }
.story__chip:nth-child(3) { bottom: 24%; left: 8%; animation-delay: 2.1s; }
.story__chip:nth-child(4) { bottom: 16%; right: 10%; animation-delay: 0.7s; }
.story__chip:nth-child(5) { top: 46%; right: 5%; animation-delay: 1.7s; }
@keyframes chipDrift { from { transform: translateY(-8px); } to { transform: translateY(10px); } }
@media (max-width: 767px) {
  .story__chip:nth-child(3), .story__chip:nth-child(5) { display: none; }
}

/* IMMERSIONタイトル: 短冊スライスが組み上がる(Billboard Liveより) */
.immersion__line.is-sliced {
  opacity: 1;
  transform: none;
  position: relative;
  overflow: visible;
}
.immersion__line-ghost { color: transparent; }
.immersion__slice {
  position: absolute;
  inset: 0;
  color: var(--color-text);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .story { height: auto; }
  html:not(.force-motion) .story__sticky { position: static; height: auto; padding: 140px 24px; }
  html:not(.force-motion) .story__text .ch { opacity: 1; }
  html:not(.force-motion) .story__chip { animation: none; }
}

/* ============================================================
   v5.1: 改行の修正(FVの行単位折り返し / STORYのボックス折り返し)
   ============================================================ */

/* ヒーロー: 行ボックス内では絶対に折り返さない */
.hero__title { font-size: clamp(40px, 9vw, 150px); }
.hero__title-line { display: block; white-space: nowrap; }

/* STORY: 決めた幅のボックス内で自然に折り返す(禁則処理+行バランス) */
.story__text {
  max-width: min(23em, 86vw);
  font-size: clamp(19px, 2.7vw, 36px);
  line-break: strict;
}
.story__line {
  display: block;
  text-wrap: balance;
  margin-bottom: 0.5em;
}
.story__line:last-child { margin-bottom: 0; }
.story__text .ch { display: inline; }
