:root {
  --frame: 430px;
  --paper: #fffaf6;
  --ink: #172033;
  --muted: #6b5d5b;
  --rose: #a25a68;
  --rose-dark: #843f51;
  --gold: #c59a55;
  --navy: #111827;
  --line: rgba(91, 62, 54, 0.16);
  --shadow: 0 24px 70px rgba(52, 34, 31, 0.18);
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(162, 90, 104, 0.24), transparent 25rem),
    radial-gradient(circle at 88% 30%, rgba(197, 154, 85, 0.19), transparent 27rem),
    linear-gradient(180deg, #fff8f1 0%, #ead4ca 100%);
  font-family: var(--sans);
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: -32px;
  z-index: -1;
  background: url("./assets/ad-lp-empathy-v2.webp") center top / min(760px, 90vw) auto no-repeat;
  content: "";
  filter: blur(24px);
  opacity: 0.2;
  transform: scale(1.06);
}

body::selection {
  color: #fff;
  background: var(--rose-dark);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0;
}

section[id] {
  scroll-margin-top: 20px;
}

.site-canvas {
  min-height: 100vh;
  padding: 0 20px 48px;
}

.mobile-frame {
  width: min(var(--frame), 100%);
  margin-inline: auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(32, 24, 25, 0.2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 16px;
  background: rgba(255, 250, 246, 0.92);
  border-bottom: 1px solid rgba(91, 62, 54, 0.1);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(255, 250, 246, 0.98);
  box-shadow: 0 12px 32px rgba(52, 34, 31, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fffaf7;
  background: linear-gradient(145deg, #9a6470, #25314d);
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(129, 63, 80, 0.22);
  font-size: 22px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  color: #fff;
  background: var(--navy);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.18);
  font-size: 13px;
  font-weight: 900;
}

.ad-image {
  position: relative;
  display: block;
  width: 100%;
  background: transparent;
}

.ad-image + .ad-image {
  margin-top: -1px;
}

.ad-image picture {
  display: block;
}

.ad-image img {
  width: 100%;
  height: auto;
}

.ad-long-image {
  background: #fff7f1;
}

.ad-long-image-middle {
  margin-top: -1px;
}

.ad-slab {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: #fff7f1;
}

.ad-slab + .ad-slab {
  margin-top: -46px;
}

.ad-slab-blend {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.56) 3.2%, #000 8.2%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.56) 3.2%, #000 8.2%, #000 100%);
}

.ad-slab-tight {
  margin-top: -154px !important;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.12) 4%, rgba(0, 0, 0, 0.62) 11%, #000 20%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.12) 4%, rgba(0, 0, 0, 0.62) 11%, #000 20%, #000 100%);
}

.ad-slab-hero {
  z-index: 3;
}

.ad-slab-final {
  z-index: 2;
}

.ad-bridge {
  position: relative;
  z-index: 5;
  height: 58px;
  margin: -28px 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.72), transparent 70%),
    linear-gradient(180deg, rgba(255, 247, 241, 0), #fff7f1 45%, rgba(255, 247, 241, 0));
  pointer-events: none;
}

.ad-bridge::before,
.ad-bridge::after {
  position: absolute;
  right: 24px;
  left: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198, 154, 87, 0.36), transparent);
  content: "";
}

.ad-bridge::before {
  top: 20px;
}

.ad-bridge::after {
  bottom: 20px;
}

.ad-bridge-soft {
  height: 68px;
  margin: -30px 0 -34px;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(255, 255, 255, 0.74), transparent 72%),
    linear-gradient(180deg, rgba(255, 247, 241, 0), #fff8f3 48%, rgba(255, 247, 241, 0));
}

.ad-bridge-form {
  height: 66px;
  margin: -20px 0 -34px;
  background:
    radial-gradient(ellipse at 50% 52%, rgba(247, 230, 222, 0.92), transparent 72%),
    linear-gradient(180deg, rgba(255, 247, 241, 0), #f7e7df 58%, rgba(247, 231, 223, 0));
}

.ad-soft-overlap {
  z-index: 2;
  margin-top: -26px;
}

.ad-soft-overlap > picture {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.42) 2.6%, #000 7.4%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.42) 2.6%, #000 7.4%, #000 100%);
}

