:root {
  --cream: #fffaf0;
  --paper: #fffefb;
  --yellow: #f6c83f;
  --yellow-soft: #fff2b8;
  --yellow-pale: #fff8dc;
  --brown: #4c2919;
  --brown-soft: #76503b;
  --green: #607d4a;
  --pink: #ef7d82;
  --line: #eadfce;
  --shadow: 0 18px 55px rgba(76, 41, 25, 0.13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--brown);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(246, 200, 63, .25) 0 7%, transparent 7.2%),
    radial-gradient(circle at 88% 18%, rgba(246, 200, 63, .14) 0 10%, transparent 10.2%),
    linear-gradient(145deg, #fffdf7, #fff6d9 55%, #fffdf8);
}

button { font: inherit; }

button:focus-visible {
  outline: 4px solid rgba(96, 125, 74, .28);
  outline-offset: 3px;
}

.page-shell {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 16px 16px 36px;
}

.brand-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0 auto 12px;
  padding: 9px 15px;
  color: var(--brown-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}

.brand-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 8px -4px 0 #f8dd70;
}

.panel {
  display: none;
  overflow: hidden;
  position: relative;
  min-height: 650px;
  padding: clamp(28px, 6vw, 58px);
  background: rgba(255, 254, 251, .96);
  border: 1px solid rgba(234, 223, 206, .9);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.panel::before,
.panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.panel::before {
  top: -70px;
  right: -55px;
  width: 170px;
  height: 170px;
  background: rgba(246, 200, 63, .14);
}

.panel::after {
  bottom: -90px;
  left: -70px;
  width: 180px;
  height: 180px;
  border: 32px solid rgba(246, 200, 63, .08);
}

.panel.is-active {
  display: block;
  animation: enter .38s ease both;
}

@keyframes enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero { text-align: center; }

.eyebrow,
.result-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border-radius: 999px;
  color: var(--brown);
  background: var(--yellow-soft);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
}

.mini-label {
  margin: 26px 0 2px;
  color: var(--brown-soft);
  font-size: clamp(18px, 4vw, 24px);
  font-weight: 900;
  letter-spacing: .13em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(50px, 13vw, 82px);
  line-height: .98;
  letter-spacing: -.05em;
}

.hero h1 span {
  position: relative;
  z-index: 1;
  color: var(--brown);
}

.hero h1 span::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -8px;
  bottom: 3px;
  left: -8px;
  height: 18px;
  border-radius: 999px;
  background: var(--yellow);
  transform: rotate(-1deg);
}

.hero-copy {
  margin: 19px 0 24px;
  color: var(--brown-soft);
  font-size: clamp(16px, 3vw, 19px);
  font-weight: 700;
  line-height: 1.8;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 24px;
}

.future-card {
  min-width: 210px;
  padding: 17px 18px;
  border: 2px solid var(--brown);
  border-radius: 18px;
  background: white;
  box-shadow: 6px 7px 0 var(--yellow);
  transform: rotate(-1deg);
}

.future-card span { display: block; font-size: 12px; font-weight: 800; }
.future-card strong { display: block; margin-top: 3px; font-size: 22px; }

.coin {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #9b6a00;
  background: var(--yellow);
  border: 3px solid #ffdf70;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(157, 111, 0, .16);
}

.coin-a { transform: translateY(-16px) rotate(-10deg); }
.coin-b { transform: translateY(14px) rotate(12deg); }

