/* =========================================================
 * 保険診療トップ (/general) — PCデザイン
 * すべて .gen 配下にスコープしてテーマ/プラグインCSSの干渉を避ける
 * ========================================================= */

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

/* 横スクロール禁止（clip は overflow:hidden と違い sticky ヘッダーを壊さない）
   general.css はこのページでしか読み込まれないため素の html/body に指定してよい */
html, body { overflow-x: clip; }

.gen {
  --serif: "Yu Mincho Medium", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --ink: #2b2b2b;
  --ink-soft: #444;
  --line: #e2e2e2;
  --green: #86a95f;      /* 日付・見出しアクセント */
  --green-link: #7ba05a; /* 英語サブ・リンク */
  --wrap: 1180px; /* 美容トップ .bt-container と同基準 */
  --gen-h-sp: 62px; /* SPヘッダー高（美容 --bth-h-sp と同値） */

  margin: 0;
  color: var(--ink);
  font-family: "Noto Serif JP", serif; /* 本文は明朝体で統一（ナビ・ボタン等は個別にゴシック指定あり） */
  font-weight: 500; /* 理事長挨拶文と同じミディアム。400だと明朝が細く視認性が落ちる */
  letter-spacing: .02em;
  font-size: 16px;
  line-height: 1.9;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.gen img { max-width: 100%; height: auto; display: block; }
.gen a { color: inherit; text-decoration: none; }

/* 美容トップ .bt-container と同じ基準（width:90% / max-width:1180px） */
.gen__wrap {
  width: 90%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0;
}

/* セクション見出し（明朝・左寄せ） */
.gen-h2 {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 48px; /* 美容トップ .bt-sec-title__sub と同サイズ */
  letter-spacing: .04em;
  line-height: 1.3;
  margin: 0 0 48px;
  color: #1f1f1f;
}
.gen-h2--center { text-align: center; }

/* 汎用ピルボタン（白地・黒枠・矢印）：PC/SP共通でSPカンプの意匠 */
.gen-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 264px;
  padding: 17px 44px;
  border: 1.5px solid #1f1f1f;
  border-radius: 999px;
  background: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #1f1f1f;
  transition: background .2s, color .2s;
}
.gen-pill:hover { background: #1f1f1f; color: #fff; }
/* 矢印はグリフ（›）だと先端が欠けるため、線で描いた山括弧 */
.gen-pill__arrow { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 0; width: 12px; height: 12px; }
.gen-pill__arrow::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.gen-pill--sm { min-width: 0; padding: 11px 40px; font-size: 13px; }
.gen-pill--sm .gen-pill__arrow { position: static; transform: none; margin-left: 12px; }
.gen-center { text-align: center; }

.gen-section { padding: 96px 0; }

/* =========================================================
 * ヘッダー
 * ========================================================= */
/* 美容ヘッダー（.uklp-header-static）を踏襲：高さ90px・ロゴ61px・明朝18px */
.gen-header {
  --gen-hover: #b99e74; /* 美容トップのゴールドアクセント */
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 84px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .06); /* ドロップシャドウは使わず極細ボーダーのみ */
  font-family: "Shippori Mincho", "Yu Mincho", "YuMincho", var(--serif);
}
.gen-header__inner {
  width: 100%;
  margin: 0;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 22px;
}
.gen-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: auto;
  text-decoration: none;
}
/* .gen img{height:auto} より詳細度を上げてロゴ高さを確実に効かせる */
.gen-header .gen-brand__logo { display: block; height: 54px; width: auto; max-width: none; object-fit: contain; }

.gen-gnav { margin-left: auto; display: flex; align-items: center; gap: 12px; height: 100%; }
.gen-gnav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; height: 100%; }
.gen-gnav__list > li { position: relative; display: flex; align-items: center; height: 84px; }
.gen-gnav__list a {
  color: #1a1a1a;
  text-decoration: none;
  font-family: "Noto Sans JP", var(--sans);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: .07em;
  white-space: nowrap;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 16px;
  transition: color .3s;
  position: relative;
}
.gen-gnav__list a:hover { color: var(--gen-hover); }
.gen-gnav__list > li > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 2px; background: var(--gen-hover);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}
.gen-gnav__list > li > a:hover::after { transform: scaleX(1); transform-origin: left; }

