/* AMIX GAMES — 企業・団体の方へ（about.html）
   PC・タブレット横：16:9 のスライド送り（html.deck）／スマホ：縦に並ぶ通常のページ。
   スライド表示の寸法は cqw（スライド幅の1%）で書き、どの画面でも同じレイアウトのまま拡大縮小する。
   動きは表示中のスライド（.is-play）だけで動かす。 */

:root {
  --bg: #0b0b0e;
  --bg2: #131318;
  --bg3: #1b1b22;
  --ink: #f4f1ea;
  --ink2: rgba(244, 241, 234, 0.86);
  --dim: rgba(244, 241, 234, 0.6);
  --mute: rgba(244, 241, 234, 0.34);
  --line: rgba(244, 241, 234, 0.14);
  --orange: #ff5a1f;
  --blue: #3b7cff;
  --green: #39c96a;
  --yellow: #f2c53d;
  --red: #e8403f;
  --f-en: "Anton", "Noto Sans JP", sans-serif;
  --f-ja: "Noto Sans JP", system-ui, sans-serif;
  --f-mono: "Space Mono", "Noto Sans JP", ui-monospace, monospace;
  --f-dot: "DotGothic16", "Noto Sans JP", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  /* 役割ごとの文字サイズ・余白（スマホ基準。スライド表示では html.deck で cqw に置き換える） */
  --fs-hero: clamp(32px, 8.4vw, 60px);
  --fs-h: clamp(25px, 6.4vw, 42px);
  --fs-lead: clamp(15px, 3.9vw, 18px);
  --fs-body: 13.5px;
  --fs-label: 10.5px;
  --fs-num: clamp(48px, 14vw, 84px);
  --px: 22px;
  --gap: 22px;
  --r: 12px;
  color-scheme: dark;
}
@media (min-width: 600px) {
  :root { --px: 44px; --fs-body: 14.5px; --gap: 28px; }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-ja);
  font-size: var(--fs-body);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
kbd { font-family: var(--f-mono); font-size: 0.92em; border: 1px solid var(--line); border-radius: 4px; padding: 0 0.45em; }
:focus-visible { outline: 2px solid var(--acc, var(--orange)); outline-offset: 3px; border-radius: 4px; }

.slide[data-accent="orange"] { --acc: var(--orange); }
.slide[data-accent="blue"] { --acc: var(--blue); }
.slide[data-accent="green"] { --acc: var(--green); }
.slide[data-accent="yellow"] { --acc: var(--yellow); }
.slide[data-accent="red"] { --acc: var(--red); }

/* =========================================================
   共通の文字
   ========================================================= */
.kicker {
  display: flex;
  align-items: center;
  gap: 0.9em;
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.28em;
  color: var(--dim);
  margin-bottom: 1.6em;
}
.kicker b {
  font-weight: 400;
  color: var(--bg);
  background: var(--acc);
  letter-spacing: 0.08em;
  padding: 0.15em 0.6em;
  border-radius: 100px;
}
.hero, .h {
  display: block;
  font-family: var(--f-ja);
  font-weight: 900;
  font-feature-settings: "palt";
  letter-spacing: 0.04em;
  text-wrap: balance;
}
.hero { font-size: var(--fs-hero); line-height: 1.22; }
.h { font-size: var(--fs-h); line-height: 1.34; }
.lead { font-size: var(--fs-lead); font-weight: 500; line-height: 1.9; color: var(--ink2); margin-top: 1.3em; text-wrap: wrap; }
.body { font-size: var(--fs-body); color: var(--dim); margin-top: 1em; text-wrap: wrap; }
.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 1.8em;
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--acc);
  padding-bottom: 0.2em;
}
.textlink span { transition: transform 0.4s var(--ease); }
.textlink:hover span { transform: translateX(4px); }

/* 1文字ずつ出る見出し（about.js が .ch に分ける。読み上げは .sr-only の全文） */
.ch { display: inline-block; white-space: pre; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* =========================================================
   出方（html.js のときだけ隠しておき、.is-in で出す）
   ========================================================= */
html.js .slide [data-in] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(0.12s + var(--d, 0) * 0.08s);
}
html.js .slide.is-in [data-in] { opacity: 1; transform: none; }
html.js .slide [data-in="chars"] { opacity: 1; transform: none; }
html.js .slide [data-in="chars"] .ch {
  opacity: 0;
  transform: translateY(0.45em) rotate(5deg);
  transition: opacity 0.5s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(0.12s + var(--d, 0) * 0.08s + var(--i, 0) * 0.024s);
}
html.js .slide.is-in [data-in="chars"] .ch { opacity: 1; transform: none; }

/* =========================================================
   開いたときの幕（about.html 先頭のスクリプトが html.curtain-on を付ける。クローラー・動きを減らす設定では出ない）
   index の案内から来ると、押した位置から広がった円と同じ色なので、そのままつながって見える
   ========================================================= */
.curtain { display: none; }
html.curtain-on .curtain {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--ink);
  color: #0b0b0e;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.85s cubic-bezier(0.76, 0, 0.24, 1);
}
html.curtain-done .curtain { clip-path: inset(0 0 100% 0); pointer-events: none; }
.curtain-brand { font-family: var(--f-en); font-size: 30px; line-height: 1; letter-spacing: 0.04em; opacity: 0; animation: curtain-in 0.6s var(--ease) 0.1s forwards; }
.curtain-brand span { margin-left: 0.45em; padding-left: 0.45em; border-left: 1px solid rgba(11, 11, 14, 0.3); }
.curtain-sub { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.42em; color: rgba(11, 11, 14, 0.55); opacity: 0; animation: curtain-in 0.6s var(--ease) 0.22s forwards; }
.curtain-bar { position: relative; width: 120px; height: 2px; margin-top: 6px; overflow: hidden; background: rgba(11, 11, 14, 0.12); }
.curtain-bar::after { content: ""; position: absolute; inset: 0; background: var(--orange); animation: curtain-load 1.1s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
@keyframes curtain-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes curtain-load { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* =========================================================
   縦に並ぶ表示（スマホ・JSなし・クローラー）
   ========================================================= */
.flowbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px var(--px);
  padding-top: calc(12px + env(safe-area-inset-top));
  background: rgba(11, 11, 14, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.flowbar-brand, .chrome-brand { font-family: var(--f-en); font-size: 17px; letter-spacing: 0.04em; text-decoration: none; }
.flowbar-brand span, .chrome-brand span { margin-left: 0.45em; padding-left: 0.45em; border-left: 1px solid var(--mute); }
.flowbar-contact {
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 6px 14px;
}
.flowbar-contact:hover { background: var(--ink); color: var(--bg); }

.slide {
  position: relative;
  overflow: hidden;
  container-type: inline-size;
  padding: 84px var(--px) 76px;
  border-bottom: 1px solid var(--line);
}
.slide::before {
  /* アクセント色のにじみ */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 55% at 85% 20%, color-mix(in srgb, var(--acc) 16%, transparent), transparent 70%);
  z-index: 0;
}
.slide > * { position: relative; z-index: 1; }
.chrome, .deck-hint { display: none; }

/* =========================================================
   スライド表示（PC・タブレット横）
   ========================================================= */
html.deck {
  --fs-hero: 4.6cqw;
  --fs-h: 3.15cqw;
  --fs-lead: 1.38cqw;
  --fs-body: 1.08cqw;
  --fs-label: 0.74cqw;
  --fs-num: 6.2cqw;
  --px: 5.6cqw;
  --gap: 2.6cqw;
  --r: 0.8cqw;
}
html.deck, html.deck body { height: 100%; overflow: hidden; overscroll-behavior: none; }
html.deck body { background: #050507; }
html.deck .flowbar { display: none; }
html.deck .deck { position: fixed; inset: 0; display: grid; place-items: center; }
html.deck .stage {
  position: relative;
  width: min(100vw, calc(100vh * 16 / 9));
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg);
  container-type: inline-size;
}
html.deck .slide {
  position: absolute;
  inset: 0;
  padding: 7.4cqw var(--px) 6.6cqw;
  border: 0;
  display: grid;
  align-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(calc(var(--dir, 1) * 2.6cqw));
  transition: opacity 0.45s var(--ease), transform 0.8s var(--ease), visibility 0s linear 0.8s;
}
html.deck .slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.6s var(--ease) 0.08s, transform 0.9s var(--ease), visibility 0s;
}
html.deck .slide.is-leaving { transform: translateX(calc(var(--dir, 1) * -2.6cqw)); }
html.deck .slide::after {
  /* 背景の大きなページ番号 */
  content: attr(data-no);
  position: absolute;
  right: 3.4cqw;
  bottom: 5.6cqw;
  font-family: var(--f-en);
  font-size: 15cqw;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 241, 234, 0.06);
  pointer-events: none;
  z-index: 0;
}
html.deck .kicker { margin-bottom: 1.4cqw; }
html.deck .textlink { margin-top: 1.6cqw; }