.ad-image-seam {
  margin-top: -38px !important;
}

.ad-image-seam > img,
.ad-image-seam > picture {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.45) 4%, #000 9%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.45) 4%, #000 9%, #000 100%);
}

.ad-transition {
  overflow: hidden;
}

.ad-image-hotspot {
  position: relative;
}

.image-hotspot {
  position: absolute;
  z-index: 4;
  display: block;
  border-radius: 999px;
}

.image-hotspot:focus-visible {
  outline: 3px solid rgba(132, 63, 81, 0.8);
  outline-offset: 3px;
}

.image-hotspot-transition-01 {
  top: 58%;
  right: 6%;
  left: 6%;
  height: 20%;
}

.image-hotspot-section-03 {
  top: 87.4%;
  right: 10%;
  left: 11%;
  height: 7.4%;
}

.image-hotspot-transition-03 {
  top: 78.4%;
  right: 12%;
  left: 12%;
  height: 13.6%;
}

.image-hotspot-lp-top {
  top: 51.2%;
  right: 14%;
  left: 14%;
  height: 6.8%;
}

.image-hotspot-lp-middle {
  top: 87.4%;
  right: 13%;
  left: 13%;
  height: 6.8%;
}

.image-hotspot-lp-conversion {
  top: 84.5%;
  right: 12%;
  left: 12%;
  height: 8%;
}

.image-hotspot-lp-final {
  top: 71.3%;
  right: 8.5%;
  left: 8.5%;
  height: 9.8%;
}

.cta-band,
.bridge-band {
  position: relative;
  z-index: 2;
  padding: 22px 18px;
  text-align: center;
}

.cta-band {
  background:
    radial-gradient(circle at 70% 0%, rgba(197, 154, 85, 0.22), transparent 12rem),
    linear-gradient(180deg, #f7dfd7, #fff4ef);
}

.cta-band p {
  margin-bottom: 14px;
  color: #655455;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.7;
}

.cta-band h2 {
  margin-bottom: 12px;
  font-size: 31px;
  line-height: 1.32;
}

.cta-band-bottom {
  padding-top: 30px;
  padding-bottom: 34px;
}

.bridge-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.bridge-band div {
  min-height: 92px;
  padding: 20px 16px;
  background: var(--navy);
  text-align: left;
}

.bridge-band strong,
.bridge-band span {
  display: block;
}

.bridge-band strong {
  margin-bottom: 6px;
  font-size: 17px;
}

.bridge-band span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 64px;
  padding: 0 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--rose-dark), #bd7180);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 22px 48px rgba(129, 63, 80, 0.34);
  cursor: pointer;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  animation: cta-breathe 2.8s ease-in-out infinite;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 56px rgba(129, 63, 80, 0.42);
}

.form-section,
.faq-section {
  padding: 44px 18px;
  font-family: var(--serif);
}

.form-section {
  position: relative;
  z-index: 6;
  background:
    radial-gradient(circle at 10% 0%, rgba(162, 90, 104, 0.14), transparent 16rem),
    linear-gradient(180deg, #f7e7df, #fffaf6);
}

.form-seam {
  margin-top: -28px;
  padding-top: 64px;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--rose-dark);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-section h2,
.faq-section h2 {
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1.2;
}

.form-lead {
  margin-bottom: 24px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;
}

.diagnosis-form {
  display: grid;
  gap: 15px;
  padding: 20px 16px;
  background: rgba(255, 253, 250, 0.98);
  border: 1px solid rgba(91, 62, 54, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-family: var(--serif);
}

.diagnosis-form label {
  display: grid;
  gap: 7px;
}

.diagnosis-form label span {
  color: #2a2130;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
}

.field-hint {
  color: rgba(82, 65, 60, 0.72);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.55;
}

.birthdate-fields {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 8px;
}

.diagnosis-form input,
.diagnosis-form select,
.diagnosis-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fffaf6;
  border: 1px solid rgba(91, 62, 54, 0.2);
  border-radius: 8px;
  outline: none;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
}

.diagnosis-form input::placeholder,
.diagnosis-form textarea::placeholder {
  color: rgba(107, 93, 91, 0.62);
  font-weight: 500;
}

.diagnosis-form textarea {
  resize: vertical;
}

.birthdate-fields select {
  padding-right: 10px;
}

.diagnosis-form input:focus,
.diagnosis-form select:focus,
.diagnosis-form textarea:focus {
  border-color: rgba(163, 90, 104, 0.72);
  box-shadow: 0 0 0 4px rgba(163, 90, 104, 0.12);
}

.consent-line {
  grid-template-columns: auto 1fr;
  gap: 10px !important;
  align-items: start;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.75;
}

.consent-line input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
  accent-color: var(--rose-dark);
}

