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

/* 基本設定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #5D4037;
    background-color: #FAF7F2;
}

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

/* ヘッダー */
.header {
    background-color: #F5F1EB;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #5D4037;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #5D4037;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #FF6B6B;
}

.online-btn {
    background-color: #FF6B6B;
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    transition: background-color 0.3s ease;
}

.online-btn:hover {
    background-color: #FF5252;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #5D4037;
    margin: 3px 0;
    transition: 0.3s;
}

/* メインビジュアル */
.hero {
    margin-top: 70px;
    position: relative;
    height: 60vh;
    overflow: hidden;
}

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

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
}

.hero-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 20px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* What's セクション */
.whats-section {
    padding: 80px 0;
    background-color: #FAF7F2;
}

.whats-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.whats-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #5D4037;
}

.accent-line {
    width: 80px;
    height: 4px;
    background-color: #FFB347;
    margin-bottom: 30px;
}

.whats-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.cta-button {
    background-color: #FF6B6B;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.cta-button:hover {
    background-color: #FF5252;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.whats-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* About Lesson セクション */
.lesson-section {
    padding: 80px 0;
    background-color: #F5F1EB;
}

.lesson-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #5D4037;
}

.lesson-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.lesson-card {
    background-color: white;
    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;
}

.lesson-card:hover {
    transform: translateY(-5px);
}

.lesson-card.pink {
    border-top: 5px solid #FF6B6B;
}

.lesson-card.orange {
    border-top: 5px solid #FFB347;
}

.lesson-card.green {
    border-top: 5px solid #4ECDC4;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lesson-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #5D4037;
}

.lesson-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* Merit セクション */
.merit-section {
    padding: 80px 0;
    background-color: #FAF7F2;
}

.merit-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #5D4037;
}

.merit-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.merit-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.merit-card:hover {
    transform: translateY(-5px);
}

.merit-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.merit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.merit-card:hover .merit-image img {
    transform: scale(1.05);
}

.merit-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 20px 20px 10px;
    color: #5D4037;
}

.merit-card p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 20px 20px;
    color: #666;
}

/* 体験レッスン セクション */
.trial-lesson {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.trial-bg {
    position: relative;
    width: 100%;
    height: 100%;
}

.trial-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
}

.trial-content {
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 0 20px;
}

.trial-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.trial-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.trial-button {
    background-color: #FFB347;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.trial-button:hover {
    background-color: #FF9800;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 179, 71, 0.4);
}

/* ギャラリー セクション */
.gallery-section {
    padding: 80px 0;
    background-color: #F5F1EB;
}

.gallery-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-card {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(255, 179, 71, 0.9));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-overlay h3 {
    font-size: 18px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* フッター */
.footer {
    background-color: #5D4037;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-info p {
    line-height: 1.8;
    color: #E0E0E0;
}

.footer-nav h4,
.footer-social h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-nav ul {
    list-style: none;
}

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

.footer-nav a {
    color: #E0E0E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #FF6B6B;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    border-top: 1px solid #666;
    padding-top: 20px;
    text-align: center;
    color: #E0E0E0;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .whats-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .lesson-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .merit-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gallery-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .trial-content h2 {
        font-size: 28px;
    }
    
    .trial-content p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        height: 50vh;
    }
    
    .hero-content h2 {
        font-size: 24px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .whats-text h2,
    .lesson-section h2,
    .merit-section h2 {
        font-size: 28px;
    }
    
    .trial-content h2 {
        font-size: 24px;
    }
    
    .trial-content p {
        font-size: 14px;
    }
}

