:root {
  color-scheme: light;
  --page-bg: #fff7fb;
  --paper: #ffffff;
  --text: #3f2d34;
  --muted: #8b7480;
  --accent: #b2608a;
  --max-lp-width: 680px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page-bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 251, 0.72) 18%, rgba(255, 247, 251, 0.72) 82%, rgba(255, 255, 255, 0.92)),
    var(--page-bg);
  padding-bottom: calc(112px + env(safe-area-inset-bottom));
}

a {
  color: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lp-shell {
  width: min(100%, var(--max-lp-width));
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 0 40px rgba(134, 78, 103, 0.08);
}

.hero,
.sections section {
  margin: 0;
}

.hero img,
.sections img {
  width: 100%;
}

.result-block {
  position: relative;
  padding: 36px clamp(20px, 7vw, 64px) 40px;
  text-align: center;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.9) 0 64px, transparent 65px),
    linear-gradient(180deg, #fff9fb 0%, #f7c6d8 32%, #dc93ad 100%);
  overflow: hidden;
}

.result-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 8% 24%, rgba(255, 255, 255, 0.72) 0 18px, transparent 20px),
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.55) 0 30px, transparent 32px),
    radial-gradient(circle at 78% 82%, rgba(255, 255, 255, 0.46) 0 42px, transparent 44px);
  pointer-events: none;
}

.result-block > * {
  position: relative;
}

.eyebrow {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: clamp(24px, 6vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 5px rgba(93, 37, 57, 0.18);
}

.result-block h2 {
  margin: 0 0 24px;
  color: #ffffff;
  font-size: clamp(28px, 8vw, 50px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0;
  text-shadow: 0 2px 7px rgba(93, 37, 57, 0.2);
}

.result-block h2 span {
  display: inline-block;
  margin: 0 3px;
  padding: 1px 8px 4px;
  color: #9d7a36;
  background: rgba(255, 255, 255, 0.95);
}

.result-block img {
  width: min(100%, 450px);
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow: 0 8px 24px rgba(91, 42, 61, 0.18);
}

.teacher {
  margin: 12px 0 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.sections {
  line-height: 0;
}

.site-footer {
  width: min(100%, var(--max-lp-width));
  margin: 0 auto;
  padding: 28px 20px 34px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
  background: #ffffff;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-bottom: 14px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer p {
  margin: 0;
}

.cta-footer-fixed {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  pointer-events: none;
}

.cta-button {
  display: block;
  width: min(100%, var(--max-lp-width));
  margin: 0 auto;
  animation: ctaPulse 1.8s ease-in-out infinite;
  transform-origin: center bottom;
  pointer-events: auto;
}

.cta-button img {
  width: 100%;
  filter: drop-shadow(0 -6px 18px rgba(0, 0, 0, 0.14));
}

@keyframes ctaPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.035);
  }
}

@media (max-width: 540px) {
  body {
    padding-bottom: calc(94px + env(safe-area-inset-bottom));
    background: #ffffff;
  }

  .lp-shell,
  .site-footer,
  .cta-button {
    width: 100%;
  }

  .result-block {
    padding: 26px 20px 34px;
  }

  .site-footer {
    padding-bottom: 28px;
  }
}

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

  .cta-button {
    animation: none;
  }
}
