@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&family=Noto+Serif+JP:wght@600;700&family=Cinzel:wght@600;700&display=swap');

/* ==========================================================================
   カラーパレット定義 (2026年版: 深い夜空の青 × 上品なゴールド × ワインレッド)
   - 背景色 (Deep Navy / Night Sky): #0a1931 / #061224
   - メインアクセント (Navy Blue / 店名カラー): #16385c
   - サブアクセント (Wine Red / 落ち着いた赤): #9c2431
   - アクセントゴールド (Christmas Gold): #f1c40f / #d4ac0d
   - コンテンツ背景 (Card White): #ffffff
   - テキスト色 (Dark Gray): #333333
   ========================================================================== */

/* ===========================================
   1. 基本設定 (Base & Typography)
   =========================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    /* 背景色: 深い夜空の青 (画像 bg が巨大または読み込み前でも美しいグラデーション) */
    background-color: #081528;
    background-image: 
        radial-gradient(circle at 50% 10%, rgba(26, 54, 93, 0.6) 0%, rgba(8, 21, 40, 0.95) 100%),
        url('../img/bg-pc.png');
    background-repeat: repeat-y;
    background-position: top center;
    background-size: 1920px auto;
    color: #333333;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

@media (max-width: 768px) {
    body {
        background-image: 
            radial-gradient(circle at 50% 10%, rgba(26, 54, 93, 0.6) 0%, rgba(8, 21, 40, 0.95) 100%),
            url('../img/bg-sp.png');
        background-size: 100% auto;
    }
}

/* ===========================================
   2. 背景キラキラ層 (kirakira レイヤー)
   =========================================== */
.bg-kirakira-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1; /* bg の上、コンテンツの下 */
    background-image: url('../img/kirakira-pc.png');
    background-repeat: repeat;
    background-position: center top;
    background-size: 1920px auto;
    opacity: 0.85;
    /* GPUレイヤー分離でスクロール時の再描画負荷をゼロに */
    transform: translateZ(0);
    will-change: transform;
}

@media (max-width: 768px) {
    .bg-kirakira-layer {
        background-image: url('../img/kirakira-sp.png');
        background-size: 375px auto;
    }
}

/* ===========================================
   2-B. 黄金の流れる星屑ストリーム ＆ キラキラ星 (CSS/SVG完全描画)
   - サンタのソリの軌跡を描く横方向の光の帯 (左から右へ流れる)
   - ランダムに瞬く大小のクロススター
   =========================================== */
.celestial-sparkle-stream {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 950px;
    overflow: hidden;
    pointer-events: none;
    z-index: 3; /* bg(0), kirakira(1), moon(2) の前面、コンテンツ(5)の背面 */
    transform: translateZ(0);
    will-change: transform;
}

.sparkle-stream-svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* 左から右へ流れる光の帯アニメーション (前回の横方向の流線に戻す) */
.stream-ribbon {
    stroke-dasharray: 260 220;
    animation: flowStream 15s linear infinite;
}

.stream-ribbon--fast {
    stroke-dasharray: 190 280;
    animation: flowStream 11s linear infinite;
}

.stream-ribbon--sub {
    stroke-dasharray: 140 320;
    animation: flowStream 19s linear infinite;
}

.stream-ribbon--glow {
    stroke-dasharray: 300 200;
    animation: flowStream 9s linear infinite;
    filter: drop-shadow(0 0 10px rgba(241, 196, 15, 0.75));
}

