@charset "UTF-8";

/* =========================
コースページ
========================= */

.course-page {
    padding-top: 0;
}

.course-page .section-title {
    margin: 30px 0;
}

.course-detail-list {
    margin-top: 0;
}

.course-detail-item {
    min-height: 150px;
    border: 1px solid #0f172a;
    display: grid;
    grid-template-columns: 160px 130px 1fr 160px;
    align-items: center;
    margin-bottom: 15px;
}

.course-detail-item>img {
    width: 160px;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-detail-item>img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.course-icon img {
    width: 110px;
    display: block;
    margin: 0 auto;
}

.course-text {
    padding-right: 20px;
}

.course-text h3 {
    font-size: 24px;
    margin: 0 0 10px;
}

.course-text p {
    margin: 0;
    font-size: 16px;
}

.small-btn {
    display: block;
    margin-right: 10px;
    padding: 8px 15px;
    border: 2px solid #f97316;
    text-align: center;
    font-weight: bold;
}

/* =========================
料金
========================= */

.price {
    margin-top: 70px;
}

.price h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.price-wrap {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
}

.price table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.price th,
.price td {
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 18px;
}

.price th {
    background: #ffd3b5;
    font-weight: normal;
}

.price td:first-child {
    background: #ffd3b5;
}

.lesson-style {
    border: 1px solid #ccc;
}

.lesson-style h3 {
    margin: 0;
    padding: 10px;
    background: #ffd3b5;
    text-align: center;
}

.lesson-style-item {
    display: flex;
    align-items: center;
    padding: 15px;
}

.lesson-style-item img {
    width: 75px;
    margin-right: 15px;
}

.lesson-style-item p {
    margin: 0;
    font-size: 13px;
}

.campaign {
    margin-top: 25px;
    font-size: 26px;
    font-weight: bold;
    text-decoration: underline;
}

.campaign p {
    margin: 8px 0;
}

/* =========================
スマホ用
========================= */

@media screen and (max-width: 767px) {
    .course-detail-item {
        display: block;
        padding-bottom: 20px;
    }

    .course-detail-item>img {
        width: 100%;
        height: auto;
    }

    .course-icon {
        margin-top: -50px;
        text-align: center;
    }

    .course-text {
        padding: 15px 20px;
    }

    .small-btn {
        width: 80%;
        margin: 0 auto;
    }

    .price-wrap {
        display: block;
    }

    .price table {
        margin-bottom: 25px;
    }

    .price th,
    .price td {
        font-size: 14px;
        padding: 8px;
    }

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