@charset "utf-8";

/*==============================================================
　ページタイトルバナー
==============================================================*/
#page_banner {
    width: 99%;
    margin: -70px auto 0;        /* topbarの高さ分上に引き上げ */
    padding: 118px 0 40px;       /* 上: 70px(topbar) + 48px(元のpadding) */
    background: #3b2a1a;
    background-image:
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.03) 0px,
            rgba(255,255,255,0.03) 1px,
            transparent 1px,
            transparent 60px
        );
    border-bottom: 1px solid #b8a070;
    text-align: center;
    position: relative;
    z-index: 1;
}

.page_banner_sub {
    width: 100%;
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
    font-size: 13px;
    letter-spacing: 0.5em;
    color: #b8a070;
    margin: 0 0 10px;
}

.page_banner_title {
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
    font-size: 38px;
    font-weight: normal;
    letter-spacing: 0.4em;
    color: #f5e8d0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/*==============================================================
　教室セクション
==============================================================*/
#class_section {
    width: 99%;
    margin: 0 auto;
    padding: 50px 0 60px;
}

.class_inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/*==============================================================
　共通見出し
==============================================================*/
.cs_midashi {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0 0 40px;
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
    font-size: 28px;
    font-weight: normal;
    color: #5a3e1b;
    letter-spacing: 0.25em;
}

.cs_midashi::before,
.cs_midashi::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #b8a070);
}
.cs_midashi::after {
    background: linear-gradient(to left, transparent, #b8a070);
}

/*==============================================================
　教室カード（横並びレイアウト）
==============================================================*/
.class_card {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid #d4b896;
}

.class_card:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* 画像エリア */
.class_img_wrap {
    width: 260px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 2px;
    border: 1px solid #d4b896;
}

.class_img_wrap img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.class_card:hover .class_img_wrap img {
    transform: scale(1.04);
}

/* テキストエリア */
.class_body {
    flex: 1;
}

.class_name {
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
    font-size: 24px;
    font-weight: normal;
    color: #5a3e1b;
    letter-spacing: 0.2em;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px dotted #d4b896;
    border-left: 4px solid #b8a070;
    padding-left: 14px;
}

.class_desc {
    width: 100%;
    margin: 0 0 20px;
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
    font-size: 14px;
    color: #4a3520;
    line-height: 2.0;
    letter-spacing: 0.08em;
}

/*==============================================================
　教室情報テーブル
==============================================================*/
.class_info_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
}

.class_info_table tr {
    border-bottom: 1px dotted #e8d4b4;
}

.class_info_table th {
    width: 80px;
    padding: 8px 12px 8px 0;
    font-size: 13px;
    font-weight: normal;
    color: #b8a070;
    letter-spacing: 0.2em;
    white-space: nowrap;
    vertical-align: top;
    background: rgba(184,160,112,0.08);
    text-align: center;
    border-right: 1px solid #d4b896;
}

.class_info_table td {
    padding: 8px 0 8px 16px;
    font-size: 14px;
    color: #4a3520;
    line-height: 1.9;
    letter-spacing: 0.06em;
}

/*==============================================================
　注意事項リスト
==============================================================*/
.class_notes {
    list-style: none;
    padding: 12px 16px;
    margin: 0 0 16px;
    background: rgba(184,160,112,0.08);
    border-left: 3px solid #b8a070;
}

.class_notes li {
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
    font-size: 13px;
    color: #7a6040;
    line-height: 2.0;
    padding-left: 1.2em;
    position: relative;
}

.class_notes li::before {
    content: '※';
    position: absolute;
    left: 0;
    color: #b8a070;
}

/*==============================================================
　お申し込みリンク
==============================================================*/
.class_contact {
    margin-top: 8px;
}

.class_contact a {
    display: inline-block;
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
    font-size: 13px;
    color: #5a7a3a;
    text-decoration: none;
    border-bottom: 1px solid #5a7a3a;
    padding-bottom: 2px;
    letter-spacing: 0.08em;
    transition: color 0.2s;
}

.class_contact a:hover { color: #3a5a1a; }

/*==============================================================
　レスポンシブ対応
==============================================================*/
@media screen and (max-width: 800px) {
    .class_img_wrap {
        width: 200px;
    }

    .class_img_wrap img {
        height: 160px;
    }

    .class_name {
        font-size: 20px;
    }
}

@media screen and (max-width: 480px) {
    .class_card {
        flex-direction: column;  /* 縦並びに */
        gap: 16px;
    }

    .class_img_wrap {
        width: 100%;
    }

    .class_img_wrap img {
        height: 200px;
    }

    .class_name {
        font-size: 18px;
    }

    .class_info_table th {
        width: 60px;
        font-size: 12px;
    }

    .class_info_table td {
        font-size: 13px;
    }
}
