:root {
  --lp-red: #b82d35;
  --lp-red-dark: #942027;
  --lp-red-soft: #fff2f2;
  --lp-green: #06c755;
  --lp-ink: #2d2926;
  --lp-muted: #706761;
  --lp-border: #eadfd7;
  --lp-paper: #fff;
  --lp-bg: #fbf8f5;
  --lp-serif: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --lp-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 0;
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--lp-bg);
}

body {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 6%, rgba(184, 45, 53, 0.09), transparent 29rem),
    radial-gradient(circle at 94% 42%, rgba(178, 133, 47, 0.08), transparent 25rem),
    var(--lp-bg);
  color: var(--lp-ink);
  font-family: var(--lp-sans);
  line-height: 1.75;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

[hidden] {
  display: none !important;
}

.lp-shell {
  width: min(100% - 28px, 780px);
  margin: 0 auto;
  padding: clamp(22px, 5vw, 54px) 0 clamp(38px, 7vw, 76px);
}

.lp-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}

.lp-brand img {
  width: clamp(118px, 18vw, 150px);
  height: auto;
}

.lp-brand span {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--lp-red-soft);
  color: var(--lp-red);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.lp-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(184, 45, 53, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 65px rgba(73, 48, 40, 0.1);
}

.lp-hero {
  isolation: isolate;
  display: grid;
  justify-items: center;
  padding: clamp(34px, 7vw, 66px) clamp(18px, 6vw, 56px);
  text-align: center;
}

.lp-hero::before,
.lp-hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
}

.lp-hero::before {
  top: -92px;
  right: -72px;
  width: 230px;
  height: 230px;
  background: var(--lp-red-soft);
}

.lp-hero::after {
  bottom: -120px;
  left: -88px;
  width: 260px;
  height: 260px;
  background: #f7efe7;
}

.lp-kicker {
  color: var(--lp-red);
  font-family: var(--lp-serif);
  font-size: clamp(1.2rem, 3.3vw, 1.72rem);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.lp-title {
  margin-top: 22px;
  font-family: var(--lp-serif);
  font-size: clamp(1.3rem, 6.4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.36;
}

.lp-title span {
  display: block;
  white-space: nowrap;
}

.lp-title strong {
  color: var(--lp-red);
  font-weight: inherit;
}

.lp-lead {
  max-width: 600px;
  margin-top: 26px;
  color: var(--lp-muted);
  font-size: clamp(0.92rem, 2.1vw, 1.08rem);
  line-height: 2;
}

.lp-facts {
  margin-top: 24px;
  color: var(--lp-red);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.lp-note {
  max-width: 540px;
  margin-top: 18px;
  color: #8a817b;
  font-size: 0.74rem;
  line-height: 1.75;
}

.lp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 440px);
  min-height: 62px;
  margin: 30px auto 0;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lp-red), #d54c54);
  box-shadow: 0 14px 30px rgba(184, 45, 53, 0.24);
  color: #fff;
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.lp-button::after {
  content: "→";
  font-size: 1.15em;
}

.lp-button:hover {
  box-shadow: 0 18px 36px rgba(184, 45, 53, 0.3);
  filter: brightness(1.03);
  transform: translateY(-2px);
}

.lp-button:focus-visible,
.lp-back:focus-visible,
.lp-choice input:focus-visible + .lp-choice__body {
  outline: 3px solid rgba(184, 45, 53, 0.28);
  outline-offset: 4px;
}

.lp-flow {
  display: grid;
  gap: 18px;
}

.lp-progress {
  padding: 18px 20px;
  border: 1px solid var(--lp-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 35px rgba(66, 49, 42, 0.07);
}

.lp-progress__labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--lp-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.lp-progress__labels strong {
  color: var(--lp-red);
  font-size: 0.9rem;
}

.lp-progress__track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #eee7e2;
}

.lp-progress__bar {
  display: block;
  width: 33.333%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lp-red), #d65359);
  transition: width 0.35s ease;
}

