/* ================================
   キャンペーン専用 CSS
   ================================ */
@media screen and (min-width: 993px) {
    body {
        padding-top: 260px!important;
    }
}

/* キャンペーンページコンテンツ幅 */
.camp-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px 20px;
}

/* デフォルトでは画像を原寸サイズで表示 */
.camp-wrapper img {
  max-width: none;
  width: auto;
  height: auto;
}
/* メインバナー以外の画像を最大1200pxに収める */
.camp-wrapper img:not(.camp-banner img) {
  max-width: 100%;   /* 親要素幅を超えない */
  height: auto;
  display: block;
}
/* メインバナーだけ横幅980pxに制限＋中央寄せ */
.camp-banner {
  text-align: center;
  margin-bottom: 30px;
}

.camp-banner img {
  display: block;
  max-width: 980px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* h2 見出し */
.camp-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 10px;
}

/* 区切り線 */
.camp-divider {
  width: 120px;
  height: 4px;
  margin: 10px auto 30px auto;
  background: linear-gradient(to right, #bfa14a, #f5e1a4, #bfa14a);
  border: none;
}

/* コンテンツ部分 */
.camp-content {
  padding: 0 10px;
}

.camp-subtitle {
  font-size: 20px;
  margin-top: 20px;
  margin-bottom: 10px;
  text-align: left;
}

.camp-content p {
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
  margin-bottom: 15px;
}

/* キャンペーン専用テーブル */
table.camp-table {
  border-collapse: collapse;
  width: 100%;
  max-width: 980px;
  font-size: 16px;
}

/* 左セル */
table.camp-table td.bg-cell {
  background-color: #f2f2f2;
  width: 32%;
  text-align: center; /* 左セルは中央揃え */
  padding: 6px 10px;
  border: 1px solid #ccc;
}
table.camp-table td:not(.bg-cell) {
  text-align: left;
  background-color: #ffffff;
  padding: 10px;
  border: 1px solid #ccc;
}
/* 注意事項ブロック */
.camp-notice {
  background-color: #f5f5f5;
  padding: 20px 40px;
  margin: 40px auto;
  width: 100%;
  max-width: 980px;
  box-sizing: border-box;
}

/* 見出し */
.camp-notice-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  margin-bottom: 10px;
  text-align: left;
}

/* リスト */
.camp-notice ul {
  margin: 0;
  padding-left: 1.2em;
  list-style-type: disc; /* ●黒丸 */
}

.camp-notice li {
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.6;
}

/* 会員登録ボタン */
.camp-btn-area {
  text-align: center;
  margin: 40px 0;
}
.camp-btn {
  display: inline-block;
  background-color: #2c67b5;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 12px 60px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
}
.camp-btn:hover {
  background-color: #275a9f;
  transform: scale(1.03);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.camp-border {
  border-top: 1px solid #C6C6C6;
  margin-top: 50px;
}

/* === ピックアップ商品セクション === */
.camp-pickup {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 10px;
}

/* セクション見出し（中央寄せver） */
.camp-section-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin: 50px 0 25px;
  color: #333;
}
/* 英語部分（小さめ＋ブルー） */
.camp-section-title span {
  display: block; /* 下に配置 */
  font-size: 14px;
  color: #31b1d0;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* 商品リスト */
.camp-pickup-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4列均等幅 */
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 1200px;
  margin-inline: auto;
  box-sizing: border-box;
}
/* 商品アイテム */
.camp-pickup-item {
  border: 1px solid #ccc;
  border-radius: 2px;
  padding: 12px;
  text-align: left;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
  overflow: hidden;
}
/* 商品画像 */
.camp-pickup-img {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.camp-pickup-img img {
  width: 100%;
  display: block;
  transition: opacity 0.4s ease;
}
/* 2枚目の画像は重ねて非表示にしておく */
.camp-pickup-img .hover-img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
/* ホバー時に2枚目がフェードイン */
.camp-pickup-item:hover .hover-img {
  opacity: 1;
}
/* 同時に1枚目をフェードアウト */
.camp-pickup-item:hover .main-img {
  opacity: 0;
}

/* 商品名・商品コード・価格共通 */
.camp-pickup-item .name,
.camp-pickup-item .code,
.camp-pickup-item .price {
  width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  box-sizing: border-box;
}

/* 商品名 */
.camp-pickup-item .name {
  font-size: 14px;
  font-weight: bold;
  margin: 4px 0;
}
/* 商品コード */
.camp-pickup-item .code {
  font-size: 12px;
  color: #999;
  margin-bottom: 6px;
}
/* 価格 */
.camp-pickup-item .price {
  font-size: 16px;
  color: #111;
  font-weight: bold;
}

/* 割引があるとき　価格エリア */
.price-box {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* 元の価格（取り消し線） */
.price-old {
  text-decoration: line-through;
  color: #333;
  font-size: 14px;
}

/* 新しい価格（強調） */
.price-new {
  color: #c9003f;
  font-size: 16px;
  font-weight: bold;
}

/* 割引率バッジ */
.discount {
  background-color: #c9003f;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1.2;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .camp-wrapper img {
    max-width: 98%;
    height: auto;
  }
  .camp-title { font-size: 22px; }
  .camp-subtitle { font-size: 18px; }
  .camp-content p { font-size: 15px; }
  .camp-wrapper { padding: 15px 10px; }
  table.camp-table { font-size: 14px; }
  table.camp-table td { padding: 4px 6px; }
  .camp-notice { padding: 15px; }
  .camp-notice-title { font-size: 18px; }
  .camp-notice li { font-size: 15px; }
  .camp-btn {
    font-size: 16px;
    padding: 12px 32px;
  }
  /* ピックアップ：2列 */
  .camp-pickup-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

   