@charset "utf-8";

/*===========================
article header
===========================*/

.article__header {
    background-image: url(../images/page-backPC.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /* background-size: 100%; */
    margin-top: -118px;
    padding: 18%;
    position: relative;
    z-index: -100;
}

.page__title {
    top: 50%;
    left: 17%;
    font-size: 4rem;
    font-weight: 500;
    line-height: 150%;
    position: absolute;
    z-index: 10;
}

.page__title::before {
    content: '';
    display: inline-block;
    width: 117px;
    height: 107px;
    background-image: url(../images/decorationPC.webp);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    left: -45px;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
}

@media screen and (max-width: 1024px) {
    .page__title {
        font-size: 3rem;
    }

    .page__title::before {
        width: 80px;
        height: 77px;
        left: -32px;
    }
}

/* .article header sp */
@media screen and (max-width: 767px) {
    .article__header {
        background-image: url(../images/page-backSP.webp);
        background-size: cover;
        margin-top: -62px;
        padding: 32% 0;
    }

    .page__title {
        top: 50%;
        left: 13%;
        font-size: 2rem;
    }

    .page__title::before {
        width: 50px;
        height: 45.7px;
        background-image: url(../images/decorationSP.webp);
        background-size: contain;
        background-position: center;
        left: -18px;
    }
}

/*===========================
lesson
===========================*/

.main__copy {
    display: none;
}

.tab-container {
    margin: 80px auto 0;
    width: 82%;
    max-width: 1160px;
}

.tab-buttons {
    margin: 0 auto;
    width: fit-content;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.tab-button {
    text-align: center;
    width: 400px;
    height: 38px;
    border-radius: 10px 10px 0 0;
    border: 1px solid #000;
    background-color: #E4E4E4;
    font-size: 2rem;
    font-weight: 500;
    line-height: 150%;
}

.tab-button.active {
    align-items: center;
    text-align: center;
    width: 400px;
    height: 45px;
    border-radius: 10px;
    border: 1px solid #000;
    background-color: #fff;
    font-size: 2rem;
    font-weight: 500;
    line-height: 150%;
}

.tab-panels {
    margin-top: -8px;
    max-width: 1160px;
    border-radius: 20px;
    border: 1px solid #000;
    background-color: var(#F8F6F1);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.introduction {
    margin: 60px auto 0;
    width: fit-content;
    padding: 0 30px;
    font-family: "BIZ UDPGothic";
    font-size: 1.8rem;
    line-height: 150%;
}

.tab-panels .tab-panel:nth-of-type(2) > :nth-child(5) {
    margin-top: 100px;
}

.lesson__content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 48px 98px 0;
    gap: 30px;
}

.lesson__detail {
    display: block;
    margin: 0 auto;
    text-align: center;
    width: 300px;
    height: 410px;
    border-radius: 20px;
    border: 1px solid #000;
    background-color: #FFF;
}

.grade {
    margin-top: 25px;
    font-size: 2rem;
    line-height: 150%;
}

.class__nameBaby,
.class__nameChild,
.class__nameJuniorOne,
.class__nameJuniorTwo,
.class__nameSenior,
.class__nameAdult {
    margin: 5px auto 0;
    padding: 0 10px;
    border-radius: 10px;
    width: 224px;
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 150%;
}

.class__nameClassic {
    margin: 5px auto 0;
    padding: 0 10px;
    border-radius: 10px;
    background: #E5FCFF;
    width: 224px;
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 130%;
}

.class__nameBaby {
    background-color: #FFFAD1;
}

.class__nameChild {
    background-color: #FFE8CA;
}

.class__nameJuniorOne {
    background: #FCC;
}

.class__nameJuniorTwo {
    background: #DCFFEC;
}

.class__nameSenior {
    background: #F8DEFF;
}

.class__nameAdult {
    background: #DED8FF;
}

.class__nameOpen {
    margin: 30px auto 0;
    padding: 0 10px;
    border-radius: 10px;
    background: #D8EAFF;
    width: 224px;
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 150%;
}

.class__txt {
    margin: 20px auto;
    text-align: left;
    width: 224px;
    font-family: "BIZ UDPGothic";
    font-size: 1.6rem;
    line-height: 150%;
}

.date__time {
    display: block;
    margin: 0 auto;
    width: fit-content;
    text-align: left;
}

.date__first,
.date__second,
.date__third {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: "BIZ UDPGothic";
    font-size: 1.6rem;
    line-height: 130%;
}

.date__first {
    margin: 0 auto;
    width: fit-content;
}

.date__second,
.date__third {
    margin: 5px auto 0;
}

.day {
    padding: 0 8px;
    border-radius: 5px;
    border: 1px solid #000;
}

.fee {
    display: block;
    margin: 20px auto 0;
    width: fit-content;
    text-align: left;
    font-family: "BIZ UDPGothic";
    font-size: 1.6rem;
    line-height: 130%;
}

.fee__second,
.fee__third {
    margin-top: 5px;
}

.other__fee {
    display: flex;
    flex-direction: column;
    margin: 70px auto 0;
    width: fit-content;
}

.admission {
    display: flex;
    margin: 0 auto;
    width: 650px;
    padding: 30px 50px;
    justify-content: space-between;
    align-items: center;
    border-top: 0.5px solid #2D2D2D;
}

.admission__txt,
.admission__price {
    font-family: "BIZ UDPGothic";
    font-size: 2rem;
    font-weight: 700;
    line-height: 150%;
}

.free {
    display: flex;
    width: 650px;
    padding: 20px 50px;
    justify-content: space-between;
    align-items: center;
    border-top: 0.5px solid #2D2D2D;
}

.free__txt,
.free__price {
    font-family: "BIZ UDPGothic";
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 150%;
}

.family {
    display: flex;
    width: 650px;
    padding: 20px 50px;
    justify-content: space-between;
    align-items: flex-start;
    border-top: 0.5px solid #2D2D2D;
    border-bottom: 0.5px solid #2D2D2D;
}

.family__txt {
    font-family: "BIZ UDPGothic";
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 150%;
}

.family__discount {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.family__detail {
    font-family: "BIZ UDPGothic";
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 150%;
}

.note {
    margin: 30px auto 70px;
    width: fit-content;
    font-family: "BIZ UDPGothic";
    font-size: 1.6rem;
    line-height: 150%;
}

.lesson__detailAdult {
    margin: 45px auto;
    padding-bottom: 30px;
    width: fit-content;
    display: block;
    text-align: center;
    width: 300px;
    height: auto;
    border-radius: 20px;
    border: 1px solid #000;
    background-color: #FFF;
}

.lesson__detailOpen {
    display: block;
    margin: 0 auto;
    text-align: center;
    width: 300px;
    height: 326px;
    border-radius: 20px;
    border: 1px solid #000;
    background-color: #FFF;
}

.point {
    display: inline-flex;
    width: 650px;
    padding: 30px 50px;
    justify-content: space-between;
    align-items: center;
    border-top: 0.5px solid #2D2D2D;
    border-bottom: 0.5px solid #2D2D2D;
}

.note__open {
    margin: 30px auto 70px;
    width: fit-content;
    font-family: "BIZ UDPGothic";
    font-size: 1.6rem;
    line-height: 150%;
}

.scroll-wrapper {
    margin: 80px auto 100px;
    width: 82%;
    max-width: 1160px;
}

.schedule {
    width: 100%;
    /* max-width: 1160px; */
    height: auto;
}

@media screen and (max-width: 1023px) {
    .tab-button {
        width: 250px;
        height: 38px;
        border-radius: 10px 10px 0 0;
        font-size: 1.8rem;
    }

    .tab-button.active {
        width: 250px;
        height: 45px;
        border-radius: 10px;
        font-size: 1.8rem;
    }
}

/* lesson sp */
@media screen and (max-width: 767px) {
    .tab-container {
        margin: 40px auto 0;
    }

    .tab-buttons {
        gap: 5px;
    }

    .tab-button {
        width: 150px;
        height: 30px;
        border-radius: 5px 5px 0 0;
        font-size: 1.6rem;
    }

    .tab-button.active {
        width: 150px;
        height: 35px;
        border-radius: 5px;
        font-size: 1.6rem;
    }

    .tab-panels {
        margin: -6px 4.8% 0;
        max-width: 1160px;
    }

    .introduction {
        margin: 35px auto 0;
        padding: 0 45px;
        font-size: 1.4rem;
        line-height: 130%;
    }

    .tab-panels .tab-panel:nth-of-type(2) > :nth-child(5) {
        margin-top: 55px;
    }

    .lesson__content {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        margin: 35px auto 0;
        gap: 15px;
    }

    .lesson__detail {
        width: 250px;
        height: auto;
    }

    .grade {
        margin-top: 25px;
        font-size: 1.6rem;
    }

    .class__nameBaby,
    .class__nameChild,
    .class__nameJuniorOne,
    .class__nameJuniorTwo,
    .class__nameSenior,
    .class__nameAdult {
        margin: 5px auto 0;
        width: 200px;
        font-size: 1.8rem;
    }

    .class__nameClassic {
        margin: 5px auto 0;
        width: 200px;
        font-size: 1.8rem;
    }

    .class__nameOpen {
        width: 200px;
        font-size: 1.8rem;
    }

    .class__txt {
        margin: 15px auto;
        width: 200px;
        font-size: 1.4rem;
    }

    .date__first,
    .date__second,
    .date__third {
        font-size: 1.4rem;
    }

    .fee {
        margin: 15px auto 25px;
        font-size: 1.4rem;
    }

    .fee__second,
    .fee__third {
        margin-top: 5px;
    }

    .other__fee {
        margin: 35px auto 0;
        padding: 0 3%;
    }

.admission {
    display: flex;
    width: 250px;
    padding: 20px 10px;
    justify-content: space-between;
    align-items: center;
}

    .admission__txt,
    .admission__price {
        font-size: 1.6rem;
    }

.free {
    display: flex;
    width: 250px;
    padding: 20px 10px;
    justify-content: space-between;
    align-items: center;
}

    .free__txt,
    .free__price {
        font-size: 1.4rem;
    }

.family {
    display: flex;
    width: 250px;
    padding: 20px 10px;
    justify-content: space-between;
    align-items: flex-start;
}

    .family__txt {
        font-size: 1.4rem;
    }

    .family__detail {
        font-size: 1.4rem;
    }


    .note {
        margin: 30px auto 50px;
        padding: 0 45px;
        font-size: 1.4rem;
        line-height: 150%;
    }

    .lesson__detailAdult {
        margin: 25px auto;
        padding-bottom: 30px;
        width: 250px;
        height: auto;
    }

    .lesson__detailOpen {
        width: 250px;
        height: auto;
    }

    .other__feeOpen {
        margin: 30px auto 0;
        width: fit-content;
        gap: 10px;
    }

    .lesson__item:nth-of-type(2) {
        padding: 0 10px 15px 0;
    }

    .point {
        display: flex;
        width: 250px;
        padding: 20px 10px;
    }

    .note__open {
        margin: 30px auto 50px;
        padding: 0 45px;
        font-size: 1.4rem;
        line-height: 150%;
    }

    .schedule {
        margin: 0;
        width: 722px;
        height: auto;
        max-width: none;
    }

    .scroll-wrapper {
        margin: 45px 0 70px 4.8%;
        width: 90%;
        overflow-x: auto;  /* 横スクロールを有効にする */
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch; /* スマホでスムーズスクロール */
    }
}

@media screen and (max-width: 449px) {
    .tab-buttons {
        gap: 2px;
    }

    .tab-button {
        width: 120px;
        font-size: 1.5rem;
    }

    .tab-button.active {
        width: 120px;
        font-size: 1.5rem;
    }

    .tab-panels {
        margin: -6px auto 0;
    }

    .lesson__detail {
        padding: 0 15px;
    }
}