/* ================================================
   🎄 クリスマス&新年2025-2026 スペシャルスタイル
   ================================================ */

/* ===================================
   1. 雪の降るアニメーション
   =================================== */

/* 雪の結晶のコンテナ */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

/* 個別の雪の結晶 */
.snowflake {
    position: absolute;
    top: -10px;
    color: #fff;
    font-size: 1em;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    animation: snowfall linear infinite;
    pointer-events: none;
}

@keyframes snowfall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) translateX(50px) rotate(360deg);
        opacity: 0.3;
    }
}

/* 雪の結晶のバリエーション */
.snowflake:nth-child(1) { left: 5%; animation-duration: 10s; animation-delay: 0s; font-size: 12px; }
.snowflake:nth-child(2) { left: 15%; animation-duration: 12s; animation-delay: 1s; font-size: 16px; }
.snowflake:nth-child(3) { left: 25%; animation-duration: 8s; animation-delay: 2s; font-size: 14px; }
.snowflake:nth-child(4) { left: 35%; animation-duration: 14s; animation-delay: 0.5s; font-size: 18px; }
.snowflake:nth-child(5) { left: 45%; animation-duration: 11s; animation-delay: 1.5s; font-size: 12px; }
.snowflake:nth-child(6) { left: 55%; animation-duration: 9s; animation-delay: 2.5s; font-size: 16px; }
.snowflake:nth-child(7) { left: 65%; animation-duration: 13s; animation-delay: 0.8s; font-size: 14px; }
.snowflake:nth-child(8) { left: 75%; animation-duration: 10s; animation-delay: 1.8s; font-size: 18px; }
.snowflake:nth-child(9) { left: 85%; animation-duration: 12s; animation-delay: 0.3s; font-size: 12px; }
.snowflake:nth-child(10) { left: 95%; animation-duration: 11s; animation-delay: 2.2s; font-size: 16px; }

/* ===================================
   2. ホリデーバナー
   =================================== */

.holiday-banner {
    background: linear-gradient(135deg, #1e5128 0%, #c41e3a 50%, #d4af37 100%);
    color: white;
    text-align: center;
    padding: 20px 15px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    animation: bannerShine 3s ease-in-out infinite;
}

@keyframes bannerShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.holiday-banner::before {
    content: '✨';
    position: absolute;
    left: 20px;
    animation: sparkle 1.5s ease-in-out infinite;
}

.holiday-banner::after {
    content: '✨';
    position: absolute;
    right: 20px;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* ===================================
   3. ホリデーカラースキーム
   =================================== */

/* ヘッダーのホリデー装飾 */
.holiday-header {
    background: linear-gradient(135deg, #1e5128 0%, #2d6a3e 100%);
    border-bottom: 3px solid #d4af37;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

/* ボタンのホリデースタイル */
.btn-holiday-primary {
    background: linear-gradient(135deg, #c41e3a, #a01728);
    color: white;
    border: 2px solid #d4af37;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-holiday-primary:hover {
    background: linear-gradient(135deg, #a01728, #c41e3a);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.6);
}

.btn-holiday-primary::before {
    content: '🎁';
    margin-right: 8px;
}

.btn-holiday-secondary {
    background: linear-gradient(135deg, #1e5128, #2d6a3e);
    color: white;
    border: 2px solid #d4af37;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(30, 81, 40, 0.4);
    transition: all 0.3s ease;
}

.btn-holiday-secondary:hover {
    background: linear-gradient(135deg, #2d6a3e, #1e5128);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 81, 40, 0.6);
}

.btn-holiday-secondary::before {
    content: '🎄';
    margin-right: 8px;
}

/* ===================================
   4. ホリデーカード装飾
   =================================== */

.holiday-card {
    background: white;
    border: 3px solid #d4af37;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.holiday-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #1e5128, #c41e3a, #d4af37, #1e5128);
    background-size: 400% 400%;
    border-radius: 15px;
    z-index: -1;
    animation: gradientShift 6s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.holiday-card:hover::before {
    opacity: 1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.holiday-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
}

/* ===================================
   5. ホリデーバッジ
   =================================== */

.holiday-badge {
    display: inline-block;
    background: linear-gradient(135deg, #c41e3a, #d4af37);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 6px 20px rgba(196, 30, 58, 0.6); }
}

.holiday-badge::before {
    content: '🎄';
    margin-right: 6px;
}

.holiday-badge::after {
    content: '🎊';
    margin-left: 6px;
}

/* ===================================
   6. セクション背景装飾
   =================================== */

.holiday-section {
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(240, 248, 255, 1) 50%, 
        rgba(255, 250, 250, 1) 100%
    );
    position: relative;
}

.holiday-section::before {
    content: '❄️';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    opacity: 0.1;
    animation: rotate 10s linear infinite;
}

.holiday-section::after {
    content: '❄️';
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.1;
    animation: rotate 10s linear infinite reverse;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===================================
   7. 特別なタイトル装飾
   =================================== */

.holiday-title {
    color: #1e5128;
    text-shadow: 2px 2px 4px rgba(212, 175, 55, 0.3);
    position: relative;
    display: inline-block;
}

.holiday-title::before {
    content: '🎄';
    position: absolute;
    left: -40px;
    animation: sway 2s ease-in-out infinite;
}

.holiday-title::after {
    content: '🎁';
    position: absolute;
    right: -40px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes sway {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===================================
   8. ホリデー用のCTA (Call to Action)
   =================================== */

.holiday-cta {
    background: linear-gradient(135deg, #1e5128 0%, #c41e3a 50%, #d4af37 100%);
    background-size: 200% 200%;
    color: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: gradientMove 5s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.holiday-cta h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* ===================================
   9. スマホ対応
   =================================== */

@media (max-width: 768px) {
    .holiday-banner {
        font-size: 1rem;
        padding: 15px 10px;
    }
    
    .holiday-title::before,
    .holiday-title::after {
        display: none;
    }
    
    .snowflake {
        font-size: 0.8em;
    }
    
    .holiday-card {
        padding: 20px;
    }
    
    .btn-holiday-primary,
    .btn-holiday-secondary {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
}

/* ===================================
   10. アクセシビリティ
   =================================== */

@media (prefers-reduced-motion: reduce) {
    .snowflake,
    .holiday-banner,
    .holiday-badge,
    .holiday-title::before,
    .holiday-title::after,
    .holiday-section::before,
    .holiday-section::after,
    .holiday-cta {
        animation: none;
    }
}
