:root {
  --mint: #8edfc3;
  --mint-dark: #2f8f7b;
  --mint-soft: #e8f8f2;
  --ink: #18352f;
  --muted: #61736e;
  --cream: #fbfaf5;
  --white: #ffffff;
  --line: #d9ebe4;
  --coral: #e8907d;
  --gold: #d7a848;
  --shadow: 0 22px 60px rgba(24, 53, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  line-height: 1.75;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(251, 250, 245, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(47, 143, 123, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background:
    radial-gradient(circle at 50% 40%, var(--white) 0 18%, transparent 19%),
    linear-gradient(135deg, var(--mint), var(--mint-dark));
  box-shadow: 0 8px 18px rgba(47, 143, 123, 0.24);
}

.nav {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--mint-dark);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-cta,
.primary-button {
  color: var(--white);
  background: var(--mint-dark);
  box-shadow: 0 14px 28px rgba(47, 143, 123, 0.22);
}

.secondary-button {
  color: var(--mint-dark);
  background: var(--white);
  border: 1px solid var(--line);
}

.header-cta:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 84px);
  padding: clamp(48px, 7vw, 92px) clamp(20px, 5vw, 72px) 64px;
  background:
    linear-gradient(90deg, rgba(232, 248, 242, 0.96), rgba(251, 250, 245, 0.66) 58%, rgba(251, 250, 245, 0.2)),
    var(--cream);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--mint-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.16;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.28;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.36;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin: 0;
}

.hero-stats div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-stats dt {
  color: var(--mint-dark);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-photo {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.photo-note {
  position: absolute;
  right: 22px;
  bottom: 22px;
  max-width: 330px;
  padding: 16px 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.section {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

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

.reason-grid article {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(24, 53, 47, 0.06);
}

.line-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--mint-dark);
  border: 1px solid var(--mint);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.reason-grid p,
.option-body p,
.checker-copy p,
.visit-flow p,
.contact p,
.footer {
  color: var(--muted);
}

.options {
  background: var(--mint-soft);
}

.option-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(47, 143, 123, 0.15);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(24, 53, 47, 0.08);
}

.option-media {
  height: 150px;
  background-size: cover;
  background-position: center;
}

.option-media.heart {
  background-image: linear-gradient(rgba(47, 143, 123, 0.08), rgba(47, 143, 123, 0.08)),
    url("assets/heart-ultrasound.png");
  background-position: center 38%;
}

.option-media.kidney {
  background-image: linear-gradient(rgba(142, 223, 195, 0.14), rgba(142, 223, 195, 0.14)),
    url("assets/kidney-check.png");
  background-position: 65% 50%;
}

.option-media.joint {
  background-image: linear-gradient(rgba(232, 144, 125, 0.12), rgba(232, 144, 125, 0.12)),
    url("assets/joint-check.png");
  background-position: 35% 48%;
}

.option-body {
  padding: 24px;
}

.tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 11px;
  color: var(--mint-dark);
  background: var(--mint-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.option-card ul {
  margin: 18px 0 0;
  padding-left: 1.2em;
  color: var(--ink);
}

.checker {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.checker-copy {
  position: sticky;
  top: 110px;
}

.checker-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: 18px;
  align-items: start;
}

form,
.result-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

form {
  padding: 24px;
}

fieldset {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

fieldset:last-child {
  margin-bottom: 0;
}

legend {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 800;
}

.choice-row,
.check-grid {
  display: grid;
  gap: 10px;
}

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

label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 12px;
  background: #f7fcfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
}

input {
  accent-color: var(--mint-dark);
}

.result-card {
  position: sticky;
  top: 110px;
  padding: 26px;
  background:
    linear-gradient(160deg, rgba(142, 223, 195, 0.28), rgba(255, 255, 255, 0) 42%),
    var(--white);
}

.result-label {
  margin-bottom: 8px;
  color: var(--mint-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.result-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}

.result-pills span {
  padding: 7px 10px;
  color: var(--ink);
  background: var(--mint-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.wide {
  width: 100%;
}

.visit-flow {
  background: var(--white);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.flow-list li {
  position: relative;
  min-height: 190px;
  padding: 26px 22px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  counter-increment: flow;
}

.flow-list li::before {
  content: counter(flow, decimal-leading-zero);
  color: var(--mint-dark);
  font-weight: 800;
}

.flow-list span {
  display: block;
  margin: 12px 0 8px;
  font-size: 20px;
  font-weight: 800;
}

.contact {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  margin: clamp(36px, 5vw, 70px) clamp(20px, 5vw, 72px);
  padding: clamp(34px, 5vw, 54px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(24, 53, 47, 0.94), rgba(47, 143, 123, 0.88)),
    var(--mint-dark);
  border-radius: 8px;
}

.contact h2 {
  max-width: 780px;
}

.contact p,
.contact .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.light {
  color: var(--ink);
  background: var(--white);
  box-shadow: none;
  white-space: nowrap;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 28px clamp(20px, 5vw, 72px) 42px;
  font-size: 12px;
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--mint-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1060px) {
  .hero,
  .checker,
  .checker-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-photo,
  .hero-photo img {
    min-height: 430px;
  }

  .checker-copy,
  .result-card {
    position: static;
  }

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

@media (max-width: 760px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
    gap: 14px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .header-cta {
    padding-inline: 14px;
    font-size: 13px;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: 36px;
  }

  .hero-stats,
  .reason-grid,
  .option-grid,
  .flow-list,
  .choice-row {
    grid-template-columns: 1fr;
  }

  .hero-photo,
  .hero-photo img {
    min-height: 360px;
  }

  .photo-note {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }

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

  .light {
    width: 100%;
  }
}
