/* ==========================================================================
   exosome-style.css
   エクソソーム治療ページ（page-exosome.php、2026-10-15新規）専用スタイル
   デザイントークン：ネイビー #004183／コーラル #C63031
   フォント：Zen Old Mincho（見出し）／Zen Kaku Gothic New（本文）
   privacy-style.css の構成に準拠（本文幅780px・見出し左コーラル線）
   ========================================================================== */

.exo-page {
  --exo-navy: #004183;
  --exo-coral: #C63031;
  --exo-bg-soft: #F7F9FB;
  --exo-text: #262626;
  --exo-border: #E5E9ED;
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: var(--exo-text);
  line-height: 1.9;
}
/* このテンプレートはSWELL本体CSSを外すため、box-sizing を自前で指定（医院カードのはみ出し防止） */
.exo-page *,
.exo-page *::before,
.exo-page *::after {
  box-sizing: border-box;
}
.exo-page h1,
.exo-page h2 {
  font-family: "Zen Old Mincho", serif;
  color: var(--exo-navy);
}

/* ---------- ヒーロー（他ページと高さ統一：min-height 300px） ---------- */
.exo-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 300px;
  background: linear-gradient(180deg, #EAF4FF 0%, #fff 100%);
}
.exo-hero__text {
  align-self: center;
  justify-self: end;
  max-width: 520px;
  padding: 56px 48px 56px 24px;
}
.exo-hero__eyebrow {
  color: var(--exo-navy);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
}
.exo-hero__title {
  font-size: 1.9rem;
  line-height: 1.5;
  margin: 0 0 14px;
}
.exo-hero__sub {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
}
.exo-hero__photo {
  position: relative;
  min-height: 300px;
}
.exo-hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 35%;
}

/* ---------- 本文 ---------- */
.exo-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.exo-note {
  background: var(--exo-bg-soft);
  border: 1px solid var(--exo-border);
  border-radius: 6px;
  padding: 16px 20px;
  font-size: 0.9rem;
  color: #4a4a4a;
  margin: 0 0 48px;
}
.exo-block {
  padding-top: 44px;
  margin-top: 44px;
  border-top: 1px solid var(--exo-border);
}
.exo-note + .exo-block {
  padding-top: 0;
  margin-top: 0;
  border-top: none;
}
.exo-block__title {
  font-size: 1.32rem;
  line-height: 1.6;
  margin: 0 0 18px;
  padding-left: 14px;
  border-left: 4px solid var(--exo-coral);
}
.exo-block p {
  font-size: 0.98rem;
  margin: 0 0 16px;
}
.exo-block strong {
  font-weight: 700;
  color: #1a1a1a;
}

/* 図版 */
.exo-figure {
  margin: 24px auto 0;
  max-width: 560px;
}
.exo-figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* 文章＋写真の横並び（SPは縦積み） */
.exo-split {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin: 0 0 16px;
}
.exo-split__text {
  flex: 1 1 auto;
}
.exo-split__text p:last-child {
  margin-bottom: 0;
}
.exo-split__photo {
  flex: 0 0 280px;
  width: 280px;
  height: auto;
  border-radius: 6px;
  display: block;
}

/* 箇条書き（$exo_show_original = true のときのみ使用） */
.exo-list {
  margin: 0 0 16px;
  padding: 0 0 0 1.4em;
  font-size: 0.98rem;
}
.exo-list li {
  margin-bottom: 6px;
}

/* ---------- 実施医院 ---------- */
.exo-clinics {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.exo-clinic a {
  display: block;
  height: 100%;
  padding: 14px 16px;
  border: 1px solid var(--exo-border);
  border-radius: 6px;
  background: #fff;
  color: var(--exo-text);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.exo-clinic a:hover {
  border-color: var(--exo-navy);
  background: var(--exo-bg-soft);
}
.exo-clinic__pref {
  display: block;
  font-size: 0.78rem;
  color: #6b7785;
  letter-spacing: 0.04em;
}
.exo-clinic__name {
  display: block;
  font-weight: 700;
  color: var(--exo-navy);
  font-size: 1rem;
  line-height: 1.6;
}
/* 英語・中国語版：日本語の正式名称の併記 */
.exo-clinic__ja {
  display: block;
  font-size: 0.82rem;
  color: #4a4a4a;
}
.exo-figcaption {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #6b7785;
  text-align: center;
}
.exo-clinic__url {
  display: block;
  font-size: 0.8rem;
  color: #6b7785;
  word-break: break-all;
}
.exo-small {
  font-size: 0.85rem !important;
  color: #666;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 767px) {
  .exo-hero {
    grid-template-columns: 1fr;
  }
  .exo-hero__photo {
    order: -1;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }
  .exo-hero__text {
    justify-self: stretch;
    max-width: none;
    padding: 28px 20px 32px;
  }
  .exo-hero__title {
    font-size: 1.5rem;
  }
  .exo-body {
    padding: 32px 20px 64px;
  }
  .exo-block__title {
    font-size: 1.18rem;
  }
  .exo-split {
    flex-direction: column;
  }
  .exo-split__photo {
    flex: none;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  .exo-clinics {
    grid-template-columns: 1fr;
  }
}