.lp-question {
  min-width: 0;
  margin: 0;
  padding: clamp(28px, 6vw, 48px);
  border: 1px solid var(--lp-border);
  border-radius: 24px;
  background: var(--lp-paper);
  box-shadow: 0 22px 55px rgba(66, 49, 42, 0.09);
}

.lp-question legend {
  float: left;
  width: 100%;
  padding: 0;
}

.lp-question legend + * {
  clear: both;
}

.lp-question__count {
  display: block;
  color: var(--lp-red);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.lp-question__title {
  display: block;
  margin-top: 10px;
  font-family: var(--lp-serif);
  font-size: clamp(1.25rem, 4vw, 1.9rem);
  font-weight: 800;
  line-height: 1.55;
}

.lp-question__hint {
  padding-top: 17px;
  color: var(--lp-muted);
  font-size: 0.9rem;
}

.lp-choices {
  display: grid;
  gap: 12px;
  padding-top: 24px;
}

.lp-choice {
  position: relative;
  display: block;
  cursor: pointer;
}

.lp-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.lp-choice__body {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 17px 18px;
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  background: #fff;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.lp-choice:hover .lp-choice__body {
  border-color: rgba(184, 45, 53, 0.42);
  background: #fffafa;
}

.lp-choice__indicator {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border: 2px solid #cabdb5;
  border-radius: 7px;
  background: #fff;
}

.lp-choice--radio .lp-choice__indicator {
  border-radius: 50%;
}

.lp-choice input:checked + .lp-choice__body {
  border-color: var(--lp-red);
  background: var(--lp-red-soft);
  box-shadow: 0 8px 22px rgba(184, 45, 53, 0.1);
}

.lp-choice input:checked + .lp-choice__body .lp-choice__indicator {
  border-color: var(--lp-red);
  background: var(--lp-red);
}

.lp-choice input:checked + .lp-choice__body .lp-choice__indicator::after {
  color: #fff;
  content: "✓";
  font-size: 0.85rem;
  font-weight: 900;
}

.lp-choice--radio input:checked + .lp-choice__body .lp-choice__indicator::after {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.lp-choice__copy strong,
.lp-choice__copy span {
  display: block;
}

.lp-choice__copy strong {
  color: var(--lp-ink);
  font-size: 1rem;
  line-height: 1.55;
}

.lp-choice__copy span {
  margin-top: 5px;
  color: var(--lp-muted);
  font-size: 0.85rem;
  line-height: 1.65;
}

.lp-error {
  margin-top: 16px;
  color: var(--lp-red);
  font-size: 0.84rem;
  font-weight: 800;
}

.lp-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}

.lp-actions .lp-button {
  width: auto;
  min-width: 220px;
  margin: 0;
}

.lp-back {
  min-height: 50px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: var(--lp-muted);
  font-weight: 800;
  cursor: pointer;
}

.lp-analysis {
  display: grid;
  justify-items: center;
  min-height: 560px;
  padding: clamp(46px, 8vw, 82px) clamp(20px, 6vw, 58px);
  text-align: center;
}

.lp-loader {
  width: 64px;
  height: 64px;
  border: 5px solid #f1dedf;
  border-top-color: var(--lp-red);
  border-radius: 50%;
  animation: lp-spin 0.9s linear infinite;
}

.lp-analysis h1 {
  margin-top: 28px;
  font-family: var(--lp-serif);
  font-size: clamp(1.65rem, 5vw, 2.7rem);
  line-height: 1.5;
}

.lp-analysis h1 span {
  display: block;
}

.lp-analysis__lead {
  max-width: 520px;
  margin-top: 18px;
  color: var(--lp-muted);
}

.lp-analysis__checks {
  display: grid;
  gap: 9px;
  width: min(100%, 480px);
  margin-top: 24px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.lp-analysis__checks li {
  opacity: 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: #f9f4f0;
  font-weight: 800;
  transform: translateY(12px);
  animation: lp-check 0.42s ease forwards;
}

.lp-analysis__checks li::before {
  margin-right: 9px;
  color: var(--lp-red);
  content: "✓";
}

.lp-analysis__checks li:nth-child(2) {
  animation-delay: 0.32s;
}

.lp-analysis__checks li:nth-child(3) {
  animation-delay: 0.64s;
}

.lp-analysis__status {
  margin-top: 26px;
  color: var(--lp-red);
  font-weight: 900;
}

.lp-result {
  padding: clamp(30px, 6vw, 58px);
}

.lp-result__label {
  color: var(--lp-red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: center;
}

.lp-result h1 {
  margin-top: 16px;
  font-family: var(--lp-serif);
  font-size: clamp(1.55rem, 5.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

.lp-result h1 span {
  display: block;
}

.lp-result h1 strong {
  display: block;
  color: var(--lp-red);
  font-size: 1.12em;
}

.lp-result__summary {
  margin-top: 26px;
  color: var(--lp-muted);
  font-size: clamp(0.95rem, 2.1vw, 1.08rem);
  line-height: 2;
}

.lp-result__summary strong {
  color: var(--lp-ink);
}

.lp-result__preview {
  margin-top: 24px;
  padding: 20px;
  border-radius: 16px;
  background: #f9f4f0;
}

.lp-result__preview h2 {
  color: var(--lp-red);
  font-family: var(--lp-serif);
  font-size: clamp(1.1rem, 3.3vw, 1.4rem);
  line-height: 1.55;
}

.lp-result__preview ul {
  display: grid;
  gap: 9px;
  margin-top: 14px;
  padding-left: 1.25em;
  color: var(--lp-muted);
  font-size: 0.9rem;
}

.lp-line-cta {
  margin-top: 26px;
  padding: clamp(22px, 5vw, 34px);
  border: 1px solid rgba(6, 199, 85, 0.28);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(6, 199, 85, 0.07), transparent 58%),
    #fff;
  text-align: center;
}

.lp-line-cta h2 {
  color: var(--lp-ink);
  font-family: var(--lp-serif);
  font-size: clamp(1.32rem, 4.5vw, 2.15rem);
  line-height: 1.55;
}

.lp-line-cta h2 strong {
  display: block;
  color: var(--lp-green);
  font-size: 1.12em;
}

.lp-line-cta p {
  margin-top: 13px;
  color: var(--lp-muted);
  font-size: 0.9rem;
}

.lp-line-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 76px;
  margin-top: 22px;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--lp-green);
  box-shadow: 0 15px 30px rgba(6, 199, 85, 0.24);
  color: #fff;
  font-size: clamp(1.08rem, 4.5vw, 1.55rem);
  font-weight: 900;
  line-height: 1.4;
  text-decoration: none;
  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}

.lp-line-button:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
}

.lp-line-cta small {
  display: block;
  margin-top: 12px;
  color: #7d756f;
  font-size: 0.72rem;
}

.lp-result-actions {
  padding: 0 clamp(18px, 6vw, 58px);
  text-align: center;
}

.lp-restart {
  color: var(--lp-red);
  font-size: 0.86rem;
  font-weight: 800;
  text-underline-offset: 4px;
}

.lp-disclaimer {
  margin-top: 20px;
  padding: 0 clamp(18px, 6vw, 58px) clamp(30px, 6vw, 54px);
  color: #817873;
  font-size: 0.72rem;
  line-height: 1.75;
}

@keyframes lp-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes lp-check {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 520px) {
  .lp-shell {
    width: min(100% - 20px, 780px);
    padding-top: 14px;
  }

  .lp-brand {
    margin-bottom: 12px;
  }

  .lp-card {
    border-radius: 22px;
  }

  .lp-hero {
    padding: 32px 17px 36px;
  }

  .lp-title {
    margin-top: 18px;
  }

  .lp-lead {
    text-align: center;
  }

  .lp-question {
    padding: 28px 18px 24px;
    border-radius: 20px;
  }

  .lp-question__title {
    font-size: clamp(1.18rem, 6vw, 1.55rem);
  }

  .lp-choice__body {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 11px;
    padding: 15px 14px;
  }

  .lp-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .lp-actions .lp-button {
    width: 100%;
    min-width: 0;
  }

  .lp-result {
    padding: 30px 18px;
  }

  .lp-result__preview {
    padding: 18px 16px;
  }

  .lp-line-cta {
    padding: 24px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
