/* =========================================================
   LP宣伝LP — 近未来バイオレット
   主色: ウルトラバイオレット / サブ: ホロシアン / CTA: シグナルライム
   ========================================================= */

/* 見出し用フォント：Glow Sans SC ExtraBold（SIL Open Font License 1.1）。
   元のファイルは約9MBあるので、build_public.py が見出しに使う文字だけを取り出した WOFF2 を作る */
@font-face {
  font-family: "Glow Sans Title";
  src: url("../fonts/glow-title.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@property --ang {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --bg: #06041A;
  --bg-2: #0C0828;
  --bg-3: #140E3A;
  --violet: #8B5CFF;      /* 主色：紫外線のような青寄りの紫 */
  --violet-hi: #B79CFF;   /* 暗い背景の上で文字に使える明るい紫 */
  --violet-deep: #4B1FD1;
  --cyan: #3DE8FF;        /* サブ：ホログラムの水色 */
  --lime: #D4FF3A;        /* アクセント／CTA：紫の補色に近い黄緑 */
  --magenta: #FF4FD8;     /* 差し色：グラデーション内のみ */
  --text: #EFECFF;
  --muted: #A29CC8;
  --line: rgba(183, 156, 255, .16);
  --line-strong: rgba(183, 156, 255, .34);
  --ink: #0B0720;

  --f-display: "Unbounded", "Zen Kaku Gothic New", sans-serif;
  --f-jp: "M PLUS 2", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;   /* 本文 */
  --f-title: "Glow Sans Title", "M PLUS 2", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;   /* タイトル（見出し） */
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(80vw 60vh at 80% 0%, rgba(139, 92, 255, .22), transparent 60%),
    radial-gradient(60vw 50vh at 0% 100%, rgba(61, 232, 255, .08), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--f-jp);
  font-size: clamp(15px, .9rem + .15vw, 17px);
  line-height: 1.9;
  letter-spacing: .02em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body.is-loading { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }

::selection { background: var(--lime); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 10000;
  background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.pc { display: inline; }
.sp { display: none; }
@media (max-width: 767px) {
  .pc { display: none; }
  .sp { display: inline; }
}

/* ---------- 背景レイヤー ---------- */
#bg-shader, #bg-particles {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
#bg-shader { z-index: 0; transition: opacity .3s linear; }
#bg-particles { z-index: 1; }

.grain {
  position: fixed; inset: -50%; z-index: 3; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-4%, 3%); }
  50% { transform: translate(3%, -5%); }
  75% { transform: translate(-2%, -2%); }
  100% { transform: translate(0, 0); }
}

main, .footer { position: relative; z-index: 2; }

/* ---------- ローディング ---------- */
.loader {
  position: fixed; inset: 0; z-index: 9000;
  display: grid; place-items: center;
  /* JSが動かなかったときの保険：6秒後に必ず消える */
  animation: loaderFailsafe .01s linear 6s forwards;
}
.loader__panel {
  position: absolute; left: 0; right: 0; height: 50.5%;
  background: var(--bg);
  transition: transform 1.1s var(--ease-io);
}
.loader__panel--top { top: 0; border-bottom: 1px solid rgba(139, 92, 255, .5); }
.loader__panel--bottom { bottom: 0; border-top: 1px solid rgba(139, 92, 255, .5); }
.loader__core {
  position: relative; display: grid; justify-items: center; gap: 26px;
  transition: opacity .5s, transform .8s var(--ease-io);
}
.loader__ring { position: relative; width: 132px; height: 132px; }
.loader__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.loader__track { fill: none; stroke: rgba(183, 156, 255, .14); stroke-width: 2; }
.loader__arc {
  fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 339.3; stroke-dashoffset: 339.3;
  filter: drop-shadow(0 0 6px var(--lime));
}
.loader__pct {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; letter-spacing: .06em;
}
.loader__log {
  list-style: none; margin: 0; padding: 0; min-height: 5.4em;
  font-family: var(--f-mono); font-size: .72rem; color: var(--muted); letter-spacing: .08em;
  display: grid; gap: .2em; text-align: left; width: 300px;
}
.loader__log li { opacity: 0; animation: logIn .3s forwards; }
.loader__log li::before { content: "> "; color: var(--cyan); }
.loader__log li.ok::after { content: " [OK]"; color: var(--lime); }
@keyframes logIn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }

.loader.is-done .loader__panel--top { transform: translateY(-101%); }
.loader.is-done .loader__panel--bottom { transform: translateY(101%); }
.loader.is-done .loader__core { opacity: 0; transform: scale(1.3); }
.loader.is-gone { display: none; }
@keyframes loaderFailsafe { to { visibility: hidden; opacity: 0; } }

/* ---------- カーソル ---------- */
.cursor { display: none; }
html.has-cursor .cursor { display: block; }
html.has-cursor body, html.has-cursor a, html.has-cursor button, html.has-cursor label { cursor: none; }
html.has-cursor input, html.has-cursor textarea { cursor: text; }
.cursor__dot, .cursor__ring {
  position: fixed; left: 0; top: 0; z-index: 9500; pointer-events: none;
  border-radius: 50%;
}
.cursor__dot {
  width: 6px; height: 6px; margin: -3px 0 0 -3px;
  background: var(--lime); box-shadow: 0 0 12px var(--lime);
}
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(183, 156, 255, .7);
  display: grid; place-items: center;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out),
              background-color .35s, border-color .35s;
}
.cursor.is-hover .cursor__ring {
  width: 72px; height: 72px; margin: -36px 0 0 -36px;
  background: rgba(139, 92, 255, .14); border-color: var(--cyan);
}
.cursor.has-label .cursor__ring {
  width: 86px; height: 86px; margin: -43px 0 0 -43px;
  background: var(--lime); border-color: var(--lime);
}
.cursor__label {
  font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .14em;
  color: var(--ink); opacity: 0; transition: opacity .2s;
}
.cursor.has-label .cursor__label { opacity: 1; }
.cursor.is-down .cursor__ring { transform: scale(.8); }

