/* LOVELAB 恋愛の強み診断
   くすみピンク・ローズ・アイボリー。スマホを先に作り、広い画面では中央にカードを置く。
   文字色はすべて背景とのコントラスト比 4.5 以上（大きな見出しは 3 以上）を目安にしています。 */
:root {
  --ivory: #fbf7f1;
  --ivory-2: #f5ede5;
  --paper: #fffdfa;
  --blush: #f6e6e6;
  --blush-2: #efd6d8;
  --pink: #dcaeb6;
  --rose: #a85a6d;       /* 文字にも使えるローズ（ivory上 5.2:1） */
  --rose-deep: #864457;  /* 見出し・強調 */
  --ink: #3d2f33;
  --ink-soft: #6b585d;   /* 補足文（ivory上 6.0:1） */
  --line: #eadbd7;
  --line-green: #06c755;
  --accent: var(--rose);
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --shadow-sm: 0 2px 8px rgba(134, 68, 87, .06);
  --shadow: 0 12px 32px rgba(134, 68, 87, .10);
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "YuGothic", "Meiryo", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.85; letter-spacing: .03em;
  background:
    radial-gradient(90% 50% at 100% 0%, rgba(220, 174, 182, .35), transparent 70%),
    radial-gradient(80% 40% at 0% 100%, rgba(246, 230, 230, .9), transparent 70%),
    var(--ivory);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
main { flex: 1; width: 100%; max-width: 600px; margin: 0 auto; padding: 0 16px; }
svg { display: block; }
a { color: var(--rose-deep); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.45; letter-spacing: .05em; font-weight: 600; }
/* 見出しやキャッチは、ことばの途中で折り返さない（対応ブラウザのみ） */
h1, h2, h3, .result__catch, .hero__catch, .start__catch, .cta-box__lead { word-break: auto-phrase; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
li { text-wrap: pretty; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 10px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--paper); padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ── ヘッダー ── */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 8px 16px; padding-top: max(8px, env(safe-area-inset-top));
  background: rgba(251, 247, 241, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(234, 219, 215, .8);
}
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--rose-deep); text-decoration: none; }
.brand__mark { width: 26px; height: 26px; }
.brand__name { font-family: var(--serif); font-size: 19px; letter-spacing: .2em; font-weight: 600; }
.topbar__link { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; }

