:root {
  --pink: #ff6b8a;
  --pink-deep: #f33f69;
  --green: #62c85a;
  --green-deep: #31a329;
  --cream: #fff6ee;
  --ink: #444444;
  --brown: #5b321f;
  --line: #f3dac5;
  --shadow: 0 12px 32px rgba(91, 50, 31, 0.12);
  --radius: 22px;
  --max: 1320px;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  color: var(--ink);
  background: #fffaf5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 200, 116, 0.22), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #fffaf5 52%, #fff6ee 100%);
  color: var(--ink);
  line-height: 1.65;
  letter-spacing: 0;
}

body::before {
  content: "🐾  🐾  🐾";
  position: fixed;
  inset: auto 0 26px auto;
  width: 210px;
  color: rgba(255, 174, 78, 0.18);
  font-size: 34px;
  pointer-events: none;
  z-index: -1;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 18px 32px 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(243, 218, 197, 0.7);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  color: #241710;
}

.brand strong {
  color: var(--green-deep);
  font-size: 20px;
}

.brand-mark {
  font-size: 34px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 800;
  color: #241710;
  white-space: nowrap;
}

.header-cta,
.primary-cta,
.plan-cta,
.sticky-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 900;
  color: #fff;
  text-align: center;
  white-space: normal;
  background: linear-gradient(135deg, #ff805f 0%, var(--pink-deep) 100%);
  box-shadow: 0 10px 22px rgba(255, 107, 138, 0.28);
}

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

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  align-items: center;
  gap: 28px;
  min-height: min(760px, calc(100svh - 82px));
  padding: 28px 0 18px;
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 4px;
  color: #241710;
  font-size: clamp(25px, 3vw, 42px);
  font-weight: 950;
  line-height: 1.15;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--pink-deep);
  font-size: clamp(48px, 5.8vw, 76px);
  line-height: 1.04;
  font-weight: 950;
}

h1 span {
  color: var(--green-deep);
}

h1 .finish {
  display: inline-block;
  color: var(--pink-deep);
}

.hero-lead {
  width: min(600px, 100%);
  margin: 20px 0 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff2e7;
  color: var(--brown);
  text-align: center;
  font-size: 24px;
  font-weight: 900;
}

.hero-icons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(610px, 100%);
}

.hero-icon {
  display: grid;
  place-items: center;
  min-height: 132px;
  padding: 14px 8px;
  border: 1px solid #f2e2d2;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
  font-size: 14px;
  line-height: 1.35;
}

.hero-icon span {
  font-size: 34px;
  line-height: 1;
}

.primary-cta {
  width: min(580px, 100%);
  min-height: 64px;
  margin-top: 24px;
  padding: 0 28px;
  font-size: clamp(19px, 2.2vw, 26px);
}

.primary-cta::after,
.header-cta::after,
.plan-cta::after {
  content: "›";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: 12px;
  border-radius: 50%;
  background: #fff;
  color: var(--pink-deep);
  font-size: 26px;
  line-height: 1;
}

.price-note {
  margin: 14px 0 12px;
  color: #241710;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  width: min(580px, 100%);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(580px, 100%);
}

.trust-badges span {
  flex: 1 1 150px;
  padding: 9px 14px;
  border: 1px solid #ffd7b2;
  border-radius: 999px;
  background: #fff;
  color: var(--brown);
  text-align: center;
  font-weight: 800;
}

.hero-visual {
  display: grid;
  grid-template-columns: minmax(250px, 310px) minmax(150px, 220px);
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 510px;
}

.phone {
  width: min(300px, 100%);
  aspect-ratio: 260 / 460;
  filter: drop-shadow(0 18px 20px rgba(35, 25, 19, 0.24));
}

.floating-stamps {
  display: grid;
  gap: 18px;
}

.floating-stamps img {
  width: 145px;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border-radius: 20px;
  filter: drop-shadow(0 8px 10px rgba(91, 50, 31, 0.12));
}

section h2 {
  margin: 0 0 18px;
  color: var(--brown);
  text-align: center;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.25;
  font-weight: 950;
}

section h2::before,
section h2::after {
  content: "🐾";
  margin: 0 10px;
  color: #e6a24d;
  font-size: 0.75em;
}

section h2 span {
  color: var(--pink-deep);
}

.compare,
.reasons,
.pricing,
.flow,
.works,
.faq {
  padding: 28px 0;
}

.compare-grid,
.plan-grid,
.voice-grid {
  display: grid;
  gap: 16px;
}

.compare-grid {
  grid-template-columns: 1fr 0.62fr 1fr;
}

