/* =========================================
   Light / Misty Rose (#FFE4E1) Theme
   ========================================= */

/* カラートークン */
:root {
    /* ベース（Misty Rose） */
    --bg: #FFE4E1;     /* ページ全体の背景 */
    --bg-alt: #FFF1F0; /* セクションの薄背景（ベースよりさらに淡い） */
    --panel: #FFFFFF;  /* カード/ヘッダー/フッターの面色（読みやすさ優先で白） */

    /* 文字色 */
    --heading: #2B2B2B;
    --text: #333333;
    --text-muted: #6F6467; /* やや温かみのあるグレー */

    /* アクセント */
    --accent: #FF6B6B;     /* CTAなど主アクセント */
    --accent-2: #FFB3A3;   /* サブアクセント（ピーチ寄り） */
    --accent-3: #9BE7E0;   /* 第3アクセント（ミントで抜け感） */

    /* 枠線・影 */
    --line: #F2D6D3;       /* ピンク系の薄いボーダー */
    --shadow: rgba(0, 0, 0, 0.06);
}

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

/* 基本設定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ヘッダー */
.header {
    background-color: var(--panel);
    box-shadow: 0 1px 8px var(--shadow);
    border-bottom: 1px solid var(--line);
    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: var(--heading);
    letter-spacing: 1px;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--heading);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: var(--accent);
}

.online-btn {
    background-color: var(--accent);
    color: #FFFFFF !important;
    padding: 8px 16px;
    border-radius: 20px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.online-btn:hover {
    background-color: #FF5252;
    transform: translateY(-1px);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--heading);
    margin: 3px 0;
    transition: 0.3s;
}

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

.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.25), rgba(0, 0, 0, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

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

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

.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: var(--heading);
}

.accent-line {
    width: 80px;
    height: 4px;
    background-color: var(--accent-2);
    margin-bottom: 30px;
}

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

.cta-button {
    background-color: var(--accent);
    color: #FFFFFF;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 20px;
}

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

.whats-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 24px var(--shadow);
}

/* About Lesson セクション */
.lesson-section {
    padding: 80px 0;
    background-color: var(--bg-alt);
}

.lesson-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--heading);
}

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

.lesson-card {
    background-color: var(--panel);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 24px var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--line);
}

.lesson-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px var(--shadow);
}

.lesson-card.pink {
    border-top: 5px solid var(--accent);
}

.lesson-card.orange {
    border-top: 5px solid var(--accent-2);
}

.lesson-card.green {
    border-top: 5px solid var(--accent-3);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    border: 1px solid var(--line);
}

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

.lesson-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--heading);
}

.lesson-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Merit セクション */
.merit-section {
    padding: 80px 0;
    background-color: var(--bg);
}

.merit-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--heading);
}

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

.merit-card {
    background-color: var(--panel);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 24px var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--line);
}

.merit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px var(--shadow);
}

.merit-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-alt);
}

.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: var(--heading);
}

.merit-card p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 20px 20px;
    color: var(--text-muted);
}

/* 体験レッスン セクション */
.trial-lesson {
    position: relative;
    height: 400px;
    overflow: hidden;
    background-color: var(--bg-alt);
}

.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.35), rgba(0, 0, 0, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

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

.trial-button {
    background-color: var(--accent-2);
    color: #FFFFFF;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.trial-button:hover {
    background-color: #FFB367;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 179, 103, 0.35);
}

/* ギャラリー セクション */
.gallery-section {
    padding: 80px 0;
    background-color: var(--bg-alt);
}

.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 8px 24px var(--shadow);
    cursor: pointer;
    border: 1px solid var(--line);
    background: var(--panel);
}

.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, 107, 107, 0.85));
    color: #FFFFFF;
    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.08);
}

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

/* フッター（白基調） */
.footer {
    background-color: var(--panel);
    color: var(--text);
    padding: 60px 0 20px;
    border-top: 1px solid var(--line);
}

.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;
    color: var(--heading);
}

.footer-info p {
    line-height: 1.8;
    color: var(--text-muted);
}

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

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

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

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--accent);
}

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

.social-icons a {
    font-size: 24px;
    text-decoration: none;
    color: var(--text-muted);
    transition: transform 0.2s ease, color 0.2s ease;
}

.social-icons a:hover {
    transform: scale(1.12);
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 20px;
    text-align: center;
    color: var(--text-muted);
}

/* アクセシビリティ（フォーカス） */
a:focus,
button:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* レスポンシブデザイン */
@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;
    }
}