/* ---------- 進捗バー・HUD ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 8000; pointer-events: none; }
.progress span {
  display: block; height: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--violet), var(--cyan), var(--lime));
  box-shadow: 0 0 12px rgba(61, 232, 255, .7);
}

.hud {
  position: fixed; right: 22px; top: 50%; z-index: 50;
  transform: translateY(-50%);
  display: grid; justify-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--muted);
  pointer-events: none;
}
.hud__num { color: var(--lime); font-weight: 600; }
.hud__bar { width: 2px; height: 120px; background: var(--line); position: relative; overflow: hidden; }
.hud__bar i {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  background: linear-gradient(var(--cyan), var(--violet));
  transform-origin: top; transform: scaleY(.125);
  transition: transform .6s var(--ease-out);
}
.hud__label { writing-mode: vertical-rl; }
@media (max-width: 1023px) { .hud { display: none; } }

/* ---------- ナビ ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 100;
  width: min(calc(100% - 24px), 1240px);
  transform: translate(-50%, -140%);
  display: flex; align-items: center; gap: 28px;
  padding: 10px 10px 10px 20px;
  border: 1px solid transparent; border-radius: 999px;
  transition: transform 1s var(--ease-out) .3s, background-color .4s, border-color .4s, backdrop-filter .4s;
}
.is-ready .nav { transform: translate(-50%, 0); }
.nav.is-scrolled {
  background: rgba(10, 7, 34, .62);
  border-color: var(--line);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.nav__logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__mark {
  width: 22px; height: 22px; border-radius: 7px; position: relative;
  background: conic-gradient(from var(--ang), var(--violet), var(--cyan), var(--lime), var(--magenta), var(--violet));
  animation: spin 5s linear infinite;
  box-shadow: 0 0 18px rgba(139, 92, 255, .7);
}
.nav__mark::after { content: ""; position: absolute; inset: 5px; border-radius: 3px; background: var(--bg); }
.nav__name { font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; letter-spacing: .02em; white-space: nowrap; }
@media (max-width: 480px) { .nav .nav__logo small { display: none; } }
.nav__logo small {
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .2em; color: var(--cyan);
  border: 1px solid rgba(61, 232, 255, .35); padding: 1px 6px; border-radius: 4px;
}
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a {
  position: relative; text-decoration: none; font-size: .88rem; font-weight: 500; color: var(--muted);
  transition: color .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; }

@keyframes spin { to { --ang: 360deg; } }

@media (max-width: 1023px) {
  .nav { gap: 12px; }
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__toggle {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line-strong); background: rgba(139, 92, 255, .12);
  }
  .nav__toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease-out); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(6, 4, 26, .94);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  display: grid; align-content: center; padding: 90px var(--gutter) 40px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; gap: 4px; }
.mobile-menu a {
  display: flex; align-items: baseline; gap: 14px;
  text-decoration: none; font-size: 1.6rem; font-weight: 900; padding: 8px 0;
  border-bottom: 1px solid var(--line);
  animation: menuIn .6s var(--ease-out) both;
}
.mobile-menu a:nth-child(2) { animation-delay: .04s; }
.mobile-menu a:nth-child(3) { animation-delay: .08s; }
.mobile-menu a:nth-child(4) { animation-delay: .12s; }
.mobile-menu a:nth-child(5) { animation-delay: .16s; }
.mobile-menu a:nth-child(6) { animation-delay: .2s; }
.mobile-menu a:nth-child(7) { animation-delay: .24s; }
.mobile-menu small { font-family: var(--f-mono); font-size: .75rem; color: var(--cyan); }
.mobile-menu__cta { color: var(--lime); border-bottom: 0 !important; margin-top: 16px; font-size: 1.2rem !important; }
@keyframes menuIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- ボタン ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .8em;
  padding: 1.05em 1.9em; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 1rem; letter-spacing: .05em; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform .45s var(--ease-out), box-shadow .4s, background-color .3s;
}
.btn span, .btn i { position: relative; z-index: 1; font-style: normal; }
.btn--lime {
  background: var(--lime); color: var(--ink);
  box-shadow: 0 0 0 1px rgba(212, 255, 58, .5), 0 12px 40px -10px rgba(212, 255, 58, .65);
}
.btn--lime::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .75) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 3.6s var(--ease-io) infinite 2s;
}
.btn--lime:hover { box-shadow: 0 0 0 1px rgba(212, 255, 58, .8), 0 16px 60px -8px rgba(212, 255, 58, .9); }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn--ghost {
  color: var(--text); background: rgba(139, 92, 255, .1);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn--ghost::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.btn--ghost:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--ghost:hover { color: var(--ink); }
.btn--sm { padding: .7em 1.3em; font-size: .88rem; }
.btn--block { width: 100%; }
.btn__arrow { transition: transform .4s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(5px); }

/* ---------- 共通の見出し ---------- */
.section { position: relative; padding-block: clamp(110px, 14vw, 200px); }
.sec-head { max-width: 860px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-no {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: .76rem; letter-spacing: .22em; color: var(--cyan);
  margin-bottom: 22px;
}
.sec-no::before { content: ""; width: 34px; height: 1px; background: currentColor; box-shadow: 0 0 8px currentColor; }
.sec-title {
  font-size: clamp(1.85rem, 1.1rem + 3.1vw, 3.7rem);
  font-weight: 900; line-height: 1.28; letter-spacing: .01em;
}
@media (max-width: 480px) { .sec-title { font-size: 1.6rem; } }
.sec-lead { margin-top: 22px; color: var(--muted); }
/* タイトル（見出し）は Glow Sans SC の ExtraBold（800）。
   開示情報ページ（.legal-page）は M PLUS 2 のままにするため外す */
body:not(.legal-page) :is(h1, h2, h3) { font-family: var(--f-title); font-weight: 800; }
.note { margin-top: 28px; font-size: .78rem; color: var(--muted); text-align: center; }

.grad-text {
  background: linear-gradient(100deg, var(--violet-hi) 0%, var(--violet) 30%, var(--cyan) 62%, var(--lime) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: gradShift 7s linear infinite;
}
@keyframes gradShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* ---------- 登場アニメーション ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(42px); filter: blur(8px);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out), filter 1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

.char {
  display: inline-block; white-space: pre;
  opacity: 0; transform: translateY(.55em) rotateX(-70deg); filter: blur(10px);
  transform-origin: 50% 100%;
  transition: opacity .8s var(--ease-out), transform 1s var(--ease-out), filter .8s var(--ease-out);
  transition-delay: calc(var(--ci) * 26ms);
}
.is-in .char { opacity: 1; transform: none; filter: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; align-items: center;
  padding: 130px 0 120px;
}
.hero__inner { position: relative; }
.eyebrow {
  font-family: var(--f-mono); font-size: .76rem; letter-spacing: .24em; color: var(--cyan);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; background: var(--lime); border-radius: 2px;
  box-shadow: 0 0 12px var(--lime); animation: blink 1.4s steps(2) infinite;
}
@keyframes blink { 50% { opacity: .15; } }

.hero__title {
  margin: .3em 0 .42em;
  font-size: clamp(2.9rem, 1.1rem + 7.6vw, 7.8rem);
  font-weight: 900; line-height: 1.08; letter-spacing: -.005em;
}
.line { display: block; overflow: hidden; padding: .04em 0 .1em; margin-bottom: -.06em; }
.line__in {
  display: inline-block; transform: translateY(115%);
  transition: transform 1.3s var(--ease-out);
}
.line:nth-child(2) .line__in { transition-delay: .12s; }
.is-ready .line__in { transform: none; }

/* 見出しのグリッチ */
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 0;
  -webkit-text-fill-color: currentColor; background: none;
  opacity: 0; pointer-events: none;
}
.glitch::before { color: var(--cyan); animation: glitchA 6s infinite 3s; }
.glitch::after { color: var(--magenta); animation: glitchB 6s infinite 3s; }
@keyframes glitchA {
  0%, 90%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 0 0); }
  91% { opacity: .9; transform: translate(-6px, 2px); clip-path: inset(10% 0 60% 0); }
  93% { opacity: .9; transform: translate(5px, -2px); clip-path: inset(55% 0 20% 0); }
  95% { opacity: .9; transform: translate(-3px, 1px); clip-path: inset(30% 0 45% 0); }
  96% { opacity: 0; }
}
@keyframes glitchB {
  0%, 90%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 0 0); }
  91.5% { opacity: .85; transform: translate(6px, -1px); clip-path: inset(65% 0 5% 0); }
  93.5% { opacity: .85; transform: translate(-5px, 2px); clip-path: inset(5% 0 70% 0); }
  95.5% { opacity: 0; }
}

