/* 095 NOCTGUARD ― 色はここだけ触れば差し替わる */
:root {
  --c-bg: #0b0912;
  --c-panel: #15111f;
  --c-purple: #7c3aed;
  --c-violet: #a78bfa;
  --c-lilac: #c4b5fd;
  --c-light: #d6d3e0;
  --c-dim: #b9b4c7;
  --c-white: #ffffff;
  --c-accent-text: #6d28d9;
  --c-text: #374151;
  --c-sub: #4b5563;
  --c-line: rgba(196, 181, 253, .22);
  --font: "Zen Kaku Gothic New", sans-serif;
  --font-en: "Anton", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.9; color: var(--c-light); background: var(--c-bg); padding-bottom: 80px; }
@media (min-width: 1080px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, blockquote, figure { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dd, li { word-break: auto-phrase; }
.sp { display: inline; }
@media (min-width: 768px) { .sp { display: none; } }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 1080px) { .wrap { padding: 0 48px; } }
.en { font-family: var(--font-en); font-size: 16px; letter-spacing: .24em; color: var(--c-lilac); }
.en--dark { color: var(--c-accent-text); }
.sec-title { font-weight: 900; font-size: clamp(30px, 5vw, 60px); line-height: 1.3; letter-spacing: -.01em; color: var(--c-white); margin: 10px 0 40px; }
.sec-title--dark { color: var(--c-bg); }
.note { color: var(--c-dim); font-size: 15px; margin-top: 20px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 0 26px; font-weight: 700; letter-spacing: .06em; text-decoration: none; white-space: nowrap; flex: none; transition: background-color .25s, color .25s, transform .25s; }
.btn--purple { background: var(--c-purple); color: #fff; box-shadow: 0 0 0 1px rgba(196, 181, 253, .4), 0 10px 40px rgba(124, 58, 237, .45); }
.btn--purple:hover, .btn--purple:focus-visible { background: #fff; color: var(--c-accent-text); }
.btn--ghost { border: 1px solid var(--c-lilac); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.btn--lg { min-height: 64px; padding: 0 36px; font-size: 18px; }

/* ===== ヘッダー（LP：ロゴと無料診断だけ） ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: linear-gradient(180deg, rgba(11, 9, 18, .9), rgba(11, 9, 18, 0)); }
.header__inner { display: flex; align-items: center; gap: 12px; height: 72px; padding: 0 20px; max-width: 1440px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; font-family: var(--font-en); font-size: 24px; letter-spacing: .12em; color: #fff; white-space: nowrap; flex: none; }
.logo__mark { width: 28px; height: 28px; flex: none; }
.header__btn { margin-left: auto; min-height: 46px; padding: 0 18px; font-size: 15px; }
@media (max-width: 380px) { .logo { font-size: 20px; letter-spacing: .06em; } }
@media (min-width: 1080px) { .header__inner { height: 88px; padding: 0 48px; } }

.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 22px; height: 2px; background: #fff; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -7px; } .spmenu__bar::after { top: 7px; }
.spmenu[open] .spmenu__bar { background: transparent; }
.spmenu[open] .spmenu__bar::before { top: 0; transform: rotate(45deg); }
.spmenu[open] .spmenu__bar::after { top: 0; transform: rotate(-45deg); }
.spmenu__nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--c-panel); border-top: 1px solid var(--c-purple); padding: 8px 20px 24px; display: flex; flex-direction: column; }
.spmenu__nav a { display: flex; align-items: center; min-height: 52px; color: #fff; text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--c-line); }
@media (min-width: 1080px) { .spmenu { display: none; } }

/* ===== メインビジュアル＋A03 ===== */
.hero__stage { position: relative; height: 100vh; min-height: 620px; overflow: hidden; background: var(--c-bg); }
.hero__photo { position: absolute; inset: 0; background: #1a1030; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after { content: ""; position: absolute; inset: 0; opacity: var(--veil, 1); background: linear-gradient(90deg, rgba(11, 9, 18, .88) 0%, rgba(11, 9, 18, .55) 55%, rgba(11, 9, 18, .2) 100%), linear-gradient(0deg, rgba(11, 9, 18, .7), rgba(11, 9, 18, 0) 40%); }
.hero__copy { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 120px; }
.hero__en { font-family: var(--font-en); font-size: clamp(18px, 2vw, 24px); letter-spacing: .3em; color: var(--c-lilac); }
.hero__title { font-weight: 900; font-size: clamp(44px, 8.6vw, 128px); line-height: 1.12; letter-spacing: -.03em; color: #fff; margin: 12px 0 20px; }
.hero__lead { font-size: 17px; color: var(--c-light); margin-bottom: 32px; }
.hero__after, .hero__frame { display: none; }
.is-motion .hero__frame { display: block; position: absolute; z-index: 1; border: 1px solid rgba(196, 181, 253, .7); border-radius: 20px; box-shadow: 0 0 80px rgba(124, 58, 237, .45), inset 0 0 40px rgba(124, 58, 237, .25); pointer-events: none; }
@media (min-width: 1080px) { .hero__copy { left: 48px; bottom: 12vh; } }
/* 動く版：写真が縮んだあと、下に一行が出る */
.is-motion .hero__after { display: flex; align-items: baseline; justify-content: center; gap: 16px; position: absolute; left: 20px; right: 20px; bottom: 4vh; z-index: 2; font-weight: 700; color: #fff; text-align: center; flex-wrap: wrap; }
.is-motion .hero__after span { font-family: var(--font-en); font-size: clamp(30px, 4vw, 48px); color: var(--c-lilac); letter-spacing: .06em; }

/* ===== 悩み ===== */
.worry { padding: 120px 0 100px; }
.worry__list { border-top: 1px solid var(--c-line); }
.worry__list li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--c-line); }
.worry__list b { font-family: var(--font-en); font-weight: 400; font-size: 30px; color: var(--c-violet); }
.worry__list p { font-size: clamp(17px, 2vw, 22px); font-weight: 700; color: #fff; }
@media (min-width: 1080px) { .worry__list li { grid-template-columns: 120px 1fr; padding: 32px 0; } .worry__list b { font-size: 44px; } }

/* ===== G02：診断前・診断後 ===== */
.compare { padding: 100px 0; background: var(--c-panel); border-block: 1px solid var(--c-line); }
.compare__lead { margin: -16px 0 32px; color: var(--c-dim); }
.cmp { --pos: 50%; position: relative; border: 1px solid var(--c-line); overflow: hidden; user-select: none; touch-action: pan-y; cursor: ew-resize; }
.pane { background: #0f0c18; }
.pane--after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); background: #120c22; }
.pane__bar { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border-bottom: 1px solid var(--c-line); }
.pane__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3348; }
.pane__bar span { margin-left: auto; font-weight: 900; font-size: 15px; letter-spacing: .1em; }
.pane--before .pane__bar { flex-direction: row-reverse; }
.pane--before .pane__bar span { color: #ff8a8a; margin: 0 auto 0 0; }
.pane--after .pane__bar span { color: var(--c-lilac); }
.pane__body { display: grid; gap: 20px; padding: 24px 16px; min-height: 420px; }
.score { display: flex; align-items: center; gap: 16px; }
.score b { display: grid; place-items: center; width: 84px; height: 84px; font-family: var(--font-en); font-weight: 400; font-size: 52px; border: 2px solid; }
.score span { font-weight: 700; color: var(--c-light); }
.score--bad b { color: #ff8a8a; border-color: #ff8a8a; }
.score--good b { color: var(--c-lilac); border-color: var(--c-violet); background: rgba(124, 58, 237, .18); }
.alerts { display: grid; gap: 10px; }
.alerts li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 12px 14px; border-left: 4px solid var(--c-violet); background: rgba(196, 181, 253, .07); font-size: 15px; color: var(--c-light); }
.alerts em { font-style: normal; font-weight: 700; color: var(--c-lilac); }
.alerts li.is-red { border-color: #ff6b6b; background: rgba(255, 107, 107, .1); }
.alerts li.is-red em { color: #ff9a9a; }
.alerts li.is-amber { border-color: #f5b74a; background: rgba(245, 183, 74, .08); }
.alerts li.is-amber em { color: #ffd38a; }
.cmp__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--c-lilac); box-shadow: 0 0 20px var(--c-purple); pointer-events: none; }
.cmp__line span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c-purple); color: #fff; font-size: 15px; letter-spacing: -.1em; border: 2px solid var(--c-lilac); white-space: nowrap; }
.cmp__range { display: flex; align-items: center; gap: 16px; margin-top: 20px; font-weight: 700; color: var(--c-light); }
.cmp__range span { white-space: nowrap; }
.cmp__range input { flex: 1; min-width: 0; height: 44px; accent-color: var(--c-purple); }
@media (min-width: 768px) {
  .pane__body { grid-template-columns: 200px 1fr; align-items: start; padding: 40px; min-height: 360px; }
  .score { flex-direction: column; align-items: flex-start; }
  .score b { width: 140px; height: 140px; font-size: 88px; }
  .alerts li { font-size: 17px; padding: 16px 20px; }
}

/* ===== 特長 ===== */
.feature { padding: 120px 0; }
.features { display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.features li { padding: 32px 0; border-bottom: 1px solid var(--c-line); }
.features b { display: block; font-family: var(--font-en); font-weight: 400; font-size: 72px; line-height: 1; color: var(--c-violet); }
.features h3 { font-weight: 900; font-size: 24px; color: #fff; margin: 16px 0 8px; }
@media (min-width: 900px) { .features { grid-template-columns: repeat(3, 1fr); border-top: 0; } .features li { padding: 0 32px; border-bottom: 0; border-left: 1px solid var(--c-line); } .features b { font-size: 110px; } }

/* ===== C05：雑誌の見開きのように横に流れる ===== */
.flow { padding: 100px 0 0; background: var(--c-bg); overflow: hidden; }
.flow__track { display: grid; gap: 0; }
.spread { display: grid; background: var(--c-panel); border-top: 1px solid var(--c-line); }
.spread--violet { background: #241542; }
.spread__page { position: relative; padding: 32px 20px; min-width: 0; }
.spread__page--title { display: flex; align-items: flex-start; gap: 20px; }
.spread__no { font-family: var(--font-en); font-size: 64px; line-height: 1; color: var(--c-lilac); }
.spread__v { writing-mode: vertical-rl; font-weight: 900; font-size: clamp(40px, 6vw, 96px); line-height: 1.1; letter-spacing: .08em; color: #fff; }
.spread figure { overflow: hidden; }
.spread figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.spread__cap { margin-top: 20px; color: var(--c-light); }
.spread__cap b { display: block; font-size: 20px; color: #fff; margin-bottom: 4px; letter-spacing: .1em; }
.spread__page--art svg { width: min(100%, 320px); margin: 0 auto; display: block; }
.flow__cta { padding: 64px 20px 100px; text-align: center; }
@media (min-width: 768px) {
  .spread { grid-template-columns: 1fr 1.3fr; }
  .spread__page { padding: 56px 48px; }
}
/* 動く版（PCだけ）：見開きを横一列に並べ、縦のスクロールで横へ */
.is-motion-pc .flow__viewport { height: 100vh; display: flex; align-items: center; }
.is-motion-pc .flow__track { display: flex; width: max-content; height: 100vh; }
.is-motion-pc .spread { width: 100vw; height: 100vh; border-top: 0; grid-template-columns: 1fr 1fr; align-items: stretch; }
.is-motion-pc .spread__page { padding: 120px 6vw 64px; display: flex; flex-direction: column; justify-content: center; }
.is-motion-pc .spread__page--title { flex-direction: row; justify-content: flex-start; align-items: center; border-right: 1px solid var(--c-line); }
.is-motion-pc .spread__no { font-size: 180px; }
.is-motion-pc .spread__v { font-size: 104px; }
.is-motion-pc .spread figure img { aspect-ratio: auto; height: 52vh; }

/* ===== 声 ===== */
.voice { padding: 120px 0; background: var(--c-panel); }
.voices { display: grid; gap: 24px; }
.vq { border: 1px solid var(--c-line); padding: 32px 24px; background: var(--c-bg); position: relative; }
.vq::before { content: "“"; position: absolute; top: -10px; left: 20px; font-family: var(--font-en); font-size: 72px; line-height: 1; color: var(--c-purple); }
.vq p { font-size: 18px; color: #fff; font-weight: 700; }
.vq footer { margin-top: 16px; color: var(--c-dim); font-size: 15px; }
@media (min-width: 900px) { .voices { grid-template-columns: 1fr 1fr; } .vq { padding: 48px 40px; } }

/* ===== 料金（白い区切り） ===== */
.price { padding: 120px 0; background: #fff; color: var(--c-text); text-align: center; }
.plans { display: grid; gap: 20px; text-align: left; margin-bottom: 20px; }
.plan { position: relative; border: 1px solid #d8d4e3; padding: 32px 24px; }
.plan h3 { font-weight: 900; font-size: 20px; color: var(--c-bg); }
.plan__price { font-weight: 900; font-size: 36px; color: var(--c-accent-text); margin: 8px 0; letter-spacing: -.01em; }
.plan--main { border: 2px solid var(--c-purple); box-shadow: 0 20px 50px rgba(124, 58, 237, .18); }
.plan__tag { position: absolute; top: -14px; left: 24px; background: var(--c-purple); color: #fff; font-weight: 700; font-size: 15px; padding: 2px 14px; }
.price__note { color: var(--c-sub); font-size: 15px; margin-bottom: 40px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } .plan--main { transform: translateY(-16px); } }

/* ===== よくある質問 ===== */
.faq { padding: 120px 0; }
.faq__list { border-top: 1px solid var(--c-line); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 16px; min-height: 72px; padding: 12px 0; font-weight: 700; font-size: 18px; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--font-en); font-size: 24px; color: var(--c-violet); flex: none; }
.faq summary::after { content: "+"; margin-left: auto; font-size: 28px; color: var(--c-lilac); flex: none; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px 36px; color: var(--c-light); }

/* ===== 申し込み ===== */
.entry { position: relative; padding: 140px 20px; text-align: center; overflow: hidden; background: #140d24; }
.entry__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.entry::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11, 9, 18, .9), rgba(36, 21, 66, .82)); }
.entry__inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.entry__title { font-weight: 900; font-size: clamp(40px, 7vw, 96px); line-height: 1.15; color: #fff; margin: 12px 0 20px; letter-spacing: -.02em; }
.entry__inner > p:not(.en) { margin-bottom: 40px; }
.entry__btns { display: flex; flex-direction: column; align-items: center; gap: 16px; }
@media (min-width: 768px) { .entry__btns { flex-direction: row; justify-content: center; } }

/* ===== フッター ===== */
.footer { border-top: 1px solid var(--c-line); padding: 56px 20px 32px; text-align: center; font-size: 15px; color: var(--c-dim); }
.footer__logo { font-family: var(--font-en); font-size: 32px; letter-spacing: .14em; color: #fff; margin-bottom: 12px; }
.footer__fiction { margin-top: 16px; }

.fixcta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 20px calc(10px + env(safe-area-inset-bottom)); background: rgba(11, 9, 18, .94); border-top: 1px solid var(--c-purple); }
.fixcta .btn { width: 100%; }
@media (min-width: 1080px) { .fixcta { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
