/* ==========================================================
   C.A.D.OS — main.css  (v0.2.0)
   ========================================================== */
:root {
  --bg: #FBF4F7;
  --bg-rail: #F7EEF3;
  --bg-foot: #F6EDF2;
  --ink: #2A2233;
  --ink-2: #5E5470;
  --muted: #6B6180;
  --lav: #A688F0;
  --pink: #EE8FB6;
  --mint: #4CC3B7;
  --gold: #C9A25E;
  --t-lav: #6E4FC0;
  --t-pink: #B8467A;
  --t-mint: #17786F;
  --hot: #D9689A;
  --line: rgba(140, 105, 210, .16);
  --line-2: rgba(140, 105, 210, .26);
  --grad: linear-gradient(100deg, #A688F0, #EE8FB6 50%, #4CC3B7);
  --grad-frame: linear-gradient(135deg, rgba(166, 136, 240, .8), rgba(238, 143, 182, .5) 40%, rgba(76, 195, 183, .8));
  --pad: 48px;
  --rail: 88px;
  --top: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { max-width: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic UI', 'Yu Gothic', Meiryo, system-ui, sans-serif; font-size: 16px; line-height: 1.8;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--t-lav); text-decoration: none; transition: color .2s; }
a:hover { color: var(--t-pink); }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.35; }
p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }

/* ---------- type ---------- */
.mono { font-family: 'JetBrains Mono', monospace; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }
.lower { text-transform: none; }
.jost { font-family: 'Jost', sans-serif; }
.min { font-family: 'Shippori Mincho', serif; }
.it { font-family: 'Cormorant Garamond', serif; font-style: italic; }
.gt { background: linear-gradient(100deg, #6E4FC0, #D9689A 50%, #1F8C83); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* グラデーション文字は背景の範囲で切り抜かれるため、g・y などの下の出っ張りが切れないよう下に余白を足す(レイアウトは変えない) */
.gt { padding-bottom: .16em; margin-bottom: -.16em; }
.ol { color: transparent; -webkit-text-stroke: 1px rgba(123, 92, 196, .6); }
.muted { color: var(--muted); }
.pink { color: var(--t-pink); }
.mint { color: var(--t-mint); }
.tag-mint { color: var(--t-mint); font-family: 'JetBrains Mono', monospace; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }
.small { font-size: 13px; }
.center { text-align: center; }
.ok { color: var(--t-mint); }

/* ---------- shapes ---------- */
.cut { clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px); }
.cuts { clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.gb { background: var(--grad-frame); padding: 1px; display: block; }
.win { background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.grid-bg {
  background-image: linear-gradient(rgba(140, 105, 210, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 105, 210, .06) 1px, transparent 1px);
  background-size: 88px 88px;
}
.ph {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
  background:
    repeating-linear-gradient(0deg, rgba(140, 105, 210, .09) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(140, 105, 210, .09) 0 1px, transparent 1px 22px),
    linear-gradient(135deg, #F1E8FB, #FBE6EF 55%, #E3F5F2);
  color: var(--muted); font: 11px/1 'JetBrains Mono', monospace; letter-spacing: .12em;
}
.media-img { width: 100%; height: 100%; object-fit: cover; }
.winbar { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.bar { display: block; position: relative; height: 2px; background: rgba(140, 105, 210, .15); overflow: hidden; }
.bar__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, #A688F0, #EE8FB6, #4CC3B7); box-shadow: 0 0 8px var(--pink); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 36px; font-size: 15px; font-weight: 500; border: 0; cursor: pointer; white-space: nowrap; }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 13px; }
/* primary:ホログラム(縁だけが光り、中は半透明+走査線) */
.btn--primary {
  --hf: linear-gradient(110deg, #A688F0, #EE8FB6 50%, #4CC3B7);
  --hi: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(255, 240, 247, .55));
  --hs: rgba(217, 104, 154, .09); --hg: rgba(238, 143, 182, .35);
  position: relative; isolation: isolate; background: var(--hf); color: #9B3A69; letter-spacing: .08em;
  text-shadow: 0 0 10px rgba(238, 143, 182, .55); transition: color .3s, text-shadow .3s;
}
.btn--primary::before {
  content: ''; position: absolute; inset: 1px; z-index: -1; clip-path: inherit;
  background: repeating-linear-gradient(0deg, var(--hs) 0 1px, transparent 1px 3px), var(--hi);
  box-shadow: inset 0 0 22px var(--hg); transition: background .3s, box-shadow .3s;
}
.btn--primary:hover { color: #7E2753; text-shadow: 0 0 14px rgba(238, 143, 182, .9); }
.btn--primary:hover::before { box-shadow: inset 0 0 34px rgba(238, 143, 182, .6); }
.btn--primary.shine::after { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); }
.btn--ghost { padding: 1px; min-height: 0; }
.btn--ghost > .win { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 36px; color: var(--ink); width: 100%; }
.btn--ghost:hover > .win { background: rgba(255, 255, 255, .95); }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.icon-btn { width: 52px; height: 52px; border: 0; background: rgba(140, 105, 210, .14); color: var(--ink); font-size: 18px; cursor: pointer; }
.icon-btn--primary { background: linear-gradient(rgba(255, 255, 255, .7), rgba(255, 255, 255, .7)) padding-box, linear-gradient(110deg, #A688F0, #EE8FB6, #4CC3B7) border-box; border: 1px solid transparent; color: #9B3A69; box-shadow: inset 0 0 14px rgba(238, 143, 182, .35); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--center { justify-content: center; padding: 0 var(--pad); }
.chip { padding: 8px 14px; background: rgba(140, 105, 210, .1); color: #5B3FA8; font-size: 13px; line-height: 1.4; }
a.chip:hover { background: rgba(238, 143, 182, .18); color: var(--t-pink); }
.chip--mono { font-size: 10px; }

.shine { position: relative; overflow: hidden; }
.shine::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent); animation: sweep 3.6s ease-in-out infinite; pointer-events: none; }

/* ---------- layout: rail / topbar ---------- */
.app { display: flex; min-height: 100vh; }
.rail {
  position: sticky; top: 0; height: 100vh; width: var(--rail); flex-shrink: 0; z-index: 40;
  display: flex; flex-direction: column; align-items: center; gap: 36px; padding: 28px 0;
  background: var(--bg-rail); border-right: 1px solid var(--line);
}
.rail__logo { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
.rail__brand { writing-mode: vertical-rl; color: var(--ink); letter-spacing: .4em; font-size: 10px; }
.rail__nav { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.rail__item { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--muted); }
.rail__dot { width: 6px; height: 6px; border-radius: 3px; background: rgba(140, 105, 210, .35); transition: .3s; }
.rail__no { font-size: 10px; }
.rail__label { display: none; }
.rail__item.is-active, .rail__item:hover { color: var(--ink); }
.rail__item.is-active .rail__dot { background: var(--hot); box-shadow: 0 0 10px var(--pink); }
.rail__replay { width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--line-2); background: transparent; color: var(--t-lav); cursor: pointer; }
.rail__line { flex: 1; width: 1px; background: linear-gradient(180deg, rgba(140, 105, 210, .4), transparent 30%); }

.shell { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 30; height: var(--top); display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--pad); border-bottom: 1px solid var(--line); background: rgba(251, 244, 247, .78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.topbar__status { display: flex; gap: 28px; color: var(--muted); font-size: 10px; }
.topbar__nav { display: flex; align-items: center; gap: 32px; }
.topbar__menu { display: flex; gap: 28px; font-size: 11px; }
.topbar__menu a { color: var(--ink); }
.topbar__menu a:hover, .topbar__menu .current-menu-item a { color: var(--t-pink); }
.main { flex: 1; }

/* ---------- boot ---------- */
.boot { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: var(--bg); transition: opacity .8s ease, visibility .8s; }
.boot.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.boot__inner { width: min(520px, 86vw); display: flex; flex-direction: column; gap: 16px; }
.boot__row { display: flex; align-items: center; gap: 16px; }
.boot__pct { margin-left: auto; color: var(--t-mint); }
.boot__msg { text-transform: none; color: var(--muted); font-size: 10px; }
.boot .bar { height: 2px; }
.js-boot .boot { display: flex; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--line); cursor: crosshair;
  display: grid; grid-template-columns: minmax(0, 1fr) min(600px, 42vw) 110px; grid-template-rows: auto 1fr auto;
  min-height: clamp(720px, calc(100svh - var(--top)), 940px); padding: 56px var(--pad) 40px; column-gap: 24px;
}
.hero__glow { position: absolute; right: 12%; top: 8%; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(238, 143, 182, .22), rgba(166, 136, 240, .12) 45%, transparent 70%); pointer-events: none; }
.hero__follow { position: absolute; left: var(--mx, 70%); top: var(--my, 40%); width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; background: radial-gradient(circle, rgba(76, 195, 183, .18), rgba(166, 136, 240, .08) 45%, transparent 70%); pointer-events: none; transition: left .25s ease-out, top .25s ease-out; }
.hero__copy { grid-column: 1 / 3; grid-row: 1; position: relative; z-index: 2; display: flex; flex-direction: column; }
.hero__copy .tag-mint { margin-bottom: 20px; }
.hero__title { display: flex; flex-direction: column; font-weight: 300; }
.hero__l1, .hero__l2 { font-size: clamp(64px, 11vw, 176px); line-height: .92; letter-spacing: -.01em; }
.hero__l1 { font-weight: 200; }
.hero__vertical { grid-column: 3; grid-row: 1 / 3; justify-self: end; writing-mode: vertical-rl; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.7; letter-spacing: .22em; position: relative; z-index: 2; padding-left: 20px; margin-top: clamp(80px, 10vw, 150px); border-left: 1px solid transparent; border-image: linear-gradient(180deg, var(--lav), transparent) 1; }
.core { grid-column: 2; grid-row: 1 / 3; align-self: center; position: relative; width: 100%; aspect-ratio: 1; margin-top: -24px; }
.hero__status { grid-column: 2; grid-row: 3; align-self: end; display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 2; }
.hero__think { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 10px; min-height: 16px; }
.hero__think [data-think] { text-transform: none; letter-spacing: .1em; }
.hero__lead { grid-column: 1; grid-row: 3; align-self: end; position: relative; z-index: 3; max-width: 620px; display: flex; flex-direction: column; gap: 28px; }
.hero__lead p { color: var(--ink-2); line-height: 2; }
.hero__cursor { position: absolute; left: var(--mx); top: var(--my); width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid var(--hot); border-radius: 50%; display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 6; opacity: 0; transition: opacity .2s; }
.hero__cursor i { width: 3px; height: 3px; border-radius: 2px; background: var(--hot); }
.hero__coord { position: absolute; left: var(--mx); top: var(--my); margin: 24px 0 0 24px; font-size: 9px; color: var(--t-mint); text-transform: none; pointer-events: none; z-index: 6; opacity: 0; transition: opacity .2s; }
.hero.is-hover .hero__cursor, .hero.is-hover .hero__coord { opacity: 1; }
.hero__scroll { position: absolute; right: var(--pad); bottom: 20px; font-size: 10px; color: var(--muted); }
.scanline { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--mint) 30%, var(--pink) 70%, transparent); box-shadow: 0 0 10px rgba(76, 195, 183, .8); pointer-events: none; animation: scan 6s linear infinite; z-index: 4; }

/* core */
.core__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.core__ring svg { width: 100%; height: 100%; }
.core__orb { position: absolute; inset: 26%; border-radius: 50%; background: radial-gradient(circle, #fff 0%, rgba(255, 255, 255, .9) 30%, rgba(238, 143, 182, .45) 62%, rgba(166, 136, 240, 0) 100%); box-shadow: 0 0 60px rgba(238, 143, 182, .45); }
.vbox { position: absolute; left: 50%; top: 50%; width: 31%; transform: translate(-50%, -50%); container-type: inline-size; display: flex; flex-direction: column; z-index: 2; }
.vbox__screen { position: relative; display: flex; justify-content: center; gap: 7cqw; padding: 4cqw 8cqw; }
.voice__col { display: flex; flex-direction: column; gap: 1.4cqw; }
.voice__col i { display: block; width: 18cqw; height: 2.9cqw; border-radius: .6cqw; background: rgba(140, 105, 210, .12); transition: background .08s, box-shadow .08s; }
.voice__col i.dim { background: rgba(217, 104, 154, .35); }
.voice__col i.on { background: var(--hot); box-shadow: 0 0 2.4cqw rgba(238, 143, 182, .95); }
.vbox__btns { display: flex; flex-direction: column; gap: 3.6cqw; margin-top: 6cqw; }
.kbtn { --h: 238, 143, 182; position: relative; display: flex; align-items: center; justify-content: center; min-height: 15cqw; padding: 1.6cqw 4cqw; border-radius: 2cqw; font: 500 6.2cqw/1.05 'Jost', sans-serif; letter-spacing: .14em; text-transform: uppercase; text-align: center;
  color: rgba(var(--h), .95); text-shadow: 0 0 2cqw rgba(var(--h), .9);
  background: linear-gradient(180deg, rgba(var(--h), .22), rgba(var(--h), .06)), repeating-linear-gradient(0deg, rgba(var(--h), .16) 0 1px, transparent 1px 3px);
  border: 1px solid rgba(var(--h), .45); box-shadow: 0 0 4cqw rgba(var(--h), .25), inset 0 0 4cqw rgba(var(--h), .2);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: .72; animation: holo 5s steps(1) infinite; transition: opacity .4s; }
.kbtn::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 30%; border-radius: inherit; background: linear-gradient(180deg, rgba(255, 255, 255, .28), transparent); pointer-events: none; }
.kbtn::after { content: ''; position: absolute; left: -1px; right: -1px; top: 0; height: 2px; background: rgba(var(--h), .9); box-shadow: 0 0 2cqw rgba(var(--h), 1); opacity: .6; animation: holoscan 3.2s linear infinite; pointer-events: none; }
.kbtn:nth-child(2)::after { animation-delay: -1.1s; }
.kbtn:nth-child(3)::after { animation-delay: -2.2s; }
.kbtn:nth-child(2) { animation-delay: -1.7s; }
.kbtn:nth-child(3) { animation-delay: -3.3s; }
.kbtn.is-on { opacity: 1; box-shadow: 0 0 6cqw rgba(var(--h), .45), inset 0 0 5cqw rgba(var(--h), .3); }
.kbtn--a { --h: 217, 60, 110; }
.kbtn--n { --h: 176, 132, 52; }
.kbtn--p { --h: 110, 79, 192; }
.readout { position: absolute; display: flex; flex-direction: column; gap: 4px; font-size: 9px; color: var(--muted); z-index: 3; }
.readout b { font-weight: 400; font-size: 14px; color: var(--ink); letter-spacing: .2em; }
.readout em { font-style: normal; }
.readout--sync { left: -6%; top: -2%; padding-left: 10px; border-left: 1px solid var(--hot); }
.readout--mod { right: -8%; top: -4%; padding-right: 10px; border-right: 1px solid var(--mint); text-align: right; }
.readout--temp { left: -6%; bottom: 2%; padding-left: 10px; border-left: 1px solid var(--t-lav); }
.readout__bars { display: flex; gap: 2px; align-items: flex-end; height: 14px; }
.readout__bars i { width: 3px; height: 4px; background: var(--lav); transition: height .12s; }
.kitt { position: relative; height: 10px; border-radius: 5px; background: rgba(140, 105, 210, .12); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(140, 105, 210, .18); }
.kitt__light { position: absolute; left: 0; top: 0; width: 90px; height: 10px; border-radius: 5px; background: linear-gradient(90deg, transparent, var(--hot) 45%, var(--pink) 55%, transparent); box-shadow: 0 0 16px var(--pink); animation: kitt 1.4s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
.kitt__light--ghost { background: linear-gradient(90deg, transparent, rgba(217, 104, 154, .45), transparent); box-shadow: none; animation-delay: -.15s; }
.blinkdot { width: 7px; height: 7px; border-radius: 4px; background: var(--hot); box-shadow: 0 0 8px var(--pink); animation: blink 1s steps(1) infinite; }
.caret { display: inline-block; width: 7px; height: 12px; background: var(--pink); animation: blink 1s steps(1) infinite; }

/* ticker */
.ticker { height: 84px; display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ticker__track { display: flex; align-items: center; gap: 40px; padding-left: 40px; animation: marq 36s linear infinite; flex-shrink: 0; }
.ticker__w { font-size: 40px; font-weight: 300; letter-spacing: .08em; }
.ticker__star { color: var(--pink); font-size: 16px; }

/* ---------- sections ---------- */
.sec { padding: 120px var(--pad); border-top: 1px solid var(--line); }
.sec:first-child { border-top: 0; }
.sec--bleed { padding-left: 0; padding-right: 0; }
.sec--bleed > .sec-head { padding: 0 var(--pad); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.sec-head--sm { margin-bottom: 24px; justify-content: flex-start; align-items: baseline; }
.sec-head__txt { display: flex; flex-direction: column; gap: 10px; }
.sec-head__en { font-size: clamp(52px, 7vw, 96px); font-weight: 200; line-height: 1; }
.sec-head--sm .sec-head__en { font-size: 56px; }
.sec-head__ja { font-size: 20px; letter-spacing: .2em; line-height: 1.8; }
.sec--split { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 40px; align-items: start; }
.split__head { display: flex; flex-direction: column; gap: 10px; }
.empty { color: var(--muted); padding: 24px var(--pad); text-transform: none; }

/* orbit */
.orbit-wrap { display: flex; gap: 48px; align-items: center; }
.orbit-wrap > * { min-width: 0; }
.orbit { --r: 260px; --n: 96px; position: relative; width: 640px; aspect-ratio: 1; flex-shrink: 0; }
.orbit__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit__dial { position: absolute; inset: 11.25%; }
.orbit__dial svg { width: 100%; height: 100%; }
.orbit__halo { position: absolute; inset: 35.9%; border-radius: 50%; background: radial-gradient(circle, rgba(238, 143, 182, .25), transparent 70%); }
.orbit__center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.orbit__center .jost { font-size: 48px; font-weight: 200; line-height: 1; }
.orbit__center .mono { font-size: 10px; }
.orbit__node {
  --a: calc(var(--i) * (360deg / var(--count, 7)) - 90deg);
  position: absolute; left: 50%; top: 50%; width: var(--n); height: var(--n); margin: calc(var(--n) / -2) 0 0 calc(var(--n) / -2);
  transform: rotate(var(--a)) translate(var(--r)) rotate(calc(-1 * var(--a)));
  border-radius: 50%; border: 1px solid rgba(140, 105, 210, .35); background: #fff; color: #5B3FA8;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 11px; cursor: pointer; transition: background .3s, box-shadow .3s, color .3s;
}
.orbit__node:hover { box-shadow: 0 0 24px rgba(238, 143, 182, .35); }
.orbit__node.is-on { background: linear-gradient(135deg, #A688F0, #EE8FB6 55%, #4CC3B7); color: var(--ink); border-color: transparent; box-shadow: 0 0 36px rgba(238, 143, 182, .6); }
.orbit__pulse { position: absolute; inset: -2px; border-radius: 50%; border: 1px solid var(--pink); opacity: 0; }
.orbit__node.is-on .orbit__pulse { animation: pulse 2s ease-out infinite; }
.panel { flex: 1; min-width: 0; }
.panel__in { padding: 40px; display: flex; flex-direction: column; gap: 22px; min-height: 480px; }
.panel__title { font-size: 40px; letter-spacing: .04em; }
.panel__desc { color: var(--ink-2); line-height: 2; }
.panel__links { margin-top: auto; display: flex; gap: 24px; flex-wrap: wrap; }
.panel [data-svc] { transition: opacity .25s; }
.panel.is-swap [data-svc] { opacity: 0; }

/* carousel */
.car-ctrl { display: flex; gap: 10px; align-items: center; }
.car-ctrl__meta { display: flex; flex-direction: column; gap: 6px; width: 120px; margin-right: 12px; }
.carousel { position: relative; height: 470px; perspective: 1600px; margin-bottom: 40px; }
.carousel__item { position: absolute; left: 50%; top: 40px; width: min(560px, 70vw); margin-left: calc(min(560px, 70vw) / -2); display: flex; flex-direction: column; gap: 14px; color: var(--ink); transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .6s; will-change: transform; }
.carousel__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #fff; }
.carousel__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.carousel__title { font-size: 18px; font-weight: 500; }
.carousel__meta .mono { font-size: 10px; flex-shrink: 0; }

/* products */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.products > .gb { display: flex; }
.term { display: flex; flex-direction: column; width: 100%; }
.term__bar { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.term__bar i { width: 8px; height: 8px; border-radius: 4px; background: var(--pink); }
.term__bar i:nth-child(2) { background: var(--lav); }
.term__bar i:nth-child(3) { background: var(--mint); }
.term__bar .mono { margin-left: 12px; font-size: 10px; color: var(--muted); text-transform: none; }
.term__body { padding: 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.badge { align-self: flex-start; padding: 6px 12px; background: rgba(230, 120, 165, .14); color: var(--t-pink); font-size: 10px; }
.term__title { font-size: 24px; }
.term__title a { color: var(--ink); }
.term__desc { color: var(--ink-2); font-size: 14px; line-height: 1.9; }
.term__cta { margin-top: auto; }

/* flow */
.seq { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 40px; }
.seq::before { content: ''; position: absolute; left: 0; right: 0; top: 8px; height: 1px; background: var(--grad); box-shadow: 0 0 12px rgba(166, 136, 240, .6); }
.seq__step { position: relative; display: flex; flex-direction: column; gap: 12px; }
.seq__node { position: absolute; left: 0; top: -39px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 1px solid var(--pink); box-shadow: 0 0 12px rgba(230, 120, 165, .7); }
.seq__title { font-size: 22px; }
.seq__desc { color: var(--ink-2); font-size: 14px; line-height: 1.9; }

/* log */
.log { padding: 12px 32px; }
.log__row { display: flex; gap: 28px; align-items: center; padding: 22px 0; border-bottom: 1px solid rgba(140, 105, 210, .12); color: var(--ink); font-size: 12px; text-transform: none; }
.log__row:last-child { border-bottom: 0; }
.log__cat { width: 90px; flex-shrink: 0; }
.log__t { font-family: inherit; font-size: 15px; letter-spacing: .02em; }
.log__arrow { margin-left: auto; }
a.log__row:hover .log__t { color: var(--t-pink); }

/* cta */
.cta { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 36px; text-align: center; }
.cta__glow { position: absolute; left: 50%; top: 40px; width: 600px; height: 600px; margin-left: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(166, 136, 240, .2), transparent 65%); pointer-events: none; }
.cta > *:not(.cta__glow) { position: relative; }
.cta__big { font-size: clamp(56px, 11vw, 150px); font-weight: 200; line-height: 1; }
.cta__ja { font-size: 24px; letter-spacing: .2em; }
.cta__form { width: min(820px, 100%); display: flex; flex-direction: column; gap: 14px; text-align: left; }
.cta__field { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 24px; }
.cta__field input { flex: 1; min-width: 0; height: 56px; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 16px; }
.cta-mini { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-mini__t { font-size: 26px; letter-spacing: .14em; margin-top: 10px; }

/* footer */
.footer { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 32px; padding: 56px var(--pad); background: var(--bg-foot); border-top: 1px solid var(--line); }
.footer__brand { display: flex; flex-direction: column; gap: 8px; }
.footer__logo { font-size: 22px; letter-spacing: .4em; font-weight: 300; }
.footer__brand .it { color: var(--muted); font-size: 16px; }
.footer__note { color: var(--muted); font-size: 13px; }
.footer__menu { display: flex; flex-wrap: wrap; gap: 24px; font-size: 10px; }
.footer__menu a { color: var(--t-lav); }
.footer__menu .jp, .footer__menu a[href*="privacy"] { text-transform: none; }
.footer__partners { display: flex; flex-direction: column; gap: 10px; }
.footer__label { font-size: 10px; letter-spacing: .14em; color: var(--muted); }
.footer__plist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.footer__plist a { color: var(--ink-2); }
.footer__plist a:hover { color: var(--t-pink); }
.footer__plist .mono { font-size: 10px; color: var(--t-lav); }
.footer__copy { width: 100%; color: var(--muted); font-size: 10px; }

/* ---------- works library ---------- */
.lib-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 48px var(--pad) 20px; }
.lib-head__title { display: flex; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.lib-head .sec-head__en { font-size: clamp(56px, 7vw, 88px); }
.spot { margin: 0 var(--pad); }
.spot__in { position: relative; height: clamp(360px, 40vw, 540px); overflow: hidden; background: #fff; }
.spot__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.spot__slide.is-on { opacity: 1; visibility: visible; }
.spot__media { position: absolute; inset: 0; }
.spot__shade { position: absolute; left: 0; top: 0; bottom: 0; width: min(720px, 70%); background: linear-gradient(90deg, rgba(251, 244, 247, .96), rgba(251, 244, 247, .75) 60%, transparent); }
.spot__txt { position: absolute; left: 48px; top: 50%; transform: translateY(-50%); width: min(560px, 60%); display: flex; flex-direction: column; gap: 18px; }
.spot__title { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.3; letter-spacing: .02em; }
.spot__desc { color: var(--ink-2); line-height: 2; }
.spot__queue { position: absolute; right: 28px; bottom: 28px; display: flex; gap: 10px; z-index: 3; }
.spot__q { width: 72px; display: flex; flex-direction: column; gap: 6px; padding: 8px 0 0; border: 0; background: transparent; cursor: pointer; color: var(--muted); text-align: left; opacity: .6; transition: opacity .3s; }
.spot__q.is-on { opacity: 1; color: var(--ink); }
.lib { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 32px; align-items: start; padding: 56px var(--pad) 0; }
.lib > *, .w-body > *, .sec--split > *, .contact > * { min-width: 0; }
.lib__filter { position: sticky; top: calc(var(--top) + 24px); }
.filter { padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.filter__search { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; margin-bottom: 10px; border: 1px solid var(--line-2); color: var(--muted); }
.filter__search input { border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 13px; width: 100%; }
.filter__list { display: flex; flex-direction: column; }
.filter__btn { height: 44px; padding: 0 12px; border: 0; border-left: 2px solid transparent; background: transparent; color: var(--ink-2); display: flex; align-items: center; justify-content: space-between; font-size: 14px; cursor: pointer; text-align: left; transition: .2s; }
.filter__btn:hover { background: rgba(140, 105, 210, .06); }
.filter__btn.is-on { background: rgba(140, 105, 210, .12); border-left-color: var(--hot); color: var(--ink); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: var(--row, 200px); grid-auto-flow: dense; gap: 16px; }
.tile { position: relative; display: block; color: var(--ink); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--s, 1)); transition: transform .18s ease-out; }
.tile.is-hidden { display: none; }
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 2; }
.tile__frame { position: absolute; inset: 0; padding: 1px; background: rgba(140, 105, 210, .18); transition: background .3s, box-shadow .3s; }
.tile__media { display: block; width: 100%; height: 100%; overflow: hidden; background: #fff; }
.tile__glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .6), transparent 55%); opacity: 0; transition: opacity .2s; }
.tile__meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; background: linear-gradient(0deg, rgba(251, 244, 247, .95), transparent); }
.tile__meta .mono { font-size: 9px; }
.tile__title { font-size: 14px; font-weight: 500; line-height: 1.5; }
.tile__badge { position: absolute; right: 14px; top: 14px; padding: 6px 10px; background: var(--grad); color: var(--ink); font-size: 9px; opacity: 0; transition: opacity .2s; }
.tile:hover .tile__frame, .tile:focus-visible .tile__frame, .tile.is-hot .tile__frame { background: var(--grad); box-shadow: 0 0 40px rgba(238, 143, 182, .35); }
.tile:hover .tile__badge, .tile.is-hot .tile__badge { opacity: 1; }
.tile:hover .tile__glare { opacity: 1; }
.tile:hover { --s: 1.03; }

/* ---------- single work ---------- */
.w-hero { position: relative; height: clamp(420px, 52vw, 720px); overflow: hidden; }
.w-hero__media { position: absolute; inset: 0; }
.w-hero__shade { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(0deg, var(--bg), rgba(251, 244, 247, .6) 55%, transparent); pointer-events: none; }
.w-hero__crumb { position: absolute; left: var(--pad); top: 28px; display: flex; gap: 12px; flex-wrap: wrap; font-size: 10px; color: var(--ink-2); z-index: 3; text-transform: none; background: rgba(255, 255, 255, .7); padding: 6px 12px; }
.w-hero__title { position: absolute; left: var(--pad); right: 460px; bottom: 48px; display: flex; flex-direction: column; gap: 10px; z-index: 3; pointer-events: none; }
.w-hero__title h1 { font-size: clamp(32px, 4.4vw, 64px); letter-spacing: .04em; line-height: 1.2; }
.w-hero__en { font-size: clamp(40px, 5vw, 72px); font-weight: 200; line-height: 1; }
.lite-embed { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; }
.lite-embed img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.lite-embed__play, .lite-embed__ripple { position: absolute; left: 50%; top: 42%; width: 100px; height: 100px; margin: -50px 0 0 -50px; border-radius: 50%; }
.lite-embed__play { display: flex; align-items: center; justify-content: center; border: 1px solid rgba(238, 143, 182, .9); background: rgba(251, 244, 247, .6); color: var(--t-pink); font-size: 26px; box-shadow: 0 0 40px rgba(238, 143, 182, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lite-embed__ripple { border: 1px solid var(--pink); animation: pulse 2s ease-out infinite; }
.lite-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.w-hero.is-playing .w-hero__shade, .w-hero.is-playing .w-hero__title, .w-hero.is-playing .scanline { display: none; }
.w-body { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; padding: 0 var(--pad); }
.w-body__main { display: flex; flex-direction: column; gap: 56px; padding-top: 48px; }
.w-block { display: flex; flex-direction: column; gap: 16px; }
.w-overview { font-size: 22px; line-height: 2; letter-spacing: .08em; }
.spec { margin-top: -140px; position: relative; z-index: 4; box-shadow: 0 0 60px rgba(166, 136, 240, .2); }
.spec__in { padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.spec__dl { margin: 0; display: grid; grid-template-columns: 100px 1fr; row-gap: 14px; font-size: 14px; }
.spec__dl dt { font-size: 10px; color: var(--muted); line-height: 24px; }
.spec__dl dd { margin: 0; }
.clog { display: flex; flex-direction: column; }
.clog__item { position: relative; padding: 0 0 40px 44px; display: flex; flex-direction: column; gap: 10px; }
.clog__item::before { content: ''; position: absolute; left: 7px; top: 14px; bottom: 0; width: 1px; background: linear-gradient(180deg, var(--lav), rgba(140, 105, 210, .1)); }
.clog__item:last-child::before { display: none; }
.clog__node { position: absolute; left: 1px; top: 4px; width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--pink); box-shadow: 0 0 10px rgba(238, 143, 182, .7); background: var(--bg); }
.clog__t { font-size: 20px; }
.clog__d { color: var(--ink-2); font-size: 14px; line-height: 1.9; }
.rel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rel__item { display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.rel__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.rel__t { font-size: 14px; font-weight: 500; }

/* ---------- pages / prose / forms ---------- */
.page-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; }
.article { max-width: 920px; }
.article__title { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: .04em; }
.article__media { margin-bottom: 40px; }
.article__nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 11px; text-transform: none; }
.prose { max-width: 760px; color: var(--ink); }
.prose > * + * { margin-top: 1.4em; }
.prose h2 { font-size: 26px; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); margin-top: 2.2em; }
.prose h3 { font-size: 20px; margin-top: 1.8em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 1.4em; }
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose img { height: auto; }
.prose blockquote { margin: 0; padding: 16px 24px; border-left: 2px solid var(--pink); background: rgba(255, 255, 255, .6); }
.pager { margin-top: 32px; display: flex; gap: 12px; }
.pager .page-numbers { padding: 6px 12px; border: 1px solid var(--line-2); }
.pager .current { background: var(--grad); border-color: transparent; color: var(--ink); }

.contact { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 40px; align-items: start; }
.contact__head { display: flex; flex-direction: column; gap: 14px; }
.contact__head p.muted { line-height: 2; font-size: 14px; }
.contact__echo .win { padding: 12px 16px; font-size: 11px; color: var(--t-mint); }
.contact__form { padding: 40px; max-width: none; }
.contact__form input[type="text"], .contact__form input[type="email"], .contact__form input[type="tel"], .contact__form input[type="url"], .contact__form select, .contact__form textarea,
.prose input[type="text"], .prose input[type="email"], .prose textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .9); color: var(--ink); font: inherit; border-radius: 0; transition: border-color .2s, box-shadow .2s;
}
.contact__form input:focus, .contact__form textarea:focus, .contact__form select:focus { outline: 0; border-color: var(--hot); box-shadow: 0 0 0 3px rgba(238, 143, 182, .2); }
.contact__form label { display: block; font-size: 14px; }
.contact__form input[type="submit"], .contact__form button[type="submit"] {
  min-height: 56px; padding: 0 40px; border: 1px solid transparent; font: inherit; font-weight: 500; letter-spacing: .08em; cursor: pointer;
  background: repeating-linear-gradient(0deg, rgba(217, 104, 154, .09) 0 1px, transparent 1px 3px) padding-box, linear-gradient(180deg, rgba(255, 255, 255, .8), rgba(255, 240, 247, .6)) padding-box, linear-gradient(110deg, #A688F0, #EE8FB6 50%, #4CC3B7) border-box;
  color: #9B3A69; text-shadow: 0 0 10px rgba(238, 143, 182, .55); box-shadow: inset 0 0 22px rgba(238, 143, 182, .35);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
/* Turnstile のチェック欄を送信ボタンの直前へ(並び順だけ変更) */
.contact__form .wpcf7-form { display: flex; flex-direction: column; }
.contact__form .wpcf7-form > * { margin-top: 0; margin-bottom: 1.4em; }
.contact__form .wpcf7-turnstile { order: 90; }
.contact__form .wpcf7-form > p:has(.wpcf7-submit) { order: 95; }
.contact__form .wpcf7-response-output { order: 100; }
.wpcf7-not-valid-tip { color: var(--t-pink); font-size: 13px; }
.wpcf7 form .wpcf7-response-output { margin: 24px 0 0; padding: 12px 16px; border: 1px solid var(--line-2); }

.notfound { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; text-align: center; }
.notfound__code { font-size: clamp(120px, 20vw, 260px); font-weight: 200; line-height: 1; }
.notfound h1 { font-size: 22px; letter-spacing: .12em; }

/* ---------- reveal / decode ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.gl:hover { animation: glitch .35s steps(2) 2; }

/* ---------- animations ---------- */
.spin { animation: spin var(--dur, 40s) linear infinite; }
.spin.rev { animation-direction: reverse; }
.think { animation: think var(--dur, 3s) linear infinite; }
.think.rev { animation-direction: reverse; }
.breath { animation: breath 5s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes holo { 0%, 100% { filter: none; transform: none; } 61% { filter: brightness(1.6); transform: translateX(.4cqw); } 62% { filter: none; transform: none; } 88% { filter: brightness(.55); } 89% { filter: none; } }
@keyframes holoscan { 0% { top: 0; opacity: 0; } 10% { opacity: .7; } 90% { opacity: .7; } 100% { top: calc(100% - 2px); opacity: 0; } }
@keyframes think { to { stroke-dashoffset: calc(-1px * var(--c, 1169)); } }
@keyframes breath { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes kitt { from { left: 0; } to { left: calc(100% - 90px); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.45); opacity: 0; } }
@keyframes scan { 0% { top: 0; opacity: 0; } 8%, 92% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes marq { to { transform: translateX(-50%); } }
@keyframes sweep { 0% { left: -60%; } 55%, 100% { left: 130%; } }
@keyframes glitch { 0% { text-shadow: 3px 0 var(--pink), -3px 0 var(--mint); transform: translateX(2px); } 100% { text-shadow: -3px 0 var(--pink), 3px 0 var(--mint); transform: translateX(-2px); } }

/* ---------- responsive ---------- */
/* ---------- service pages (v0.2.0) ---------- */
.s-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) min(440px, 36vw); gap: 48px; align-items: center; padding: 96px var(--pad) 88px; border-bottom: 1px solid var(--line); }
.s-hero--index { grid-template-columns: 1fr; padding-bottom: 72px; }
.s-hero__glow { position: absolute; right: 6%; top: -10%; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(238, 143, 182, .24), rgba(166, 136, 240, .12) 45%, transparent 70%); pointer-events: none; }
.s-hero__crumb { position: absolute; left: var(--pad); top: 28px; display: flex; gap: 12px; flex-wrap: wrap; font-size: 10px; color: var(--ink-2); text-transform: none; z-index: 3; }
.s-hero__crumb a { color: var(--ink-2); }
.s-hero__copy { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.s-hero__ja { font-size: clamp(36px, 4.6vw, 64px); letter-spacing: .12em; line-height: 1.2; }
.s-hero__en { font-size: clamp(44px, 6vw, 96px); font-weight: 200; line-height: 1; margin-top: -6px; }
.s-hero__lead { font-size: clamp(20px, 2vw, 26px); letter-spacing: .14em; line-height: 1.8; }
.s-hero__intro { color: var(--ink-2); line-height: 2; max-width: 620px; }
.s-hero .btn-row { margin-top: 8px; }
.s-emblem { position: relative; width: 100%; aspect-ratio: 1; }
.s-emblem__dial, .s-emblem__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.s-emblem__dial svg { width: 100%; height: 100%; }
.s-emblem__halo { position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle, rgba(238, 143, 182, .35), transparent 70%); }
.s-emblem__core { position: absolute; inset: 30%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: rgba(255, 255, 255, .85); border: 1px solid var(--line-2); color: var(--t-lav); box-shadow: 0 0 60px rgba(238, 143, 182, .35); }
.s-emblem__no { font-size: 40px; font-weight: 200; line-height: 1; }

.issues { padding: 28px 32px; }
.issues__row { display: flex; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px dashed var(--line-2); font-size: 16px; }
.issues__row .mono { flex-shrink: 0; font-size: 10px; }
.issues__fix { margin-top: 20px; font-size: 12px; display: flex; align-items: center; gap: 8px; }

.solve { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.solve__item { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 32px 28px 28px; border-top: 1px solid transparent; border-image: var(--grad) 1; background: linear-gradient(180deg, rgba(255, 255, 255, .6), transparent); }
.solve__t { font-size: 22px; letter-spacing: .04em; }
.solve__d { color: var(--ink-2); font-size: 15px; line-height: 1.95; }

.menu-list { display: flex; flex-direction: column; }
.menu-list__row { display: grid; grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.menu-list__row:first-child { border-top: 1px solid var(--line); }
.menu-list__t { font-size: 18px; font-weight: 500; }
.menu-list__d { font-size: 14px; }

.faq { display: flex; flex-direction: column; gap: 14px; }
.faq__item { display: block; }
.faq__q { display: flex; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 500; }
.faq__q::-webkit-details-marker { display: none; }
.faq__pm { position: relative; margin-left: auto; width: 14px; height: 14px; flex-shrink: 0; }
.faq__pm::before, .faq__pm::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 1px; background: var(--hot); transition: transform .3s; }
.faq__pm::after { transform: rotate(90deg); }
.faq__item[open] .faq__pm::after { transform: rotate(0); }
.faq__a { display: flex; gap: 16px; padding: 0 24px 22px; margin-top: -1px; color: var(--ink-2); line-height: 1.95; }
.faq__a .mono { padding-top: 5px; }
.faq__item[open] .faq__q { clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%, 0 18px); }
.faq__item[open] .faq__a { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); }

.svc-nav { display: flex; flex-direction: column; gap: 20px; padding-top: 64px; padding-bottom: 80px; }
.svc-nav__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.svc-nav__item { background: rgba(140, 105, 210, .2); }
.svc-nav__item.is-on, .svc-nav__item:hover { background: var(--grad-frame); }
.svc-nav__in { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: var(--ink); font-size: 14px; }
.svc-nav__in svg { color: var(--t-lav); flex-shrink: 0; }
.svc-nav__item.is-on .svc-nav__in { background: rgba(255, 255, 255, .95); }

.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.svc-card { display: flex; transition: transform .3s, box-shadow .3s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(166, 136, 240, .25); }
.svc-card__in { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; width: 100%; color: var(--ink); }
.svc-card__top { display: flex; justify-content: space-between; align-items: center; color: var(--t-lav); }
.svc-card__no { font-size: 36px; font-weight: 200; line-height: 1; }
.svc-card__t { font-size: 22px; font-weight: 500; letter-spacing: .06em; }
.svc-card__d { color: var(--ink-2); font-size: 14px; line-height: 1.9; }
.svc-card__go { margin-top: auto; padding-top: 8px; color: var(--t-pink); }

/* movie: formats / channels / screen */
.kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.kind { display: flex; }
.kind__in { display: flex; flex-direction: column; gap: 10px; padding: 32px 28px; width: 100%; }
.kind__no { font-size: 48px; font-weight: 200; line-height: 1; }
.kind__t { font-size: 20px; }
.kind__d { color: var(--ink-2); font-size: 14px; line-height: 1.9; }
.shelf__t { margin: 8px 0 16px; color: var(--muted); }
.tiles--shelf { margin-bottom: 40px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.reel { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(150px, 15vw, 210px); gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.reel .tile { aspect-ratio: 9 / 16; scroll-snap-align: start; }
.screen { display: flex; flex-direction: column; gap: 16px; max-width: 1120px; margin: 0 auto; }
.screen__frame { box-shadow: 0 0 120px rgba(194, 51, 79, .25), 0 0 60px rgba(201, 162, 94, .18); }
.screen__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.screen__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.screen__title { font-size: 18px; color: var(--ink); }


/* about */
.name-rows { display: flex; flex-direction: column; }
.name-row { display: grid; grid-template-columns: minmax(0, 260px) 120px minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.name-row:first-child { border-top: 1px solid var(--line); }
.name-row__w { font-size: clamp(32px, 3.6vw, 48px); font-weight: 200; line-height: 1.1; }
.name-row p { color: var(--ink-2); line-height: 1.9; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stat { display: flex; }
.stat__in { display: flex; flex-direction: column; gap: 8px; padding: 32px 28px; width: 100%; }
.stat__n { font-size: clamp(56px, 6vw, 88px); font-weight: 200; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__l { color: var(--ink-2); font-size: 14px; }
.profile { margin: 0; padding: 12px 32px; }
.profile__row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.profile__row:last-child { border-bottom: 0; }
.profile dd { margin: 0; line-height: 1.9; }
.profile dt { padding-top: 4px; }




/* インジケーターのモード:kitt(3列・赤)/ classic(初期KITT・一枚パネル)/ karr(黄・左右は端から光る) */
.kbtn { cursor: pointer; border-style: solid; }
.vbox__mono { display: none; }
.vbox[data-vmode="classic"] .voice__col { visibility: hidden; }
.vbox[data-vmode="classic"] .vbox__mono { --lv: .3; display: block; position: absolute; left: 50%; top: 50%; width: 62cqw; height: 74cqw; transform: translate(-50%, -50%); border-radius: 1.6cqw;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .14) 0 1px, transparent 1px 3px), linear-gradient(180deg, #FF6F8F, #E23A5C);
  opacity: calc(.2 + var(--lv) * .8); box-shadow: 0 0 calc(var(--lv) * 10cqw) rgba(238, 80, 120, calc(var(--lv) * .9)); transition: opacity .07s linear, box-shadow .07s linear; }
.vbox[data-vmode="karr"] .voice__col i { background: rgba(214, 160, 20, .14); }
.vbox[data-vmode="karr"] .voice__col i.dim { background: rgba(214, 160, 20, .4); }
.vbox[data-vmode="karr"] .voice__col i.on { background: #D9A400; box-shadow: 0 0 2.4cqw rgba(240, 190, 40, .95); }
.theater .vbox[data-vmode="classic"] .vbox__mono { background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px), linear-gradient(180deg, #FF3B3B, #D80F1E); box-shadow: 0 0 calc(var(--lv) * 12cqw) rgba(255, 40, 40, calc(var(--lv) * .95)); }
.theater .vbox[data-vmode="karr"] .voice__col i { background: rgba(255, 210, 40, .1); }
.theater .vbox[data-vmode="karr"] .voice__col i.dim { background: rgba(255, 210, 40, .38); }
.theater .vbox[data-vmode="karr"] .voice__col i.on { background: #FFD83A; box-shadow: 0 0 2.2cqw #FFD83A, 0 0 5cqw rgba(255, 200, 40, .6); }


/* ボタンを押したときのリアクション */
.kbtn { transition: opacity .4s, box-shadow .4s, transform .12s; }
.kbtn:active { transform: scale(.95); }
.kbtn.is-press { animation: kpress .7s cubic-bezier(.2, .8, .2, 1); }
.kbtn.is-press::after { animation: kscan .45s linear; opacity: 1; height: 3px; }
@keyframes kpress {
  0% { transform: scale(.93); filter: brightness(2.4) saturate(1.4); box-shadow: 0 0 0 0 rgba(var(--h), .9), inset 0 0 8cqw rgba(var(--h), .8); }
  18% { transform: scale(1.04) translateX(.6cqw); filter: brightness(1.8); }
  26% { transform: scale(1.02) translateX(-.6cqw); }
  34% { transform: scale(1.01); }
  100% { transform: none; filter: none; box-shadow: 0 0 0 4cqw rgba(var(--h), 0), inset 0 0 5cqw rgba(var(--h), .3); }
}
@keyframes kscan { 0% { top: 0; } 100% { top: calc(100% - 3px); } }

/* logo: KITT voice mark */
.logo-kitt__off { fill: rgba(140, 105, 210, .16); }
.logo-kitt__on { fill: var(--hot); filter: drop-shadow(0 0 1.2px rgba(238, 143, 182, .9)); }
.logo-kitt__on rect { opacity: 0; }
/* 静止時:中央は上下3段ずつ、左右は上下1段ずつ点灯 */
.logo-kitt__on .kc0, .logo-kitt__on .kc1, .logo-kitt__on .kc2, .logo-kitt__on .kc3, .logo-kitt__on .ks0, .logo-kitt__on .ks1 { opacity: 1; }
@keyframes kc0 { 0% { opacity: 1; } 10% { opacity: 1; } 20% { opacity: 1; } 30% { opacity: 1; } 40% { opacity: 1; } 50% { opacity: 1; } 60% { opacity: 1; } 70% { opacity: 1; } 80% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 1; } }
@keyframes ks0 { 0% { opacity: 1; } 10% { opacity: 1; } 20% { opacity: 1; } 30% { opacity: 0; } 40% { opacity: 1; } 50% { opacity: 1; } 60% { opacity: 1; } 70% { opacity: 1; } 80% { opacity: 0; } 90% { opacity: 1; } 100% { opacity: 1; } }
.logo-live .logo-kitt__on .kc0, .rail__logo:hover .logo-kitt__on .kc0 { animation: kc0 1.1s steps(1) infinite; }
.logo-live .logo-kitt__on .ks0, .rail__logo:hover .logo-kitt__on .ks0 { animation: ks0 1.1s steps(1) infinite; }
@keyframes kc1 { 0% { opacity: 1; } 10% { opacity: 1; } 20% { opacity: 1; } 30% { opacity: 1; } 40% { opacity: 1; } 50% { opacity: 1; } 60% { opacity: 1; } 70% { opacity: 1; } 80% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 1; } }
@keyframes ks1 { 0% { opacity: 0; } 10% { opacity: 1; } 20% { opacity: 1; } 30% { opacity: 0; } 40% { opacity: 1; } 50% { opacity: 0; } 60% { opacity: 1; } 70% { opacity: 1; } 80% { opacity: 0; } 90% { opacity: 1; } 100% { opacity: 0; } }
.logo-live .logo-kitt__on .kc1, .rail__logo:hover .logo-kitt__on .kc1 { animation: kc1 1.1s steps(1) infinite; }
.logo-live .logo-kitt__on .ks1, .rail__logo:hover .logo-kitt__on .ks1 { animation: ks1 1.1s steps(1) infinite; }
@keyframes kc2 { 0% { opacity: 1; } 10% { opacity: 1; } 20% { opacity: 1; } 30% { opacity: 0; } 40% { opacity: 1; } 50% { opacity: 1; } 60% { opacity: 1; } 70% { opacity: 1; } 80% { opacity: 0; } 90% { opacity: 1; } 100% { opacity: 1; } }
@keyframes ks2 { 0% { opacity: 0; } 10% { opacity: 1; } 20% { opacity: 0; } 30% { opacity: 0; } 40% { opacity: 1; } 50% { opacity: 0; } 60% { opacity: 0; } 70% { opacity: 1; } 80% { opacity: 0; } 90% { opacity: 0; } 100% { opacity: 0; } }
.logo-live .logo-kitt__on .kc2, .rail__logo:hover .logo-kitt__on .kc2 { animation: kc2 1.1s steps(1) infinite; }
.logo-live .logo-kitt__on .ks2, .rail__logo:hover .logo-kitt__on .ks2 { animation: ks2 1.1s steps(1) infinite; }
@keyframes kc3 { 0% { opacity: 0; } 10% { opacity: 1; } 20% { opacity: 1; } 30% { opacity: 0; } 40% { opacity: 1; } 50% { opacity: 0; } 60% { opacity: 1; } 70% { opacity: 1; } 80% { opacity: 0; } 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ks3 { 0% { opacity: 0; } 10% { opacity: 0; } 20% { opacity: 0; } 30% { opacity: 0; } 40% { opacity: 0; } 50% { opacity: 0; } 60% { opacity: 0; } 70% { opacity: 0; } 80% { opacity: 0; } 90% { opacity: 0; } 100% { opacity: 0; } }
.logo-live .logo-kitt__on .kc3, .rail__logo:hover .logo-kitt__on .kc3 { animation: kc3 1.1s steps(1) infinite; }
.logo-live .logo-kitt__on .ks3, .rail__logo:hover .logo-kitt__on .ks3 { animation: ks3 1.1s steps(1) infinite; }
@keyframes kc4 { 0% { opacity: 0; } 10% { opacity: 1; } 20% { opacity: 0; } 30% { opacity: 0; } 40% { opacity: 1; } 50% { opacity: 0; } 60% { opacity: 0; } 70% { opacity: 1; } 80% { opacity: 0; } 90% { opacity: 0; } 100% { opacity: 0; } }
@keyframes ks4 { 0% { opacity: 0; } 10% { opacity: 0; } 20% { opacity: 0; } 30% { opacity: 0; } 40% { opacity: 0; } 50% { opacity: 0; } 60% { opacity: 0; } 70% { opacity: 0; } 80% { opacity: 0; } 90% { opacity: 0; } 100% { opacity: 0; } }
.logo-live .logo-kitt__on .kc4, .rail__logo:hover .logo-kitt__on .kc4 { animation: kc4 1.1s steps(1) infinite; }
.logo-live .logo-kitt__on .ks4, .rail__logo:hover .logo-kitt__on .ks4 { animation: ks4 1.1s steps(1) infinite; }
.theater .logo-kitt__off { fill: rgba(255, 40, 60, .14); }
.theater .logo-kitt__on { fill: #FF2E43; filter: drop-shadow(0 0 1.4px #FF2E43); }


/* 製品の「準備中」タグ:斜めストライプが流れるホログラム調 */
.soon { --sc: 217, 104, 154; position: relative; align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; overflow: hidden;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  background: repeating-linear-gradient(-45deg, rgba(var(--sc), .16) 0 6px, rgba(var(--sc), .05) 6px 12px); background-size: 16.97px 16.97px;
  box-shadow: inset 0 0 0 1px rgba(var(--sc), .55), inset 0 0 18px rgba(var(--sc), .25); animation: soonflow 1.6s linear infinite; }
.soon__dot { width: 9px; height: 9px; border-radius: 50%; background: rgb(var(--sc)); box-shadow: 0 0 8px rgb(var(--sc)); animation: blink 1.2s steps(1) infinite; }
.soon__ja { font-weight: 700; font-size: 16px; letter-spacing: .28em; color: rgb(var(--sc)); text-shadow: 0 0 10px rgba(var(--sc), .6); }
.soon__en { font-size: 10px; letter-spacing: .22em; color: rgb(var(--sc)); opacity: .9; padding-left: 12px; border-left: 1px solid rgba(var(--sc), .4); }
@keyframes soonflow { to { background-position: 16.97px 0; } }
.theater .soon { --sc: 255, 111, 154; }
.soon-chip { padding: 3px 8px; font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--hot); border: 1px solid currentColor; background: repeating-linear-gradient(45deg, rgba(217, 104, 154, .12) 0 6px, transparent 6px 12px); }
.lib-soon { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 40px 8px; }
.lib-soon[hidden] { display: none; }
.lib-soon__t { margin: 0; color: var(--ink-2); line-height: 1.9; }
.lib-soon__go { font-size: 12px; letter-spacing: .1em; }

/* about: clockwork dial */
.a-clock { position: relative; width: 100%; aspect-ratio: 1; }
.a-clock__dial { position: absolute; inset: 0; width: 100%; height: 100%; }
.a-clock__maj { stroke: var(--t-lav); stroke-width: 1.6; }
.a-clock__min { stroke: var(--t-lav); stroke-width: .8; opacity: .45; }
.a-clock__sweep { position: absolute; inset: 10%; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 270deg, rgba(238, 143, 182, .05) 300deg, rgba(238, 143, 182, .38) 360deg); animation: spin 8s linear infinite; }
.a-clock__hand { position: absolute; inset: 0; }
.a-clock__hand i { position: absolute; left: 50%; bottom: 50%; width: 2px; margin-left: -1px; border-radius: 2px; background: linear-gradient(0deg, transparent, var(--hot)); box-shadow: 0 0 10px rgba(238, 143, 182, .7); }
.a-clock__hand--h i { height: 24%; width: 3px; margin-left: -1.5px; background: linear-gradient(0deg, transparent, var(--t-lav)); box-shadow: 0 0 10px rgba(166, 136, 240, .6); }
.a-clock__hand--m i { height: 38%; }
.a-clock__orbit { position: absolute; inset: 1%; }
.a-clock__orbit i { position: absolute; left: 50%; top: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.a-clock__mark { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; pointer-events: none; }
.a-clock__cad { font-size: clamp(40px, 5vw, 72px); font-weight: 200; letter-spacing: .12em; line-height: 1; filter: drop-shadow(0 0 18px rgba(238, 143, 182, .45)); padding-left: .12em; }
.a-clock__sub { font-size: 9px; letter-spacing: .32em; color: var(--muted); line-height: 1.8; }
.theater .a-clock__maj, .theater .a-clock__min { stroke: #E6C98F; }
.theater .a-clock__sweep { background: conic-gradient(from 0deg, transparent 0 270deg, rgba(255, 70, 110, .06) 300deg, rgba(255, 70, 110, .42) 360deg); }
.theater .a-clock__hand--h i { background: linear-gradient(0deg, transparent, #E6C98F); box-shadow: 0 0 10px rgba(230, 201, 143, .6); }

/* ---------- SNS アイコン(作品ページ) ---------- */
.sns { display: flex; align-items: center; gap: 10px; }
.sns__label { font-size: 10px; letter-spacing: .14em; margin-right: auto; }
.sns__btn { width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink); border: 1px solid var(--line-2); border-radius: 50%; background: rgba(255, 255, 255, .04); transition: color .2s, border-color .2s, box-shadow .2s, transform .2s; }
.sns__btn:hover { color: var(--t-pink); border-color: var(--pink); box-shadow: 0 0 18px rgba(238, 143, 182, .45); transform: translateY(-2px); }
.theater .sns__btn:hover { color: #E6C98F; border-color: #E6C98F; box-shadow: 0 0 18px rgba(201, 162, 94, .45); }

/* ---------- LINEスタンプ一覧(作品ページ) ---------- */
.ls-block { margin: 8px 0 32px; }
.ls-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ls-item { aspect-ratio: 1; display: grid; place-items: center; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: transform .2s, box-shadow .2s; }
.ls-item:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(238, 143, 182, .25); }
.ls-item img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.theater .ls-item { background: rgba(255, 255, 255, .92); border-color: rgba(201, 162, 94, .25); }
@media (max-width: 768px) { .ls-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; } .ls-item { padding: 6px; border-radius: 10px; } }

/* ---------- App Store 掲載情報(作品ページ) ---------- */
.prose--app img { width: 25%; min-width: 96px; height: auto; border-radius: 22%; }
.prose--app figure { margin: 0; }
.as-block { margin: 8px 0 32px; }
.as-shots { list-style: none; margin: 0; padding: 4px 0 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.as-shots--land { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.as-shot { border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: var(--bg-rail); }
.as-shot img { display: block; width: 100%; height: auto; }
.as-desc__text { margin: 0; font-size: 14.5px; line-height: 1.95; color: var(--ink-2); max-height: calc(1.95em * 6); overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.as-desc.is-open .as-desc__text { max-height: none; -webkit-mask-image: none; mask-image: none; }
.as-desc__more { margin-top: 8px; padding: 0; border: 0; background: none; color: var(--t-lav); font-size: 12px; letter-spacing: .08em; cursor: pointer; }
.as-desc__more:hover { color: var(--t-pink); }
.as-facts { margin: 4px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.as-facts dt { font-size: 10px; letter-spacing: .1em; margin-bottom: 4px; }
.as-facts dd { margin: 0; font-size: 14px; }
@media (max-width: 768px) {
  .as-shots { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .as-shots--land { grid-template-columns: 1fr; }
  .as-shot { border-radius: 12px; }
}

/* ---------- YouTube 新着動画(作品ページ) ---------- */
.yt-latest { margin: 8px 0 32px; }
.yt-latest__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.yt-latest__more { font-size: 12px; letter-spacing: .08em; }
.yt-latest__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px 18px; }
.yt-latest--tall .yt-latest__grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.yt-card__link { display: flex; flex-direction: column; gap: 8px; color: var(--ink); }
.yt-card__link:hover { color: var(--ink); }
.yt-card__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-rail); }
.yt-latest--tall .yt-card__thumb { aspect-ratio: 9 / 16; }
.yt-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2, .8, .2, 1), filter .3s; }
.yt-card__thumb::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line-2); pointer-events: none; transition: box-shadow .3s; }
.yt-card__play { position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; display: grid; place-items: center; padding-left: 3px; font-size: 13px; color: #fff; border-radius: 50%; background: rgba(42, 34, 51, .45); border: 1px solid rgba(255, 255, 255, .6); backdrop-filter: blur(4px); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s; }
.yt-card__link:hover .yt-card__thumb img, .yt-card__link:focus-visible .yt-card__thumb img { transform: scale(1.06); filter: saturate(1.1); }
.yt-card__link:hover .yt-card__thumb::after { box-shadow: inset 0 0 0 1px var(--pink), 0 0 24px rgba(238, 143, 182, .45); }
.yt-card__link:hover .yt-card__play { opacity: 1; transform: scale(1); }
.yt-card__title { font-size: 13.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.yt-card__link:hover .yt-card__title { color: var(--t-pink); }
.yt-card__date { font-size: 11px; letter-spacing: .08em; }
.theater .yt-card__thumb { background: #1A1424; }
.theater .yt-card__link:hover .yt-card__thumb::after { box-shadow: inset 0 0 0 1px #E6C98F, 0 0 26px rgba(194, 51, 79, .5); }
@media (max-width: 768px) {
  .yt-latest__grid { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .yt-latest--tall .yt-latest__grid { grid-template-columns: repeat(3, 1fr); }
  .yt-card__title { font-size: 12.5px; }
}

/* ---------- dark(body.theater)— カスタマイザーの「C.A.D. 配色」で全ページ切り替え ---------- */
body.theater {
  --bg: #120E1A; --bg-rail: #17121F; --bg-foot: #0E0B14;
  --ink: #F3ECF4; --ink-2: #CFC3D6; --muted: #9D90AC;
  --t-lav: #C4B0FF; --t-pink: #FF9CC4; --t-mint: #7FE3D7; --hot: #E0457B;
  --line: rgba(201, 162, 94, .16); --line-2: rgba(201, 162, 94, .3);
  --crimson: #C2334F;
  --grad-frame: linear-gradient(135deg, rgba(201, 162, 94, .85), rgba(194, 51, 79, .6) 45%, rgba(166, 136, 240, .7));
}
.theater .win { background: rgba(26, 20, 36, .82); }
.theater .topbar { background: rgba(18, 14, 26, .78); }
.theater .gt { background: linear-gradient(100deg, #E6C98F, #FF8FB0 50%, #C4B0FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.theater .ol { -webkit-text-stroke: 1px rgba(201, 162, 94, .6); }
.theater .chip { background: rgba(201, 162, 94, .12); color: #E6C98F; }
.theater .grid-bg { background-image: linear-gradient(rgba(201, 162, 94, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(201, 162, 94, .05) 1px, transparent 1px); }
.theater .s-hero__glow { background: radial-gradient(circle, rgba(194, 51, 79, .35), rgba(201, 162, 94, .12) 45%, transparent 70%); }
.theater .s-emblem__core { background: rgba(26, 20, 36, .9); color: #E6C98F; box-shadow: 0 0 80px rgba(194, 51, 79, .45); }
.theater .s-emblem__halo { background: radial-gradient(circle, rgba(194, 51, 79, .45), transparent 70%); }
.theater .tile__frame { background: rgba(201, 162, 94, .22); }
.theater .tile__media, .theater .carousel__media { background: #1A1424; }
.theater .tile__meta { background: linear-gradient(0deg, rgba(18, 14, 26, .95), transparent); }
.theater .ph { background: repeating-linear-gradient(0deg, rgba(201, 162, 94, .08) 0 1px, transparent 1px 22px), repeating-linear-gradient(90deg, rgba(201, 162, 94, .08) 0 1px, transparent 1px 22px), linear-gradient(135deg, #1E1629, #2A1520 55%, #151D22); color: var(--muted); }
.theater .solve__item { background: linear-gradient(180deg, rgba(255, 255, 255, .04), transparent); }
.theater .seq__node { background: var(--bg); }
.theater .svc-nav__item.is-on .svc-nav__in { background: rgba(40, 30, 52, .95); }
.theater .btn--ghost:hover > .win { background: rgba(40, 30, 52, .95); }
.theater .icon-btn { background: rgba(201, 162, 94, .16); color: var(--ink); }
.theater .rail__dot { background: rgba(201, 162, 94, .35); }
.theater .lite-embed__play { background: rgba(18, 14, 26, .55); }
@media (max-width: 1024px) { .theater .rail { background: rgba(18, 14, 26, .92); } }
@media (max-width: 768px) { .theater .spot__shade { background: linear-gradient(0deg, rgba(18, 14, 26, .96), rgba(18, 14, 26, .6) 60%, transparent); } }
/* dark: サイト全体(トップ・ライブラリ・作品詳細・お問い合わせ) */
.theater .core svg { filter: brightness(1.45) saturate(1.1); }
.theater .core__orb { background: radial-gradient(circle, rgba(194, 51, 79, .4) 0%, rgba(194, 51, 79, .18) 50%, rgba(166, 136, 240, 0) 100%); box-shadow: none; }
.theater .voice__col i { background: rgba(255, 40, 60, .1); }
.theater .voice__col i.dim { background: rgba(255, 40, 60, .38); }
.theater .voice__col i.on { background: #FF2E43; box-shadow: 0 0 2.2cqw #FF2E43, 0 0 5cqw rgba(255, 46, 67, .6); }
.theater .btn--primary {
  --hf: linear-gradient(110deg, #E6C98F, #FF6F9A 50%, #C4B0FF);
  --hi: linear-gradient(180deg, rgba(40, 18, 34, .88), rgba(22, 12, 26, .88));
  --hs: rgba(255, 111, 154, .12); --hg: rgba(255, 70, 110, .38);
  color: #FFD6E4; text-shadow: 0 0 10px rgba(255, 111, 154, .85);
}
.theater .btn--primary:hover { color: #FFF0F5; text-shadow: 0 0 16px rgba(255, 111, 154, 1); }
.theater .btn--primary:hover::before { box-shadow: inset 0 0 36px rgba(255, 70, 110, .6); }
.theater .btn--primary.shine::after { background: linear-gradient(100deg, transparent, rgba(255, 200, 220, .22), transparent); }
.theater .icon-btn--primary { background: linear-gradient(rgba(30, 16, 30, .85), rgba(30, 16, 30, .85)) padding-box, linear-gradient(110deg, #E6C98F, #FF6F9A, #C4B0FF) border-box; color: #FFD6E4; box-shadow: inset 0 0 14px rgba(255, 70, 110, .4); }
.theater .contact__form input[type="submit"], .theater .contact__form button[type="submit"] {
  background: repeating-linear-gradient(0deg, rgba(255, 111, 154, .12) 0 1px, transparent 1px 3px) padding-box, linear-gradient(180deg, rgba(40, 18, 34, .9), rgba(22, 12, 26, .9)) padding-box, linear-gradient(110deg, #E6C98F, #FF6F9A 50%, #C4B0FF) border-box;
  color: #FFD6E4; text-shadow: 0 0 10px rgba(255, 111, 154, .85); box-shadow: inset 0 0 22px rgba(255, 70, 110, .38);
}
.theater .kbtn--a { --h: 255, 70, 85; }
.theater .kbtn--n { --h: 255, 232, 160; }
.theater .kbtn--p { --h: 120, 160, 255; }
.theater .kitt { background: rgba(201, 162, 94, .12); box-shadow: inset 0 0 0 1px rgba(201, 162, 94, .2); }
.theater .hero__glow { background: radial-gradient(circle, rgba(194, 51, 79, .28), rgba(166, 136, 240, .1) 45%, transparent 70%); }
.theater .orbit__node { background: #1A1424; color: #E6C98F; border-color: rgba(201, 162, 94, .4); }
.theater .orbit__node.is-on { background: linear-gradient(135deg, #E6C98F, #FF8FB0 55%, #C4B0FF); color: #120E1A; border-color: transparent; }
.theater .orbit__hub { fill: #1A1424; }
.theater .orbit__ring2 { stroke: #E6C98F; }
.theater .spot__in { background: #1A1424; }
.theater .spot__shade { background: linear-gradient(90deg, rgba(18, 14, 26, .96), rgba(18, 14, 26, .75) 60%, transparent); }
.theater .w-hero__shade { background: linear-gradient(0deg, var(--bg), rgba(18, 14, 26, .6) 55%, transparent); }
.theater .w-hero__crumb { background: rgba(18, 14, 26, .7); }
.theater .prose blockquote { background: rgba(255, 255, 255, .04); }
.theater .contact__form input[type="text"], .theater .contact__form input[type="email"], .theater .contact__form input[type="tel"], .theater .contact__form input[type="url"], .theater .contact__form select, .theater .contact__form textarea, .theater .prose input[type="text"], .theater .prose input[type="email"], .theater .prose textarea { background: rgba(26, 20, 36, .9); }
.theater .tile__glare { background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 220, 235, .18), transparent 55%); }
.theater .readout b { color: var(--ink); }


@media (max-width: 1280px) {
  .orbit { --r: 210px; --n: 84px; width: 520px; }
  .hero { grid-template-columns: minmax(0, 1fr) min(520px, 42vw) 90px; }
}
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .s-hero { grid-template-columns: 1fr; }
  .s-emblem, .a-clock { display: none; }
  .solve, .kinds { grid-template-columns: 1fr; }
  .svc-grid, .svc-nav__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .name-row { grid-template-columns: 1fr; gap: 6px; }
  .sec--split, .contact { grid-template-columns: 1fr; }
  .orbit-wrap { flex-direction: column; align-items: stretch; }
  .orbit { margin: 0 auto; }
  .w-body { grid-template-columns: 1fr; }
  .spec { margin-top: 0; }
  .w-hero__title { right: var(--pad); }
  .rel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  :root { --pad: 24px; }
  body { padding-bottom: 64px; }
  .rail {
    position: fixed; top: auto; bottom: 0; left: 0; right: 0; width: 100%; height: 64px; flex-direction: row; justify-content: space-around; padding: 0 8px; gap: 0;
    border-right: 0; border-top: 1px solid var(--line); background: rgba(247, 238, 243, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  }
  .rail__logo, .rail__brand, .rail__line, .rail__replay { display: none; }
  .rail__nav { flex-direction: row; justify-content: space-around; width: 100%; gap: 0; }
  .rail__item { min-width: 52px; min-height: 52px; justify-content: center; gap: 3px; }
  .rail__no { display: none; }
  .rail__label { display: block; font-size: 10px; font-family: 'JetBrains Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
  .topbar__menu { display: none; }
}
@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; gap: 24px; padding-top: 48px; min-height: 0; cursor: auto; }
  .hero__cursor, .hero__coord, .hero__follow, .hero__scroll { display: none; }
  .hero__vertical { writing-mode: horizontal-tb; justify-self: auto; align-self: flex-start; font-size: clamp(20px, 5.6vw, 26px); line-height: 1.8; letter-spacing: .18em; padding: 4px 0 0 16px; margin-top: -4px; border-left: 1px solid transparent; border-image: linear-gradient(180deg, var(--pink), transparent) 1; }
  .core { width: min(86vw, 460px); align-self: center; margin: 12px 0; }
  .readout--sync { left: 0; }
  .readout--mod { right: 0; }
  .readout--temp { left: 0; }
  .hero__status { width: min(86vw, 460px); align-self: center; }
  .orbit { width: 100%; max-width: 100%; aspect-ratio: auto; display: flex; gap: 10px; overflow-x: auto; padding: 8px 2px 16px; scroll-snap-type: x mandatory; }
  .orbit__svg, .orbit__dial, .orbit__halo, .orbit__center { display: none; }
  .orbit__node { position: relative; left: auto; top: auto; margin: 0; transform: none; flex-shrink: 0; width: 88px; height: 88px; scroll-snap-align: start; }
  .panel__in { min-height: 0; padding: 28px; }
  .vbox { width: 40%; }
  .kbtn { font-size: max(6.2cqw, 9px); min-height: max(15cqw, 26px); letter-spacing: .08em; }
  .panel__title { font-size: 30px; }
  .products { grid-template-columns: 1fr; }
  .seq { grid-template-columns: 1fr; padding-top: 0; padding-left: 36px; gap: 36px; }
  .seq::before { left: 8px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .seq__node { left: -36px; top: 4px; }
}
@media (max-width: 768px) {
  .topbar__status .hide-sm, .hide-sm { display: none; }
  .topbar__status span:not(.ok) { display: none; }
  .topbar { gap: 12px; }
  .sec { padding: 80px var(--pad); }
  .sec--bleed { padding-left: 0; padding-right: 0; }
  .sec-head { flex-direction: column; align-items: flex-start; margin-bottom: 36px; }
  .carousel { height: auto; perspective: none; display: flex; gap: 16px; overflow-x: auto; padding: 0 var(--pad) 16px; scroll-snap-type: x mandatory; }
  .carousel__item { position: relative; left: auto; top: auto; margin: 0; width: 80vw; flex-shrink: 0; transform: none !important; opacity: 1 !important; scroll-snap-align: center; }
  .car-ctrl { display: none; }
  .lib { grid-template-columns: 1fr; }
  .lib__filter { position: static; }
  .filter__list { flex-direction: row; overflow-x: auto; gap: 6px; }
  .filter__btn { flex-shrink: 0; gap: 10px; border-left: 0; border-bottom: 2px solid transparent; }
  .filter__btn.is-on { border-bottom-color: var(--hot); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: var(--row, 160px); gap: 10px; }
  .spot__txt { left: 20px; width: calc(100% - 40px); top: auto; bottom: 64px; transform: none; }
  .spot__shade { width: 100%; background: linear-gradient(0deg, rgba(251, 244, 247, .96), rgba(251, 244, 247, .6) 60%, transparent); }
  .spot__desc { display: none; }
  .log { padding: 8px 18px; }
  .log__row { flex-wrap: wrap; gap: 6px 16px; }
  .log__arrow { display: none; }
  .log__t { width: 100%; }
  .cta__field { flex-wrap: wrap; padding: 12px; }
  .cta__field .btn { width: 100%; }
  .rel { grid-template-columns: 1fr 1fr; }
  .w-hero__title { bottom: 24px; }
  .spec__dl { grid-template-columns: 90px 1fr; }
  .s-hero { padding: 72px var(--pad) 56px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-nav__list { grid-template-columns: 1fr 1fr; gap: 8px; }
  .svc-nav__in { padding: 12px; font-size: 13px; gap: 8px; }
  .menu-list__row { grid-template-columns: 36px minmax(0, 1fr); }
  .menu-list__d { grid-column: 2; }
  .stats { gap: 10px; }
  .stat__in { padding: 22px 18px; }
  .profile { padding: 4px 18px; }
  .profile__row { grid-template-columns: 1fr; gap: 4px; }
  .issues { padding: 20px; }
  .issues__row { flex-direction: column; gap: 4px; }
  .tiles--shelf { grid-template-columns: 1fr 1fr; }
  .reel { grid-auto-columns: 44vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
