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

.price-page-section h2 { /* 「レッスン料金」タイトル */
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 40px;
    color: #386641; /* ダークグリーン */
}

.price-intro-highlight {
    background-color: #E6EFE6; /* 薄いグリーン系 (ヒーローセクション背景類似色) */
    padding: 25px 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    text-align: center;
    border: 2px dashed #6A994E; /* やや明るいグリーンの点線枠 */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.price-intro-highlight h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.8em; /* 少し大きめに */
    color: #BC4749; /* やや落ち着いた赤系 */
    margin-top: 0;
    margin-bottom: 12px;
}
.price-intro-highlight p {
    font-size: 1.2em; /* 少し大きめに */
    color: #386641; /* ダークグリーン */
    margin-bottom: 8px;
    line-height: 1.5;
}
.price-intro-highlight p strong {
    font-size: 1.25em; /* さらに強調 */
    color: #386641;
}
.price-intro-highlight .small-text {
    font-size: 0.9em;
    color: #5a5a5a;
    margin-top: 10px;
}

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

.price-table-container 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;
}

.price-table {
    display: table;
    width: 100%;
    border-collapse: collapse; /* 隣接するセルの境界線を1本に */
    font-size: 1em;
    border: 1px solid #E0E0E0; /* テーブル全体に枠線 */
}
.price-table-header, .price-table-row {
    display: table-row;
}
.price-table-header {
    background-color: #F8F5F0; /* ヘッダー行の背景色 (既存のベージュ系) */
    font-weight: 700; /* 太字 */
    color: #386641; /* ダークグリーン */
}
.price-table-row:nth-child(even) { /* 偶数行の背景色を少し変える */
    background-color: #FCFBF8;
}
.price-table-row:hover {
    background-color: #F0F0F0; /* ホバー時の背景色 */
}

.price-table-cell {
    display: table-cell;
    padding: 16px 12px; /* パディングを少し増やす */
    vertical-align: middle;
    text-align: left;
    border-bottom: 1px solid #E0E0E0; /* セルごとの下線 */
    border-left: 1px solid #E0E0E0; /* セルごとの左線 */
}
.price-table-cell:first-child {
    border-left: none; /* 最初の列の左線を消す */
}
.price-table-header .price-table-cell {
    padding: 12px 10px;
    border-bottom: 2px solid #D4E0D4; /* ヘッダー下線を太く */
}

.price-table-cell:nth-child(1) { /* コース名 */
    width: 30%;
}
.price-table-cell:nth-child(2) { /* 対象・内容 */
    width: 45%;
    line-height: 1.65; /* 行間調整 */
    font-size: 0.95em;
    color: #4A4A4A;
}
.price-table-cell:nth-child(3) { /* 料金 */
    width: 25%;
    text-align: right;
    font-weight: bold;
}

.course-name {
    font-weight: 700; /* 太字 */
    color: #386641; /* ダークグリーン */
    font-size: 1.05em;
}
.course-price {
    color: #BC4749; /* やや落ち着いた赤系 */
    font-size: 1.15em; /* 少し大きめに */
}

.price-table .highlight-row {
    background-color: #E9F5E9 !important; /* Importantで他の背景色指定を上書き */
    border-left: 4px solid #6A994E !important;
    /* border-right: 4px solid #6A994E; */ /* テーブル全体に枠線を引いたので右は不要かも */
}
.price-table .highlight-row .course-name,
.price-table .highlight-row .course-price {
    color: #2F5233; /* より濃い緑 */
}
.price-table .highlight-row .course-price {
    font-size: 1.2em; /* さらに強調 */
}


.fees-notes, .important-notes {
    background-color: #FFFFFF;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}
.fees-notes:last-child, .important-notes:last-child {
    margin-bottom: 0;
}

.fees-notes h3, .important-notes h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.6em;
    color: #386641;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid #E6EFE6;
}
.fees-notes p {
    font-size: 1.05em; /* 少し大きめに */
    line-height: 1.7;
    color: #4A4A4A;
    margin-bottom: 12px;
}
.admission-fee {
    font-size: 1.1em; /* 少し大きめに */
}
.admission-fee strong, .fees-notes p strong {
    color: #386641;
}

