/* ===================================================
   LUMINA Engine — Shared Stylesheet
   =================================================== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&family=Noto+Sans+JP:wght@400;500;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---------- Custom Properties ---------- */
:root {
  /* 地は明るいクリーム。ヘッダーの色帯は LUMINA の紺。 */
  --bg:        #f6f3ee;
  --bg2:       #ffffff;
  --bg3:       #efeae2;
  --bg4:       #e6e0d6;
  --header:    #156080;
  --header-2:  #114e68;
  --gold:      #c3922a;
  --gold2:     #d4a843;
  --gold-dim:  rgba(195,146,42,.12);
  --gold-glow: rgba(195,146,42,.28);
  --blue:      #2a7ca8;
  --blue-dim:  rgba(42,124,168,.12);
  --green:     #2f9e5c;
  --amber:     #d4891a;
  --red:       #c44545;
  --text:      #3f4656;
  --text-br:   #1b2230;
  --text-dim:  #6d7586;
  --border:    #ddd4c8;
  --border2:   #cfc5b6;
  --code-bg:   #efeae2;
  --radius:    10px;
  --radius-sm: 6px;
  --shadow:    0 8px 28px rgba(40,28,20,.08);
  --nav-h:     64px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Noto Sans JP', system-ui, sans-serif;
  background-color: var(--bg);
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 11px,
      rgba(40, 32, 24, .035) 11px,
      rgba(40, 32, 24, .035) 12px
    );
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold2); }
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.l-nav__lang:focus-visible,
.l-nav__menu:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
code, pre {
  font-family: 'JetBrains Mono', monospace;
  font-size: .875em;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: #0a0800;
  font-weight: 600;
  font-size: .85rem;
}
.skip-link:focus {
  top: 12px;
  color: #0a0800;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }

/* ===================================================
   NAV  (アイコン + ラベルを横並び)
   =================================================== */
.l-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  isolation: isolate;
  height: var(--nav-h);
  background: #fff;
  border-top: 2px solid var(--gold2);
  border-bottom: 2px solid var(--gold2);
  padding: 0;
  display: flex;
  align-items: stretch;
  gap: 0;
}
.l-nav.is-compact { height: var(--nav-h); }
.l-nav__logo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  padding: 0 26px 0 22px;
  background: #fff;
  text-decoration: none;
  color: var(--header);
}
.l-nav__logo::after {
  content: '';
  width: 1px;
  align-self: stretch;
  margin: 12px 0 12px 4px;
  background: linear-gradient(180deg, transparent, var(--gold) 18%, var(--gold) 82%, transparent);
  opacity: .45;
}
.l-nav__logo:hover { color: var(--header-2); }
.l-nav__mark {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background:
    radial-gradient(120% 90% at 22% 18%, rgba(255,248,228,.42), transparent 46%),
    linear-gradient(145deg, #e4b75a 0%, #c3922a 46%, #9e7318 100%);
  color: #fffdf6;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.28rem;
  display: grid;
  place-items: center;
  letter-spacing: 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.42),
    inset 0 -1px 0 rgba(90,55,0,.22),
    0 1px 0 rgba(195,146,42,.18),
    0 8px 16px rgba(140,90,10,.12);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.l-nav__mark::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 8px;
  border: 1px solid rgba(255,248,230,.38);
  box-shadow: inset 0 0 0 1px rgba(90,55,0,.12);
  pointer-events: none;
}
.l-nav__mark::after {
  content: '';
  position: absolute;
  top: 7px;
  left: 8px;
  width: 12px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.38);
  filter: blur(1.2px);
  pointer-events: none;
}
.l-nav__glyph {
  position: relative;
  z-index: 1;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(90,55,0,.28);
}
.l-nav__logo:hover .l-nav__mark {
  transform: translateY(-1px);
  filter: saturate(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.5),
    0 10px 18px rgba(195,146,42,.22);
}
.l-nav__brand { display: flex; flex-direction: column; line-height: 1; }
.l-nav__word {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: .2em;
  color: #163e52;
}
.l-nav__spark {
  display: inline-block;
  position: relative;
  color: var(--gold);
  transform: scaleY(1.08);
  text-shadow: 0 0 10px rgba(212,168,67,.35);
}
.l-nav__spark::after {
  content: '';
  position: absolute;
  left: 50%;
  top: -3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold2);
  transform: translateX(-50%);
  box-shadow: 0 0 7px rgba(212,168,67,.7);
}
.l-nav__sub {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .58rem;
  letter-spacing: .42em;
  color: var(--gold);
  margin-top: 5px;
  padding-top: 4px;
  border-top: 1px solid rgba(195,146,42,.35);
}
.l-nav__links {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  list-style: none;
  flex: 1;
  min-width: 0;
  gap: 2px;
}
.l-nav__links li {
  flex: 0 1 auto;
  display: flex;
}
.l-nav__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  padding: 0 10px;
  border-radius: 0;
  color: var(--header);
  text-decoration: none;
  opacity: 1;
  border-bottom: 2px solid transparent;
}
.l-nav__item svg {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  color: currentColor;
}
.l-nav__item svg * { stroke-width: 1.9; }
.l-nav__item span {
  display: inline;
  width: auto;
  height: auto;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
  color: inherit;
}
.l-nav__item:hover,
.l-nav__item.active {
  background: var(--gold-dim);
  color: var(--header-2);
  opacity: 1;
  box-shadow: none;
}
.l-nav__item.active {
  border-bottom-color: var(--gold);
}
.l-nav__item:hover span,
.l-nav__item.active span {
  background: transparent;
  color: inherit;
}
.l-nav__right {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 18px;
  flex-shrink: 0;
  background: #fff;
}
.l-nav__cta {
  display: inline-flex;
  align-items: center;
  font-family: 'Space Grotesk', 'Noto Sans JP', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  background: var(--header);
  border: 1px solid var(--header);
  border-radius: 4px;
  padding: 7px 14px;
  text-decoration: none;
  white-space: nowrap;
}
.l-nav__cta:hover { color: #fff; background: var(--header-2); border-color: var(--header-2); }
.l-nav__lang {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--header);
  border: 1px solid var(--header);
  background: #fff;
  border-radius: 4px;
  padding: 7px 12px;
  cursor: pointer;
}
.l-nav__lang:hover { color: #fff; background: var(--header); }
.l-nav__menu {
  display: none;
  font-family: 'Space Grotesk', 'Noto Sans JP', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--header);
  border: 1px solid var(--header);
  background: #fff;
  border-radius: 4px;
  padding: 7px 12px;
  cursor: pointer;
}
.l-nav__menu:hover { color: #fff; background: var(--header); }
body.nav-open { overflow: hidden; }

/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px,10vw,120px) clamp(20px,5vw,60px) clamp(64px,10vw,100px);
  text-align: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(212,168,67,.09) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 20% 80%, rgba(59,130,246,.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero__eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--gold);
  border: 1px solid var(--gold-glow);
  background: var(--gold-dim);
  border-radius: 20px;
  padding: 4px 16px;
  margin-bottom: 28px;
}
.hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(3.2rem,9vw,7rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--text-br);
  margin-bottom: 12px;
}
.hero__title em {
  font-style: normal;
  color: var(--gold);
}
.hero__acronym {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(.72rem,1.4vw,.92rem);
  letter-spacing: .12em;
  color: var(--text-dim);
  margin-bottom: 28px;
  line-height: 2;
}
.hero__acronym b { color: var(--gold); font-weight: 600; }
.hero__sub {
  font-size: clamp(1rem,2vw,1.2rem);
  color: var(--text);
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.8;
}
.hero__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Hero Platform Pills ---------- */
.hero__platforms {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px auto 0;
  max-width: 620px;
}
.plat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem;
  letter-spacing: .02em;
  color: var(--text);
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 22px;
  padding: 7px 16px;
  transition: border-color .2s, color .2s;
}
.plat-pill:hover { border-color: var(--gold-glow); color: var(--text-br); }
.plat-pill .p-ic { font-size: 1rem; line-height: 1; }
.plat-pill .p-ok {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
  box-shadow: 0 0 8px rgba(34,197,94,.55);
}
.hero__platforms-note {
  width: 100%;
  text-align: center;
  font-size: .78rem;
  color: var(--text-dim);
  margin-top: 14px;
}

