@charset "UTF-8";

/* =========================================================
   トップバナー 3枚並び（合格実績・特待生制度・入試カレンダー）
   index.css は2枚前提（769〜1280px: 各40%幅のflex / 1281px〜: 2列grid）のため、
   3枚目がはみ出さないようPC幅だけ上書きする。
   768px以下は index.js の Swiper（横スライド）のまま変更しない。
   ========================================================= */

@media (width > 768px) {
  .top-banner-wrapper {
    gap: 24px;
  }

  .top-banner__slide {
    width: calc((100% - 48px) / 3) !important;
  }
}

@media (width > 1280px) {
  .top-banner-wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .top-banner__slide {
    width: 100% !important;
  }
}
