/* =============================
   🎄 Base Style（全体共通）
============================= */
body.xmas {
  background-color: #ffeeee; /* 明るいピンク */
  color: #5a1a1a;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.9;
  margin: 0;
  padding: 0;
}

/* 見出し */
body.xmas h1,
body.xmas h2 {
  color: #b22222; /* 深いボルドー */
  text-shadow: 0 0 10px rgba(255, 200, 200, 0.6);
}

/* サブタイトル */
body.xmas .subtitle {
  font-size: 1.2rem;
  color: #a02c2c;
  text-shadow: 0 0 8px rgba(255, 190, 150, 0.6);
}

/* テキストボックス */
body.xmas .text-box {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 20px 25px;
  margin: 0 auto 50px;
  width: 75%;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(120, 40, 40, 0.1);
}

body.xmas p {
  color: #5a1a1a;
}

/* 🎄 リストアイコン */
body.xmas ul li {
  list-style-type: "🎄 ";
  margin-left: 40px;
}

/* =============================
   🎄 Header（黒シアー + スマホ最適化）
============================= */

header.sub-header {
  background: rgba(0, 0, 0, 0.45); /* 黒シアー */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* 戻るボタン（上） */
header.sub-header .back-button {
  display: inline-block;
  background-color: #ffb6c1;
  color: white;
  padding: 10px 26px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

header.sub-header .back-button:hover {
  background-color: #ff9bb0;
  transform: translateY(-2px);
}

/* =============================
   🎄 Banner Image（レスポンシブ）
============================= */
body.xmas .detail-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  margin: 20px auto 40px;
}

/* =============================
   🎄 Footer（Spring と完全統一）
============================= */
body.xmas footer {
  background-color: #ffeeee;
  text-align: center;
  padding: 60px 0 30px;
  border: none;
}

/* フッター中央ボタン */
body.xmas .back-button.bottom {
  display: inline-block;
  text-align: center;
  padding: 14px 60px;
  font-size: 1.1rem;
  background-color: #ffb6c1;
  color: white;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  border: none;
  margin-bottom: 20px;
}

body.xmas .back-button.bottom:hover {
  background-color: #ff9bb0;
  transform: translateY(-2px);
  box-shadow: 0 0 10px rgba(255, 155, 176, 0.6);
}

/* =============================
   📱 スマホ最適化（768px以下）
============================= */
@media (max-width: 768px) {

  /* ヘッダーもっと小さく（Spring と完全一致） */
  header.sub-header {
    padding: 16px 20px !important;
    flex-direction: column; /* 縦並び */
    gap: 10px;
  }

  header.sub-header .back-button {
    padding: 8px 20px;
    font-size: 0.9rem;
    margin: 0 auto;
  }

  header.sub-header .warm-title {
    font-size: clamp(22px, 6vw, 30px);
    text-align: center;
    line-height: 1.3;
    margin: 0;
  }

  header.sub-header .subtitle {
    font-size: 14px;
  }

  /* 画像の余白 */
  body.xmas .detail-image {
    margin-top: 10px;
  }
}

/* =============================
   📱 さらに小さいスマホ（480px以下）
============================= */
@media (max-width: 480px) {

  header.sub-header {
    padding: 14px 14px !important;
    gap: 8px;
  }

  header.sub-header .back-button {
    padding: 6px 16px !important;
    font-size: 0.85rem !important;
  }

  header.sub-header .warm-title {
    font-size: clamp(20px, 7vw, 26px) !important;
  }

  body.xmas .detail-image {
    border-radius: 10px;
  }
}

/* 🎄 Xmas 背景を最優先で適用（最強） */
body.xmas {
  background: #ffeeee !important;   /* ← これが最強。背景を完全に上書き */
}

/* ★ ブラックシアーヘッダー：Spring Day 仕様に統一 ★ */
header.sub-header {
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;

  /* ←これがめちゃ重要（タイトルの余白）*/
  padding: 60px 60px 40px 60px;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* タイトルは header 内で位置調整、余白は削除する */
header.sub-header h1 {
  margin: 0;
  padding: 0; /* ←これで黒シアーの続きが綺麗になる */
  text-align: right;
  width: 100%;
}

/* スマホ */
@media (max-width: 768px) {
  header.sub-header {
    padding: 30px 20px 20px 20px;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  header.sub-header h1 {
    text-align: center;
  }
}