html.deck .chrome { display: block; position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.chrome-top {
  position: absolute;
  top: 2.3cqw;
  left: var(--px);
  right: var(--px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
html.deck .chrome-brand { font-size: 1.2cqw; pointer-events: auto; }
.chrome-sec { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.3em; color: var(--dim); }
.chrome-bottom {
  position: absolute;
  bottom: 2.1cqw;
  left: var(--px);
  right: var(--px);
  display: flex;
  align-items: center;
  gap: 2cqw;
}
.chrome-count { font-family: var(--f-mono); font-size: 0.8cqw; letter-spacing: 0.14em; color: var(--dim); display: flex; gap: 0.6em; font-variant-numeric: tabular-nums; }
.chrome-count b { font-weight: 400; color: var(--ink); }
.chrome-progress { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.chrome-progress i {
  position: absolute;
  inset: 0;
  background: var(--cur-acc, var(--orange));
  transform-origin: left;
  transform: scaleX(var(--p, 0));
  transition: transform 0.7s var(--ease), background 0.6s;
}
.chrome-nav { display: flex; gap: 0.6cqw; pointer-events: auto; }
.chrome-nav button {
  width: 2.6cqw;
  height: 2.6cqw;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--dim);
  transition: color 0.25s, background 0.25s, border-color 0.25s;
}
.chrome-nav button svg { width: 1.1cqw; height: 1.1cqw; }
.chrome-nav button:hover { color: var(--bg); background: var(--ink); border-color: var(--ink); }
.chrome-nav button:disabled { opacity: 0.3; pointer-events: none; }
/* 1枚目だけ、次へのボタンをアクセント色で塗り、波紋を広げて目立たせる */
.chrome-nav button { position: relative; }
.chrome-nav button.is-hint { color: #0b0b0e; background: var(--cur-acc, var(--orange)); border-color: var(--cur-acc, var(--orange)); }
.chrome-nav button.is-hint::before,
.chrome-nav button.is-hint::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid var(--cur-acc, var(--orange));
  pointer-events: none;
  animation: nav-ripple 2.2s cubic-bezier(0.2, 0.7, 0.3, 1) infinite;
}
.chrome-nav button.is-hint::after { animation-delay: 1.1s; }
@keyframes nav-ripple { 0% { transform: scale(1); opacity: 0.85; } 100% { transform: scale(2.3); opacity: 0; } }
.deck-hint {
  position: absolute;
  left: 50%;
  bottom: 5.4cqw;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 0.78cqw;
  letter-spacing: 0.14em;
  color: var(--mute);
  white-space: nowrap;
  transition: opacity 0.6s;
}
html.deck .deck-hint { display: block; }
html.deck .deck-hint.is-gone { opacity: 0; }

/* =========================================================
   背景にうっすら流れるゲーム本体（表紙・AMIX GAMESとは）
   ゲームは半分の大きさで描かせて2倍に拡大する（描く画素が1/4。薄く見せる背景なので粗さは目立たない）
   ========================================================= */
.live { position: absolute !important; inset: 0; z-index: 0 !important; overflow: hidden; pointer-events: none; }
.live-poster, .live iframe { position: absolute; left: 0; top: 0; border: 0; }
.live-poster { width: 100%; height: 100%; object-fit: cover; opacity: 0.2; filter: saturate(0.85); transition: opacity 1.4s var(--ease); }
.live iframe { width: 50%; height: 50%; transform: scale(2); transform-origin: 0 0; opacity: 0; transition: opacity 1.8s var(--ease); background: transparent; }
.live.is-ready iframe { opacity: 0.46; }
.live.is-ready .live-poster { opacity: 0; }
.live::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 11, 14, 0.94) 0%, rgba(11, 11, 14, 0.8) 36%, rgba(11, 11, 14, 0.38) 70%, rgba(11, 11, 14, 0.55) 100%),
    linear-gradient(0deg, rgba(11, 11, 14, 0.85), transparent 32%);
}
.s-about .live::after { background: linear-gradient(90deg, rgba(11, 11, 14, 0.92) 0%, rgba(11, 11, 14, 0.74) 45%, rgba(11, 11, 14, 0.7) 100%), linear-gradient(0deg, rgba(11, 11, 14, 0.8), transparent 35%); }

/* =========================================================
   カバーのリング（表紙・最後）
   ========================================================= */
.ring-wrap { --cw: 30cqw; --persp: 200cqw; --push: -40cqw; --tilt: -7deg; pointer-events: none; perspective: var(--persp); perspective-origin: 50% 42%; }
.ring-tilt { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1.4s var(--ease); }
.ring {
  --r: calc(var(--n, 20) * var(--cw) * 1.1 / 6.2832);
  position: absolute;
  left: 50%;
  top: 50%;
  transform-style: preserve-3d;
  animation: ring-spin 110s linear infinite;
  animation-play-state: paused;
}
.slide.is-play .ring { animation-play-state: running; }
@keyframes ring-spin {
  from { transform: translateZ(var(--push)) rotateX(var(--tilt)) rotateY(0deg); }
  to { transform: translateZ(var(--push)) rotateX(var(--tilt)) rotateY(-360deg); }
}
.ring .card {
  position: absolute;
  width: var(--cw);
  height: calc(var(--cw) * 0.65);
  left: calc(var(--cw) / -2);
  top: calc(var(--cw) * -0.325);
  transform: rotateY(calc(var(--i) * 360deg / var(--n))) translateZ(var(--r));
  backface-visibility: hidden;
  border-radius: calc(var(--cw) * 0.035);
  overflow: hidden;
  background: var(--bg3);
  box-shadow: 0 2cqw 4cqw rgba(0, 0, 0, 0.45);
}
.ring .card img { width: 100%; height: 100%; object-fit: cover; }

