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

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: linear-gradient(180deg, #0a0a1a 0%, #1a0a3e 50%, #2d1b69 100%);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
   ヘッダー
======================================== */
.header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a0a3e 0%, #2d1b69 100%);
}

.hero-image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-banner {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.header-content {
    position: relative;
    z-index: 1;
    padding: 20px 20px 40px;
    text-align: center;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: pulseGlow 3s ease-in-out infinite;
    pointer-events: none;
}

.header-title {
    font-size: 28px;
    font-weight: 900;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6),
                 0 0 40px rgba(255, 215, 0, 0.4);
    margin-bottom: 10px;
    animation: shimmer 2s ease-in-out infinite;
}

.header-subtitle {
    font-size: 18px;
    font-weight: 700;
    color: #ffed4e;
    text-shadow: 0 0 10px rgba(255, 237, 78, 0.5);
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes shimmer {
    0%, 100% { text-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.4); }
    50% { text-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 215, 0, 0.6); }
}

/* ========================================
   メインコンテンツ
======================================== */
.main-content {
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 80px;
}

/* セクション共通スタイル */
section {
    padding: 40px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 26px;
    font-weight: 900;
    color: #ffd700;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.section-subtitle {
    font-size: 16px;
    color: #ffed4e;
    font-weight: 500;
}

/* ========================================
   マンガセクション
======================================== */
.manga-section {
    background: linear-gradient(180deg, rgba(26, 10, 62, 0.5) 0%, rgba(45, 27, 105, 0.5) 100%);
}

.manga-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.manga-episode {
    margin-bottom: 0;
    animation: fadeInUp 0.6s ease-out;
}

.manga-image {
    width: 100%;
    display: block;
    margin: 0 auto;
}

.final-episode {
    border: 3px solid #ffd700;
    border-radius: 15px;
    padding: 15px;
    background: rgba(255, 215, 0, 0.05);
    animation: pulseBorder 2s ease-in-out infinite;
}

@keyframes pulseBorder {
    0%, 100% { border-color: #ffd700; box-shadow: 0 0 20px rgba(255, 215, 0, 0.5); }
    50% { border-color: #ffed4e; box-shadow: 0 0 40px rgba(255, 215, 0, 0.8); }
}

.cta-after-manga {
    margin-top: 30px;
    text-align: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   3ステップセクション
======================================== */
.steps-section {
    background: rgba(45, 27, 105, 0.3);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.step-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 237, 78, 0.05) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 25px;
    width: 100%;
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.step-number {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a0a3e;
    font-weight: 900;
    font-size: 14px;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.step-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.step-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 10px;
}

.step-description {
    font-size: 16px;
    color: #ffffff;
    font-weight: 500;
}

.step-arrow {
    font-size: 32px;
    color: #ffd700;
    margin: 10px 0;
    animation: bounce 2s ease-in-out infinite;
}

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

.steps-cta {
    margin-top: 30px;
    text-align: center;
}

/* ========================================
   当選者の声セクション
======================================== */
.winners-section {
    background: linear-gradient(180deg, rgba(26, 10, 62, 0.5) 0%, rgba(45, 27, 105, 0.5) 100%);
}

.winners-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.winner-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 237, 78, 0.05) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.winner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.winner-card.male {
    border-left: 4px solid #4a90e2;
}

.winner-card.female {
    border-left: 4px solid #e24a90;
}

.winner-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 215, 0, 0.9);
    color: #1a0a3e;
    font-weight: 700;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
}

.winner-amount {
    font-size: 28px;
    font-weight: 900;
    color: #ffd700;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.winner-info {
    font-size: 14px;
    color: #ffed4e;
    font-weight: 500;
    margin-bottom: 10px;
}

.winner-comment {
    font-size: 15px;
    color: #ffffff;
    font-style: italic;
    line-height: 1.5;
}

/* ========================================
   メインCTAセクション
======================================== */
.main-cta-section {
    background: linear-gradient(135deg, #2d1b69 0%, #1a0a3e 100%);
    padding: 50px 20px;
    text-align: center;
}

.cta-content {
    max-width: 500px;
    margin: 0 auto;
}

.cta-title {
    font-size: 28px;
    font-weight: 900;
    color: #ffd700;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.cta-subtitle {
    font-size: 18px;
    color: #ffed4e;
    margin-bottom: 30px;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.cta-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
}

.feature-icon {
    color: #ffd700;
    font-size: 20px;
}

.cta-note {
    margin-top: 15px;
    font-size: 13px;
    color: #ffed4e;
    opacity: 0.8;
}

/* ========================================
   CTAボタン
======================================== */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #06c755 0%, #05a844 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(6, 199, 85, 0.6);
    background: linear-gradient(135deg, #05a844 0%, #06c755 100%);
}

.cta-button:active {
    transform: translateY(-1px);
}

.cta-button.cta-large {
    font-size: 20px;
    padding: 22px 50px;
}

.cta-icon {
    font-size: 24px;
}

.cta-text {
    font-size: inherit;
}

/* ========================================
   固定CTAボタン
======================================== */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 26, 0.95) 20%, rgba(10, 10, 26, 0.98) 100%);
    padding: 10px 15px 15px;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.5s ease-out;
    text-align: center;
}

.fixed-cta .cta-button {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    animation: pulse 2s ease-in-out infinite;
    display: inline-flex;
    font-size: 16px;
    padding: 14px 30px;
}

/* PC表示時はサイズを戻す */
@media (min-width: 768px) {
    .fixed-cta {
        padding: 15px 20px 20px;
    }
    
    .fixed-cta .cta-button {
        max-width: 500px;
        font-size: 18px;
        padding: 18px 40px;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 8px 30px rgba(6, 199, 85, 0.6);
    }
}

/* ========================================
   フッター
======================================== */
.footer {
    background: #0a0a1a;
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-note {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}

.footer-copyright {
    font-size: 12px;
    color: #666;
    margin-top: 15px;
}

/* ========================================
   レスポンシブ（タブレット以上）
======================================== */
@media (min-width: 768px) {
    .header-title {
        font-size: 36px;
    }

    .header-subtitle {
        font-size: 22px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 18px;
    }

    .winners-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-content {
        max-width: 800px;
    }
}

@media (min-width: 1024px) {
    .winners-container {
        grid-template-columns: repeat(3, 1fr);
    }
}