:root {
  --ink: #18351e;
  --muted: #526746;
  --paper: #fbfff5;
  --white: #ffffff;
  --sage-50: #efffe6;
  --sage-100: #dbf8c7;
  --sage-500: #52ad39;
  --sage-700: #176725;
  --lavender-100: #e5f7ff;
  --lavender-500: #2d89bd;
  --rose-100: #fff5d6;
  --gold-100: #fff1b8;
  --line: rgba(24, 92, 34, 0.16);
  --shadow: 0 18px 50px rgba(37, 128, 43, 0.16);
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP",
    system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

strong {
  color: var(--sage-700);
  font-weight: 700;
}

.site-header {
  background:
    radial-gradient(circle at 14% 4%, rgba(255, 241, 184, 0.86), transparent 28%),
    radial-gradient(circle at 86% 14%, rgba(180, 242, 137, 0.82), transparent 30%),
    linear-gradient(180deg, #f7ffe9 0%, #efffe6 100%);
}

.main-visual {
  padding: clamp(16px, 3vw, 34px) 0 clamp(12px, 2vw, 22px);
}

.main-visual__inner {
  width: min(100% - 28px, 1360px);
  margin: 0 auto;
}

.main-visual__image {
  width: auto;
  max-width: 100%;
  max-height: min(82svh, 760px);
  height: auto;
  margin: 0 auto;
  border: 1px solid rgba(23, 103, 37, 0.2);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(45, 128, 33, 0.18);
}

.hero {
  position: relative;
  min-height: 76svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  isolation: isolate;
}

.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: -2;
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.96) 0%, rgba(251, 250, 247, 0.9) 34%, rgba(251, 250, 247, 0.44) 62%, rgba(251, 250, 247, 0.12) 100%),
    linear-gradient(180deg, rgba(251, 250, 247, 0.18) 0%, rgba(251, 250, 247, 0.72) 100%);
  z-index: -1;
}

.hero__content {
  width: min(100% - 40px, var(--content));
  margin: 0 auto;
  padding: 64px 0 52px;
}

.eyebrow,
.section-kicker,
.notice-band__label,
.doctor-card__label,
.info-panel__label {
  margin: 0;
  color: var(--sage-700);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border: 1px solid rgba(47, 99, 79, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--sage-700);
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage-500);
  content: "";
}

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

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.35;
}

h1 {
  max-width: 11em;
  margin-top: 24px;
  font-size: 3.75rem;
  font-weight: 700;
}

h2 {
  font-size: 2.1rem;
}

h3 {
  font-size: 1.2rem;
}

.lead {
  max-width: 38rem;
  margin: 24px 0 0;
  font-size: 1.22rem;
  color: #394540;
}

.doctor-message {
  max-width: 42rem;
  margin: 18px 0 0;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  flex: 0 0 auto;
}

.button--primary {
  background: var(--sage-700);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(47, 99, 79, 0.22);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(47, 99, 79, 0.22);
  color: var(--sage-700);
}

.notice-band {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 241, 184, 0.32), rgba(219, 248, 199, 0.58)),
    rgba(255, 255, 255, 0.94);
}