/* 表紙 */
.s-cover .ring-wrap {
  --cw: 46cqw;
  --tilt: 0deg;
  --persp: 150cqw;
  position: relative;
  height: 50cqw;
  margin: -24px calc(var(--px) * -1) 22px;
  perspective-origin: 50% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
}
/* スマホ：手前のカードが等倍になるよう、半径ぶん奥へ下げる */
html:not(.deck) .s-cover .ring { --push: calc(var(--r) * -1); }
.cover-h1 .kicker { margin-bottom: 1.2em; }
.cover-meta { margin-top: 2em; display: flex; gap: 1.4em; flex-wrap: wrap; font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.24em; color: var(--mute); }
.cover-meta span + span::before { content: "／"; margin-right: 1.4em; }
html.deck .s-cover { align-content: center; }
html.deck .s-cover .ring-wrap {
  --cw: 19cqw;
  --push: -40cqw;
  --yaw: -24deg;
  --persp: 120cqw;
  position: absolute;
  top: 0;
  bottom: 0;
  right: -32cqw;
  width: 82cqw;
  height: auto;
  margin: 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 2%, #000 24%, #000 76%, transparent 98%);
  mask-image: linear-gradient(180deg, transparent 2%, #000 24%, #000 76%, transparent 98%);
}
/* 縦に回る（観覧車のように上へ流れる） */
html.deck .ring-wrap.v-deck .ring { --r: calc(var(--n, 20) * var(--cw) * 0.65 * 1.14 / 6.2832); animation-name: ring-spin-v; animation-duration: 80s; }
html.deck .ring-wrap.v-deck .card { transform: rotateX(calc(var(--i) * -360deg / var(--n))) translateZ(var(--r)); }
@keyframes ring-spin-v {
  from { transform: translateZ(var(--push)) rotateY(var(--yaw)) rotateX(0deg); }
  to { transform: translateZ(var(--push)) rotateY(var(--yaw)) rotateX(360deg); }
}
html.deck .cover-body { width: 54%; }

/* 最後 */
.s-end { text-align: center; }
.s-end .ring-wrap { display: none; }
html.deck .s-end .ring-wrap {
  --cw: 11cqw;
  --tilt: -16deg;
  --push: -58cqw;
  display: block;
  position: absolute;
  inset: 0;
  opacity: 0.32;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, transparent 30%, #000 75%);
  mask-image: radial-gradient(60% 70% at 50% 50%, transparent 30%, #000 75%);
}
.s-end .kicker { justify-content: center; }
.cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 2.2em; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  padding: 0.95em 1.9em;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-weight: 700;
  font-size: max(14px, var(--fs-body));
  text-decoration: none;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}
.btn span { transition: transform 0.4s var(--ease); }
.btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn:hover span { transform: translateX(4px); }
.btn-main { background: var(--acc); border-color: var(--acc); color: #0b0b0e; }
.btn-main:hover { background: var(--ink); border-color: var(--ink); }
.sign { margin-top: 3em; font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.12em; color: var(--mute); }
.sign a { color: var(--dim); text-decoration: none; }
.sign a:hover { color: var(--ink); }
html.deck .cta { gap: 1cqw; margin-top: 2.4cqw; }
html.deck .btn { font-size: 1.1cqw; }
html.deck .sign { margin-top: 3cqw; }

/* =========================================================
   02 AMIX GAMESとは
   ========================================================= */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gap); margin-top: 36px; }
.stat { border-top: 1px solid var(--line); padding: 16px 0 20px; }
.stat dt { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.18em; color: var(--dim); }
.stat dd { margin-top: 0.3em; }
.num { display: block; font-family: var(--f-en); font-size: var(--fs-num); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.num-s { font-size: calc(var(--fs-num) * 0.62); line-height: 1.6; }
.stat small { display: block; margin-top: 0.5em; font-size: var(--fs-label); letter-spacing: 0.06em; color: var(--dim); }
.stat:first-child .num { color: var(--acc); }
html.deck .s-about { grid-template-columns: 1.08fr 1fr; gap: 6cqw; align-items: center; }
html.deck .stats { margin-top: 0; gap: 0 3cqw; }
html.deck .stat { padding: 1.4cqw 0 1.8cqw; }

/* =========================================================
   03 デザイン事務所として（10年・オリジナルロゴ）
   ========================================================= */
.design-vis { margin-top: 34px; }
/* SPEED × 10 YEARS */
.formula { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 10px; }
.fx-item { display: grid; align-content: start; gap: 8px; padding: 16px 16px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg2); min-width: 0; }
.fx-word { font-family: var(--f-en); font-size: calc(var(--fs-num) * 0.8); line-height: 1; letter-spacing: 0.02em; color: var(--ink); }
.fx-item:first-child .fx-word { color: var(--acc); }
.fx-word .num { display: inline; font-size: inherit; color: var(--acc); }
.fx-word small { font-size: 0.4em; margin-left: 0.25em; letter-spacing: 0.06em; color: var(--ink); }
.fx-desc { font-size: var(--fs-body); line-height: 1.55; color: var(--ink2); }
.fx-times { align-self: center; justify-self: center; font-family: var(--f-ja); font-weight: 300; font-size: calc(var(--fs-num) * 0.6); line-height: 1; color: var(--acc); }
html:not(.deck) .formula { grid-template-columns: 1fr; gap: 6px; }
html:not(.deck) .fx-times { font-size: 30px; }
/* 言葉で指示すると反映される（バイブコーディングの雰囲気） */
.fx-prompt { position: relative; min-height: 3.4em; padding: 0.55em 0.75em; border-radius: 6px; background: #07070a; font-family: var(--f-mono); font-size: var(--fs-label); line-height: 1.5; color: var(--ink2); letter-spacing: 0.02em; overflow: hidden; }
.fx-prompt span::before { content: "> "; color: var(--acc); }
.fx-prompt .caret { margin-left: 1px; height: 1em; vertical-align: -0.12em; }
.fx-prompt em { display: block; font-style: normal; color: var(--green); opacity: 0; transform: translateY(4px); transition: opacity 0.3s, transform 0.4s var(--ease); }
.fx-prompt em.is-on { opacity: 1; transform: none; }
.logos { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 22px; }
.logos li {
  position: relative;
  display: grid;
  place-items: center;
  padding: 9%;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: radial-gradient(90% 90% at 50% 40%, var(--bg3), var(--bg2));
  container-type: size;
}
.logos li:nth-child(1), .logos li:nth-child(2) { grid-column: span 3; aspect-ratio: 16 / 10; }
.logos li:nth-child(n+3) { grid-column: span 2; aspect-ratio: 2 / 1; padding: 8% 11%; }
/* ロゴの箱はロゴと同じ縦横比にして、光や走査線がロゴの形に重なるようにする */
.logos .lg { position: relative; display: block; width: min(100cqw, 100cqh * (var(--ar))); aspect-ratio: var(--ar); }
.logos .lg img, .logos .lg svg { display: block; width: 100%; height: 100%; overflow: visible; }
.logos-cap { margin-top: 10px; font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.14em; color: var(--mute); }

/* 9秒ごとに、各ゲームのタイトル画面と同じ登場を繰り返す。表示中（.is-play）だけ動く */
.logos .lg, .logos .fx, .logos .lg svg path {
  animation-duration: 9s;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
  animation-play-state: paused;
  animation-delay: calc(var(--k, 0) * 0.35s);
}
.slide.is-play .logos .lg, .slide.is-play .logos .fx, .slide.is-play .logos .lg svg path { animation-play-state: running; }

/* GYOKO DRIFT：傾いて叩きつけるように登場 → ロゴの形に光が走る */
.lg-drift .lg { transform-origin: 50% 60%; animation-name: lg-slam; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
.lg-drift .fx {
  position: absolute;
  inset: 0;
  -webkit-mask: url(../img/logo/drift.svg) center / contain no-repeat;
  mask: url(../img/logo/drift.svg) center / contain no-repeat;
  background: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, 0.9) 50%, transparent 62%);
  background-size: 250% 100%;
  animation-name: lg-shine;
  animation-timing-function: ease-in-out;
}
@keyframes lg-slam {
  0% { opacity: 0; transform: translate(-5%, -1%) rotate(-14deg) scale(2.2); filter: blur(8px); }
  5% { opacity: 1; transform: rotate(-2deg) scale(0.94); filter: blur(0); }
  7.5% { transform: rotate(-3.4deg) scale(1.04); }
  11%, 92% { opacity: 1; transform: rotate(-3deg) scale(1); filter: blur(0); }
  97%, 100% { opacity: 0; transform: rotate(-3deg) scale(1); }
}
@keyframes lg-shine {
  0%, 13% { opacity: 0; background-position: 130% 0; }
  14% { opacity: 1; }
  24% { opacity: 1; background-position: -30% 0; }
  26%, 100% { opacity: 0; background-position: -30% 0; }
}

