/* =========================================================
   クリスマス・スペシャル（季節の着せかえ）
   style.css のあとに読む。外せば いつもの ひるジャム に戻る
   ========================================================= */
:root {
  --paper: #f7f3ea;
  --paper-2: #ebe6d6;
  --card: #fffbf3;
  --kraft: #9fb894;      /* もみの葉（淡） */
  --accent: #c8973f;     /* 金（オーナメント） */
  --accent-ink: #a3322b; /* クランベリー（文字） */
  --rust: #a3322b;
  --accent-2: #3f6b4e;   /* もみの葉（濃） */
  --pine: #2f5a43;
  --berry: #b8362e;
  --snow: #ffffff;
}

/* ---- 右上の丸：もみの緑に、雪の水玉 ---- */
.sun {
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.55) 0 3px, transparent 4px) 0 0 / 46px 46px,
    radial-gradient(circle at 70% 75%, rgba(255,255,255,.35) 0 2px, transparent 3px) 0 0 / 34px 34px,
    #7fa287;
  opacity: .6;
}
.lang { position: absolute; }

/* ---- CHRISTMAS SPECIAL の札 ---- */
.xmas-tag {
  display: flex; justify-content: flex-end; align-items: center; gap: 6px;
  margin: 8px 0 -4px; animation: rise .9s .12s cubic-bezier(.2,.8,.2,1) both;
}
.xmas-tag span {
  display: inline-block; transform: rotate(-3deg);
  background: var(--berry); color: #fff; border-radius: 6px; padding: 4px 12px 3px;
  font-family: var(--f-pop); font-weight: 800; font-size: 14px; letter-spacing: .12em;
  box-shadow: 2px 3px 0 var(--pine);
}
.xmas-tag svg { width: 30px; height: 30px; transform: rotate(10deg); }

/* ---- 次回日程のカード：角にヒイラギ ---- */
.next { position: relative; }
.next .holly { position: absolute; z-index: 4; width: 62px; height: 62px; right: -12px; top: -22px; transform: rotate(14deg); pointer-events: none; }

/* ---- 楽器の上の音符：赤・緑・金と、星 ---- */
.n1 { color: var(--berry); }
.n2 { color: var(--pine); }
.n3 { color: var(--accent); }
.n4 { color: var(--berry); }

/* ---- 流れる帯：もみの緑に金の星 ---- */
.marquee { background: var(--pine); }
.marquee i { color: var(--accent); }


/* ---- フッター：もみの緑 ---- */
.foot { background: var(--pine); color: rgba(255,255,255,.78); }
.foot__links a { color: #fff; }
.foot__logo { filter: invert(1) brightness(1.6); }

/* ---- グッズ・カードの見出しの飾り ---- */
.eyebrow { color: var(--pine); }

/* ヒイラギ（カードの中身は main.js が描き直すので、飾りは ::after で） */
.next::after { content: ""; position: absolute; z-index: 4; width: 64px; height: 64px; right: -10px; top: -26px; transform: rotate(14deg); background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2064%2064%22%3E%3Cg%20stroke%3D%22%231f3d2e%22%20stroke-width%3D%221.6%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M31%2033%20C24%2022%2014%2020%204%2023%20C8%2025%207%2029%2011%2030%20C9%2033%2012%2035%2015%2034%20C15%2038%2019%2038%2021%2037%20C22%2040%2027%2039%2031%2033Z%22%20fill%3D%22%232f5a43%22/%3E%3Cpath%20d%3D%22M33%2033%20C40%2022%2050%2020%2060%2023%20C56%2025%2057%2029%2053%2030%20C55%2033%2052%2035%2049%2034%20C49%2038%2045%2038%2043%2037%20C42%2040%2037%2039%2033%2033Z%22%20fill%3D%22%233f6b4e%22/%3E%3C/g%3E%3Cg%20stroke%3D%22%236e1a15%22%20stroke-width%3D%221.4%22%3E%3Ccircle%20cx%3D%2227%22%20cy%3D%2238%22%20r%3D%225.4%22%20fill%3D%22%23b8362e%22/%3E%3Ccircle%20cx%3D%2237%22%20cy%3D%2238%22%20r%3D%225.4%22%20fill%3D%22%23c4423a%22/%3E%3Ccircle%20cx%3D%2232%22%20cy%3D%2245%22%20r%3D%225.4%22%20fill%3D%22%23a3322b%22/%3E%3C/g%3E%3Ccircle%20cx%3D%2225.5%22%20cy%3D%2236.5%22%20r%3D%221.4%22%20fill%3D%22%23fff%22%20opacity%3D%22.7%22/%3E%3Ccircle%20cx%3D%2235.5%22%20cy%3D%2236.5%22%20r%3D%221.4%22%20fill%3D%22%23fff%22%20opacity%3D%22.7%22/%3E%3C/svg%3E") no-repeat center / contain; pointer-events: none; }

/* 「at 江津Mac」が緑の丸に重なっても読めるように */
.at { display: table; margin-left: auto; background: var(--card); color: var(--pine); border-radius: 99px; padding: 1px 12px; position: relative; z-index: 2; }

/* ---- 雪（js/xmas.js が ひとつぶずつ 置く。動きを減らす設定の人には出さない） ---- */
.snow { position: fixed; inset: 0; z-index: 50; pointer-events: none; overflow: hidden; }
.snow i {
  position: absolute; top: -12px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 1px rgba(140,165,172,.45);
  animation: fall linear infinite;
}
@keyframes fall {
  0%   { transform: translate(0, -2vh); opacity: 0; }
  10%  { opacity: .95; }
  50%  { transform: translate(var(--dx), 50vh); }
  100% { transform: translate(0, 104vh); opacity: .8; }
}
@media (prefers-reduced-motion: reduce) { .snow { display: none; } }

/* NEXT SESSION の ひとこと：クリスマスの札ふう */
.next__note {
  display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0;
  background: #f6ece4; border: 2px dashed rgba(163,50,43,.45); border-radius: 14px; padding: 10px 14px;
  color: var(--ink); font-size: 14px; line-height: 1.7;
}
.next__note::before { content: "★"; color: var(--accent); font-size: 16px; line-height: 1.5; }