@keyframes flowStream {
    0% {
        stroke-dashoffset: 3000;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

/* ===========================================
   クロススターの瞬き (位置移動ゼロ・純粋なフェードイン/フェードアウト)
   - 位置の移動（X軸・Y軸）は完全にゼロ (その場から1ミリも動かない)
   - 純粋に光がふんわり強くなり、静かに弱くなる「またたき」
   - 星ごとに周期とタイミングをランダムにずらす
   =========================================== */
.pure-twinkle {
    will-change: opacity, filter;
}

/* パターンA: 周期 3.0秒 / 遅延 0.2秒 */
.twinkle-a {
    animation: pureTwinkleGlow 3.0s ease-in-out infinite;
    animation-delay: 0.2s;
}

/* パターンB: 周期 4.4秒 / 遅延 1.6秒 */
.twinkle-b {
    animation: pureTwinkleGlow 4.4s ease-in-out infinite;
    animation-delay: 1.6s;
}

/* パターンC: 周期 2.6秒 / 遅延 0.8秒 */
.twinkle-c {
    animation: pureTwinkleGlow 2.6s ease-in-out infinite;
    animation-delay: 0.8s;
}

/* パターンD: 周期 5.2秒 / 遅延 2.5秒 */
.twinkle-d {
    animation: pureTwinkleGlow 5.2s ease-in-out infinite;
    animation-delay: 2.5s;
}

/* パターンE: 周期 3.8秒 / 遅延 3.2秒 */
.twinkle-e {
    animation: pureTwinkleGlow 3.8s ease-in-out infinite;
    animation-delay: 3.2s;
}

/* 純粋な光の明滅アニメーション (位置移動ゼロ) */
@keyframes pureTwinkleGlow {
    0% {
        opacity: 0.12;
        filter: drop-shadow(0 0 2px rgba(241, 196, 15, 0.2));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 12px rgba(255, 245, 180, 0.95)) drop-shadow(0 0 20px rgba(241, 196, 15, 0.75));
    }
    100% {
        opacity: 0.12;
        filter: drop-shadow(0 0 2px rgba(241, 196, 15, 0.2));
    }
}

/* ===========================================
   3. 左側スクロール追従のお月様 (moon)
   - 背景の上、コンテンツより下 (z-index: 2)
   - 元のサイズの「約2倍」に調整！(PC: 880px / タブレット: 640px / スマホ: 380px)
   - 丸い月として左上に絶妙なバランスで配置
   - GPUハードウェアアクセラレーションで滑らかに追従
   =========================================== */
.fixed-moon-container {
    position: fixed;
    top: 0px;
    left: calc(50% - 1050px); /* 1920px基準の左側に美しく配置 */
    z-index: 2; /* bg/kirakiraの上、コンテンツ(z-index: 5)より下！ */
    pointer-events: none;
    transition: opacity 0.3s ease;
    /* GPU専用レイヤーに預けてスクロール負荷を大幅軽減 */
    transform: translateZ(0);
    will-change: transform;
}

.fixed-moon-container picture,
.fixed-moon-image {
    display: block;
    width:11000px; /* 元のサイズの約2倍スケール */
    max-width:1100px;
    height: auto;
    filter: drop-shadow(0 0 25px rgba(241, 196, 15, 0.3));
}

@media (max-width: 1920px) {
    .fixed-moon-container {
        left: -40px; /* 画面左上に丸い月が綺麗に顔を出す */
    }
}

@media (max-width: 1200px) {
    .fixed-moon-container {
        top: -25px;
        left: -40px;
    }
    .fixed-moon-image {
        width: 640px;
        max-width: 640px;
    }
}

@media (max-width: 768px) {
    .fixed-moon-container {
        top: -15px;
        left: -25px;
    }
    .fixed-moon-image {
        width: 380px; /* スマホでも元の2倍サイズ */
        max-width: 380px;
    }
}

@media (max-width: 1920px) {
    .fixed-moon-container {
        left: 10px;
    }
}

@media (max-width: 1200px) {
    .fixed-moon-image {
        width: 320px;
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .fixed-moon-container {
        top: 25px;
        left: 5px;
    }
    .fixed-moon-image {
        width: 380px; /* スマホでもしっかり見えるサイズ */
        max-width: 380px;
    }
}

/* ===========================================
   4. ヒーローセクション (Hero Section / トップ)
   - MERRY CHRISTMAS 画像 (merry)
   - 直下に Beans Todakouen 2026 (テキスト)
   - 上下マージンを適度に広げてすっきりと洗練された空間を確保
   =========================================== */
.hero-section {
    position: relative;
    z-index: 5;
    padding: 115px 20px 90px; /* 縦幅のマージンを心地よく拡大 */
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-merry {
    width: 100%;
    max-width: 820px;
    margin: 0 auto 38px; /* 画像と文字の間のゆったりとした余白 */
}

.hero-merry picture,
.merry-title-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

/* テキスト部分: Beans Todakouen / 2026 */
.hero-text-block {
    text-align: center;
    color: #ffffff;
    margin-top: 10px;
}

.hero-store-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.25;
    margin: 0 0 16px 0; /* 年号との間のすっきりとした余白 */
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(241, 196, 15, 0.35);
}

.hero-year {
    font-family: 'Cinzel', 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 6px;
    margin: 0;
    color: #f1c40f; /* ゴールド */
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 0 15px rgba(241, 196, 15, 0.5);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 70px 15px 50px; /* スマホでも窮屈にならないゆとり */
    }
    .hero-merry {
        max-width: 90%;
        margin-bottom: 25px;
    }
    .hero-store-title {
        font-size: 1.85rem;
        letter-spacing: 1px;
        margin-bottom: 12px;
    }
    .hero-year {
        font-size: 1.5rem;
        letter-spacing: 4px;
    }
}

/* ===========================================
   5. メインコンテンツ白背景カード (Card Container)
   - 商品やInformationの下に白背景を敷き1つのまとまりに
   - 左右・背後に青いbgが見える幅1200px設計
   =========================================== */
.main-content-card {
    position: relative;
    z-index: 5;
    background: #ffffff;
    max-width: 1200px;
    margin: 30px auto 80px; /* 上下のマージンを調整してメリハリ */
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    padding: 60px 40px;
    color: #333333;
}

@media (max-width: 768px) {
    .main-content-card {
        margin: 20px 12px 60px;
        padding: 35px 15px;
        border-radius: 16px;
    }
}

/* ===========================================
   6. インフォメーションセクション (Information Section)
   =========================================== */
#information {
    margin-bottom: 50px;
    text-align: center;
}

