/* ===================================
   リセット & 基本設定
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Zen Maru Gothic', sans-serif;
    line-height: 1;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

/* ===================================
   画像セクション - 隙間なし
   =================================== */
.image-section {
    margin: 0;
    padding: 0;
    display: block;
    line-height: 0;
    position: relative;
    /* フェードインアップの初期状態 */
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* アニメーション後の状態 */
.image-section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.image-section img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    vertical-align: bottom;
}

/* ===================================
   キャンペーン終了メッセージ
   =================================== */
.campaign-expired-section {
    background-color: #fff;
    padding: 100px 20px;
    text-align: center;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expired-container {
    max-width: 600px;
    margin: 0 auto;
}

.expired-text {
    font-size: 1.2rem;
    color: #333;
    line-height: 2;
    font-weight: 500;
}

@media (max-width: 768px) {
    .campaign-expired-section {
        padding: 80px 20px;
        min-height: 40vh;
    }
    
    .expired-text {
        font-size: 1rem;
        line-height: 1.8;
    }
}

/* ===================================
   カウントダウンタイマー
   =================================== */
.countdown-section {
    background-color: #ffffff;
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.countdown-container {
    max-width: 800px;
    margin: 0 auto;
}

.countdown-label {
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 20px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    min-width: 80px;
}

.time-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    line-height: 1;
    font-family: 'Arial', sans-serif;
}

.time-text {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
    font-weight: 500;
}

.time-separator {
    font-size: 2rem;
    color: #666;
    font-weight: normal;
    padding: 0 5px;
}

.countdown-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .countdown-section {
        padding: 25px 15px;
    }
    
    .countdown-label {
        font-size: 1.05rem;
        margin-bottom: 15px;
    }
    
    .countdown-timer {
        gap: 8px;
    }
    
    .time-unit {
        padding: 12px 15px;
        min-width: 65px;
    }
    
    .time-number {
        font-size: 2rem;
    }
    
    .time-text {
        font-size: 0.7rem;
        margin-top: 5px;
    }
    
    .time-separator {
        font-size: 1.5rem;
        padding: 0 3px;
    }
    
    .countdown-note {
        font-size: 0.75rem;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .countdown-label {
        font-size: 0.95rem;
    }
    
    .time-unit {
        padding: 10px 12px;
        min-width: 55px;
    }
    
    .time-number {
        font-size: 1.6rem;
    }
    
    .time-text {
        font-size: 0.6rem;
    }
    
    .time-separator {
        font-size: 1.2rem;
    }
}

/* ===================================
   クリッカブルエリア
   =================================== */
.clickable-section {
    cursor: pointer;
    position: relative;
}

/* イメージマップのエリアにカーソルを設定 */
area {
    cursor: pointer;
}

/* ホバーエフェクト（オプション） */
.clickable-section:hover {
    opacity: 0.98;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 20px;
    text-align: center;
    margin: 0;
    line-height: 1.6;
}

.footer p {
    margin: 0;
    font-size: 0.85rem;
}

/* ===================================
   レスポンシブ対応
   =================================== */
@media (max-width: 768px) {
    .footer {
        padding: 15px;
    }
    
    .footer p {
        font-size: 0.75rem;
    }
}

/* ===================================
   アクセシビリティ
   =================================== */
@media (prefers-reduced-motion: reduce) {
    .image-section {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* フォーカス表示 */
area:focus {
    outline: 3px solid #ff758c;
    outline-offset: 2px;
}