.type-card,
.diagnosis-card,
.plan-card,
.reason-grid article,
.voice-grid article,
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.type-card,
.diagnosis-card {
  padding: 18px;
}

.type-label {
  margin: 0;
  color: var(--green-deep);
  font-weight: 950;
  text-align: center;
}

.infj .type-label {
  color: #9b44ba;
}

.enfj .type-label {
  color: #237dd3;
}

.type-card h3,
.diagnosis-card h3 {
  margin: 2px 0 12px;
  color: var(--brown);
  text-align: center;
  font-size: 20px;
  line-height: 1.25;
}

.stamp-grid,
.stamp-row {
  display: grid;
  gap: 12px;
}

.stamp-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stamp-row {
  grid-template-columns: repeat(3, minmax(0, 180px));
  justify-content: center;
}

figure {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin: 0;
}

figure img {
  width: min(132px, 100%);
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border-radius: 16px;
}

figcaption {
  color: #241710;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.diagnosis-card ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.diagnosis-card li {
  position: relative;
  padding: 14px 12px;
  border-radius: 16px;
  background: var(--cream);
  color: #241710;
  text-align: center;
  font-weight: 900;
}

.diagnosis-card li:not(:last-child)::after {
  content: "↓";
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  color: var(--pink-deep);
  font-size: 18px;
}

.wide {
  margin-top: 16px;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.reason-grid article {
  padding: 18px 16px;
}

.reason-grid span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-weight: 950;
}

.reason-grid h3 {
  margin: 10px 0 6px;
  color: var(--brown);
  font-size: 18px;
  line-height: 1.35;
}

.reason-grid p,
.voice-grid p,
.faq p {
  margin: 0;
  font-weight: 700;
}

.plan-grid {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.plan-card {
  position: relative;
  padding: 26px 30px 28px;
  overflow: hidden;
}

.plan-card.standard {
  border-color: rgba(255, 107, 138, 0.55);
}

.popular {
  position: absolute;
  top: 18px;
  right: 20px;
  margin: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--pink-deep);
  color: #fff;
  font-size: 14px;
  font-weight: 950;
}

.plan-name {
  margin: 0;
  color: var(--green-deep);
  font-size: 18px;
  font-weight: 950;
}

.standard .plan-name {
  color: var(--pink-deep);
}

.plan-count {
  color: var(--pink-deep);
  font-size: 28px;
  font-weight: 950;
  line-height: 1.1;
}

.plan-count strong {
  font-size: 58px;
}

.plan-price {
  margin: 6px 0 14px;
  color: var(--green-deep);
  font-size: 38px;
  font-weight: 950;
}

.standard .plan-price {
  color: var(--pink-deep);
}

.plan-price span {
  font-size: 15px;
}

.plan-card ul {
  display: grid;
  gap: 7px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-weight: 850;
}

.plan-card li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--green-deep);
  font-weight: 950;
}

.standard li::before {
  color: var(--pink-deep);
}

.plan-cta {
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
}

.plan-cta.green {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 16px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.flow-list li {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 106px;
  padding: 12px;
  border-radius: 16px;
  background: var(--cream);
  text-align: center;
  font-weight: 900;
}

.flow-list li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -13px;
  top: 45%;
  color: var(--brown);
  font-size: 22px;
}

.flow-list strong {
  display: inline-grid;
  place-items: center;
  justify-self: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brown);
  color: #fff;
}

.voice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.voice-grid article {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

.voice-grid img {
  grid-row: span 2;
  width: 92px;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border-radius: 16px;
}

.voice-grid h3 {
  margin: 0;
  color: var(--brown);
  font-size: 18px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.faq details {
  padding: 14px 18px;
}

.faq summary {
  cursor: pointer;
  color: #241710;
  font-weight: 950;
}

.faq summary::marker {
  color: var(--green-deep);
}

.final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  width: min(var(--max), calc(100% - 40px));
  margin: 18px auto 94px;
  padding: 26px 36px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--pink-deep), #ff8a4a);
  color: #fff;
  box-shadow: 0 18px 36px rgba(255, 107, 138, 0.28);
}

.final-cta h2 {
  margin: 0 0 16px;
  color: #fff;
  text-align: left;
}

.final-cta h2::before,
.final-cta h2::after {
  content: "";
  margin: 0;
}

.final-cta .primary-cta {
  width: min(360px, 100%);
  margin-top: 0;
  background: #ffd93c;
  color: #c53d1f;
  box-shadow: none;
}

.final-cta img {
  width: 145px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20px;
}

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(560px, calc(100% - 28px));
  padding: 10px 12px 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(91, 50, 31, 0.18);
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}

