/* ===== Lesson Page Styles ===== */
.lesson-page-section {
    padding-top: 40px;
    padding-bottom: 60px;
}

.lesson-page-section h2 { /* 「レッスン内容」タイトル */
    text-align: center;
    font-size: 2.2em; /* index.htmlのセクションタイトルと合わせる */
    margin-bottom: 40px;
    color: #386641; /* ダークグリーン */
}

.lesson-category {
    background-color: #FFFFFF;
    padding: 30px 35px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    margin-bottom: 40px;
}
.lesson-category:last-child {
    margin-bottom: 0;
}

.lesson-category h3 { /* 「レッスンの内容について」など */
    font-family: 'Merriweather', serif;
    font-size: 1.8em;
    color: #386641; /* ダークグリーン */
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #E6EFE6; /* 薄いグリーン系 */
}

.lesson-type {
    margin-bottom: 30px; /* 各コース間のマージンを少し広げる */
    padding-left: 15px;
    border-left: 4px solid #A7C957; /* やや明るいグリーン */
    background-color: #FCFBF8; /* ごく薄い背景色 */
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 15px;
    border-radius: 0 6px 6px 0;
}
.lesson-type:last-of-type { /* カテゴリ内の最後のコース */
    margin-bottom: 5px; /* 次のセクションとの間隔を調整 */
}


.lesson-type h4 {
    font-family: 'Merriweather', serif;
    font-size: 1.45em; /* 少し大きくして強調 */
    color: #386641; /* ダークグリーン */
    margin-top: 0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between; /* バッジを右端に配置する場合 */
}
.lesson-type h4 .new-badge {
    background-color: #BC4749; /* 少し落ち着いた赤系 */
    color: white;
    font-size: 0.6em; /* h4に対する相対サイズ */
    padding: 4px 10px;
    border-radius: 4px;
    /* margin-left: 10px; 右寄せする場合は不要 */
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.lesson-type p {
    font-size: 1em;
    line-height: 1.8; /* 行間を少し広げて読みやすく */
    margin-bottom: 10px;
    color: #4A4A4A;
}
.lesson-type p:last-child {
    margin-bottom: 0;
}
.lesson-type p strong { /* (使用する教材) の部分 */
    font-weight: 700;
    color: #6A994E; /* やや明るいグリーン */
}

/* 「※クラシック以外の～」や「発表会情報補足」などの注釈 */
.lesson-note, #lesson-recital .notice-text {
    font-size: 0.95em;
    color: #5a5a5a;
    line-height: 1.7;
    margin-top: 20px;
    margin-bottom: 15px; /* プレピアノとの間隔調整 */
    padding: 15px;
    background-color: #F8F5F0;
    border-left: 3px solid #6A994E;
    border-radius: 0 4px 4px 0;
}
#lesson-recital .notice-text { /* 発表会補足の微調整 */
    margin-top: 10px;
    font-size: 0.9em;
}


.highlight-section { /* プレピアノレッスン用 */
    background-color: #E9F5E9; /* よりはっきりした薄いグリーン背景 */
    border-left: 4px solid #588142; /* 濃いグリーン */
    padding-top: 20px;
    padding-bottom: 20px;
}
.highlight-section h4 {
    color: #386641;
}
.highlight-section p {
    color: #333; /* 少し濃いめの文字色 */
}


.lesson-trial-note {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px dashed #D4E0D4;
    text-align: center;
    font-size: 1.05em;
    color: #4A4A4A;
}
.lesson-trial-note .btn-small { /* 小さめのボタン */
    padding: 10px 22px;
    font-size: 0.9em;
    margin-left: 10px;
    vertical-align: middle; /* テキストとの垂直位置調整 */
}

#lesson-schedule .schedule-list {
    list-style: none;
    padding-left: 0;
}
#lesson-schedule .schedule-list li {
    font-size: 1.1em; /* 少し大きく */
    color: #4A4A4A;
    padding: 10px 5px; /* 少しパディング追加 */
    border-bottom: 1px solid #EAEAEA; /* 少し薄い区切り線 */
}
#lesson-schedule .schedule-list li:last-child {
    border-bottom: none;
}
#lesson-schedule .schedule-list li::before { /* リストマーカー風 */
    content: "♪";
    color: #6A994E;
    margin-right: 10px;
    font-weight: bold;
}


#lesson-recital p {
    font-size: 1.05em;
    color: #4A4A4A;
    line-height: 1.8;
}

@media (max-width: 768px){
    /* ===== Lesson Page Styles (Phone) ===== */
    .lesson-page-section {
        padding-top: 20px;
        padding-bottom: 30px;
    }

    .lesson-page-section h2 {
        font-size: 1.7em;
        margin-bottom: 25px;
    }

    .lesson-category {
        padding: 20px 15px;
        margin-bottom: 30px;
    }

    .lesson-category h3 {
        font-size: 1.5em;
        margin-bottom: 20px;
    }

    .lesson-type {
        padding: 12px 10px;
        margin-bottom: 20px;
    }

    .lesson-type h4 {
        font-size: 1.3em; /* スマホ向けに調整 */
        line-height: 1.4;
        flex-direction: column; /* タイトルとバッジを縦並びにする場合 */
        align-items: flex-start;
    }
    .lesson-type h4 .new-badge {
        font-size: 0.6em; /* h4に対する相対サイズ */
        margin-left: 0; /* 縦並びの場合 */
        margin-top: 5px; /* バッジとの間隔 */
    }

    .lesson-type p {
        font-size: 0.95em;
        line-height: 1.75;
    }

    .lesson-note, #lesson-recital .notice-text {
        font-size: 0.9em;
        padding: 12px;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    #lesson-recital .notice-text {
        font-size: 0.85em;
    }

    .highlight-section {
        padding: 15px 12px;
    }

    .lesson-trial-note {
        margin-top: 25px;
        padding-top: 20px;
        font-size: 1em;
    }
    .lesson-trial-note br { /* スマホでテキストとボタンの間に改行を入れる場合 */
        /* display: block; */ /* 必要であれば */
    }
    .lesson-trial-note .btn-small {
        display: block;
        width: 90%;
        max-width: 280px;
        margin: 15px auto 0; /* 上マージンを少し取る */
        font-size: 0.95em;
        padding: 12px 15px;
    }

    #lesson-schedule .schedule-list li {
        font-size: 1em;
        padding: 10px 0;
    }
    #lesson-schedule .schedule-list li::before {
        margin-right: 8px;
    }

    #lesson-recital p {
        font-size: 1em;
    }
}