@charset "UTF-8";
:root {
  --primary-color: #555555; 
  --primary-dark: #333333;
  --accent-gold: #888888;
  --bg-light: #f9f9f9;
  --text-main: #333333;
  --text-muted: #666666;
  --border-color: #dddddd;
  --sale-red: #444444; 
  --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.5;
  overflow-x: hidden;
}

/* 楽天ナビゲーション */
.rakutenNavi {
  height: 50px;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.rakutenNavi iframe {
  height: 50px !important;
  display: block;
  width: 100%;
}
@media screen and (max-width: 960px) {
  .rakutenNavi {
    display: none !important;
  }
}

/* 1. アナウンスバー（流れるティッカー） */
.announcement-bar {
  background: #f4f4f4; /* 明るいライトグレーに変更 */
  color: #333333; /* 文字をダークグレーに */
  font-size: 0.8rem;
  padding: 10px 0; /* 余白を少し持たせる */
  overflow: hidden;
  display: flex;
  border-bottom: 1px solid var(--border-color); /* 下に区切り線を引く */
}
.marquee-inner {
  display: flex;
  width: max-content;
}
.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marquee 15s linear infinite;
}
.marquee-item {
  margin: 0 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.marquee-divider {
  color: #cccccc;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* 2. 固定ナビゲーション */
.sale-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--primary-dark);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.nav-container {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
}
.nav-item {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 14px 4px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.2s;
}
.nav-item:last-child {
  border-right: none;
}
.nav-item i {
  font-size: 1.1rem;
  color: var(--accent-gold);
}
.nav-item span {
  line-height: 1.3;
}
.nav-item:hover {
  background: var(--primary-color);
}
.sp-br {
  display: none;
}

/* スマホ表示対応 */
@media screen and (max-width: 768px) {
  .sp-br {
    display: inline;
  }
  .nav-item {
    flex-direction: column;
    gap: 4px;
    font-size: 0.65rem; 
    padding: 8px 2px;
  }
  .nav-item i {
    font-size: 1rem;
  }
}

/* 3. メインコンテナ */
.sale-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  overflow: hidden; 
}
/* --- パンくずリスト --- */
.breadcrumb {
  padding: 16px 0 0;
  font-size: 0.8rem;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  color: var(--text-muted);
}

/* 区切り文字（＞）の設定 */
.breadcrumb li:not(:last-child)::after {
  content: ">";
  margin: 0 8px;
  color: #cccccc;
  font-size: 0.7rem;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* スマホ表示対応 (レスポンシブ) */
@media screen and (max-width: 768px) {
  .breadcrumb {
    padding: 12px 0 0;
    font-size: 0.75rem;
  }
}

/* 4. ヒーローセクション */
.hero-section {
  text-align: center;
  padding: 40px 0 24px;
}
.hero-title {
  font-size: 18px;
  color: var(--primary-color);
  margin: 8px 0;
  font-weight: 700;
  display: none;
}
.hero-main-img {
  width: 100%;
  max-width: 960px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
}
@media screen and (max-width: 768px) {
  .hero-banner {
    margin: 0 -16px;
  }
  .hero-main-img {
    border-radius: 0;
    width: 100%;
  }
	.hero-section {
  padding: 10px 0 0;
}
}

/* 5. カウントダウンタイマーモジュール */
.timer-box {
  margin: 24px auto 0;
  max-width: 440px;
  background: #ffffff;
  padding: 16px 20px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}
.timer-lead {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sale-red);
  margin-bottom: 8px;
}
.timer-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.time-unit {
  background: #2b2b2b;
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 1.5rem;
  font-weight: 700;
  min-width: 54px;
}
.time-unit small {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
}
.time-colon {
  font-size: 1.3rem;
  font-weight: 700;
  color: #666666;
}
@media screen and (max-width: 768px) {
  .timer-display {
    gap: 4px;
  }
  .time-unit {
    font-size: 1.2rem;
    padding: 4px 6px;
    min-width: 44px;
  }
}

/* 6. セクション共通スタイル */
.section-block {
  margin: 80px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 28px;
}
.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 2px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}
.section-title {
  font-size: 20px;
  color: var(--text-main);
  font-weight: 700;
}
.section-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 7. クーポングリッド */
.coupon-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.coupon-grid .coupon-card {
  width: 100%;
  max-width: 600px;
}
.coupon-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.coupon-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  /* ホバーのアニメーション（transition）を削除 */
}

.coupon-img {
  width: 100%;
  height: auto;
  display: block;
  /* 下のボタンがなくなったので、画像下の区切り線（border-bottom）も削除 */
}

