/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

/* ヒーローヘッダー */
.hero {
    background: linear-gradient(135deg, #87CEEB 0%, #FFE4B5 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.3) 0%, transparent 30%),
        radial-gradient(circle at 80% 30%, rgba(255, 127, 80, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 60% 70%, rgba(135, 206, 235, 0.3) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 40px 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    animation: slideInDown 1s ease-out;
}

@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #34495e;
    margin-bottom: 40px;
    font-weight: 400;
    animation: slideInUp 1s ease-out 0.3s both;
}

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

.hero-visual {
    animation: fadeIn 1s ease-out 0.6s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-icon {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #2c3e50;
    font-weight: 500;
    position: relative;
}

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

/* ラジオ体操の魅力セクション */
.benefits {
    background: #fff;
}

/* 統計データセクション */
.statistics {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.statistics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(76, 175, 80, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(33, 150, 243, 0.05) 0%, transparent 40%);
    animation: statisticsFloat 8s ease-in-out infinite;
}

@keyframes statisticsFloat {
    0%, 100% { transform: translateX(0) scale(1); }
    50% { transform: translateX(20px) scale(1.02); }
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.statistic-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.8);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.statistic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.statistic-card:hover::before {
    left: 100%;
}

.statistic-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.statistic-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.statistic-card:hover .statistic-icon {
    transform: scale(1.1) rotateY(15deg);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.statistic-icon svg {
    width: 60px;
    height: 60px;
    transition: all 0.3s ease;
}

.statistic-card:hover .statistic-icon svg {
    transform: scale(1.1);
}

.statistic-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #4CAF50, #2196F3, #FF9800, #E91E63, #9C27B0);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

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

.statistic-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.statistic-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.statistic-source {
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
    padding: 10px 15px;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 10px;
    border-left: 3px solid #4CAF50;
    position: relative;
    z-index: 2;
}

.statistics-note {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 15px;
    border: 1px dashed #4CAF50;
    position: relative;
    z-index: 2;
}

.statistics-note p {
    color: #2E7D32;
    font-weight: 500;
    font-size: 0.95rem;
}

/* カウンターアニメーション */
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px) scale(0.8); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.statistic-card[data-animation="counter"] .statistic-number {
    animation: countUp 0.8s ease-out 0.3s both;
}

.statistic-card[data-animation="counter"] .statistic-title {
    animation: countUp 0.8s ease-out 0.5s both;
}

.statistic-card[data-animation="counter"] .statistic-description {
    animation: countUp 0.8s ease-out 0.7s both;
}

.statistic-card[data-animation="counter"] .statistic-source {
    animation: countUp 0.8s ease-out 0.9s both;
}

/* パララックス効果 */
@keyframes parallax {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

.statistic-card:nth-child(2n) {
    animation: parallax 6s ease-in-out infinite alternate;
}

.statistic-card:nth-child(2n+1) {
    animation: parallax 6s ease-in-out infinite alternate-reverse;
}

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

.benefit-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 50px;
    height: 50px;
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 500;
}

.benefit-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
}

/* お父さんの声セクション */
.testimonials {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-3px);
}

.testimonial-avatar {
    font-size: 3rem;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 15px;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    font-weight: 500;
    color: #FF7F50;
    font-size: 0.95rem;
}

/* 時間・場所セクション */
.location {
    background: #fff;
}

.location-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.location-card {
    background: linear-gradient(135deg, #87CEEB 0%, #98D8E8 100%);
    color: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(135, 206, 235, 0.3);
}

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

.location-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.location-detail {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.95;
}

.map-placeholder {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 2px dashed #87CEEB;
}

.map-placeholder svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* CTAセクション */
.cta {
    background: linear-gradient(135deg, #FF7F50 0%, #FFD700 100%);
    color: #fff;
    text-align: center;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 30px;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.8;
    opacity: 0.95;
}

.cta-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    font-weight: 500;
}

.cta-button {
    background: #fff;
    color: #FF7F50;
    font-size: 1.3rem;
    font-weight: 500;
    padding: 18px 50px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    font-family: inherit;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    background: #f8f9fa;
}

.cta-note {
    margin-top: 40px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* フッター */
.footer {
    background: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

.footer p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-icon {
        width: 150px;
        height: 150px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .statistics-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .statistic-card {
        padding: 30px 25px;
    }
    
    .statistic-number {
        font-size: 3rem;
    }
    
    .statistic-title {
        font-size: 1.3rem;
    }
    
    .statistic-icon {
        width: 80px;
        height: 80px;
    }
    
    .statistic-icon svg {
        width: 50px;
        height: 50px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial {
        flex-direction: column;
        text-align: center;
    }
    
    .location-info {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
    
    .cta-button {
        font-size: 1.2rem;
        padding: 16px 40px;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .benefit-card {
        padding: 30px 20px;
    }
    
    .statistic-card {
        padding: 25px 15px;
    }
    
    .statistic-number {
        font-size: 2.5rem;
    }
    
    .statistic-title {
        font-size: 1.2rem;
    }
    
    .statistic-icon {
        width: 70px;
        height: 70px;
    }
    
    .statistic-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .statistic-source {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    
    .testimonial {
        padding: 25px 20px;
    }
    
    .location-card {
        padding: 25px 20px;
    }
    
    .cta-title {
        font-size: 1.9rem;
    }
    
    .cta-button {
        font-size: 1.1rem;
        padding: 14px 30px;
    }
}