:root {
  --ink: #191512;
  --muted: #63584e;
  --paper: #241412;
  --cream: #f7ead7;
  --gold: #d8a943;
  --red: #b7281f;
  --deep: #3a211c;
  --wine: #43231e;
  --soft-bg: #2b1815;
  --line: rgba(42, 23, 18, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 169, 67, 0.16), transparent 34rem),
    radial-gradient(circle at 10% 38%, rgba(183, 40, 31, 0.13), transparent 24rem),
    linear-gradient(180deg, #2b1815 0%, #3a211c 48%, #261513 100%);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  background: var(--deep);
  color: white;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(12, 7, 4, 0.18), rgba(12, 7, 4, 0.88)),
    linear-gradient(90deg, rgba(12, 7, 4, 0.7), rgba(12, 7, 4, 0.12));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  position: relative;
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0 64px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 7vw, 74px);
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
}

.hero h1 {
  color: #fff !important;
}

.lead {
  max-width: 680px;
  margin: 22px 0 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.85;
}

.primary-cta,
.next,
.ghost {
  min-height: 52px;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 420px);
  padding: 16px 24px;
  color: white;
  background: linear-gradient(180deg, #df382b, var(--red));
  box-shadow: 0 16px 34px rgba(183, 40, 31, 0.34);
  text-decoration: none;
}

.offer-cta {
  position: relative;
  flex-direction: column;
  gap: 4px;
  width: min(100%, 520px);
  min-height: 72px;
  padding: 14px 26px 16px;
  background: linear-gradient(180deg, #8df36a 0%, #22b84a 38%, #0a9b3e 39%, #047232 100%);
  border: 2px solid #b9ff8a;
  border-radius: 8px;
  color: white;
  font-size: 18px;
  line-height: 1.35;
  text-shadow: 0 2px 0 rgba(0, 68, 28, 0.36);
  box-shadow:
    0 5px 0 #034b22,
    0 18px 38px rgba(4, 114, 50, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
  transform: translateY(0);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.offer-cta::after {
  content: "今だけ";
  position: absolute;
  top: -14px;
  right: 16px;
  padding: 5px 12px;
  color: #04612d;
  background: #f1ffe7;
  border: 1px solid #7ee058;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-shadow: none;
}

.offer-cta span {
  color: #045b2a;
  background: white;
  border-radius: 999px;
  padding: 3px 14px;
  font-size: 13px;
  line-height: 1.3;
  text-shadow: none;
}

.offer-cta:hover {
  transform: translateY(2px);
  box-shadow:
    0 3px 0 #034b22,
    0 12px 26px rgba(4, 114, 50, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.offer-banner {
  display: block;
  width: min(100%, 720px);
  margin-top: 22px;
  border-radius: 10px;
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.offer-banner img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.offer-banner:hover {
  filter: brightness(1.05);
  transform: translateY(2px);
}

.intro-band {
  background: #2a1714;
  color: white;
}

.intro-grid {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(247, 234, 215, 0.18);
}

.intro-grid article {
  min-height: 128px;
  padding: 24px;
  background: #341e1a;
}

.intro-grid span {
  color: var(--gold);
  font-weight: 900;
  font-size: 13px;
}

.intro-grid p {
  margin: 12px 0 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
}

.survey {
  width: min(780px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 80px;
  color: white;
}

.survey-head h2,
.result h2 {
  margin: 0;
  font-size: clamp(26px, 5vw, 42px);
  line-height: 1.25;
}

.progress-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
}

.progress-bar {
  height: 12px;
  overflow: hidden;
  background: rgba(247, 234, 215, 0.22);
  border-radius: 999px;
}

.progress-bar span {
  display: block;
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--red));
  transition: width 0.24s ease;
}

.question-card {
  margin-top: 28px;
  padding: 28px;
  color: var(--ink);
  background: #fff8ec;
  border: 1px solid rgba(216, 169, 67, 0.32);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(39, 19, 14, 0.3);
}

.question {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.question.is-active {
  display: grid;
  gap: 14px;
}

legend {
  margin: 0 0 20px;
  padding: 0;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.45;
}

label {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 14px 16px;
  color: var(--deep);
  background: #fffaf1;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

input {
  width: 20px;
  height: 20px;
  accent-color: var(--red);
  flex: 0 0 auto;
}

.controls {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  margin-top: 24px;
}

.ghost {
  color: var(--deep);
  background: #f0dfc9;
}

.next {
  color: white;
  background: var(--deep);
}

.next:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.result {
  display: none;
  padding: 74px 0 88px;
  background:
    radial-gradient(circle at 12% 8%, rgba(216, 169, 67, 0.14), transparent 24rem),
    linear-gradient(180deg, #452720 0%, #35201c 100%);
  color: white;
}

.result.is-visible {
  display: block;
}

.result-inner {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

.result-inner > p:not(.eyebrow):not(.notice) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.8;
}

.flow-block {
  margin-top: 34px;
  padding: 28px;
  background: rgba(255, 248, 236, 0.09);
  border: 1px solid rgba(247, 234, 215, 0.16);
  border-radius: 8px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.flow-block h3 {
  margin: 0 0 14px;
  font-size: clamp(22px, 4vw, 32px);
  line-height: 1.35;
}

.flow-block p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.85;
}

.cause-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.cause-grid article {
  min-height: 126px;
  padding: 18px;
  background: rgba(255, 248, 236, 0.08);
  border: 1px solid rgba(216, 169, 67, 0.24);
  border-radius: 6px;
}

.cause-grid strong {
  display: block;
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 8px;
}

.cause-grid p {
  font-size: 15px;
  line-height: 1.65;
}

.method-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.method-list li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 248, 236, 0.08);
  border-radius: 6px;
  border-left: 4px solid var(--gold);
}

.method-list strong {
  color: white;
}

.method-list span {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.result-columns {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin-top: 34px;
  padding: 28px;
  background: #fff8ec;
  color: var(--ink);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(39, 19, 14, 0.2);
}

.result-columns img {
  border-radius: 8px;
  background: white;
}

.result-columns .offer-banner img {
  background: transparent;
}

.result h3 {
  margin: 0 0 16px;
  font-size: 24px;
}

.result ul {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.result li {
  padding-left: 18px;
  border-left: 4px solid var(--gold);
  color: var(--deep);
  font-weight: 800;
  line-height: 1.55;
}

.notice {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .hero {
    min-height: 86svh;
  }

  .hero-copy {
    padding: 70px 0 40px;
  }

  .lead {
    font-size: 16px;
  }

  .intro-grid,
  .result-columns,
  .cause-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid article {
    min-height: auto;
    padding: 18px 20px;
  }

  .survey {
    padding: 56px 0 64px;
  }

  .question-card {
    padding: 20px;
  }

  .flow-block,
  .result-columns {
    padding: 20px;
  }

  .method-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  legend {
    font-size: 20px;
  }

  .controls {
    grid-template-columns: 96px 1fr;
  }
}
