/* =====================================================
   MiaMia responsive.css — レイアウト構造の切り替えのみ
   サイズ・余白は style.css の clamp() で流体制御済み
   ===================================================== */

/* ── TB+: 768px 〜 ── */
@media (min-width: 768px) {

  /* ヘッダー */
  .header__rating { display: block; }

  /* stats-banner: SP は縦積み → TB以上で4列横並び */
  .stats-banner__inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .stats-banner__item {
    border-right: 1px solid rgba(255,255,255,0.12);
  }
  .stats-banner__item:last-child { border-right: none; }

  /* ボタン */
  .btn--xl { width: auto; }
  .cta-group { flex-direction: row; justify-content: center; max-width: none; }

  /* 問題提起 */
  .problems__grid { grid-template-columns: 1fr 1fr; }

  /* 原因提示 */
  .cause__cards { grid-template-columns: 1fr 1fr; }

  /* 解決策 */
  .solution__flow { grid-template-columns: repeat(3, 1fr); }
  .photo-pair { grid-template-columns: 1fr 1fr; }
  .photo-wrap img { height: auto; }

  /* 口コミ */
  .reviews__grid { grid-template-columns: 1fr 1fr; }

  /* 体験の流れ */
  .flow__steps { grid-template-columns: 1fr 1fr; }

  /* 料金 */
  .pricing__plans { grid-template-columns: 1fr 1fr; }
  .pricing__exp-cards { max-width: 480px; margin-left: auto; margin-right: auto; }

  /* 事前相談 */
  .preconsult__plans { grid-template-columns: 1fr 1fr; }

  /* アクセス */
  .access__map iframe { height: 350px; }

  /* スティッキーCTAバー非表示 */
  .sticky-cta { display: none; }

  /* フローティングCTA */
  .float-cta { bottom: 24px; right: 24px; }

  /* トレーナー */
  .trainer__layout { grid-template-columns: 240px 1fr; align-items: start; }
  .trainer__photo img { height: auto; }

  /* 最終CTA */
  .final-cta .cta-group--vertical { flex-direction: row; justify-content: center; }

  /* 安心材料バー */
  .reassurance-grid { grid-template-columns: repeat(3, 1fr); }

  /* Before/After セクション */
  .ba-section { padding: 72px clamp(32px, 6vw, 120px); }
  .ba-section-title { font-size: 28px; }
  .ba-grid { max-width: 880px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
  .ba-photo-wrap { aspect-ratio: 4 / 5; }
  .ba-card-photo-single { aspect-ratio: 3 / 2; }

  /* ユーティリティ */
  .sp-only { display: none; }
  .pc-only { display: inline; }
}

/* ── PC: 1024px 〜 ── */
@media (min-width: 1024px) {

  /* ヘッダー */
  .header__logo-text { font-size: 24px; }

  /* 問題提起 */
  .problems__grid { grid-template-columns: repeat(3, 1fr); }

  /* 口コミ */
  .reviews__grid { grid-template-columns: repeat(3, 1fr); }

  /* アクセス */
  .access__layout { grid-template-columns: 1fr 1fr; }
  .access__map iframe { height: 450px; }

  /* トレーナー */
  .trainer__layout { grid-template-columns: 280px 1fr; }
  .trainer__photo img { height: auto; }

  /* Before/After セクション PC */
  .ba-section-title { font-size: 32px; }
  .ba-grid { max-width: 1100px; gap: 36px; }
}

/* ── PC nav（768px+）── */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .header__nav {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: transparent;
    padding: 0;
    border-top: none;
    gap: 20px;
    align-items: center;
    backdrop-filter: none;
  }
  .header__nav-link {
    padding: 4px 2px;
    font-size: 13px;
    color: rgba(255,255,255,0.82);
  }
  .header__nav-link:hover { background: transparent; color: var(--white); }
  .header__hamburger { display: none; }
  .header--open .header__nav { position: static; }
}
