/*!
 * クリスマス特集2026 共通スタイル(総合ページ・読みもの共通)
 *   体裁は本店 Christmas_bra(/l/pc/event/Christmas_bra/)にそろえる:
 *   中央1カラム+両脇の生成り面と吊り飾り / Georgia の英字見出し+明朝 / 金の細枠と角のきらめき
 * @author SHIROHATO IGUCHI
 * (c) 2026 株式会社白鳩  All rights reserved.
 *
 * 【AI学習不可】本ファイルの内容（コード・文言・データ）を、機械学習および生成AIの
 *   学習、学習用データセットの作成に用いることを禁じます。そのための収集・複製・
 *   解析・再配布も同様です。
 *   No AI/ML training. This file must not be used to train, fine-tune or evaluate
 *   any machine learning or generative AI model, nor be included in training data.
 */
:root {
  --red: #9c201f;
  --red-d: #7d1615;
  --ink: #432e2a;
  --sub: #8a736a;
  --cream: #f8f4ec;
  --line: #ded5c9;
  --gold: #ae8c58;
  --gold-l: #e3c48e;
  --green: #22402f;
  --serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", Georgia, serif;
  --gothic: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --en: Georgia, "Times New Roman", serif;
  --hand: "Permanent Marker", "Segoe Print", cursive;
  --col: 500px;
  /* 章ごとに上書きする */
  --bg: #fff; --fg: var(--ink); --accent: var(--red); --frame: #a28c73; --sparkle: var(--gold);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--gothic); font-weight: 500; font-size: 14px; line-height: 1.9; letter-spacing: .04em; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- サイトヘッダー ---------- */
.site-hd { position: sticky; top: 0; z-index: 60; height: 46px; background: #fff; border-bottom: 1px solid var(--line); display: grid; place-items: center; }
.site-hd img { width: 120px; }

/* ---------- 中央1カラム+両脇 ---------- */
.page { position: relative; max-width: var(--col); margin: 0 auto; background: #fff; box-shadow: 0 0 0 1px var(--line); z-index: 1; }
.side { position: fixed; top: 46px; bottom: 0; width: calc((100vw - var(--col)) / 2); display: none; pointer-events: none; z-index: 0; }
.side--l { left: 0; }
.side--r { right: 0; }
.side img.hang { position: absolute; top: 0; width: min(92%, 460px); left: 50%; transform: translateX(-50%); opacity: .55; }
.side-word { position: absolute; left: 0; right: 0; top: 46%; text-align: center; font-family: var(--hand); font-size: clamp(28px, 3vw, 46px); line-height: 1.25; color: #d8d0c5; transform: rotate(-4deg); letter-spacing: .04em; }
.side-nav { position: absolute; left: 50%; top: 42%; transform: translateX(-50%); pointer-events: auto; list-style: none; margin: 0; padding: 0; font-family: var(--en); font-size: 15px; letter-spacing: .08em; }
.side-nav li { margin: 0 0 10px; }
.side-nav a { text-decoration: none; color: #8a736a; padding-bottom: 2px; border-bottom: 1px solid transparent; }
.side-nav a:hover { color: var(--red); border-color: var(--red); }
.side-nav a::before { content: "✦"; font-size: 9px; color: var(--gold); margin-right: 10px; vertical-align: 2px; }
@media (min-width: 1000px) { .side { display: block; } }

/* ---------- パンくず ---------- */
.bc { margin: 0; padding: 10px 16px 0; list-style: none; display: flex; flex-wrap: wrap; font-size: 10px; letter-spacing: .06em; }
.bc li + li::before { content: "·"; margin: 0 8px; }
.bc a { text-decoration: none; }

/* ---------- KV(赤い紙+白い線画) ---------- */
.hero { position: relative; overflow: hidden; background: var(--red) url(../img/hero_bg.jpg) center / cover; color: #fff; padding-bottom: 18px; }
.hero .bc { position: relative; z-index: 3; color: #fff; }
.hero-stage { position: relative; height: 0; padding-top: 112%; container-type: inline-size; }
.hero-stage > * { position: absolute; }
.doodle { z-index: 1; pointer-events: none; }
.doodle.d-tree { left: 2%; top: 40%; width: 13%; animation: bob 5.5s ease-in-out infinite; }
.doodle.deer { right: 1%; top: 38%; width: 15%; animation: bob 5s ease-in-out .8s infinite; }
.doodle.santa { left: 40%; bottom: 2%; width: 20%; animation: bob 4.5s ease-in-out infinite; }
.doodle.o1 { left: 31%; top: 3%; width: 6%; transform: rotate(-12deg); }
.doodle.o2 { right: 31%; top: 4%; width: 6%; transform: rotate(10deg); }
.doodle.o3 { left: 31%; bottom: 23%; width: 5%; }
.doodle.o4 { right: 31%; bottom: 25%; width: 6%; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-6px) rotate(2deg); } }
.hero-photo { z-index: 2; background: #fff; padding: 1.1%; box-shadow: 0 10px 22px rgba(40,0,0,.28); text-decoration: none; transition: transform .35s; }
.hero-photo img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.hero-photo:hover { transform: rotate(0) scale(1.06) !important; z-index: 4; }
.hero-photo.p1 { left: 5%; top: 6%; width: 24%; transform: rotate(-8deg); }
.hero-photo.p2 { left: 37%; top: 10%; width: 20%; transform: rotate(5deg); }
.hero-photo.p3 { right: 5%; top: 7%; width: 24%; transform: rotate(7deg); }
.hero-photo.p4 { left: 6%; bottom: 6%; width: 22%; transform: rotate(6deg); }
.hero-photo.p5 { right: 6%; bottom: 7%; width: 23%; transform: rotate(-6deg); }
.hero-title { z-index: 3; left: 17%; top: 39%; width: 66%; text-align: center; padding: 4% 0 3%; }
.hero-title svg { position: absolute; left: -4%; top: -6%; width: 108%; height: 112%; overflow: visible; }
.hero-title svg path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 1.8s ease .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-title small { position: relative; display: block; font-size: max(10px, 2.3cqw); letter-spacing: .1em; margin-bottom: 4px; }
.hero-title h1 { position: relative; margin: 0; font-family: var(--hand); font-weight: 400; font-size: 6.8cqw; line-height: 1.12; letter-spacing: .06em; }
.hero-title h1 span { display: block; }
.hero-copy { position: relative; z-index: 3; margin: 0 22px; text-align: center; font-size: 12.5px; line-height: 2.1; }
.hero-count { position: relative; z-index: 3; margin: 14px auto 0; width: max-content; text-align: center; font-family: var(--en); font-size: 11px; letter-spacing: .14em; border-top: 1px solid rgba(255,255,255,.5); border-bottom: 1px solid rgba(255,255,255,.5); padding: 4px 16px; }
.hero-count b { font-size: 26px; font-weight: 400; margin: 0 6px; vertical-align: -3px; }
@media (prefers-reduced-motion: reduce) { .doodle { animation: none !important; } .hero-title svg path { animation: none; stroke-dashoffset: 0; } }

/* 章ボタン(Christmas_bra の色ボタンと同じ形) */
.chips { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 18px 10px 0; margin-top: 18px; border-top: 1px solid rgba(255,255,255,.25); }
.chips a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 4px 6px; border: 1px solid rgba(255,255,255,.55); text-decoration: none; font-family: var(--en); font-size: 12px; letter-spacing: .08em; color: #fff; text-align: center; line-height: 1.3; transition: background .2s, color .2s; }
.chips a:hover { background: #fff; color: var(--red); }
.chips a i { width: 9px; height: 9px; border-radius: 50%; flex: none; border: 1px solid rgba(255,255,255,.7); }
.chips a.is-adv { grid-column: 1 / -1; background: #fff9ed; color: var(--red); border-color: #fff9ed; font-weight: 700; }
.chips a.is-adv:hover { background: var(--gold-l); }

/* ---------- 章(セクション) ---------- */
.chap { position: relative; background: var(--bg); color: var(--fg); padding: 54px 18px 56px; }
.chap-head { position: relative; margin: 0 0 26px; padding-right: 110px; min-height: 96px; }
.chap-label { margin: 0 0 6px; font-family: var(--en); font-size: 10px; letter-spacing: .2em; color: var(--accent); }
.chap-title { margin: 0; font-family: var(--en); font-weight: 400; font-size: 36px; line-height: 1.15; letter-spacing: .01em; }
.chap-sub { margin: 8px 0 0; font-size: 10px; letter-spacing: .12em; }
.chap-copy { margin: 22px 0 0; font-family: var(--serif); font-size: 13.5px; line-height: 2.1; }
.chap-ill { position: absolute; right: 0; top: 8px; width: 104px; }
.chap-head.chap--plain { padding-right: 0; min-height: 0; }
/* 章の配色(Christmas_bra の色面と同じ系統) */
.c-her { --bg: #f3e9e8; --accent: #976371; --frame: #c9aab0; --sparkle: #b58a92; }
.c-him { --bg: #29272b; --fg: #fff; --accent: #dfc8ae; --frame: #c8aa7f; --sparkle: #e3c48e; }
.c-family { --bg: #ecf0e8; --accent: #4a6857; --frame: #a8b8a6; --sparkle: #8aa18c; }
.c-kids { --bg: #fbf3e4; --accent: #b66b26; --frame: #d9bf98; --sparkle: #c99a5b; }
.c-friend { --bg: #e9f0f1; --accent: #38697a; --frame: #a9c0c6; --sparkle: #7fa2ad; }
.c-me { --bg: #9c201f; --fg: #fff; --accent: #fff0d8; --frame: #c8aa7f; --sparkle: #e3c48e; }
.c-white { --bg: #fff; }
.c-cream { --bg: #faf6ef; }
.c-green { --bg: var(--green); --fg: #fff; --accent: #e3c48e; --frame: #c8aa7f; --sparkle: #e3c48e; }
.c-him a, .c-me a, .c-green a { color: #fff; }

.chap-photo { margin: 0 -18px 30px; position: relative; }
.chap-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.chap-photo::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.7); pointer-events: none; }

/* ---------- 商品カード(金の細枠+角のきらめき) ---------- */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 16px; }
.card { display: block; text-decoration: none; color: inherit; }
.frame { position: relative; border: 1px solid var(--frame); padding: 5px; background: rgba(255,255,255,.35); }
.frame::before, .frame::after { content: "✦"; position: absolute; font-size: 15px; line-height: 1; color: var(--sparkle); }
.frame::before { left: -8px; top: -8px; }
.frame::after { right: -8px; bottom: -8px; }
.card:hover .frame::before, .card:hover .frame::after { animation: twinkle .9s ease; }
@keyframes twinkle { 50% { transform: scale(1.5) rotate(45deg); opacity: .6; } }
.frame img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #fff; }
.card-brand { margin: 12px 0 0; font-family: var(--en); font-size: 9.5px; letter-spacing: .1em; }
.card-name { margin: 4px 0 0; font-size: 11.5px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-badge { margin: 8px 0 0; font-size: 10.5px; font-weight: 700; color: var(--accent); }
.c-her .card-badge, .c-family .card-badge, .c-kids .card-badge, .c-friend .card-badge, .c-white .card-badge, .c-cream .card-badge { color: var(--red); }
.card-price { margin: 8px 0 0; font-family: var(--en); font-size: 18px; line-height: 1.3; }
.card-price small { font-family: var(--gothic); font-size: 9.5px; margin-left: 4px; }
.card-price s { font-size: 11px; opacity: .6; margin-right: 6px; }
.card-more { display: inline-block; margin-top: 10px; font-size: 10.5px; padding-bottom: 5px; border-bottom: 1px solid currentColor; }
.card-more::after { content: " ›"; }
.more-btn { display: block; width: 100%; margin: 40px 0 0; padding: 16px; border: 1px solid currentColor; background: transparent; color: inherit; font: inherit; font-size: 12px; letter-spacing: .08em; cursor: pointer; text-align: center; text-decoration: none; transition: background .2s; }
.more-btn:hover { background: rgba(0,0,0,.04); }
.c-him .more-btn:hover, .c-me .more-btn:hover, .c-green .more-btn:hover { background: rgba(255,255,255,.08); }
.more-btn.is-solid { background: var(--red); border-color: var(--red); color: #fff; }
.more-btn.is-solid:hover { background: var(--red-d); }
.grid .is-extra { display: none; }
.grid.is-open .is-extra { display: block; animation: rise .5s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* ---------- アドベントカレンダー ---------- */
.adv-box { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; }
.adv-pic { position: relative; }
.adv-pic img { width: 150px; }
.adv-today { font-family: var(--en); font-size: 12px; letter-spacing: .14em; margin: 0 0 6px; color: var(--accent); }
.adv-today b { font-size: 34px; font-weight: 400; color: #fff; letter-spacing: .02em; margin-left: 6px; }
.adv-note { margin: 0; font-size: 12px; line-height: 1.9; }
.adv-star { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-l); box-shadow: 0 0 10px 3px rgba(227,196,142,.8); animation: glow 2s ease-in-out infinite; }
@keyframes glow { 50% { opacity: .35; transform: scale(.7); } }

/* ---------- ギフトボックス ---------- */
.giftbox { display: grid; justify-items: center; text-align: center; }
.giftbox button.box { position: relative; width: 220px; height: 220px; border: 0; padding: 0; background: none; cursor: pointer; }
.giftbox button.box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .35s, transform .35s; }
.giftbox .g-open { opacity: 0; transform: scale(.92); }
.giftbox button.is-open .g-close { opacity: 0; transform: scale(1.06); }
.giftbox button.is-open .g-open { opacity: 1; transform: none; }
.giftbox button.box:not(.is-open):hover .g-close { animation: shake .6s ease; }
@keyframes shake { 20% { transform: rotate(-4deg); } 40% { transform: rotate(4deg); } 60% { transform: rotate(-2deg); } 80% { transform: rotate(2deg); } }
.giftbox > p { margin: 6px 0 0; font-size: 11.5px; color: var(--sub); }
.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; width: 100%; text-align: left; }
.picks .card { opacity: 0; transform: translateY(26px) scale(.8); transition: transform .6s cubic-bezier(.2,1.5,.4,1), opacity .35s; }
.picks .card.is-in { opacity: 1; transform: none; }
.picks .card-name { font-size: 10.5px; }
.picks .card-price { font-size: 15px; }
.spark { position: absolute; pointer-events: none; z-index: 70; color: var(--gold); font-size: 14px; line-height: 1; animation: spark 1.3s ease-out forwards; }
@keyframes spark { to { transform: translate(var(--dx), var(--dy)) rotate(180deg) scale(.4); opacity: 0; } }

/* ---------- 予算 ---------- */
.budget-btns { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin: 0 0 12px; }
.budget-btns button { border: 1px solid var(--frame); background: #fff; padding: 9px 2px; font-family: var(--en); font-size: 12.5px; color: var(--ink); cursor: pointer; line-height: 1.3; }
.budget-btns button small { display: block; font-family: var(--gothic); font-size: 9px; color: var(--sub); }
.budget-btns button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.budget-btns button[aria-pressed="true"] small { color: #fff; }
.count { margin: 0 0 24px; font-size: 11px; color: var(--sub); }

/* ---------- ランジェリー(Christmas_bra へ) ---------- */
.colors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 30px; }
.colors a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; border: 1px solid var(--frame); text-decoration: none; font-family: var(--en); font-size: 11.5px; letter-spacing: .06em; background: #fff; }
.colors a:hover { border-color: var(--red); color: var(--red); }
.colors i { width: 10px; height: 10px; border-radius: 50%; flex: none; }

/* ---------- ラッピング ---------- */
.photo { margin: 0 -18px 26px; }
.photo img { width: 100%; }
.facts { list-style: none; margin: 0 0 30px; padding: 0; font-size: 12.5px; }
.facts li { position: relative; padding: 11px 0 11px 20px; border-bottom: 1px solid var(--line); }
.facts li::before { content: "✦"; position: absolute; left: 0; top: 12px; font-size: 10px; color: var(--gold); }

/* ---------- 読みもの一覧 ---------- */
.notes { list-style: none; margin: 0; padding: 0; }
.notes li + li { margin-top: 22px; }
.notes a { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; text-decoration: none; }
.notes .frame img { aspect-ratio: 4 / 3; }
.notes small { font-family: var(--en); font-size: 10px; letter-spacing: .16em; color: var(--accent); }
.notes h3 { margin: 2px 0 4px; font-family: var(--serif); font-size: 15px; line-height: 1.55; }
.notes p { margin: 0; font-size: 11px; line-height: 1.8; color: var(--sub); }
.notes a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 隠れオーナメント・フッターのツリー ---------- */
.hid { position: absolute; width: 34px; height: 56px; border: 0; padding: 0; background: none; cursor: pointer; z-index: 5; }
.hid img { width: 100%; height: 100%; object-fit: contain; }
.hid:hover { animation: shake .6s ease; }
.hid.is-found { animation: hidFly .7s ease-in forwards; pointer-events: none; }
@keyframes hidFly { to { transform: translateY(-50px) scale(0); opacity: 0; } }
.ft { text-align: center; background: #fff; padding: 46px 18px 30px; border-top: 1px solid var(--line); }
.tree { position: relative; width: 150px; margin: 0 auto 6px; }
.tree img.base { width: 100%; }
.tree .slot { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; border: 1px dashed #c9bfb3; background: #fff; transition: background .3s, border-color .3s; }
.tree .slot.is-on { border: 0; box-shadow: 0 0 8px rgba(227,196,142,.9); }
.tree .slot.s1.is-on { background: var(--red); }
.tree .slot.s2.is-on { background: var(--gold); }
.tree .slot.s3.is-on { background: #4a6857; }
.tree.is-done img.base { filter: drop-shadow(0 0 6px rgba(227,196,142,.9)); }
.tree-msg { margin: 0 0 26px; font-size: 11.5px; color: var(--sub); min-height: 1.8em; }
.tree.is-done + .tree-msg { color: var(--red); font-weight: 700; }
.ft-links { list-style: none; margin: 0 0 22px; padding: 0; font-size: 11.5px; display: grid; gap: 6px; }
.ft-logo img { width: 110px; margin: 0 auto 8px; }
.ft-copy { margin: 0; font-size: 10px; color: var(--sub); font-family: var(--en); }
.totop { position: fixed; right: 14px; bottom: 14px; z-index: 50; width: 50px; height: 58px; display: grid; place-items: end center; padding-bottom: 8px; background: #fff9ed; border: 1px solid #a28c73; border-radius: 25px 25px 4px 4px; text-decoration: none; font-family: var(--en); font-size: 10px; letter-spacing: .1em; color: var(--ink); }
.totop::before { content: "↑"; position: absolute; top: 8px; left: 0; right: 0; text-align: center; font-size: 16px; }

/* ---------- 読みものページ ---------- */
.art-hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.art-head { padding: 34px 18px 0; }
.art-head h1 { margin: 6px 0 0; font-family: var(--serif); font-size: 24px; line-height: 1.6; letter-spacing: .06em; }
.art-lead { margin: 18px 0 0; padding-bottom: 26px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 13.5px; line-height: 2.1; }
.art { padding: 0 18px 40px; }
.art h2 { position: relative; margin: 46px 0 16px; padding: 0 0 10px; font-family: var(--serif); font-size: 18px; line-height: 1.6; border-bottom: 1px solid var(--frame); }
.art h2::before { content: "✦"; color: var(--gold); font-size: 12px; margin-right: 10px; vertical-align: 2px; }
.art h3 { margin: 26px 0 6px; font-size: 14px; }
.art p { margin: 0 0 16px; }
.art ul, .art ol { padding-left: 1.4em; margin: 0 0 18px; }
.art li { margin-bottom: 6px; }
.art a:not(.card):not(.more-btn) { color: var(--red); }
.art table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 12.5px; }
.art th, .art td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
.art tr > :first-child { width: 34%; font-weight: 700; }
.art tr:first-child > * { border-top: 1px solid var(--line); }
.art th { background: var(--cream); }
.art-items { margin: 26px 0 34px; }
.memo { background: var(--cream); padding: 16px 18px; margin: 0 0 20px; font-size: 12.5px; border: 1px solid var(--line); }
.ill { width: 120px; margin: 10px auto 20px; }
.msg-cards { display: grid; gap: 12px; margin: 0 0 22px; }
.msg-cards figure { position: relative; margin: 0; padding: 18px 18px 14px; border: 1px solid var(--frame); background: #fffdf8; font-family: var(--serif); font-size: 14px; line-height: 1.9; transition: transform .3s; }
.msg-cards figure::before { content: "✦"; position: absolute; left: -7px; top: -8px; color: var(--gold); font-size: 13px; }
.msg-cards figure:nth-child(odd):hover { transform: rotate(-1.2deg); }
.msg-cards figure:nth-child(even):hover { transform: rotate(1.2deg); }
.msg-cards figcaption { font-family: var(--en); font-size: 10px; letter-spacing: .14em; color: var(--sub); margin-top: 6px; }
.colorbar { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 24px; }
.colorbar div { padding: 18px 6px 12px; color: #fff; font-family: var(--serif); font-size: 17px; text-align: center; transition: transform .3s; }
.colorbar div:hover { transform: translateY(-5px); }
.colorbar small { display: block; font-family: var(--en); font-size: 9.5px; letter-spacing: .1em; opacity: .9; }
.stk { display: flex; justify-content: center; gap: 10px; margin: 6px 0 12px; }
.stk button { width: 90px; height: 130px; border: 0; padding: 0; background: none; cursor: pointer; transform-origin: 50% 0; }
.stk button img { width: 100%; height: 100%; object-fit: contain; }
.stk button:hover, .stk button.is-on { animation: swing 1s ease; }
@keyframes swing { 25% { transform: rotate(8deg); } 55% { transform: rotate(-6deg); } 80% { transform: rotate(2deg); } }
.stk-out { min-height: 4.2em; padding: 14px 16px; border: 1px solid var(--frame); background: #fffdf8; font-family: var(--serif); font-size: 13px; margin-bottom: 10px; position: relative; }
.stk-out::before { content: "✦"; position: absolute; left: -7px; top: -8px; color: var(--gold); }

/* ---------- PC両脇: 揺れるオーナメント(マウスを乗せると揺れる) ---------- */
.side-hang { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(92%, 460px); display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; }
.side-hang span { display: block; transform-origin: 50% 0; pointer-events: auto; cursor: pointer; }
.side-hang img { width: auto; height: min(230px, calc((100vw - var(--col)) * .3)); opacity: .62; transition: opacity .3s; }
.side-hang span:hover img { opacity: .95; }
.side-hang span.is-swing { animation: sideSwing 1.8s cubic-bezier(.3,.6,.4,1); }
@keyframes sideSwing {
  0% { transform: rotate(0); } 14% { transform: rotate(calc(var(--dir, 1) * 12deg)); } 32% { transform: rotate(calc(var(--dir, 1) * -9deg)); }
  50% { transform: rotate(calc(var(--dir, 1) * 6deg)); } 68% { transform: rotate(calc(var(--dir, 1) * -3deg)); } 84% { transform: rotate(calc(var(--dir, 1) * 1.5deg)); } 100% { transform: rotate(0); }
}
@media (prefers-reduced-motion: reduce) { .side-hang span.is-swing { animation-duration: .01s; } }

/* ---------- 追加の章の配色 ---------- */
.c-partner { --bg: #4a1820; --fg: #fff; --accent: #f2c9b8; --frame: #c8aa7f; --sparkle: #e3c48e; }
.c-self { --bg: #f6ece4; --accent: #a0645a; --frame: #d4b3a6; --sparkle: #c0897c; }
.c-trivia { --bg: #fffaf0; --accent: #9c201f; --frame: #d9c39c; --sparkle: #ae8c58; }
.c-partner a { color: #fff; }
.c-partner .more-btn:hover { background: rgba(255,255,255,.08); }
.c-self .card-badge, .c-trivia .card-badge { color: var(--red); }

/* ---------- 読みもの(上部・2列) ---------- */
.note-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 14px; list-style: none; margin: 0; padding: 0; }
.note-grid a { display: block; text-decoration: none; }
.note-grid .frame img { aspect-ratio: 4 / 3; }
.note-grid small { display: block; margin-top: 10px; font-family: var(--en); font-size: 9.5px; letter-spacing: .16em; color: var(--accent); }
.note-grid h3 { margin: 2px 0 0; font-family: var(--serif); font-size: 13.5px; line-height: 1.6; }
.note-grid a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.note-grid .is-new small::after { content: "NEW"; margin-left: 8px; padding: 0 5px; background: var(--red); color: #fff; letter-spacing: .1em; }

/* ---------- 豆知識(めくるカード) ---------- */
.flips { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; list-style: none; margin: 0; padding: 0; }
.flip { perspective: 900px; }
.flip button { display: grid; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3,.7,.3,1); }
.flip.is-open button { transform: rotateY(180deg); }
.flip .face { grid-area: 1 / 1; position: relative; min-height: 150px; padding: 18px 14px 14px; border: 1px solid var(--frame); background: #fff; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.flip .face::before { content: "✦"; position: absolute; left: -7px; top: -8px; color: var(--sparkle); font-size: 13px; }
.flip .q i, .flip .a i { display: block; font-style: normal; font-family: var(--en); font-size: 22px; line-height: 1; color: var(--accent); margin-bottom: 8px; }
.flip .q b { display: block; font-family: var(--serif); font-size: 14px; line-height: 1.65; }
.flip .q small { position: absolute; right: 10px; bottom: 8px; font-family: var(--en); font-size: 9.5px; letter-spacing: .12em; color: var(--sub); }
.flip .a { transform: rotateY(180deg); background: #fffdf8; font-size: 12px; line-height: 1.85; }
.art .flips { margin: 0 0 26px; }

/* ---------- 総合ページ: ガーランドからぶら下がるコンテンツ ---------- */
.garland { position: relative; margin: 0 -18px 20px; padding: 0 0 6px; }
.garland + .garland { margin-top: 26px; }
.garland .rope { position: absolute; left: 0; top: 0; width: 100%; height: 70px; overflow: visible; z-index: 2; pointer-events: none; }
.garland .rope path { fill: none; stroke: currentColor; stroke-width: 1.4; opacity: .55; }
.garland .rope circle { animation: blink 2.6s ease-in-out infinite; }
.garland .rope circle:nth-of-type(2n) { animation-delay: 1.3s; }
@keyframes blink { 50% { opacity: .35; } }
.hangs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; list-style: none; margin: 0; padding: 0 18px; }
.hangs.one { grid-template-columns: 1fr; padding: 0 12%; }
/* ひもの付け根=ロープの高さ(2列は 25%/75% 地点 約30px、1列は中央 約36px) */
.hangs li { --root: 30px; position: relative; padding-top: calc(var(--root) + var(--drop, 20px)); transform-origin: 50% var(--root); }
.hangs.one li { --root: 37px; }
.hangs li::before { content: ""; position: absolute; left: 50%; top: var(--root); height: var(--drop, 20px); border-left: 1px dashed currentColor; opacity: .6; }
.hangs li::after { content: ""; position: absolute; left: 50%; top: calc(var(--root) - 3px); width: 7px; height: 7px; margin-left: -3px; border-radius: 50%; background: var(--sparkle); }
.hangs li.is-swing { animation: sideSwing 1.8s cubic-bezier(.3,.6,.4,1); }
.hang-card { display: block; text-decoration: none; color: inherit; }
.hang-card .frame img { aspect-ratio: 4 / 3; }
.hangs.one .hang-card .frame img { aspect-ratio: 1200 / 630; }
.hang-card small { display: block; margin-top: 10px; font-family: var(--en); font-size: 10px; letter-spacing: .14em; color: var(--accent); }
.hang-card small em { font-style: normal; margin-left: 8px; padding: 0 5px; background: var(--red); color: #fff; letter-spacing: .1em; }
.hang-card h3 { margin: 3px 0 4px; font-family: var(--serif); font-size: 14px; line-height: 1.55; }
.hangs.one .hang-card h3 { font-size: 17px; }
.hang-card p { margin: 0; font-size: 11px; line-height: 1.75; opacity: .8; }
.hang-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.c-green .garland, .c-green .hang-card { color: #fff; }

/* ---------- 全ページ下部: バナー・関連リンク(Christmas_bra と同じ並び) ---------- */
.ft-bnr { background: #fff; padding: 46px 18px 40px; border-top: 1px solid var(--line); text-align: center; }
.xmas-cta { position: relative; display: block; margin: 0 0 40px; padding: 22px 70px; border: 1px solid var(--red); color: var(--red); text-decoration: none; font-family: var(--serif); font-size: 17px; line-height: 1.6; font-weight: 700; transition: background .2s, color .2s; }
.xmas-cta img { position: absolute; left: 12px; bottom: 6px; width: 52px; }
.xmas-cta:hover { background: var(--red); color: #fff; }
.xmas-cta:hover img { filter: brightness(0) invert(1); }
.bnr-ttl { margin: 0 0 10px; font-family: var(--serif); font-size: 15px; font-weight: 700; }
.bnr-ttl.en { margin-top: 30px; font-family: var(--en); font-weight: 400; font-size: 18px; letter-spacing: .04em; }
.bnr { display: block; transition: opacity .2s; }
.bnr:hover { opacity: .85; }
.bnr img { width: 100%; }
.xmas-links { margin: 36px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.xmas-links p { margin: 0 0 10px; font-family: var(--en); font-size: 12px; letter-spacing: .16em; color: var(--red); }
.xmas-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: 11.5px; }
.xmas-links a { text-decoration: none; border-bottom: 1px solid var(--line); }
.xmas-links a:hover { border-color: var(--red); color: var(--red); }
.ft-note { margin: 26px 0 0; padding: 14px 16px; background: var(--cream); text-align: left; font-size: 10.5px; line-height: 1.8; color: var(--sub); }
.ft-note p { margin: 0; }

/* ---------- Christmas Socks の KV(写真の上の余白に題字) ---------- */
.sx-hero { position: relative; background: #fff; }
.sx-hero img { width: 100%; }
.sx-copy { position: relative; z-index: 2; padding: 34px 18px 0; text-align: center; }
.sx-hero > img { position: relative; z-index: 1; margin-top: -10%; }
.sx-copy h1 { margin: 4px 0 10px; font-family: var(--serif); font-size: 15px; letter-spacing: .14em; font-weight: 700; }
.sx-copy h1 span { display: block; font-family: var(--en); font-weight: 400; font-size: 40px; letter-spacing: .01em; color: var(--red); margin-bottom: 4px; }
.sx-copy > p:last-child { margin: 0; font-family: var(--serif); font-size: 12.5px; line-height: 2; }
.chips--ink { margin: 0; padding: 14px 10px 18px; border-top: 1px solid var(--line); background: #fff; }
.chips--ink a { color: var(--ink); border-color: var(--frame); }
.chips--ink a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.chips--ink a i { border-color: var(--line); }

/* ---------- 読みもの内: トレンドトピックスで読む ---------- */
.topic-links { margin: 30px 0 24px; padding: 16px 18px 12px; border: 1px solid var(--frame); background: #fffdf8; position: relative; }
.topic-links::before { content: "✦"; position: absolute; left: -7px; top: -8px; color: var(--gold); font-size: 13px; }
.topic-links p { margin: 0 0 8px; font-family: var(--en); font-size: 10.5px; letter-spacing: .14em; color: var(--red); }
.topic-links ul { margin: 0; padding-left: 1.2em; font-size: 12.5px; }
.topic-links li { margin-bottom: 6px; }