.sticky-cta span {
  flex: 1;
  color: var(--brown);
  font-weight: 950;
  text-align: center;
}

.sticky-cta a {
  min-height: 44px;
  padding: 0 20px;
}

.sp-only {
  display: none;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-icons,
  .trust-badges,
  .price-note,
  .primary-cta,
  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    grid-template-columns: minmax(230px, 310px) minmax(130px, 170px);
    min-height: 420px;
  }

  .reason-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flow-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flow-list li:nth-child(3)::after {
    content: "";
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 12px 16px 10px;
    gap: 12px;
  }

  .brand {
    font-size: 12px;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand-mark {
    font-size: 26px;
  }

  .header-cta {
    display: none;
  }

  .header-cta::after {
    display: none;
  }

  .section-shell {
    width: min(calc(100% - 24px), 390px);
    margin-left: 12px;
    margin-right: 12px;
  }

  .hero-copy,
  .hero-visual {
    width: calc(100vw - 24px);
    max-width: 320px;
    margin-left: 0;
    margin-right: 0;
  }

  .hero {
    display: block;
    gap: 12px;
    padding-top: 20px;
    width: 100%;
    max-width: 320px;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
  }

  .eyebrow {
    font-size: 25px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  h1 span {
    display: block;
  }

  h1 .finish {
    display: block;
  }

  .hero-lead {
    margin-top: 14px;
    font-size: 17px;
  }

  .hero-icons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: calc(100vw - 24px);
    max-width: 320px;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-icon {
    min-height: 104px;
    border-radius: 22px;
    font-size: 13px;
  }

  .hero-icon span {
    font-size: 28px;
  }

  .primary-cta {
    width: calc(100vw - 24px);
    max-width: 320px;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
    min-height: 56px;
    padding: 0 18px;
    font-size: 16px;
  }

  .hero-lead,
  .price-note {
    width: calc(100vw - 24px);
    max-width: 320px;
    margin-left: 0;
    margin-right: 0;
  }

  .price-note {
    font-size: 15px;
  }

  .trust-badges span {
    flex-basis: calc(50% - 8px);
    font-size: 12px;
  }

  .trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: calc(100vw - 24px);
    max-width: 320px;
    margin-left: 0;
    margin-right: 0;
  }

  .trust-badges span:last-child {
    grid-column: 1 / -1;
  }

  .hero-visual {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .phone {
    width: 235px;
    justify-self: center;
  }

  .floating-stamps {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 100%;
  }

  .floating-stamps img {
    width: 100%;
    border-radius: 14px;
  }

  section h2 {
    font-size: 24px;
  }

  section h2::before,
  section h2::after {
    margin: 0 5px;
  }

  .compare,
  .reasons,
  .pricing,
  .flow,
  .works,
  .faq {
    padding: 22px 0;
  }

  .compare-grid,
  .plan-grid,
  .voice-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .stamp-grid,
  .stamp-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  figcaption {
    font-size: 12px;
  }

  .reason-grid {
    grid-template-columns: 1fr;
  }

  .reason-grid article {
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 10px;
    align-items: start;
  }

  .reason-grid p {
    grid-column: 2;
  }

  .reason-grid h3 {
    margin-top: 4px;
  }

  .plan-card {
    padding: 22px 18px;
  }

  .popular {
    top: 14px;
    right: 14px;
  }

  .flow-list {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .flow-list li {
    min-height: 76px;
    grid-template-columns: 42px 1fr;
    align-items: center;
    text-align: left;
  }

  .flow-list li:not(:last-child)::after {
    content: "↓";
    right: auto;
    left: 28px;
    top: auto;
    bottom: -18px;
  }

  .flow-list strong {
    justify-self: start;
  }

  .voice-grid article {
    grid-template-columns: 82px 1fr;
  }

  .voice-grid img {
    width: 78px;
  }

  .final-cta {
    grid-template-columns: 1fr;
    width: min(100% - 24px, 390px);
    margin-bottom: 92px;
    padding: 24px 20px;
    text-align: center;
  }

  .final-cta h2 {
    text-align: center;
  }

  .final-cta img {
    width: 112px;
    justify-self: center;
  }

  .sticky-cta {
    left: 14px;
    right: auto;
    bottom: 10px;
    gap: 8px;
    width: min(calc(100vw - 28px), 362px);
    padding: 8px 8px 8px 12px;
    transform: none;
  }

  .sticky-cta span {
    font-size: 13px;
  }

  .sticky-cta a {
    min-height: 42px;
    padding: 0 14px;
    font-size: 14px;
  }

  .sp-only {
    display: inline;
  }
}
