:root {
  --bg: #fbf8f1;
  --surface: #ffffff;
  --surface-soft: #f3f7ef;
  --line: #dfe7df;
  --text: #21403f;
  --muted: #617675;
  --primary: #2c8577;
  --primary-dark: #1f6259;
  --accent: #89b597;
  --warm: #de8a62;
  --shadow: 0 18px 45px rgba(56, 82, 73, 0.09);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(137, 181, 151, 0.22), transparent 28%),
    radial-gradient(circle at left top, rgba(248, 219, 196, 0.28), transparent 32%),
    linear-gradient(180deg, #fffdf8 0%, var(--bg) 100%);
  line-height: 1.75;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255, 252, 246, 0.88);
  border-bottom: 1px solid rgba(223, 231, 223, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}

.logo {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero {
  padding: 56px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-card-panel,
.contact-panel,
.info-card,
.risk-panel,
.flow-item,
.faq-item {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(223, 231, 223, 0.96);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 36px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 248, 241, 0.94));
}

.eyebrow,
.section-tag,
.card-label,
.card-kicker {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.eyebrow,
.section-tag,
.card-label {
  text-transform: uppercase;
  font-size: 0.82rem;
}

.hero h1,
.section-heading h2,
.contact-panel h2 {
  margin: 10px 0 0;
  line-height: 1.28;
  letter-spacing: 0.01em;
  color: #1c3938;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.hero-sublead {
  display: block;
  margin-bottom: 10px;
  color: var(--warm);
  font-weight: 800;
}

.text-accent {
  color: var(--primary);
}

.text-warn {
  color: var(--warm);
}

.hero-lead,
.section-heading p,
.contact-panel p,
.info-card p,
.risk-item p,
.flow-item p,
.faq-item p,
.site-footer p {
  color: var(--muted);
}

.hero-reason {
  margin: 0 0 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff8f2, #fffdf8);
  border: 1px solid rgba(222, 138, 98, 0.22);
  color: #395554;
  font-weight: 700;
}

.hero-easy {
  margin: 0 0 4px;
  color: var(--primary-dark);
  font-weight: 700;
}

.hero-location {
  margin: 0 0 8px;
  color: #1c3938;
  font-weight: 800;
}

.cta-location-note {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.94rem;
}

.consult-targets {
  margin: 18px 0 18px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(243, 247, 239, 0.96), rgba(255, 253, 248, 0.98));
  border: 1px solid var(--line);
}

.consult-targets-title {
  margin: 0 0 12px;
  color: #1c3938;
  font-weight: 800;
}

.consult-targets-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.consult-targets-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.consult-targets-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--warm);
}

.cta-row,
.cta-stack {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-row {
  margin: 28px 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  text-align: center;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, #4a9f90 100%);
  box-shadow: 0 10px 22px rgba(44, 133, 119, 0.24);
}

.btn-secondary {
  color: var(--primary-dark);
  background: #e6f3ef;
}

.btn-tertiary {
  color: var(--text);
  background: #fff8f2;
  border: 1px solid var(--line);
}

.btn-outline {
  color: var(--primary-dark);
  background: #ffffff;
  border: 1.5px solid rgba(44, 133, 119, 0.28);
}

.hero-points,
.alert-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-points {
  display: grid;
  gap: 10px;
}

.hero-points li,
.alert-list li {
  position: relative;
  padding-left: 28px;
}

.hero-points li::before,
.alert-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.hero-card-panel {
  height: 100%;
  padding: 28px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 247, 239, 0.98)),
    var(--surface);
}

.hero-photo {
  margin: 0 0 18px;
}

.hero-photo img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 22px;
  border: 1px solid var(--line);
}

.doctor-specialty {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f3f7ef, #fffdf8);
  border: 1px solid var(--line);
  color: var(--primary-dark);
  font-weight: 700;
}

.alert-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.doctor-note {
  margin-top: 28px;
  padding: 20px;
  background: var(--surface-soft);
  border-radius: var(--radius-md);
}

