/* --------------------------------
  基本スタイル・テーマカラー
-------------------------------- */
:root {
  --gold: #c7a347;
  --gold-light: #f9edd0;
  --gold-soft: #fdf6e8;
  --accent: #f39a4a;
  --text-main: #333333;
  --text-sub: #666666;
  --border-light: #f0e3c0;
}

body {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: #fffdf7;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

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

/* --------------------------------
  ヘッダー
-------------------------------- */
.header {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.header .logo {
  text-align: center;
}

.header .logo img {
  width: 10%;
  max-width: 260px;
}

/* --------------------------------
  メインビジュアル
-------------------------------- */
.main-visual {
  position: relative;
  padding: 36px 0 42px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff9ec, #ffffff);
}

.main-visual-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 5% 0, rgba(249, 220, 164, 0.6), transparent 55%),
    radial-gradient(circle at 95% 0, rgba(255, 241, 207, 0.9), transparent 60%);
  opacity: 1;
  pointer-events: none;
}

.main-visual-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.main-visual-text {
  flex: 1 1 50%;
}

.main-visual-image {
  flex: 1 1 50%;
}

.main-visual img {
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* メインビジュアル内テキスト */
.mv-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border-radius: 999px;
  padding: 4px 12px;
  border: 1px solid var(--gold);
  background-color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
}

.mv-title {
  font-family: "azote", "Source Serif 4", serif;
  font-size: 34px;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  color: #b89432;
}

.mv-lead {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.mv-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11px;
  border: 1px solid var(--gold);
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--text-main);
}