.diagnosis-form a,
.site-footer a,
.legal-content a {
  color: var(--rose-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-button {
  min-height: 70px;
  padding: 0 18px;
}

.diagnosis-form button:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--rose-dark);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.6;
}

.form-status[data-type="success"] {
  color: #557261;
}

.form-status[data-type="error"] {
  color: #9b4d55;
}

.honeypot {
  position: absolute;
  left: -10000px;
}

.faq-section {
  background: #fffaf6;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

details {
  padding: 18px 17px;
  background:
    radial-gradient(circle at 10% 0%, rgba(197, 154, 85, 0.08), transparent 9rem),
    rgba(255, 253, 250, 0.95);
  border: 1px solid rgba(197, 154, 85, 0.22);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(58, 36, 31, 0.06);
}

summary {
  cursor: pointer;
  color: #231d31;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  float: right;
  color: var(--rose-dark);
  content: "+";
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.95;
}

.site-footer {
  padding: 34px 18px 92px;
  color: rgba(23, 32, 51, 0.7);
  background: #f0e1d8;
  border-top: 1px solid rgba(91, 62, 54, 0.1);
  font-family: var(--serif);
}

.footer-brand {
  margin-bottom: 10px;
}

.site-footer p {
  margin-bottom: 18px;
  font-size: 12px;
  line-height: 1.7;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--serif);
  font-size: 12px;
}

.section-shell {
  width: min(860px, calc(100% - 40px));
  margin-inline: auto;
}

.legal-page {
  background:
    radial-gradient(circle at 20% 0%, rgba(162, 90, 104, 0.16), transparent 24rem),
    linear-gradient(180deg, #fff8f1, #f5e8df);
}

.legal-page .site-header {
  max-width: none;
}

.legal-content {
  padding: 72px 0 108px;
}

.legal-content h1 {
  margin-bottom: 26px;
  font-size: clamp(38px, 5vw, 62px);
}

.legal-content h2 {
  margin: 42px 0 14px;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.4;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 2;
}

.legal-content ul {
  display: grid;
  gap: 8px;
  padding-left: 1.3em;
}

.legal-date {
  margin-top: 54px;
  font-size: 13px;
}

.sticky-cta {
  position: fixed;
  bottom: 14px;
  left: 50%;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(392px, calc(100vw - 28px));
  min-height: 56px;
  color: #fff;
  background: linear-gradient(135deg, var(--rose-dark), #bd7180);
  border-radius: 999px;
  box-shadow: 0 20px 50px rgba(129, 63, 80, 0.36);
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.sticky-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

@keyframes cta-breathe {
  0%,
  100% {
    box-shadow: 0 22px 48px rgba(129, 63, 80, 0.34);
  }

  50% {
    box-shadow: 0 26px 60px rgba(129, 63, 80, 0.48);
  }
}

@media (max-width: 520px) {
  .site-canvas {
    padding: 0;
  }

  .mobile-frame {
    width: 100%;
    box-shadow: none;
  }
}

@media (max-width: 380px) {
  .brand {
    font-size: 24px;
  }

  .header-cta {
    padding: 0 12px;
    font-size: 12px;
  }

  .cta-band h2,
  .form-section h2,
  .faq-section h2 {
    font-size: 30px;
  }

  .bridge-band {
    grid-template-columns: 1fr;
  }
}