/* トンテンかんてん！：落ちてきて弾み、トン、トンと打ち込まれる */
.lg-tonten .lg { transform-origin: 50% 100%; animation-name: lg-drop; animation-timing-function: ease-out; }
@keyframes lg-drop {
  0% { opacity: 0; transform: translateY(-45%); }
  4% { opacity: 1; transform: translateY(0) scale(1.08, 0.88); }
  6% { transform: translateY(-7%) scale(0.98, 1.03); }
  8% { transform: none; }
  11% { transform: scale(1.03, 0.95); }
  12% { transform: none; }
  14.5% { transform: scale(1.03, 0.95); }
  15.5%, 92% { opacity: 1; transform: none; }
  97%, 100% { opacity: 0; transform: none; }
}

/* ZONE STRIKE：線で描かれてから塗られる（SVGは about.js がその場に埋め込む） */
.lg-strike svg path {
  fill: #fff;
  stroke: #fff;
  stroke-width: 0.6;
  stroke-linejoin: round;
  stroke-dasharray: var(--len, 300);
  animation-name: lg-wire;
  animation-timing-function: cubic-bezier(0.35, 0.6, 0.2, 1);
  animation-delay: calc(var(--k, 0) * 0.35s + var(--i, 0) * 0.055s);
}
@keyframes lg-wire {
  0% { stroke-dashoffset: var(--len, 300); fill-opacity: 0; stroke-opacity: 1; filter: drop-shadow(0 0 2px rgba(190, 240, 255, 0.9)); }
  8% { stroke-dashoffset: 0; fill-opacity: 0; stroke-opacity: 1; }
  13%, 92% { stroke-dashoffset: 0; fill-opacity: 1; stroke-opacity: 0; filter: none; }
  97%, 100% { stroke-dashoffset: 0; fill-opacity: 0; stroke-opacity: 0; }
}

/* DROP RIOT：左から現れ、水色の走査線が上から下へ抜ける */
.lg-wfall .lg { transform: skewX(-4deg); }
.lg-wfall img { animation: lg-wipe 9s cubic-bezier(0.16, 0.78, 0.2, 1) calc(var(--k, 0) * 0.35s) infinite both; animation-play-state: paused; }
.slide.is-play .lg-wfall img { animation-play-state: running; }
.lg-wfall .fx {
  position: absolute;
  left: -3%;
  right: -3%;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #dffaff 22%, #5edcff 76%, transparent);
  box-shadow: 0 0 10px rgba(93, 222, 255, 0.95);
  animation-name: lg-scan;
  animation-timing-function: cubic-bezier(0.2, 0.68, 0.28, 1);
}
@keyframes lg-wipe {
  0% { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateY(15%) scaleX(0.72); }
  5% { opacity: 1; clip-path: inset(0); transform: translateX(-2%) scaleX(1.025); }
  8%, 92% { opacity: 1; clip-path: inset(0); transform: none; }
  97%, 100% { opacity: 0; clip-path: inset(0); transform: none; }
}
@keyframes lg-scan {
  0% { top: 0; opacity: 0; }
  2% { opacity: 1; }
  8% { top: 100%; opacity: 0.88; }
  9.5%, 100% { top: 100%; opacity: 0; }
}

/* TAXORCIST：中央から左右へ開く */
.lg-tax .lg { animation-name: lg-center; animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1); filter: drop-shadow(0 0 6px rgba(255, 150, 80, 0.35)); }
@keyframes lg-center {
  0% { opacity: 0; transform: translateY(12%) scale(0.96); clip-path: inset(0 50% 0 50%); }
  10.5%, 92% { opacity: 1; transform: none; clip-path: inset(0); }
  97%, 100% { opacity: 0; transform: none; clip-path: inset(0); }
}

html.deck .s-design { grid-template-columns: 1fr 1.02fr; gap: 5cqw; align-items: center; }
html.deck .design-vis { margin-top: 0; }
html.deck .formula { gap: 0.9cqw; }
html.deck .fx-item { padding: 1.3cqw 1.3cqw 1.1cqw; gap: 0.7cqw; }
html.deck .logos { gap: 0.9cqw; margin-top: 1.6cqw; }
html.deck .logos-cap { margin-top: 0.9cqw; }

/* =========================================================
   04 ラインナップ（流れるカバーの壁）
   ========================================================= */