/* ===================================================
   ENGINE HERO + SPEC  (製品紹介ページ型の見出しと仕様欄)
   =================================================== */
.engine-hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.engine-hero--stage {
  display: block;
  min-height: 0;
  padding: clamp(36px, 6vw, 72px) clamp(20px, 4vw, 48px) clamp(48px, 7vw, 80px);
}
.engine-hero--stage .engine-hero__inner {
  max-width: 1180px;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  align-items: center;
  padding: 0;
  gap: clamp(28px, 4vw, 56px);
}
.engine-hero__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .78rem;
  letter-spacing: .16em;
  color: var(--header);
  margin-bottom: 18px;
}
.engine-hero__mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--header);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0;
  font-size: .85rem;
}
.engine-hero--stage .engine-hero__title {
  color: var(--text-br);
  text-shadow: none;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  margin-bottom: 16px;
}
.engine-hero--stage .engine-hero__lead {
  color: var(--text);
  font-size: .98rem;
  line-height: 1.9;
  max-width: 34em;
  margin-bottom: 28px;
  line-break: strict;
  word-break: keep-all;
}
.engine-hero__lead .nowrap { white-space: nowrap; }
.btn-hero,
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: .92rem;
}
.btn-hero {
  background: var(--header);
  color: #fff;
}
.btn-hero:hover { background: var(--header-2); color: #fff; }
.btn-hero-ghost {
  background: #fff;
  color: var(--text-br);
  border: 1px solid var(--border2);
}
.btn-hero-ghost:hover { background: var(--bg3); color: var(--text-br); }
.engine-hero__shot {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(40, 28, 20, .08);
}
.engine-hero__shot img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: center;
  background: #fff;
}
.engine-hero__shot figcaption {
  padding: 12px 16px 14px;
  background: #fff;
  color: var(--text-br);
  border-top: 1px solid var(--border);
}
.engine-hero__shot strong { display: block; font-size: .95rem; font-weight: 600; }
.engine-hero__shot span {
  display: block;
  margin-top: 2px;
  font-size: .78rem;
  color: var(--text-dim);
}
.engine-hero--photo { display: block; }
.engine-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.engine-hero__caption {
  position: absolute;
  top: clamp(28px, 6vh, 72px);
  right: clamp(24px, 6vw, 80px);
  z-index: 1;
  text-align: right;
  text-shadow: 0 8px 24px rgba(0,0,0,.45);
}
.engine-hero__places {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: .16em;
  font-size: clamp(.95rem, 1.6vw, 1.25rem);
  color: rgba(214, 228, 242, .92);
  margin-bottom: 8px;
}
.engine-hero__line {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 500;
  color: #f7f4ee;
}
.engine-hero__dock {
  position: absolute;
  left: clamp(24px, 5vw, 72px);
  bottom: clamp(64px, 9vh, 110px);
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 22px 32px;
  max-width: min(640px, 92vw);
}
.engine-hero--photo .engine-hero__tag { color: rgba(212, 168, 67, .95); }
.engine-hero--photo .engine-hero__title {
  color: #fff;
  text-shadow: 0 10px 28px rgba(0,0,0,.45);
  margin-bottom: 0;
}
.engine-hero--photo .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.engine-hero--photo .btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.engine-hero--photo .engine-hero__scroll { color: rgba(255,255,255,.82); }
.engine-hero--photo .engine-hero__scroll::after { background: rgba(255,255,255,.8); }
.engine-hero--photo::before { display: none; }
.engine-hero::before {
  content: '';
  position: absolute;
  right: 6%;
  top: 12%;
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,96,128,.1) 0%, transparent 70%);
  pointer-events: none;
}
.engine-hero__media,
.engine-hero__veil { display: none; }
.engine-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 60px) clamp(72px, 8vw, 100px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.engine-hero__tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem;
  letter-spacing: .12em;
  color: var(--header);
  margin-bottom: 14px;
}
.engine-hero__title {
  font-family: 'Noto Sans JP', 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 5.4vw, 4.2rem);
  line-height: 1.2;
  letter-spacing: .02em;
  color: var(--text-br);
  margin-bottom: 16px;
}
.engine-hero__title em {
  font-style: normal;
  color: var(--gold);
}
.engine-hero__acronym {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(.72rem, 1.4vw, .9rem);
  letter-spacing: .14em;
  color: var(--text-dim);
  margin-bottom: 22px;
}
.engine-hero__acronym b { color: var(--gold); font-weight: 600; }
.engine-hero__lead {
  max-width: 560px;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 22px;
}
.engine-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.engine-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  background: #fff;
}
.engine-chip--ok::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
  vertical-align: middle;
}
.engine-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.engine-hero__panel .code-block {
  box-shadow: var(--shadow);
}
.engine-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--header);
  font-size: .72rem;
  letter-spacing: .16em;
  text-decoration: none;
  opacity: .8;
}
.engine-hero__scroll:hover { color: var(--header-2); opacity: 1; }
.engine-hero__scroll::after {
  content: '';
  width: 1px;
  height: 28px;
  background: var(--header);
  animation: scroll-pulse 1.6s ease-in-out infinite;
}

