/* ============================================================
 * style.css ── いちのせ式（ボタンを目立たせる/余白/¥表記なし）
 * モバイルファースト。1問1画面で迷わせない。
 * ============================================================ */

:root {
  --bg: #faf8f4;          /* 温かみのあるアイボリー */
  --ink: #2c2a26;         /* 黒すぎない文字色 */
  --sub: #6b665d;         /* 補足テキスト */
  --accent: #2f9e6e;      /* LINE想起の緑系（押させる色） */
  --accent-dark: #248057;
  --card: #ffffff;
  --line: #e7e2d8;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "游ゴシック", "Yu Gothic",
               -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 560px;
  margin: 0 auto;
  padding: 28px 20px 64px;
  min-height: 100vh;
}

.screen { animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---- スタート画面 ---- */
.title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 32px 0 16px;
}
.subtitle {
  color: var(--sub);
  font-size: .95rem;
  margin-bottom: 36px;
}

/* ---- 進捗 ---- */
.progress {
  height: 6px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}
.progress-bar {
  height: 100%;
  background: var(--accent);
  transition: width .3s ease;
}
.progress-text {
  text-align: right;
  color: var(--sub);
  font-size: .8rem;
  margin: 6px 0 24px;
}

/* ---- 設問 ---- */
.q-text {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 28px;
}
.choices { display: flex; flex-direction: column; gap: 14px; }

.btn-choice {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .15s, transform .05s, box-shadow .15s;
}
.btn-choice:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.btn-choice:active { transform: scale(.99); }

.nav { margin-top: 24px; display: flex; justify-content: flex-start; }
.btn-back {
  background: none;
  border: none;
  color: var(--sub);
  font-size: .9rem;
  cursor: pointer;
  padding: 6px 2px;
}
.btn-back:hover { color: var(--ink); }

/* ---- 結果 ---- */
.result-eyebrow {
  color: var(--accent-dark);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .04em;
  margin: 8px 0 8px;
}
.result-headline {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.5;
}
.result-headline b { color: var(--accent-dark); }
.result-lead {
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0 0 20px;
}
.result-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 0 0 28px;
}
.result-pain {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px;
  margin-bottom: 24px;
}
.result-pain p { margin: 0 0 12px; font-size: .98rem; }
.result-pain p:last-child { margin-bottom: 0; }
.result-next {
  font-weight: 700;
  font-size: 1.02rem;
  margin: 0 0 28px;
}

/* ---- ボタン（押させる）---- */
.btn-primary {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: background .15s, transform .05s;
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-primary:active { transform: scale(.99); }

.btn-cta { margin-top: 4px; }

.cta-reassure {
  color: var(--sub);
  font-size: .85rem;
  text-align: center;
  margin: 14px 4px 0;
  line-height: 1.7;
}

/* ---- 広めの画面 ---- */
@media (min-width: 600px) {
  .title { font-size: 1.75rem; }
  .q-text { font-size: 1.35rem; }
}
