:root {
  --bg: #faf7f5;
  --bg-soft: #f3ebe7;
  --ink: #2a2422;
  --ink-soft: #5c534e;
  --muted: #8a7f79;
  --rose: #c4707c;
  --rose-deep: #a85462;
  --rose-soft: #f0d6da;
  --cream: #fffbf9;
  --line: rgba(42, 36, 34, 0.1);
  --shadow: 0 24px 60px rgba(42, 36, 34, 0.08);
  --radius: 18px;
  --font: "Zen Maru Gothic", "Hiragino Sans", "Yu Gothic", sans-serif;
  --display: "Shippori Mincho", "Hiragino Mincho ProN", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(196, 112, 124, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(232, 196, 168, 0.25), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  min-height: 100vh;
  line-height: 1.7;
}

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

a {
  color: var(--rose-deep);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(250, 247, 245, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff8f6 0%, transparent 45%),
    linear-gradient(145deg, #d98a94, #c4707c 55%, #a85462);
  box-shadow: 0 6px 16px rgba(168, 84, 98, 0.28);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--rose-deep);
  text-decoration: none;
  transform: translateY(-1px);
}

.hero {
  padding: 3.5rem 0 2.5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.35;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

.hero-lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0 0 1.75rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.95rem 1.55rem;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(168, 84, 98, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(168, 84, 98, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: var(--cream);
  transform: translateY(-1px);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-row i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose);
  display: inline-block;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(42, 36, 34, 0.15), rgba(42, 36, 34, 0.45)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 900'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%23e8c4a8'/%3E%3Cstop offset='.5' stop-color='%23c4707c'/%3E%3Cstop offset='1' stop-color='%235c534e'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='800' height='900' fill='url(%23g)'/%3E%3Ccircle cx='220' cy='200' r='160' fill='%23fff8f6' fill-opacity='.18'/%3E%3Ccircle cx='580' cy='620' r='220' fill='%232a2422' fill-opacity='.2'/%3E%3Cpath d='M120 720c80-140 220-180 340-120s200 40 280-40' stroke='%23fff' stroke-opacity='.25' stroke-width='2' fill='none'/%3E%3C/svg%3E") center/cover;
  box-shadow: var(--shadow);
  animation: fadeRise 0.9s ease both;
}

.hero-card {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  padding: 1.25rem 1.35rem;
  border-radius: 18px;
  background: rgba(255, 251, 249, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(42, 36, 34, 0.12);
  animation: fadeRise 1.1s ease 0.15s both;
}

.hero-card strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.hero-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.section {
  padding: 3.5rem 0;
}

.section-head {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 2.25rem;
}

.section-head h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  margin: 0 0 0.75rem;
  letter-spacing: 0.03em;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature {
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-num {
  font-family: var(--display);
  color: var(--rose);
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}

.feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.quiz-section {
  padding-bottom: 4rem;
}

.quiz-shell {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 760px;
  margin: 0 auto;
}

.quiz-progress {
  height: 4px;
  background: var(--bg-soft);
}

.quiz-progress > span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--rose), var(--rose-deep));
  transition: width 0.35s ease;
}

.quiz-body {
  padding: 2rem 1.75rem 1.75rem;
}

.quiz-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.quiz-question h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.35rem;
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.options {
  display: grid;
  gap: 0.75rem;
}

.option {
  width: 100%;
  text-align: left;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.option:hover {
  border-color: var(--rose);
  background: #fff8f7;
  transform: translateX(3px);
}

.option.selected {
  border-color: var(--rose-deep);
  background: var(--rose-soft);
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.quiz-panel {
  display: none;
  animation: fadeRise 0.4s ease both;
}

.quiz-panel.active {
  display: block;
}

.result-card {
  text-align: center;
  padding: 0.5rem 0 0.25rem;
}

.result-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--rose-soft);
  color: var(--rose-deep);
  font-size: 0.82rem;
  margin-bottom: 1rem;
}

.result-card h3 {
  font-family: var(--display);
  font-size: 1.55rem;
  margin: 0 0 0.75rem;
  font-weight: 500;
}

.result-card > p {
  color: var(--ink-soft);
  margin: 0 auto 1.5rem;
  max-width: 28rem;
}

.lead-form {
  display: grid;
  gap: 0.85rem;
  text-align: left;
  max-width: 420px;
  margin: 0 auto;
}

.lead-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.lead-form input,
.lead-form select {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
}

.lead-form input:focus,
.lead-form select:focus {
  outline: 2px solid rgba(196, 112, 124, 0.35);
  border-color: var(--rose);
}

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
}

.thanks {
  display: none;
  text-align: center;
  padding: 1rem 0;
}

.thanks.active {
  display: block;
  animation: fadeRise 0.45s ease both;
}

.thanks h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  margin: 0 0 0.6rem;
}

.thanks p {
  color: var(--ink-soft);
  margin: 0;
}

.social-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.quote {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: rgba(255, 251, 249, 0.7);
  border: 1px solid var(--line);
}

.quote p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.quote cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
}

.cta-band {
  margin: 1rem 0 3.5rem;
  padding: 2.5rem 2rem;
  border-radius: 28px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(196, 112, 124, 0.12), rgba(232, 196, 168, 0.2)),
    var(--cream);
  border: 1px solid var(--line);
}

.cta-band h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  margin: 0 0 0.7rem;
}

.cta-band p {
  margin: 0 auto 1.4rem;
  color: var(--ink-soft);
  max-width: 30rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

@keyframes fadeRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 2.25rem;
  }

  .hero-visual {
    min-height: 320px;
    order: -1;
  }

  .features,
  .social-proof {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 1.25rem, 1120px);
  }

  .quiz-body {
    padding: 1.5rem 1.1rem 1.25rem;
  }

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

  .btn {
    width: 100%;
  }
}
