/* 案A「Signal」— 暗い地・精密・測った数字 */
:root {
  --bg: #07080b;
  --bg-2: #0c0d12;
  --surface: #101218;
  --surface-2: #151821;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eeeff3;
  --muted: #8b90a0;
  --dim: #5b6070;
  --accent: #e4ff6a;
  --accent-ink: #0b0d02;
  --ok: #3ddc97;
  --warn: #ffb547;
  --radius: 20px;
  --pad: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --sans: "Geist", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
h1, h2, h3, .app-tag, .manifesto-text { text-wrap: balance; word-break: auto-phrase; }
p, li, dd { word-break: auto-phrase; line-break: strict; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.8 var(--sans); letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 100; top: 12px; left: 12px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; }
.mono { font-family: var(--mono); letter-spacing: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.dim { color: var(--dim); }

/* ---------- 読み込み ---------- */
.loader {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  display: grid; place-content: center; gap: 18px; justify-items: center;
  transition: clip-path .9s var(--ease-io);
  clip-path: inset(0 0 0 0);
}
.loader-word { font: 500 clamp(28px, 6vw, 64px)/1 var(--mono); letter-spacing: .3em; padding-left: .3em; }
.loader-bar { width: 160px; height: 1px; background: var(--line-2); overflow: hidden; }
.loader-bar span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); animation: load 1s var(--ease) forwards; }
@keyframes load { to { transform: scaleX(1); } }
.is-loaded .loader { clip-path: inset(0 0 100% 0); pointer-events: none; }
.no-loader .loader { display: none; }

/* ---------- ナビ ---------- */
.nav {
  position: fixed; z-index: 50; top: 12px; left: 50%; translate: -50% 0;
  width: min(calc(100% - 24px), 1180px); height: 56px; padding: 0 10px 0 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border: 1px solid transparent; border-radius: 16px;
  transition: background .4s, border-color .4s, translate .5s var(--ease), backdrop-filter .4s;
}
.nav.is-scrolled { background: rgba(12, 13, 18, .72); border-color: var(--line); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.nav.is-hidden:not(:focus-within) { translate: -50% -120%; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: .02em; }
.mark { width: 26px; height: 26px; fill: var(--text); stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; }
.mark path { fill: none; }
.brand:hover .mark circle { fill: var(--accent); stroke: var(--accent); transition: fill .3s, stroke .3s; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 6px 12px; border-radius: 8px; font-size: 14px; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--text); background: rgba(255,255,255,.05); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.status { display: inline-flex; align-items: center; gap: 8px; font: 12px var(--mono); color: var(--muted); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(61,220,151,.6); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(61,220,151,.5); } 70%, 100% { box-shadow: 0 0 0 8px rgba(61,220,151,0); } }
.menu-btn { display: none; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 12px; background: transparent; position: relative; cursor: pointer; }
.menu-btn span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn span:nth-child(1) { top: 15px; } .menu-btn span:nth-child(2) { top: 23px; }
.menu-btn[aria-expanded=true] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu-btn[aria-expanded=true] span:nth-child(2) { top: 19px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 40; background: rgba(7,8,11,.96); backdrop-filter: blur(10px); display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0 24px; }
.menu a { font-size: 40px; font-weight: 500; display: flex; align-items: baseline; gap: 14px; padding: 6px 0; border-bottom: 1px solid var(--line); opacity: 0; translate: 0 20px; animation: in .6s var(--ease) forwards; }
.menu a:nth-child(2) { animation-delay: .05s; } .menu a:nth-child(3) { animation-delay: .1s; } .menu a:nth-child(4) { animation-delay: .15s; }
.menu small { font: 12px var(--mono); color: var(--accent); }
@keyframes in { to { opacity: 1; translate: 0 0; } }

