/* キッズアカデミー SPARK - スタイルシート */

:root {
    --primary-color: #4ECDC4;
    --secondary-color: #FFE66D;
    --accent-color: #FF6B6B;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #ff8e8e);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.btn-line {
    background: #06C755;
    color: white;
}

.btn-line:hover {
    background: #05b54c;
}

/* Section Styles */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 1000;
    box-shadow: var(--shadow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary-color);
    text-decoration: none;
}

.logo-icon {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-nav {
    background: var(--accent-color);
    color: white !important;
    padding: 10px 25px;
    border-radius: 25px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
}

/* Hero */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.9), rgba(255, 107, 107, 0.8)), url('../images/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 100px 20px;
}

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

.hero-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 700;
    margin-bottom: 25px;
    animation: bounce 2s infinite;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Features */
.features {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 5px solid var(--card-color, var(--primary-color));
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-light);
}

/* Courses */
.courses {
    padding: 100px 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.course-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.course-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.course-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.course-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.course-age {
    display: inline-block;
    background: var(--bg-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Age Class */
.age-class {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.age-class .section-title,
.age-class .section-subtitle {
    color: white;
}

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

.age-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 40px 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.age-card.featured {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-color);
    transform: scale(1.05);
}

.age-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.age-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.age-card p {
    margin-bottom: 20px;
    opacity: 0.95;
}

.age-card ul {
    list-style: none;
}

.age-card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.age-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.age-card.featured ul li::before {
    color: var(--primary-color);
}

/* Benefits */
.benefits {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.benefit-item {
    text-align: center;
    padding: 30px;
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.benefit-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.benefit-item p {
    color: var(--text-light);
}

/* Pricing */
.pricing {
    padding: 100px 0;
}

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

.pricing-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
}

.pricing-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-color);
    margin-bottom: 20px;
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 400;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 20px;
}

.pricing-card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
}

.pricing-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.price-note {
    color: var(--accent-color);
    font-weight: 600;
}

.pricing-extras {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
}

.extra-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.extra-item .icon {
    font-size: 2.5rem;
}

.extra-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.extra-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Voices */
.voices {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.voice-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.voice-content {
    margin-bottom: 20px;
    font-style: italic;
    color: var(--text-light);
}

.voice-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.course-tag {
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Schedule */
.schedule {
    padding: 100px 0;
}

.schedule-table {
    overflow-x: auto;
    margin-bottom: 30px;
}

.schedule-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    min-width: 700px;
}

.schedule-table th,
.schedule-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid #eee;
}

.schedule-table th {
    background: var(--primary-color);
    color: white;
}

.slot {
    padding: 8px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 500;
}

.slot.prog { background: #e8d6ff; color: #5a2d82; }
.slot.eng { background: #ffe6e6; color: #d63031; }
.slot.piano { background: #d6f0ff; color: #0984e3; }
.slot.sho { background: #d6ffd6; color: #00b894; }
.slot.art { background: #fff3d6; color: #fdcb6e; }
.slot.gym { background: #ffd6e8; color: #e84393; }
.slot.dance { background: #ffe6f0; color: #fd79a8; }
.slot.abacus { background: #fff0d6; color: #e17055; }

.schedule-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* FAQ */
.faq {
    padding: 100px 0;
    background: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
}

.faq-question .icon {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question .icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-content {
    padding: 0 25px 25px;
    color: var(--text-light);
}

/* Access */
.access {
    padding: 100px 0;
}

.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.access-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item .icon {
    font-size: 1.5rem;
}

.info-item h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-light);
}

.map {
    background: #ddd;
    border-radius: 15px;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

/* Contact */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), #45b7aa);
    color: white;
}

.contact .section-title,
.contact .section-subtitle {
    color: white;
}

.contact-box {
    background: rgba(255, 255, 255, 0.15);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 50px;
    text-align: center;
}

.contact-box h3 {
    margin-bottom: 25px;
}

.flow-mini {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--text-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

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

.contact-method {
    background: rgba(255, 255, 255, 0.15);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.contact-method .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-method h3 {
    margin-bottom: 15px;
}

.phone-number {
    font-size: 1.5rem;
    font-weight: 700;
}

.contact-method p {
    margin-bottom: 10px;
    opacity: 0.9;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.footer-section p {
    color: #aaa;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #666;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .access-content {
        grid-template-columns: 1fr;
    }

    .age-card.featured {
        transform: none;
    }

    .pricing-card.featured {
        transform: none;
    }
}
