:root {
  --bg: #fbf8f2;
  --card: #fffdf9;
  --mist: #e2e6e7;
  --blush: #e6c8bb;
  --blush-soft: #f4e6df;
  --accent: #a27966;
  --text: #4c2c1d;
  --muted: #8d7468;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  line-height: 1.9;
  font-size: 15px;
  letter-spacing: .03em;
}
.wrap { max-width: 440px; margin: 0 auto; padding: 40px 20px 56px; }
.screen[hidden], [hidden] { display: none !important; }

/* スタート */
html, body { overflow-x: hidden; }
.title {
  font-size: 27px; font-weight: 600; line-height: 1.55; text-align: center;
  margin: 8px 0 0; letter-spacing: .06em;
}
.rule { border: none; border-top: 1px solid var(--accent); opacity: .5; margin: 22px 0 24px; }
#start p { margin: 0 0 16px; }
.btn-time { font-size: 12px; letter-spacing: .04em; }
/* 玉ねぎは左端の直線部分を画面のふちに合わせ、はみ出して見せる（カードと同じ見せ方） */
.onion { margin: 0 -20px; padding-top: 1px; }
.onion img { display: block; width: 92%; height: auto; margin: -8% 0 -9% -10.7%; }
#start .tagline {
  margin: 0 20px 24px; padding-top: 10px; border-top: 1px solid var(--blush);
  font-size: 9.5px; letter-spacing: .22em; line-height: 1.8;
  color: var(--muted); text-align: right;
}
.note { color: var(--muted); font-size: 12px; text-align: center; line-height: 1.7; margin: 16px 0 0; }
.credit { color: var(--muted); font-size: 11px; line-height: 1.7; text-align: center; margin: 12px 0 0; }

.btn {
  display: block; width: 100%; margin: 32px 0 20px; padding: 15px;
  border: none; border-radius: 999px; background: var(--accent); color: #fff;
  font: inherit; font-size: 16px; letter-spacing: .12em; text-align: center; text-decoration: none;
  cursor: pointer; touch-action: manipulation;
}
.btn:active { opacity: .85; }
.btn-text {
  display: block; margin: 20px auto 0; padding: 8px; border: none; background: none;
  color: var(--muted); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer;
}

/* 質問 */
.progress { height: 3px; background: var(--mist); border-radius: 2px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: var(--accent); transition: width .3s; }
.q-count { color: var(--muted); font-size: 12px; letter-spacing: .1em; margin: 20px 0 6px; }
.q-text { font-size: 18px; font-weight: 600; line-height: 1.7; margin: 0 0 8px; }
.q-sub { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.options { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.choice {
  padding: 14px 18px; border: 1px solid var(--mist); border-radius: 14px; background: var(--card);
  color: var(--text); font: inherit; font-size: 15px; line-height: 1.6; text-align: left;
  cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: background .15s, border-color .15s;
}
.choice[aria-pressed="true"] { background: var(--blush-soft); border-color: var(--accent); }

/* 結果（このカードをスマホ1画面に収める） */
#result { margin-top: -24px; }
.result-card {
  background: var(--card); border: 1px solid var(--blush); border-radius: 20px;
  padding: 20px 20px 14px; line-height: 1.7;
}
.bridge { font-size: 12.5px; color: var(--muted); margin: 0 0 12px; line-height: 1.75; }
.bridge span { color: var(--text); }
.eyebrow { font-size: 12px; color: var(--muted); margin: 0; text-align: center; }
.type-name {
  font-size: 22px; font-weight: 600; text-align: center; letter-spacing: .08em;
  margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--blush);
}
.items { margin: 0; }
.items dt { font-size: 11.5px; color: var(--accent); letter-spacing: .08em; margin-top: 10px; }
.items dt:first-child { margin-top: 0; }
.items dt::before { content: "— "; }
.items dd { margin: 2px 0 0; font-size: 13.5px; }
.items dd.ask { background: var(--blush-soft); border-radius: 10px; padding: 8px 12px; margin-top: 4px; }
.card-foot { font-size: 10.5px; color: var(--muted); text-align: right; margin: 10px 0 0; }

.cta {
  margin-top: 28px; padding: 24px 20px 4px; border-radius: 20px; background: var(--mist);
}
.cta p { margin: 0 0 12px; font-size: 14px; }
.cta .cta-lead { font-size: 12.5px; color: var(--muted); text-align: center; }
.cta .cta-title { font-size: 18px; font-weight: 600; text-align: center; line-height: 1.6; }
.cta .cta-meta { font-size: 13px; text-align: center; }
.btn-line { margin: 20px 0; background: var(--text); }