.notice-band__inner {
  width: min(100% - 40px, var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.notice-band__inner > div {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 18px 28px;
  border-left: 1px solid var(--line);
}

.notice-band__inner > div:last-child {
  border-right: 1px solid var(--line);
}

.notice-band strong {
  color: var(--ink);
  font-size: 1.16rem;
}

.section.video-section {
  padding: 56px 0 74px;
  background:
    linear-gradient(180deg, #f7ffe9 0%, #efffe6 56%, #ffffff 100%);
}

.video-heading {
  max-width: 760px;
}

.video-heading p:not(.section-kicker) {
  margin: 12px 0 0;
  color: var(--muted);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.video-card {
  overflow: hidden;
  border: 1px solid rgba(23, 103, 37, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.video-card__media {
  aspect-ratio: 16 / 9;
  background: #d5f6bf;
}

.video-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #102116;
}

.video-card__body {
  padding: 22px 24px 24px;
}

.video-card__label {
  margin: 0 0 8px;
  color: var(--sage-700);
  font-size: 0.82rem;
  font-weight: 700;
}

.video-card__body p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
}

.section {
  padding: 88px 0;
}

.section__inner {
  width: min(100% - 40px, var(--content));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: start;
}

.section-copy p {
  max-width: 44rem;
  margin: 18px 0 0;
  color: var(--muted);
}

.section-copy h2,
.section-heading h2 {
  margin-top: 10px;
}

.doctor-card,
.info-panel,
.recommend-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.doctor-card {
  position: sticky;
  top: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.doctor-card__name {
  margin: 8px 0 12px;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
}

.doctor-card p:last-child {
  margin: 0;
  color: var(--muted);
}

.recommendations {
  background:
    linear-gradient(180deg, var(--sage-50) 0%, rgba(255, 255, 255, 0.62) 100%);
}

.section-heading {
  max-width: 640px;
}

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

.recommend-item {
  min-height: 178px;
  padding: 22px 18px;
  display: grid;
  align-content: start;
  gap: 18px;
}

.recommend-item p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.65;
}

.icon-badge,
.info-panel__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--lavender-100);
  color: var(--lavender-500);
}

.icon-badge svg,
.info-panel__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.guide {
  background: var(--paper);
}

.guide-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.info-panel {
  min-height: 300px;
  padding: 24px;
}

.info-panel--featured {
  background: #f6ffef;
}

.info-panel__icon {
  margin-bottom: 24px;
  background: var(--sage-100);
  color: var(--sage-700);
}

.info-panel h3 {
  margin-top: 8px;
}

.info-panel p:not(.info-panel__label) {
  margin: 14px 0 0;
  color: var(--muted);
}

.small-note {
  font-size: 0.88rem;
}

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

.flow-list {
  counter-reset: flow;
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
}

.flow-list li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 241, 184, 0.42), rgba(255, 255, 255, 0) 44%),
    var(--paper);
}

.flow-list__number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--sage-700);
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}

.flow-list p {
  margin: 9px 0 0;
  color: var(--muted);
}

.closing {
  padding: 82px 0;
  background:
    linear-gradient(135deg, rgba(219, 248, 199, 0.9), rgba(255, 241, 184, 0.72)),
    var(--sage-50);
}

.closing__inner {
  width: min(100% - 40px, 780px);
  margin: 0 auto;
  text-align: center;
}

.closing p {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
}

.closing span {
  display: block;
  margin-top: 16px;
  color: var(--muted);
}

.site-footer {
  padding: 22px 20px;
  background: #123d1d;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.site-footer p {
  max-width: 920px;
  margin: 0 auto;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.82rem;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .doctor-card {
    position: static;
  }

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

  .recommend-item,
  .info-panel {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .hero {
    min-height: 70svh;
  }

  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(251, 250, 247, 0.94) 0%, rgba(251, 250, 247, 0.86) 56%, rgba(251, 250, 247, 0.58) 100%),
      linear-gradient(90deg, rgba(251, 250, 247, 0.94), rgba(251, 250, 247, 0.3));
  }

  .hero__content {
    width: min(100% - 28px, var(--content));
    padding: 42px 0 38px;
  }

  h1 {
    max-width: 9em;
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.55rem;
  }

  h3 {
    font-size: 1.08rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .notice-band__inner {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .notice-band__inner > div,
  .notice-band__inner > div:last-child {
    min-height: auto;
    padding: 16px 20px;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .notice-band__inner > div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 62px 0;
  }

  .section__inner,
  .closing__inner {
    width: min(100% - 28px, var(--content));
  }

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

  .recommend-grid,
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .recommend-item {
    min-height: 124px;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
  }

  .flow-list li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .flow-list__number {
    width: 40px;
    height: 40px;
  }

  .closing p {
    font-size: 1.45rem;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 2rem;
  }

  .eyebrow {
    font-size: 0.78rem;
  }

  .button {
    padding-inline: 12px;
  }

  .recommend-item,
  .info-panel,
  .doctor-card,
  .flow-list li {
    padding: 16px;
  }
}

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

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