/* キャンペーンタイトル: 落ち着いた赤文字 ＋ カタカナを少し小さく */
.campaign-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.3rem; 
    font-weight: 700; 
    line-height: 1.4;
    text-align: center; 
    margin: 0 auto 35px; 
    color: #9c2431; /* 落ち着いたワインレッド */
    padding: 12px 0;
    border-top: 2px solid #9c2431; 
    border-bottom: 2px solid #9c2431; 
    max-width: 700px;
    letter-spacing: 1px;
}

/* カタカナ部分を英語より少し小さく上品に */
.campaign-title-sub {
    font-size: 0.65em;
    font-weight: 600;
    letter-spacing: 2px;
    margin-left: 8px;
    display: inline-block;
    vertical-align: 1px;
}

@media (max-width: 768px) {
    .campaign-title {
        font-size: 1.45rem; 
        padding: 10px; 
        margin-bottom: 25px;
    }
    .campaign-title-sub {
        font-size: 0.7em;
        margin-left: 4px;
    }
}

.info-list {
    display: flex;
    justify-content: center;
    gap: 30px; 
    flex-wrap: nowrap; 
}

.info-item {
    background: #ffffff;
    border: 3px solid #f1c40f; /* クリスマスイエローの枠線 */
    border-radius: 14px;
    padding: 28px 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06); 
    text-align: left;
    flex: 1 1 50%; 
    max-width: 50%; 
    min-width: 280px; 
    position: relative; /* サンタ画像配置用 */
    overflow: hidden; /* 動くサンタがはみ出さないように */
}

/* 2. サンタがやって来るカードの余白調整 */
.info-item--santa {
    padding-bottom: 35px;
}

/* テキストコンテンツ: 動くサンタより前面 (z-index: 2) に配置し、文字の下をくぐらせる */
.info-content {
    position: relative;
    z-index: 2;
}

.info-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    color: #16385c;
    font-weight: 700;
}