.hero__lead { max-width: 640px; font-size: clamp(1rem, .9rem + .35vw, 1.18rem); color: #D6D1F5; line-height: 2; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__note {
  margin-top: 34px; display: inline-flex; align-items: center; gap: 12px;
  font-size: .86rem; color: var(--muted);
  padding: 8px 16px 8px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(12, 8, 40, .5);
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.pulse::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--lime);
  animation: pulse 1.8s var(--ease-out) infinite;
}
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.hero__frame { position: absolute; inset: 88px 22px 22px; pointer-events: none; }
.corner { position: absolute; width: 22px; height: 22px; border: 1px solid var(--line-strong); }
.corner--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.corner--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.corner--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.corner--br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hero__sys, .hero__coord {
  position: absolute; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .18em; color: var(--muted);
}
.hero__sys { top: 4px; right: 34px; display: inline-flex; align-items: center; gap: 8px; }
.hero__sys b { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); animation: blink 1s steps(2) infinite; }
.hero__coord { bottom: 4px; left: 34px; font-variant-numeric: tabular-nums; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 38px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .3em; color: var(--muted);
}
.scroll-cue i { width: 1px; height: 54px; background: var(--line-strong); position: relative; overflow: hidden; }
.scroll-cue i::after {
  content: ""; position: absolute; left: 0; top: -30%; width: 100%; height: 30%;
  background: var(--lime); box-shadow: 0 0 8px var(--lime);
  animation: cue 1.8s var(--ease-io) infinite;
}
@keyframes cue { to { top: 100%; } }

@media (max-width: 767px) {
  .hero { padding: 120px 0 110px; }
  .hero__frame { inset: 76px 10px 10px; }
  .hero__sys { right: 12px; font-size: .58rem; }
  .hero__coord { display: none; }
  .hero__cta .btn { flex: 1 1 100%; }
  .scroll-cue { display: none; }
}

/* ---------- 流れる帯 ---------- */
.ribbons { position: relative; z-index: 2; height: clamp(230px, 27vw, 400px); display: grid; place-items: center; overflow: hidden; }
.marquee {
  position: absolute; left: -5%; width: 110%;
  padding: 16px 0; overflow: hidden;
  border-block: 1px solid var(--line);
}
.marquee--a { transform: rotate(-7deg); background: rgba(40, 20, 110, .88); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 10px 40px -12px rgba(139, 92, 255, .7); }
.marquee--b { transform: rotate(6deg); background: var(--lime); color: var(--ink); border: 0; }
.marquee__track {
  display: flex; align-items: center; gap: 1.6rem; width: max-content;
  font-family: var(--f-display); font-weight: 900; font-size: clamp(1.4rem, 3.6vw, 3rem);
  line-height: 1.1; white-space: nowrap;
  animation: marquee 34s linear infinite;
}
.marquee--b .marquee__track { font-family: var(--f-jp); animation-direction: reverse; animation-duration: 28s; }
.marquee__track b { color: var(--cyan); font-weight: 400; }
.marquee--b .marquee__track b { color: var(--violet-deep); }
/* 縁取りだけの文字（両方の帯）。奥の帯は濃い背景の上でも読めるよう、少し太い水色の縁取りにする */
.marquee__track .o { color: transparent; -webkit-text-fill-color: transparent; }
.marquee--a .marquee__track .o { -webkit-text-stroke: 1.6px var(--cyan); }
.marquee--b .marquee__track .o { -webkit-text-stroke: 1.2px var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 767px) {
  /* 画面の幅が狭いと、同じ角度でも上下の開きが小さく、奥の帯が隠れてしまう。上下に離して重なりを減らす */
  .marquee--a { transform: translateY(-44px) rotate(-6deg); }
  .marquee--b { transform: translateY(44px) rotate(5deg); }
}

/* ---------- PROBLEM ---------- */
.errors {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-top: 72px; align-items: start;
}
.err {
  position: relative; overflow: hidden;
  padding: 0 26px 26px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 79, 216, .08), rgba(14, 9, 44, .7) 40%);
  border: 1px solid rgba(255, 79, 216, .28);
  box-shadow: 0 30px 80px -40px rgba(255, 79, 216, .45);
}
.err:nth-child(2) { margin-top: 56px; }
.err:nth-child(3) { margin-top: 112px; }
.err::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px);
}
.err::before {
  content: ""; position: absolute; left: 0; right: 0; height: 40%; top: -40%; pointer-events: none;
  background: linear-gradient(transparent, rgba(255, 79, 216, .12), transparent);
  animation: scan 4.5s linear infinite;
}
@keyframes scan { to { top: 110%; } }
.err__bar {
  display: flex; justify-content: space-between; align-items: center;
  margin: 0 -26px 22px; padding: 12px 26px;
  border-bottom: 1px solid rgba(255, 79, 216, .2); background: rgba(255, 79, 216, .06);
}
.err__code { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .2em; color: var(--magenta); animation: blink 2.2s steps(2) infinite; }
.err__dots { display: flex; gap: 6px; }
.err__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 79, 216, .35); }
.err__dots i:first-child { background: var(--magenta); }
.err h3 { font-size: clamp(1.14rem, 1rem + .5vw, 1.36rem); font-weight: 900; line-height: 1.5; margin-bottom: 14px; }
.err:hover h3 { animation: shake .4s steps(3) 1; }
@keyframes shake {
  0% { transform: translate(0); text-shadow: none; }
  33% { transform: translate(-3px, 1px); text-shadow: 3px 0 var(--cyan), -3px 0 var(--magenta); }
  66% { transform: translate(3px, -1px); text-shadow: -3px 0 var(--cyan), 3px 0 var(--magenta); }
  100% { transform: translate(0); text-shadow: none; }
}
.err p { font-size: .92rem; color: var(--muted); }
.err__meter { margin-top: 22px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.err__meter span {
  display: block; height: 100%; width: var(--w); background: var(--magenta); box-shadow: 0 0 10px var(--magenta);
  transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-out) .5s;
}
.err.is-in .err__meter span { transform: scaleX(1); }
.err .err__stat { margin-top: 8px; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .2em; color: var(--magenta); }

