:root {
  --bg: #faf6f1;
  --card: #ffffff;
  --text: #3d3530;
  --muted: #8a7f77;
  --accent: #b5776b;
  --accent-soft: #f1e3df;
  --line: #06c755;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Maru Gothic ProN", "Zen Maru Gothic", "Yu Gothic", sans-serif;
  line-height: 1.8;
  font-size: 16px;
}
.wrap { max-width: 480px; margin: 0 auto; padding: 32px 16px 48px; }
.screen[hidden] { display: none; }
.title { font-size: 28px; line-height: 1.4; margin: 8px 0 16px; color: var(--accent); }
.eyebrow { margin: 0; color: var(--muted); font-size: 14px; }
.lead { font-size: 17px; }
.note { color: var(--muted); font-size: 12px; text-align: center; }
.btn {
  display: block; width: 100%; margin: 24px 0 8px; padding: 16px;
  border: none; border-radius: 999px; background: var(--accent); color: #fff;
  font: inherit; font-size: 17px; font-weight: bold; text-align: center; text-decoration: none; cursor: pointer;
}
.btn-line { background: var(--line); }
.btn-text {
  display: block; margin: 16px auto 0; padding: 8px; border: none; background: none;
  color: var(--muted); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer;
}
.btn-text[hidden] { display: none; }
.progress { height: 6px; background: var(--accent-soft); border-radius: 3px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: var(--accent); transition: width .3s; }
.q-count { color: var(--muted); font-size: 14px; margin: 16px 0 4px; }
.q-text { font-size: 19px; line-height: 1.6; margin: 0 0 20px; }
.options { display: flex; flex-direction: column; gap: 10px; }
.option {
  padding: 14px 16px; border: 1px solid #e3d8cf; border-radius: 12px; background: var(--card);
  color: var(--text); font: inherit; font-size: 15px; line-height: 1.6; text-align: left; cursor: pointer;
  touch-action: manipulation;
}
.option:active { background: var(--accent-soft); }
.card { background: var(--card); border-radius: 16px; padding: 20px; margin: 16px 0; }
.card h3 { margin: 0 0 8px; font-size: 15px; color: var(--accent); }
.card ul { margin: 0; padding-left: 1.2em; }
.card p { margin: 8px 0; }
.wish { background: var(--accent-soft); border-radius: 12px; padding: 12px 16px; }
.question { font-size: 17px; font-weight: bold; }
.second { background: transparent; border: 1px dashed #e3d8cf; }
.line-box { margin-top: 24px; text-align: center; }
.line-box[hidden], .card[hidden] { display: none; }
