/* ─── Site header ─── */
/* 2モード: --floating (home/about のヒーローページ) / --solid (一覧・個別) */
.site-header {
  left: 0;
  right: 0;
  z-index: 100;
}
.site-header--floating {
  position: fixed;
  top: 28px;
  pointer-events: none;
}
.site-header--solid {
  position: sticky;
  top: 0;
  background: rgba(250, 250, 247, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.site-header--floating .site-header__inner {
  max-width: 1480px;
  padding: 0 48px;
  pointer-events: auto;
}
.site-header--solid .site-header__inner {
  max-width: 1280px;
  padding: 22px 40px;
}
.site-header__logo {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  line-height: 1;
  color: var(--ink);
}
.site-header__logo__main {
  font-family: var(--serif-en);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink);
}
.site-header__logo__sub {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}
.site-header__logo__sub__jp {
  font-family: var(--serif-jp);
  font-size: 10px;
  letter-spacing: .25em;
  color: var(--sub);
}
.site-header__logo__sub__divider {
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--sub);
}
.site-header__logo__sub__role {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 9px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--sub);
}
.site-header__nav {
  display: flex;
  gap: 40px;
}
.site-header__nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
  line-height: 1;
}
.nav__en {
  font-family: var(--serif-en);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
}
.nav__jp {
  font-family: var(--serif-jp);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .15em;
  color: var(--sub);
}
.nav--current .nav__en { color: var(--sub); }
.nav--current .nav__jp { color: var(--sub); }

/* ─── Section shell (shared layout primitive) ─── */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(72px, 10vh, 120px) 48px;
}
.section--narrow { max-width: 820px; }
.section__label {
  font-family: var(--serif-en);
  font-size: 12px;
  font-style: italic;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--sub);
  margin-bottom: 18px;
  text-align: center;
}
.section__title {
  font-family: var(--serif-en);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-align: center;
  margin-bottom: 80px;
}
.section__title .jp {
  display: block;
  font-family: var(--serif-jp);
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 400;
  color: var(--sub);
  letter-spacing: .2em;
  margin-top: 16px;
}

/* ─── Shared CTA (underline arrow link) ─── */
.cta__en {
  font-family: var(--serif-en);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.cta__en::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -16px;
  right: -30px;
  height: 1px;
  background: var(--sub);
}
.cta__en::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: -30px;
  width: 8px;
  height: 1px;
  background: var(--sub);
  transform-origin: right bottom;
  transform: rotate(45deg);
}
.cta__jp {
  font-family: var(--serif-jp);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .15em;
  color: var(--sub);
}

/* ─── Site footer ─── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 48px 48px;
  text-align: center;
  font-size: 11px;
  color: var(--sub);
  font-family: var(--serif-en);
  letter-spacing: .15em;
}
.site-footer .links {
  margin-bottom: 18px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}
.site-footer .links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  line-height: 1;
  text-decoration: none;
}
.site-footer__nav__en {
  font-family: var(--serif-en);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
}
.site-footer__nav__jp {
  font-family: var(--serif-jp);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .15em;
  color: var(--sub);
}
.site-footer__sns-row {
  display: flex;
  justify-content: center;
  margin: 4px 0 22px;
}
.site-footer__sns {
  display: inline-flex;
  align-items: center;
  color: var(--sub);
  transition: color .25s;
}
.site-footer__sns:hover { color: var(--ink); opacity: 1; }

/* ─── Hamburger button (mobile only) ─── */
.hamburger {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  pointer-events: auto;
  align-self: center;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ink);
  margin: 6px 0;
  transition: transform .3s, opacity .3s;
}

/* ─── Mobile menu overlay ─── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
  z-index: 1;
}
.mobile-menu__close::before, .mobile-menu__close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 1px;
  background: var(--ink);
}
.mobile-menu__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.mobile-menu__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 36px;
  text-align: center;
}
.mobile-menu__nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.mobile-menu__nav .nav__en {
  font-family: var(--serif-en);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink);
}
.mobile-menu__nav .nav__jp {
  font-family: var(--serif-jp);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--sub);
}

/* Show hamburger / hide nav on tablet & mobile */
@media (max-width: 880px) {
  .site-header__nav { display: none; }
  .hamburger { display: block; }
}

/* ─── Mobile (header & footer) ─── */
@media (max-width: 640px) {
  .site-header--floating { top: 16px; }
  .site-header--floating .site-header__inner { padding: 0 24px; }
  .site-header--solid .site-header__inner { padding: 14px 24px; }
  .site-header__logo { gap: 4px; }
  .site-header__logo__main { font-size: 13px; letter-spacing: .2em; }
  .site-header__logo__sub__jp { font-size: 8px; letter-spacing: .2em; }
  .site-header__logo__sub__divider { width: 10px; }
  .site-header__logo__sub__role { font-size: 7px; letter-spacing: .25em; }
  .site-header__logo__sub { gap: 7px; }
  .site-header__nav { gap: 14px; }
  .nav__en { font-size: 11px; letter-spacing: .15em; }
  .nav__jp { font-size: 8px; }
  .section { padding: 64px 24px; }
  .section__title { margin-bottom: 48px; }
  .site-footer { padding: 40px 24px; }
  .site-footer .links { flex-wrap: wrap; gap: 18px; }
}

/* ─── BA医療広告記載アコーディオン（トップ/症例集/About のBAサムネ共通） ───
   治療内容・費用・主なリスクを初期折りたたみで格納。個別ページ .disclosure と同方式。 */
.ba-disc {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  text-align: left;
  min-width: 0; /* 開いた瞬間に中身の min-content（URL）で親の幅を押し広げない */
}
.ba-disc__summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 8px;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--sub);
}
.ba-disc__summary::-webkit-details-marker { display: none; }
/* 開閉インジケーター: ＋ / −（開）。色はラベルと同じ currentColor。全ページ共通。 */
.ba-disc__summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1;
  color: currentColor;
  transform: translateY(-1px); /* ＋字形がベースライン寄りな分を上げて光学的中央に */
}
.ba-disc[open] .ba-disc__summary::after { content: '\2212'; }
.ba-disc__body { padding: 2px 8px 14px; }
.ba-disc__row {
  display: flex;
  gap: 20px;
  font-size: 11px;
  line-height: 1.75;
  letter-spacing: .02em;
  color: var(--sub);
}
.ba-disc__row + .ba-disc__row { margin-top: 4px; }
.ba-disc__row dt { flex-shrink: 0; width: 56px; font-weight: 500; }
.ba-disc__row dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere; /* 費用欄の URL など、空白の無い長い文字列を折り返す */
}
/* 狭い画面（症例集の2列など）: ラベルを1行に収め、＋ は右端（サイズと余白のみ調整）。 */
@media (max-width: 640px) {
  .ba-disc__summary {
    gap: 6px;
    padding: 12px 6px;
    font-size: 10px;
    letter-spacing: .02em;
  }
  .ba-disc__summary::after { font-size: 13px; }
  .ba-disc__label { white-space: nowrap; }
  .ba-disc__body { padding: 2px 6px 14px; }
}