.wall {
  position: absolute !important;
  inset: -10% -30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  transform: rotate(-8deg);
  opacity: 0.3;
  z-index: 0 !important;
}
.wall-row { display: flex; gap: 12px; width: max-content; animation: wall-x var(--t, 70s) linear infinite; animation-play-state: paused; }
.wall-row:nth-child(even) { animation-direction: reverse; }
.slide.is-play .wall-row { animation-play-state: running; }
@keyframes wall-x { to { transform: translateX(-50%); } }
.tile { position: relative; flex: none; width: 150px; aspect-ratio: 1000 / 650; border-radius: 6px; overflow: hidden; background: var(--bg3); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile span { position: absolute; left: 8px; bottom: 5px; font-family: var(--f-en); font-size: 12px; letter-spacing: 0.04em; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8); }
.lineup-body { position: relative; }
html.deck .wall {
  gap: 1.3cqw;
  opacity: 0.62;
  inset: -12% -20%;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.16) 36%, #000 64%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.16) 36%, #000 64%);
}
html.deck .wall-row { gap: 1.3cqw; }
html.deck .tile { width: 15.5cqw; border-radius: 0.6cqw; }
html.deck .tile span { left: 0.8cqw; bottom: 0.5cqw; font-size: 1cqw; }
html.deck .lineup-body { width: 56%; }
html.deck .lineup-body::before {
  content: "";
  position: absolute;
  inset: -7cqw -10cqw -7cqw -8cqw;
  background: radial-gradient(closest-side, rgba(11, 11, 14, 0.95), rgba(11, 11, 14, 0.78) 62%, transparent);
  z-index: -1;
}

/* =========================================================
   04 検索
   ========================================================= */