.vn-frame {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #101820;
  box-shadow: 0 18px 40px rgba(27, 34, 48, .16);
}
.vn-frame__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  background: #1b2836;
}
.vn-frame__bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3d5164;
}
.vn-frame__bar span:first-child { background: #c3922a; }
.vn-frame__bar em {
  margin-left: auto;
  font-style: normal;
  font-family: 'JetBrains Mono', monospace;
  font-size: .68rem;
  letter-spacing: .14em;
  color: #d4a843;
}
.vn-stage {
  position: relative;
  height: 280px;
  overflow: hidden;
}
/* 実機の撮影を載せる札。**高さを固定すると左右が切れて枠や UI が欠ける**ので、
   16:9 のまま丸ごと見せる（作り物の絵だった頃は 280px 固定でよかった）。 */
.vn-stage--photo {
  height: auto;
  aspect-ratio: 16 / 9;
}
.vn-stage--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0b1018;
}
.vn-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #8ec5e8 0%, #f3d7b0 46%, #e7b07a 100%);
}
.vn-stage--live .vn-sky { background: linear-gradient(180deg, #243044 0%, #6d88a8 55%, #d7c4b0 100%); }
.vn-stage--d3 .vn-sky { background: linear-gradient(180deg, #122033 0%, #1d4a62 48%, #0e1a24 100%); }
.vn-glow {
  position: absolute;
  left: 18%;
  top: 18%;
  width: 46%;
  height: 42%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,244,220,.85), transparent 70%);
}
.vn-char {
  position: absolute;
  bottom: 54px;
  width: 92px;
  height: 168px;
  border-radius: 46px 46px 18px 18px;
}
.vn-char--back {
  left: 18%;
  background: linear-gradient(#3d4f63, #2a3848);
  transform: scale(.86);
  transform-origin: bottom center;
  opacity: .85;
}
.vn-char--front {
  right: 16%;
  background: linear-gradient(#f4e4d4 0 28%, #c45b63 28% 70%, #2c3444 70%);
  box-shadow: 0 12px 24px rgba(0,0,0,.18);
}
.vn-char--front::before,
.vn-char--back::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 18px;
  width: 36px;
  height: 36px;
  margin-left: -18px;
  border-radius: 50%;
  background: #f6d7c3;
}
.vn-msg {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 12px 10px;
  border-radius: 8px;
  background: rgba(16, 22, 32, .78);
  color: #f4efe6;
}
.vn-msg b {
  display: block;
  font-size: .72rem;
  color: #d4a843;
  margin-bottom: 2px;
}
.vn-msg p { font-size: .84rem; line-height: 1.45; }
.vn-live {
  position: absolute;
  left: 50%;
  bottom: 58px;
  width: 120px;
  height: 190px;
  margin-left: -60px;
  animation: vn-breathe 3.2s ease-in-out infinite;
}
.vn-live__body {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 120px;
  border-radius: 40px 40px 16px 16px;
  background: linear-gradient(#f2f4f8, #8ea0b8);
}
.vn-live__face {
  position: absolute;
  left: 28px;
  top: 28px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f6d7c3;
}
.vn-live__face::before,
.vn-live__face::after {
  content: '';
  position: absolute;
  top: 26px;
  width: 8px;
  height: 4px;
  border-radius: 4px;
  background: #2a3344;
  animation: vn-blink 4.2s infinite;
}
.vn-live__face::before { left: 14px; }
.vn-live__face::after { right: 14px; }
.vn-live__hair {
  position: absolute;
  left: 16px;
  top: 8px;
  width: 88px;
  height: 78px;
  border-radius: 40px 40px 20px 20px;
  background: #2a3344;
}
@keyframes vn-breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes vn-blink {
  0%, 42%, 48%, 100% { transform: scaleY(1); }
  45% { transform: scaleY(.15); }
}
.vn-floor {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 48px;
  height: 90px;
  background: linear-gradient(#245066, #0d1822);
  transform: perspective(180px) rotateX(48deg);
}
.vn-box {
  position: absolute;
  bottom: 92px;
  width: 54px;
  height: 70px;
  background: linear-gradient(90deg, #d4a843, #8d6a22);
  transform: skewY(-8deg);
  box-shadow: 12px 8px 0 rgba(0,0,0,.25);
}
.vn-box--a { left: 22%; }
.vn-box--b { right: 24%; height: 96px; background: linear-gradient(90deg, #7eb6d4, #2a7ca8); }
.screen-band {
  padding: clamp(64px, 8vw, 96px) clamp(20px, 5vw, 60px);
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.screen-band__head { max-width: 720px; margin: 0 auto 28px; }
.screen-band__head h2 {
  font-family: 'Noto Sans JP', 'Space Grotesk', sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  color: var(--text-br);
  margin: 8px 0 10px;
}
.screen-band__head p:last-child { color: var(--text); line-height: 1.8; }
.screen-band__grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.vn-card figcaption { padding: 12px 4px 0; }
.vn-card strong { display: block; color: var(--text-br); }
.vn-card span { display: block; color: var(--text-dim); font-size: .9rem; line-height: 1.6; margin-top: 4px; }
#features-list .card__icon { display: none; }
#features-list .card__body {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spec {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 80px) clamp(20px, 5vw, 60px) 12px;
}
.spec h2 {
  font-family: 'Noto Sans JP', 'Space Grotesk', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--header);
  border-bottom: 2px solid var(--header);
  padding-bottom: 8px;
  margin: 0 0 18px;
}
.spec h3 {
  font-family: 'Noto Sans JP', 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-br);
  margin: 26px 0 8px;
}
.spec p {
  font-size: .97rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 12px;
}
.spec-note {
  font-size: .88rem;
  color: var(--text-dim);
  line-height: 1.8;
}
.app-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 20px;
}
.app-table th,
.app-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  font-size: .92rem;
}
.app-table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: .68rem;
  letter-spacing: .08em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.app-table .app-name {
  font-weight: 700;
  color: var(--text-br);
  white-space: nowrap;
}
.app-table .app-out {
  font-family: 'JetBrains Mono', monospace;
  font-size: .8rem;
  color: var(--header);
}

/* ===================================================
   LIVE HERO + SCROLL STORY  (kept for inner reuse)
   =================================================== */
.hero-live {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: #0e1622;
}
.hero-live__media,
.hero-live__veil {
  position: absolute;
  inset: 0;
}
.hero-live__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 38%;
}
.hero-live__veil {
  background:
    linear-gradient(100deg, rgba(10,16,26,.78) 0%, rgba(10,16,26,.42) 46%, rgba(10,16,26,.18) 100%),
    linear-gradient(180deg, rgba(10,16,26,.08) 0%, rgba(10,16,26,.55) 100%);
}
.hero-live__copy {
  position: relative;
  z-index: 1;
  padding: clamp(48px, 8vw, 100px) clamp(24px, 6vw, 80px) clamp(72px, 10vw, 110px);
  max-width: 860px;
}
.hero-live__eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  letter-spacing: .18em;
  color: var(--gold2);
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(240,201,106,.35);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 22px;
}
.hero-live__title {
  font-family: 'Noto Sans JP', 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 1.18;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 10px;
}
.hero-live__wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: .28em;
  color: var(--gold2);
  margin-bottom: 22px;
}
.hero-live__lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.9;
  color: rgba(255,255,255,.88);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-live__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-live .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,.45);
}
.hero-live .btn-outline:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
}
.hero-live__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: .72rem;
  letter-spacing: .16em;
  text-decoration: none;
  opacity: .8;
}
.hero-live__scroll:hover { color: #fff; opacity: 1; }
.hero-live__scroll::after {
  content: '';
  width: 1px;
  height: 28px;
  background: #fff;
  animation: scroll-pulse 1.6s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(.55); opacity: .35; }
  50% { transform: scaleY(1); opacity: 1; }
}

.story-pin {
  position: relative;
  scroll-margin-top: var(--nav-h);
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(56px, 8vw, 88px) clamp(20px, 5vw, 60px);
}
.story-pin__stage { display: none; }
.story-pin__panels {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.story-pin__panel {
  min-height: 0;
  display: flex;
  align-items: stretch;
  padding: 0;
}
.story-pin__card {
  max-width: none;
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: none;
}
.story-pin__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem;
  letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: 8px;
}
.story-pin__card h2 {
  font-family: 'Noto Sans JP', 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--text-br);
  line-height: 1.35;
  margin-bottom: 12px;
}
.story-pin__card p {
  font-size: .98rem;
  line-height: 1.85;
  color: var(--text);
}

