/* イベントページ専用スタイル */

/* ヒーローセクション */
.events-hero-section {
    background: linear-gradient(135deg, rgba(3, 169, 244, 0.85), rgba(0, 188, 212, 0.7));
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.events-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.events-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.events-hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.events-hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.95;
}

/* メインコンテンツ */
.events-main-content {
    background: #f8f9fa;
    min-height: 100vh;
}

.events-page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* イベント参加のメリットセクション */
.events-benefits-section {
    padding: 80px 0;
    background: white;
}

.events-benefits-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.events-benefits-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 50px;
    position: relative;
}

.events-benefits-section .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #03A9F4, #00BCD4);
    margin: 20px auto 0;
    border-radius: 2px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(3, 169, 244, 0.2);
    border-color: #03A9F4;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.benefit-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 会員登録促進セクション */
.events-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #e3f2fd);
    text-align: center;
}

.events-cta-section .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-content h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

.cta-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 180px;
}

.btn-primary {
    background: linear-gradient(45deg, #03A9F4, #00BCD4);
    color: white;
    box-shadow: 0 4px 15px rgba(3, 169, 244, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(3, 169, 244, 0.4);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: white;
    color: #03A9F4;
    border-color: #03A9F4;
}

.btn-secondary:hover {
    background: #03A9F4;
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

/* エラーメッセージ */
.error-message {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #f8d7da;
    color: #721c24;
    border-radius: 10px;
    text-align: center;
}

.error-message p {
    margin: 10px 0;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .events-hero-title {
        font-size: 2.2rem;
    }
    
    .events-hero-subtitle {
        font-size: 1rem;
    }
    
    .events-benefits-section .section-title {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefit-card {
        padding: 30px 20px;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .events-hero-section {
        padding: 60px 0;
    }
    
    .events-hero-title {
        font-size: 1.8rem;
    }
    
    .events-benefits-section {
        padding: 60px 0;
    }
    
    .events-cta-section {
        padding: 60px 0;
    }
    
    .benefit-icon {
        font-size: 2.5rem;
    }
    
    .benefit-card h3 {
        font-size: 1.3rem;
    }
}
