:root {
  --milk: #faf8f5;
  --paper: #fffdfb;
  --petal: #ead8d5;
  --petal-soft: #f6eae8;
  --rose: #d3b9b3;
  --rose-deep: #b68178;
  --cocoa: #4d403c;
  --muted: #786965;
  --line: rgba(77, 64, 60, 0.12);
  --shadow: 0 18px 45px rgba(89, 66, 59, 0.08);
  --radius-lg: 30px;
  --radius-md: 22px;
  --container: 800px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cocoa);
  background:
    radial-gradient(circle at 8% 4%, rgba(234, 216, 213, 0.52), transparent 24rem),
    radial-gradient(circle at 100% 22%, rgba(211, 185, 179, 0.2), transparent 21rem),
    var(--milk);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 1rem;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: var(--scroll-progress, 0%);
  height: 3px;
  background: var(--rose-deep);
  transition: width 80ms linear;
}

a {
  color: inherit;
}

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

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--cocoa);
}

.skip-link:focus {
  transform: none;
}

.site-shell {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(760px, 92svh);
  display: grid;
  place-items: center;
  padding: 96px 0 72px;
  text-align: center;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
}

.hero::before {
  width: 280px;
  aspect-ratio: 1;
  top: -110px;
  right: -120px;
  background: rgba(234, 216, 213, 0.65);
}

.hero::after {
  width: 160px;
  aspect-ratio: 1;
  bottom: 35px;
  left: -95px;
  border: 34px solid rgba(211, 185, 179, 0.22);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--rose-deep);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  border: 1px solid rgba(182, 129, 120, 0.2);
  border-radius: 999px;
  background: rgba(255, 253, 251, 0.75);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose-deep);
}

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