.problem__turn {
  margin-top: clamp(80px, 10vw, 140px);
  text-align: center; font-size: clamp(1.2rem, .9rem + 1.3vw, 2rem); font-weight: 700; line-height: 1.7;
}
.problem__turn strong {
  background: linear-gradient(90deg, var(--cyan), var(--lime));
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}

@media (max-width: 900px) {
  .errors { grid-template-columns: 1fr; }
  .err:nth-child(2), .err:nth-child(3) { margin-top: 0; }
}

/* ---------- SERVICE（ホロカード） ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 72px; align-items: start; }
.card-wrap:nth-child(2) { margin-top: 64px; }
.card {
  position: relative; border-radius: 24px; padding: 1px;
  background: conic-gradient(from var(--ang), rgba(139, 92, 255, .9), rgba(61, 232, 255, .9), rgba(212, 255, 58, .7), rgba(255, 79, 216, .8), rgba(139, 92, 255, .9));
  animation: spin 7s linear infinite;
  transform-style: preserve-3d;
  transition: transform .6s var(--ease-out), box-shadow .5s;
  box-shadow: 0 40px 90px -40px rgba(139, 92, 255, .7);
  will-change: transform;
}
.card:hover { box-shadow: 0 50px 120px -30px rgba(61, 232, 255, .5); }
.card__in {
  position: relative; overflow: hidden; height: 100%;
  padding: 36px 30px 32px; border-radius: 23px;
  background: linear-gradient(160deg, rgba(26, 18, 74, .96), rgba(9, 6, 30, .98));
}
.card__holo {
  position: absolute; inset: 1px; border-radius: 23px; z-index: 2; pointer-events: none;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .2), transparent 42%),
    linear-gradient(115deg, transparent 20%, rgba(61, 232, 255, .18) 38%, rgba(255, 79, 216, .16) 52%, rgba(212, 255, 58, .12) 62%, transparent 78%);
  background-size: 100% 100%, 260% 260%;
  background-position: 0 0, var(--hx, 50%) var(--hy, 50%);
  mix-blend-mode: screen; opacity: 0; transition: opacity .4s;
}
.card:hover .card__holo { opacity: 1; }
.card__no {
  position: absolute; top: 14px; right: 22px;
  font-family: var(--f-display); font-weight: 900; font-size: 4.6rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(183, 156, 255, .28);
}
.card__icon {
  width: 58px; height: 58px; margin-bottom: 28px;
  fill: none; stroke: url(#iconGrad); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(61, 232, 255, .45));
}
.card__title { font-size: 1.55rem; font-weight: 900; line-height: 1.3; margin-bottom: 16px; }
.card__title small {
  display: block; margin-top: 6px;
  font-family: var(--f-mono); font-size: .68rem; font-weight: 400; letter-spacing: .24em; color: var(--cyan);
}
.card__in > p { font-size: .93rem; color: #CCC6EC; }
.card__in > .card__plus {
  margin-top: 14px; padding: 12px 14px; border-radius: 10px;
  font-size: .85rem; color: var(--text);
  background: rgba(61, 232, 255, .07); border: 1px solid rgba(61, 232, 255, .22);
}
.tags { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-size: .74rem; padding: 4px 11px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--violet-hi); background: rgba(139, 92, 255, .08);
}
.card__in > .card__after {
  margin-top: 26px; padding-top: 18px; border-top: 1px dashed var(--line-strong);
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; color: var(--text); font-size: .95rem;
}
.card__after span {
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .18em;
  background: var(--lime); color: var(--ink); padding: 3px 8px; border-radius: 4px; font-weight: 600;
}
@media (max-width: 1023px) {
  .cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .card-wrap:nth-child(2) { margin-top: 0; }
}

/* ---------- BUILD（スクロールで組み上がる画面） ---------- */
.build { position: relative; height: 440vh; }
.build__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; align-items: center; overflow: hidden;
}
.build__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.build__hint { margin-top: 18px; font-size: .86rem; color: var(--muted); }
.steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 4px; }
.step {
  padding: 12px 18px; border-left: 2px solid var(--line);
  opacity: .38; transition: opacity .5s, border-color .5s, background-color .5s;
}
.step__no { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .2em; color: var(--cyan); }
.step h3 { font-size: 1.2rem; font-weight: 900; line-height: 1.5; }
.step p {
  font-size: .88rem; color: var(--muted);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .6s var(--ease-out), opacity .5s;
}
.step.is-active {
  opacity: 1; border-color: var(--lime);
  background: linear-gradient(90deg, rgba(212, 255, 58, .08), transparent 80%);
}
.step.is-active p { max-height: 6em; opacity: 1; }
.build__meter { margin-top: 26px; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.build__meter span {
  display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--violet), var(--cyan), var(--lime));
}