.story {
  padding: clamp(72px, 10vw, 120px) clamp(20px, 5vw, 60px);
}
.story--alt { background: var(--bg2); }
.story__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.story--reverse .story__inner { direction: rtl; }
.story--reverse .story__inner > * { direction: ltr; }
.story__kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem;
  letter-spacing: .2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.story__title {
  font-family: 'Noto Sans JP', 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  color: var(--text-br);
  letter-spacing: -.02em;
  line-height: 1.3;
  margin-bottom: 16px;
}
.story__body {
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 22px;
}
.story__visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: none;
  background: transparent;
}
.story__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}
.story__visual .code-block { height: 100%; }

.device-stage {
  position: relative;
  scroll-margin-top: var(--nav-h);
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--header);
  color: #fff;
  padding: clamp(64px, 9vw, 96px) clamp(20px, 5vw, 60px);
  text-align: center;
}
.device-stage__media,
.device-stage__veil { display: none; }
.device-stage__copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.device-stage__kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  letter-spacing: .16em;
  color: rgba(255,255,255,.78);
  margin-bottom: 12px;
}
.device-stage__title {
  font-family: 'Noto Sans JP', 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.4;
  margin-bottom: 14px;
}
.device-stage__body {
  font-size: .95rem;
  line-height: 1.85;
  color: rgba(255,255,255,.82);
  margin-bottom: 22px;
}
.device-stage .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.device-stage .btn-outline:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
}
.device-stage__tiles {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  padding: 0;
}
.device-stage__tiles li {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 4px;
  padding: 8px 16px;
  background: rgba(255,255,255,.08);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .03em;
  padding: 12px 26px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s;
  text-decoration: none;
}
.btn:hover { transform: none; }
.btn-gold {
  background: var(--header);
  color: #fff;
  box-shadow: none;
  border: 1px solid var(--header);
}
.btn-gold:hover {
  background: var(--header-2);
  border-color: var(--header-2);
  box-shadow: none;
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--text-br);
  border: 1px solid var(--border2);
}
.btn-outline:hover {
  background: var(--bg3);
  border-color: var(--text-dim);
  color: var(--text-br);
}

/* ===================================================
   SECTION LAYOUT
   =================================================== */
.section {
  padding: clamp(56px,8vw,96px) clamp(20px,5vw,60px);
  max-width: 1100px;
  margin: 0 auto;
}
.section-full {
  padding: clamp(56px,8vw,96px) clamp(20px,5vw,60px);
}
.section-full > .section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 clamp(20px,5vw,60px);
}
.section__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem;
  letter-spacing: .2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem,3vw,2.4rem);
  color: var(--text-br);
  letter-spacing: -.02em;
  line-height: 1.25;
  margin-bottom: 16px;
}
.section__sub {
  font-size: 1rem;
  color: var(--text);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 48px;
}

/* ===================================================
   CARDS
   =================================================== */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s, box-shadow .2s;
}
.card:hover {
  border-color: var(--border2);
  box-shadow: var(--shadow);
}
.card-gold:hover { border-color: var(--gold-glow); }
.card__icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
  line-height: 1;
}
.card__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-br);
  margin-bottom: 8px;
}
.card__body {
  font-size: .92rem;
  color: var(--text);
  line-height: 1.75;
}
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }

/* ===================================================
   STATUS BADGES
   =================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .68rem;
  letter-spacing: .06em;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
}
.badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.badge-done  { background: rgba(34,197,94,.1);  color: var(--green); }
.badge-done::before  { background: var(--green); }
.badge-wip   { background: rgba(245,158,11,.1); color: var(--amber); }
.badge-wip::before   { background: var(--amber); }
.badge-plan  { background: rgba(74,90,120,.15); color: var(--text-dim); }
.badge-plan::before  { background: var(--text-dim); }

/* ===================================================
   ENGINE SHOWCASE
   =================================================== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.showcase-card {
  margin: 0;
  overflow: hidden;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s, transform .2s;
}
.showcase-card:hover {
  border-color: var(--gold-glow);
  transform: translateY(-2px);
}
.showcase-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 32%, rgba(212,168,67,.14), transparent 52%),
    linear-gradient(180deg, #f3eee6 0%, var(--code-bg) 100%);
}
.showcase-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: showcase-shimmer 3.6s ease-in-out infinite;
  pointer-events: none;
}
.showcase-card.is-loaded .showcase-card__media::after { display: none; }
.showcase-card__media img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase-card.is-loaded .showcase-card__media img { display: block; }
/* 動く実演（Live2D）。静止画が読めた札の上に重ねて流す。
   静止画は poster とフォールバックを兼ねるので、動画が再生できない環境でも絵は出る。 */
.showcase-card__media video {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}
.showcase-card.is-loaded .showcase-card__media video { display: block; }
/* 動きを控える設定の人には静止画だけを見せる */
@media (prefers-reduced-motion: reduce) {
  .showcase-card__media video { display: none !important; }
}
.showcase-card__placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  color: var(--text);
  text-align: center;
}
.showcase-card.is-loaded .showcase-card__placeholder { display: none; }
.showcase-soon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--gold);
  background: rgba(195,146,42,.12);
  border: 1px solid rgba(195,146,42,.3);
  padding: 4px 11px;
  border-radius: 999px;
}
.showcase-soon::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(195,146,42,.45);
  animation: showcase-pulse 1.8s ease-in-out infinite;
}
.showcase-card__placeholder strong {
  color: var(--text-dim);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
}
.showcase-card__icon { font-size: 1.55rem; line-height: 1; }
@keyframes showcase-pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(195,146,42,.4); }
  50% { opacity: .55; transform: scale(.85); box-shadow: 0 0 0 6px rgba(195,146,42,0); }
}
@keyframes showcase-shimmer {
  0% { transform: translateX(-120%); }
  55%, 100% { transform: translateX(120%); }
}
@media (prefers-reduced-motion: reduce) {
  .showcase-card__media::after,
  .showcase-soon::before { animation: none; }
}
.showcase-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 20px 20px;
}
.showcase-card figcaption strong {
  color: var(--text-br);
  font-family: 'Space Grotesk', sans-serif;
  font-size: .98rem;
}
.showcase-card figcaption span {
  color: var(--text);
  font-size: .82rem;
  line-height: 1.65;
}
.showcase-demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 22px;
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(110deg, rgba(212,168,67,.055), var(--bg2) 55%);
}
.showcase-demo h3 {
  margin: 10px 0 5px;
  color: var(--text-br);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
}
.showcase-demo p {
  margin: 0;
  color: var(--text);
  font-size: .88rem;
}
.showcase-demo__button {
  flex-shrink: 0;
  cursor: not-allowed;
  opacity: .55;
}

@media (max-width: 860px) {
  .showcase-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .showcase-demo { align-items: flex-start; flex-direction: column; }
}

/* ===================================================
   ARCHITECTURE DIAGRAM  (signature element)
   =================================================== */
