/* =========================================================
   副作用セクション（本実装）  ─  .sideeffect-care
   由来:   2026-07 副作用セクションABテスト勝ちパターン（ab-test.css の
           .sideeffect-ab 名前空間を恒久名にリネームして移設）
   対象:   男性LP hrm2 の gl / ms / yh 全26入口
           （head_listing / head_all_no-online で読込）
   パーツ: lp-aga/parts/hrm2/sideeffect_care.php（セクション本体）
           lp-aga/parts/hrm2/trouble_sideeffect.php（アンカーnav FV直下版）
   ─────────────────────────────────────────────────────────
   命名: 既存クラスと衝突させないため全て .sideeffect-care 名前空間配下。
   トンマナ実値（既存LPから採取）:
     緑アクセント #58bba2 / 濃紺テキスト #162c3f
     セクション見出しは既存 .section__title（en+ja 2段）を踏襲
   ========================================================= */

.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(88, 187, 162, 0.2);
  overflow: hidden;
}

.sideeffect-care__card-head {
  background: #58bba2;
  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;
}

/* ab-test.css では全体に効かせていたCTA調整を本セクション配下にスコープ */
.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.no-online {
  margin-bottom: 40px;
}

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