.important-notes .notes-list {
    list-style: none;
    padding-left: 0;
}
.important-notes .notes-list li {
    font-size: 1em;
    color: #4A4A4A;
    line-height: 1.8;
    padding: 12px 0 12px 25px; /* 左パディングを増やす */
    border-bottom: 1px dotted #E0E0E0;
    position: relative;
}
.important-notes .notes-list li:last-child {
    border-bottom: none;
}
.important-notes .notes-list li::before {
    content: "※";
    position: absolute;
    left: 0;
    top: 12px;
    color: #6A994E; /* やや明るいグリーン */
    font-weight: bold;
    font-size: 1.1em; /* マーカーを少し大きく */
}
.important-notes .notes-list li strong {
    color: #BC4749; /* やや落ち着いた赤系で強調 */
    font-weight: bold;
}
.important-notes .notes-list li .btn-small {
    margin-left: 8px;
    font-size: 0.85em;
    padding: 6px 14px;
    vertical-align: middle; /* テキストとの垂直位置調整 */
}

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

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

    .price-intro-highlight {
        padding: 20px 15px;
        margin-bottom: 30px;
    }
    .price-intro-highlight h3 {
        font-size: 1.5em;
    }
    .price-intro-highlight p {
        font-size: 1.1em;
    }
    .price-intro-highlight p strong {
        font-size: 1.15em;
    }
    .price-intro-highlight .small-text {
        font-size: 0.85em;
    }

    .price-table-container {
        padding: 20px 0px; /* テーブル自身のパディングは0に */
        box-shadow: none; /* スマホではコンテナの影を消す */
        background-color: transparent; /* スマホではコンテナの背景を消す */
    }
    .price-table-container h3 {
        font-size: 1.5em;
        margin-left: 15px;
        margin-right: 15px;
        margin-bottom: 20px;
    }

    /* Responsive Table: Convert to block display for small screens */
    .price-table {
        display: block;
        width: 100%;
        border: none; /* スマホではテーブル全体の枠線を消す */
    }
    .price-table-header {
        display: none; /* Hide table header row */
    }
    .price-table-row {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #E0E0E0;
        border-radius: 8px; /* 各行をカード風に */
        box-shadow: 0 3px 8px rgba(0,0,0,0.06);
        background-color: #FFFFFF !important; /* 各行の背景を白に統一 */
    }
    .price-table .highlight-row {
        border-left: 5px solid #6A994E !important; /* 強調表示 */
    }

    .price-table-cell {
        display: block;
        width: auto !important;
        text-align: left !important;
        padding: 12px 15px;
        border: none; /* セルごとの線は消す */
        border-bottom: 1px dashed #EAEAEA; /* セル内の区切り線 */
    }
    .price-table-cell:last-child {
        border-bottom: none; /* 最後のセルの下線を消す */
    }

    .price-table-cell::before {
        font-weight: bold;
        color: #386641;
        display: block; /* ラベルをブロック要素にして改行 */
        margin-bottom: 4px; /* ラベルと値の間隔 */
        font-size: 0.85em;
        text-transform: uppercase; /* ラベルを大文字に */
    }
    .price-table-cell:nth-child(1)::before { content: "コース"; }
    .price-table-cell:nth-child(2)::before { content: "対象・内容"; }
    .price-table-cell:nth-child(3)::before { content: "料金（税込）"; }

    .price-table-cell.course-name {
        font-size: 1.15em; /* コース名を少し大きく */
        padding-top: 15px; /* 上パディング調整 */
    }
    .price-table-cell.course-price {
        font-size: 1.2em; /* 料金を少し大きく */
        padding-bottom: 15px; /* 下パディング調整 */
    }
    .price-table-cell:nth-child(2) { /* 対象・内容のスマホでのフォントサイズ */
        font-size: 0.9em;
    }

    .fees-notes, .important-notes {
        padding: 20px 15px;
        margin-bottom: 25px;
        box-shadow: none; /* スマホでは影を消す */
        border-top: 1px solid #E6EFE6; /* 上に区切り線 */
        border-bottom: 1px solid #E6EFE6; /* 下に区切り線 */
        border-radius: 0; /* 角丸をなくす */
    }
    .fees-notes h3, .important-notes h3 {
        font-size: 1.4em;
        margin-bottom: 15px;
    }
    .fees-notes p {
        font-size: 1em;
    }
    .admission-fee {
        font-size: 1.05em;
    }
    .important-notes .notes-list li {
        font-size: 0.95em;
        line-height: 1.7;
        padding-left: 22px;
    }
    .important-notes .notes-list li::before {
        top: 11px;
        font-size: 1em;
    }
    .important-notes .notes-list li .btn-small {
        display: block; /* ボタンをブロック要素に */
        width: auto;
        max-width: 100%;
        margin: 10px 0 0; /* 上マージン調整 */
        text-align: center;
    }
}