/* 鈴（ベル）の背景アイコン: 少し斜めにコロンと傾ける (rotate) */
.info-number-bell {
    width: 44px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    flex-shrink: 0;
    position: relative;
    /* クリスマスの金の鈴SVG背景 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 52'%3E%3Cpath d='M24 2 C21 2 19 4 19 6.5 C19 7.8 19.6 9 20.6 9.8 C15.5 12.5 12 17.8 12 24 L10 37 C8.8 38.8 9.5 41 11.5 41 L36.5 41 C38.5 41 39.2 38.8 38 37 L36 24 C36 17.8 32.5 12.5 27.4 9.8 C28.4 9 29 7.8 29 6.5 C29 4 27 2 24 2 Z' fill='%23f1c40f' stroke='%23d4ac0d' stroke-width='2'/%3E%3Cellipse cx='24' cy='43' rx='4.5' ry='3.5' fill='%23d4ac0d'/%3E%3Cellipse cx='24' cy='40.5' rx='13' ry='2.8' fill='%23e67e22'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff; /* 白文字 */
    padding-top: 6px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 0 4px rgba(180, 80, 0, 0.6);
    /* 鈴を少し斜めに傾けてオーナメント感を演出 */
    transform: rotate(-13deg);
    transform-origin: top center;
    transition: transform 0.3s ease;
}

.info-item:hover .info-number-bell {
    /* ホバー時にリンリンと可愛らしく揺れる */
    animation: bellRing 0.8s ease-in-out;
}

@keyframes bellRing {
    0% { transform: rotate(-13deg); }
    25% { transform: rotate(10deg); }
    50% { transform: rotate(-8deg); }
    75% { transform: rotate(4deg); }
    100% { transform: rotate(-13deg); }
}

.info-title-text {
    flex-grow: 1;
    word-break: break-word;
    line-height: 1.4;
}

.info-period {
    font-size: 0.92rem;
    color: #777777;
    margin-bottom: 12px;
    font-weight: 600;
}

.info-desc {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #444444;
}

/* サンタ画像: 右から左へ進むアニメーション ＋ 文字の下をくぐる (z-index: 1) */
.santa-badge {
    position: absolute;
    bottom: 8px;
    right: 10px;
    width: 84px;
    height: 84px;
    object-fit: contain;
    pointer-events: none;
    z-index: 1; /* 文字(.info-content は z-index: 2)の背面をくぐる！ */
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
    /* 右から左へ歩くアニメーション (GPUハードウェアアクセラレーション) */
    will-change: transform;
    animation: santaMoveLeft 14s ease-in-out infinite;
}

@keyframes santaMoveLeft {
    0% {
        transform: translateX(0) scaleX(1);
        opacity: 0.95;
    }
    45% {
        /* 左へ進み、文字の下を通過 */
        transform: translateX(-380px) translateY(-3px) scaleX(1);
        opacity: 0.85;
    }
    50% {
        /* 左端で静かにフェードアウト */
        transform: translateX(-430px) scaleX(1);
        opacity: 0;
    }
    52% {
        /* 右端に戻り準備 */
        transform: translateX(30px) scaleX(1);
        opacity: 0;
    }
    60% {
        /* 再び右からフェードインして登場 */
        transform: translateX(0) scaleX(1);
        opacity: 0.95;
    }
    100% {
        transform: translateX(0) scaleX(1);
        opacity: 0.95;
    }
}

@media (max-width: 768px) {
    .info-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .info-item {
        width: 100%;
        max-width: 100%;
        padding: 22px 18px;
    }
    .info-item--santa {
        padding-bottom: 50px;
    }
    .santa-badge {
        bottom: 6px;
        right: 6px;
        width: 70px;
        height: 70px;
    }
    @keyframes santaMoveLeft {
        0% { transform: translateX(0); opacity: 0.95; }
        45% { transform: translateX(-240px); opacity: 0.8; }
        50% { transform: translateX(-280px); opacity: 0; }
        52% { transform: translateX(20px); opacity: 0; }
        60% { transform: translateX(0); opacity: 0.95; }
        100% { transform: translateX(0); opacity: 0.95; }
    }
}

