/* ==================================================
   キャンペーンバナー共通スタイル
================================================== */
/* 全体のコンテナ */
.campaign-container {
  width: 100%;
  max-width: 900px; /* バナーの最大幅に合わせる */
  margin: 0 auto 40px auto;
  padding: 0 15px;
  box-sizing: border-box;
  font-family: sans-serif;
}

/* 各キャンペーンのブロック */
.campaign-block {
  margin-bottom: 50px;
}

/* ①キャンペーンバナー */
.campaign-banner {
  text-align: center;
  margin-bottom: 24px;
}
.campaign-banner img {
  width: 100%;
  max-width: 900px;
  height: auto;
  vertical-align: top;
}

/* ②見出しタイトル */
.campaign-container .campaign-title { /* 親クラスを付けて優先度を上げる */
  font-size: 26px !important; /* 説明文より確実に大きくするため!importantを付与 */
  font-weight: 900;
  line-height: 1.5;
  color: #000000;
  text-align: center;
  margin: 0 0 16px 0;
}
/* スマホ時のサイズ調整 */
@media screen and (max-width: 768px) {
  .campaign-container .campaign-title {
    font-size: 20px !important;
  }
}
/* 黄色マーカー風の装飾 */
.campaign-title .highlight {
  background-color: #ffff00;
  padding: 2px 8px;
  display: inline-block;
}

/* ③キャンペーン詳細説明文 */
.campaign-description {
  font-size: 15px;
  font-weight: normal;
  line-height: 1.8;
  color: #333333;
  text-align: center;
  margin: 0 0 24px 0;
}

/* ④「詳しく見る」ボタン */
.campaign-btn-wrap {
  text-align: center;
}
.campaign-btn {
  display: inline-block;
  min-width: 280px; /* ボタンの横幅 */
  padding: 16px 24px;
  background-color: #005a8d; /* ボタンの背景色（落ち着いたブルー） */
  color: #ffffff; /* ボタンの文字色（白） */
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 50px; /* 角を丸くして柔らかい印象に */
  transition: background-color 0.3s, opacity 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* ボタンホバー時（マウスを乗せたとき）のエフェクト */
.campaign-btn:hover {
  background-color: #007bb8; /* ホバー時は少し明るいブルーに */
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
}

/* 画面幅が狭いとき（スマホ等）の調整 */
@media screen and (max-width: 768px) {
  .campaign-title {
    font-size: 20px;
  }
  .campaign-description {
    font-size: 14px;
    text-align: left; /* スマホで長文が中央寄せだと読みづらい場合は左寄せ（お好みで） */
    display: inline-block; /* 左寄せにしつつ全体を中央に寄せるための記述 */
    text-align: center; /* 中央寄せを維持したい場合はここをセンターに */
  }
  .campaign-btn {
    font-size: 16px;
    padding: 14px 20px;
    width: 90%; /* スマホでは画面幅に合わせる */
  }
}

/* --- 大きなバナーの設定 --- */
.item-main-banner {
  width: 100%;                  /* スマホ表示では横幅いっぱい */
  margin: 0 auto 20px auto;     /* 上下左右の中央寄せ（下に20pxの間隔をあける） */
  box-sizing: border-box;
}
.item-main-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- 下側の4連バナーの設定 --- */
.item-banner-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}
.item-banner-item img {
  width: 100%;
  height: auto;
  display: block;
}
/* スマホ表示：横並び2枚 */
.item-banner-item {
  width: calc((100% - 10px) / 2); 
  box-sizing: border-box;
}

/* --- PC表示のとき（横幅768px以上）の設定 --- */
@media screen and (min-width: 768px) {
  /* 【削除】 .banner-title の max-width 設定を削除しました */

  /* 大きなバナーを最大750pxにして中央寄せ */
  .item-main-banner {
    max-width: 750px;
  }
  /* 4連バナー：横並び4枚 */
  .item-banner-item {
    width: calc((100% - 30px) / 4);
  }
}