:root {
  --lav: #9b6bd6;
  --lav-deep: #7d4fc2;
  --lav-pale: #f2ecfb;
  --pink: #e8a0cf;
  --pink-deep: #d9608a;
  --pink-pale: #fdf3f8;
  --ink: #333a40;
  --ink-soft: #6b6f76;
  --line: #e9e2f3;
  --white: #fff;
  --green: #06c755;
  --green-deep: #05a847;
  --shadow: 0 10px 30px rgba(123, 79, 194, .10);
  --max: 960px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
h1, h2 { line-height: 1.35; margin: 0; }
p { margin: 0; }
.nowrap { white-space: nowrap; }

.bar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; padding: 0 16px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 900; font-size: 18px; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.logo-mark { display: block; width: 28px; height: 28px; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.15; }
.logo-txt > * { display: block; text-align: justify; text-align-last: justify; text-justify: inter-character; }
.logo-txt small { font-size: 12px; font-weight: 700; color: var(--ink-soft); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  border: 0; cursor: pointer; white-space: nowrap;
  transition: transform .08s ease;
}
.btn:active { transform: scale(.98); }
.btn-line { background: var(--green); color: var(--white); box-shadow: 0 8px 20px rgba(6, 199, 85, .22); }
.btn-line:hover { background: var(--green-deep); }
.btn-primary { background: var(--lav); color: var(--white); box-shadow: 0 8px 20px rgba(155, 107, 214, .25); }
.btn-primary:hover { background: var(--lav-deep); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-wide { width: min(100%, 280px); }

.play-top { background: linear-gradient(160deg, var(--pink-pale), var(--lav-pale) 60%, var(--white)); }
.play-intro { display: none; }
.play-intro h1 { font-size: 40px; font-weight: 900; }
.play-intro h1 em { font-style: normal; color: var(--lav-deep); }
.hero-lead { margin-top: 14px; font-size: 16px; color: var(--ink-soft); line-height: 1.9; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; }
.btn-ghost { background: var(--white); color: var(--lav-deep); border: 2px solid var(--lav); }
.phone.phone-game { max-width: none; }
.phone-game .phone-body { padding: 2.4cqw; border-radius: 11cqw; }
.phone-game .phone-screen { border-radius: 8.6cqw; }
.phone-game iframe { display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; background: var(--lav-pale); }
.play-frame { height: calc(100vw * 16 / 9); height: max(calc(100vw * 16 / 9), calc(100svh - 112px)); }
.play-frame iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--lav-pale); }
.play-cue {
  display: flex; align-items: center; justify-content: center; height: 52px;
  color: var(--lav-deep); font-size: 13px; font-weight: 700; text-decoration: none;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.play-cue span::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }

.sec { padding: 52px 16px; text-align: center; scroll-margin-top: 60px; }
.sec > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.sec-soft { background: var(--pink-pale); }
.sec-title { font-size: 24px; font-weight: 900; margin-bottom: 28px; }
.sec-price { margin-top: -20px; margin-bottom: 28px; font-weight: 700; color: var(--lav-deep); font-size: 16px; }
.sec-note { margin-top: 16px; font-size: 13px; color: var(--ink-soft); }
.hint { margin-top: 14px; font-size: 12px; color: var(--ink-soft); }
.diag-box { max-width: 520px; margin: 0 auto; padding: 24px 20px; border-radius: 20px; background: linear-gradient(135deg, var(--pink-pale), var(--lav-pale)); border: 1px solid var(--line); display: grid; gap: 18px; justify-items: center; }
.diag-box p { font-size: 15px; text-wrap: balance; word-break: auto-phrase; }
.flow p, .faq summary, .faq p, .sec-note, .game-text p, .pr-name, .hero-lead, .hint { text-wrap: balance; word-break: auto-phrase; }

.game-text { max-width: 380px; margin: 0 auto 22px; }
.game-text > p:first-child { font-size: 15px; color: var(--ink); }
.game-text .hint { margin-top: 8px; }
.phone.game-frame { width: calc(100vw - 20px); margin-left: calc(50% - 50vw + 10px); }

