/* ============ 基本 ============ */
:root {
  --ink: #0b0d17;
  --ink-2: #1a1d2e;
  --paper: #f5f4f0;
  --paper-2: #ebe9e3;
  --muted: #6b6f80;
  --line: rgba(11, 13, 23, .12);
  --blue: #2f6bff;
  --cyan: #19d3c5;
  --pink: #ff4f8b;
  --grad: linear-gradient(120deg, var(--blue), var(--cyan) 55%, var(--pink));
  --ease: cubic-bezier(.22, 1, .36, 1);
  --en: "Space Grotesk", "Zen Kaku Gothic New", sans-serif;
  --ja: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ja);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  letter-spacing: .02em;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
::selection { background: var(--blue); color: #fff; }

.container { width: min(1200px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(96px, 14vw, 180px) 0; position: relative; }

.label {
  font-family: var(--en);
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.label--light { color: var(--cyan); }

.h2 {
  font-size: clamp(2rem, 5.2vw, 4rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: .01em;
}
.h2--sm { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.h2--light { color: #fff; }
.section__head { margin-bottom: clamp(48px, 7vw, 88px); }
.section__lead { margin-top: 24px; color: var(--muted); max-width: 36em; }

/* ============ ローダー ============ */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--ink);
  display: grid; place-content: center; gap: 28px;
  transition: clip-path 1s var(--ease);
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__word { display: flex; gap: .08em; font-family: var(--en); font-weight: 700; font-size: clamp(3rem, 12vw, 7rem); color: #fff; overflow: hidden; line-height: 1; }
.loader__word span { display: inline-block; transform: translateY(110%); animation: rise .8s var(--ease) forwards; }
.loader__word span:nth-child(2) { animation-delay: .06s; }
.loader__word span:nth-child(3) { animation-delay: .12s; }
.loader__word span:nth-child(4) { animation-delay: .18s; }
.loader__word span:nth-child(5) { animation-delay: .24s; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.loader__bar { height: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--grad); animation: load 1.1s var(--ease) .2s forwards; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes load { to { width: 100%; } }

/* ============ 進捗バー・カーソル ============ */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 999; border-radius: 50%; opacity: 0; }
.cursor { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1.5px solid var(--blue); transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, border-color .3s, opacity .3s; mix-blend-mode: difference; border-color: #fff; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; mix-blend-mode: difference; }
.cursor.is-hover { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: #fff; }
@media (hover: hover) and (pointer: fine) {
  body.has-cursor .cursor, body.has-cursor .cursor-dot { opacity: 1; }
}

/* ============ ヘッダー ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: transform .5s var(--ease), background .4s, padding .4s;
  color: #fff;
}
.header.is-scrolled { background: rgba(11,13,23,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; }
.header.is-hidden { transform: translateY(-100%); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--en); font-weight: 700; font-size: 1.35rem; letter-spacing: .08em; }
.logo__mark { width: 22px; height: 22px; border-radius: 6px; background: var(--grad); position: relative; animation: spin 8s linear infinite; }
.logo__mark::after { content: ""; position: absolute; inset: 5px; border-radius: 3px; background: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); font-family: var(--en); font-size: .92rem; }
.nav a { position: relative; padding: 4px 0; }
.nav a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:not(.nav__cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 8px 20px !important; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 500; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ============ ボタン ============ */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 30px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; border: 0; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), color .4s;
  font-family: var(--ja);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary::before { background: var(--pink); }
.btn--ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light::before { background: var(--cyan); }
.arrow { width: 18px; height: 2px; background: currentColor; position: relative; transition: width .4s var(--ease); }
.arrow::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.btn:hover .arrow { width: 26px; }

/* ============ ヒーロー ============ */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  background: var(--ink); color: #fff;
  display: flex; align-items: center;
  padding: 120px var(--gutter) 100px;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; will-change: transform; }
.hero__blob--a { width: 46vw; height: 46vw; background: var(--blue); top: -12vw; right: -10vw; animation: float1 14s ease-in-out infinite alternate; }
.hero__blob--b { width: 34vw; height: 34vw; background: var(--pink); bottom: -14vw; left: 10vw; opacity: .35; animation: float2 18s ease-in-out infinite alternate; }
@keyframes float1 { to { transform: translate(-8vw, 10vw) scale(1.15); } }
@keyframes float2 { to { transform: translate(12vw, -6vw) scale(.9); } }
.hero__inner { position: relative; z-index: 2; width: min(1200px, 100%); margin: 0 auto; }
.hero__eyebrow { font-family: var(--en); font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(25,211,197,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(25,211,197,0); } 100% { box-shadow: 0 0 0 0 rgba(25,211,197,0); } }
.hero__title { font-size: clamp(2.6rem, 9vw, 7.6rem); font-weight: 900; line-height: 1.12; letter-spacing: -.01em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line:last-child .split { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
.hero__title .char { display: inline-block; transform: translateY(110%) rotate(8deg); opacity: 0; transition: transform 1s var(--ease), opacity 1s var(--ease); }
.hero__title .line:last-child .split { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease) .45s; }
body.is-ready .hero__title .line:last-child .split { transform: none; }
body.is-ready .hero__title .char { transform: none; opacity: 1; }
@keyframes shine { to { background-position: -200% 0; } }
.hero__lead { margin-top: 32px; font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.82); line-height: 2; }
.rotator { display: inline-block; position: relative; font-weight: 700; color: #fff; }
.rotator__word { display: inline-block; background: rgba(47,107,255,.25); padding: 0 .35em; border-radius: 6px; transition: transform .45s var(--ease), opacity .45s; }
.rotator__word.is-out { transform: translateY(-60%); opacity: 0; }
.rotator__word.is-in { transform: translateY(60%); opacity: 0; transition: none; }
.hero__actions { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__inner > * { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
body.is-ready .hero__inner > * { opacity: 1; transform: none; }
body.is-ready .hero__inner > :nth-child(1) { transition-delay: .1s; }
body.is-ready .hero__inner > :nth-child(3) { transition-delay: .9s; }
body.is-ready .hero__inner > :nth-child(4) { transition-delay: 1.1s; }
.hero__title { opacity: 1 !important; transform: none !important; }

.hero__terminal {
  position: absolute; z-index: 2; right: var(--gutter); bottom: 110px;
  width: min(380px, 34vw);
  background: rgba(20,23,40,.72); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .78rem;
  box-shadow: 0 30px 60px rgba(0,0,0,.4);
  opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease) 1.3s, transform 1s var(--ease) 1.3s;
}
body.is-ready .hero__terminal { opacity: 1; transform: none; }
.term__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.term__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.term__bar i:nth-child(2) { background: #febc2e; }
.term__bar i:nth-child(3) { background: #28c840; }
.term__bar span { margin-left: 8px; color: rgba(255,255,255,.45); }
.term__body { margin: 0; padding: 14px 16px; min-height: 172px; color: rgba(255,255,255,.85); white-space: pre-wrap; line-height: 1.7; }
.term__body .ok { color: var(--cyan); }
.term__body .dim { color: rgba(255,255,255,.4); }
.term__body .caret { display: inline-block; width: 7px; height: 1em; background: var(--cyan); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--en); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.hero__scroll i { width: 1px; height: 48px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: #fff; animation: drop 1.8s var(--ease) infinite; }
@keyframes drop { to { top: 100%; } }

/* ============ マーキー ============ */
.marquee { background: var(--blue); color: #fff; overflow: hidden; padding: 22px 0; transform: rotate(-1.5deg) scale(1.03); margin-top: -18px; position: relative; z-index: 3; }
.marquee__track { display: flex; width: max-content; gap: 36px; align-items: center; animation: marquee 30s linear infinite; font-family: var(--en); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.4rem); white-space: nowrap; }
.marquee__track b { color: var(--cyan); font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ ビジョン ============ */
.vision__text { font-size: clamp(1.25rem, 2.7vw, 2.1rem); font-weight: 700; line-height: 1.9; max-width: 28em; }
.scrub .w { color: rgba(11,13,23,.14); transition: color .3s; }
.scrub .w.is-on { color: var(--ink); }

/* ============ サービス ============ */
.service { background: var(--paper-2); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  position: relative; overflow: hidden;
  background: #fff; border-radius: 22px; padding: 34px 28px 30px;
  transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s;
  box-shadow: 0 1px 0 var(--line);
}
.card:hover { box-shadow: 0 30px 60px rgba(11,13,23,.12); }
.card__glow { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(47,107,255,.18), transparent 70%); left: var(--mx, 50%); top: var(--my, 50%); transform: translate(-50%,-50%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.card:hover .card__glow { opacity: 1; }
.card__num { font-family: var(--en); font-size: .8rem; color: var(--muted); }
.card__icon { width: 56px; height: 56px; margin: 22px 0 26px; }
.card__icon svg { width: 100%; height: 100%; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.card.is-in .card__icon svg { stroke-dashoffset: 0; }
.card h3 { font-size: 1.25rem; font-weight: 900; margin-bottom: 12px; transform: translateZ(30px); }
.card p { font-size: .92rem; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.tags li { font-size: .74rem; padding: 3px 10px; border-radius: 999px; background: var(--paper); color: var(--ink-2); }

/* ============ 自社サービス ============ */
.products { overflow: hidden; }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; padding: clamp(40px, 6vw, 80px) 0; }
.product + .product { border-top: 1px solid var(--line); }
.product--sugu .product__text { order: 2; }
.product--sugu .product__name { background: linear-gradient(90deg, #0f9f8f, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sugu__cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.sugu__cats li { font-size: .82rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: background .3s, color .3s, transform .3s var(--ease); }
.sugu__cats li:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

/* ブラウザ枠 */
.browser { width: min(460px, 100%); background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 50px 90px rgba(15,159,143,.18), 0 0 0 1px var(--line); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #eef1f4; }
.browser__bar > i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.browser__bar > i:nth-child(2) { background: #febc2e; }
.browser__bar > i:nth-child(3) { background: #28c840; }
.browser__url { margin-left: 10px; flex: 1; background: #fff; border-radius: 8px; padding: 4px 12px; font-family: var(--en); font-size: .76rem; color: var(--muted); white-space: nowrap; overflow: hidden; }
.browser__path { font-weight: 500; color: var(--ink); }
.browser__body { position: relative; height: 290px; }
.browser__lock { margin: 0; padding: 12px 18px; font-size: .78rem; font-weight: 700; color: #0f8a7c; background: #e8faf7; border-top: 1px solid #cdeee8; }
.sugu__tool { position: absolute; inset: 0; padding: 22px 22px 18px; opacity: 0; transform: translateX(30px); transition: opacity .5s, transform .6s var(--ease); pointer-events: none; }
.sugu__tool.is-active { opacity: 1; transform: none; }
.sugu__title { font-weight: 900; font-size: 1.05rem; margin-bottom: 14px; }
.sugu__input { height: 118px; border-radius: 12px; border: 1.5px solid #cdeee8; padding: 10px 12px; font-size: .82rem; line-height: 1.7; overflow: hidden; }
.sugu__caret { display: inline-block; width: 2px; height: 1em; background: #0f9f8f; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.sugu__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.sugu__stats div { background: #f3f7f8; border-radius: 12px; padding: 8px 12px; }
.sugu__stats small { display: block; font-size: .66rem; color: var(--muted); }
.sugu__stats div small:last-child { display: inline; }
.sugu__stats strong { font-family: var(--en); font-size: 1.4rem; line-height: 1.3; }
.sugu__file { display: grid; grid-template-columns: 96px 1fr; gap: 10px 16px; align-items: center; }
.sugu__thumb { grid-row: span 2; width: 96px; height: 96px; border-radius: 12px; background: linear-gradient(160deg, #ffd27a 0 35%, #ff8a5c 35% 55%, #4a6fd8 55%); position: relative; overflow: hidden; }
.sugu__thumb::after { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; background: #fff6d8; top: 12px; right: 14px; }
.sugu__meter { height: 10px; border-radius: 99px; background: #eef1f4; overflow: hidden; }
.sugu__meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #0f9f8f, var(--cyan)); border-radius: inherit; }
.sugu__file p { font-family: var(--en); font-size: .95rem; }
.sugu__after { color: #0f9f8f; font-size: 1.3rem; }
.sugu__qr { width: 176px; height: 176px; margin: 4px auto 0; display: grid; grid-template-columns: repeat(21, 1fr); grid-template-rows: repeat(21, 1fr); padding: 8px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }
.sugu__qr i { background: var(--ink); transform: scale(0); transition: transform .25s var(--ease); }
.sugu__qr i.on { transform: scale(1); }
.float-chip--d { top: 6%; right: 0; }
.float-chip--e { bottom: 8%; left: 0; animation-delay: -2.5s; }
.product__status { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot--live { background: #1fbf6b; box-shadow: 0 0 0 4px rgba(31,191,107,.18); }
.dot--dev { background: #ffab1f; animation: pulseY 1.6s infinite; }
@keyframes pulseY { 50% { box-shadow: 0 0 0 6px rgba(255,171,31,.2); } }
.product__name { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; margin: 18px 0 10px; line-height: 1.2; }
.product--kabu .product__name { background: linear-gradient(90deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.product--shogi .product__name { background: linear-gradient(90deg, #d62f6b, var(--pink) 50%, #ffa0c4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.product__catch { font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 700; line-height: 1.7; margin-bottom: 20px; }
.product__desc { color: var(--muted); font-size: .95rem; }
.product__name--logo { margin: 14px 0 6px; line-height: 0; }
.product__name--logo img { width: min(460px, 100%); height: auto; margin-left: -2%; filter: drop-shadow(0 6px 8px rgba(122,60,160,.16)); transform-origin: 30% 80%; }
.product.is-in .product__name--logo img { animation: plush 1.1s var(--ease) .2s both; }
@keyframes plush { 0% { transform: scale(.6) rotate(-4deg); opacity: 0; } 55% { transform: scale(1.06) rotate(1deg); opacity: 1; } 75% { transform: scale(.98); } 100% { transform: none; } }
.product__name--logo img:hover { animation: squish .6s var(--ease); }
@keyframes squish { 30% { transform: scale(1.06, .92); } 60% { transform: scale(.97, 1.04); } }
.product__catch ruby rt { font-size: .5em; color: var(--muted); font-weight: 500; }
.product__points small { color: var(--muted); font-size: .8em; margin-left: 4px; }
.product__cta { margin-top: 32px; display: grid; gap: 14px; justify-items: start; }
.btn--soon { background: #f1e6f7; color: #7a3ca0; cursor: default; box-shadow: inset 0 0 0 1.5px #d8bde8; }
.btn--soon::before { display: none; }
.btn--soon > span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #b06ad8; margin-right: 10px; vertical-align: 1px; animation: pulseP 1.6s infinite; }
@keyframes pulseP { 50% { box-shadow: 0 0 0 6px rgba(176,106,216,.2); } }
.product__contact { font-size: .85rem; color: var(--muted); }
.product__contact a { color: #7a3ca0; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; word-break: break-all; }
.product__points { margin-top: 28px; display: grid; gap: 10px; }
.product__points li { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-weight: 500; }
.product__points b { font-family: var(--en); font-size: 1.3rem; min-width: 2.6em; }
.product--kabu .product__points b { color: var(--blue); font-size: 1.05rem; min-width: 2.4em; }
.product--shogi .product__points b { color: #d6457e; font-size: 1rem; min-width: 3em; }
.product--shogi .product__points li:last-child b { color: #8a4fc0; }

.product__visual { position: relative; min-height: 560px; display: grid; place-items: center; }

/* スマホ枠 */
.phone { width: 290px; height: 590px; border-radius: 46px; background: #10121c; padding: 12px; position: relative; box-shadow: 0 50px 90px rgba(11,13,23,.28), inset 0 0 0 2px #2a2e40; }
.phone__notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 20px; background: #10121c; z-index: 3; }
.phone__screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #fff; position: relative; }

/* 株ナビ画面 */
.kabu { padding: 54px 16px 16px; background: linear-gradient(180deg, #eef3ff, #fff 40%); display: flex; flex-direction: column; gap: 12px; }
.kabu__top { display: flex; justify-content: space-between; align-items: center; }
.kabu__logo { font-weight: 900; font-size: .95rem; color: var(--blue); }
.kabu__menu { width: 18px; height: 12px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); position: relative; }
.kabu__menu::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 2px; background: var(--ink); }
.kabu__steps { display: flex; gap: 6px; }
.kabu__steps span { flex: 1; text-align: center; font-family: var(--en); font-size: .62rem; font-weight: 700; padding: 5px 0; border-radius: 8px; background: #e3e8f5; color: var(--muted); transition: background .4s, color .4s; }
.kabu__steps span.is-on { background: var(--blue); color: #fff; }
.kabu__stepname { font-size: .74rem; font-weight: 700; color: var(--ink-2); margin: -4px 0 -2px; transition: opacity .3s; }
.kabu__chart { background: #fff; border-radius: 16px; padding: 12px 12px 6px; box-shadow: 0 6px 20px rgba(47,107,255,.12); }
.kabu__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.kabu__price small { width: 100%; font-size: .62rem; color: var(--muted); }
.kabu__num { font-family: var(--en); font-size: 1.5rem; }
.kabu__chg { font-style: normal; font-family: var(--en); font-size: .75rem; font-weight: 700; color: #1fbf6b; }
.kabu__chg.is-down { color: #e5484d; }
.kabu__chart svg { width: 100%; height: 110px; display: block; overflow: visible; }
.kabu__line { fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.kabu__area { fill: url(#kabuFill); }
.kabu__head { fill: #fff; stroke: var(--blue); stroke-width: 2.5; }
.kabu__card { background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: 0 4px 14px rgba(11,13,23,.06); transform: translateX(120%); transition: transform .9s var(--ease); }
.kabu__card--b { transition-delay: .15s; }
.product.is-in .kabu__card { transform: none; }
.kabu__q { font-weight: 700; font-size: .8rem; margin-bottom: 4px; }
.kabu__a { font-size: .72rem; color: var(--muted); line-height: 1.6; }

.float-chip { position: absolute; z-index: 4; padding: 10px 18px; border-radius: 999px; background: #fff; font-weight: 700; font-size: .85rem; box-shadow: 0 16px 40px rgba(11,13,23,.14); white-space: nowrap; animation: bob 5s ease-in-out infinite; }
.float-chip--a { top: 44%; left: 0; }
.float-chip--b { bottom: 14%; right: 0; animation-delay: -2s; }
.float-chip--c { bottom: 6%; left: 2%; animation-delay: -1s; }
@keyframes bob { 50% { translate: 0 -10px; } }

/* 将棋 */
.shogi-stage { position: relative; width: min(420px, 100%); aspect-ratio: 4 / 5; border-radius: 32px; overflow: hidden; background: radial-gradient(circle at 50% 30%, #fff 0, #fbe9f3 50%, #e6d3f3 100%); box-shadow: 0 50px 90px rgba(122,60,160,.22); }
.shogi-stage__chara { position: absolute; left: 50%; bottom: -2%; height: 100%; width: auto; max-width: none; transform: translateX(-50%); animation: breathe 4s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes breathe { 50% { transform: translateX(-50%) scale(1.012, 1.018); } }
.bubble { position: absolute; top: 4%; right: 4%; background: #fff; border-radius: 20px; padding: 10px 18px; font-weight: 900; font-size: 1rem; line-height: 1.5; max-width: 62%; color: #d6457e; box-shadow: 0 10px 30px rgba(214,47,107,.25); transform-origin: 20% 100%; min-width: 4em; min-height: 1.6em; z-index: 2; }
.bubble::after { content: ""; position: absolute; left: 22px; bottom: -8px; border: 8px solid transparent; border-top-color: #fff; border-bottom: 0; }
.bubble.is-pop { animation: pop .5s var(--ease); }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.comments { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.comments span { position: absolute; left: 100%; white-space: nowrap; font-size: .8rem; font-weight: 700; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.55), 0 0 1px rgba(0,0,0,.8); animation: flow linear forwards; }
.comments span b { color: #ffe066; margin-right: 4px; }
@keyframes flow { to { transform: translateX(calc(-100% - 460px)); } }

.mini-board {
  position: absolute; right: -3%; bottom: 20%; z-index: 3;
  width: 168px; height: 168px; padding: 8px;
  background: linear-gradient(135deg, #e9c27a, #d8a954); border-radius: 12px;
  box-shadow: 0 24px 50px rgba(120,70,0,.3);
  display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(5, 1fr);
}
.mini-board .sq { border: 1px solid rgba(80,45,0,.35); position: relative; }
.mini-board .pc {
  position: absolute; width: 26px; height: 28px; margin: -14px 0 0 -13px;
  background: linear-gradient(#fbe8bd, #efd39a);
  clip-path: polygon(50% 0, 88% 18%, 100% 100%, 0 100%, 12% 18%);
  display: grid; place-items: center; padding-top: 5px;
  font-size: .72rem; font-weight: 900; color: #2a1a05; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  transition: left .6s var(--ease), top .6s var(--ease), transform .3s;
}
.mini-board .pc.gote { transform: rotate(180deg); }
.mini-board .pc.hit { animation: hit .5s var(--ease); }
@keyframes hit { 30% { scale: 1.3; } }
.mini-board .mark { position: absolute; inset: 1px; background: rgba(255,79,139,.35); animation: fade 1s forwards; }
@keyframes fade { to { opacity: 0; } }

/* ============ 数字 ============ */
.numbers { background: var(--ink); color: #fff; padding: clamp(64px, 9vw, 110px) 0; }
.numbers__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.num { padding: 10px 0 10px 24px; border-left: 1px solid rgba(255,255,255,.15); }
.num strong { display: block; font-family: var(--en); font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num span { display: block; margin-top: 8px; font-weight: 700; line-height: 1.5; }
.num small { font-weight: 400; color: rgba(255,255,255,.55); font-size: .78rem; }

/* ============ 流れ ============ */
.timeline { position: relative; display: grid; gap: 18px; padding-left: 0; }
.timeline__line { position: absolute; left: 31px; top: 20px; bottom: 20px; width: 2px; background: var(--line); }
.timeline__line i { display: block; width: 100%; height: 100%; background: var(--grad); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
.step { display: flex; gap: clamp(20px, 4vw, 48px); align-items: flex-start; padding: 18px 0; }
.step__no { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px var(--line); font-family: var(--en); font-weight: 700; position: relative; z-index: 1; transition: background .5s, color .5s, box-shadow .5s; }
.step.is-in .step__no { background: var(--ink); color: #fff; box-shadow: 0 0 0 6px rgba(47,107,255,.15); }
.step h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 900; margin: 12px 0 6px; }
.step p { color: var(--muted); max-width: 38em; }

/* ============ お知らせ・会社概要・FAQ ============ */
.about__wrap, .faq__wrap { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 6vw, 80px); }
.about__list > div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.about__list dt { font-weight: 700; color: var(--muted); }
.faq { background: var(--paper-2); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-weight: 700; font-size: 1.05rem; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::before { content: "Q"; font-family: var(--en); color: var(--blue); font-size: 1.3rem; margin-right: -4px; }
.faq__list summary { justify-content: flex-start; }
.faq__list summary i { margin-left: auto; flex: none; width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); position: relative; transition: transform .4s var(--ease), background .4s; }
.faq__list summary i::before, .faq__list summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; transform: translate(-50%,-50%); }
.faq__list summary i::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq__list details[open] summary i { background: var(--ink); color: #fff; transform: rotate(180deg); }
.faq__list details[open] summary i::after { transform: translate(-50%,-50%) rotate(0); }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 0 26px 30px; color: var(--muted); }

/* ============ お問い合わせ ============ */
.contact { background: var(--ink); color: rgba(255,255,255,.8); overflow: hidden; }
.contact__bg { position: absolute; inset: -20%; background: conic-gradient(from 0deg at 50% 50%, rgba(47,107,255,.35), rgba(25,211,197,.2), rgba(255,79,139,.3), rgba(47,107,255,.35)); filter: blur(100px); animation: spin 30s linear infinite; opacity: .6; will-change: transform; }
.contact__wrap { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__head p:last-child { margin-top: 24px; }
.contact .h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; padding: clamp(24px, 4vw, 40px); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.field { position: relative; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn[disabled] { opacity: .6; cursor: wait; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.25); color: #fff; font: inherit; padding: 24px 0 8px; outline: none; resize: vertical; transition: border-color .3s; }
.field input:focus, .field textarea:focus { border-color: var(--cyan); }
.field label { position: absolute; left: 0; top: 22px; color: rgba(255,255,255,.55); pointer-events: none; transition: transform .3s var(--ease), color .3s, font-size .3s; transform-origin: 0 0; }
.field label em { font-style: normal; font-size: .7rem; color: var(--pink); margin-left: 6px; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-20px) scale(.78); color: var(--cyan); }
.field.is-error input, .field.is-error textarea { border-color: var(--pink); }
.form .btn { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
.form__msg { grid-column: 1 / -1; min-height: 1.5em; font-size: .9rem; color: var(--cyan); }

/* ============ フッター ============ */
.footer { background: #06070d; color: rgba(255,255,255,.7); padding: 64px 0 40px; }
.footer__wrap { display: grid; gap: 28px; }
.logo--big { color: #fff; font-size: clamp(2.4rem, 8vw, 5rem); }
.logo--big .logo__mark { width: .6em; height: .6em; border-radius: .16em; }
.logo--big .logo__mark::after { inset: .14em; border-radius: .06em; background: #06070d; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font-family: var(--en); }
.footer__nav a:hover { color: #fff; }
.footer__copy { font-size: .8rem; color: rgba(255,255,255,.4); }

.totop { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 1.1rem; box-shadow: 0 10px 30px rgba(0,0,0,.25), inset 0 0 0 1px rgba(255,255,255,.15); opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .4s var(--ease); pointer-events: none; }
.totop.is-show { opacity: 1; transform: none; pointer-events: auto; }

/* ============ スクロール表示 ============ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.card.reveal.is-in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: opacity 1s var(--ease), transform .5s var(--ease), box-shadow .5s; }

/* ============ 画面幅 ============ */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero__terminal { display: none; }
}
@media (max-width: 860px) {
  .burger { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px;
    background: var(--ink); font-size: 1.6rem;
    clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .7s var(--ease);
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); }
  .product, .contact__wrap, .about__wrap, .faq__wrap { grid-template-columns: 1fr; }
  .product--sugu .product__text { order: 0; }
  .product__visual { min-height: 0; padding: 20px 0; }
  .numbers__grid { grid-template-columns: 1fr; row-gap: 28px; }
  .mini-board { width: 128px; height: 128px; right: 0; bottom: 12%; }
  .mini-board .pc { width: 20px; height: 22px; margin: -11px 0 0 -10px; font-size: .6rem; padding-top: 4px; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .about__list > div { grid-template-columns: 1fr; gap: 4px; }
  .phone { width: 260px; height: 530px; }
  .float-chip { font-size: .75rem; padding: 8px 14px; }
  .float-chip--a { left: -4px; }
  .float-chip--b { right: -4px; }
  .float-chip--e { bottom: auto; top: 6%; left: -4px; }
}

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