.arch-wrap {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  overflow: hidden;
  position: relative;
}
.arch-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(212,168,67,.06) 0%, transparent 70%);
  pointer-events: none;
}
.arch-stack { display: flex; flex-direction: column; gap: 6px; position: relative; z-index: 1; }
.arch-layer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg3);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s, transform .5s, border-color .25s, background .25s;
  cursor: default;
}
.arch-layer.visible { opacity: 1; transform: translateY(0); }
.arch-layer:hover {
  border-color: var(--gold-glow);
  background: var(--bg4);
}
.arch-layer--app    { border-color: rgba(212,168,67,.3); background: rgba(212,168,67,.05); }
.arch-layer--app.visible { border-color: rgba(212,168,67,.35); }
.arch-layer--app:hover   { border-color: var(--gold); background: rgba(212,168,67,.09); }
.arch-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem;
  color: var(--text-dim);
  letter-spacing: .05em;
  white-space: nowrap;
  min-width: 80px;
}
.arch-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  color: var(--text-br);
  flex: 1;
}
.arch-name em { font-style: normal; color: var(--gold); }
.arch-desc {
  font-size: .82rem;
  color: var(--text-dim);
  text-align: right;
  white-space: nowrap;
}
.arch-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.arch-connector {
  display: flex;
  justify-content: center;
  padding: 2px 0;
}
.arch-connector::before {
  content: '';
  width: 1px;
  height: 14px;
  background: var(--border2);
}
.arch-platform-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 6px;
}
.arch-platform-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 2px 0 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .68rem;
}
.arch-platform-legend__done { color: var(--green); }
.arch-platform-legend__wip { color: var(--amber); }
.arch-platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg2);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s, transform .4s;
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem;
  color: var(--text-dim);
}
.arch-platform.visible { opacity: 1; transform: translateY(0); }
.arch-platform--done {
  color: var(--green);
  border-color: rgba(34,197,94,.35);
  background: rgba(34,197,94,.035);
}
.arch-platform--wip {
  color: var(--amber);
  border: 1px dashed rgba(245,158,11,.55);
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(245,158,11,.035) 0,
      rgba(245,158,11,.035) 6px,
      transparent 6px,
      transparent 12px
    ),
    var(--bg2);
}
.arch-platform .p-icon { font-size: 1.1rem; }
.arch-platform--wip .p-icon {
  filter: grayscale(.65);
  opacity: .72;
}
.arch-platform__name {
  font-weight: 600;
  color: currentColor;
}
.arch-platform__status {
  padding: 2px 6px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: .58rem;
  line-height: 1.35;
  white-space: nowrap;
  opacity: .9;
}

/* ===================================================
   VALUE BAND  (why / philosophy)
   =================================================== */
.value-band {
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(212,168,67,.06), transparent 70%),
    var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.value-band__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(56px,8vw,88px) clamp(20px,5vw,60px);
  text-align: center;
}
.value-band h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.7rem,3.4vw,2.6rem);
  color: var(--text-br);
  letter-spacing: -.02em;
  line-height: 1.35;
  margin: 12px 0 16px;
}
.value-band__lead {
  font-size: 1rem;
  color: var(--text);
  max-width: 660px;
  margin: 0 auto 44px;
  line-height: 1.95;
}
.value-trio {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  text-align: left;
}
.value-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color .2s;
}
.value-item:hover { border-color: var(--gold-glow); }
.value-item__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: .8rem;
  color: var(--gold);
  letter-spacing: .12em;
}
.value-item__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text-br);
  margin: 8px 0;
}
.value-item__body { font-size: .9rem; color: var(--text); line-height: 1.8; }

/* ===================================================
   QUICK START STEPS
   =================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 40px;
}
.step {
  position: relative;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px 24px;
  transition: border-color .2s;
}
.step:hover { border-color: var(--border2); }
.step__num {
  position: absolute;
  top: -15px; left: 22px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--gold); color: #0a0800;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: .92rem;
  box-shadow: 0 4px 14px rgba(212,168,67,.35);
}
.step__title { font-family:'Space Grotesk',sans-serif; font-weight:600; color:var(--text-br); font-size:1.02rem; margin-bottom:8px; }
.step__body { font-size:.9rem; color:var(--text); line-height:1.75; }
.step__body code { background:var(--bg3); border:1px solid var(--border); padding:1px 5px; border-radius:4px; color:var(--gold); font-size:.82em; font-family:'JetBrains Mono',monospace; }

@media (max-width: 860px) {
  .value-trio, .steps { grid-template-columns: 1fr; }
}

/* ===================================================
   CODE BLOCK
   =================================================== */
.code-block {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.code-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg3);
}
.code-block__lang {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  color: var(--gold);
  letter-spacing: .05em;
}
.code-block pre {
  padding: 20px;
  overflow-x: auto;
  line-height: 1.7;
  font-size: .85rem;
  color: var(--text);
}
.code-block .kw  { color: #0b6e99; }
.code-block .fn  { color: #7a3db3; }
.code-block .str { color: #2a7a4a; }
.code-block .cmt { color: var(--text-dim); font-style: italic; }
.code-block .num { color: var(--gold); }
.code-block .lbl { color: #c45e12; }

/* ===================================================
   MODULE TABLE
   =================================================== */
.module-table { width: 100%; border-collapse: collapse; }
.module-table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--text-dim);
  text-align: left;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
}
.module-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  vertical-align: middle;
}
.module-table tr:last-child td { border-bottom: none; }
.module-table tr:hover td { background: rgba(21,96,128,.04); }
.module-table .mod-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--text-br);
}
.module-table .mod-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem;
  color: var(--gold);
}

/* ===================================================
   DOCS LAYOUT
   =================================================== */