.traffic-vis { margin-top: 36px; display: grid; gap: 16px; }
.search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--bg2);
  font-weight: 700;
  font-size: clamp(16px, 4.2vw, 20px);
  color: var(--ink);
}
.search svg { color: var(--dim); flex: none; }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--acc); margin-left: -8px; animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.serp { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg2); padding: 8px; display: grid; gap: 6px; }
.serp-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: calc(var(--r) - 4px); }
.serp-skel i { display: block; height: 8px; border-radius: 4px; background: rgba(244, 241, 234, 0.08); }
.serp-skel i:first-child { width: 44%; }
.serp-skel i:last-child { width: 26%; }
.serp-skel { justify-content: flex-start; }
.serp-amix { background: color-mix(in srgb, var(--acc) 12%, transparent); border: 1px solid color-mix(in srgb, var(--acc) 50%, transparent); }
.serp-fav { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-family: var(--f-en); font-size: 14px; }
.serp-main { flex: 1; display: grid; line-height: 1.5; min-width: 0; }
.serp-main b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.serp-main small { font-family: var(--f-mono); font-size: 10px; color: var(--dim); }
.serp-up { flex: none; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; color: #0b0b0e; background: var(--green); border-radius: 100px; padding: 3px 10px; animation: up 1.6s var(--ease) infinite; animation-play-state: paused; }
.slide.is-play .serp-up { animation-play-state: running; }
@keyframes up { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-5px); } }
.vs-traffic { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.vt { border-radius: 100px; padding: 10px 18px; font-weight: 900; line-height: 1.2; }
.vt-games { background: var(--acc); color: #0b0b0e; font-family: var(--f-en); font-weight: 400; font-size: 22px; letter-spacing: 0.03em; }
.vt-main { border: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.vt-gt { font-weight: 900; font-size: 26px; color: var(--acc); }
.vt-note { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.2em; color: var(--dim); margin-bottom: 8px; }
html.deck .vt-note { margin-bottom: 0.7cqw; }
html.deck .s-traffic { grid-template-columns: 1fr 1fr; gap: 5cqw; align-items: center; }
html.deck .traffic-vis { margin-top: 0; gap: 1.3cqw; }
html.deck .search { padding: 1.1cqw 1.6cqw; font-size: 1.6cqw; gap: 1cqw; }
html.deck .search svg { width: 1.5cqw; height: 1.5cqw; }
html.deck .caret { margin-left: -0.7cqw; }
html.deck .serp { padding: 0.6cqw; gap: 0.5cqw; }
html.deck .serp-row { padding: 1cqw 1.2cqw; gap: 1cqw; }
html.deck .serp-skel i { height: 0.6cqw; }
html.deck .serp-fav { width: 2.2cqw; height: 2.2cqw; font-size: 1.1cqw; }
html.deck .serp-main b { font-size: 1.1cqw; }
html.deck .serp-main small { font-size: 0.78cqw; }
html.deck .serp-up { font-size: 0.85cqw; padding: 0.25cqw 0.8cqw; }
html.deck .vs-traffic { gap: 1cqw; margin-top: 0.8cqw; }
html.deck .vt { padding: 0.8cqw 1.5cqw; }
html.deck .vt-games { font-size: 1.9cqw; }
html.deck .vt-main { font-size: 1.05cqw; }
html.deck .vt-gt { font-size: 2.2cqw; }

/* =========================================================
   05 質問
   ========================================================= */
.s-question { text-align: center; }
.s-question .kicker { justify-content: center; }
.question { font-size: calc(var(--fs-h) * 1.05); }
.answers { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }
.ans {
  min-width: 132px;
  padding: 0.8em 2.2em;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-weight: 900;
  font-size: max(15px, calc(var(--fs-lead) * 1.1));
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--ease), opacity 0.4s;
}
.ans:hover { border-color: var(--ink); transform: translateY(-2px); }
.ans.is-picked { background: var(--acc); border-color: var(--acc); color: #0b0b0e; }
.s-question.answered .ans:not(.is-picked) { opacity: 0.35; }
.reply { margin-top: 28px; min-height: 7em; }
.reply-a, .reply-b { opacity: 0; transform: translateY(10px); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.reply-a { font-weight: 900; font-size: var(--fs-lead); color: var(--acc); display: none; }
.reply-b { font-size: var(--fs-lead); color: var(--ink2); margin-top: 0.6em; transition-delay: 0.5s; }
.s-question[data-answer="yes"] .reply-a[data-reply="yes"],
.s-question[data-answer="no"] .reply-a[data-reply="no"] { display: block; opacity: 1; transform: none; }
.s-question.answered .reply-b { opacity: 1; transform: none; }
html:not(.js) .reply-b { opacity: 1; transform: none; }
html.deck .s-question { align-content: center; }
html.deck .answers { gap: 1.2cqw; margin-top: 3cqw; }
html.deck .ans { min-width: 12cqw; font-size: 1.6cqw; }
html.deck .reply { margin-top: 2.4cqw; }

/* =========================================================
   06 入口の重さ（アプリとブラウザの競争）
   ========================================================= */
.race { margin-top: 34px; display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--gap); }
.lane { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; background: var(--bg2); }
.lane-name { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.2em; color: var(--dim); margin-bottom: 12px; }
.lane ol { list-style: none; display: grid; gap: 8px; position: relative; }
.lane li {
  position: relative;
  padding: 6px 12px 6px 28px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mute);
  transition: color 0.3s, background 0.3s;
}
.lane li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  border: 1px solid var(--mute);
  transition: background 0.3s, border-color 0.3s;
}
.lane li.done { color: var(--ink); }
.lane li.done::before { background: var(--acc); border-color: var(--acc); }
.lane li.now { background: rgba(244, 241, 234, 0.06); }
.lane li.goal { font-family: var(--f-en); font-weight: 400; letter-spacing: 0.08em; font-size: 16px; }
.lane li.goal.done { color: #0b0b0e; background: var(--acc); }
.lane li.goal.done::before { background: #0b0b0e; border-color: #0b0b0e; }
.lane-web li.goal.done { animation: burst 0.7s var(--ease); }
@keyframes burst { 0% { transform: scale(0.9); } 50% { transform: scale(1.08); } 100% { transform: none; } }
html.deck .s-entry { grid-template-columns: 1fr 1fr; gap: 5cqw; align-items: center; }
html.deck .race { margin-top: 0; gap: 1.6cqw; align-items: start; }
html.deck .lane { padding: 1.6cqw; }
html.deck .lane-name { margin-bottom: 1cqw; }
html.deck .lane ol { gap: 0.55cqw; }
html.deck .lane li { font-size: 1.02cqw; padding: 0.5cqw 1cqw 0.5cqw 2.2cqw; border-radius: 0.6cqw; }
html.deck .lane li::before { left: 0.8cqw; width: 0.6cqw; height: 0.6cqw; margin-top: -0.3cqw; }
html.deck .lane li.goal { font-size: 1.4cqw; }

/* =========================================================
   07 軽さ（スマホでリンクを開く）
   ========================================================= */
.phone-wrap { display: grid; place-items: center; margin-bottom: 30px; }
.phone {
  --pw: min(64vw, 240px);
  position: relative;
  width: var(--pw);
  aspect-ratio: 9 / 18.5;
  border-radius: calc(var(--pw) * 0.14);
  border: calc(var(--pw) * 0.03) solid #2a2a33;
  background: #101015;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(244, 241, 234, 0.06);
}
.phone-notch { position: absolute; top: 3%; left: 50%; width: 30%; height: 3.4%; margin-left: -15%; border-radius: 100px; background: #000; z-index: 3; }
.phone-chat { position: absolute; inset: 0; padding: 26% 7% 0; display: flex; flex-direction: column; gap: 5%; font-size: calc(var(--pw) * 0.052); }
.bubble { align-self: flex-start; max-width: 86%; padding: 0.7em 1em; border-radius: 1.2em 1.2em 1.2em 0.3em; background: #26262f; line-height: 1.5; }
.bubble-link { display: grid; grid-template-rows: auto auto; padding: 0; overflow: hidden; text-decoration: none; }
.bubble-link img { width: 100%; aspect-ratio: 1000 / 650; object-fit: cover; }
.bubble-link span { display: grid; padding: 0.6em 0.9em 0.8em; line-height: 1.4; }
.bubble-link b { font-size: 0.95em; }
.bubble-link small { font-family: var(--f-mono); font-size: 0.72em; color: var(--dim); }
.tap { position: absolute; left: 44%; top: 56%; width: 16%; aspect-ratio: 1; border-radius: 50%; background: rgba(244, 241, 234, 0.35); border: 2px solid rgba(244, 241, 234, 0.8); opacity: 0; }
.phone-game { position: absolute; inset: 0; background: #000; clip-path: circle(0% at 52% 60%); z-index: 2; }
.phone-game img { width: 100%; height: 100%; object-fit: cover; }
.phone-play {
  position: absolute;
  left: 50%;
  bottom: 12%;
  transform: translateX(-50%);
  font-family: var(--f-en);
  font-size: calc(var(--pw) * 0.09);
  letter-spacing: 0.08em;
  padding: 0.3em 1.2em;
  border-radius: 100px;
  background: var(--acc);
  color: #0b0b0e;
}
/* 7秒の繰り返し：吹き出し→リンク→タップ→ゲームが開く→戻る */
.phone .bubble-1, .phone .bubble-link, .phone .tap, .phone-game, .phone-game img, .phone-play { animation-duration: 7s; animation-iteration-count: infinite; animation-timing-function: var(--ease); animation-play-state: paused; }
.slide.is-play .phone *, .slide.is-play .phone-game { animation-play-state: running; }
.phone .bubble-1 { animation-name: ph-b1; }
.phone .bubble-link { animation-name: ph-link; }
.phone .tap { animation-name: ph-tap; }
.phone-game { animation-name: ph-game; }
.phone-game img { animation-name: ph-zoom; animation-timing-function: linear; }
.phone-play { animation-name: ph-play; }
@keyframes ph-b1 { 0% { opacity: 0; transform: translateY(8px); } 6%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes ph-link { 0%, 12% { opacity: 0; transform: translateY(8px); } 20%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes ph-tap { 0%, 30% { opacity: 0; transform: scale(1.6); } 36% { opacity: 1; transform: scale(1); } 40% { transform: scale(0.8); } 44%, 100% { opacity: 0; transform: scale(0.8); } }
@keyframes ph-game { 0%, 40% { clip-path: circle(0% at 52% 62%); } 50%, 88% { clip-path: circle(150% at 52% 62%); } 95%, 100% { clip-path: circle(0% at 52% 62%); } }
@keyframes ph-zoom { 0%, 40% { transform: scale(1.25); } 90%, 100% { transform: scale(1.05); } }
@keyframes ph-play { 0%, 52% { opacity: 0; transform: translateX(-50%) scale(0.6); } 58% { opacity: 1; transform: translateX(-50%) scale(1.1); } 62%, 86% { opacity: 1; transform: translateX(-50%) scale(1); } 92%, 100% { opacity: 0; transform: translateX(-50%) scale(1); } }
.points { list-style: none; margin-top: 30px; display: grid; gap: 14px; }
.points li { display: grid; grid-template-columns: 9.5em 1fr; gap: 1em; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.points b { font-weight: 900; font-size: max(15px, var(--fs-lead)); color: var(--acc); }
.points span { color: var(--ink2); }
html.deck .s-light { grid-template-columns: 0.72fr 1.28fr; gap: 4cqw; align-items: center; }
html.deck .phone-wrap { margin: 0; }
html.deck .phone { --pw: 17.5cqw; }
html.deck .points { margin-top: 2.6cqw; gap: 1.2cqw; }
html.deck .points li { padding-bottom: 1.2cqw; }
html.deck .points b { font-size: 1.4cqw; }

/* =========================================================
   08 2つのご提案
   ========================================================= */
.props { display: grid; gap: 14px; margin-top: 30px; }
.prop {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 24px 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg2);
  text-decoration: none;
  transition: background 0.4s, border-color 0.4s, transform 0.5s var(--ease);
  overflow: hidden;
}
.prop:nth-child(1) { --pc: var(--yellow); }
.prop:nth-child(2) { --pc: var(--blue); }
.prop::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 90% at 100% 0%, color-mix(in srgb, var(--pc) 22%, transparent), transparent 70%); opacity: 0.6; transition: opacity 0.4s; }
.prop > * { position: relative; }
.prop:hover { border-color: var(--pc); transform: translateY(-4px); }
.prop:hover::before { opacity: 1; }
.prop-no { font-family: var(--f-en); font-size: calc(var(--fs-num) * 0.8); line-height: 1; color: var(--pc); }
.prop-h { font-weight: 900; font-size: calc(var(--fs-lead) * 1.25); line-height: 1.45; }
.prop-p { color: var(--dim); }
.prop-go { position: absolute; right: 20px; top: 22px; font-family: var(--f-mono); font-size: 20px; transition: transform 0.4s var(--ease); }
.prop:hover .prop-go { transform: translateX(6px); }
html.deck .props { grid-template-columns: 1fr 1fr; gap: 2.2cqw; margin-top: 3cqw; }
html.deck .prop { padding: 2.8cqw 2.6cqw 3cqw; gap: 1cqw; min-height: 21cqw; align-content: start; }
html.deck .prop-h { font-size: 2cqw; }
html.deck .prop-go { right: 2.2cqw; top: 2.4cqw; font-size: 1.6cqw; }

/* =========================================================
   09 ご提案01（タイアップの画面イメージ）
   ========================================================= */
.checks { list-style: none; margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.checks li { padding: 0.35em 1em 0.35em 2.2em; border: 1px solid var(--line); border-radius: 100px; font-weight: 700; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0.9em; top: 50%; width: 0.45em; height: 0.8em; margin-top: -0.5em; border: solid var(--acc); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.scene { margin-top: 30px; }
.scene canvas { display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r); background: #1a1530; }
figcaption { margin-top: 10px; font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.16em; color: var(--mute); }
html.deck .s-tieup { grid-template-columns: 0.92fr 1.28fr; gap: 4cqw; align-items: center; }
html.deck .checks { margin-top: 2cqw; gap: 0.7cqw; }
html.deck .checks li { font-size: 1cqw; }
html.deck .scene { margin: 0; }
html.deck figcaption { margin-top: 0.8cqw; }

/* =========================================================
   10 広告の時代（割り込む広告／世界の中の広告）
   ========================================================= */
.vs { display: grid; gap: 18px; margin-top: 30px; }
.vs-card figcaption { font-family: var(--f-ja); letter-spacing: 0; font-size: 12.5px; color: var(--dim); }
.vs-card figcaption b { display: block; font-size: max(14px, var(--fs-lead)); color: var(--ink); }
.vs-good figcaption b { color: var(--green); }
.mini { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: #6ab7ff; container-type: inline-size; }
.mini-sky { position: absolute; inset: 0; background: linear-gradient(180deg, #4a8fe0, #9fd3ff 70%); }
.mini-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: linear-gradient(180deg, #5bbf5a, #3f9443); }
.mini-ground::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6%; background: #7ad66f; }
.mini-hero { position: absolute; left: 20%; bottom: 26%; width: 9%; aspect-ratio: 0.8; background: #ffcf3a; border-radius: 22% 22% 12% 12%; box-shadow: inset -2.2cqw 0 0 rgba(0, 0, 0, 0.12); animation: hop 0.9s var(--ease-io) infinite; animation-play-state: paused; }
.mini-hero::before { content: ""; position: absolute; right: 18%; top: 26%; width: 16%; aspect-ratio: 1; background: #1b1b22; border-radius: 50%; }
.slide.is-play .mini-hero, .slide.is-play .pop, .slide.is-play .skip, .slide.is-play .mini-town, .slide.is-play .mini-shop { animation-play-state: running; }
@keyframes hop { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-60%); } }
.mini-hero-run { animation: hop 0.6s var(--ease-io) infinite; }
.pop {
  position: absolute;
  white-space: nowrap;
  padding: 3% 11% 3% 4%;
  border-radius: 3cqw;
  background: #fff;
  color: #1b1b22;
  box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, 0.35);
  font-size: 4.8cqw;
  line-height: 1.4;
  opacity: 0;
  animation: pop 6s var(--ease) infinite;
  animation-play-state: paused;
}
.pop b { display: inline-block; font-size: 0.72em; background: #ffd400; padding: 0 0.5em; border-radius: 4px; margin-right: 0.5em; }
.pop em { position: absolute; right: 3%; top: 2%; font-style: normal; font-size: 1.1em; color: #999; }
.pop-1 { left: 8%; top: 10%; animation-delay: 0.4s; }
.pop-2 { left: 30%; top: 32%; animation-delay: 1.2s; }
.pop-3 { left: 16%; top: 52%; animation-delay: 2s; }
@keyframes pop {
  0% { opacity: 0; transform: scale(0.6); }
  6% { opacity: 1; transform: scale(1.04); }
  9% { transform: scale(1) rotate(0); }
  12% { transform: rotate(-2deg); } 15% { transform: rotate(2deg); } 18% { transform: rotate(0); }
  78% { opacity: 1; transform: none; }
  84%, 100% { opacity: 0; transform: scale(0.9); }
}
.skip { position: absolute; right: 4%; bottom: 5%; font-size: 4.6cqw; padding: 1.5% 4%; background: rgba(0, 0, 0, 0.7); color: #fff; border-radius: 100px; opacity: 0; animation: pop 6s var(--ease) 2.6s infinite; animation-play-state: paused; }
.vs-bad .mini { filter: saturate(0.85); }
.mini-town { position: absolute; left: -10%; right: -10%; bottom: 26%; height: 50%; display: flex; align-items: flex-end; gap: 4%; padding: 0 4%; animation: town 9s linear infinite; animation-play-state: paused; }
.mini-town i { flex: none; width: 26%; height: 70%; background: #e8e2d6; border-radius: 2cqw 2cqw 0 0; box-shadow: inset -3cqw 0 0 rgba(0, 0, 0, 0.08); }
.mini-town i:nth-child(3) { height: 55%; background: #d9e6f2; }
.mini-shop { height: 88% !important; background: #fff6e0 !important; position: relative; }
.mini-shop b {
  position: absolute;
  left: -8%;
  right: -8%;
  top: 10%;
  padding: 6% 0;
  text-align: center;
  font-family: var(--f-en);
  font-weight: 400;
  font-size: 6cqw;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--orange);
  border-radius: 1.5cqw;
  box-shadow: 0 0 4cqw rgba(255, 90, 31, 0.6);
  animation: shop 2.4s ease-in-out infinite;
  animation-play-state: paused;
}
@keyframes town { from { transform: translateX(6%); } to { transform: translateX(-6%); } }
@keyframes shop { 0%, 100% { box-shadow: 0 0 2cqw rgba(255, 90, 31, 0.4); } 50% { box-shadow: 0 0 6cqw rgba(255, 90, 31, 0.9); } }
html.deck .s-ads { grid-template-columns: 0.95fr 1.3fr; gap: 4cqw; align-items: center; }
html.deck .vs { grid-template-columns: 1fr 1fr; gap: 1.8cqw; margin-top: 0; }
html.deck .vs-card figcaption { font-size: 0.95cqw; }
html.deck .vs-card figcaption b { font-size: 1.3cqw; }

/* =========================================================
   11 ご提案02（RPG・3D会社見学）
   ========================================================= */
.cases { display: grid; gap: 26px; margin-top: 30px; }
.case h3 { margin-top: 14px; font-weight: 900; font-size: max(16px, calc(var(--fs-lead) * 1.1)); }
.case p { margin-top: 4px; color: var(--dim); }
.case-demo { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: #111118; border: 1px solid var(--line); }
.case-rpg canvas { display: block; width: 100%; height: 100%; image-rendering: pixelated; image-rendering: crisp-edges; }
.rpg-msg {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 5%;
  min-height: 30%;
  padding: 3% 4%;
  font-family: var(--f-dot);
  font-size: clamp(11px, 3.4cqw, 18px);
  line-height: 1.6;
  color: #fff;
  background: rgba(8, 8, 20, 0.92);
  border: 3px double #fff;
  border-radius: 6px;
}
.case .rpg-msg { margin-top: 0; color: #fff; transition: opacity 0.25s; }
.rpg-msg i { position: absolute; right: 3%; bottom: 6%; font-style: normal; font-size: 0.8em; animation: caret 0.8s steps(2) infinite; }
.case-iso { perspective: 900px; display: grid; place-items: center; background: radial-gradient(70% 70% at 50% 60%, #1c2440, #0f1220); }
.iso {
  --W: 52cqw;
  position: relative;
  width: var(--W);
  height: var(--W);
  transform-style: preserve-3d;
  transform: translateY(8%) rotateX(58deg) rotateZ(38deg);
  animation: iso-rot 14s ease-in-out infinite alternate;
  animation-play-state: paused;
}
.slide.is-play .iso, .slide.is-play .iso * { animation-play-state: running; }
@keyframes iso-rot { from { transform: translateY(8%) rotateX(58deg) rotateZ(22deg); } to { transform: translateY(8%) rotateX(58deg) rotateZ(62deg); } }
.iso-floor {
  position: absolute;
  inset: 0;
  background-color: #2b3350;
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 10% 10%;
  border-radius: 2px;
  box-shadow: 0 0 0 2px #3a4466;
}
.iso-floor svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.iso-route { fill: none; stroke: var(--yellow); stroke-width: 1.2; stroke-dasharray: 3 3; animation: route 2s linear infinite; animation-play-state: paused; }
@keyframes route { to { stroke-dashoffset: -12; } }
.box { position: absolute; transform-style: preserve-3d; }
.box > i { position: absolute; display: block; }
.walker { position: absolute; transform-style: preserve-3d; animation: walk var(--wt, 10s) linear infinite; animation-play-state: paused; }
/* 人の歩く道（床の上。--W は .iso の一辺） */
@keyframes walk-a {
  0% { transform: translate3d(calc(var(--W) * 0.12), calc(var(--W) * 0.92), 0); }
  18% { transform: translate3d(calc(var(--W) * 0.12), calc(var(--W) * 0.62), 0); }
  40% { transform: translate3d(calc(var(--W) * 0.48), calc(var(--W) * 0.62), 0); }
  59% { transform: translate3d(calc(var(--W) * 0.48), calc(var(--W) * 0.3), 0); }
  80% { transform: translate3d(calc(var(--W) * 0.84), calc(var(--W) * 0.3), 0); }
  90%, 100% { transform: translate3d(calc(var(--W) * 0.84), calc(var(--W) * 0.14), 0); }
}
@keyframes walk-b {
  0%, 100% { transform: translate3d(calc(var(--W) * 0.27), calc(var(--W) * 0.35), 0); }
  45%, 55% { transform: translate3d(calc(var(--W) * 0.74), calc(var(--W) * 0.35), 0); }
}
@keyframes walk-c {
  0%, 100% { transform: translate3d(calc(var(--W) * 0.52), calc(var(--W) * 0.56), 0); }
  30% { transform: translate3d(calc(var(--W) * 0.52), calc(var(--W) * 0.9), 0); }
  50%, 60% { transform: translate3d(calc(var(--W) * 0.34), calc(var(--W) * 0.9), 0); }
}
.iso-label { position: absolute; font-weight: 900; font-size: calc(var(--W) * 0.05); line-height: 1; color: rgba(255, 255, 255, 0.5); white-space: nowrap; }
.iso-tag { position: absolute; right: 4%; top: 5%; font-family: var(--f-mono); font-size: clamp(9px, 2.2cqw, 12px); letter-spacing: 0.12em; color: #0b0b0e; background: var(--yellow); border-radius: 100px; padding: 0.2em 0.9em; }
html.deck .s-dev { grid-template-columns: 0.78fr 1.62fr; gap: 3.6cqw; align-items: center; }
html.deck .cases { grid-template-columns: 1fr 1fr; gap: 1.8cqw; margin-top: 0; }
html.deck .case h3 { margin-top: 1.1cqw; font-size: 1.45cqw; }
html.deck .case p { font-size: 0.98cqw; margin-top: 0.3cqw; }
html.deck .case-iso { perspective: 60cqw; }
html.deck .iso { --W: 16.5cqw; }
html.deck .rpg-msg { font-size: 1.05cqw; border-width: 0.25cqw; }
html.deck .iso-tag { font-size: 0.72cqw; }

/* =========================================================
   12 進め方
   ========================================================= */
.steps { list-style: none; margin-top: 30px; display: grid; gap: 0; position: relative; }
.steps li { position: relative; padding: 0 0 22px 46px; }
.steps li::before { content: ""; position: absolute; left: 13px; top: 6px; bottom: -6px; width: 1px; background: var(--line); }
.steps li:last-child::before { display: none; }
.steps b {
  position: absolute;
  left: 0;
  top: 0;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--acc);
  color: #0b0b0e;
  font-family: var(--f-en);
  font-weight: 400;
  font-size: 12px;
}
.steps h3 { font-weight: 900; font-size: max(16px, var(--fs-lead)); line-height: 1.5; }
.steps p { color: var(--dim); margin-top: 2px; }
html.deck .steps { grid-template-columns: repeat(5, 1fr); gap: 2cqw; margin-top: 4cqw; }
html.deck .steps::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 1.35cqw;
  height: 1px;
  background: linear-gradient(90deg, var(--acc), color-mix(in srgb, var(--acc) 20%, transparent));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.6s var(--ease) 0.3s;
}
html.deck .s-flow.is-in .steps::before { transform: scaleX(1); }
html.deck .steps li { padding: 4.2cqw 0 0; }
html.deck .steps li::before { display: none; }
html.deck .steps b { width: 2.7cqw; height: 2.7cqw; font-size: 1.1cqw; }
html.deck .steps h3 { font-size: 1.45cqw; }
html.deck .steps p { font-size: 1cqw; margin-top: 0.5cqw; }

/* =========================================================
   タブレット（縦並びのまま少し広く）
   ========================================================= */
@media (min-width: 600px) {
  html:not(.deck) .stats { grid-template-columns: repeat(4, 1fr); }
  html:not(.deck) .vs, html:not(.deck) .cases, html:not(.deck) .props { grid-template-columns: 1fr 1fr; }
  html:not(.deck) .phone { --pw: 240px; }
}

/* =========================================================
   動きを減らす設定
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html.js .slide [data-in], html.js .slide [data-in="chars"] .ch { transition: none !important; opacity: 1 !important; transform: none !important; }
  .logos .lg, .logos .fx, .logos .lg svg path, .lg-wfall img, .ring, .wall-row, .phone *, .phone-game, .mini-hero, .pop, .skip, .mini-town, .mini-shop b, .iso, .walker, .iso-route, .serp-up, .caret, .rpg-msg i { animation: none !important; }
  .phone-game { clip-path: circle(150% at 52% 62%); }
  .logos .fx { display: none; }
  .chrome-nav button.is-hint::before, .chrome-nav button.is-hint::after { animation: none; opacity: 0; }
  .pop { opacity: 1; }
  html.deck .slide { transition: opacity 0.3s, visibility 0s linear 0.3s; transform: none !important; }
}
