/* ── SP：1段に戻す ── */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: row !important;
    height: 50px !important;
    padding: 0 16px !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .header-row-top {
    padding: 0 16px !important;
    min-height: 50px !important;
    justify-content: space-between !important;
  }
  .header-row-top-right { display: none !important; }
  .nav-menu { display: none !important; }
  .hamburger { display: flex !important; }
  .logo-area {
    left: 16px !important;
  }
} /* ← 元ファイルで閉じ忘れていた @media (max-width:768px) をここで明示的に閉じる */

/* ============================================================
   スクロール挙動：コーポレートヘッダーは固定解除（スクロールで流れる）、
   メディアブランドバー＋カテゴリナビを一体で上部に sticky 固定
   ============================================================ */
/* common.css の position:fixed を解除。relative で z-index/ドロップダウンの重なりは温存しつつ流す */
.header { position: relative !important; }
/* 固定ヘッダー用に確保していた body の余白を解除 */
body { padding-top: 0 !important; }
/* sticky を効かせる：common.css の overflow-x:hidden は sticky を無効化するため clip に上書き */
html, body { overflow-x: clip !important; }
/* ブランドバー＋カテゴリナビを束ねて一体で固定 */
.mc-stickyhead { position: sticky; top: 0; z-index: 500; }
/* 旧 JS の is-stuck(fixed) 追従は使わない。常に通常配置 */
.mc-catnav,
.mc-catnav.is-stuck { position: relative; top: auto; }
.mc-catnav-spacer { display: none !important; }