/* ---------- ボタン ---------- */
.btn {
  --bg-b: rgba(255,255,255,.06);
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-b);
  font-size: 15px; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: background .3s, border-color .3s, color .3s, transform .4s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateY(2px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover { background: #f0ff9c; }
.btn-ghost { background: transparent; }
.btn-ghost:hover { border-color: var(--text); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn-app { background: var(--app); border-color: var(--app); color: #fff; }
.btn-app:hover { filter: brightness(1.12); }
.link { font-size: 13px; color: var(--muted); transition: color .2s; }
.link:hover { color: var(--text); }

/* ---------- ヒーロー ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.no-webgl .field { background: radial-gradient(60% 50% at 70% 40%, rgba(108,92,255,.25), transparent 70%), radial-gradient(40% 40% at 20% 80%, rgba(228,255,106,.08), transparent 70%); }
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px; mask-image: radial-gradient(80% 70% at 50% 40%, #000 20%, transparent 75%); opacity: .5;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, var(--bg)); z-index: -1; pointer-events: none; }
.hero-inner { width: 100%; max-width: var(--max); margin: 0 auto; padding: 120px var(--pad) 140px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 28px; padding: 6px 12px 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(7,8,11,.5); backdrop-filter: blur(6px); }
.tick { width: 6px; height: 6px; background: var(--accent); border-radius: 1px; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hero-title { font-size: clamp(34px, 9vw, 136px); line-height: 1.04; font-weight: 700; letter-spacing: -.04em; margin: 0; }
.hero-title .ch { display: inline-block; overflow: hidden; vertical-align: top; }
.hero-title .ch > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 28ms + 150ms); }
.is-loaded .hero-title .ch > span { transform: none; }
.hero-lead { max-width: 560px; margin: 32px 0 0; color: var(--muted); font-size: clamp(15px, 1.4vw, 17px); opacity: 0; translate: 0 16px; transition: opacity 1s .7s, translate 1s .7s var(--ease); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; opacity: 0; translate: 0 16px; transition: opacity 1s .85s, translate 1s .85s var(--ease); }
.is-loaded .hero-lead, .is-loaded .hero-cta { opacity: 1; translate: 0 0; }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 24px; display: flex; justify-content: space-between; padding: 0 var(--pad); font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; max-width: var(--max); margin: 0 auto; }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue i { width: 1px; height: 28px; background: linear-gradient(var(--text), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- ティッカー ---------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.ticker-track { display: flex; gap: 28px; width: max-content; animation: marquee 40s linear infinite; }
.ticker b { color: var(--accent); font-weight: 400; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 共通の見出し ---------- */
section { position: relative; }
.label { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin: 0 0 24px; }
.label span { color: var(--accent); }
.label::after { content: ""; flex: 0 0 48px; height: 1px; background: var(--line-2); }
.h2 { font-size: clamp(32px, 5vw, 64px); line-height: 1.12; letter-spacing: -.03em; font-weight: 600; margin: 0; }

/* ---------- 宣言 ---------- */
.manifesto { padding: clamp(100px, 18vw, 220px) 0; }
.manifesto-text { font-size: clamp(26px, 4.1vw, 54px); line-height: 1.45; font-weight: 500; letter-spacing: -.02em; margin: 0; max-width: 1100px; }
.manifesto-text .w { color: var(--text); opacity: .16; transition: opacity .25s linear; }
.manifesto-text .w.on { opacity: 1; }

/* ---------- アプリ（横に流れる） ---------- */
.apps { padding: 120px 0 0; }
.apps-pin { position: relative; }
.apps-head { position: relative; display: grid; gap: 8px; padding-bottom: 32px; }
.apps-progress { height: 1px; background: var(--line); margin-top: 28px; }
.apps-progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.apps-track { display: grid; gap: 24px; padding: 0 var(--pad) 120px; max-width: var(--max); margin: 0 auto; }
.app-panel {
  position: relative; display: grid; grid-template-columns: 1fr; gap: 32px;
  padding: clamp(24px, 4vw, 56px); border-radius: 28px; border: 1px solid var(--line);
  background:
    radial-gradient(70% 60% at 85% 30%, color-mix(in srgb, var(--app) 26%, transparent), transparent 70%),
    radial-gradient(50% 50% at 100% 100%, color-mix(in srgb, var(--app-2) 12%, transparent), transparent 70%),
    var(--surface);
  overflow: hidden;
}
.app-panel::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, color-mix(in srgb, var(--app) 60%, transparent), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.app-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.app-icon { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 10px 40px -10px var(--app), 0 0 0 1px rgba(255,255,255,.08); }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.badge i, .float-chip i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
i.live { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
i.soon { background: var(--warn); }
.app-index { font-size: 12px; color: var(--dim); margin: 0 0 8px; }
.app-name { font-size: clamp(40px, 6vw, 80px); line-height: 1; letter-spacing: -.04em; margin: 0; font-weight: 700; }
.app-tag { font-size: clamp(18px, 2vw, 24px); font-weight: 500; margin: 14px 0 0; background: linear-gradient(90deg, var(--text), color-mix(in srgb, var(--app-2) 70%, var(--text))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.app-desc { color: var(--muted); margin: 16px 0 0; max-width: 520px; font-size: 15px; }
.app-specs { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.app-specs li { padding: 16px 12px 0 0; font-size: 13px; color: var(--muted); }
.app-specs li + li { padding-left: 14px; border-left: 1px solid var(--line); }
.app-specs b { font-size: clamp(22px, 2.4vw, 30px); color: var(--text); font-weight: 500; letter-spacing: -.02em; }
.app-specs span { display: block; font-size: 11px; line-height: 1.5; margin-top: 6px; font-family: var(--sans); }
.app-links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 32px; }

.app-stage { position: relative; display: grid; place-items: center; min-height: 460px; padding: 20px 0 70px; }
.device { position: relative; border-radius: 34px; padding: 10px; background: #1a1c22; box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset, 0 40px 80px -20px rgba(0,0,0,.8), 0 0 120px -30px var(--app); transform: perspective(1400px) rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg)); transition: transform .8s var(--ease); }
.device.iphone { width: min(250px, 62vw); aspect-ratio: 640 / 1391; border-radius: 40px; }
.device.ipad { width: min(330px, 72vw); aspect-ratio: 1032 / 1376; border-radius: 26px; padding: 12px; }
.device-screen { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #000; }
.ipad .device-screen { border-radius: 16px; }
.device-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .6s, transform .9s var(--ease); }
.device-screen img.is-on { opacity: 1; transform: none; }
.scanline { position: absolute; left: 10px; right: 10px; top: 12%; height: 2px; background: linear-gradient(90deg, transparent, #7af0bf, transparent); box-shadow: 0 0 18px #3fa37e; animation: scan 3.2s var(--ease-io) infinite; border-radius: 2px; }
@keyframes scan { 0%, 100% { top: 14%; opacity: 0; } 10% { opacity: 1; } 50% { top: 70%; } 90% { opacity: 1; } }
.capy-peek { position: absolute; width: 110px; height: auto; right: calc(50% - 190px); bottom: 70px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.5)); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-3deg); } }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(16,18,24,.78); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 20px 40px -20px #000; white-space: nowrap; animation: float 6s ease-in-out infinite; }
.float-chip b { color: var(--ok); font-weight: 500; min-width: 2ch; display: inline-block; text-align: right; }
.float-chip.c1 { left: 2%; top: 14%; }
.float-chip.c2 { right: 2%; top: 52%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.seg { position: absolute; bottom: 8px; left: 50%; translate: -50% 0; display: flex; padding: 4px; gap: 2px; border-radius: 999px; background: rgba(16,18,24,.8); border: 1px solid var(--line-2); backdrop-filter: blur(10px); }
.seg button { border: 0; background: transparent; white-space: nowrap; padding: 7px 14px; border-radius: 999px; font-size: 12px; color: var(--muted); cursor: pointer; transition: background .3s, color .3s; }
.seg button[aria-selected=true] { background: var(--app); color: #fff; }
.seg button:hover:not([aria-selected=true]) { color: var(--text); }

/* 証明写真のデモ（ぴったり） */
.idphoto { background: #f4f6f6; color: #10201f; display: flex; flex-direction: column; align-items: center; padding: 34px 16px 18px; gap: 14px; }
.id-top { width: 100%; display: flex; justify-content: space-between; font-size: 11px; color: #4b5e5c; }
.id-top b { color: #10201f; font-weight: 500; }
.id-frame { --w: 35; --h: 45; --top: 8.9; --face: 75.6; position: relative; width: 74%; aspect-ratio: var(--w) / var(--h); background: linear-gradient(#e9eeee, #dde5e5); border-radius: 3px; outline: 2px solid #129a8e; transition: aspect-ratio .7s var(--ease), width .7s var(--ease); }
.id-clip { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.id-person { position: absolute; left: 0; right: 0; margin: 0 auto; top: calc(var(--top) * 1%); height: calc(var(--face) * 1.4%); width: auto; fill: #2c4a48; transition: top .7s var(--ease), height .7s var(--ease); }
.guide { position: absolute; left: -8%; right: -8%; height: 0; border-top: 1.5px dashed #f5a524; transition: top .7s var(--ease); }
.g-top { top: calc(var(--top) * 1%); } .g-chin { top: calc((var(--top) + var(--face)) * 1%); }
.ruler { position: absolute; right: -6px; translate: 100% 0; top: calc(var(--top) * 1%); height: calc(var(--face) * 1%); display: grid; place-items: center; font-size: 9px; color: #b26f00; border-left: 1px solid #f5a524; padding-left: 3px; writing-mode: vertical-rl; white-space: nowrap; transition: top .7s var(--ease), height .7s var(--ease); }
.id-checks { list-style: none; margin: 4px 0 0; padding: 0; width: 100%; display: grid; gap: 6px; font-size: 11px; }
.id-checks li { display: flex; align-items: center; gap: 8px; padding: 7px 10px; background: #fff; border-radius: 8px; }
.id-checks i { width: 14px; height: 14px; border-radius: 50%; background: #1f9d66; position: relative; }
.id-checks i::after { content: ""; position: absolute; left: 4px; top: 2px; width: 4px; height: 7px; border: solid #fff; border-width: 0 1.6px 1.6px 0; rotate: 45deg; }
.id-print { margin-top: auto; width: 100%; text-align: center; padding: 10px; border-radius: 12px; background: #129a8e; color: #fff; font-size: 12px; }

@media (min-width: 900px) {
  .app-panel { grid-template-columns: 1.05fr 1fr; align-items: center; min-height: min(640px, 78vh); }
  .hs-on .apps { padding-top: 0; }
  .hs-on .apps-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
  .hs-on .apps-head { padding-top: 76px; padding-bottom: 20px; }
  .hs-on .apps-track { display: flex; gap: 24px; max-width: none; margin: 0; padding: 0 var(--pad); width: max-content; will-change: transform; }
  .hs-on .app-panel { width: min(1180px, calc(100vw - 2 * var(--pad))); flex: none; height: calc(100vh - 250px); min-height: 0; max-height: 680px; padding-block: clamp(20px, 3.4vh, 48px); }
  .hs-on .app-name { font-size: clamp(36px, 4.4vw, 68px); }
  .hs-on .apps-head .h2 { font-size: clamp(26px, 3.2vw, 44px); }
  .hs-on .apps-head .label { margin-bottom: 12px; }
  .hs-on .apps-progress { margin-top: 18px; }
  .hs-on .app-stage { min-height: 0; height: 100%; padding: 0 0 56px; }
  .hs-on .device.iphone { width: auto; height: min(560px, calc(100vh - 330px)); }
  .hs-on .device.ipad { width: auto; height: min(500px, calc(100vh - 330px)); }
  .hs-on .app-top { margin-bottom: clamp(12px, 2.4vh, 28px); }
  .hs-on .app-specs { margin-top: clamp(14px, 2.6vh, 28px); }
  .hs-on .app-links { margin-top: clamp(16px, 2.8vh, 32px); }
}
@media (min-width: 900px) and (max-height: 700px) {
  .hs-on .app-desc { display: none; }
}

/* ---------- 約束（ベント） ---------- */
.principles { padding: clamp(100px, 14vw, 180px) 0; }
.bento { display: grid; gap: 16px; margin-top: 56px; grid-template-columns: repeat(6, 1fr); }
.cell {
  --mx: 50%; --my: 50%;
  position: relative; grid-column: span 6; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; isolation: isolate; min-height: 240px; display: flex; flex-direction: column;
}
.cell::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(400px circle at var(--mx) var(--my), rgba(228,255,106,.08), transparent 45%); opacity: 0; transition: opacity .4s; }
.cell::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: radial-gradient(300px circle at var(--mx) var(--my), rgba(228,255,106,.55), transparent 50%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; pointer-events: none; }
.bento:hover .cell::before, .bento:hover .cell::after { opacity: 1; }
.cell-k { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin: 0 0 auto; padding-bottom: 20px; }
.cell h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; margin: 0 0 10px; letter-spacing: -.02em; font-weight: 600; }
.cell p { margin: 0; color: var(--muted); font-size: 14px; }
.cell-art { margin: -8px 0 12px; display: grid; place-items: center; flex: 1; }
.art-device { width: 100%; max-width: 260px; height: auto; fill: none; stroke: var(--line-2); stroke-width: 1.4; }
.art-device rect { stroke: var(--text); stroke-opacity: .5; }
.art-device .orbit { stroke-dasharray: 3 5; animation: spin 18s linear infinite; transform-origin: 100px 70px; }
.art-device .dot { fill: var(--accent); stroke: none; transform-origin: 100px 70px; animation: spin 6s linear infinite; }
.art-device .d2 { animation-delay: -2s; } .art-device .d3 { animation-delay: -4s; }
.art-device .lock { stroke: var(--text); stroke-width: 1.8; }
@keyframes spin { to { rotate: 360deg; } }
.big-zero { margin-top: 24px; display: flex; align-items: baseline; gap: 12px; }
.big-zero span { font-size: 96px; line-height: .9; letter-spacing: -.05em; }
.big-zero small { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.receipt { margin-top: 24px; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 16px; border: 1px dashed var(--line-2); border-radius: 12px; font-size: 13px; position: relative; }
.receipt .paid { grid-column: 1 / -1; justify-self: end; color: var(--ok); border: 1.5px solid var(--ok); padding: 0 10px; border-radius: 6px; rotate: -8deg; font-weight: 500; letter-spacing: .1em; }
.fake-login { margin-top: 24px; display: grid; gap: 8px; position: relative; }
.fake-login span { height: 34px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg-2); }
.fake-login b { height: 34px; border-radius: 8px; background: var(--line-2); }
.fake-login::after { content: "不要"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 28px; font-weight: 700; color: var(--text); background: rgba(16,18,24,.6); backdrop-filter: blur(3px); border-radius: 10px; letter-spacing: .2em; }
.meter { margin-top: 20px; position: relative; }
.meter canvas { width: 100%; height: 60px; }
.meter span { position: absolute; right: 0; top: -6px; font-size: 13px; color: var(--muted); }
.meter b { color: var(--ok); font-weight: 500; font-size: 22px; }
.hello { margin-top: auto !important; padding-top: 20px; font-size: clamp(32px, 4vw, 48px) !important; color: var(--text) !important; font-weight: 600; letter-spacing: -.02em; min-height: 1.5em; }
.hello.swap { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; translate: 0 10px; filter: blur(4px); } }
@media (min-width: 720px) {
  .c-device { grid-column: span 4; grid-row: span 2; }
  .c-ads, .c-once, .c-account, .c-lang { grid-column: span 2; }
  .c-measure { grid-column: span 4; }
  .c-device .cell-art { margin: 0 0 24px; }
  .art-device { max-width: 420px; }
}
@media (min-width: 720px) and (max-width: 1099px) {
  .c-device { grid-column: span 6; grid-row: auto; }
  .c-ads, .c-once, .c-account { grid-column: span 3; }
  .c-measure { grid-column: span 6; } .c-lang { grid-column: span 3; }
}

/* ---------- 数字 ---------- */
.numbers { border-block: 1px solid var(--line); }
.nums { display: grid; grid-template-columns: repeat(2, 1fr); }
.nums > div { padding: 40px 16px; border-left: 1px solid var(--line); }
.nums > div:nth-child(odd) { border-left: 0; }
.nums b { display: block; font-size: clamp(56px, 9vw, 128px); line-height: 1; font-weight: 400; letter-spacing: -.06em; }
.nums span { color: var(--muted); font-size: 13px; }
@media (min-width: 720px) { .nums { grid-template-columns: repeat(4, 1fr); } .nums > div:nth-child(odd) { border-left: 1px solid var(--line); } .nums > div:first-child { border-left: 0; } }

/* ---------- スタジオ ---------- */
.studio { padding: clamp(100px, 14vw, 180px) 0; }
.studio-grid { display: grid; gap: 56px; }
.studio-lead { color: var(--muted); max-width: 440px; margin: 24px 0 0; }
.process { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.process li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.process li > span { color: var(--accent); font-size: 12px; padding-top: 6px; }
.process h3 { margin: 0 0 6px; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.process p { margin: 0; color: var(--muted); font-size: 14px; }
.company { margin: 80px 0 0; display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 13px; }
.company div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 20px; border-top: 1px solid var(--line); }
.company div:first-child { border-top: 0; }
.company dt { color: var(--dim); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; padding-top: 2px; }
.company dd { margin: 0; font-family: var(--sans); }
.company a { color: var(--accent); }
@media (min-width: 900px) { .studio-grid { grid-template-columns: 1fr 1.2fr; } .company { grid-template-columns: repeat(5, 1fr); } .company div { grid-template-columns: 1fr; gap: 6px; border-top: 0; border-left: 1px solid var(--line); } .company div:first-child { border-left: 0; } }

/* ---------- お問い合わせ ---------- */
.contact { padding: clamp(100px, 14vw, 180px) 0; background: radial-gradient(60% 40% at 80% 0%, rgba(228,255,106,.05), transparent 70%); border-top: 1px solid var(--line); }
.contact-grid { display: grid; gap: 56px; }
.contact-intro > p { color: var(--muted); max-width: 420px; margin: 24px 0 0; }
.contact-mail { display: flex; align-items: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.contact-mail a { font-size: clamp(16px, 2vw, 20px); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.contact-mail a:hover { border-color: var(--accent); }
.contact-support { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 8px; font-size: 13px; }
.contact-support a { color: var(--muted); }
.contact-support a:hover { color: var(--text); }
.form { display: grid; gap: 22px; padding: clamp(20px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend, .form label:not(.chips label) { display: block; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.form em { font-style: normal; font-size: 10px; color: var(--accent); border: 1px solid currentColor; padding: 1px 6px; border-radius: 4px; margin-left: 6px; vertical-align: 2px; font-family: var(--mono); }
.form em.opt { color: var(--dim); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; transition: background .25s, border-color .25s, color .25s; }
.chips label:hover span { border-color: var(--text); }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.form input[type=text], .form textarea, .form select { width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; font-size: 16px; transition: border-color .25s, box-shadow .25s; }
.form textarea { resize: vertical; min-height: 140px; line-height: 1.7; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(228,255,106,.12); }
.form [aria-invalid=true] { border-color: #ff5c6c !important; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border: solid var(--muted); border-width: 0 1.5px 1.5px 0; translate: 0 -70%; rotate: 45deg; pointer-events: none; }
.form select { appearance: none; padding-right: 40px; }
.f-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.count { font-size: 11px; color: var(--dim); margin-left: auto; }
.count.is-low { color: var(--warn); }
.err { margin: 8px 0 0; color: #ff8a96; font-size: 13px; }
.f-meta .err { margin: 0; }
.note { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(255,181,71,.08); border: 1px solid rgba(255,181,71,.25); color: #ffd18a; font-size: 13px; }
.f-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.result { padding: 16px 18px; border-radius: 14px; background: rgba(61,220,151,.08); border: 1px solid rgba(61,220,151,.3); font-size: 14px; outline: none; }
.result p { margin: 0; color: var(--muted); }
.result b { color: var(--text); display: block; }
.result-actions { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .8fr 1.2fr; } }

/* ---------- フッター ---------- */
.footer { padding: 80px 0 32px; border-top: 1px solid var(--line); overflow: hidden; }
.foot-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.foot-k { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); margin: 0 0 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.footer ul a { color: var(--muted); } .footer ul a:hover { color: var(--text); }
.wordmark { margin: 72px 0 0; font-size: clamp(64px, 19vw, 300px); line-height: .8; font-weight: 700; letter-spacing: -.06em; text-align: center; color: transparent; -webkit-text-stroke: 1px var(--line-2); user-select: none; }
.wordmark span { display: inline-block; transition: color .5s, -webkit-text-stroke-color .5s, transform .6s var(--ease); }
.wordmark span:hover { color: var(--accent); -webkit-text-stroke-color: var(--accent); transform: translateY(-4%); transition-duration: .1s; }
.foot-bottom { display: flex; justify-content: space-between; margin-top: 32px; font-size: 12px; color: var(--dim); }
.foot-bottom a:hover { color: var(--text); }
@media (min-width: 720px) { .foot-cols { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 出てくる動き ---------- */
[data-reveal] { opacity: 0; translate: 0 28px; transition: opacity .9s var(--ease), translate .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; translate: 0 0; }

/* ---------- 狭い画面 ---------- */
@media (max-width: 899px) {
  .nav-links, .status { display: none; }
  .menu-btn { display: block; }
  .nav .btn-sm { display: none; }
  .hero-foot span:last-child { display: none; }
  .app-specs { grid-template-columns: 1fr 1fr 1fr; }
  .float-chip.c1 { left: 0; top: 4%; }
  .float-chip.c2 { right: 0; }
  .capy-peek { right: 0; width: 84px; }
}
@media (max-width: 480px) {
  .app-specs { grid-template-columns: 1fr; }
  .app-specs li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-bottom: 12px; }
  .app-specs li { padding-bottom: 12px; }
  .float-chip { font-size: 11px; padding: 8px 10px; }
  .seg button { padding: 6px 10px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
}
