/* LP 専用。JK・JD 向けにパステルと丸ゴシックで組む。/i/ と規約ページは style.css のまま */
:root {
  --bg: #fff7f9;
  --dot: #ffd9e6;
  --text: #3d2447;
  --muted: #7a6680;
  --pink: #ff7aa8;
  --pink-deep: #cf2f6b; /* 白文字で 4.5:1 を超える濃さ。ボタンはこっち */
  --pink-soft: #ffe1ec;
  --lav: #ebe3ff;
  --lav-deep: #8a6be8;
  --mint: #daf5ea;
  --lemon: #fff1bd;
  --card: #ffffff;
  --line: #f6d3e0;
  --shadow: 0 10px 30px rgba(207, 47, 107, 0.12);
  --round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", system-ui, sans-serif;
  --hand: "Yusei Magic", "Zen Maru Gothic", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1e1424;
    --dot: #2d1f35;
    --text: #fbeef4;
    --muted: #c7b3cc;
    --pink-soft: #3a2033;
    --lav: #2b2342;
    --mint: #1c3229;
    --lemon: #3a321a;
    --card: #2a1c31;
    --line: #43294a;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(var(--dot) 1.6px, transparent 1.6px);
  background-size: 22px 22px;
  font-family: var(--round);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.nw { white-space: nowrap; }

/* ヘッダー */
header.site { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 19px; color: var(--text); text-decoration: none; }
.mark { width: 34px; height: 34px; border-radius: 12px; background: var(--pink-deep); display: grid; place-items: center; transform: rotate(-6deg); box-shadow: 0 4px 0 #a5235a; }
.mark svg { width: 18px; height: 18px; }
.lang { font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; background: var(--card); border: 2px solid var(--line); border-radius: 999px; padding: 4px 14px; }
.lang:hover { color: var(--pink-deep); }

/* ヒーロー */
.hero { position: relative; text-align: center; padding: 28px 0 8px; }
.pill { display: inline-block; margin: 0; padding: 4px 16px; border-radius: 999px; background: var(--lemon); font-weight: 700; font-size: 14px; transform: rotate(-2deg); }
.hero h1 { font-weight: 900; font-size: clamp(38px, 8.4vw, 68px); line-height: 1.22; letter-spacing: 0.01em; margin: 18px 0 0; }
.hl { background: linear-gradient(transparent 62%, var(--pink) 62%, var(--pink) 90%, transparent 90%); padding: 0 4px; }
.lede { max-width: 34em; margin: 20px auto 0; color: var(--muted); font-size: clamp(16px, 2.3vw, 18px); }

.waitlist { display: flex; gap: 8px; max-width: 460px; margin: 28px auto 0; padding: 6px; background: var(--card); border: 2px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
.waitlist input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 16px; padding: 10px 16px; outline: none; }
.waitlist:focus-within { border-color: var(--pink); }
button, .cta { font: inherit; font-weight: 700; font-size: 16px; border: 0; cursor: pointer; color: #fff; background: var(--pink-deep); border-radius: 999px; padding: 12px 22px; min-height: 44px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 0 #a5235a; transition: transform .12s ease, box-shadow .12s ease; }
button:hover, .cta:hover { transform: translateY(-1px); }
button:active, .cta:active { transform: translateY(3px); box-shadow: 0 1px 0 #a5235a; }
button:disabled { opacity: .6; cursor: default; }
.note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.note.done { color: var(--pink-deep); font-weight: 700; }

.spark { position: absolute; width: 26px; height: 26px; color: var(--pink); }
.spark.s1 { top: 40px; left: 6%; }
.spark.s2 { top: 150px; right: 7%; color: var(--lav-deep); width: 20px; height: 20px; }
.spark.s3 { top: 300px; left: 12%; color: #f5b82e; width: 18px; height: 18px; }

/* 2 台のステージ */
.stage { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 250px)); justify-content: center; gap: clamp(14px, 6vw, 72px); margin: 48px auto 0; padding: 48px 12px 40px; border-radius: 48px; background: linear-gradient(135deg, var(--pink-soft), var(--lav)); }
.phone { position: relative; }
.phone:first-of-type { transform: rotate(-4deg); }
.phone:last-of-type { transform: rotate(4deg); }
.who { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); z-index: 2; background: var(--card); color: var(--text); font-weight: 900; font-size: 14px; padding: 2px 14px; border-radius: 999px; border: 2px solid var(--line); white-space: nowrap; }
.screen { aspect-ratio: 9 / 19; border-radius: 36px; border: 7px solid #3d2447; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22% 9% 8%; box-shadow: 0 18px 40px rgba(61, 36, 71, .22); }
.shield { background: linear-gradient(180deg, #ffd0e1, #ffb3cf); color: #3d2447; }
.shield .lock { width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.shield .lock svg { width: 26px; height: 26px; }
.shield b { margin-top: 16px; font-size: clamp(13px, 1.9vw, 16px); line-height: 1.45; }
.shield p { margin: 8px 0 0; font-size: clamp(10px, 1.4vw, 12px); line-height: 1.6; }
.shield .count { display: block; margin-top: 6px; font-weight: 900; color: var(--pink-deep); }
.shield .primary { margin-top: auto; width: 100%; padding: 9px 0; border-radius: 999px; background: var(--pink-deep); color: #fff; font-weight: 700; font-size: clamp(11px, 1.5vw, 13px); }
.shield .secondary { margin-top: 6px; font-size: clamp(11px, 1.5vw, 13px); font-weight: 700; }
.lockscreen { background: linear-gradient(180deg, #b9a4ff, #ffc4dc); color: #fff; padding-top: 14%; }
.lockscreen .date { font-size: clamp(10px, 1.4vw, 12px); font-weight: 700; }
.lockscreen .time { font-size: clamp(36px, 6vw, 54px); font-weight: 900; line-height: 1.1; }
.notif { margin-top: 18%; width: 100%; text-align: left; background: rgba(255,255,255,.88); color: #3d2447; border-radius: 18px; padding: 9px 10px; animation: drop 3.6s ease-in-out infinite; }
.notif .app { display: flex; align-items: center; gap: 6px; font-size: 9px; font-weight: 700; color: var(--muted); }
.notif .app span:last-child { margin-left: auto; }
.notif .mark { width: 16px; height: 16px; border-radius: 5px; box-shadow: none; transform: none; }
.notif .mark svg { width: 10px; height: 10px; }
.notif b { display: block; margin-top: 4px; font-size: clamp(11px, 1.5vw, 13px); line-height: 1.4; }
.notif p { margin: 0; font-size: clamp(10px, 1.3vw, 12px); color: var(--muted); }
.notif .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.notif .actions span { text-align: center; font-size: 11px; font-weight: 700; padding: 4px 0; border-radius: 10px; background: var(--pink-soft); }
.notif .actions span:first-child { background: var(--pink-deep); color: #fff; }

.sticker { position: absolute; z-index: 3; font-family: var(--hand); font-size: clamp(14px, 2.2vw, 19px); line-height: 1.3; padding: 8px 14px; border-radius: 16px; background: var(--card); color: var(--text); box-shadow: var(--shadow); white-space: nowrap; animation: bob 4s ease-in-out infinite; }
.sticker.ask { top: 46%; left: 50%; transform: translate(-50%, -50%) rotate(-5deg); background: var(--lemon); }
.sticker.ok { bottom: 10px; right: 6%; transform: rotate(6deg); background: var(--mint); animation-delay: -2s; }

@keyframes drop { 0%, 12% { opacity: 0; transform: translateY(-10px); } 22%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes bob { 50% { translate: 0 -5px; } }
@media (prefers-reduced-motion: reduce) { .notif, .sticker { animation: none; } html { scroll-behavior: auto; } }

/* セクション共通 */
section { margin: 88px 0; }
.kicker { display: block; text-align: center; font-family: var(--hand); color: var(--pink-deep); font-size: 18px; }
h2 { text-align: center; font-weight: 900; font-size: clamp(26px, 5vw, 38px); line-height: 1.35; margin: 4px 0 0; }
.sub { text-align: center; color: var(--muted); margin: 10px auto 0; max-width: 32em; }

/* こんなときに */
.scenes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; padding: 0; list-style: none; }
.scenes li { background: var(--card); border-radius: 28px; padding: 24px; box-shadow: var(--shadow); }
.scenes li:nth-child(1) { rotate: -1.2deg; }
.scenes li:nth-child(3) { rotate: 1.2deg; }
.scenes .ico { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; }
.scenes .ico svg { width: 26px; height: 26px; }
.scenes li:nth-child(1) .ico { background: var(--pink-soft); color: var(--pink-deep); }
.scenes li:nth-child(2) .ico { background: var(--lav); color: var(--lav-deep); }
.scenes li:nth-child(3) .ico { background: var(--lemon); color: #b07a00; }
.scenes b { display: block; margin-top: 14px; font-size: 19px; font-weight: 900; }
.scenes p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

/* しくみ */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; counter-increment: s; border-radius: 28px; padding: 40px 22px 24px; }
.steps li:nth-child(1) { background: var(--pink-soft); }
.steps li:nth-child(2) { background: var(--lav); }
.steps li:nth-child(3) { background: var(--mint); }
.steps li::before { content: counter(s); position: absolute; top: -18px; left: 22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--pink-deep); color: #fff; font-weight: 900; font-size: 20px; box-shadow: 0 4px 0 #a5235a; }
.steps b { font-size: 19px; font-weight: 900; }
.steps p { margin: 6px 0 0; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.chips span { background: var(--card); border: 2px dashed var(--pink); border-radius: 999px; padding: 6px 16px; font-size: 15px; }
.chips b { color: var(--pink-deep); font-weight: 900; }

/* 約束 */
.promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.promise > div { background: var(--card); border-radius: 28px; padding: 24px; box-shadow: var(--shadow); }
.promise .big { grid-column: span 3; text-align: center; padding: 36px 24px; background: linear-gradient(135deg, var(--pink-deep), var(--lav-deep)); color: #fff; }
.promise .big b { font-size: clamp(20px, 3.6vw, 28px); line-height: 1.5; font-weight: 900; }
.promise .big em { font-style: normal; font-family: var(--hand); font-size: 1.1em; background: rgba(255,255,255,.2); padding: 0 8px; border-radius: 10px; }
.promise .big p { color: rgba(255,255,255,.9); }
.promise b { font-size: 18px; font-weight: 900; }
.promise p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.promise .wide { grid-column: span 2; }

/* 締め */
.closing { text-align: center; background: var(--card); border-radius: 40px; padding: 48px 20px; box-shadow: var(--shadow); }
.closing .go { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.ghost { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 22px; border-radius: 999px; border: 2px solid var(--line); color: var(--text); font-weight: 700; text-decoration: none; }
.req { margin: 18px 0 0; font-size: 13px; color: var(--muted); }

footer.site { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 24px 0 40px; font-size: 13px; color: var(--muted); }
footer.site p { margin: 0; }
footer.site a { color: inherit; }

@media (max-width: 720px) {
  .scenes, .steps, .promise { grid-template-columns: minmax(0, 1fr); }
  .promise .big, .promise .wide { grid-column: auto; }
  .steps { gap: 28px; }
  .scenes li { rotate: none !important; }
}

@media (max-width: 560px) {
  .waitlist { flex-direction: column; border-radius: 28px; }
  .waitlist button { width: 100%; }
  .stage { border-radius: 32px; padding: 40px 10px 56px; }
  .screen { border-width: 5px; border-radius: 26px; }
  .shield .lock { width: 38px; height: 38px; }
  .shield .lock svg { width: 20px; height: 20px; }
  .spark.s3 { display: none; }
  .sticker.ask { top: auto; bottom: 12px; left: 8%; transform: rotate(-5deg); }
  .sticker.ok { bottom: 12px; right: 6%; }
  .stage { padding-bottom: 72px; }
}

/* 規約・プライバシーポリシー（scripts/legal-html.sh が生成） */
.doc { max-width: 760px; margin: 8px auto 56px; background: var(--card); border-radius: 36px; padding: clamp(24px, 5vw, 48px); box-shadow: var(--shadow); font-size: 16px; }
.doc h1 { font-weight: 900; font-size: clamp(26px, 5vw, 34px); line-height: 1.35; margin: 0; }
.doc h1 + p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.doc h2 { text-align: left; font-size: 20px; margin: 40px 0 0; padding-left: 14px; border-left: 6px solid var(--pink); line-height: 1.4; }
.doc h3 { font-size: 17px; margin: 24px 0 0; }
.doc p, .doc ul { margin: 12px 0 0; }
.doc li + li { margin-top: 4px; }
.doc strong { background: linear-gradient(transparent 60%, var(--pink-soft) 60%); }
.doc a { color: var(--pink-deep); font-weight: 700; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14px; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 2px solid var(--line); }
.doc th { background: var(--pink-soft); white-space: nowrap; }
