/**
 * ECPRO Top — テーマ/プラグイン CSS との衝突を防ぐ最終レイヤー
 * ecpro テーマ _parts.scss の * / .hamburger / footer / a 等が漏れた場合の保険。
 * 本体 CSS は .ecpro-top-body 配下にスコープ済み。
 */

body.ecpro-top-body {
  padding-top: 0 !important;
  margin: 0;
}

body.ecpro-top-body main {
  padding-top: 0 !important;
}

/* テーマ .hamburger（ヘッダー全体ラッパー）とのクラス名衝突を解消
   ※ margin は top.css の margin-left: auto（右寄せ）を活かすため触らない */
body.ecpro-top-body .site-header .hamburger {
  max-width: none !important;
  justify-content: initial !important;
  align-items: initial !important;
}

/* テーマ footer { ... } の子孫指定（.container-inner 等）が
   万一漏れ込んだ場合のみ無効化。背景・色・レイアウトは top 本体 CSS に委ねる。 */
body.ecpro-top-body footer.site-footer .container-inner {
  max-width: none;
  margin: 0;
  padding: 0;
}

body.ecpro-top-body footer.site-footer a {
  font-size: inherit;
  letter-spacing: inherit;
}