.phone { margin: 0; display: block; width: 100%; max-width: 240px; container-type: inline-size; }
.phone-body {
  position: relative; padding: 3.4cqw; border-radius: 16cqw;
  background: linear-gradient(150deg, #5c5464 0%, #27222c 38%, #1b1720 62%, #4a4452 100%);
  box-shadow: inset 0 0 0 .5cqw rgba(255, 255, 255, .18), inset 0 0 0 1.4cqw #131016, 0 18px 40px rgba(51, 58, 64, .28);
}
.phone-body::before, .phone-body::after { content: ""; position: absolute; width: 1.3cqw; background: #3a3540; }
.phone-body::before { left: -1.2cqw; top: 30cqw; height: 11cqw; border-radius: 1cqw 0 0 1cqw; box-shadow: 0 15cqw 0 #3a3540; }
.phone-body::after { right: -1.2cqw; top: 40cqw; height: 20cqw; border-radius: 0 1cqw 1cqw 0; }
.phone-screen { border-radius: 12.8cqw; overflow: hidden; background: #fff7fb; }
.phone-status { position: relative; height: 11.5cqw; display: flex; align-items: center; justify-content: space-between; padding: .8cqw 7.5cqw 0 9.5cqw; font-size: 4.8cqw; font-weight: 700; color: #2b2530; line-height: 1; }
.ps-island { position: absolute; left: 50%; top: 2.4cqw; width: 30cqw; height: 8.4cqw; transform: translateX(-50%); border-radius: 5cqw; background: #111014; }
.ps-icons { display: flex; align-items: center; gap: 1.6cqw; }
.ps-icons svg { display: block; height: 3.9cqw; width: auto; fill: currentColor; }
.vwrap { position: relative; cursor: pointer; }
.phone video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #f2ecfb; }
.vplay { position: absolute; left: 50%; top: 58%; width: 18cqw; height: 18cqw; padding: 0; border: 0; border-radius: 50%; transform: translate(-50%, -50%); background: rgba(255, 255, 255, .9); box-shadow: 0 2cqw 6cqw rgba(70, 40, 90, .28); cursor: pointer; transition: opacity .2s; }
.vplay::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -3.6cqw 0 0 -2.2cqw; border-left: 6.4cqw solid var(--pink-deep); border-top: 3.6cqw solid transparent; border-bottom: 3.6cqw solid transparent; }
.vwrap.playing .vplay { opacity: 0; pointer-events: none; }
.vbar { position: absolute; left: 0; right: 0; bottom: 0; height: 1.2cqw; background: rgba(255, 255, 255, .35); opacity: 0; transition: opacity .2s; }
.vbar i { display: block; width: 0; height: 100%; background: var(--pink-deep); }
.vwrap.playing .vbar, .vwrap.paused .vbar { opacity: 1; }
.phone-home { height: 7cqw; display: grid; place-items: center; }
.phone-home::after { content: ""; width: 34cqw; height: 1.5cqw; border-radius: 1cqw; background: #2b2530; }

.shop-tags { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 295px; padding: 0; margin-top: 0; margin-bottom: 0; }
.shop-tags li { padding: 8px 15px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--line); box-shadow: var(--shadow); font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.shop-tags li:nth-child(odd) { border-color: #f4c6dd; }
.shop-tags li:nth-child(even) { border-color: #d9c8f2; }
@media (max-width: 380px) { .shop-tags { gap: 6px; max-width: 260px; } .shop-tags li { padding: 7px 11px; font-size: 13.5px; } }

.sec > .chara-track { max-width: none; }
.chara-track {
  overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 6px 0 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.chara-track::-webkit-scrollbar { display: none; }
.chara-row { display: flex; gap: 14px; width: max-content; padding: 0 16px; }
.chara {
  flex: 0 0 auto; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px;
  min-width: 128px; padding: 16px 16px 12px; border-radius: 22px;
  background: linear-gradient(180deg, var(--white) 30%, var(--lav-pale)); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.chara img { height: 150px; width: auto; }
.chara figcaption { padding: 3px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--lav-deep); white-space: nowrap; }

.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; justify-items: center; max-width: 560px; }

.extra-badge { display: inline-block; margin-top: -12px; padding: 8px 22px; border-radius: 999px; background: linear-gradient(135deg, var(--pink-deep), var(--lav)); color: var(--white); font-size: 15px; font-weight: 700; box-shadow: 0 8px 20px rgba(217, 96, 138, .25); }
.extra-badge b { margin-left: 4px; font-size: 20px; font-weight: 900; }
.extra-lead { margin-top: 16px; font-size: 15px; text-wrap: balance; word-break: auto-phrase; }
.sub-title { margin-top: 40px; margin-bottom: 16px; font-size: 18px; font-weight: 900; }
.sub-title small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.koma-grid { list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 420px; }
.koma { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); cursor: zoom-in; font: inherit; }
.koma img { display: block; width: 100%; height: auto; }
.koma-more { position: relative; display: block; height: 38px; border-top: 1px solid var(--line); }
.koma-more::before { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; border-radius: 50%; background: var(--lav-pale); border: 1.5px solid #d9c8f2; transform: translate(-50%, -50%); }
.koma-more::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--lav-deep); border-bottom: 2px solid var(--lav-deep); transform: translate(-50%, -70%) rotate(45deg); }
.koma:active { transform: scale(.98); }
.koma-box { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 60px 12px 28px; border: 0; background: rgba(32, 24, 38, .9); overflow-y: auto; overscroll-behavior: contain; }
.koma-box::backdrop { background: transparent; }
.koma-box img { display: block; width: min(100%, 520px); height: auto; margin: 0 auto; border-radius: 10px; background-repeat: no-repeat; background-position: top center; background-size: 100% auto; }
.koma-x { position: fixed; top: 12px; right: 12px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--white); cursor: pointer; z-index: 1; }
.koma-x::before, .koma-x::after { content: ""; position: absolute; left: 11px; top: 19px; width: 18px; height: 2px; border-radius: 1px; background: var(--ink); transform: rotate(45deg); }
.koma-x::after { transform: rotate(-45deg); }
html:has(.koma-box[open]) { overflow: hidden; }

.price-table { max-width: 560px; text-align: left; border-top: 1px solid var(--line); }
.pr { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.pr-name { font-size: 15px; font-weight: 700; line-height: 1.5; }
.pr-val { text-align: right; line-height: 1.5; }
.pr-val b { font-size: 16px; color: var(--lav-deep); white-space: nowrap; }
.pr small { display: block; font-size: 12px; font-weight: 400; color: var(--ink-soft); white-space: nowrap; }

.flow { list-style: none; counter-reset: step; margin: 0 auto; padding: 0; display: grid; gap: 10px; max-width: 560px; }
.flow li {
  counter-increment: step; display: flex; align-items: flex-start; gap: 14px;
  background: var(--white); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); text-align: left;
}
.flow li::before {
  content: counter(step); flex: 0 0 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 900; color: var(--white);
  background: linear-gradient(135deg, var(--pink), var(--lav));
}
.flow b { display: block; font-size: 15px; line-height: 30px; }
.flow p { margin-top: 2px; font-size: 13px; line-height: 1.7; color: var(--ink-soft); }

.faq { display: grid; gap: 10px; max-width: 560px; text-align: left; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; }
.faq summary { cursor: pointer; padding: 14px 28px 14px 0; font-weight: 700; font-size: 15px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; color: var(--lav); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq p { padding: 0 0 14px; font-size: 14px; color: var(--ink-soft); }

.or { margin: 34px 0 0; font-size: 13px; color: var(--ink-soft); }
.form { max-width: 420px; margin: 28px auto 0; text-align: left; display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.form input, .form textarea {
  font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); color: var(--ink); width: 100%;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--lav); border-color: var(--lav); }
.form textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: center; }
.form-note { text-align: center; font-size: 14px; min-height: 1.8em; }
.form-note[data-state="ok"] { color: var(--green-deep); font-weight: 700; }
.form-note[data-state="err"] { color: var(--pink-deep); font-weight: 700; }

.foot { text-align: center; padding: 26px 16px 36px; color: var(--ink-soft); font-size: 12px; border-top: 1px solid var(--line); }

@media (max-width: 599px) {
  .bar { position: relative; }
  .sec { scroll-margin-top: 0; }
  .play-frame .phone-body { height: 100%; padding: 0; border-radius: 0; background: none; box-shadow: none; }
  .play-frame .phone-body::before, .play-frame .phone-body::after, .play-frame .phone-status, .play-frame .phone-home { display: none; }
  .play-frame .phone-screen { height: 100%; border-radius: 0; }
  .play-frame iframe { height: 100%; aspect-ratio: auto; }
}

@media (min-width: 600px) {
  .play-top { padding: 32px 24px 0; }
  .play-frame { width: clamp(300px, calc((100vh - 150px) * 0.52), 400px); height: auto; margin: 0 auto; }
  .phone.game-frame { width: clamp(300px, calc((100vh - 150px) * 0.52), 400px); margin: 0 auto; }
  .play-cue { background: transparent; border: 0; }
}

@media (min-width: 900px) {
  .play-top {
    display: grid; grid-template-columns: minmax(0, 460px) auto; justify-content: center; align-items: center;
    gap: 64px; padding: 40px 24px 32px;
  }
  .play-intro { display: block; }
  .hero-actions .btn { min-width: 170px; }
  .play-cue { grid-column: 1 / -1; }
  .game-box { display: grid; grid-template-columns: auto minmax(0, 380px); justify-content: center; align-items: center; gap: 56px; text-align: left; }
  .phone.game-frame { order: -1; margin: 0; }
  .game-text { margin: 0; }
}

@media (min-width: 640px) {
  .sec { padding: 68px 24px; }
  .sec-title { font-size: 30px; }
  .chara img { height: 210px; }
  .shop-tags { gap: 12px; max-width: 540px; }
  .shop-tags li { padding: 10px 22px; font-size: 15px; }
  .koma-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 820px; }
  .video-grid { gap: 28px; }
  .chara-track { margin: 0 -24px; }
  .chara-row { padding: 0 24px; }
}
@media (min-width: 1010px) { .shop-tags { max-width: 960px; } }