/* ===========================================
   7. カテゴリーアンカーナビゲーション (SWEETS / FOODS / GOODS)
   - 枠線: PDFの店名のような濃い青 (#16385c)
   - ホバー時/アクティブ時: 背景と文字が反転
   =========================================== */
.category-anchor-nav {
    display: flex;
    justify-content: center; 
    gap: 18px; 
    margin: 40px auto 45px; 
    padding: 10px 0;
    max-width: 900px;
    flex-wrap: nowrap; 
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
}

.category-anchor-nav .nav-item {
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 12px 28px;
    
    /* 通常時: 白背景、濃い青の枠線、濃い青の文字 */
    border: 3px solid #16385c; 
    color: #16385c; 
    background-color: #ffffff; 
    box-shadow: 0 4px 10px rgba(22, 56, 92, 0.12); 
    border-radius: 10px; 
    transition: all 0.25s ease;
    white-space: nowrap; 
    flex-shrink: 0;
    flex-grow: 1; 
    text-align: center;
    max-width: 260px;
    cursor: pointer;
}

/* ホバー時 & アクティブ時: 濃い青背景に白文字へ反転！ */
.category-anchor-nav .nav-item:hover,
.category-anchor-nav .nav-item.active-nav {
    background-color: #16385c; 
    color: #ffffff; 
    box-shadow: 0 6px 14px rgba(22, 56, 92, 0.25);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .category-anchor-nav {
        gap: 8px; 
        margin: 25px auto 30px;
        padding: 5px 0;
    }
    .category-anchor-nav .nav-item {
        font-size: 0.95rem;
        padding: 10px 16px;
    }
}

/* ===========================================
   8. カテゴリー商品セクション (Category & Item Grid)
   - 見出し文字色: PDFの濃い青 (#16385c) / 反転なし
   =========================================== */
.category-section-block {
    margin-bottom: 60px;
    scroll-margin-top: 30px; /* アンカー移動時の余白 */
}

/* カテゴリー見出し: 濃い青 + 濃い青の下線 */
.section-category-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    margin: 30px auto 25px;
    color: #16385c; /* 濃い青色 */
    border-bottom: 3px solid #16385c; 
    padding-bottom: 10px;
    max-width: 600px;
    width: 85%;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .section-category-title {
        font-size: 1.6rem;
        margin: 20px auto 20px;
    }
}

/* 商品グリッド */
.item-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 35px auto;
    max-width: 1100px;
    padding: 0 10px;
}

.item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.item img {
    width: 100%;
    max-width: 360px;
    border-radius: 12px;
    display: block;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.item img:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.item p {
    text-align: center;
    font-size: 0.95rem;
    color: #4a5568; 
    margin-top: 8px;
}

@media (max-width: 768px) {
    .item-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 14px;
        margin: 20px auto;
        padding: 0;
    }
}

/* 右寄せの注釈スタイル */
.memo-image-note {
    text-align: right;
    max-width: 1100px;
    margin: 15px auto 25px; 
    padding: 0 10px;
    font-size: 13px;
    color: #718096; 
}

/* センターバナー (JRE POINT等) */
.center-container {
    display: flex;
    flex-direction: column;   /* PC・スマホともに縦積みにする */
    align-items: center;      /* 中央揃え */
    gap: 16px;                
    width: 100%;
    margin: 40px auto 20px;
}

.center-image-flex {
    width: 562px;             /* PCでは原寸サイズ（562px）で鮮明に表示 */
    max-width: 90%;           /* スマホなど画面が狭い場合は左右に余白を残して縮小 */
    height: auto;
    border-radius: 10px;
}

/* ===========================================
   9. 最下段固定のサンタと街並み (bottom セクション)
   - 上部が夜空へふんわり溶けるグラデーションマスク
   - チラチラと舞い落ちる雪のCSSアニメーション
   =========================================== */