.doctor-note-title,
.footer-title {
  margin: 0 0 8px;
  font-weight: 800;
}

.section {
  padding: 36px 0 64px;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(243, 247, 239, 0.72), rgba(251, 248, 241, 0.96));
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading-left {
  margin: 0;
  text-align: left;
}

.cards-three,
.flow-list {
  display: grid;
  gap: 20px;
}

.threshold-panel {
  margin-bottom: 22px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 242, 0.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.threshold-title {
  margin: 0 0 14px;
  font-weight: 800;
  color: #1c3938;
}

.threshold-list,
.trigger-grid {
  display: grid;
  gap: 16px;
}

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

.threshold-item,
.trigger-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
}

.threshold-label {
  display: block;
  margin-bottom: 4px;
  color: var(--primary);
  font-weight: 700;
}

.threshold-item strong {
  font-size: 1.35rem;
  color: var(--warm);
}

.threshold-item small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.info-card {
  padding: 28px;
  border-radius: var(--radius-md);
}

.mini-illustration {
  width: 72px;
  height: 72px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #fffdf8, #edf5ef);
  border: 1px solid var(--line);
}

.emoji-icon {
  font-size: 2rem;
  line-height: 1;
}

.card-kicker {
  font-size: 0.9rem;
  margin: -2px 0 10px;
}

.risk-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.risk-panel {
  padding: 24px;
  border-radius: var(--radius-lg);
}

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

.trigger-card strong {
  display: block;
  margin-bottom: 8px;
  color: #1c3938;
}

.trigger-card p {
  margin: 0;
  color: var(--muted);
}

.risk-item + .risk-item {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

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

.flow-item {
  position: relative;
  padding: 28px 24px 24px;
  border-radius: var(--radius-md);
}

.flow-icon {
  font-size: 1.55rem;
  line-height: 1;
}

.flow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #edf5ef;
  color: var(--primary);
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 0 22px;
  border-radius: var(--radius-md);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0 0 20px;
  padding-top: 2px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 30px;
  border-radius: var(--radius-lg);
}

.cta-stack {
  justify-content: flex-end;
}

.site-footer {
  padding: 0 0 42px;
}

.map-panel {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(223, 231, 223, 0.96);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.map-panel iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

.map-actions {
  padding: 20px;
}

.mobile-sticky-cta {
  display: none;
}

.footer-subtitle {
  margin: 0 0 8px;
  color: var(--primary-dark);
  font-weight: 700;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(223, 231, 223, 0.96);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.95);
}

@media (max-width: 960px) {
  .hero-grid,
  .risk-grid,
  .contact-panel,
  .cards-three,
  .threshold-list,
  .trigger-grid,
  .flow-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-stack {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
  }

  .header-inner {
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .header-nav {
    justify-content: center;
    gap: 14px;
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-copy,
  .hero-card-panel,
  .info-card,
  .risk-panel,
  .flow-item,
  .contact-panel,
  .footer-grid {
    padding: 22px;
  }

  .section {
    padding: 28px 0 48px;
  }

  .hero-photo img {
    height: 280px;
  }

  .btn {
    width: 100%;
  }

  .map-panel iframe {
    height: 280px;
  }

  .cta-row,
  .cta-stack {
    flex-direction: column;
  }

  .faq-item {
    padding: 0 18px;
  }

  .mobile-sticky-cta {
    position: sticky;
    bottom: 0;
    z-index: 30;
    display: block;
    padding: 10px 16px 16px;
    background: linear-gradient(180deg, rgba(251, 248, 241, 0), rgba(251, 248, 241, 0.96) 34%, rgba(251, 248, 241, 0.98) 100%);
  }

  .mobile-sticky-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 18px;
    border-radius: 999px;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, #4a9f90 100%);
    box-shadow: 0 12px 28px rgba(44, 133, 119, 0.26);
  }
}
