/* 2026-10-16 stage 1: home display refinements. Safe to load site-wide. */
#main > .wrap > .hero .hero-title {
  margin: 0 0 12px;
  color: #245c4b;
  font-size: clamp(24px, 2.15vw, 32px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: .055em;
}
#main > .wrap > .hero .hero-title > span + span { margin-left: .35em; }
#main > .wrap > .hero .hero-title-place { white-space: nowrap; }
#main > .wrap > .hero .hero-catchcopy {
  margin: 0 0 18px;
  max-width: none;
  color: #283d35;
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  font-size: clamp(34px, 3.5vw, 54px);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: .065em;
}
#main > .wrap > .hero .hero-catchcopy em { font-style: normal; }
#main > .wrap > .hero .hero-services {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 14px;
  color: #245c4b;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.65;
}
#main > .wrap > .hero .hero-services span {
  padding: 3px 10px;
  border: 1px solid #c9ddd0;
  border-radius: 999px;
  background: #f7fbf5;
}
#main > .wrap > .hero .hero-entrances {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 17px 0 0;
}
#main > .wrap > .hero .hero-entrances .btn {
  min-height: 44px;
  margin: 0;
  padding: 9px 17px;
  font-size: 15px;
  line-height: 1.45;
}
#main > .wrap > .hero .hero-entrances .hero-hours { background: #fffdf8; }
#main > .wrap > .reasons .reason-donguri .reason-icon {
  color: #3d7558;
  background: #edf5e9;
}
#main > .wrap > .reasons .reason-donguri .reason-icon svg { stroke-linecap: round; stroke-linejoin: round; }
#main > .wrap > .hero .hero-slider-toggle {
  min-width: 44px;
  min-height: 44px;
  padding: 0 5px;
  opacity: .82;
}
#main > .wrap > .hero .hero-slider-toggle:hover,
#main > .wrap > .hero .hero-slider-toggle:focus-visible { opacity: 1; }
#main .sns-banners .sns-banner > img {
  width: 64px !important;
  height: 64px !important;
  max-width: 64px !important;
  flex: 0 0 64px;
  object-fit: contain;
  object-position: center;
}
#main .sns-banners .sns-banner--instagram > img { padding: 2px; }
@media (max-width: 767px) {
  main :is(h1, h2, h3, h4) { text-wrap: balance; }
  #main > .wrap > .hero .hero-title {
    margin-bottom: 10px;
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: .04em;
  }
  #main > .wrap > .hero .hero-title > span { display: block; }
  #main > .wrap > .hero .hero-title > span + span { margin-left: 0; }
  #main > .wrap > .hero .hero-catchcopy {
    margin-bottom: 14px;
    font-size: clamp(34px, 10.15vw, 40px);
    line-height: 1.55;
    letter-spacing: .045em;
  }
  #main > .wrap > .hero .hero-services {
    gap: 6px;
    margin-bottom: 13px;
    font-size: 15px;
  }
  #main > .wrap > .hero .hero-services span { padding: 3px 8px; }
  #main > .wrap > .hero .hero-entrances {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 15px;
  }
  #main > .wrap > .hero .hero-entrances .btn {
    justify-content: center;
    min-width: 0;
    padding: 9px 8px;
    font-size: 14px;
    text-align: center;
  }
  #main .sns-banners .sns-banner > img {
    width: 58px !important;
    height: 58px !important;
    max-width: 58px !important;
    flex-basis: 58px;
  }
}

#main > .wrap > .hero .hero-catch-unit { white-space: nowrap; }

/* Individual illness pages: source paragraphs and existing shared navigation remain unchanged. */
.illness-page { max-width: 1120px; }
.illness-page-intro { max-width: 850px; margin: 26px auto 12px; }
.illness-page .illness-detail { max-width: 850px; margin: 0 auto; padding: 28px; }
.illness-page .illness-detail > h1 { margin: 0 0 24px; color: #245c4b; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.5; text-wrap: balance; }
.illness-page .illness-detail h2 { margin: 30px 0 12px; color: #245c4b; font-size: 23px; line-height: 1.5; }
.illness-page .illness-detail h3 { margin: 18px 0 10px; font-size: 19px; line-height: 1.6; }
.illness-page .illness-detail p, .illness-page .illness-detail li { font-size: 16px; line-height: 1.9; }
.illness-page-actions { max-width: 850px; margin: 24px auto; padding: 24px; background: #f5f8ee; border: 1px solid #d6e5d3; border-radius: 20px; }
.illness-page-action-links { display: flex; flex-wrap: wrap; gap: 10px; }
.illness-page-action-links .btn { min-height: 44px; margin: 0; }
.illness-legacy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.illness-legacy-grid a { display: flex; align-items: center; min-height: 44px; padding: 10px; }
.illness-ui-ready .illness-legacy-targets { display: none; }
.illness-sitemap { max-width: 1120px; margin: 24px auto; padding: 24px; }
@media (max-width: 767px) {
 .illness-page .illness-detail { padding: 20px; }
 .illness-page .illness-detail > h1 { font-size: 28px; }
 .illness-page .illness-detail h2 { font-size: 21px; }
 .illness-page-actions { padding: 20px; }
 .illness-page-action-links { display: grid; grid-template-columns: 1fr; }
 .illness-legacy-grid { grid-template-columns: 1fr; }
}

.known-info-faq { max-width: 1120px; margin: 28px auto 40px; }
.known-info-faq details { margin: 12px 0; border: 1px solid #d6e5d3; border-radius: 16px; background: #fffdf8; }
.known-info-faq summary { min-height: 44px; padding: 14px 18px; font-size: 16px; font-weight: 700; line-height: 1.6; text-wrap: balance; cursor: pointer; }
.known-info-faq details > div { padding: 0 18px 16px; }
.known-info-faq p { font-size: 16px; line-height: 1.9; }

.illness-common-notes { max-width: 850px; margin: 22px auto; padding: 20px 24px; border: 1px solid #d6e5d3; border-radius: 18px; background: #fffdf8; }
.illness-common-notes h2 { font-size: 21px; line-height: 1.6; }
.illness-common-notes p { font-size: 16px; line-height: 1.9; }

.illness-page .illness-detail > h1 .illness-title-group { display: inline-block; max-width: 100%; vertical-align: top; }
.illness-page .illness-detail > h1 .illness-title-unit { display: inline-block; white-space: nowrap; }