/* スマホ表示対応 */
@media screen and (max-width: 768px) {
  .coupon-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* 8. 季節特集・ピックアップセール */
.pickup-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  margin-bottom: 24px;
}
.pickup-item {
  width: 100%;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pickup-banner {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
}
.pickup-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--primary-color);
  color: #ffffff;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 50px;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  width: 100%;
  max-width: 480px;
  position: relative;
	text-align: center;
}
.pickup-btn i {
  position: absolute;
  right: 24px;
}
.pickup-btn:hover {
  background: var(--primary-dark);
  transform: translateY(2px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}
@media screen and (max-width: 768px) {
  .pickup-list {
    gap: 32px;
  }
  .pickup-banner {
    margin-bottom: 16px;
  }
  .pickup-btn {
    font-size: 0.95rem;
    padding: 12px 16px;
    max-width: 100%;
  }
}

/* 11. フッター */
.sale-footer {
  margin-top: 60px;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 30px 16px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- ページトップへ戻るボタン --- */
.page-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 999;
  transition: all 0.3s ease;
  opacity: 0.8;
}

/* ホバー（マウスオーバー）時の動き */
.page-top-btn:hover {
  background-color: var(--primary-dark);
  opacity: 1;
  transform: translateY(-3px);
  color: #ffffff;
}

/* スマホ表示対応 (レスポンシブ) */
@media screen and (max-width: 768px) {
  .page-top-btn {
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
}

/* --- 9. おすすめ・定番アイテム（横スワイプ対応） --- */
.recommend-scroll-wrapper {
  margin: 0 -16px;
  padding: 0 16px 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; 
}
.recommend-scroll-wrapper::-webkit-scrollbar {
  display: none;
}
.recommend-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.recommend-card {
  width: calc(100%/3 - 12px);
  min-width: 200px;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.recommend-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background-color: #f5f5f5;
}
.recommend-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.recommend-name {
  font-size: 0.8rem;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.recommend-price {
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.95rem;
  margin-top: auto;
}

@media screen and (max-width: 768px) {
  .recommend-grid {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .recommend-card {
    width: 70vw; 
    min-width: 140px; 
    flex-shrink: 0;
  }
  .recommend-info {
    padding: 10px;
  }
  .recommend-name {
    font-size: 0.75rem;
  }
  .recommend-price {
    font-size: 0.9rem;
  }
}

/* --- 自社サイト用：クーポンの使い方説明エリア --- */
.howto-coupon-box {
  max-width: 800px;
  margin: 0 auto 40px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--card-shadow);
}
.howto-coupon-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
  text-align: center;
}
.howto-coupon-text {
  font-size:16px;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 20px;
}
.howto-coupon-text strong {
  color: #cc0000;
}
.howto-coupon-img {
  text-align: center;
  margin-bottom: 24px;
}
.howto-coupon-img img {
  max-width: 450px;
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid var(--border-color); 
}
.howto-coupon-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.howto-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s;
  width: 100%;
  max-width: 320px;
}
.btn-register {
  background-color: var(--primary-color);
  color: #ffffff;
}
.btn-register:hover {
  background-color: var(--primary-dark);
  color: #ffffff;
}
.btn-login {
  background-color: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}
.btn-login:hover {
  background-color: #f5f5f5;
}

@media screen and (max-width: 768px) {
  .howto-coupon-box {
    padding: 16px;
    margin-bottom: 32px;
  }
  .howto-coupon-title {
    font-size: 1rem;
  }
  .howto-coupon-text {
    font-size: 0.85rem;
    text-align: left;
  }
  .howto-coupon-btns {
    gap: 12px;
  }
  .howto-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

/* --- LINE＆メルマガ登録 常設クーポンバナーエリア --- */
.banner-stack-block {
  max-width: 960px; /* バナーの最大幅に合わせる */
  margin: 32px auto 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.banner-stack-item {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: opacity 0.2s, transform 0.2s;
}
.banner-stack-item:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
.banner-stack-item img {
  width: 100%;
  height: auto;
  display: block;
}

@media screen and (max-width: 768px) {
  .banner-stack-block {
    margin: 24px auto 32px;
    gap: 12px;
  }
}

/* --- 10. ランキング iframe の高さ調整（自社サイト版） --- */
.ranking_iframe iframe {
  display: block;
  height: 570px;
}

@media screen and (max-width: 768px) {
  .ranking_iframe iframe {
    height: 850px;
  }
}