
.sitescontent {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}
.note-box {
  margin: 0 auto;
  max-width: 1000px;
}

.cart-item-price span {
  font-weight: 900;
  font-size: 24px;
  color: #000;
}

h1 {
  line-height: 40px;
  position: relative;
  height: 40px;
  margin: 0 auto 9px auto;
  text-align: center;
  color: #fff;
  background: #fa4141;
  width: 300px;
  font-size: 25px;
}

h1:before,
h1:after {
  position: absolute;
  top: 0;
  display: block;
  height: 40px;
  content: '';
  border: 20px solid #fa4141;
}

h1:before {
  left: -30px;
  border-left-width: 15px;
  border-left-color: transparent;
}

h1:after {
  right: -30px;
  border-right-width: 15px;
  border-right-color: transparent;
}

h2 span {
  position: relative;
  display: block;
}

/* ========================================
   リセット & ベース
======================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 14px;
  color: #333;
  line-height: 1.7;
  background: #fff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ========================================
   ヘッダー
======================================== */

#header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  height: 30px;
  width: auto;
}

.header-contact a {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid #333;
  font-size: 12px;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.header-contact a:hover {
  background: #333;
  color: #fff;
}

/* グローバルナビ */

#gnav {
  background: #333;
}

.gnav-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  list-style: none;
}

.gnav-inner li a {
  display: block;
  color: #fff;
  padding: 12px 20px;
  font-size: 13px;
  transition: background 0.2s;
}

.gnav-inner li a:hover {
  background: #555;
}

/* モバイルナビ */

.sp-nav {
  display: none;
  background: #333;
  padding: 10px 0;
}

.sp-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.sp-nav ul li {
  width: 50%;
}

.sp-nav ul li a {
  display: block;
  color: #fff;
  padding: 10px 16px;
  font-size: 12px;
  border-bottom: 1px solid #444;
}

/* ========================================
   メインコンテンツ
======================================== */

#main-content {
  margin: 0 auto;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-feature-settings: 'palt';
}

/* ========================================
   1. メインビジュアル
======================================== */

.mv-section {
  line-height: 0;
}

.mv-section img {
  width: 100%;
  height: auto;
  display: block;
}

.mv-period {
  font-size: 14px;
  color: #555;
}

/* ========================================
   2. 割引ティアセクション
======================================== */

.discount-section {
  background: #ffe600;
  padding: 40px 20px;
}

.discount-headline {
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  color: #111;
  margin-bottom: 24px;
}

.discount-tiers {
  display: flex;
  gap: 20px;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

/* 外枠 */

.tier-outer {
  flex: 1;
  position: relative;
  background: #1a1464;
  padding: 3px;
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%);
}

.tier-outer::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  background-color: #fff;
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%);
}

.tier-outer::after {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  width: 37px;
  height: 37px;
  background-color: rgb(26, 20, 100);
  clip-path: polygon(0 0, 0% 100%, 100% 100%);
}

.tier-box {
  position: relative;
  z-index: 1;
  padding: 15px 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tier-condition-text {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  line-height: 1.5;
}

.tier-amount {
  font-size: 35px;
  font-weight: 1000;
  color: #e8000a;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  -webkit-text-stroke: 0;
  font-family: "Noto sans JP";
}

.tier-num {
  font-size: 1.2em;
  font-family: 'Jost';
}

/* ========================================
   3. まとめ買い説明セクション
======================================== */

.bulk-section {
  /*! background: #f5f5f5; */
  padding: 36px 24px;
  margin: 0 -20px 40px;
}

.bulk-headline {
  text-align: center;
  font-size: ;
  font-weight: 700;
  margin-bottom: 8px;
}

.bulk-desc {
  text-align: center;
  font-size: 16px;
  color: #555;
  margin-bottom: 24px;
  line-height: 1.8;
}

/* カート例示ボックス */

.cart-example {
  background: #fff;
  border-radius: 8px;
  padding: 18px 10px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 800px;
  border: 3px solid #1a1464;
  box-shadow: 5px 4px #1a1464;
}

.cart-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}

.cart-img {
  width: 120px;
  object-fit: contain;
  display: block;
}

.cart-item-price {
  font-size: 16px;
  color: #000;
  text-align: left;
  font-weight: bold;
  line-height: 1.5;
}

.cart-plus {
  font-size: 24px;
  color: #1a1464;
  font-weight: 900;
  line-height: 1;
  align-self: center;
}

.cart-arrow {
  font-size: 24px;
  color: #1a1464;
  align-self: center;
  line-height: 1;
}

.cart-result {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cart-result-label {
  font-size: 15px;
  color: #555;
  font-weight: 600;
}

.cart-result-discount {
  font-size: 34px;
  font-weight: 900;
  color: #f00;
  white-space: nowrap;
  line-height: 1;
}

.cart-result-discount span {
  font-size: 20px;
}

/* ========================================
   4. ご利用条件・注意事項
======================================== */

.notes-section {
  padding: 30px;
}

h3.notes-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
}

.notes-list {
  list-style: none;
  padding: 0;
}

.notes-list li {
  font-size: 13px;
  color: #555;
  padding: 3px 0 3px 1em;
  text-indent: -1em;
  line-height: 1.7;
  border-bottom: 1px dotted;
  margin-bottom: 10px;
}

.notes-list li::before {
  content: "・";
}