/* ── ボタン ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 24px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 16px; letter-spacing: .06em; text-decoration: none; line-height: 1.4;
  transition: transform .15s var(--ease), box-shadow .2s, background .2s, opacity .2s;
  touch-action: manipulation;
}
.btn:active { transform: scale(.98); }
.btn__icon { width: 20px; height: 20px; flex: none; }
.btn--primary { color: #fff; background: linear-gradient(135deg, #bd7385, var(--rose-deep)); box-shadow: 0 8px 20px rgba(134, 68, 87, .25); }
.btn--primary:hover { box-shadow: 0 12px 26px rgba(134, 68, 87, .32); }
.btn--xl { width: 100%; min-height: 60px; font-size: 18px; }
.btn--block { display: flex; width: 100%; }
.btn--line { color: #fff; background: var(--line-green); box-shadow: 0 8px 20px rgba(6, 199, 85, .22); }
.btn--dark { color: #fff; background: #2b2326; }
.btn--outline { color: var(--rose-deep); background: var(--paper); border: 1.5px solid var(--pink); }
.btn--outline:hover { background: var(--blush); }
.btn--text { color: var(--ink-soft); background: transparent; padding-inline: 12px; min-height: 48px; }
.btn--text:hover { color: var(--rose-deep); }

.pill { display: inline-block; padding: 4px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--rose-deep); background: var(--blush); }

/* ── 画面共通のアニメーション ── */
.view { padding: 16px 0 40px; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes grow { from { width: 0; } to { width: var(--w); } }

/* ── ① スタート ── */
.start__card {
  text-align: center; padding: 22px 18px 22px; border-radius: 28px;
  background: rgba(255, 253, 250, .92); border: 1px solid var(--line); box-shadow: var(--shadow);
  animation: rise .6s var(--ease) both;
}
.start__title { font-family: var(--serif); font-size: clamp(28px, 8.2vw, 42px); color: var(--rose-deep); margin: 10px 0 8px; letter-spacing: .08em; }
.start__catch { font-family: var(--serif); font-size: clamp(16px, 4.4vw, 19px); line-height: 1.8; color: var(--ink); }
.start__lead { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 16px; line-height: 1.75; }
.start__note { font-size: 12.5px; color: var(--ink-soft); margin-top: 12px; }

.orbit { position: relative; width: 168px; height: 168px; margin: 12px auto 10px; }
.orbit__ring { position: absolute; inset: 18px; border-radius: 50%; border: 1.5px dashed var(--pink); animation: spin 60s linear infinite; }
.orbit__core {
  position: absolute; inset: 50px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #fff, var(--blush-2)); color: var(--rose); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
}
.orbit__core svg { width: 34px; height: 34px; animation: pulse 2.6s ease-in-out infinite; }
.orbit__item {
  --r: 66px; --a: calc(var(--i) * 60deg - 90deg);
  position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px;
  transform: rotate(var(--a)) translate(var(--r)) rotate(calc(-1 * var(--a)));
  display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--rose);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.orbit__item svg { width: 19px; height: 19px; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.facts li {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px;
  border-radius: 16px; background: var(--ivory); border: 1px solid var(--line); font-size: 11.5px; color: var(--ink-soft); line-height: 1.4;
}
.facts svg { width: 22px; height: 22px; color: var(--rose); margin-bottom: 4px; }
.facts b { display: block; font-size: 14px; color: var(--ink); }

.type-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; animation: rise .6s .15s var(--ease) both; }
.type-chips li {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--c);
}
.type-chips svg { width: 18px; height: 18px; }

/* ── ② 質問 ── */
.progress { position: sticky; top: 56px; z-index: 10; padding: 10px 0 12px; margin: 0 -16px 8px; padding-inline: 16px; background: linear-gradient(var(--ivory) 70%, rgba(251, 247, 241, 0)); }
.progress__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.progress__count { font-size: 13px; color: var(--ink-soft); font-weight: 700; letter-spacing: .08em; }
.progress__count b { font-size: 22px; color: var(--rose-deep); font-family: var(--serif); margin-right: 2px; }
.progress__slash { margin: 0 4px; }
.progress__left { font-size: 13px; color: var(--ink-soft); }
.progress__steps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 5px; }
.progress__steps li { height: 6px; border-radius: 99px; background: var(--blush-2); transition: background .3s; }
.progress__steps li.is-done { background: var(--pink); }
.progress__steps li.is-now { background: var(--rose); }

.question { border: 0; margin: 0; padding: 0; min-width: 0; }
.question.is-in { animation: slideIn .35s var(--ease) both; }
.question.is-out { opacity: .55; transition: opacity .2s; }
.question__text { display: block; width: 100%; padding: 0; font-family: var(--serif); font-size: clamp(20px, 5.6vw, 24px); line-height: 1.6; color: var(--ink); }
.question__text:focus { outline: none; }
.question__q { display: block; font-family: var(--sans); font-size: 13px; letter-spacing: .2em; color: var(--rose); font-weight: 700; }
.question__hint { font-size: 13px; color: var(--ink-soft); margin: 6px 0 16px; }