h1 {
  max-width: 680px;
  margin: 0 auto 26px;
  font-size: clamp(2.15rem, 8vw, 4.6rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

h1 span {
  display: block;
  margin-bottom: 12px;
  color: var(--rose-deep);
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: 0.09em;
}

.hero-copy {
  max-width: 610px;
  margin: 0 auto;
  font-size: clamp(1.05rem, 3vw, 1.22rem);
  font-weight: 600;
  line-height: 1.9;
}

.hero-note {
  max-width: 560px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.scroll-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 46px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.scroll-note::before {
  content: "";
  width: 1px;
  height: 36px;
  background: linear-gradient(var(--rose-deep), transparent);
}

main {
  padding-bottom: 88px;
}

.section {
  padding: 76px 0 0;
}

.section-card {
  position: relative;
  padding: clamp(28px, 6vw, 56px);
  border: 1px solid rgba(77, 64, 60, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 251, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.section-card.tint {
  background: linear-gradient(145deg, rgba(234, 216, 213, 0.88), rgba(246, 234, 232, 0.7));
}

.section-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(182, 129, 120, 0.22);
  border-radius: 50%;
  color: var(--rose-deep);
  background: var(--paper);
  font-size: 0.8rem;
  font-weight: 700;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(1.75rem, 5vw, 2.55rem);
  line-height: 1.45;
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.12rem;
  line-height: 1.55;
}

.lead {
  font-size: 1.05rem;
  font-weight: 500;
}

.highlight {
  margin: 30px 0 0;
  padding: 22px 24px;
  border-left: 3px solid var(--rose-deep);
  border-radius: 0 18px 18px 0;
  background: rgba(255, 253, 251, 0.82);
  font-weight: 700;
}

.image-frame {
  margin: 34px 0 0;
}

.image-button {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  box-shadow: 0 14px 35px rgba(77, 64, 60, 0.1);
  cursor: zoom-in;
  overflow: hidden;
}

.image-button:focus-visible,
.cta:focus-visible,
.dialog-close:focus-visible {
  outline: 3px solid rgba(182, 129, 120, 0.45);
  outline-offset: 4px;
}

.image-button img {
  width: 100%;
  height: auto;
  transition: transform 250ms ease;
}

.image-button:hover img {
  transform: scale(1.012);
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.check-grid,
.benefit-grid,
.cost-grid {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.mini-card,
.cost-card {
  padding: 24px;
  border: 1px solid rgba(77, 64, 60, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 251, 0.86);
}

.mini-card p,
.cost-card p {
  margin-bottom: 0;
}

.card-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--rose-deep);
  background: var(--petal-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.cost-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
}

.cost-card .price {
  margin: 4px 0 18px;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.35;
}

.cost-card dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  margin: 0 0 18px;
}

.cost-card dt,
.cost-card dd {
  margin: 0;
}

.cost-card dd {
  font-weight: 700;
  text-align: right;
}

.cost-card small {
  display: block;
  margin-top: auto;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

.comparison-point {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding: 26px;
  border-radius: var(--radius-md);
  color: var(--cocoa);
  background: var(--petal);
}

.comparison-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
}

.comparison-row strong {
  font-size: 0.92rem;
}

.fee-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.75;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 18px;
}

.source-links a {
  color: var(--muted);
  font-size: 0.78rem;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.benefit-card {
  position: relative;
  padding-left: 58px;
}

.benefit-card::before {
  content: attr(data-mark);
  position: absolute;
  top: 22px;
  left: 20px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--cocoa);
  background: var(--petal);
  font-size: 0.8rem;
  font-weight: 800;
}

.step-change {
  display: grid;
  gap: 13px;
  margin: 28px 0 0;
  text-align: center;
}

.step-change .step {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 253, 251, 0.8);
  font-weight: 700;
}

.step-change .down {
  color: var(--rose-deep);
  font-size: 1.4rem;
  line-height: 1;
}

.summary-list {
  display: grid;
  gap: 12px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.summary-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
}

.summary-list li::before {
  content: "✓";
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--rose-deep);
  font-size: 0.76rem;
  font-weight: 800;
}

.contact-card {
  padding: clamp(34px, 7vw, 62px);
  border-radius: var(--radius-lg);
  background: var(--cocoa);
  color: #fff;
  box-shadow: 0 22px 50px rgba(77, 64, 60, 0.18);
  text-align: center;
}

.contact-card h2 {
  margin-bottom: 18px;
}

.contact-card p {
  max-width: 590px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.78);
}

.cta {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 14px 28px;
  border-radius: 18px;
  color: var(--cocoa);
  background: #fff;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.14);
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.cta:hover {
  transform: translateY(-2px);
  background: var(--petal-soft);
}

.contact-footnote {
  margin: 16px auto 0 !important;
  font-size: 0.78rem;
}

.site-footer {
  padding: 26px 0 44px;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}

.zoom-dialog {
  width: min(96vw, 1180px);
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  overflow: visible;
}

.zoom-dialog::backdrop {
  background: rgba(45, 35, 32, 0.78);
  backdrop-filter: blur(6px);
}

.zoom-dialog img {
  width: 100%;
  max-height: 88vh;
  border-radius: 20px;
  object-fit: contain;
}

.dialog-close {
  position: absolute;
  top: -18px;
  right: -10px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--cocoa);
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  font-size: 1.35rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 680px) {
  .check-grid,
  .cost-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy br.mobile-break {
    display: none;
  }
}

@media (max-width: 520px) {
  body {
    line-height: 1.82;
  }

  .site-shell {
    width: min(calc(100% - 22px), var(--container));
  }

  .hero {
    min-height: 88svh;
    padding-top: 76px;
  }

  .section {
    padding-top: 52px;
  }

  .section-card {
    border-radius: 25px;
  }

  .comparison-row {
    grid-template-columns: 64px 1fr;
  }

  .image-button {
    border-radius: 18px;
  }

  .zoom-dialog {
    width: calc(100vw - 18px);
  }

  .dialog-close {
    top: -14px;
    right: -2px;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
