:root {
  --bg: #0e0c1d;
  --bg-2: #14112a;
  --surface: #1a1733;
  --surface-2: #221e42;
  --line: #342f5e;
  --text: #ece9f7;
  --muted: #b0abcb;
  --accent: #c4b5fd;
  --accent-strong: #7050e8;
  --accent-strong-hover: #5f3fd8;
  --warn: #f2c879;
  --radius: 14px;
  --gutter: 20px;
  --maxw: 1040px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Noto Sans JP", Meiryo, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  overflow-x: hidden;
  word-break: auto-phrase;
  line-break: strict;
  text-wrap: pretty;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #ddd3ff; }
h1, h2, h3 { line-height: 1.4; margin: 0; font-weight: 700; letter-spacing: 0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
:focus-visible { outline: 3px solid #e4dcff; outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: #fff; color: #111; padding: 8px 14px; border-radius: 8px;
}
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }

/* banner */
.banner {
  background: linear-gradient(90deg, #2b2060, #3a2a82);
  color: #fff; font-size: 14px; text-align: center; padding: 8px var(--gutter); line-height: 1.6;
}
.banner[hidden] { display: none; }
.banner a { color: #fff; font-weight: 700; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 12, 29, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 56px; }
.brand { font-weight: 700; color: var(--text); text-decoration: none; letter-spacing: 0.02em; white-space: nowrap; }
.brand small { color: var(--accent); font-weight: 500; margin-left: 6px; font-size: 12px; }
.nav { display: none; gap: 18px; margin-left: auto; font-size: 14px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: #fff; }
.header-cta { margin-left: auto; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .header-cta { margin-left: 8px; }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 24px; border-radius: 10px;
  font-weight: 700; font-size: 16px; text-decoration: none; text-align: center;
  border: 1px solid transparent; cursor: pointer; line-height: 1.4;
  transition: background 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--accent-strong); color: #fff; }
.btn-primary:hover { background: var(--accent-strong-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: #6a60a8; }
.btn-ghost:hover { background: var(--surface); color: #fff; border-color: var(--accent); }
.btn-sm { min-height: 38px; padding: 6px 16px; font-size: 14px; border-radius: 8px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero */
.hero {
  padding: 48px 0 56px;
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(112, 80, 232, 0.28), transparent 70%),
    linear-gradient(180deg, #120f26, var(--bg));
}
.eyebrow { color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 12px; }
.hero h1.eyebrow { line-height: 1.6; }
.hero .hero-title { font-size: clamp(28px, 5.6vw, 46px); line-height: 1.35; margin: 0 0 18px; font-weight: 700; letter-spacing: 0.01em; color: #fff; }
.hero .lead { color: #d9d4ee; max-width: 640px; font-size: clamp(15px, 2.4vw, 17px); }
.hero-grid { display: grid; gap: 32px; }
.hero-copy { max-width: 720px; }
.price-line { margin: 22px 0 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.price-line .label { color: var(--muted); font-size: 14px; }
.price-note { color: var(--muted); font-size: 13px; line-height: 1.7; margin-top: 14px; max-width: 560px; }
.host-note { color: var(--muted); font-size: 13px; line-height: 1.7; margin-top: 14px; max-width: 560px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.host-note strong { color: var(--text); }
#resolve .hint, #pricing .wrap > .hint, #fixes .hint { color: var(--muted); font-size: 13px; margin: 14px 0 0; line-height: 1.7; }
#resolve .btn-row { margin-top: 24px; }
.chip {
  display: inline-block; font-size: 13px; padding: 4px 12px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line); color: #ddd8f2; margin-top: 16px;
}

.price-now { font-size: 30px; font-weight: 800; letter-spacing: 0.01em; color: #fff; }
.price-was { color: var(--muted); font-size: 16px; text-decoration: line-through; }
.sale-tag {
  font-size: 12px; font-weight: 700; color: #1b1240; background: var(--warn);
  padding: 2px 10px; border-radius: 999px; align-self: center;
}

/* compare slider */
.cmp-wrap { max-width: 920px; }
.cmp {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); background: #000;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; --pos: 50%;
  cursor: ew-resize;
}
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cmp .img-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-tag {
  position: absolute; top: 12px; padding: 4px 12px; border-radius: 6px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; pointer-events: none;
}
.cmp-tag.t-before { left: 12px; background: rgba(20, 16, 40, 0.85); color: #fff; }
.cmp-tag.t-after { right: 12px; background: #c4b5fd; color: #1b1240; }
.cmp-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 48px; margin-left: -24px;
  display: grid; place-items: center; cursor: ew-resize; outline-offset: -4px;
}
.cmp-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 23px; width: 2px; background: #fff; box-shadow: 0 0 6px rgba(0,0,0,.6); }
.cmp-knob {
  position: relative; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #2a1c6e;
  display: grid; place-items: center; font-size: 15px; font-weight: 800; box-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.cmp-handle:focus-visible .cmp-knob { outline: 3px solid #c4b5fd; outline-offset: 3px; }
.cap { color: var(--muted); font-size: 13px; line-height: 1.7; margin-top: 10px; }

/* sections */
section { padding: 72px 0; }
section.alt { background: var(--bg-2); border-block: 1px solid #25214a; }
.sec-head { margin-bottom: 32px; max-width: 760px; }
.sec-head .kicker { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 8px; }
.sec-head h2 { font-size: clamp(24px, 4.4vw, 34px); margin-bottom: 14px; }
.sec-head p { color: #cfcae6; margin: 0; }

/* video */
.video {
  position: relative; display: block; width: 100%; max-width: 920px; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line); background: #000; color: #fff; text-decoration: none; cursor: pointer; padding: 0;
}
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,12,29,.2), rgba(14,12,29,.75)); }
.video .play {
  position: absolute; z-index: 2; left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; background: var(--accent-strong); display: grid; place-items: center;
  box-shadow: 0 6px 24px rgba(0,0,0,.5);
}
.video .play::before { content: ""; border-left: 22px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px; }
.video .vt { position: absolute; z-index: 2; left: 0; right: 0; bottom: 18px; text-align: center; font-weight: 700; padding-inline: 12px; }
.video .vt small { display: block; color: #d6d0ee; font-weight: 400; font-size: 13px; }
.video:hover .play { background: var(--accent-strong-hover); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }

/* steps */
.steps { list-style: none; display: grid; gap: 16px; counter-reset: s; }
.steps li {
  counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px;
}
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-strong); color: #fff; font-weight: 800; margin-bottom: 12px;
}
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { color: #cfcae6; margin: 0; font-size: 15px; }
code, .kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em;
  background: #2a2552; color: #ece7ff; padding: 1px 7px; border-radius: 5px; white-space: nowrap;
}
.shot { margin-top: 36px; }
.shot img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }

/* cards */
.grid-3 { display: grid; gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: #cfcae6; margin: 0; font-size: 15px; }

.split { display: grid; gap: 28px; align-items: center; }
.split .txt h2 { font-size: clamp(24px, 4.4vw, 32px); margin-bottom: 14px; }
.split .txt p { color: #cfcae6; }
.split figure { margin: 0; }
.zoom { display: block; cursor: zoom-in; }
.split figure img, .fig img, .shot img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }
.checks { list-style: none; margin: 16px 0 0; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 26px; color: #dcd7f0; font-size: 15px; line-height: 1.7; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 8px; height: 13px; border: solid var(--accent); border-width: 0 2.5px 2.5px 0; transform: translateY(-60%) rotate(40deg); }

/* detail tabs */
.fig { margin: 0 0 28px; max-width: 920px; }
.tabs-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tab-btn {
  font: inherit; font-size: 14px; color: var(--text); background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px; min-height: 40px; cursor: pointer;
}
.tab-btn[aria-selected="true"] { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; font-weight: 700; }
.tab-btn:hover { border-color: var(--accent); }
.is-tabs .fig[hidden] { display: none; }
.is-tabs .fig { margin-bottom: 0; }
.sub-h { font-size: 20px; margin: 48px 0 8px; }

/* params */
.params { display: grid; gap: 12px; margin: 0; }
.params > div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.params dt { font-weight: 700; color: #fff; margin-bottom: 2px; }
.params dt span { color: var(--accent); font-weight: 500; font-size: 13px; margin-left: 8px; }
.params dd { margin: 0; color: #cfcae6; font-size: 14.5px; line-height: 1.75; }

.notice { background: #1d1936; border: 1px solid #4a3f86; border-left: 4px solid var(--warn); border-radius: 12px; padding: 22px 24px; }
.notice h3 { font-size: 18px; margin-bottom: 8px; }
.notice ul { padding-left: 1.2em; margin: 0; color: #dcd7f0; font-size: 15px; }
.notice li + li { margin-top: 8px; }

/* specs */
.spec-grid { display: grid; gap: 16px; }
.spec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.spec h3 { font-size: 18px; margin-bottom: 12px; }
.spec dl { margin: 0; display: grid; gap: 10px; font-size: 15px; }
.spec dt { color: var(--accent); font-size: 13px; font-weight: 700; }
.spec dd { margin: 0; color: #dcd7f0; }
.win-status { margin-top: 16px; padding: 14px 16px; background: var(--surface-2); border-radius: 10px; font-size: 14.5px; color: #e4e0f5; }
.win-status[hidden], [data-win-official][hidden], [data-win-beta][hidden] { display: none; }
.host-line { margin-top: 20px; color: #cfcae6; font-size: 15px; }

/* pricing */
.price-card {
  max-width: 560px; background: linear-gradient(180deg, #221c4d, #1a1733); border: 1px solid #5a4ca8; border-radius: 18px; padding: 32px 28px;
}
.price-card .price-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 8px 0 4px; }
.price-card .price-now { font-size: 44px; }
.price-card .until { color: #f2d9a3; font-size: 14px; margin-bottom: 8px; }
.price-card .checks { margin: 18px 0 24px; }
.price-card .hint { color: var(--muted); font-size: 13px; margin: 14px 0 0; line-height: 1.7; }

/* links list */
.link-cards { display: grid; gap: 14px; }
.link-card {
  display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; text-decoration: none; color: var(--text);
}
.link-card:hover { border-color: var(--accent); color: #fff; }
.link-card strong { display: block; margin-bottom: 4px; line-height: 1.55; }
.link-card span { color: var(--muted); font-size: 13.5px; line-height: 1.6; display: block; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; font-weight: 700; position: relative; line-height: 1.6; min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px;
  border: solid var(--accent); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform 0.15s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .ans { padding: 0 20px 18px; color: #d3cfea; font-size: 15px; }
.faq .ans p:last-child { margin-bottom: 0; }

/* final CTA */
.final { text-align: center; background: radial-gradient(700px 300px at 50% 0%, rgba(112,80,232,.3), transparent 70%), var(--bg-2); }
.final h2 { font-size: clamp(24px, 4.6vw, 34px); margin-bottom: 14px; }
.final p { color: #cfcae6; max-width: 620px; margin-inline: auto; }
.final .btn-row { justify-content: center; margin-top: 24px; }
.final .price-line { justify-content: center; }

/* footer */
footer { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 16px; }
footer p { margin: 0 0 6px; line-height: 1.8; }

@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .params { grid-template-columns: 1fr 1fr; }
  .link-cards { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1.15fr; gap: 44px; }
  .split.rev .txt { order: 2; }
}
@media (min-width: 960px) {
  .hero { padding: 72px 0 80px; }
  .hero-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr); gap: 44px; align-items: center; }
  .hero-copy { max-width: none; }
}
@media (max-width: 480px) {
  section { padding: 56px 0; }
  .btn-row .btn { width: 100%; }
  .price-card { padding: 26px 20px; }
  .price-card .price-now { font-size: 38px; }
  .video .play { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.js-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.final .js-price { justify-content: center; }

/* 概要と比較の表 */
.table-wrap { overflow-x: auto; margin: 0 0 12px; }
.facts, .compare { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.7; min-width: 480px; }
.facts th, .facts td, .compare th, .compare td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.facts th, .compare tbody th { color: #e7e3f7; font-weight: 700; white-space: nowrap; }
.compare thead th { color: var(--muted); font-size: 13px; font-weight: 700; }
.compare tbody th { white-space: normal; }
.facts { min-width: 0; }
.facts th { width: 8em; white-space: normal; }
.compare .price-now { font-size: inherit; font-weight: 700; }
.compare .price-was { font-size: 13px; margin-right: 6px; }
.compare .sale-tag { margin-left: 6px; }
.compare tbody tr:first-child th, .compare tbody tr:first-child td { background: var(--surface-2); }
#about .sub-h { margin-top: 36px; margin-bottom: 14px; font-size: 20px; }