.bottom-town-section {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 1920px;
    margin: -30px auto 0; /* コンテンツカードと綺麗に繋がるように */
    line-height: 0;
    pointer-events: none;
    overflow: hidden;
}

/* 上部がふんわり夜空に溶けるグラデーション透過 */
.bottom-town-wrapper {
    position: relative;
    width: 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 18%, rgba(0, 0, 0, 0.9) 45%, black 75%);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 18%, rgba(0, 0, 0, 0.9) 45%, black 75%);
}

.bottom-town-section picture,
.bottom-town-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

/* 街並みに静かに舞い降る雪のエフェクト */
.bottom-snow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    transform: translateZ(0);
    will-change: background-position;
    background-image: 
        radial-gradient(4px 4px at 50px 80px, rgba(255, 255, 255, 0.95), transparent),
        radial-gradient(6px 6px at 160px 190px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(3px 3px at 280px 60px, rgba(255, 255, 255, 0.85), transparent),
        radial-gradient(5px 5px at 360px 240px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(4px 4px at 480px 120px, rgba(255, 255, 255, 0.95), transparent),
        radial-gradient(7px 7px at 620px 270px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(3px 3px at 740px 70px, rgba(255, 255, 255, 0.85), transparent),
        radial-gradient(5px 5px at 860px 200px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(4px 4px at 990px 110px, rgba(255, 255, 255, 0.95), transparent),
        radial-gradient(6px 6px at 1130px 280px, rgba(255, 255, 255, 0.85), transparent);
    background-size: 1200px 360px;
    animation: snowFalling 10s linear infinite;
}

@keyframes snowFalling {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 60px 360px, -40px 360px;
    }
}

/* ===========================================
   10. 下部固定ボタン (Fixed Buttons)
   - 「先頭へ戻る」ボタンを濃い青色 (#16385c) に変更
   =========================================== */
.fixed-buttons-container {
    position: fixed;
    bottom: 24px; 
    right: 24px; 
    z-index: 9999; 
    display: flex; 
    flex-direction: column;
    align-items: flex-end; 
    gap: 10px; 
}

.fixed-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 30px; 
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

/* 先頭へ戻るボタン (濃い青基調) */
.top-button {
    background-color: #ffffff; 
    color: #16385c; 
    border: 2px solid #16385c;
}

@media (min-width: 768px) {
    /* PC版ホバー: 濃い青背景 / 白文字へ反転 */
    .top-button:hover {
        background-color: #16385c; 
        color: #ffffff; 
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(22, 56, 92, 0.35);
    }
}

.fixed-button .button-icon {
    font-size: 18px;
    margin-right: 6px;
    line-height: 1;
}

.fixed-button .button-text {
    display: inline;
}

@media (max-width: 768px) {
    .fixed-buttons-container {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        flex-direction: row; 
        gap: 0;
        border-top: 1px solid #16385c; 
        background-color: #ffffff; 
        padding: 6px 0;
        opacity: 0; 
        visibility: hidden; 
        transition: opacity 0.4s ease, visibility 0.3s ease;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    }

    .fixed-buttons-container.is-scrolled {
        opacity: 1;
        visibility: visible;
    }
    
    .fixed-button {
        flex: 1; 
        padding: 8px 0;
        border-radius: 0; 
        box-shadow: none;
        border: none;
        background-color: transparent !important; 
        color: #16385c; 
        flex-direction: column; 
        font-size: 12px;
        transition: none; 
    }

    .fixed-button .button-icon {
        font-size: 20px;
        margin-right: 0;
        margin-bottom: 2px;
    }

    .top-button {
        color: #16385c; 
    }

    .fixed-buttons-container.is-scrolled .fixed-button:hover {
        background-color: transparent; 
    }
}

/* ===========================================
   11. フッター (Footer)
   =========================================== */
footer {
    position: relative;
    z-index: 5;
    text-align: center;
    background: #f7f7f7; 
    padding: 35px 20px;
    color: #333333;
}

.footer-bottom {
    text-align: center; 
    padding: 10px 20px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-nav-line {
    margin-bottom: 12px; 
    font-size: 0.95rem;
}

.footer-nav-line a {
    color: #16385c; 
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-nav-line a:hover {
    color: #9c2431; 
    text-decoration: underline;
}

.separator {
    margin: 0 8px; 
    color: #a0aec0;
}

.copyright {
    font-size: 0.85rem;
    color: #718096;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .footer-nav-line a {
        display: block; 
        padding: 6px 0; 
    }
    .separator {
        display: none; 
    }
}
/* 画像未提供の商品：グレーの表示領域のみ確保 */
.item--no-image {
  background-color: #d9d9d9;
  aspect-ratio: 1 / 1;
}


/* ==========================================
   PCのみ：2商品行を中央寄せ
   既存の3列グリッド・商品幅は維持
   ========================================== */

@media (min-width: 769px) {

  /* GOODSの2商品行を区切る空白セルは維持 */
  .item--pc-spacer {
    display: block;
    visibility: hidden;
  }

  /* 2商品行の左右の商品を、セットで中央へ移動 */
  #christmas-gallery .item-grid > .item:is(
    [data-item-id="no-9"],
    [data-item-id="no-10"],
    [data-item-id="no-4"],
    [data-item-id="no-5"],
    [data-item-id="no-23"],
    [data-item-id="no-24"],
    [data-item-id="no-21"],
    [data-item-id="no-22"],
[data-item-id="no-26-27"],
[data-item-id="no-18-19-20"],
    [data-item-id="no-16"],
    [data-item-id="no-17"]
  ) {
    transform: translateX(calc(50% + 12px));
  }
}

/* スマホでは空白セルを除外して従来の2列表示 */
@media (max-width: 768px) {
  .item--pc-spacer {
    display: none;
  }
}


/* ==========================================
   HERO：MERRY / CHRISTMAS 2段ロゴ
   PC・スマホ共通画像
   ========================================== */

.hero-merry--split {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 38px;
}

/* 画像共通 */
.hero-merry--split img {
  display: block;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

/* 上段：MERRY */
.hero-merry--split .hero-logo-merry {
  width: 63.35%;
  max-width: 100%;
}

/* 下段：CHRISTMAS */
.hero-merry--split .hero-logo-christmas {
  width: 100%;
  max-width: 100%;
}

/* スマホ */
@media (max-width: 768px) {
  .hero-merry--split {
    max-width: 100%;
    gap: 0;
    margin-bottom: 25px;
  }

  .hero-merry--split .hero-logo-merry {
    width: 63.35%;
  }

  .hero-merry--split .hero-logo-christmas {
    width: 100%;
  }
}
/* JRE POINTキャンペーンの強調表示 */
.info-highlight {
  color: #d60000;
  font-weight: 700;
}

/* ワークショップ概要と画像の横並びレイアウト */
.workshop-main {
  display: flex;
  align-items: center;      /* 上下中央揃え（上揃えにしたい場合は flex-start に変更） */
  justify-content: space-between;
  gap: 16px;                /* テキストと画像の余白 */
  margin-bottom: 1.2em;     /* 下の「場所：」との余白 */
}

.workshop-text {
  flex: 1;                  /* テキスト領域を可変に */
}

.workshop-image {
  flex-shrink: 0;           /* 画像が潰れないように固定 */
  width: 140px;             /* ★PC表示時の画像サイズ（お好みで調整してください） */
}

.workshop-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;       /* 角丸（不要な場合は削除） */
  object-fit: cover;
}

/* スマホ表示（767px以下）は縦積み・中央揃え */
@media screen and (max-width: 767px) {
  .workshop-main {
    flex-direction: column;
    align-items: center;      /* ブロック全体を中央揃え */
    text-align: center;       /* テキストも中央揃え（左揃えのままにする場合はこの行を削除） */
  }

  .workshop-image {
    width: 100%;
    max-width: 240px;
  }
}