.build__stage { position: relative; }
.build__tag {
  position: absolute; top: -34px; right: 6px;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .24em; color: var(--lime);
  padding: 4px 10px; border: 1px solid rgba(212, 255, 58, .4); border-radius: 4px;
}
.browser {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-strong);
  background: rgba(9, 6, 30, .88);
  box-shadow: 0 50px 140px -40px rgba(139, 92, 255, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
  transform: perspective(1800px) rotateY(-12deg) rotateX(5deg);
  transition: transform 1.2s var(--ease-out), box-shadow 1s;
}
.build.s3 .browser {
  transform: perspective(1800px) rotateY(-4deg) rotateX(2deg);
  box-shadow: 0 60px 160px -40px rgba(61, 232, 255, .45), 0 0 0 1px rgba(61, 232, 255, .25);
}
.browser__bar {
  height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 14px;
  border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02);
}
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(183, 156, 255, .25); }
.browser__bar i:nth-child(1) { background: #FF5F7E; }
.browser__bar i:nth-child(2) { background: #FFC24B; }
.browser__bar i:nth-child(3) { background: #45E08A; }
.browser__url {
  margin-left: 14px; flex: 1; max-width: 300px;
  font-family: var(--f-mono); font-size: .66rem; color: var(--muted);
  padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, .05);
}
.browser__body {
  position: relative; container-type: inline-size;
  aspect-ratio: 16 / 11; padding: 3.2cqw 4cqw;
  transition: background 1s;
}
.build.s2 .browser__body {
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(139, 92, 255, .38), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(61, 232, 255, .16), transparent 70%),
    #0B0724;
}

/* 見本LPの中身（骨組み状態が基本） */
.w {
  position: relative; color: transparent;
  background: rgba(183, 156, 255, .05);
  outline: 1px dashed rgba(183, 156, 255, .38); outline-offset: -1px;
  border-radius: .6cqw;
  transition: color .8s var(--ease-out), background .9s var(--ease-out), outline-color .6s, box-shadow .9s, transform .9s var(--ease-out);
}
.w::after {
  content: attr(data-wf);
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--f-mono); font-size: 1.15cqw; letter-spacing: .2em; color: rgba(183, 156, 255, .6);
  transition: opacity .4s;
}
.w em { font-style: normal; }
.m-nav { display: flex; align-items: center; gap: 3cqw; }
.m-logo { font-family: var(--f-display); font-weight: 700; font-size: 1.9cqw; padding: .4cqw 1.2cqw; }
.m-links { display: flex; gap: 2cqw; margin-left: auto; }
.m-links i { width: 5cqw; height: .7cqw; border-radius: 1cqw; background: rgba(183, 156, 255, .2); }
.m-btn { font-size: 1.4cqw; padding: .8cqw 2.2cqw; border-radius: 99px; }
.m-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4cqw; margin-top: 5cqw; align-items: center; }
.m-copy { display: grid; justify-items: start; gap: 1.6cqw; }
.m-eyebrow { font-size: 1.35cqw; padding: .3cqw 1cqw; letter-spacing: .1em; }
.m-h { font-size: 3.7cqw; font-weight: 900; line-height: 1.32; padding: .4cqw 1cqw; }
.m-p { font-size: 1.45cqw; line-height: 1.7; padding: .3cqw 1cqw; }
.m-cta { font-size: 1.5cqw; font-weight: 700; padding: 1.2cqw 2.6cqw; border-radius: 1cqw; margin-top: .6cqw; }
.m-visual { position: relative; aspect-ratio: 1; border-radius: 2cqw; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; opacity: 0; transition: opacity 1s; }
.orb { width: 70%; height: 70%; left: 15%; top: 15%; background: radial-gradient(circle at 35% 30%, #fff, var(--violet) 35%, var(--violet-deep) 70%, transparent 72%); }
.orb--2 { width: 26%; height: 26%; left: 64%; top: 8%; background: radial-gradient(circle at 35% 30%, #fff, var(--cyan) 45%, transparent 70%); }
.orb--3 { width: 18%; height: 18%; left: 10%; top: 70%; background: radial-gradient(circle at 35% 30%, #fff, var(--lime) 45%, transparent 70%); }
.m-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; margin-top: 5cqw; }
.m-card { display: flex; align-items: center; gap: 1.4cqw; padding: 1.8cqw; border-radius: 1.4cqw; }
.m-card b { width: 3.6cqw; height: 3.6cqw; border-radius: 1cqw; background: rgba(183, 156, 255, .18); flex: none; transition: background .9s; }
.m-card span { font-size: 1.4cqw; font-weight: 700; }
.m-cursor {
  position: absolute; left: 70%; top: 90%; width: 2.4cqw; height: 2.4cqw; opacity: 0;
  background: #fff; clip-path: polygon(0 0, 100% 62%, 55% 66%, 40% 100%);
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, .6));
}

/* STEP 02：言葉が入る */
.build.s1 .w { color: #BDB7DD; }
.build.s1 .w::after { opacity: 0; }
/* STEP 03：色がつく */
.build.s2 .w { outline-color: transparent; background: transparent; }
.build.s2 .m-logo { color: #fff; }
.build.s2 .m-btn { color: var(--ink); background: #fff; }
.build.s2 .m-eyebrow { color: var(--cyan); background: rgba(61, 232, 255, .1); border-radius: 99px; }
.build.s2 .m-h { color: #fff; }
.build.s2 .m-h em {
  background: linear-gradient(90deg, var(--violet-hi), var(--cyan), var(--lime));
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.build.s2 .m-p { color: #C9C3EA; }
.build.s2 .m-cta { color: var(--ink); background: var(--lime); box-shadow: 0 1cqw 3cqw -1cqw rgba(212, 255, 58, .7); }
.build.s2 .m-visual { background: radial-gradient(circle at 50% 60%, rgba(139, 92, 255, .4), rgba(12, 8, 40, .2)); box-shadow: inset 0 0 0 1px rgba(183, 156, 255, .25); }
.build.s2 .orb { opacity: 1; }
.build.s2 .m-card { color: #fff; background: rgba(139, 92, 255, .12); box-shadow: inset 0 0 0 1px rgba(183, 156, 255, .25); }
.build.s2 .m-card b { background: linear-gradient(135deg, var(--violet), var(--cyan)); }
.build.s2 .m-links i { background: rgba(255, 255, 255, .3); }
/* STEP 04：動きがつく */
.build.s3 .orb { animation: orbFloat 4s var(--ease-io) infinite alternate; }
.build.s3 .orb--2 { animation-duration: 3s; animation-delay: -1s; }
.build.s3 .orb--3 { animation-duration: 3.6s; animation-delay: -2s; }
.build.s3 .m-cta { animation: ctaPulse 1.8s var(--ease-out) infinite; }
.build.s3 .m-card { animation: cardBob 3s var(--ease-io) infinite; }
.build.s3 .m-card:nth-child(2) { animation-delay: -1s; }
.build.s3 .m-card:nth-child(3) { animation-delay: -2s; }
.build.s3 .m-h em { background-size: 200% 100%; animation: gradShift 3s linear infinite; }
.build.s3 .m-cursor { animation: cursorMove 3.4s var(--ease-io) infinite; }
@keyframes orbFloat { to { transform: translate(6%, -8%) scale(1.06); } }
@keyframes ctaPulse {
  0% { box-shadow: 0 0 0 0 rgba(212, 255, 58, .7); }
  100% { box-shadow: 0 0 0 2.4cqw rgba(212, 255, 58, 0); }
}
@keyframes cardBob { 50% { transform: translateY(-1cqw); } }
@keyframes cursorMove {
  0% { left: 80%; top: 95%; opacity: 0; }
  15% { opacity: 1; }
  45%, 60% { left: 18%; top: 57%; opacity: 1; transform: scale(1); }
  52% { transform: scale(.8); }
  85% { opacity: 1; }
  100% { left: 80%; top: 95%; opacity: 0; }
}

@media (max-width: 900px) {
  .build { height: 380vh; }
  .build__sticky { align-items: flex-start; padding-top: 84px; }
  .build__grid { grid-template-columns: 1fr; gap: 18px; }
  .build .sec-no { margin-bottom: 10px; }
  .build .sec-title { font-size: 1.6rem; }
  .build__hint { display: none; }
  .steps { margin-top: 14px; }
  .step { display: none; }
  .step.is-active { display: block; }
  .build__meter { margin-top: 12px; }
  .build__stage { margin-top: 30px; }
  .browser, .build.s3 .browser { transform: none; }
}

/* ---------- THUMBNAIL（比較スライダー） ---------- */
.compare-wrap { max-width: 1000px; margin: 60px auto 0; }
.compare {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 60px 140px -50px rgba(139, 92, 255, .8);
  container-type: inline-size;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.thumb { position: absolute; inset: 0; background: #0A0428; }
.thumb img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  pointer-events: none; -webkit-user-drag: none;
}
/* アフター画像は、つまみの位置より右側だけを見せる */
.thumb--after { clip-path: inset(0 0 0 var(--pos)); }

.compare__line {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: var(--lime); box-shadow: 0 0 18px var(--lime); pointer-events: none;
}
.compare__handle {
  position: absolute; top: 50%; left: var(--pos);
  width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  border: 0; background: var(--lime); color: var(--ink);
  font-size: .7rem; letter-spacing: -.1em; font-weight: 900; cursor: grab;
  box-shadow: 0 0 0 6px rgba(212, 255, 58, .2), 0 10px 30px rgba(0, 0, 0, .5);
  transition: box-shadow .3s;
}
.compare__handle:hover, .compare.is-drag .compare__handle { box-shadow: 0 0 0 12px rgba(212, 255, 58, .22), 0 10px 30px rgba(0, 0, 0, .5); }
/* 画像の四隅は中身が詰まっているので、札は枠の外（上）に置く */
.compare__labels { display: flex; justify-content: space-between; margin-bottom: 12px; }
.compare__lbl {
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .2em; font-weight: 600;
  padding: 4px 10px; border-radius: 4px;
}
.compare__lbl--l { background: rgba(255, 255, 255, .12); color: #fff; }
.compare__lbl--r { background: var(--lime); color: var(--ink); }

.points { list-style: none; padding: 0; margin: 64px auto 0; max-width: 1000px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.points li { padding: 24px; border-radius: 14px; border: 1px solid var(--line); background: rgba(12, 8, 40, .55); }
.points span { font-family: var(--f-mono); font-size: .72rem; color: var(--lime); letter-spacing: .2em; }
.points h3 { font-size: 1.1rem; font-weight: 900; margin: 6px 0 8px; }
.points p { font-size: .88rem; color: var(--muted); }
@media (max-width: 767px) {
  .points { grid-template-columns: 1fr; }
  .compare__handle { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
}

/* ---------- BANNER（3D回転ギャラリー） ---------- */
.carousel {
  --r: 440px;
  position: relative; height: clamp(440px, 56vw, 580px); margin-top: 30px;
  perspective: 1700px; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  cursor: grab;
}
.carousel.is-drag { cursor: grabbing; }
.carousel__ring { position: absolute; left: 50%; top: 46%; width: 0; height: 0; transform-style: preserve-3d; }
.bn {
  position: absolute; left: -130px; top: -150px; width: 260px; margin: 0;
  transform: rotateY(var(--a)) translateZ(var(--r));
}
.bn__frame {
  width: 260px; height: 260px; padding: 16px; border-radius: 18px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(30, 20, 84, .9), rgba(10, 6, 34, .95));
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 70px -30px rgba(139, 92, 255, .8);
}
.bn figcaption {
  margin-top: 14px; text-align: center;
  font-family: var(--f-mono); font-size: .8rem; font-weight: 600; letter-spacing: .12em; color: var(--lime);
}
.bn figcaption span { display: block; font-family: var(--f-jp); font-size: .74rem; font-weight: 500; letter-spacing: .05em; color: var(--muted); }
/* バナー画像：枠（内側228px四方）に、縦横比を保ったまま収める */
.bn__img {
  display: block; width: auto; height: auto; max-width: 228px; max-height: 228px;
  border-radius: 4px; box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
  pointer-events: none; -webkit-user-drag: none; user-select: none;
}

@media (max-width: 767px) {
  .carousel { --r: 250px; height: 440px; }
  .bn { transform: rotateY(var(--a)) translateZ(var(--r)) scale(.78); }
}

/* ---------- PROOF ---------- */
.proof__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.proof__head { position: sticky; top: 120px; }
.proof__lead { margin-top: 24px; color: var(--muted); }
.big-count { margin-top: 40px; display: flex; align-items: flex-end; gap: 18px; }
.big-count__num {
  font-family: var(--f-display); font-weight: 900; font-size: clamp(5.5rem, 3rem + 8vw, 10rem); line-height: .9;
  background: linear-gradient(160deg, #fff, var(--violet-hi) 40%, var(--cyan) 75%, var(--lime));
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(139, 92, 255, .5));
  font-variant-numeric: tabular-nums;
}
.big-count small { font-size: .88rem; color: var(--muted); line-height: 1.6; padding-bottom: 12px; }
.tech { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tech li {
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 4px;
  padding: 18px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(12, 8, 40, .6);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: border-color .4s, background-color .4s, translate .5s var(--ease-out);
}
.tech li:hover { border-color: rgba(61, 232, 255, .55); background: rgba(61, 232, 255, .06); translate: 6px 0; }
.tech span { grid-row: span 2; font-family: var(--f-mono); font-size: .76rem; color: var(--cyan); padding-top: 3px; }
.tech b { font-size: .98rem; font-weight: 900; line-height: 1.5; }
.tech em { font-style: normal; font-size: .8rem; color: var(--muted); line-height: 1.7; }
@media (max-width: 1023px) {
  .proof__grid { grid-template-columns: 1fr; }
  .proof__head { position: static; }
}
@media (max-width: 600px) { .tech { grid-template-columns: 1fr; } }

/* ---------- 料金（PRICE） ---------- */
.sec-lead sup { font-size: .7em; color: var(--muted); margin-left: 1px; }
.prices { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 20px; margin-top: 64px; align-items: stretch; }
.price-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: 30px 28px 28px; border-radius: 20px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(170deg, rgba(26, 18, 74, .82), rgba(9, 6, 30, .92));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: border-color .4s, translate .5s var(--ease-out), box-shadow .5s;
}
.price-card:hover { translate: 0 -6px; border-color: rgba(61, 232, 255, .55); box-shadow: 0 30px 80px -40px rgba(61, 232, 255, .6); }
/* LP制作のカードだけ、回る光の枠で目立たせる */
.price-card--main { border-color: transparent; }
.price-card--main::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ang), var(--violet), var(--cyan), var(--lime), var(--magenta), var(--violet));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 6s linear infinite;
}
.price-card__tag { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .24em; color: var(--cyan); }
.price-card__name { margin-top: 6px; font-size: 1.3rem; font-weight: 900; }
.price-card__amount { margin-top: 18px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.price-card__num {
  font-family: var(--f-display); font-weight: 900; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.1rem); line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, #fff, var(--violet-hi) 45%, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.price-card--main .price-card__num { font-size: clamp(2.6rem, 1.8rem + 2.8vw, 3.9rem); background: linear-gradient(120deg, #fff, var(--lime) 60%, var(--cyan)); -webkit-background-clip: text; background-clip: text; }
.price-card__amount small { font-size: .82rem; color: var(--muted); }
.price-card__unit { margin-top: 8px; font-size: .88rem; color: #D6D1F5; }
.price-card__list { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px dashed var(--line-strong); display: grid; gap: 12px; }
.price-card__list li { font-size: .84rem; line-height: 1.7; color: var(--muted); }
.price-card__list b { display: block; font-size: .74rem; color: var(--text); letter-spacing: .06em; }
.price-common {
  list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px;
}
.price-common li {
  font-size: .82rem; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(139, 92, 255, .08); color: #D6D1F5;
}
.price-note { margin-top: 22px; font-size: .76rem; line-height: 1.8; color: var(--muted); }
.price-note a { color: var(--cyan); text-underline-offset: 3px; }
@media (max-width: 1023px) {
  .prices { grid-template-columns: 1fr; max-width: 560px; }
}

/* ---------- よくある質問（FAQ） ---------- */
.faq__list { margin-top: 56px; display: grid; gap: 12px; max-width: 900px; }
.qa {
  border: 1px solid var(--line); border-radius: 16px;
  background: rgba(12, 8, 40, .62);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: border-color .35s, background-color .35s;
}
.qa[open] { border-color: rgba(61, 232, 255, .45); background: rgba(20, 14, 58, .78); }
.qa summary {
  position: relative; display: flex; align-items: center; gap: 16px;
  padding: 20px 60px 20px 22px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: clamp(.95rem, .9rem + .2vw, 1.05rem); line-height: 1.6;
}
.qa summary::-webkit-details-marker { display: none; }
/* 右端の＋印：開くと×に回る */
.qa summary::before, .qa summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 16px; height: 2px; margin-top: -1px;
  background: var(--lime); border-radius: 2px; transition: transform .45s var(--ease-out);
}
.qa summary::after { transform: rotate(90deg); }
.qa[open] summary::before { transform: rotate(135deg); }
.qa[open] summary::after { transform: rotate(225deg); }
.qa summary:hover { color: #fff; }
.qa__q {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
  font-family: var(--f-display); font-size: .85rem; color: var(--ink); background: var(--lime);
}
.qa__a { padding: 0 24px 22px 70px; }
.qa__a p { font-size: .92rem; color: #D2CDEF; }
/* 開いたとき、答えが上から滑り出る */
.qa[open] .qa__a { animation: qaOpen .55s var(--ease-out); }
@keyframes qaOpen { from { opacity: 0; transform: translateY(-8px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@media (max-width: 600px) {
  .qa summary { padding: 16px 52px 16px 16px; gap: 12px; }
  .qa__a { padding: 0 18px 18px 18px; }
}

/* ---------- 見出し（h1）の中の小見出し ---------- */
.hero__kicker { display: flex; width: fit-content; margin-bottom: 1.1rem; font-weight: 500; line-height: 1.6; }
.hero__price {
  margin-top: 26px; display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px;
  padding: 12px 20px; border-radius: 14px;
  border: 1px solid rgba(212, 255, 58, .35); background: rgba(212, 255, 58, .06);
}
.hero__price span { font-size: .82rem; font-weight: 700; color: var(--lime); letter-spacing: .08em; }
.hero__price b { font-family: var(--f-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 900; line-height: 1; }
.hero__price b small { margin-left: 4px; font-family: var(--f-jp); font-size: .8rem; font-weight: 700; color: #D6D1F5; }
.hero__price em { font-style: normal; font-size: .8rem; color: var(--muted); }

/* ---------- FLOW（伸びる線） ---------- */
.flow__lead { max-width: 640px; }
.timeline { position: relative; margin-top: 80px; }
.timeline__line { position: absolute; left: 28px; right: 28px; top: 28px; height: 2px; background: var(--line); }
.timeline__line i {
  position: absolute; inset: 0; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--violet), var(--cyan), var(--lime));
  box-shadow: 0 0 14px rgba(61, 232, 255, .8);
}
.timeline__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.tl__dot {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  font-family: var(--f-display); font-weight: 700; font-size: .95rem;
  background: var(--bg-2); border: 1px solid var(--line-strong); color: var(--muted);
  transition: background-color .5s, color .5s, border-color .5s, box-shadow .5s;
}
.tl.is-on .tl__dot { background: var(--lime); border-color: var(--lime); color: var(--ink); box-shadow: 0 0 0 8px rgba(212, 255, 58, .14), 0 0 30px rgba(212, 255, 58, .6); }
.tl h3 { margin: 22px 0 8px; font-size: 1.2rem; font-weight: 900; }
.tl p { font-size: .9rem; color: var(--muted); }
.tl { opacity: .45; transition: opacity .6s; }
.tl.is-on { opacity: 1; }
@media (max-width: 900px) {
  .timeline__line { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; }
  .timeline__line i { transform-origin: top; transform: scaleY(0); }
  .timeline__list { grid-template-columns: 1fr; gap: 36px; }
  .tl { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; }
  .tl__dot { grid-row: span 2; }
  .tl h3 { margin: 12px 0 4px; }
}

/* ---------- CONTACT ---------- */
.contact { overflow: hidden; }
.contact__halo {
  position: absolute; left: 50%; top: 50%; width: 1100px; height: 1100px; margin: -550px 0 0 -550px;
  border-radius: 50%; pointer-events: none; opacity: .35;
  background: conic-gradient(from var(--ang), transparent, var(--violet), transparent 30%, var(--cyan), transparent 60%, var(--magenta), transparent);
  filter: blur(90px);
  animation: spin 16s linear infinite;
}
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__title { font-size: clamp(2.4rem, 1rem + 5vw, 5.4rem); font-weight: 900; line-height: 1.15; }
.contact__lead { margin-top: 28px; color: #D6D1F5; max-width: 480px; }
.contact__facts { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 10px; font-size: .9rem; }
.contact__facts li { display: flex; align-items: baseline; gap: 12px; }
.contact__facts span {
  flex: none; width: 60px; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .18em; color: var(--cyan);
}
.contact__facts a { color: var(--lime); text-underline-offset: 4px; }

.form {
  padding: clamp(24px, 3vw, 40px); border-radius: 22px;
  background: linear-gradient(160deg, rgba(26, 18, 74, .78), rgba(9, 6, 30, .88));
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 50px 120px -50px rgba(139, 92, 255, .8);
  display: grid; gap: 20px;
}
.form__row { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.form label, .form legend { font-size: .88rem; font-weight: 700; }
.form label b, .form legend b {
  margin-left: 8px; font-size: .64rem; padding: 2px 7px; border-radius: 4px;
  background: rgba(212, 255, 58, .15); color: var(--lime); font-weight: 700; vertical-align: 2px;
}
.form input[type="text"], .form input[type="email"], .form textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  background: rgba(6, 4, 26, .7); border: 1px solid var(--line-strong); color: var(--text);
  font: inherit; font-size: 1rem;
  transition: border-color .3s, box-shadow .3s;
}
.form textarea { resize: vertical; min-height: 130px; line-height: 1.7; }
.form input::placeholder, .form textarea::placeholder { color: rgba(162, 156, 200, .6); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(61, 232, 255, .15), 0 0 24px rgba(61, 232, 255, .25); }
.form [aria-invalid="true"] { border-color: var(--magenta) !important; }
.form__err { min-height: 0; font-size: .8rem; color: var(--magenta); }
.form__err:empty { display: none; }
.form__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.form__chips legend { margin-bottom: 10px; width: 100%; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span {
  display: inline-block; padding: 8px 16px; border-radius: 999px; font-size: .84rem; font-weight: 500;
  border: 1px solid var(--line-strong); background: rgba(139, 92, 255, .08);
  transition: background-color .3s, color .3s, border-color .3s;
}
.chip input:checked + span { background: var(--violet); border-color: var(--violet); color: #fff; box-shadow: 0 0 20px rgba(139, 92, 255, .6); }
.chip input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.form__status { font-size: .86rem; color: var(--cyan); min-height: 1.4em; }
.form label i {
  margin-left: 8px; font-size: .64rem; font-style: normal; padding: 2px 7px; border-radius: 4px;
  background: rgba(183, 156, 255, .12); color: var(--muted); font-weight: 700; vertical-align: 2px;
}

/* 同意のチェック：押せる範囲を文章全体に広げる */
.consent { position: relative; display: flex; align-items: flex-start; gap: 12px; font-weight: 500 !important; font-size: .84rem !important; line-height: 1.7; cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.consent__box {
  flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px;
  border: 1.5px solid var(--line-strong); background: rgba(6, 4, 26, .7);
  display: grid; place-items: center; transition: background-color .25s, border-color .25s, box-shadow .25s;
}
.consent__box::after {
  content: ""; width: 6px; height: 11px; margin-top: -2px;
  border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0);
  transition: transform .25s var(--ease-out);
}
.consent input:checked + .consent__box { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 16px rgba(212, 255, 58, .5); }
.consent input:checked + .consent__box::after { transform: rotate(45deg) scale(1); }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--lime); outline-offset: 2px; }
.consent input[aria-invalid="true"] + .consent__box { border-color: var(--magenta); }
.consent__text a { color: var(--cyan); text-underline-offset: 3px; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--line); padding: 44px 0 36px; background: rgba(6, 4, 26, .7); }
.footer__in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 28px; }
.footer__copy { font-size: .84rem; color: var(--muted); }
.footer__top { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .2em; text-decoration: none; color: var(--lime); display: inline-block; transition: transform .45s var(--ease-out); }
.footer__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .78rem; }
.footer__legal a { color: var(--muted); text-underline-offset: 3px; transition: color .3s; }
.footer__legal a:hover { color: var(--text); }
.footer__c { grid-column: 1 / -1; font-family: var(--f-mono); font-size: .7rem; color: var(--muted); letter-spacing: .1em; }
@media (max-width: 767px) { .footer__in { grid-template-columns: 1fr; } }

/* ---------- 動きを減らす設定への対応 ----------
   OSの設定を読んだ結果、<html> に .reduce-motion が付いたときだけ動きを止める。
   本人がボタンで動きをオンにすれば、このクラスは付かない */
html.reduce-motion { scroll-behavior: auto; }
.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after {
  animation-duration: .001ms !important; animation-iteration-count: 1 !important;
  transition-duration: .001ms !important; transition-delay: 0s !important;
}
.reduce-motion [data-reveal], .reduce-motion .char, .reduce-motion .line__in {
  opacity: 1 !important; transform: none !important; filter: none !important;
}
.reduce-motion .grain { display: none; }

/* 動きのオン／オフ切り替えボタン（OSで動きを減らしている人と、動きを止めた人にだけ出す） */
.motion-toggle {
  position: fixed; left: 16px; bottom: 16px; z-index: 120;
  display: none; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(10, 7, 34, .85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: .78rem; line-height: 1.4; text-align: left; cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}
html.sys-reduce .motion-toggle, html.reduce-motion .motion-toggle { display: inline-flex; }
.motion-toggle b { display: block; color: var(--lime); font-size: .86rem; }
.motion-toggle__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); flex: none; }
.motion-toggle__on { display: none; }
html:not(.reduce-motion) .motion-toggle__on { display: block; }
html:not(.reduce-motion) .motion-toggle__off { display: none; }
html:not(.reduce-motion) .motion-toggle { opacity: .75; }
.motion-toggle:hover { border-color: var(--lime); opacity: 1; }
@media (max-width: 767px) {
  /* スマートフォンでは本文を隠さないよう、ボタンの文言だけにする */
  .motion-toggle { left: 10px; bottom: 10px; padding: 7px 12px 7px 10px; font-size: 0; gap: 8px; }
  .motion-toggle b { font-size: .74rem; }
}