.intro-points {
  display: grid;
  gap: 10px;
  max-width: 510px;
  margin: 0 auto 27px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.intro-points li {
  position: relative;
  padding: 12px 16px 12px 45px;
  border-radius: 14px;
  background: var(--yellow-pale);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.intro-points li::before {
  content: "✓";
  position: absolute;
  top: 10px;
  left: 16px;
  color: var(--green);
  font-size: 19px;
  font-weight: 900;
}

.primary-button,
.secondary-button {
  width: 100%;
  border: 0;
  border-radius: 18px;
  cursor: pointer;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease;
}

.primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 520px;
  margin: 0 auto;
  padding: 18px 24px;
  color: #fff;
  background: var(--brown);
  box-shadow: 0 9px 0 #d7ad31;
  font-size: 17px;
}

.primary-button:hover { transform: translateY(-2px); box-shadow: 0 11px 0 #d7ad31; }
.primary-button:active { transform: translateY(6px); box-shadow: 0 3px 0 #d7ad31; }

.privacy-note { margin: 18px 0 0; color: #9d8678; font-size: 11px; }

.progress-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 46px;
  color: var(--brown-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .09em;
}

.progress {
  overflow: hidden;
  flex: 1;
  height: 8px;
  border-radius: 99px;
  background: #f0e7d9;
}

.progress i { display: block; height: 100%; border-radius: inherit; background: var(--yellow); }

.question-panel h2 {
  margin: 0;
  font-size: clamp(28px, 6vw, 42px);
  line-height: 1.38;
  letter-spacing: -.035em;
}

.question-help { margin: 13px 0 30px; color: #947967; font-size: 13px; }

.option-list { display: grid; gap: 13px; }

.option {
  display: grid;
  grid-template-columns: 42px 1fr 24px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 72px;
  padding: 11px 15px;
  border: 2px solid var(--line);
  border-radius: 18px;
  color: var(--brown);
  background: #fff;
  cursor: pointer;
  text-align: left;
  font-size: clamp(15px, 3.5vw, 18px);
  font-weight: 850;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.option:hover { border-color: var(--yellow); background: var(--yellow-pale); transform: translateX(3px); }
.option i { justify-self: end; color: #c09d43; font-size: 27px; font-style: normal; }

.option-mark,
.option-emoji {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: var(--yellow-soft);
  font-size: 15px;
  font-weight: 900;
}

.option-emoji { font-size: 19px; }

.back-button {
  margin-top: 26px;
  padding: 8px 0;
  border: 0;
  color: #9a806f;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.result-panel { padding-top: 44px; text-align: center; }
.result-panel > h2 {
  max-width: 600px;
  margin: 25px auto 0;
  font-size: clamp(28px, 6vw, 43px);
  line-height: 1.35;
  letter-spacing: -.035em;
}

.result-lead {
  max-width: 560px;
  margin: 17px auto 28px;
  color: var(--brown-soft);
  font-size: 15px;
  line-height: 1.9;
}

.projection-card {
  position: relative;
  max-width: 570px;
  margin: 0 auto 30px;
  padding: 25px 24px;
  border-radius: 22px;
  background: linear-gradient(145deg, var(--brown), #6d3d25);
  color: white;
  box-shadow: 0 15px 30px rgba(76, 41, 25, .18);
}

.projection-card > p:first-child { margin: 0 0 16px; font-size: 13px; font-weight: 700; opacity: .82; }
.projection-main { display: flex; align-items: baseline; justify-content: center; gap: 15px; }
.projection-main span { font-size: 15px; font-weight: 800; }
.projection-main strong { color: #ffe477; font-size: clamp(34px, 8vw, 53px); line-height: 1; }
.projection-card .principal { margin: 15px 0 0; font-size: 12px; opacity: .75; }

.comparison {
  max-width: 600px;
  margin: 0 auto 30px;
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  text-align: left;
}

.comparison h3 { margin: 0 0 22px; text-align: center; font-size: 16px; }

.bar-row {
  display: grid;
  grid-template-columns: 64px 1fr 93px;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  color: var(--brown-soft);
  font-size: 12px;
  font-weight: 800;
}

.bar-row > div { overflow: hidden; height: 12px; border-radius: 99px; background: #f3ece1; }
.bar-row i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f8d55e, #f1b52b); }
.bar-row strong { color: var(--brown); text-align: right; }
.bar-row.is-selected { color: var(--brown); }
.bar-row.is-selected > div { outline: 3px solid rgba(246, 200, 63, .28); }
.bar-row.is-selected strong { color: #bd7300; }

.goal-message {
  max-width: 600px;
  margin: 0 auto 30px;
  padding: 25px;
  border-radius: 22px;
  background: var(--yellow-pale);
  text-align: left;
}

.goal-message > span { color: #9a6b10; font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.goal-message h3 { margin: 7px 0 8px; font-size: 22px; }
.goal-message > h3 { margin-bottom: 18px; }

.goal-risk,
.goal-advice {
  padding: 17px 18px;
  border-radius: 16px;
}

.goal-risk {
  border: 1px solid rgba(210, 91, 91, .24);
  background: #fff5f2;
}

.goal-advice {
  margin-top: 12px;
  border: 1px solid rgba(96, 125, 74, .22);
  background: #f7faef;
}

.goal-risk > strong,
.goal-advice > strong {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: .05em;
}

.goal-risk > strong { color: #b4564f; }
.goal-advice > strong { color: var(--green); }

.goal-message p { margin: 0; color: var(--brown-soft); font-size: 14px; line-height: 1.8; }

.video-slot { max-width: 600px; margin: 0 auto 30px; }

.insight-block {
  max-width: 600px;
  margin: 0 auto 30px;
  padding: 29px 24px;
  border-top: 3px solid var(--yellow);
  border-bottom: 3px solid var(--yellow);
  line-height: 1.9;
}

.insight-block > p { margin: 0 0 21px; font-size: 15px; }
.insight-question { font-size: 23px !important; font-weight: 900; line-height: 1.5 !important; }
.insight-question strong { color: #c36f00; font-size: 34px; }

.definition {
  padding: 18px 16px;
  border-radius: 18px;
  background: var(--yellow);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.65;
}

.definition strong { font-size: 28px; }

.live-card {
  max-width: 600px;
  margin: 0 auto 24px;
  padding: 30px 24px;
  border-radius: 24px;
  color: white;
  background:
    radial-gradient(circle at 90% 15%, rgba(255,255,255,.14), transparent 25%),
    linear-gradient(145deg, #5c3423, #3f251b);
  box-shadow: 0 14px 28px rgba(76, 41, 25, .16);
}

.live-label {
  display: inline-block;
  padding: 6px 11px;
  border-radius: 99px;
  color: var(--brown);
  background: var(--yellow);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.live-date { margin: 17px 0 7px; color: #ffe477; font-size: 18px; font-weight: 900; }
.live-card h3 { margin: 0 0 14px; font-size: clamp(22px, 5vw, 29px); }
.live-card > p:last-of-type { margin: 0; font-size: 14px; line-height: 1.8; opacity: .92; }

.line-notice {
  margin-top: 20px;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 13px;
  font-size: 12px;
  font-weight: 800;
}

.secondary-button {
  max-width: 600px;
  margin: 0 auto;
  padding: 15px 20px;
  border: 2px solid var(--brown);
  color: var(--brown);
  background: transparent;
}

.secondary-button:hover { background: var(--yellow-pale); }

.disclaimer {
  max-width: 600px;
  margin: 26px auto 0;
  color: #9a887c;
  text-align: left;
  font-size: 10px;
  line-height: 1.65;
}

.disclaimer p { margin: 5px 0; }

footer { padding: 25px 0 0; color: #a38c7d; text-align: center; font-size: 10px; }

@media (max-width: 520px) {
  .page-shell { padding: 8px 8px 28px; }
  .panel { min-height: calc(100vh - 75px); padding: 28px 20px; border-radius: 24px; }
  .hero { padding-top: 31px; }
  .hero-visual { gap: 5px; }
  .coin { width: 34px; height: 34px; font-size: 13px; }
  .future-card { min-width: 190px; }
  .progress-wrap { margin-bottom: 38px; }
  .option { min-height: 67px; }
  .comparison { padding-inline: 14px; }
  .bar-row { grid-template-columns: 57px 1fr 85px; gap: 7px; font-size: 11px; }
  .projection-main { flex-direction: column; align-items: center; gap: 7px; }
}

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