/* ========================================
   5. キャンペーン対象サイト
======================================== */

.sites-section {
  background: whitesmoke;
  margin: 0 auto;
  padding: 30px 0 50px;
}

.sites-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.sites-title {
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.sites-subtitle {
  font-size: 13px;
  color: #666;
}

.sites-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
}

.sites-grid .site-box {
  flex: 0 0 calc(33.333% - 12px);
}

.site-box {
  border: 2px solid #ccc;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  background: #fff;
  transition: box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.site-box img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

@media (min-width: 768px) {
  .site-box:hover {
    border-color: #ff6600;
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.55);
  }
}

.sites-note {
  font-size: 12px;
  color: #666;
  margin-top: 8px;
}

/* ========================================
   6. 単独カートサイト
======================================== */

.solo-sites-section {
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 50px;
}

/* ========================================
   フッター
======================================== */

#footer {
  background: #333;
  color: #ccc;
  text-align: center;
  padding: 30px 20px;
  font-size: 12px;
}

#footer a {
  color: #ccc;
}

#footer a:hover {
  color: #fff;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo img {
  height: 30px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.footer-copy {
  margin-top: 12px;
  font-size: 11px;
  color: #888;
}

/* ========================================
   ページトップへ
======================================== */

.page-top {
  text-align: center;
  margin: 20px 0 0;
}

.page-top a {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid #999;
  font-size: 12px;
  color: #666;
}

/* ========================================
   レスポンシブ（767px以下：タブレット〜SP）
======================================== */

@media (max-width: 767px) {

  /* ヘッダー */

  #gnav {
    display: none;
  }

  .sp-nav {
    display: block;
  }

  /* 割引ティア */

  .discount-section {
    padding: 24px 16px 28px;
  }

  .discount-headline {
    font-size: 18px;
  }

  .discount-tiers {
    align-items: stretch;
    gap: 12px;
    max-width: 80%;
    flex-direction: column;
  }

  .tier-outer {
    max-width: 100%;
  }

  .tier-condition-text {
    font-size: 14px;
  }

  .tier-amount {
    font-size: 36px;
  }

  /* まとめ買い：ネガティブマージン解除 */

  .bulk-section {
    margin: 0 0 40px;
    padding: 24px 16px;
  }

  .bulk-desc {
    text-align: left;
  }

  /* カート例示 */

  .cart-example {
        padding: 16px 14px;
    gap: 10px;
    box-shadow: 3px 3px #1a1464;
    max-width: 80%;#1a1464;
  }

  .cart-result-discount {
    font-size: 26px;
  }

  /* サイトグリッド：2列 */

  .sites-grid .site-box {
    flex: 0 0 calc(50% - 9px);
  }

  .sites-title {
    font-size: 17px;
  }

}

/* ========================================
   レスポンシブ（480px以下：スマートフォン）
======================================== */

@media (max-width: 480px) {

  /* h1リボン：画面幅に合わせてリサイズ */

  h1 {
    width: calc(100% - 70px);
    font-size: 20px;
  }

  /* カート：縦並び */

  .cart-arrow {
    transform: rotate(90deg);
  }

  .cart-example {
    flex-direction: column;
    align-items: center;
  }

  .cart-item {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .cart-item-price {
    text-align: center;
  }

  .cart-result {
    align-items: center;
  }

  .cart-result-label {
    text-align: center;
  }
}

/* ========================================
   戻るボタン（リファラ判定）
======================================== */

/* ボタン共通 */
.back-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  background: #1a1464;
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  border-radius: 3px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
  line-height: 1.4;
}

.back-btn:hover {
  opacity: 0.75;
}

/* ヘッダー内ラッパー */
.header-back {
  margin-left: auto;
  margin-right: 10px;
  flex-shrink: 0;
}

/* フッター上部バー */
.back-bar {
  background: #f5f5f5;
  border-top: 2px solid #1a1464;
  padding: 20px;
  text-align: center;
}

.back-bar-inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* バー内ボタン（少し大きめ） */
.back-btn--large {
  font-size: 14px;
  padding: 12px 28px;
  border-radius: 4px;
}

/* モバイル対応 */
@media (max-width: 767px) {
  .header-back {
    margin-right: 8px;
  }

  .back-btn {
    font-size: 11px;
    padding: 6px 10px;
  }

  .back-btn--large {
    font-size: 13px;
    padding: 10px 20px;
  }

  .back-bar {
    padding: 16px;
  }
}

/* ========================================
   お買い物を続けるボタン
======================================== */

.continue-shopping-wrap {
  text-align: center;
  padding: 20px 20px 48px;
}

.continue-btn {
  display: inline-block;
  width: 400px;
  max-width: 100%;
  background: #d12d35;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  padding: 18px 20px;
  border-radius: 0;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
  box-sizing: border-box;
  border-radius: 50px;
}

.continue-btn:hover {
  opacity: 0.8;
}

@media (max-width: 480px) {
  .continue-btn {
    width: 100%;
    font-size: 15px;
    padding: 16px 12px;
  }
}

/* ========================================
   ヘッダー お問い合わせ：SP時アイコン切り替え
======================================== */

.contact-icon {
  display: none;
}

@media (max-width: 767px) {
  .contact-text {
    display: none;
  }

  .contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-contact a {
    padding: 8px 10px;
    line-height: 1;
  }
}