/* LANGUAGE ボタン（美容トップ header-beauty-top.php の .bth-lang-* を踏襲） */
.gen .bth-lang-wrap { position: relative; height: 100%; display: flex; align-items: center; flex-shrink: 0; }
.gen .bth-lang-btn-pc {
  display: flex; align-items: center; gap: 8px; padding: 10px 18px; height: auto;
  background: #f0eeea; border: none; border-radius: 5px; cursor: pointer;
  font-family: "Noto Sans JP", var(--sans);
  font-size: 15px; font-weight: 500; letter-spacing: .1em; color: #1a1a1a;
  white-space: nowrap; transition: background .25s, color .25s;
}
.gen .bth-lang-btn-pc:hover { background: #e6e0d8; color: var(--gen-hover); }
.gen .bth-lang-wrap.is-open .bth-lang-btn-pc { background: #e6e0d8; color: var(--gen-hover); }
.gen .bth-nav__arrow { font-size: 9px; color: #999; transition: transform .3s; margin-left: 1px; display: inline-block; }
.gen .bth-lang-wrap.is-open .bth-lang-btn-pc .bth-nav__arrow { transform: rotate(180deg); color: var(--gen-hover); }
.gen .bth-lang-menu {
  position: absolute; top: 100%; right: 0; background: #fff; border: 1px solid rgba(0, 0, 0, .12);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, .18); padding: 6px;
  display: grid; grid-template-columns: 1fr; gap: 1px; width: 220px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, visibility 0s linear .22s; z-index: 100;
}
.gen .bth-lang-wrap.is-open .bth-lang-menu { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .22s ease; }
.gen .bth-lang-item {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 14px;
  font-family: "Noto Sans JP", var(--sans);
  font-size: 14px; font-weight: 500; letter-spacing: .04em; color: #1a1a1a;
  text-align: left; background: none; border: none; border-radius: 3px; cursor: pointer;
  transition: background .2s, color .2s; white-space: nowrap;
}
.gen .bth-lang-item:hover { background: #faf7f2; color: var(--gen-hover); }
.gen .bth-lang-item .fi { width: 24px; height: 18px; flex-shrink: 0; border-radius: 2px; background-size: cover; font-size: 18px; }
.gen .bth-lang-label { flex: 1; }
/* GLTプラグインの隠し要素 */
#google_translate_element { position: absolute !important; left: -9999px !important; top: 0 !important; height: 0 !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }

/* =========================================================
 * ヒーロー
 * ========================================================= */
.gen-hero { position: relative; width: 100%; overflow: hidden; }
/* 美容ヒーロー（#bt-root .bt-hero）と同じPCアスペクト比 */
.gen-hero__slides { position: relative; width: 100%; aspect-ratio: 1678 / 769; }
.gen-hero__slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1s ease;
}
.gen-hero__slide.is-active { opacity: 1; }
.gen-hero__slide picture { display: block; width: 100%; height: 100%; }
.gen-hero__slide img { width: 100%; height: 100%; object-fit: cover; }

.gen-hero__panel {
  position: absolute;
  bottom: 8%;
  width: 700px;
  max-width: 55%;
  background: rgba(255,255,255,.82);
  padding: 44px 46px 40px;
  z-index: 5;
}
.gen-hero__panel--right { right: 6.5%; }
.gen-hero__panel--left  { left: 6%; }
.gen-hero__open { font-family: "Noto Serif JP", serif; font-size: 36px; font-weight: 600; letter-spacing: .04em; margin: 0 0 18px; color: #1f1f1f; }
.gen-hero__catch {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.42;
  letter-spacing: .04em;
  margin: 0 0 24px;
  color: #1f1f1f;
}
.gen-hero__desc { font-family: "Noto Serif JP", serif; font-weight: 400; font-size: 17px; line-height: 1.85; color: #222; margin: 0; }
.gen-hero__dots {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 6;
}
.gen-hero__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #c9c9c9; border: 0; padding: 0; cursor: pointer;
}
.gen-hero__dot.is-active { background: #6f6f6f; }

/* 右端フローティング予約ボタン（美容トップ bt-sidecta を踏襲） */
.gen .bt-sidecta {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.gen .bt-sidecta__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 13px;
  width: 100px;
  height: 100px;
  color: #fff !important;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: .08em;
  cursor: pointer;
  transition: filter .3s ease;
  text-decoration: none;
  border: none;
  text-align: center;
}
.gen .bt-sidecta__btn svg { width: 33px; height: 33px; flex-shrink: 0; overflow: visible; }
.gen .bt-sidecta__btn:hover { filter: brightness(.9); }
.gen .bt-sidecta__btn--tel  { background: #A87762; border-radius: 8px 0 0 0; }
.gen .bt-sidecta__btn--line { background: #62A87C; }
.gen .bt-sidecta__btn--web  { background: #6276A8; }
.gen .bt-sidecta__btn--fore { background: #A762A8; border-radius: 0 0 0 8px; padding-top: 18px; padding-bottom: 11px; font-size: 12px; letter-spacing: 0; line-height: 1.3; }
.gen .bt-sidecta__btn--fore span { display: block; }
@media (max-width: 980px) { .gen .bt-sidecta { display: none; } }

/* SP下部固定CTAバー（美容 #bt-root .bt-bottombar と同一の意匠・SPのみ表示）
   ※ footer-beauty.php がこの .bt-bottombar の高さを計測してフッター余白を自動確保する */
.gen .bt-bottombar { display: none; }
@media (max-width: 980px) {
  .gen .bt-bottombar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    box-shadow: 0 -6px 18px -8px rgba(0, 0, 0, .3);
    padding-bottom: env(safe-area-inset-bottom);
  }
  /* ボタン・テキストの意匠は美容CTAの実測値と同値
     （.gen の継承値 16px/400/両端揃え が span に及ばないよう btn 側で明示する） */
  .gen .bt-bottombar__btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(3px, 1vw, 6px);
    min-width: 0;
    min-height: clamp(54px, 14vw, 62px);
    padding: 6px clamp(2px, 1.2vw, 6px);
    color: #fff;
    font-family: var(--sans);
    font-size: clamp(10.5px, 2.85vw, 13px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: normal;
    font-feature-settings: "palt"; /* 美容と同じプロポーショナル字詰め */
    white-space: nowrap;
    border: 0;
    cursor: pointer;
    border-right: 1px solid rgba(255, 255, 255, .18);
    text-decoration: none;
    text-align: center;
    overflow: hidden;
  }
  .gen .bt-bottombar__btn:last-child { border-right: 0; }
  .gen .bt-bottombar__btn svg { width: clamp(17px, 4.5vw, 22px); height: clamp(17px, 4.5vw, 22px); flex-shrink: 0; }
  .gen .bt-bottombar__btn span {
    display: block;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
    overflow: hidden;
    line-height: 1.15;
    font-weight: 700;
    font-size: clamp(10px, 3vw, 14px);
  }
  .gen .bt-bottombar__btn--tel  { background: #A87762; }
  .gen .bt-bottombar__btn--line { background: #62A87C; }
  .gen .bt-bottombar__btn--web  { background: #6276A8; }
  .gen .bt-bottombar__btn--fore { background: #A762A8; gap: 2px; padding-left: 1px; padding-right: 1px; }
  .gen .bt-bottombar__btn--fore span { white-space: normal; font-size: clamp(9px, 2.7vw, 15px); }
}
@media (max-width: 390px) {
  .gen .bt-bottombar__btn span { font-size: clamp(9px, 2.9vw, 12px); }
  .gen .bt-bottombar__btn--fore span { font-size: clamp(8px, 2.6vw, 12px); }
}

/* =========================================================
 * お知らせ
 * ========================================================= */
.gen-news { padding: 90px 0 70px; }
.gen-news__list { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line); }
.gen-news__item {
  display: flex;
  align-items: baseline;
  gap: 40px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line);
}
.gen-news__date { color: var(--green); font-weight: 600; letter-spacing: .08em; font-size: 15px; flex: 0 0 auto; }
.gen-news__title { font-size: 16px; color: #333; }
.gen-news__more { margin-top: 46px; }

/* =========================================================
 * 診療案内（カードグリッド）
 * ========================================================= */
.gen-services { padding: 60px 0 96px; }
.gen-cardgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.gen-card {
  border: 1px solid var(--line);
  padding: 44px 44px 48px;
  display: flex;
  flex-direction: column;
}
.gen-card__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 34px; }
.gen-card__title {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 27px;
  letter-spacing: .03em;
  margin: 0 0 20px;
  color: #1f1f1f;
}
.gen-card__text { font-family: "Noto Serif JP", serif; font-weight: 400; font-size: 15px; line-height: 1.95; color: #444; margin: 0 0 32px; }
.gen-card__btn { margin-top: auto; }

/* 温泉コラボ（横長カード） */
.gen-onsen {
  border: 1px solid var(--line);
  margin-top: 40px;
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: stretch; /* 画像を本文ブロックの高さいっぱいに伸ばす */
}
.gen-onsen__col { display: flex; flex-direction: column; }
.gen-onsen__lockup {
  display: flex; align-items: center; gap: 26px; margin-bottom: 28px;
}
/* .gen img{height:auto} に勝たせてサイズを固定 */
.gen-onsen .gen-onsen__logo { height: 52px; width: auto; max-width: none; object-fit: contain; }
.gen-onsen__x { color: #92AFB8; font-size: 30px; font-weight: 400; flex: 0 0 auto; }
.gen-onsen__title {
  font-family: "Noto Serif JP", serif;
  font-weight: 500; font-size: 24px; letter-spacing: .03em; margin: 0 0 22px; color: #1f1f1f;
}
/* 段落間の余白をなくしオリジナルと同じ6行連続の流れにする */
.gen-onsen__text { font-family: "Noto Serif JP", serif; font-weight: 500; font-size: 15px; line-height: 1.95; color: #3a3a3a; margin: 0; }
.gen-onsen__media { display: flex; flex-direction: column; }
.gen-onsen__media img { width: 100%; flex: 1 1 auto; min-height: 280px; object-fit: cover; }
.gen-onsen__btn { margin-top: 22px; }

/* =========================================================
 * 保険診療について
 * ========================================================= */
.gen-about { padding: 96px 0; }
.gen-about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr; /* リード文1文目を1行に保ちつつ右画像を拡大 */
  gap: 60px;
  align-items: start;
}
.gen-about__lead {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 28px; /* 1文目「急な不調から〜まで。」を1行に収めて全体2行にする */
  line-height: 1.6;
  letter-spacing: .03em;
  margin: 0 0 34px;
  color: #1f1f1f;
}
.gen-about__text { font-size: 15px; line-height: 2.1; color: #444; margin: 0; } /* 段落間は詰めて連続表示 */
.gen-about__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gen-about__btn { margin-top: 20px; }

/* =========================================================
 * POINT 01/02/03
 * ========================================================= */
.gen-points { padding-bottom: 96px; }
.gen-points__wrap { padding: 74px 0 0; }
/* 画像は余白なしで密着・ウィンドウ幅いっぱい */
.gen-points__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.gen-point { position: relative; }
/* バッジは美容 .bt-point__num と完全同一（top:-70px / left:7% / 112px 円） */
.gen-point__badge {
  position: absolute;
  top: -70px;
  left: 7%;
  z-index: 3;
  width: 112px; height: 112px;
  border-radius: 50%;
  border: 1px dashed rgba(17, 17, 17, .88);
  background: rgba(255, 255, 255, .55); /* 半透明の白（保険の意匠） */
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1.1;
  letter-spacing: .1em;
}
.gen-point__badge-label { font-family: var(--serif); font-size: 13px; letter-spacing: .14em; line-height: 1.1; color: #333; }
.gen-point__badge-num { font-family: "Noto Serif JP", serif; font-size: 32px; font-weight: 500; letter-spacing: .03em; line-height: 1; color: #1f1f1f; margin-top: 6px; }
/* 画像は3枚とも完全不透明域で統一した 560/422 比率（高さ揃え） */
.gen-point__img { width: 100%; aspect-ratio: 560 / 422; object-fit: cover; object-position: top; border-radius: 0; display: block; }
.gen-point__body { padding: 30px 24px 0; text-align: center; }
.gen-point__title {
  font-family: "Noto Serif JP", serif;
  font-weight: 600; font-size: 23px; letter-spacing: .04em; margin: 0 0 18px; color: #1f1f1f;
  text-align: center;
}
/* 本文は左揃えのまま、幅を狭めて行数を増やし、ブロックを画像中央に配置 */
.gen-point__text { font-family: "Noto Serif JP", serif; font-weight: 400; font-size: 16px; line-height: 2; color: #444; margin: 0 auto; max-width: 340px; text-align: left; }

/* =========================================================
 * 動画
 * ========================================================= */
.gen-videos { padding: 40px 0 96px; }
/* 動画カルーセル（美容トップ .bt-videos を踏襲・PCで左右送り）
   コンテナ幅も美容と同じ 1360px に広げる */
.gen-videos .gen__wrap { max-width: 1360px; }
.gen-videos__stage { position: relative; }
.gen-videos__viewport { overflow: hidden; }
.gen-videos__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
.gen-video { display: block; text-decoration: none; color: inherit; cursor: pointer; }
.gen-video__thumb {
  display: block; position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: #d8cdb8;
}
/* YouTubeサムネイル（中央にズームしてレターボックスを切り抜く／美容と同じ）
   .gen img{height:auto} に負けないよう詳細度を上げて height:100% を確実に効かせる */
.gen-video__thumb .gen-video__thumb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.78); transition: transform 1s ease; }
.gen-video:hover .gen-video__thumb-img { transform: scale(1.84); }
.gen-video__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 60px; height: 60px; border-radius: 50%; background: rgba(0,0,0,.6);
  display: flex; align-items: center; justify-content: center; transition: background .3s ease;
}
.gen-video:hover .gen-video__play { background: #000; }
.gen-video__play::before {
  content: ""; width: 0; height: 0;
  border-top: 11px solid transparent; border-bottom: 11px solid transparent; border-left: 18px solid #fff;
  margin-left: 4px;
}
.gen-video__body { display: block; margin-top: 18px; }
.gen-video__title { display: block; font-family: "Noto Sans JP", var(--sans); font-size: 15px; font-weight: 700; line-height: 1.6; color: #1f1f1f; letter-spacing: .04em; }
.gen-video__en { display: block; font-size: 13px; color: var(--green-link); margin-top: 4px; }

/* 矢印ナビ（PCのみ・色は保険ページのグリーン） */
.gen-videos__nav { display: none; }
@media (min-width: 981px) {
  .gen-videos__stage { display: flex; align-items: flex-start; gap: 14px; }
  .gen-videos__viewport { flex: 1 1 auto; min-width: 0; }
  .gen-videos__grid { display: flex; flex-wrap: nowrap; gap: 28px; transform: translateX(0); will-change: transform; }
  .gen-videos__grid .gen-video { flex: 0 0 calc((100% - 84px) / 4); max-width: calc((100% - 84px) / 4); }
  .gen-videos__nav {
    flex: 0 0 auto; z-index: 6; display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; padding: 0; margin: 0; border: 0; border-radius: 50%;
    background: #fff; color: #2b2b2b; box-shadow: 0 2px 10px rgba(0,0,0,.15); cursor: pointer; transition: background .25s ease, color .25s ease, opacity .25s ease;
  }
  .gen-videos__nav:hover { background: #000; color: #fff; }
  .gen-videos__nav span { display: block; width: 12px; height: 12px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; box-sizing: border-box; }
  .gen-videos__nav--prev span { transform: translateX(2px) rotate(-135deg); }
  .gen-videos__nav--next span { transform: translateX(-2px) rotate(45deg); }
  .gen-videos__nav.is-disabled { opacity: .3; pointer-events: none; }
  .gen-videos__nav.is-hidden { display: none; }
}
/* サイドCTA（固定・約100px幅）と右矢印が重ならないよう、CTAが出る幅だけ右に余白（美容と同じ） */
@media (min-width: 981px) and (max-width: 1560px) {
  .gen-videos__stage { padding-right: 96px; }
}

/* =========================================================
 * 院長紹介
 * ========================================================= */
.gen-director { padding: 96px 0; }
.gen-director__top {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 30px;
}
.gen-director__photo img { width: 100%; object-fit: cover; }
/* 挨拶文：Noto Serif JP Medium・原本と同じ約31字で折り返す */
/* 挨拶文：右カラム幅いっぱいに広げ左右余白を均等に。写真の縦幅内に収まるサイズ・行間 */
.gen-director__msg p {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.82;
  letter-spacing: .02em;
  color: #222;
  margin: 0 0 1em;
}
.gen-director__msg p:last-child { margin-bottom: 0; }
/* 氏名ブロック（写真の直下）：肩書き → 縦線 → 英字＋和名（原本レイアウト） */
.gen-director__name {
  display: flex; align-items: center; justify-content: center; /* 写真の中心に揃える */
  margin: 34px 0 0;
}
.gen-director__role { font-family: "Noto Serif JP", serif; font-weight: 400; font-size: 15px; letter-spacing: .08em; color: #333; flex: 0 0 auto; }
.gen-director__namebox {
  display: flex; flex-direction: column; gap: 6px;
  border-left: 1px solid #c9c9c9;
  margin-left: 30px; padding-left: 30px;
}
.gen-director__en { font-family: "Noto Serif JP", serif; font-weight: 600; font-size: 16px; letter-spacing: .18em; color: #1f1f1f; line-height: 1.2; }
.gen-director__jp { font-family: "Noto Serif JP", serif; font-weight: 600; font-size: 29px; letter-spacing: .2em; color: #1f1f1f; line-height: 1.25; }
/* 経歴/資格の2列は上段（写真/挨拶文）と同じ列割りで揃える */
.gen-director__cols {
  display: grid; grid-template-columns: 0.85fr 1fr; gap: 60px; margin-top: 80px;
}
.gen-director__subhead {
  font-family: "Noto Serif JP", serif; font-weight: 600; font-size: 22px; margin: 0 0 26px; color: #1f1f1f;
}
.gen-career { list-style: none; margin: 0; padding: 0; }
.gen-career li {
  display: flex; gap: 34px; padding: 14px 4px; border-bottom: 1px solid #cddcb5;
  font-family: "Noto Sans JP", var(--sans); font-weight: 500; font-size: 15px;
}
.gen-career__year { color: var(--green); font-weight: 500; flex: 0 0 62px; }
/* 資格・所属学会: 左列=資格、右列=学会の2カラム（各ULは縦1列） */
.gen-quals-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; align-items: start; }
.gen-quals { display: grid; grid-template-columns: 1fr; gap: 8px 28px; list-style: none; margin: 0; padding: 0; }
.gen-quals li { position: relative; padding-left: 20px; font-family: "Noto Sans JP", var(--sans); font-weight: 500; font-size: 15px; color: #333; line-height: 2; }
.gen-quals li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 9px; height: 9px; border-radius: 50%; background: #9cbf6f;
}

/* =========================================================
 * インスタグラム
 * ========================================================= */
.gen-insta { padding: 40px 0 90px; }
.gen-insta__grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 56px;
}
.gen-insta__grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gen-insta__more { margin-bottom: 56px; }
.gen-social { display: flex; justify-content: center; gap: 34px; }
.gen-social a { width: 56px; height: 56px; display: inline-block; }
.gen-social svg { width: 100%; height: 100%; }

/* =========================================================
 * コラム公開のお知らせ
 * ========================================================= */
.gen-column { background: #fff; padding: 80px 0 90px; }
.gen-column__head { margin-bottom: 36px; }
.gen-column__title { font-family: "Noto Serif JP", serif; font-weight: 500; font-size: 48px; letter-spacing: .03em; margin: 0 0 12px; color: #1f1f1f; }
/* リード文（左・可変幅）と「保険コラム一覧へ」ボタン（右）を同じ行に */
.gen-column__meta { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.gen-column__lead { flex: 1; font-size: 14px; line-height: 1.9; color: #555; margin: 0; }
.gen-column__allbtn { flex: 0 0 auto; }
.gen-column__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
/* カードは内側の間隔を詰め、原本と同じ横長のプロポーションに */
.gen-colcard { display: block; background: #fff; border: 1px solid #e6e6e6; border-radius: 14px; padding: 24px 28px 24px; transition: border-color .25s ease, box-shadow .25s ease; }
.gen-colcard:hover { border-color: var(--green); box-shadow: 0 6px 20px rgba(134, 169, 95, .12); }
.gen-colcard__date { color: var(--green); font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.gen-colcard__title { font-weight: 700; font-size: 18px; line-height: 1.55; margin: 8px 0 10px; color: #222; }
.gen-colcard__text { font-size: 14px; line-height: 1.75; color: #666; margin: 0 0 12px; }
.gen-colcard__link { color: var(--green-link); font-size: 14px; font-weight: 700; }

/* =========================================================
 * ご予約
 * ========================================================= */
.gen-reserve {
  position: relative;
  background: #dfe7ec center 70%/cover no-repeat; /* 写真をやや下の位置で使用 */
  padding: 78px 0 86px;
}
/* 原本と同じ白の半透明の透かし（濃いめ） */
.gen-reserve::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.78); }
/* 見出し・ボタンの塊をまとめて中央寄せ（見出しはボタン左端と左揃え） */
.gen-reserve__inner { position: relative; z-index: 2; max-width: 940px; margin: 0 auto; }
.gen-reserve__title { font-family: "Noto Serif JP", serif; font-weight: 500; font-size: 48px; letter-spacing: .04em; margin: 0 0 38px; color: #2b2b2b; }
.gen-reserve__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
/* .gen a{color:inherit} に負けないよう詳細度を上げて白文字を確実に効かせる */
.gen-reserve__btns .gen-reserve__btn {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 26px; color: #fff; font-size: 20px; font-weight: 700; letter-spacing: .08em;
  border-radius: 8px; text-decoration: none;
}
.gen-reserve__btn svg { width: 30px; height: 30px; flex-shrink: 0; }
.gen-reserve__btn--line { background: #5b9e6c; }
.gen-reserve__btn--web { background: #4a5a9c; }

/* =========================================================
 * 再生・細胞治療 バナー
 * ========================================================= */
.gen-cell { padding: 90px 0; }
/* バナー幅をご予約ボタン群（.gen-reserve__inner）と同じ940pxに揃える */
.gen-cell .gen__wrap { max-width: 940px; }
/* 全幅背景（ラボ写真＋グラデ＋泡）にテキストを重ねるバナー */
.gen-cell__banner {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1032 / 360;
  background: #eef6f1 center center / cover no-repeat;
  border: 1px solid #BED5CC;
  overflow: hidden;
  text-decoration: none;
}
.gen-cell__body {
  position: absolute;
  left: 6%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.gen-cell__title { font-family: "Noto Serif JP", serif; font-weight: 500; font-size: 40px; letter-spacing: .06em; margin: 0 0 26px; color: #1f1f1f; }
.gen-cell__text { font-family: "Noto Serif JP", serif; font-weight: 500; font-size: 24px; line-height: 1.7; color: #333; margin: 0; }
.gen-cell__text em { color: var(--green); font-style: normal; }
.gen-cell__arrow { position: absolute; right: 3.5%; top: 50%; transform: translateY(-50%); z-index: 3; font-size: 30px; font-weight: 300; color: #444; line-height: 1; }
/* 箇条書き（アンチエイジング医学 等）はSP専用。PCは従来バナーのまま */
.gen-cell__list { display: none; }

/* =========================================================
 * クリニック情報
 * ========================================================= */
.gen-clinic { padding: 30px 0 96px; }
.gen-clinic__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.gen-info__block { border-bottom: 1px solid #cddcb5; padding: 6px 0 26px; margin-bottom: 26px; }
.gen-info__label { font-weight: 700; font-size: 17px; margin: 0 0 14px; color: #1f1f1f; }
.gen-info__body { font-size: 15px; line-height: 1.9; color: #333; margin: 0; }
.gen-info__body ul { list-style: none; margin: 0; padding: 0; }
.gen-info__note { color: #666; font-size: 14px; padding-left: 1em; text-indent: -1em; } /* ※の折返しをぶら下げインデント */
.gen-info__btn { margin-top: 10px; }
.gen-info__body a[href^="tel:"] { color: inherit; text-decoration: none; } /* 電話番号リンクは通常テキストと同じ見た目 */
/* 電話番号/FAX番号のラベルを同幅で両端揃えにし「：」の位置を揃える */
.gen-info__num-label { display: inline-block; width: 2.4em; text-align: justify; text-align-last: justify; letter-spacing: normal; white-space: nowrap; } /* TEL/FAXを同幅で両端揃えにし「：」の位置を揃える */
.gen-clinic__aside-img { width: 100%; aspect-ratio: 7 / 6; object-fit: cover; margin-bottom: 40px; }

.gen-hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.gen-hours th, .gen-hours td {
  border: 1px solid #d8d8d8; text-align: center; padding: 12px 6px; font-weight: 700; letter-spacing: .1em;
}
/* 1列目（診療時間・時間帯）を広めに、曜日列は均等に */
.gen-hours th:first-child, .gen-hours td:first-child { width: 128px; }
.gen-hours thead th { background: #fafafa; }
.gen-hours td { color: #333; }
.gen-info__row-inline { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
/* 駐車場・駐輪場ブロックの下の横線は非表示 */
.gen-info__block.gen-info__row-inline { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }

/* =========================================================
 * 地図 + フッター
 * ========================================================= */
.gen-map { width: 100%; }
.gen-map img { width: 100%; height: auto; object-fit: cover; display: block; }
.gen-map iframe { width: 100%; height: 365px; border: 0; display: block; background: #d8d4ce; }

.gen-footer { padding: 70px 0 0; }
.gen-footer__top { position: relative; }
.gen-footer__totop {
  position: absolute; right: 0; top: -30px;
  width: 52px; height: 52px; border-radius: 50%; background: #222; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.gen-footer__grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding: 20px 0 60px;
}
.gen-footer__logo { height: 54px; margin-bottom: 8px; }
.gen-footer__brand-sub { font-size: 12px; color: #555; font-weight: 600; margin-bottom: 22px; }
.gen-footer__addr { font-size: 14px; line-height: 1.9; color: #333; margin: 0 0 20px; }
.gen-footer__contact-btn {
  display: inline-block; border: 1px solid #222; border-radius: 4px; padding: 12px 34px;
  font-weight: 700; font-size: 14px; margin-bottom: 26px;
}
.gen-footer__socials { display: flex; gap: 14px; }
.gen-footer__socials a { width: 40px; height: 40px; display: inline-block; }
.gen-footer__socials svg { width: 100%; height: 100%; }
.gen-fcol__head { font-weight: 700; font-size: 16px; margin: 0 0 22px; color: #1f1f1f; }
.gen-fcol__list { list-style: none; margin: 0; padding: 0; }
.gen-fcol__list li { margin-bottom: 14px; font-size: 14px; color: #444; }
.gen-fcol__list li::before { content: "—　"; color: #999; }
.gen-footer__copy { background: #2b2b2b; color: #fff; text-align: center; padding: 22px; font-size: 13px; letter-spacing: .06em; }

/* =========================================================
 * レスポンシブ（簡易・タブレット以下は縦積み）
 * ========================================================= */
/* PC/SPで別々の改行位置を制御する汎用クラス（ヒーロー・クリニック情報などで使用） */
.gen .sp-only { display: none; }

/* =========================================================
 * SPヘッダー（美容 bth-sp-controls / bth-burger / bth-drawer と同構造）
 * 色はハンバーガー＝保険グリーン、言語＝ライトグレー
 * ========================================================= */
.gen-sp-controls {
  display: none;
  align-items: stretch;
  align-self: stretch;
  gap: 0;
  margin-left: auto;
  flex-shrink: 0;
}
.gen-sp-lang-wrap { position: relative; display: flex; align-items: stretch; align-self: stretch; }
.gen-sp-lang-btn {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  width: 64px; height: var(--gen-h-sp, 62px); padding: 0; /* ヘッダー高と完全一致（隙間防止） */
  background: #f0f0f0; border: none; border-radius: 0; cursor: pointer;
  font-family: var(--sans); font-size: 12px; letter-spacing: .1em; font-weight: 500; color: #1a1a1a;
}
.gen-sp-lang-wrap.is-open .gen-sp-lang-btn { background: #e2e2e2; }
.gen-sp-lang-menu {
  position: absolute; top: 100%; right: 0;
  background: #fff; border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 12px 32px -8px rgba(0,0,0,.18);
  padding: 6px; display: none; grid-template-columns: 1fr; gap: 1px;
  width: min(220px, calc(100vw - 16px));
  max-height: min(60vh, 360px); overflow-y: auto; overscroll-behavior: contain;
  z-index: 100;
}
.gen-sp-lang-wrap.is-open .gen-sp-lang-menu { display: grid; }
/* 言語メニューのスクロールヒント（美容 bth-sp-lang-wrap.is-scroll-hint と同じ） */
.gen-sp-lang-wrap.is-scroll-hint::after {
  content: '';
  position: absolute; right: 0;
  top: calc(100% + min(60vh, 360px) - 42px);
  width: min(220px, calc(100vw - 16px)); height: 42px;
  z-index: 101; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.96) 72%),
    radial-gradient(circle at 50% 78%, rgba(134,169,95,.22) 0 15px, rgba(134,169,95,0) 16px);
}
.gen-sp-lang-wrap.is-scroll-hint::before {
  content: '';
  position: absolute;
  right: calc((min(220px, calc(100vw - 16px)) - 9px) / 2);
  top: calc(100% + min(60vh, 360px) - 29px);
  width: 9px; height: 9px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(45deg);
  animation: genScrollHint 1.2s ease-in-out infinite;
  z-index: 102; pointer-events: none;
}
@keyframes genScrollHint {
  0%, 100% { transform: translateY(-2px) rotate(45deg); opacity: .35; }
  50% { transform: translateY(3px) rotate(45deg); opacity: .95; }
}
.gen-burger {
  display: flex; width: 64px; height: var(--gen-h-sp, 62px); /* ヘッダー高と完全一致（隙間防止） */
  background: var(--green); /* 保険グリーン */
  border: none; cursor: pointer; flex-shrink: 0;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 0; align-self: stretch;
}
.gen-burger span {
  display: block; width: 22px; height: 2px; background: #fff; border-radius: 999px;
  transform-origin: 50% 50%; transition: transform .24s ease, opacity .2s ease;
}
.gen-burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.gen-burger.is-open span:nth-child(2) { opacity: 0; }
.gen-burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.gen-drawer {
  position: fixed; inset: 0 0 0 auto;
  width: min(85vw, 340px);
  background: #fff; z-index: 9998;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
  touch-action: pan-y; will-change: transform;
  overflow-y: auto; padding: var(--gen-h-sp, 62px) 0 80px;
}
.gen-drawer.is-open { transform: translateX(0); }
.gen-drawer.is-dragging { transition: none; }
.gen-drawer-list { list-style: none; margin: 0; padding: 16px 0; }
.gen-drawer-item { border-bottom: 1px solid #efefef; }
.gen-drawer-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .08em;
  color: #1a1a1a; text-decoration: none;
}
.gen-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.35);
  opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 9997;
}
.gen-overlay.is-open { opacity: 1; pointer-events: auto; }

@media (max-width: 980px) {
  .gen-gnav { display: none; }
  .gen-sp-controls { display: flex; }
  /* 美容SPヘッダーと同基準（高さ62px・左のみ16px・ロゴ40px・右端フラッシュ）
     z-index はドロワー(9998)/オーバーレイ(9997)より上（美容と同じ 9999）。
     美容 .bth-header と同じく position:fixed にする——sticky だとドロワー開時の
     body スクロールロックで粘着が外れヘッダーが画面外に消えてしまうため */
  .gen-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--gen-h-sp, 62px);
    z-index: 9999;
  }
  /* fixed 化で失われるヘッダー分の高さを確保（美容 .bth-spacer 相当） */
  .gen { padding-top: var(--gen-h-sp, 62px); }
  .gen-header__inner { padding: 0 0 0 16px; gap: 0; }
  .gen-header .gen-brand__logo { height: 40px; }
  .gen-cardgrid,
  .gen-onsen,
  .gen-about__grid,
  .gen-points__grid,
  .gen-director__top,
  .gen-director__cols,
  .gen-column__grid,
  .gen-reserve__btns,
  .gen-clinic__grid,
  .gen-footer__grid { grid-template-columns: 1fr; }
  .gen-videos__grid { grid-template-columns: repeat(2, 1fr); }
  /* SPは美容と同じく先頭4件のみ表示（PCはカルーセルで最大12件送り） */
  .gen-videos__grid .gen-video:nth-child(n+5) { display: none; }
  .gen-insta__grid { grid-template-columns: repeat(3, 1fr); }
  /* POINT：画像を少しインセットし、バッジを小型化。
     前のPOINT本文にバッジが重ならないよう間隔を確保する */
  .gen-points__grid { width: 90%; margin: 0 auto; }
  .gen-point + .gen-point { margin-top: 76px; }
  .gen-point__badge { top: -50px; left: 16px; width: 82px; height: 82px; }
  .gen-point__badge-label { font-size: 11px; }
  .gen-point__badge-num { font-size: 22px; margin-top: 2px; }
  .gen-point__body { padding: 26px 0 0; }
  /* 最長タイトル16文字が1行に収まるサイズ（上限22px） */
  .gen-point__title { font-size: min(22px, calc(90vw / 17)); }
  .gen-point__text { font-size: 16px; text-wrap: pretty; max-width: none; text-align: justify; } /* PC用の固定幅340pxを解除し両端揃えに（端末幅により右側が空く問題の対策） */
  .gen-h2 { font-size: 32px; }

  /* ---- クリニック情報（SPカンプ準拠：情報 → 診療時間表 → 内観画像 の順） ---- */
  .gen-clinic__grid { gap: 44px; }
  /* aside は img→table の順のマークアップを SP では表→画像に反転 */
  .gen-clinic__aside { display: flex; flex-direction: column-reverse; }
  .gen-clinic__aside-img { margin: 32px 0 0; }
  /* 駐車場・駐輪場：ラベルの下にボタンを縦積み（カンプ準拠） */
  .gen-info__row-inline { flex-direction: column; align-items: flex-start; gap: 18px; }
  /* 詳細はこちらボタンはカンプの比率でやや大きめに */
  .gen-clinic .gen-pill--sm { padding: 13px 46px; font-size: 15px; }
  /* 診療時間表：8列が幅に収まるようセルを詰める */
  .gen-hours { font-size: 13px; }
  .gen-hours th, .gen-hours td { padding: 8px 4px; } /* カレンダーの縦幅を詰める */
  .gen-hours th:first-child, .gen-hours td:first-child { width: 88px; }

  /* ---- 院長紹介：挨拶文を途中で畳んで「詳しく見る」で全表示（美容 bt-doctor__more と同挙動） ---- */
  .gen-director__msg {
    position: relative;
    max-height: 310px;
    overflow: hidden;
    transition: max-height .55s cubic-bezier(.22, .72, .2, 1);
    will-change: max-height;
  }
  .gen-director__msg::after {
    content: "";
    position: absolute;
    right: 0; bottom: 0; left: 0;
    height: 88px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 82%);
  }
  .gen-director.is-expanded .gen-director__msg::after { display: none; }
  /* 折りたたみ中は下の経歴・資格情報も隠し、展開で表示 */
  .gen-director__cols { display: none; }
  .gen-director.is-expanded .gen-director__cols { display: grid; }
  .gen-director__more {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: min(100%, 260px);
    min-height: 48px;
    margin: -20px auto 0; /* フェードに少し重ねる（オリジナルSPカンプ準拠） */
    padding: 12px 22px;
    border: 1.5px solid #1f1f1f;
    border-radius: 999px;
    background: #fff;
    color: #1f1f1f;
    font-family: "Noto Serif JP", serif; /* 本文と同じ明朝に統一 */
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    cursor: pointer;
  }
  .gen-director__more::after {
    content: "";
    width: 8px; height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .25s ease;
  }
  .gen-director__more[aria-expanded="true"]::after {
    transform: rotate(225deg) translate(-2px, -1px);
  }
}

/* 院長「詳しく見る」ボタンはPCでは非表示（PCは常時全文表示） */
@media (min-width: 981px) {
  .gen-director__more { display: none; }
}

/* =========================================================
 * ヒーロー：スマホ（オリジナルSPデザイン再現）
 *  - パネルは各スライドでオーバーレイ位置を変える
 *    slide1=右下 / slide2=右上 / slide3=左下
 * ========================================================= */
@media (max-width: 767px) {
  /* SP専用画像 sp-1〜3.png（750×780）と同じ比率 */
  .gen-hero__slides { aspect-ratio: 750 / 780; }
  .gen-hero__slide img { object-position: center; }

  .gen .pc-only { display: none; }
  .gen .sp-only { display: inline; }

  .gen-hero__panel {
    top: auto; bottom: auto; left: auto; right: auto;
    width: fit-content; max-width: 88%; /* 白背景はテキスト幅ぴったりに（右端の余白カット） */
    padding: 4vw 3vw; /* スライド2・3は左右均等の余白（スライド1は個別指定で右詰め） */
  }
  /* スライド1=右下 / 2=右上 / 3=左下（オリジナルSPカンプ準拠）
     スライド1はお子さまの顔（画像中央やや下まで）と重ならないよう、
     パネルを最下部まで下げ、余白も詰めて高さを抑える */
  .gen-hero__slide:nth-child(1) .gen-hero__panel {
    right: 3%;
    bottom: 7%; /* 下部の切替ドットと重ならない高さ */
    padding: 3.5vw 2vw 3.5vw 3vw;
  }
  .gen-hero__slide:nth-child(1) .gen-hero__open { margin-bottom: 2vw; }
  .gen-hero__slide:nth-child(2) .gen-hero__panel { right: 4%; top: 6%; }
  .gen-hero__slide:nth-child(3) .gen-hero__panel { left: 5%; bottom: 10%; }

  /* 枠内ギリギリまで拡大（改行は sp-only <br> で制御し中途半端な折返しを防ぐ）
     キャッチはスライド1（最長11文字がパネル内幅69vwに収まる 6vw）を基準に
     3スライドとも同サイズ・太字(800)で統一 */
  .gen-hero__open  { font-size: 4.4vw; margin: 0 0 3vw; }
  .gen-hero__catch { font-size: 5.1vw; font-weight: 800; line-height: 1.55; margin: 0 -0.45em 0 0; } /* 右の負マージンで行末「。」の字送り分を吸収し白背景をギリギリまで詰める */
  .gen-hero__desc  { display: none; } /* SPは細字の紹介文を非表示（白パネルはキャッチまでの高さに自動縮小） */
  .gen-hero__dots  { bottom: 3vw; }

  /* 見出しは美容SP（.bt-sec-title__main 30px / margin 40px）と同基準 */
  .gen-h2 { font-size: 30px; margin-bottom: 40px; }
}

/* =========================================================
 * インスタグラムユニット（美容 #bt-root partial）の
 * 見出し・ボタン・画像を保険ページの意匠に合わせる上書き
 * ========================================================= */
/* スライダー画像を枠いっぱいに（.gen img{height:auto} の打ち消し） */
.gen-insta-unit .bt-insta__item img { height: 100% !important; }

/* 見出し「インスタグラム」を .gen-h2 と同じ意匠に */
.gen-insta-unit .bt-insta .bt-sec-title { text-align: left !important; margin: 0 0 48px !important; }
.gen-insta-unit .bt-insta .bt-sec-title__sub {
  font-family: "Noto Serif JP", serif !important;
  font-weight: 500 !important;
  font-size: 48px !important;
  line-height: 1.3 !important;
  letter-spacing: .04em !important;
  color: #1f1f1f !important;
  margin: 0 !important;
  text-transform: none !important;
}

/* 「詳しく見る」ボタンを保険の白ピルに */
.gen-insta-unit .bt-insta__more .bt-btn {
  position: relative !important;
  min-width: 240px !important;
  min-height: 0 !important;
  padding: 15px 44px !important;
  gap: 0 !important;
  border: 1.5px solid #1f1f1f !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #1f1f1f !important;
  font-family: "Noto Sans JP", sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  transition: background .2s, color .2s !important;
}
.gen-insta-unit .bt-insta__more .bt-btn:hover { background: #1f1f1f !important; color: #fff !important; box-shadow: none !important; }
.gen-insta-unit .bt-insta__more .bt-btn::after {
  content: "" !important;
  position: absolute !important;
  right: 24px !important; left: auto !important;
  width: 8px !important; height: 8px !important;
  border: 0 !important;
  border-top: 1.5px solid currentColor !important;
  border-right: 1.5px solid currentColor !important;
  transform: rotate(45deg) !important;
  background: none !important;
}

/* =========================================================
 * 保険ページのサイトマップ（ggu-sitemap）だけ背景を白・文字を黒に反転
 * （フッターの著作権バー ggf-footer は変更しない）
 * ========================================================= */
body.gen-page #uklp-sitemap-section.ggu-sitemap {
  --ggu-taupe: #fff;      /* 背景を白に */
  --ggu-white: #1f1f1f;   /* 文字を黒に */
  background: #fff;
}
/* ワードマークは白反転をやめ、本来の濃色で表示 */
body.gen-page #uklp-sitemap-section.ggu-sitemap .ggu-sitemap__brand-logo { filter: none; }
/* お問い合わせボタンの枠・ホバーを黒基調に */
body.gen-page #uklp-sitemap-section.ggu-sitemap .ggu-sitemap__contact-button { border-color: #1f1f1f; }
body.gen-page #uklp-sitemap-section.ggu-sitemap .ggu-sitemap__contact-button:hover,
body.gen-page #uklp-sitemap-section.ggu-sitemap .ggu-sitemap__contact-button:focus-visible {
  background: #1f1f1f; border-color: #1f1f1f; color: #fff;
}

/* /general のサイトマップ：PCは3カラム（診療案内／特徴・対応／クリニック情報） */
body.gen-page .ggu-sitemap__nav--desktop {
  grid-template-columns: repeat(3, auto);
  column-gap: 56px;
}
@media screen and (max-width: 768px) {
  /* SPは見出し付きグループを2列グリッドで表示（3列目は既存ルールで左下へ回る） */
  body.gen-page .ggu-sitemap__nav--mobile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 38px;
    row-gap: 40px;
  }
  body.gen-page .ggu-sitemap__nav--mobile .ggu-sitemap__list li { margin-bottom: 8px; }
  body.gen-page .ggu-sitemap__nav--mobile .ggu-sitemap__list li:last-child { margin-bottom: 0; }
}

/* CTAバーまわりの隙間対策：
   フッター下の余白（body padding）を美容と同じ白でつなぐ
   （バー自体は美容と同じく背景なし） */
@media (max-width: 980px) {
  body.gen-page { background: #fff; }
}

/* =========================================================
 * お知らせ統合一覧（/news/ ＝ page-general-news.php）
 * ========================================================= */
.gen-news--archive { padding: 64px 0 96px; min-height: 55vh; }
.gen-news-archive__lead { margin: -28px 0 28px; color: #555; font-size: 15px; }
/* 絞り込みフィルタ（コラム一覧の ucol-filter と同じ役割） */
.gen-news-archive__filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 36px; }
.gen-news-archive__filter a {
  display: inline-flex;
  align-items: center;
  padding: 8px 24px;
  border: 1.5px solid #1f1f1f;
  border-radius: 999px;
  background: #fff;
  color: #1f1f1f;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: background .2s, color .2s;
}
.gen-news-archive__filter a.is-active,
.gen-news-archive__filter a:hover { background: #1f1f1f; color: #fff; }
.gen-news-archive__pager { display: flex; gap: 16px; justify-content: center; margin-top: 44px; }
.gen-news-archive__empty { padding: 20px 0; color: #555; }
.gen-news-archive__back { margin-top: 56px; }
@media (max-width: 767px) {
  .gen-news-archive__lead { margin-top: -22px; }
}

/* =========================================================
 * 多言語翻訳時のレイアウト崩れ対策
 * 翻訳で文字数・単語区切りが変わるため、日本語の文字数を前提にした
 * nowrap／文字数基準のフォントサイズを解除して折り返せるようにする
 * ========================================================= */
:is(html[lang]:not([lang^="ja"]), html.translated-ltr, html.translated-rtl) .gen-onsen__title {
  white-space: normal;
  font-size: 20px;
  line-height: 1.4;
}
:is(html[lang]:not([lang^="ja"]), html.translated-ltr, html.translated-rtl) .gen-director__role,
:is(html[lang]:not([lang^="ja"]), html.translated-ltr, html.translated-rtl) .gen-director__en,
:is(html[lang]:not([lang^="ja"]), html.translated-ltr, html.translated-rtl) .gen-director__jp {
  white-space: normal;
}
:is(html[lang]:not([lang^="ja"]), html.translated-ltr, html.translated-rtl) .gen-director__jp {
  letter-spacing: .06em;
}
:is(html[lang]:not([lang^="ja"]), html.translated-ltr, html.translated-rtl) .gen-point__title {
  font-size: 20px;
}
:is(html[lang]:not([lang^="ja"]), html.translated-ltr, html.translated-rtl) .gen-about__lead {
  font-size: 18px;
  line-height: 1.6;
}
:is(html[lang]:not([lang^="ja"]), html.translated-ltr, html.translated-rtl) .gen-news__item {
  flex-wrap: wrap;
  row-gap: 2px;
}
/* 欧文は禁則が異なるため両端揃えをやめる（単語間が不自然に開くのを防ぐ） */
:is(html[lang]:not([lang^="ja"]), html.translated-ltr, html.translated-rtl) .gen-card__text,
:is(html[lang]:not([lang^="ja"]), html.translated-ltr, html.translated-rtl) .gen-onsen__text,
:is(html[lang]:not([lang^="ja"]), html.translated-ltr, html.translated-rtl) .gen-about__text {
  text-align: left;
}
/* SP下部CTA：翻訳時は美容の統一CTAと同じく文字を詰めて4ボタンに収める */
@media (max-width: 980px) {
  :is(html[lang]:not([lang^="ja"]), html.translated-ltr, html.translated-rtl) .gen .bt-bottombar__btn {
    gap: clamp(3px, 1vw, 5px);
  }
  :is(html[lang]:not([lang^="ja"]), html.translated-ltr, html.translated-rtl) .gen .bt-bottombar__btn span {
    font-size: clamp(9px, 2.3vw, 11px);
    line-height: 1.05;
    letter-spacing: 0;
    text-align: center;
    white-space: normal;
  }
}

/* =========================================================
 * SP（〜767px）オリジナルカンプ再現
 *  - お知らせ：見出し左寄せ・日付＋タイトルを1行に収める
 *  - 診療案内カード：本文を太く・行間を詰め、中途半端な改行を防ぐ
 *  - 温泉コラボ：写真→ロゴ→見出し→本文（ゴシック）→中央ボタンの順
 *  - 保険診療について：リード→本文→写真→中央ボタンの順
 * ========================================================= */
@media (max-width: 767px) {
  /* --- お知らせ --- */
  .gen-news { padding: 64px 0 72px; }
  .gen-news .gen-h2--center { text-align: left; }
  .gen-news__item { gap: 16px; padding: 18px 2px; }
  .gen-news__date { font-size: 13px; }
  .gen-news__title { font-size: 14px; }
  .gen-news__more { margin-top: 40px; }

  /* --- ピルボタン共通：ひとまわり大きく（矢印も拡大） --- */
  .gen-news__more .gen-pill,
  .gen-card__btn .gen-pill,
  .gen-about__btn .gen-pill {
    min-width: 0;
    width: min(264px, 100%);
    padding: 17px 44px;
    font-size: 16px;
  }
  /* 矢印の山括弧はPC/SP共通（ベース .gen-pill__arrow で定義） */

  /* --- 診療案内カード（枠線ギリギリまで画像・テキストを拡大） --- */
  .gen-card { padding: 22px 18px 30px; }
  .gen-card__title { line-height: 1.4; } /* 2行見出しの行間を詰める */
  .gen-card__text {
    font-weight: 500;      /* 400→500 で視認性を上げる */
    font-size: 16px;
    line-height: 1.8;      /* 1.95→1.8 に詰める */
    text-align: justify;
    text-wrap: pretty;     /* 数文字だけの改行（泣き別れ）を防ぐ */
    margin-bottom: 28px;
  }
  .gen-card__img { margin-bottom: 26px; }
  .gen-card__btn { text-align: center; }

  /* --- 温泉コラボ（写真を先頭・ボタンを末尾中央に並べ替え） --- */
  .gen-onsen {
    display: flex;
    flex-direction: column;
    margin-top: 32px;
    padding: 26px 20px 34px;
    gap: 0;
  }
  .gen-onsen__media { display: contents; }
  .gen-onsen__media img {
    order: -1;             /* 写真をカード先頭へ */
    min-height: 0;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    margin-bottom: 26px;
  }
  .gen-onsen__lockup { gap: 12px; margin-bottom: 24px; }
  /* 高さ指定だと横幅が枠を超えるため、幅ベースで収める */
  .gen-onsen .gen-onsen__logo { height: auto; width: 44%; max-width: 150px; }
  .gen-onsen .gen-onsen__logo--onsen { width: 40%; max-width: 140px; }
  .gen-onsen__x { font-size: 20px; }
  /* 16文字が画像幅（カード内寸 = 90vw - 左右padding40px）ちょうどに収まるサイズ */
  .gen-onsen__title {
    font-size: calc((90vw - 40px) / 16.3);
    letter-spacing: 0;
    white-space: nowrap;
    margin-bottom: 16px;
  }
  .gen-onsen__text {
    font-family: var(--sans);
    font-weight: 500;
    font-size: 15px;
    line-height: 1.95;
    text-align: justify;
    text-wrap: pretty;
    color: #333;
  }
  .gen-onsen__btn { order: 1; text-align: center; margin-top: 28px; }
  .gen-onsen__btn .gen-pill--sm { padding: 15px 34px; font-size: 15px; }

  /* --- 保険診療について（ボタンを写真の下・中央に並べ替え） --- */
  .gen-about { padding: 72px 0; }
  .gen-about__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; } /* PC用 align-items:start を打ち消す */
  .gen-about__body { display: contents; }
  .gen-about__lead { display: none; } /* SPはリード文（急な不調から〜）を非表示 */
  .gen-about__text {
    font-weight: 500;
    font-size: 15px;
    line-height: 1.9;
    text-align: justify;
    text-wrap: pretty;
    margin-bottom: 12px; /* 段落間隔を詰める */
  }
  .gen-about__media { margin-top: 8px; }
  .gen-about__media img { aspect-ratio: 3 / 2; }
  .gen-about__btn { order: 1; text-align: center; margin-top: 32px; }

  /* --- 院長紹介：氏名ロックアップを1行ずつ崩れず収める（PCカンプ再現） --- */
  .gen-director__name { margin-top: 26px; }
  .gen-director__role { font-size: clamp(11px, 3.4vw, 15px); white-space: nowrap; }
  .gen-director__namebox { margin-left: 14px; padding-left: 14px; gap: 4px; }
  .gen-director__en { font-size: clamp(11px, 3.4vw, 16px); white-space: nowrap; }
  .gen-director__jp { font-size: clamp(20px, 6.5vw, 29px); white-space: nowrap; }
  /* 展開時、閉じるボタンは資格・所属学会の下（フェード重ね用の-20pxを打ち消す） */
  .gen-director.is-expanded .gen-director__more { margin-top: 36px; }

  /* --- コラム公開のお知らせ：美容トップのコラムセクションと同じ見た目（配色は現状のまま） --- */
  .gen-column { padding: 74px 0; }
  .gen-column__title { font-size: 30px; letter-spacing: .09em; line-height: 1.25; margin-bottom: 14px; }
  .gen-column__meta { flex-direction: column; align-items: flex-start; gap: 18px; }
  .gen-column__lead { font-size: 15px; }
  .gen-column__allbtn .gen-pill--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
  .gen-column__grid { gap: 18px; margin-top: 28px; }
  .gen-colcard { border-radius: 10px; padding: 22px; box-shadow: 0 18px 46px rgba(43, 58, 46, .06); display: flex; flex-direction: column; gap: 10px; }
  .gen-colcard__date { font-size: 13px; font-weight: 700; }
  .gen-colcard__title { font-size: 17px; line-height: 1.7; margin: 0; }
  .gen-colcard__text { font-size: 14px; line-height: 1.8; margin: 0; }
  .gen-colcard__link { margin-top: auto; font-size: 13px; }

  /* --- ご予約：縦幅をコンパクトに --- */
  .gen-reserve { padding: 44px 0 52px; }
  .gen-reserve__title { font-size: 30px; margin-bottom: 28px; }
  .gen-reserve__btns { gap: 18px; }
  .gen-reserve__btns .gen-reserve__btn { padding: 18px; font-size: 17px; }
  .gen-reserve__btn svg { width: 26px; height: 26px; }

  /* --- 再生・細胞治療：SP専用カンプ再現（背景=cell-therapy-sp.png 670×870） --- */
  .gen-cell { padding: 40px 0 56px; }
  .gen-cell .gen__wrap { width: 96%; max-width: none; }
  .gen-cell__banner {
    aspect-ratio: 670 / 870;
    border: none;
    background-image: url("img/cell-therapy-sp.png") !important; /* インラインのPC用背景を上書き */
    background-position: center bottom;
  }
  .gen-cell__body {
    left: 2.5%;
    right: auto; /* 白背景は内容の幅ぴったりに（右側カット） */
    width: fit-content;
    max-width: 95%;
    top: 2.5%;
    transform: none;
    background: rgba(255, 255, 255, .9);
    padding: 20px 18px 22px; /* 文言非表示化に合わせて余白を圧縮 */
    box-shadow: 0 14px 34px rgba(30, 60, 50, .18); /* オリジナルのドロップシャドウ */
  }
  .gen-cell__title { font-size: min(30px, 7.7vw); margin-bottom: 10px; }
  .gen-cell__text { display: none; } /* SPは「当クリニックでは〜」の文言を出さず、リストのみ表示 */
  .gen-cell__list {
    display: block;
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
    font-size: min(17px, 4.35vw);
    line-height: 1.65;
    color: #333;
  }
  .gen-cell__list li { position: relative; padding-left: 22px; }
  .gen-cell__list li + li { margin-top: 12px; }
  .gen-cell__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .45em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
  }
  .gen-cell__list em { color: var(--green); font-style: normal; }
  .gen-cell__arrow { display: none; }

  /* --- 地図：美容トップSPと同じ高さ --- */
  .gen-map iframe { height: clamp(230px, 58vw, 436px); }
}

/* ==========================================================================
   本文スタイル統一（2026-07-22）
   院長挨拶文（.gen-director__msg p）と同じ組みに揃える:
   PC 17px / 行間1.82 / 字間.02em / ウェイト500 / #222。SPは16px。
   ファイル末尾に置くことで、各セクションの個別指定（14〜16px・細字400等）を一括で上書きする。
   ========================================================================== */
.gen-card__text,
.gen-point__text,
.gen-about__text,
.gen-onsen__text,
.gen-info__body,
.gen-column__lead {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.82;
  letter-spacing: .02em;
  color: #222;
}

@media (max-width: 768px) {
  .gen-card__text,
  .gen-point__text,
  .gen-about__text,
  .gen-onsen__text,
  .gen-info__body,
  .gen-column__lead,
  .gen-director__msg p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  /* 資格・所属学会: SPは全項目が1行に収まるサイズ（長い項目の補足はpc-onlyで非表示）。
     列は内容幅にして左右へ均等配置し、右寄りに見えないようバランスを取る */
  .gen-quals-cols { grid-template-columns: auto auto; justify-content: space-between; gap: 0 12px; }
  .gen-quals li { font-size: 14.5px; padding-left: 18px; }
  .gen-quals li::before { top: 10px; } /* ●をテキスト1行目の中央に揃える */

  /* 経歴: SPは1行を保てる最大サイズを端末幅から自動算出。
     最長行「グラングリーン大阪 うめきたクリニック 院長」≒21文字が、
     利用可能幅（90vw − 年号48px − gap14px − li左右padding8px = 90vw−70px）に収まる上限。上限15px */
  .gen-career li { font-size: min(15px, calc((90vw - 74px) / 21)); letter-spacing: normal; gap: 14px; }
  .gen-career__year { flex: 0 0 auto; white-space: nowrap; } /* 年号は自然幅＋折返し禁止（「年」だけの改行を防ぐ） */
}