.badge-ichiryumanbaibi {
  background: linear-gradient(135deg, #ffecc0, #f7cf7a);
  color: #4b2c00;
  border-color: transparent;
}

.badge-tenshabi {
  background: linear-gradient(135deg, #f7e6ff, #f6d899);
  color: #4a3169;
  border-color: transparent;
}

.mv-note {
  font-size: 12px;
  color: #b88b27;
  margin-top: 6px;
}

/* --------------------------------
  吉日の説明
-------------------------------- */
.luck-days {
  padding: 32px 0 14px;
  background-color: #ffffff;
}

.luck-days-title {
  text-align: center;
  font-size: 22px;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  color: #b89432;
}

.luck-days-lead {
  text-align: center;
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 24px;
}

.luck-days-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.luck-card {
  border-radius: 16px;
  padding: 18px 18px 20px;
  border: 1px solid var(--border-light);
  background: linear-gradient(135deg, #ffffff, #fff9ed);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.luck-card--ichiryumanbaibi {
  background: linear-gradient(135deg, #ffffff, #fff3d4);
}

.luck-card--tenshabi {
  background: linear-gradient(135deg, #ffffff, #f9f1ff);
}

.luck-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #b89432;
}

.luck-card p {
  font-size: 13px;
  color: var(--text-sub);
}

.luck-days-note {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--text-sub);
}

/* --------------------------------
  セレクションタイトル
-------------------------------- */
.saletitle {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: 0.18em;
  color: #b89432;
}

.saletitle-sub {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-sub);
}

/* --------------------------------
  商品セクション
-------------------------------- */
.products {
  padding: 36px 0 60px;
  background-color: #fffdf7;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.product-item {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.05);
  transition:
    box-shadow 0.3s,
    opacity 0.8s,
    transform 0.8s,
    border-color 0.3s;
  opacity: 0;
  transform: translateY(30px);
}

.product-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-item:hover {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
  border-color: #e6c874;
}

.product-item:nth-child(even) {
  flex-direction: row-reverse;
}

.product-item:nth-child(even) .product-item-details {
  text-align: left;
}

.product-item-image {
  flex: 1 1 45%;
  text-align: center;
  position: relative;
}

.product-image {
  margin-bottom: 18px;
}

.product-image img {
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.06);
}

.color-variations {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
  list-style: none;
  padding: 0;
}

.color-variations li {
  width: 48px;
  height: 48px;
  border: 1px solid #e5dec9;
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s;
}

.color-variations li:hover {
  transform: scale(1.08);
}

.color-variations li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-item-details {
  flex: 1 1 55%;
  text-align: left;
  position: relative;
}

/* カテゴリ・商品名・開運ラベル */
.product-category {
  font-size: 16px;
  line-height: 1.2;
  color: #b89432;
  margin-bottom: 6px;
  letter-spacing: 0.15em;
  font-family: "azote", "Advent Pro", sans-serif;
}

.product-name {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

.luck-label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 999px;
  border: 1px solid #e6c874;
  background-color: #fffaf0;
  color: #8a6112;
}

.luck-label--gold {
  background: linear-gradient(135deg, #ffecc0, #f7cf7a);
  color: #4b2c00;
  border-color: transparent;
}

.luck-label--soft {
  background: linear-gradient(135deg, #ffe2d6, #f6d296);
  color: #5a2f13;
  border-color: transparent;
}

.luck-label--color {
  background: linear-gradient(135deg, #f5e6ff, #f9d98e);
  color: #4d315e;
  border-color: transparent;
}

.luck-label--sparkle {
  background: linear-gradient(135deg, #fff8ea, #f8deb0);
  color: #5b3a2f;
  border-color: transparent;
}

/* 説明・価格 */
.product-description {
  font-size: 14px;
  margin-bottom: 18px;
  line-height: 1.9;
  color: var(--text-sub);
}

.product-price {
  font-size: 15px;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.product-price .sale-price {
  font-size: 22px;
  font-weight: bold;
  color: #b89432;
}

/* --------------------------------
  ボタン
-------------------------------- */
.btn {
  display: inline-block;
  background: radial-gradient(circle at 0% 0%, #fffdf3, #f3c97d);
  color: #4b2c00;
  padding: 12px 32px;
  text-decoration: none;
  border-radius: 999px;
  transition:
    background 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
  font-weight: bold;
  text-align: center;
  min-width: 210px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.btn:hover {
  background: radial-gradient(circle at 0% 0%, #ffffff, #ffe29a);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

/* --------------------------------
  その他リンク
-------------------------------- */
.other {
  text-align: center;
  padding: 0 0 40px;
  background-color: #fffdf7;
}

.other p {
  font-size: 14px;
  color: var(--text-sub);
}

.other a {
  display: block;
  margin: 16px auto 0;
  width: 230px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f3d38b, #f7c96a);
  color: #3e2300;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  transition:
    background 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
}

.other a:hover {
  background: linear-gradient(135deg, #ffffff, #ffe29a);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

/* --------------------------------
  フッター
-------------------------------- */
.footer {
  padding: 40px 0 45px;
  background-color: #ffffff;
  color: var(--text-sub);
  text-align: center;
  margin-top: 0;
  border-top: 1px solid var(--border-light);
}

/* --------------------------------
  レスポンシブ対応
-------------------------------- */
.sp-only {
  display: none;
}

@media (max-width: 767px) {
  .header .logo img {
    width: 36%;
  }

  .main-visual {
    padding: 24px 0 26px;
  }

  .main-visual-inner {
    flex-direction: column-reverse;
    gap: 20px;
  }

  .main-visual-image,
  .main-visual-text {
    flex: 0 0 auto;
  }

  .mv-title {
    font-size: 26px;
  }

  .mv-lead {
    font-size: 13px;
  }

  .mv-label {
    font-size: 11px;
  }

  .mv-note {
    font-size: 11px;
  }

  .sp-only {
    display: inline;
  }

  .luck-days {
    padding-top: 26px;
  }

  .luck-days-grid {
    grid-template-columns: 1fr;
  }

  .luck-card {
    padding: 14px 14px 16px;
  }

  .saletitle {
    margin-top: 34px;
    font-size: 18px;
  }

  .saletitle-sub {
    font-size: 12px;
  }

  .products {
    padding: 24px 0 40px;
  }

  .product-grid {
    gap: 26px;
  }

  .product-item {
    flex-direction: column;
    padding: 22px 18px;
    gap: 18px;
  }

  .product-item:nth-child(even) {
    flex-direction: column;
  }

  .product-item-details {
    text-align: left;
    width: 100%;
  }

  .product-category {
    font-size: 13px;
  }

  .product-name {
    font-size: 18px;
  }

  .product-description {
    font-size: 13px;
  }

  .product-price .sale-price {
    font-size: 19px;
  }

  .btn {
    width: 80%;
    min-width: auto;
  }

  .other a {
    width: 80%;
  }
}