.options { display: grid; gap: 10px; }
.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.option__body {
  display: flex; align-items: center; gap: 14px; min-height: 66px; padding: 14px 16px;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm);
  transition: border-color .2s, background .2s, transform .15s var(--ease), box-shadow .2s;
}
.option__letter {
  flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-size: 14px; font-weight: 700; color: var(--rose); background: var(--blush); transition: background .2s, color .2s;
}
.option__label { flex: 1; font-size: 16px; line-height: 1.6; }
.option__check { flex: none; width: 22px; height: 22px; color: #fff; opacity: 0; transform: scale(.5); transition: opacity .2s, transform .25s var(--ease); }
@media (hover: hover) { .option:hover .option__body { border-color: var(--pink); } }
.option:active .option__body { transform: scale(.985); }
.option input:checked + .option__body { border-color: var(--rose); background: linear-gradient(135deg, #b46a7d, var(--rose-deep)); color: #fff; box-shadow: 0 8px 20px rgba(134, 68, 87, .25); }
.option input:checked + .option__body .option__letter { background: #fff; color: var(--rose-deep); }
.option input:checked + .option__body .option__check { opacity: 1; transform: none; }
.option input:focus-visible + .option__body { outline: 3px solid var(--pink); outline-offset: 2px; }

.alert { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: #fdebee; color: #9b2f47; font-size: 14px; font-weight: 700; border: 1px solid #f4c6cf; }
.quiz__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
.quiz__nav .btn--primary { min-width: 150px; opacity: .5; }
.quiz__nav .btn--primary.is-ready { opacity: 1; }

/* 診断中 */
.analyzing { min-height: 60vh; display: grid; place-content: center; justify-items: center; gap: 20px; text-align: center; }
.analyzing__heart {
  width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; color: var(--rose);
  background: radial-gradient(circle at 35% 30%, #fff, var(--blush-2)); box-shadow: 0 0 0 10px rgba(220, 174, 182, .25), var(--shadow);
}
.analyzing__heart svg { width: 50px; height: 50px; animation: pulse 1s ease-in-out infinite; }
.analyzing__text { font-family: var(--serif); font-size: 18px; color: var(--rose-deep); }

/* ── ③ 結果 ── */
.result.is-in > * { animation: rise .55s var(--ease) both; }
.result.is-in > *:nth-child(2) { animation-delay: .08s; }
.result.is-in > *:nth-child(3) { animation-delay: .14s; }
.result.is-in > *:nth-child(4) { animation-delay: .2s; }
.result.is-in > *:nth-child(5) { animation-delay: .26s; }

.result__hero {
  position: relative; overflow: hidden; text-align: center; padding: 30px 20px 26px; border-radius: 28px;
  background: linear-gradient(165deg, #fff 30%, var(--blush)); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.result__hero::before {
  content: ""; position: absolute; inset: -40% -20% auto; height: 70%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 18%, transparent), transparent); pointer-events: none;
}
.result__label { position: relative; font-size: 13px; color: var(--ink-soft); letter-spacing: .12em; }
.result__emblem {
  position: relative; width: 96px; height: 96px; margin: 14px auto 10px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: var(--accent); box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 16%, transparent), 0 12px 24px color-mix(in srgb, var(--accent) 35%, transparent);
}
.result__emblem svg { width: 48px; height: 48px; }
.result__type { position: relative; font-family: var(--serif); font-size: clamp(32px, 9vw, 42px); color: var(--accent); letter-spacing: .1em; }
.result__type:focus { outline: none; }
.result__catch { position: relative; font-family: var(--serif); font-size: 17px; margin-top: 6px; text-wrap: balance; }
.keywords { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 16px; }
.keywords li { padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--accent); background: #fff; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }

.block { margin-top: 14px; padding: 22px 20px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.block__title { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 18px; color: var(--rose-deep); margin-bottom: 12px; }
.block__title--plain { font-size: 16px; color: var(--ink); }
.block__no { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--sans); font-size: 14px; color: #fff; background: var(--accent); }
.block__text { font-size: 16px; }
.block--action { background: linear-gradient(160deg, #fff8f6, var(--blush)); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.block__tag { font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--accent); margin-bottom: 4px; }

.checks, .dots { display: grid; gap: 10px; }
.checks li, .dots li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.7; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 16%, #fff); }
.checks li::after {
  content: ""; position: absolute; left: 3px; top: calc(.2em + 3px); width: 14px; height: 14px; background: var(--accent);
  -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat;
}
.dots li::before { content: ""; position: absolute; left: 6px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }

.bars { display: grid; gap: 10px; }
.bars li { display: grid; grid-template-columns: 20px 7.2em 1fr; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-soft); }
.bars li svg { width: 18px; height: 18px; color: var(--c); }
.bars__track { display: block; height: 10px; border-radius: 99px; background: var(--blush); overflow: hidden; }
.bars__fill { display: block; height: 100%; width: var(--w); min-width: 6px; border-radius: inherit; background: color-mix(in srgb, var(--c) 55%, #fff); animation: grow .9s .3s var(--ease) both; }
.bars li.is-top { color: var(--ink); font-weight: 700; }
.bars li.is-top .bars__fill { background: var(--c); }
.balance__note { font-size: 14px; color: var(--ink-soft); margin-top: 14px; }

.save-tip { margin-top: 14px; font-size: 13px; color: var(--ink-soft); text-align: center; }

.paid { margin-top: 26px; border-radius: var(--radius); padding: 24px 20px; background: var(--paper); border: 1.5px dashed var(--pink); }
.paid__tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--rose-deep); background: var(--blush); padding: 2px 12px; border-radius: 999px; margin-bottom: 10px; }
.paid h2 { font-family: var(--serif); font-size: 19px; color: var(--rose-deep); margin-bottom: 8px; }
.paid > p { font-size: 15px; }
.compare { display: grid; gap: 10px; margin: 16px 0; }
.compare__col { border-radius: 16px; padding: 14px 16px; background: var(--ivory); }
.compare__col h3 { font-size: 14px; margin-bottom: 6px; color: var(--ink-soft); letter-spacing: .08em; }
.compare__col--paid { background: var(--blush); }
.compare__col--paid h3 { color: var(--rose-deep); }
.compare ul { display: grid; gap: 4px; font-size: 14.5px; }
.compare li { position: relative; padding-left: 16px; }
.compare li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--rose); }
.paid__status { font-size: 13.5px; color: var(--ink-soft); }

.line-box { margin-top: 16px; padding: 24px 20px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); text-align: center; }
.line-box h2 { font-family: var(--serif); font-size: 18px; color: var(--rose-deep); margin-bottom: 6px; }
.line-box > p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 14px; }
.gifts { display: grid; gap: 10px; margin: 6px 0 18px; text-align: left; }
.gift { display: flex; gap: 12px; align-items: flex-start; }
.gift__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--blush); display: grid; place-items: center; color: var(--rose-deep); }
.gift__icon svg { width: 22px; height: 22px; }
.gift h3 { font-size: 15px; }
.gift p { font-size: 13.5px; color: var(--ink-soft); }

