:root {
  --bg: #07081a;
  --bg2: #0d0f26;
  --fg: #f4f4f8;
  --muted: #9a9cb8;
  --dim: #6d7090;
  --line: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.04);
  --blue: #7c83ff;
  --sky: #5ec8ff;
  --yellow: #ffcf4a;
  --radius: 28px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
  font-feature-settings: "palt";
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, video { display: block; max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* ナビ */
.nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  background: rgba(7, 8, 26, 0.6);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; height: 60px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; letter-spacing: 0.02em; }
.logo img { width: 30px; height: 30px; border-radius: 8px; }
.nav .links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav .links a { text-decoration: none; }
.nav .links a:hover { color: var(--fg); }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
}
.btn.primary { background: var(--fg); color: var(--bg); }
.btn.ghost { border: 1px solid rgba(255,255,255,.18); color: var(--fg); }
.btn.ghost:hover { background: var(--glass); }
.btn .sub { font-weight: 500; opacity: .6; font-size: 13px; }

/* ヒーロー */
.hero { position: relative; overflow: hidden; padding: 88px 0 96px; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 900px; pointer-events: none;
  background:
    radial-gradient(40% 45% at 72% 38%, rgba(124, 131, 255, .35), transparent 70%),
    radial-gradient(28% 32% at 88% 70%, rgba(255, 207, 74, .18), transparent 70%),
    radial-gradient(30% 35% at 15% 10%, rgba(94, 200, 255, .14), transparent 70%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted); border: 1px solid var(--line); background: var(--glass);
  border-radius: 999px; padding: 4px 14px 4px 6px; margin-bottom: 28px;
}
.eyebrow b { background: var(--yellow); color: var(--bg); border-radius: 999px; padding: 0 9px; font-size: 12px; }
h1 {
  font-size: clamp(44px, 7vw, 84px); line-height: 1.12; letter-spacing: -0.02em;
  font-weight: 900; margin: 0 0 28px;
}
.grad-en { background: linear-gradient(100deg, var(--sky), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-mz { background: linear-gradient(100deg, #ffe08a, var(--yellow)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--muted); max-width: 30em; margin: 0 0 36px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* 動画のカード */
.player {
  position: relative; justify-self: center; width: min(100%, 380px);
  border-radius: 34px; padding: 8px;
  background: linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,.03));
  box-shadow: 0 40px 120px -20px rgba(124, 131, 255, .45), 0 0 0 1px var(--line);
}
.player video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 27px; background: #111; }
.player .cap {
  position: absolute; left: 22px; bottom: 22px; right: 22px; pointer-events: none;
  display: flex; justify-content: space-between; align-items: center; transition: opacity .3s;
}
.player.playing .cap { opacity: 0; }
.player .cap span {
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(7,8,26,.65); color: #fff; border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 700;
}
.play {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%;
  border: 0; cursor: pointer; background: rgba(255,255,255,.92); color: var(--bg);
  display: grid; place-items: center; box-shadow: 0 10px 40px rgba(0,0,0,.4); transition: transform .2s, opacity .3s;
}
.play:hover { transform: scale(1.06); }
.player.playing .play { opacity: 0; pointer-events: none; }

/* セクション */
section { padding: 96px 0 0; }
.kicker { color: var(--yellow); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; }
h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.25; letter-spacing: -0.015em; font-weight: 900; margin: 0 0 16px; }
.sec-lead { color: var(--muted); font-size: 17px; max-width: 36em; margin: 0 0 40px; }

/* ベントー */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tile {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; position: relative; overflow: hidden;
}
.tile h3 { font-size: 20px; margin: 0 0 8px; letter-spacing: -0.01em; }
.tile p { color: var(--muted); margin: 0; font-size: 15px; }
.tile .icon {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: rgba(124,131,255,.14); color: var(--blue);
}
.tile .icon.y { background: rgba(255,207,74,.14); color: var(--yellow); }
.tile .icon.s { background: rgba(94,200,255,.14); color: var(--sky); }
.t-demo { grid-column: span 4; grid-row: span 2; }
.t-a, .t-b { grid-column: span 2; }
.t-c, .t-d, .t-e { grid-column: span 2; }
.big-num { font-size: 56px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; margin-bottom: 10px; }

/* まぜ方の見本 */
.ratio { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: rgba(255,255,255,.06); margin-bottom: 20px; }
.ratio button {
  font: inherit; font-size: 14px; font-weight: 700; color: var(--muted); cursor: pointer;
  border: 0; background: transparent; border-radius: 999px; padding: 6px 16px; transition: background .2s, color .2s;
}
.ratio button.on { background: var(--fg); color: var(--bg); }
.script { list-style: none; margin: 0; padding: 0; }
.script li { display: grid; grid-template-columns: 3.6em 1fr; gap: 10px; padding: 4px 0; }
.script .who { color: var(--dim); font-size: 13px; text-align: right; padding-top: 2px; }
.script .say { font-weight: 500; }
.script .e { color: var(--sky); font-weight: 700; }
.script .j { color: var(--dim); }
.script li.new .say { animation: pop .45s ease; }
@keyframes pop { from { opacity: .2; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.legend { margin-top: 18px; font-size: 13px; color: var(--dim); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); margin-right: 6px; vertical-align: 1px; }

/* 会話 */
.eps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ep { border-radius: var(--radius); overflow: hidden; background: var(--glass); border: 1px solid var(--line); }
.ep video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #111; }
.ep .meta { padding: 16px 20px 18px; }
.ep .meta small { color: var(--yellow); font-weight: 800; font-size: 12px; letter-spacing: .08em; }
.ep .meta div { font-weight: 700; }
.cast { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.cast span { border: 1px solid var(--line); background: var(--glass); border-radius: 999px; padding: 6px 16px; font-size: 14px; color: var(--muted); }
.cast b { color: var(--fg); margin-right: 6px; }

/* 終わりの呼びかけ */
.end {
  margin: 112px 0 0; text-align: center; border-radius: 36px; padding: 72px 24px;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(124,131,255,.30), transparent 70%),
    var(--bg2);
  border: 1px solid var(--line);
}
.end img { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 24px; }
.end h2 { margin-bottom: 12px; }
.end p { color: var(--muted); margin: 0 0 32px; }
.end .cta { justify-content: center; }

footer { color: var(--dim); font-size: 13px; padding: 48px 0 64px; display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--fg); }

/* 出てくるときの動き */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* 文書ページ（プライバシーポリシー） */
.doc { max-width: 720px; margin: 0 auto; padding: 56px 16px 80px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin: 0 0 20px; }
.doc h2 { font-size: 20px; margin: 44px 0 10px; letter-spacing: 0; }
.doc p, .doc dd { color: #c9cbe0; }
.doc dt { font-weight: 800; color: var(--sky); margin-top: 18px; }
.doc dd { margin: 4px 0 0 1.2em; }
.doc a { color: var(--sky); }

@media (max-width: 860px) {
  .nav .links { display: none; }
  .nav .wrap { justify-content: space-between; }
  .hero { padding: 48px 0 72px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .t-demo { grid-column: 1 / -1; grid-row: auto; }
  .t-a, .t-b, .t-c, .t-d, .t-e { grid-column: span 1; }
  .tile { padding: 22px; }
  .eps { grid-template-columns: repeat(3, 78%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .eps::-webkit-scrollbar { display: none; }
  .ep { scroll-snap-align: start; }
  section { padding-top: 80px; }
  h2 { font-size: 25px; }
}
@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; }
  .big-num { font-size: 44px; }
  .btn { height: 46px; padding: 0 18px; }
}
