/* イエウール記事の色に合わせる：オレンジ #ff6838・墨 #3f3f3f・クリーム #FFF2D6 */
:root {
  --orange: #ff6838;
  --orange-deep: #e4521f;
  --orange-soft: #ffd3c2;
  --cream: #fff2d6;
  --ink: #3f3f3f;
  --ink-soft: #6b6b6b;
  --line: #e5e5e5;
  --marker: #ffe46b;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.85;
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

.proto {
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  text-align: center;
  padding: 6px 16px;
}

/* 導入 */
.intro { padding: 48px 0 32px; }
.intro__kicker { color: var(--orange-deep); font-weight: 700; font-size: 15px; margin: 0 0 8px; }
.intro h1 { font-size: 30px; line-height: 1.5; margin: 0 0 20px; font-weight: 700; letter-spacing: 0.01em; }
.intro h1 .big { color: var(--orange); }
.intro__lead { margin: 0; }
.ph { display: inline-block; }
.nw { white-space: nowrap; }
.intro__fig { display: block; width: 100%; height: auto; margin: 28px 0 0; }
.mk { background: linear-gradient(transparent 60%, var(--marker) 60%); font-weight: 700; }

/* 質問 */
.sim { background: var(--cream); padding: 40px 0 48px; }
.q { padding: 24px 0; }
.q + .q { border-top: 1px solid rgba(63, 63, 63, 0.12); }
.q__num { color: var(--orange-deep); font-weight: 700; font-size: 15px; margin: 0; }
.q__title { font-size: 21px; font-weight: 700; margin: 2px 0 14px; line-height: 1.5; }
.q__note { font-size: 14px; color: var(--ink-soft); margin: 10px 0 0; line-height: 1.7; }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* 選択肢は「絵＋下の帯」。押せると分かるように帯をボタンの色にする */
.choice {
  appearance: none;
  border: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 18px;
  padding: 16px 0 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  overflow: hidden;
}
.choice svg { width: 64px; height: 56px; }
.choice__state {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 700;
  background: var(--ink);
  color: var(--white);
}
.choice[aria-pressed="true"] { background: var(--orange); color: var(--white); }
.choice[aria-pressed="true"] .choice__state { background: var(--orange-deep); }

.stepper { display: flex; align-items: center; gap: 12px; }
.stepper__btn {
  appearance: none;
  width: 56px;
  height: 56px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  flex: none;
}
.stepper__value { flex: 1; text-align: center; font-size: 40px; font-weight: 700; line-height: 1.2; }
.stepper__value small { font-size: 18px; margin-left: 2px; }

.range { width: 100%; margin: 18px 0 0; accent-color: var(--orange); height: 32px; }

.details { margin: 20px 0 0; font-size: 15px; }
.details summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 6px 0; }
.details__body { padding: 8px 0 0; }
.details__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; }
.details__row + .details__row { border-top: 1px solid rgba(63, 63, 63, 0.12); }
.details__row label { flex: 1; line-height: 1.6; }
.details__row input {
  width: 96px;
  font: inherit;
  font-size: 17px;
  padding: 6px 8px;
  border: 1px solid var(--ink-soft);
  background: var(--white);
  text-align: right;
}

/* 結果 */
.result { padding: 48px 0 40px; }
.result__label { font-size: 17px; font-weight: 700; margin: 0; }
.result__price { font-size: 52px; line-height: 1.2; font-weight: 700; color: var(--orange); margin: 6px 0 4px; letter-spacing: 0; }
.result__price small { font-size: 22px; color: var(--ink); margin-left: 4px; }
.result__sub { margin: 0 0 8px; font-size: 18px; }
.result__alt { margin: 0; font-size: 16px; color: var(--ink-soft); }
.result__alt b { color: var(--ink); }

.bars { margin: 32px 0 0; }
.bars__row { margin: 0 0 18px; }
.bars__head { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; margin: 0 0 6px; }
.bars__head b { font-size: 18px; white-space: nowrap; }
.bars__head span { line-height: 1.6; }
.bar { height: 28px; background: var(--line); position: relative; }
.bar__fill { height: 100%; background: var(--ink); }
.bar__fill--stay { background: #9b9b9b; }
.bar__fill--gap { background: var(--orange); }
.bars__note { font-size: 14px; color: var(--ink-soft); margin: 4px 0 0; line-height: 1.7; }

.area { margin: 32px 0 0; }
.area label { display: block; font-weight: 700; margin: 0 0 6px; }
.area select { width: 100%; font: inherit; font-size: 18px; padding: 10px 12px; border: 2px solid var(--ink); background: var(--white); border-radius: 6px; color: var(--ink); }

.cta { margin: 28px 0 0; text-align: center; }
.cta__push { font-weight: 700; margin: 0 0 8px; font-size: 16px; }
.cta__btn {
  display: block;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.5;
  padding: 18px 16px;
  border-radius: 8px;
}
.cta__btn:hover { background: var(--orange-deep); }
.cta__btn small { display: block; font-size: 14px; font-weight: 700; }
.cta__link { display: inline-block; margin: 10px 0 0; color: var(--ink); font-size: 15px; }

.zero { font-size: 22px; font-weight: 700; margin: 6px 0 0; line-height: 1.6; }

/* 余ったぶんでできること */
.uses { background: var(--cream); padding: 56px 0 24px; }
.uses__title { font-size: 28px; line-height: 1.5; margin: 0 0 12px; font-weight: 700; }
.uses__lead { margin: 0 0 16px; }
.use { padding: 32px 0; }
.use + .use { border-top: 1px solid rgba(63, 63, 63, 0.12); }
.use__fig { display: block; width: 100%; height: auto; background: var(--white); }
.use__num { font-size: 15px; font-weight: 700; color: var(--orange-deep); margin: 20px 0 0; }
.use__title { font-size: 24px; line-height: 1.5; margin: 2px 0 10px; font-weight: 700; }
.use p { margin: 0; }
.use__src { font-size: 13px; color: var(--ink-soft); margin: 8px 0 0 !important; line-height: 1.6; }

.closing { padding: 48px 0 64px; }
.closing h2 { font-size: 26px; line-height: 1.5; margin: 0 0 12px; }

.assume { padding: 0 0 56px; font-size: 13px; color: var(--ink-soft); line-height: 1.8; }
.assume h3 { font-size: 14px; margin: 0 0 4px; color: var(--ink); }
.assume ul { margin: 0; padding-left: 1.2em; }

@media (min-width: 768px) {
  .intro h1 { font-size: 38px; }
  .result__price { font-size: 64px; }
  .uses__title { font-size: 32px; }
  .use { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
  .use__num { margin-top: 0; }
}