.result__actions { display: grid; gap: 10px; margin-top: 22px; }

/* 注意書き・フッター */
.disclaimer { margin: 8px 0 28px; padding: 14px 16px; border-radius: 16px; background: rgba(245, 237, 229, .8); font-size: 12.5px; line-height: 1.8; color: var(--ink-soft); }
.footer { padding: 24px 16px calc(28px + env(safe-area-inset-bottom)); text-align: center; font-size: 13px; color: var(--ink-soft); border-top: 1px solid var(--line); }
.footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 8px; }
.footer a { color: var(--ink-soft); display: inline-block; padding: 6px 0; }

.state { text-align: center; padding: 60px 8px; }
.state h1 { font-family: var(--serif); font-size: 22px; color: var(--rose-deep); margin-bottom: 12px; }

/* 文書ページ（プライバシー） */
.doc { padding-block: 32px 56px; }
.doc h1 { font-family: var(--serif); font-size: 26px; color: var(--rose-deep); margin-bottom: 18px; }
.doc h2 { font-family: var(--serif); font-size: 18px; margin: 26px 0 8px; color: var(--rose-deep); }
.doc p, .doc li { font-size: 15px; }
.doc ul { list-style: disc; padding-left: 1.4em; }


/* ── LP（トップページ） ── */
.lp { padding-bottom: 8px; }
.hero { text-align: center; padding: 28px 0 8px; animation: rise .6s var(--ease) both; }
.hero__title { font-family: var(--serif); font-size: clamp(30px, 9vw, 46px); color: var(--rose-deep); margin: 12px 0 10px; letter-spacing: .08em; }
.hero__catch { font-family: var(--serif); font-size: clamp(17px, 4.8vw, 21px); line-height: 1.8; }
.hero__lead { font-size: 15px; color: var(--ink-soft); margin: 0 0 18px; text-wrap: balance; }
.hero .facts { max-width: 420px; margin-inline: auto; }