.docs-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px clamp(20px,5vw,60px);
  align-items: start;
}
.docs-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}
.docs-sidebar__title {
  font-family: 'JetBrains Mono', monospace;
  font-size: .68rem;
  letter-spacing: .15em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-left: 10px;
}
.docs-sidebar__list { list-style: none; }
.docs-sidebar__list a {
  display: block;
  font-size: .88rem;
  color: var(--text-dim);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  transition: color .2s, border-color .2s, background .2s;
  text-decoration: none;
}
.docs-sidebar__list a:hover {
  color: var(--text-br);
  background: var(--bg3);
  border-left-color: var(--border2);
}
.docs-sidebar__list a.active {
  color: var(--gold);
  border-left-color: var(--gold);
  background: var(--gold-dim);
}
.docs-sidebar__group { margin-top: 20px; }
.docs-main h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--text-br);
  letter-spacing: -.02em;
  margin: 48px 0 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.docs-main h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.docs-main h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-br);
  margin: 28px 0 10px;
}
.docs-main p { font-size: .95rem; line-height: 1.85; margin-bottom: 16px; color: var(--text); }
.docs-main ul { margin: 0 0 16px 20px; }
.docs-main li { font-size: .93rem; line-height: 1.8; color: var(--text); }
.docs-main code {
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--gold);
  font-size: .85em;
}
.docs-main .code-block { margin: 20px 0; }
.ref-table { width: 100%; border-collapse: collapse; margin: 16px 0 28px; }
.ref-table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--text-dim);
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
}
.ref-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  font-size: .87rem;
  vertical-align: top;
}
.ref-table tr:last-child td { border-bottom: none; }
.ref-table code { background: var(--bg3); padding: 2px 6px; border-radius: 3px; color: #0b6e99; border: none; font-size: .85em; }
.ref-table td:first-child code { color: #7a3db3; }

/* ===================================================
   FOOTER
   =================================================== */
.l-footer {
  border-top: 1px solid var(--border);
  background: var(--bg2);
  padding: 40px clamp(20px,5vw,60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}
.l-footer__logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .18em;
  color: var(--gold);
}
.l-footer__text {
  font-size: .82rem;
  color: var(--text-dim);
}
.l-footer__text a { color: var(--text-dim); }
.l-footer__text a:hover { color: var(--gold); }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
  .arch-platform-row { grid-template-columns: repeat(3,1fr); }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; }
  .arch-desc {
    display: block;
    white-space: normal;
    text-align: left;
    margin-top: 2px;
  }
  .arch-layer { flex-wrap: wrap; }
  .engine-hero__inner { grid-template-columns: 1fr; }
  .engine-hero:not(.engine-hero--photo) { min-height: 0; }
  .engine-hero--stage .engine-hero__inner { grid-template-columns: 1fr; }
  .engine-hero__shot img { max-height: 280px; }
  .screen-band__grid { grid-template-columns: 1fr; }
  .story-pin__panels { grid-template-columns: 1fr; }
}
@media (max-width: 1240px) {
  .l-nav__item { padding: 0 8px; gap: 6px; }
  .l-nav__item span { font-size: .78rem; }
  .l-nav__links li:last-child span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
}
@media (max-width: 1100px) {
  .l-nav__logo { padding: 0 14px 0 12px; gap: 10px; }
  .l-nav__logo::after { display: none; }
}
@media (max-width: 980px) {
  .l-nav {
    height: 64px;
    border-top-width: 2px;
    border-bottom-width: 2px;
  }
  .l-nav.is-compact { height: 64px; }
  .l-nav__sub { display: none; }
  .l-nav__word { font-size: 1rem; letter-spacing: .14em; }
  .l-nav__mark { width: 34px; height: 34px; font-size: 1.05rem; border-radius: 9px; }
  .l-nav__mark::before { inset: 3px; border-radius: 6px; }
  .l-nav__spark::after { display: none; }
  .l-nav__menu { display: inline-flex; }
  .l-nav__right { align-items: center; padding: 0 12px; }
  .l-nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    padding: 12px;
    background: #fff;
    border-bottom: 2px solid var(--gold2);
    box-shadow: 0 16px 30px rgba(20,16,12,.12);
  }
  body.nav-open .l-nav__links { display: flex; }
  .l-nav__links li { flex: none; }
  .l-nav__links li:last-child span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
  }
  .l-nav__item {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 12px 14px;
    min-height: 48px;
    color: var(--text-br);
  }
  .l-nav__item svg { width: 22px; height: 22px; margin: 0; }
  .l-nav__item:hover,
  .l-nav__item.active {
    background: var(--bg3);
    color: var(--header);
  }
  .l-nav__item span,
  .l-nav__item:hover span,
  .l-nav__item.active span {
    height: auto;
    width: auto;
    font-size: .9rem;
    color: inherit;
    background: transparent;
  }
}
@media (max-width: 760px) {
  .engine-hero__ctas .btn { width: 100%; justify-content: center; }
  .engine-hero__ctas { flex-direction: column; }
  .app-table .app-name { white-space: normal; }
  .story__inner,
  .story--reverse .story__inner {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .story-pin__card { padding: 24px 22px; }
  .device-stage__copy { max-width: none; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .arch-platform-row { grid-template-columns: repeat(2,1fr); }
  .arch-row-split { grid-template-columns: 1fr; }
  .l-footer { flex-direction: column; align-items: flex-start; }
  .card, .section { }
  .card { padding: 22px; }
}

/* ===================================================
   2026-10 リニューアル（トップ・紹介ページ共通）
   「このページは何か」が最初に分かる構成。用語はプログラマ向けにしない。
   =================================================== */
.lp-hero {
  position: relative;
  padding: clamp(36px, 5vw, 64px) clamp(20px, 5vw, 56px) clamp(28px, 4vw, 44px);
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(255,255,255,.75), transparent 70%),
    radial-gradient(50% 60% at 8% 10%, rgba(195,146,42,.08), transparent 70%);
}
.lp-hero__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.lp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .86rem;
  font-weight: 700;
  color: var(--header);
  background: rgba(21,96,128,.07);
  border: 1px solid rgba(21,96,128,.18);
  border-radius: 999px;
  padding: 6px 15px 6px 12px;
}
.lp-hero__eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.lp-hero__name {
  display: block;
  margin: 20px 0 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--gold);
}
.lp-hero__title {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 1.14;
  letter-spacing: .01em;
  color: var(--text-br);
}
.lp-hero__lead {
  margin-top: 18px;
  max-width: 34em;
  font-size: clamp(.98rem, 1.25vw, 1.06rem);
  line-height: 1.95;
  color: var(--text);
}
.lp-hero__lead strong { color: var(--text-br); }
.lp-hero__points {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 22px 0 26px;
}
.lp-hero__points li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
  background: rgba(255,255,255,.88);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px 14px;
}
.lp-hero__points svg {
  grid-row: span 2;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 10px;
  background: rgba(21,96,128,.08);
  color: var(--header);
}
.lp-hero__points strong { color: var(--text-br); font-size: .98rem; line-height: 1.5; }
.lp-hero__points span { color: var(--text-dim); font-size: .87rem; line-height: 1.6; }
.lp-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-hero__visual {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(40,28,20,.12);
}
.lp-hero__visual img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.lp-hero__visual figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 16px;
  padding: 14px 18px 16px;
  border-top: 1px solid var(--border);
}
.lp-hero__visual figcaption strong { color: var(--text-br); font-size: .95rem; }
.lp-hero__visual figcaption span { color: var(--text-dim); font-size: .84rem; }
.lp-guide {
  max-width: 1240px;
  margin: clamp(24px, 3vw, 36px) auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.lp-guide__label { margin-right: 4px; font-size: .84rem; font-weight: 700; color: var(--text-dim); }
.lp-guide a {
  font-size: .86rem;
  font-weight: 600;
  color: var(--header);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 13px;
}
.lp-guide a:hover { color: var(--header-2); border-color: var(--gold); }

.lp-section { padding: clamp(56px, 7vw, 92px) clamp(20px, 5vw, 56px); scroll-margin-top: calc(var(--nav-h) + 8px); }
.lp-section--white { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-section__inner { max-width: 1180px; margin: 0 auto; }
.lp-section__inner--narrow { max-width: 860px; }
.lp-head { max-width: 780px; margin-bottom: clamp(24px, 3vw, 36px); }
.lp-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.lp-kicker {
  margin-bottom: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--gold);
}
.lp-head h1,
.lp-head h2 {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  font-size: clamp(1.55rem, 2.9vw, 2.15rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-br);
}
.lp-head p { margin-top: 12px; line-height: 1.9; color: var(--text); }
.lp-more { margin-top: clamp(22px, 3vw, 32px); display: flex; flex-wrap: wrap; gap: 12px; }
.lp-head--center + * + .lp-more,
.lp-more--center { justify-content: center; }

.lp-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-feature {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 22px 20px;
}
.lp-section--white .lp-feature { background: var(--bg); }
.lp-feature__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(21,96,128,.08);
  color: var(--header);
}
.lp-feature__icon svg { width: 24px; height: 24px; }
.lp-feature h3 { margin-bottom: 8px; font-size: 1.04rem; line-height: 1.5; color: var(--text-br); }
.lp-feature p { font-size: .92rem; line-height: 1.85; color: var(--text); }
.lp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; }
.lp-tags span {
  font-size: .76rem;
  color: var(--text-dim);
  background: var(--bg3);
  border-radius: 999px;
  padding: 3px 10px;
}
.lp-section--white .lp-tags span { background: #fff; border: 1px solid var(--border); }

.lp-split { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 52px); align-items: center; }
.lp-checks { list-style: none; display: grid; gap: 10px; margin: 18px 0 0; }
.lp-checks li { position: relative; padding-left: 28px; line-height: 1.8; }
.lp-checks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: .45em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(47,158,92,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 8.3l2.4 2.4 5-5.2' fill='none' stroke='%232f9e5c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.lp-code {
  overflow: hidden;
  border-radius: 14px;
  background: #1f2633;
  box-shadow: 0 18px 44px rgba(20,24,34,.18);
}
.lp-code__bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: #283141;
  color: #b4bdcc;
  font-size: .78rem;
}
.lp-code pre {
  margin: 0;
  padding: 18px 20px 20px;
  overflow-x: auto;
  color: #e8ecf3;
  font-size: .86rem;
  line-height: 1.75;
  tab-size: 4;
}
.lp-code .t-lbl { color: #b7e08c; }
.lp-code .t-cmd { color: #82c9f7; }
.lp-code .t-str { color: #f3c77b; }
.lp-code .t-cmt { color: #8d97a8; }
.lp-code__note { padding: 0 20px 16px; color: #a7b0bf; font-size: .8rem; line-height: 1.7; }

.lp-player { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lp-player__item { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px 16px 15px; }
.lp-section--white .lp-player__item { background: var(--bg); }
.lp-player__item strong { display: block; margin-bottom: 4px; font-size: .96rem; color: var(--text-br); }
.lp-player__item span { font-size: .86rem; line-height: 1.7; color: var(--text); }

.lp-platforms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lp-platform { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.lp-section--white .lp-platform { background: var(--bg); }
.lp-platform__name { display: flex; align-items: center; gap: 8px; font-size: 1.04rem; font-weight: 700; color: var(--text-br); }
.lp-platform__ok {
  margin-left: auto;
  font-size: .72rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(47,158,92,.1);
  border-radius: 999px;
  padding: 2px 10px;
  white-space: nowrap;
}
.lp-platform p { margin-top: 10px; font-size: .9rem; line-height: 1.75; }
.lp-note {
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 10px;
  background: var(--bg3);
  color: var(--text);
  font-size: .9rem;
  line-height: 1.8;
}
.lp-section--white .lp-note { background: var(--bg); border: 1px solid var(--border); }

.lp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-step { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.lp-section--white .lp-step { background: var(--bg); }
.lp-step__num {
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--header);
  color: #fff;
  font-weight: 700;
}
.lp-step h3 { margin-bottom: 6px; font-size: 1.02rem; color: var(--text-br); }
.lp-step p { font-size: .9rem; line-height: 1.8; }

.lp-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lp-doc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.lp-section--white .lp-doc { background: var(--bg); }
.lp-doc__for { font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--gold); }
.lp-doc h3 { margin: 6px 0 8px; font-size: 1.15rem; color: var(--text-br); }
.lp-doc p { font-size: .92rem; line-height: 1.85; }
.lp-doc ul { list-style: none; margin: 12px 0 0; display: grid; gap: 4px; }
.lp-doc li { position: relative; padding-left: 16px; font-size: .88rem; line-height: 1.7; }
.lp-doc li::before { content: '›'; position: absolute; left: 3px; color: var(--gold); font-weight: 700; }
.lp-doc .btn { align-self: flex-start; margin-top: auto; }
.lp-doc__body { flex: 1; margin-bottom: 18px; }

/* 紹介ページ（文章が中心）の読みやすさ */
.lp-prose { max-width: 820px; }
.lp-prose h2 {
  margin: 48px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  font-size: 1.32rem;
  color: var(--text-br);
}
.lp-prose h3 { margin: 26px 0 8px; font-size: 1.05rem; color: var(--text-br); }
.lp-prose p { margin-bottom: 14px; line-height: 1.95; }
.lp-prose ul.lp-list { list-style: none; margin: 0 0 18px; }
.lp-prose ul.lp-list li { position: relative; padding: 6px 0 6px 22px; line-height: 1.85; border-bottom: 1px solid var(--border); }
.lp-prose ul.lp-list li:last-child { border-bottom: none; }
.lp-prose ul.lp-list li::before { content: '›'; position: absolute; left: 6px; color: var(--gold); font-weight: 700; }

/* 機能ページ: 環境ごとの違いの表 */
.lp-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.lp-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
.lp-table th, .lp-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; line-height: 1.7; }
.lp-table thead th { background: var(--bg3); color: var(--text-br); font-size: .84rem; white-space: nowrap; }
.lp-table tbody tr:last-child td { border-bottom: none; }
.lp-table td:first-child { color: var(--text-br); font-weight: 600; white-space: nowrap; }
.lp-yes { color: var(--green); font-weight: 700; }
.lp-part { color: var(--amber); font-weight: 700; }
.lp-no { color: var(--text-dim); }

@media (max-width: 1080px) {
  .lp-hero__inner { grid-template-columns: 1fr; }
  .lp-hero__visual { max-width: 860px; }
  .lp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-player, .lp-platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lp-features, .lp-player, .lp-platforms, .lp-steps, .lp-docs { grid-template-columns: 1fr; }
  .lp-guide { padding: 10px 12px; }
  .lp-hero__points li { grid-template-columns: 34px minmax(0, 1fr); padding: 10px 12px; }
  .lp-hero__points svg { width: 34px; height: 34px; padding: 7px; }
}

/* ===================================================
   2026-10 リニューアル（紹介・機能・資料・配布ページ）
   各ページの頭で「このページは何か」を一文で示し、目次を添える。
   =================================================== */
.lp-pagehead {
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 56px) clamp(28px, 4vw, 40px);
  background:
    radial-gradient(55% 80% at 90% 0%, rgba(255,255,255,.8), transparent 70%),
    radial-gradient(45% 70% at 0% 0%, rgba(195,146,42,.08), transparent 70%);
  border-bottom: 1px solid var(--border);
}
.lp-pagehead__inner { max-width: 1180px; margin: 0 auto; }
.lp-pagehead h1 {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-br);
}
.lp-pagehead__lead {
  margin-top: 14px;
  max-width: 46em;
  font-size: clamp(.98rem, 1.25vw, 1.06rem);
  line-height: 1.95;
  color: var(--text);
}
.lp-pagehead__lead strong { color: var(--text-br); }
.lp-pagehead .lp-guide { margin: 22px 0 0; max-width: none; }

/* 番号つきのカード（目指していること など） */
.lp-aims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-aim { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.lp-section--white .lp-aim { background: var(--bg); }
.lp-aim__num {
  display: block;
  margin-bottom: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--gold);
}
.lp-aim h3 { margin-bottom: 8px; font-size: 1.08rem; line-height: 1.5; color: var(--text-br); }
.lp-aim p { font-size: .92rem; line-height: 1.85; }

/* 2 枚並びのカード（シナリオ / 画面のスクリプト など） */
.lp-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lp-pair__item { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px 24px; }
.lp-section--white .lp-pair__item { background: var(--bg); }
.lp-pair__tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: .76rem;
  font-weight: 700;
  color: var(--header);
  background: rgba(21,96,128,.08);
  border-radius: 999px;
  padding: 3px 11px;
}
.lp-pair__item h3 { margin-bottom: 8px; font-size: 1.08rem; color: var(--text-br); }
.lp-pair__item p { font-size: .92rem; line-height: 1.85; }
.lp-pair__item ul { list-style: none; margin: 10px 0 0; display: grid; gap: 4px; }
.lp-pair__item li { position: relative; padding-left: 16px; font-size: .88rem; line-height: 1.7; }
.lp-pair__item li::before { content: '›'; position: absolute; left: 3px; color: var(--gold); font-weight: 700; }

/* 4 段の流れ */
.lp-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* 向いている作品（3 列） */
.lp-fit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-fit__col { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; }
.lp-section--white .lp-fit__col { background: var(--bg); }
.lp-fit__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 1.02rem; font-weight: 700; color: var(--text-br); }
.lp-fit__mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-size: .95rem; font-weight: 700; }
.lp-fit__col--good .lp-fit__mark { color: #fff; background: var(--green); }
.lp-fit__col--ok .lp-fit__mark { color: #fff; background: var(--header); }
.lp-fit__col--no .lp-fit__mark { color: var(--text-dim); background: var(--bg3); }
.lp-fit__col ul { list-style: none; display: grid; gap: 2px; }
.lp-fit__col li { padding: 7px 0; border-bottom: 1px solid var(--border); font-size: .9rem; line-height: 1.7; }
.lp-fit__col li:last-child { border-bottom: none; }

/* シナリオの例に添える「この行の意味」 */
.lp-anno { margin-top: 16px; }
.lp-anno .lp-table { min-width: 0; }
.lp-anno .lp-table td:first-child { font-family: 'JetBrains Mono', Consolas, monospace; font-size: .8rem; font-weight: 500; white-space: normal; word-break: break-all; width: 46%; }

/* 機能ページ: 分野ごとの一覧 */
.lp-cat { scroll-margin-top: calc(var(--nav-h) + 8px); }
.lp-cat + .lp-cat { margin-top: clamp(36px, 5vw, 56px); }
.lp-cat__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.lp-cat__head .lp-feature__icon { margin-bottom: 0; flex-shrink: 0; }
.lp-cat__head h2 { font-family: 'Noto Sans JP', 'Inter', sans-serif; font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.4; color: var(--text-br); }
.lp-cat__head p { margin-top: 2px; font-size: .9rem; line-height: 1.7; color: var(--text-dim); }
.lp-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
.lp-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.lp-section--white .lp-item { background: var(--bg); }
.lp-item strong { display: block; margin-bottom: 3px; font-size: .96rem; color: var(--text-br); }
.lp-item span { display: block; font-size: .88rem; line-height: 1.75; color: var(--text); }

/* 配布状況: 状態の札 */
.lp-status { display: inline-block; font-size: .74rem; font-weight: 700; border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.lp-status--ok { color: var(--green); background: rgba(47,158,92,.1); }
.lp-status--wip { color: var(--amber); background: rgba(196,130,20,.12); }

/* トップの「実際の画面」: 5 枚を 上 2 枚（大）＋ 下 3 枚 に並べる（4＋1 の取り残しを作らない） */
.lp-section .showcase-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.lp-section .showcase-grid > .showcase-card { grid-column: span 2; }
.lp-section .showcase-grid > .showcase-card:nth-child(-n+2) { grid-column: span 3; }
@media (max-width: 1080px) {
  .lp-section .showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-section .showcase-grid > .showcase-card,
  .lp-section .showcase-grid > .showcase-card:nth-child(-n+2) { grid-column: auto; }
  .lp-section .showcase-grid > .showcase-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .lp-section .showcase-grid { grid-template-columns: 1fr; }
  .lp-section .showcase-grid > .showcase-card:last-child { grid-column: auto; }
}

/* Live2D のページ: ライセンスの注意枠・商標表記 */
.lp-alert {
  padding: 22px 24px;
  border: 1px solid rgba(196,130,20,.45);
  border-left: 5px solid var(--amber);
  border-radius: 12px;
  background: #fffaf0;
}
.lp-alert__list { list-style: none; display: grid; gap: 10px; }
.lp-alert__list li { position: relative; padding-left: 26px; line-height: 1.85; }
.lp-alert__list li::before {
  content: '!';
  position: absolute;
  left: 0;
  top: .25em;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
}
.lp-alert__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.lp-trademark { margin-top: 18px; font-size: .8rem; line-height: 1.8; color: var(--text-dim); }
/* Live2D サンプルデータの表記（規約で決められた文面をそのまま出す枠） */
.lp-credit {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,.6);
  font-size: .84rem;
  line-height: 1.8;
  color: var(--text);
}
.lp-credit__title { margin-bottom: 4px; font-size: .78rem; font-weight: 700; color: var(--text-dim); }
.lp-credit .lp-trademark { margin-top: 6px; }
/* 上部メニューが 7 項目になったので、折りたたむ直前の幅では余白を詰める */
@media (max-width: 1060px) and (min-width: 981px) {
  .l-nav__item { padding: 0 6px; gap: 5px; }
}
/* 他ページから Live2D のページへ案内する一文 */
.lp-l2d-note { margin-top: 10px; font-size: .8rem; line-height: 1.7; color: var(--text-dim); }
.lp-l2d-note a { font-weight: 600; }

/* 3 枚並びの資料・配布カード */
.lp-docs--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-doc__meta { margin-top: 10px; font-size: .8rem; color: var(--text-dim); }

/* 目的から探す（資料ページ） */
.lp-find .lp-table td:first-child { white-space: normal; }
.lp-find .lp-table a { font-weight: 600; }

@media (max-width: 1080px) {
  .lp-aims, .lp-fit { grid-template-columns: 1fr; }
  .lp-steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-docs--3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lp-pair, .lp-items, .lp-steps--4 { grid-template-columns: 1fr; }
  .lp-anno .lp-table td:first-child { width: auto; }
  /* 冒頭の札が 1 文字だけ次の行へ落ちないよう、狭い画面では少し小さく */
  .lp-hero__eyebrow { font-size: .76rem; padding: 5px 12px 5px 10px; gap: 7px; }
}
/* ===== ブラウザ体験版への入口（2026-10-09）===== */
/* 金色のボタン（LUMINA のロゴと同じ色） */
.btn-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 20px 0 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: .92rem;
  color: #2a1d05;
  background: linear-gradient(135deg, #fbe7b4 0%, #e9c46d 55%, #d9a93f 100%);
  border: 1px solid #c3922a;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 4px 12px rgba(160,110,20,.18);
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn-demo::before {
  content: '';
  width: 0; height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #2a1d05;
}
.btn-demo:hover { color: #2a1d05; transform: translateY(-1px); filter: saturate(1.08); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 8px 18px rgba(160,110,20,.26); }
.btn-demo:focus-visible { outline: 3px solid #c3922a; outline-offset: 2px; }

/* 「実際の画面」の下の案内 */
.lp-demo {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 18px 24px;
  padding: 18px 22px;
  border-radius: 14px;
  background: linear-gradient(120deg, #fff9ea 0%, #fbecc6 60%, #f5dea0 100%);
  border: 1px solid #e2bf6e;
}
.lp-demo__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.lp-demo__text strong { color: var(--text-br); font-size: 1.02rem; }
.lp-demo__text span { color: var(--text); font-size: .9rem; line-height: 1.8; }
@media (max-width: 640px) {
  .lp-demo { flex-direction: column; align-items: stretch; padding: 16px; }
  .lp-demo .btn-demo { width: 100%; }
}