/* =========================================================
   副作用セクション（本実装・女性版）  ─  .sideeffect-care
   由来:   男性LPの副作用セクションAB勝ちパターン（lp-aga/css/sideeffect-care.css）
           を女性doctor系のトンマナに合わせて展開
   対象:   女性LP doctor の gl / ms / yh 全25入口（head_listing で読込）
   パーツ: lp-aga-ladies/parts/doctor/sideeffect_care.php（セクション本体）
           lp-aga-ladies/parts/doctor/trouble_sideeffect.php（アンカーnav FV直下版）
   ─────────────────────────────────────────────────────────
   命名: 既存クラスと衝突させないため全て .sideeffect-care 名前空間配下。
   トンマナ実値（style-isym.css 系から採取）:
     ピンクアクセント #f0819a / 濃紺テキスト #162c3f
     セクション見出しは既存 .section__title（1段プレーン）を踏襲
   ========================================================= */

.sideeffect-care {
  padding: 0;
  /* アンカー着地位置を40px上で止める（行き過ぎ防止・レイアウトは崩さない） */
  scroll-margin-top: 40px;
}

/* --- リード文 --- */
.sideeffect-care__lead {
  color: #162c3f;
  line-height: 1.8;
  margin-bottom: 24px;
  font-size: 1.2em;
  font-weight: 700;
  text-align: center;
}

/* --- 「Dr.AGAクリニックの副作用への対応体制」3項目カード --- */
.sideeffect-care__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.sideeffect-care__card {
  border: 0;
  border-radius: 0;
  background: rgba(240, 129, 154, 0.15);
  overflow: hidden;
}

.sideeffect-care__card-head {
  background: #f0819a;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  text-align: center;
  padding: 14px 12px;
  line-height: 1.5;
}

.sideeffect-care__card-body {
  padding: 16px;
  color: #162c3f;
  line-height: 1.8;
  font-size: 0.95em;
}

/* --- 副作用ページへのリンク（小テキスト） --- */
.sideeffect-care__pagelink {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
}
.sideeffect-care__pagelink a {
  color: #2c587e;
  text-decoration: underline;
}

/* --- 締め＋カウンセリング誘導 --- */
.sideeffect-care__closing {
  margin-top: 24px;
  text-align: center;
  color: #162c3f;
  line-height: 1.8;
}

/* --- セクション末尾CTA（既存 .reservation を流用） --- */
.sideeffect-care .reservation {
  margin-top: 32px;
  padding: 0;
  background: transparent;
}

.sideeffect-care .reservation__inner::before {
  display: none;
}

/* ===== レスポンシブ（SP：カード縦積み） ===== */
@media screen and (max-width: 767px) {
  .sideeffect-care__cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .sideeffect-care__card-head {
    font-size: 16px;
  }
  .sideeffect-care__card-head br {
    display: none;
  }
}

@media only screen and (max-width: 768px) {
  .sideeffect-care .reservation__inner {
    width: 100%;
  }
}

/* --- アンカーnav（FV直下配置時の下余白） --- */
.trouble__nav {
  margin-bottom: 40px;
}

/* --- nav左上の装飾画像（sec00.png）の位置調整 --- */
.trouble__list2::before {
    content: '';
    position: absolute;
    background-image: url(../img/sec00.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    left: -35px;
    top: -43px;
    height: 125px;
    width: 148px;
}

/* --- nav単独設置（yh：FVと症例カルーセルの間）---
   trouble セクションの装飾・余白を持ち込まないためのリセット。
   yhはFV直下に nav だけを置き、お悩み本文は症例カルーセルの下に残る。 */
.trouble--navonly {
  background: none;
  padding: 40px 0 0;
}
.trouble--navonly .trouble__nav {
  margin-bottom: 80px;
}