.sec { margin-top: 44px; }
.sec__en { text-align: center; font-family: var(--serif); font-style: italic; font-size: 13px; letter-spacing: .16em; color: var(--rose); }
.sec__title { text-align: center; font-family: var(--serif); font-size: clamp(22px, 6.2vw, 27px); color: var(--rose-deep); margin: 2px 0 18px; text-wrap: balance; }
.sec__title::after { content: ""; display: block; width: 36px; height: 2px; margin: 12px auto 0; border-radius: 2px; background: var(--pink); }

.learn { display: grid; gap: 10px; }
.learn li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.learn__no { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 16px; color: #fff; background: linear-gradient(135deg, #bd7385, var(--rose-deep)); }
.learn h3, .types h3, .merits h3 { font-size: 16.5px; color: var(--ink); }
.learn p, .types p, .merits p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.75; }
/* 結果画面の見本 */
.sample { position: relative; margin: 22px 0 0; padding: 18px 14px 4px; border-radius: 26px; background: var(--ivory-2); border: 1px dashed var(--pink); }
.sample__cap { text-align: center; font-size: 13.5px; font-weight: 700; color: var(--rose-deep); letter-spacing: .06em; margin-bottom: 12px; }
.sample__cap span { display: block; font-size: 12px; font-weight: 400; color: var(--ink-soft); letter-spacing: .03em; }
.sample__hero { padding: 22px 16px 20px; box-shadow: var(--shadow-sm); }
.sample__hero .result__emblem { width: 76px; height: 76px; margin: 10px auto 8px; }
.sample__hero .result__emblem svg { width: 38px; height: 38px; }
.sample__hero .result__type { font-size: clamp(26px, 7.4vw, 32px); }
.sample__hero .result__catch { font-size: 15.5px; }
.sample__block { margin-top: 10px; padding: 18px 16px 6px; -webkit-mask: linear-gradient(#000 60%, transparent); mask: linear-gradient(#000 60%, transparent); }
.sample__block .block__title { font-size: 16.5px; }
.sample__block .checks li { font-size: 15px; }
.sample__more { text-align: center; color: var(--ink-soft); }

.types { display: grid; gap: 10px; }
.types li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--c); }
.types__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--c); }
.types__icon svg { width: 24px; height: 24px; }
.types h3 { color: var(--c); }

.merits { display: grid; gap: 12px; }
.merits li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 18px; background: linear-gradient(160deg, #fff, var(--blush)); border: 1px solid var(--line); }
.merits svg { flex: none; width: 28px; height: 28px; color: var(--rose); margin-top: 2px; }

.flow { display: grid; gap: 0; counter-reset: flow; }
.flow li { position: relative; counter-increment: flow; padding: 0 0 20px 50px; font-size: 15.5px; min-height: 36px; }
.flow li::before {
  content: counter(flow); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--serif); font-size: 16px; color: var(--rose-deep); background: var(--paper); border: 1.5px solid var(--pink);
}
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 16.5px; top: 36px; bottom: 2px; width: 1.5px; background: var(--line); }
.flow li:last-child { padding-bottom: 0; }

.gifts--lp { margin: 0; padding: 18px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }

.cta-box { margin-top: 44px; padding: 28px 20px; border-radius: 28px; text-align: center; background: linear-gradient(165deg, #fff 20%, var(--blush)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cta-box__lead { font-family: var(--serif); font-size: 20px; color: var(--rose-deep); margin-bottom: 16px; line-height: 1.7; }
.cta-box__note { font-size: 12.5px; color: var(--ink-soft); margin-top: 10px; }

.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 700; font-size: 15.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -6px; border-right: 2px solid var(--rose); border-bottom: 2px solid var(--rose); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 16px 16px; font-size: 15px; color: var(--ink-soft); }
.lp .disclaimer { margin-top: 36px; }

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 247, 241, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  animation: rise .3s var(--ease) both;
}
.sticky-cta .btn { min-height: 52px; }
body[data-page="lp"] .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

/* ── PC・タブレット ── */
@media (min-width: 720px) {
  main { padding: 0 24px; }
  .view { padding: 40px 0 48px; }
  .start__card { padding: 40px 48px 34px; }
  .orbit { width: 210px; height: 210px; margin: 18px auto 14px; }
  .orbit__ring { inset: 22px; }
  .orbit__core { inset: 64px; }
  .orbit__core svg { width: 42px; height: 42px; }
  .orbit__item { --r: 88px; width: 42px; height: 42px; margin: -21px 0 0 -21px; }
  .orbit__item svg { width: 22px; height: 22px; }
  .facts li { font-size: 12.5px; }
  .btn--xl { max-width: 380px; }
  .progress { top: 56px; margin-inline: -24px; padding-inline: 24px; }
  .block, .paid, .line-box { padding: 26px 28px; }
  .compare { grid-template-columns: 1fr 1.4fr; }
  .result__actions { grid-template-columns: 1fr 1fr; }
  body[data-page="lp"] main { max-width: 760px; }
  .hero { padding-top: 48px; }
  .hero .btn--xl { max-width: 400px; }
  .sec { margin-top: 64px; }
  .types { grid-template-columns: 1fr 1fr; }
  .learn { grid-template-columns: 1fr 1fr; }
  .cta-box { padding: 40px; }
  .sticky-cta { display: none; }
  body[data-page="lp"] .footer { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ── 有料コンテンツについて・LINE登録特典（2026-11-24） ── */
.doc .checks, .doc .dots, .doc .compare ul, .doc .keywords, .doc .flow, .doc .gift-cards, .doc .sc-list { list-style: none; padding-left: 0; }
.doc .checks li, .doc .dots li { padding-left: 30px; }
.doc .compare li { padding-left: 16px; }
.premium__lead, .giftpage__lead { color: var(--ink-soft); font-size: 15px; margin-bottom: 8px; text-wrap: pretty; }
.premium__note, .giftpage__note { font-size: 13.5px; color: var(--ink-soft); margin-top: 12px; }
.premium__cta, .giftpage__next { display: grid; gap: 10px; margin-top: 26px; }
.giftpage__next { padding: 22px 20px; border-radius: var(--radius); background: var(--paper); border: 1.5px dashed var(--pink); text-align: center; }
.giftpage__next h2 { margin: 0; }
.giftpage__next p { font-size: 14.5px; color: var(--ink-soft); }
.flow--doc { margin-top: 8px; }
.giftpage h1 { margin-top: 10px; }
.giftpage__wait { padding: 18px; border-radius: 16px; background: var(--blush); color: var(--rose-deep); font-weight: 700; margin-bottom: 14px; }
.giftpage__actions { display: grid; gap: 6px; justify-items: center; margin-top: 18px; }

.gift-cards { display: grid; gap: 14px; margin-top: 18px; }
.gift-card { padding: 20px 18px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: grid; gap: 8px; }
.gift-card h2 { margin: 0; font-size: 18px; }
.gift-card p { font-size: 14.5px; color: var(--ink-soft); }
.gift-card__no { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; color: var(--rose); }
.gift-card__tag { font-size: 12px; letter-spacing: .04em; padding: 2px 10px; border-radius: 999px; color: #fff; background: var(--line-green); }
.gift-card.is-preparing { background: var(--ivory-2); box-shadow: none; }
.gift-card.is-preparing .gift-card__tag { color: var(--rose-deep); background: var(--blush); }

.type-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.type-tabs button { flex: 1 1 calc(50% - 8px); min-height: 44px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--c) 45%, transparent); background: var(--paper); color: var(--c); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.type-tabs button[aria-pressed="true"] { background: var(--c); color: #fff; }
.sheet { --accent: var(--rose); display: grid; gap: 10px; }
.sheet__head { text-align: center; padding: 22px 16px; border-radius: 22px; background: linear-gradient(165deg, #fff 30%, var(--blush)); border: 1px solid var(--line); }
.sheet__label { font-size: 11.5px; letter-spacing: .14em; color: var(--ink-soft); }
.doc .sheet__type { font-family: var(--serif); font-size: clamp(26px, 7.4vw, 32px); color: var(--accent); letter-spacing: .1em; margin: 6px 0 2px !important; }
.sheet__catch { font-family: var(--serif); font-size: 15.5px; }
.sheet__box { padding: 18px 18px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.sheet__box h3 { font-family: var(--serif); font-size: 16.5px; color: var(--rose-deep); margin-bottom: 8px; }
.sheet__box--word { background: linear-gradient(160deg, #fff8f6, var(--blush)); text-align: center; }
.sheet__word { font-family: var(--serif); font-size: 18px; color: var(--accent); }
.giftpage .sheet__box { margin-top: 12px; }

.sc-list { display: grid; gap: 8px; margin: 16px 0 18px; }
.sc-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--paper); border: 1.5px solid var(--line); cursor: pointer; font-size: 15px; line-height: 1.7; }
.sc-item input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--rose); }
.sc-item:has(input:checked) { border-color: var(--rose); background: #fff8f8; }
.sc-result { margin-top: 18px; padding: 22px 20px; border-radius: var(--radius); background: linear-gradient(165deg, #fff 30%, var(--blush)); border: 1px solid var(--line); text-align: center; }
.sc-result h2 { margin: 6px 0 8px !important; }
.sc-result__count { font-size: 14px; color: var(--ink-soft); }
.sc-result__count b { font-family: var(--serif); font-size: 28px; color: var(--rose-deep); }

.cs-form { display: grid; gap: 12px; margin-top: 16px; }
.cs-step { padding: 16px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.cs-step__no { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--rose); }
.cs-step label { display: block; font-size: 15.5px; margin: 2px 0; }
.cs-step label b { color: var(--rose-deep); }
.cs-step__hint { font-size: 13px; color: var(--ink-soft); margin-bottom: 8px; }
.cs-step textarea { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 16px; line-height: 1.7; resize: vertical; color: var(--ink); }
.cs-step textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rose) 18%, transparent); }
.cs-preview { white-space: pre-wrap; font-family: var(--serif); font-size: 16px; line-height: 1.9; }
.cs-preview.is-empty { color: var(--ink-soft); font-family: var(--sans); font-size: 14px; }

/* 結果ページ：合言葉の案内 */
.keyword-box { margin: 4px 0 14px; padding: 14px; border-radius: 16px; background: var(--blush); }
.keyword-box__label { font-size: 12.5px; color: var(--ink-soft); }
.keyword-box__word { font-family: var(--serif); font-size: 22px; color: var(--rose-deep); letter-spacing: .12em; user-select: all; }
.paid__more { margin-top: 10px; }

@media print {
  .no-print, .skip, .sticky-cta { display: none !important; }
  body { background: #fff; }
  main { max-width: none; padding: 0; }
  .sheet__box, .sheet__head, .cs-preview-box { break-inside: avoid; box-shadow: none; }
}
.doc .compare__col:not(.compare__col--paid) { background: var(--paper); border: 1px solid var(--line); }
.gift-card.is-draft .gift-card__tag { background: #b7791f; }
