@charset "UTF-8";

#contents {
    padding-bottom: 18.7rem;

    @media screen and (max-width: 767px) {
        padding-bottom: 8rem;
    }

    .inner {
        z-index: auto;
    }
}

#exp-contents {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding-top: 13rem; */
    z-index: 700;
    /* background-color: rgba(0, 0, 0, 0.5); */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;

    &.active {
        opacity: 1;
        pointer-events: auto;
    }

    .back-color {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
        background-color: rgba(0, 0, 0, 0.5);
        cursor: default;
    }

    .contents-wrapper {
        position: relative;
        z-index: 2;
        padding: 4.5rem 7rem;
        width: 120rem;
        max-width: 100%;
        height: auto;
        max-height: 96%;
        background-color: #fff;
        border-radius: 3rem;
        overflow-y: auto;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE, Edge */

        &::-webkit-scrollbar {
            display: none;
        }

        @media screen and (max-width: 767px) {
            padding: 2.8rem 2.2rem 3.6rem;
            width: calc(100% - 2rem);
        }

        .close-btn {
            position: absolute;
            top: 3.6rem;
            right: 6.9rem;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 3.2rem;
            height: 3.2rem;

            @media screen and (max-width: 767px) {
                top: 2.4rem;
                right: 2.7rem;
                width: 2.4rem;
                height: 2.4rem;
            }

            & span {
                position: relative;
                width: 4.5rem;
                height: 0.3rem;

                @media screen and (max-width: 767px) {
                    width: 3.4rem;
                    height: 0.2rem;
                }

                &::before,
                &::after {
                    content: "";
                    position: absolute;
                    top: 0;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    background-color: #000;
                }

                &::before {
                    transform: rotate(45deg);
                }

                &::after {
                    transform: rotate(-45deg);
                }
            }
        }

        .exp-title {
            margin-bottom: 4rem;
            font-style: normal;
            font-weight: 500;
            font-size: 2.6rem;
            line-height: 100%;
            text-align: center;
            letter-spacing: 0.05em;
            color: #000000;

            @media screen and (max-width: 767px) {
                padding-bottom: 2rem;
                margin-bottom: 3rem;
                font-size: 1.6rem;
                border-bottom: 1px solid #E0DFDF;
            }
        }

        .contents {
            &:not(:last-child) {
                margin-bottom: 4.2rem;
            }

            @media screen and (max-width: 767px) {
                &:not(:last-child) {
                    margin-bottom: 3rem;
                }
            }

            .main-text {
                padding: 1.5rem 1.2rem;
                margin-bottom: 2.9rem;
                font-style: normal;
                font-weight: 700;
                font-size: 1.8rem;
                line-height: 100%;
                letter-spacing: 0.05em;
                color: #000000;
                background-color: #F2F4EF;

                @media screen and (max-width: 767px) {
                    padding: 1.3rem 1.2rem;
                    margin-bottom: 2rem;
                    font-size: 1.4rem;
                }
            }

            .contents-list {
                display: flex;
                flex-wrap: wrap;
                row-gap: 2.2rem;

                @media screen and (max-width: 767px) {
                    flex-direction: column;
                    row-gap: 2rem;
                }

                .content {
                    display: flex;
                    align-items: center;
                    gap: 1.8rem;
                    width: calc(100% / 3);

                    @media screen and (max-width: 767px) {
                        width: 100%;
                    }

                    .img,
                    .tag {
                        flex-shrink: 0;
                    }

                    .text {
                        flex-grow: 1;

                        .main {
                            font-style: normal;
                            font-weight: 500;
                            font-size: 1.6rem;
                            line-height: 2.2rem;
                            letter-spacing: 0.05em;
                            color: #000000;

                            @media screen and (max-width: 767px) {
                                font-size: 1.4rem;
                                line-height: 2rem;
                            }
                        }

                        .sub {
                            font-style: normal;
                            font-weight: 400;
                            font-size: 1.4rem;
                            line-height: 140%;
                            letter-spacing: 0.1em;
                            color: #000000;

                            @media screen and (max-width: 767px) {
                                font-size: 1.2rem;
                            }
                        }
                    }
                }
            }

            &.license,
            &.others {
                .contents-list {
                    .content {
                        .text {
                            .main {
                                margin-bottom: 0.4rem;
                            }
                        }
                    }
                }
            }

            &.course {
                .contents-list {
                    .content {

                        .img {
                            width: 6.4rem;
                        }
                    }
                }
            }

            &.license {
                .contents-list {
                    .content {
                        .img {
                            width: 10rem;
                        }

                        .text {
                            padding-right: 4.6rem;

                            @media screen and (max-width: 767px) {
                                padding-right: 0;
                            }
                        }

                        &.white {
                            position: relative;

                            .main {
                                display: flex;
                                align-items: center;
                                gap: 0.3rem;
                            }

                            .notice-icon {
                                display: inline-block;
                                /* margin-left:0.3rem; */
                                width: 2.4rem;
                                height: 2.4rem;
                                background-image: url("../../common/img/parts/icon_q.svg");
                                background-size: 100% 100%;
                                background-repeat: no-repeat;
                                pointer-events: auto;
                            }


                            .notice {
                                position: absolute;
                                top: -15rem;
                                left: calc(50% - 32.6rem);
                                padding: 1.2rem 1.6rem;
                                width: 65.2rem;
                                background-color: #333333;
                                border-radius: 0.6rem;
                                opacity: 0;
                                pointer-events: none;
                                font-style: normal;
                                font-weight: 400;
                                font-size: 1.6rem;
                                line-height: 140%;
                                letter-spacing: 0.1em;
                                color: #FFFFFF;

                                @media screen and (max-width: 767px) {
                                    top: -13.5rem;
                                    left: calc(50% - 15.6rem);
                                    width: 31.2rem;
                                    font-size: 1.2rem;
                                }

                                &::before {
                                    content: "";
                                    display: inline-block;
                                    position: absolute;
                                    bottom: -0.9rem;
                                    left: calc(50% - 0.75rem);
                                    width: 1.5rem;
                                    height: 1.2rem;
                                    background-image: url("../../common/img/parts/comment-detail.svg");
                                    background-size: 100% 100%;
                                    background-repeat: no-repeat;
                                }

                                @media screen and (max-width: 767px) {
                                    &::before {
                                        left: auto;
                                        right: 6.3rem;
                                    }
                                }

                                &.active {
                                    opacity: 1;
                                    pointer-events: auto;
                                }
                            }

                            @media (hover: hover) and (pointer: fine) {
                                .notice-icon:hover~.notice {
                                    opacity: 1;
                                    pointer-events: auto;
                                }
                            }
                        }
                    }
                }
            }

            &.others {
                .contents-list {
                    .content {
                        .tag {
                            & span {
                                padding: 0.4rem 1rem;
                                font-style: normal;
                                font-weight: 400;
                                font-size: 1.4rem;
                                line-height: 1rem;
                                letter-spacing: 0.05em;
                                color: #FFFFFF;
                                background: #4D45A7;
                                border-radius: 10rem;
                            }
                        }
                    }
                }
            }
        }
    }
}

#main-detail {
    margin-top: 2.1rem;
    margin-bottom: 7.9rem;
    font-style: normal;
    font-weight: 600;
    font-size: 1.8rem;
    line-height: 4rem;
    letter-spacing: 0.1em;
    color: #000000;

    @media screen and (max-width: 767px) {
        margin-top: 0.4rem;
        margin-bottom: 3.4rem;
        font-size: 1.4rem;
        line-height: 220%;
    }
}

#information {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 4rem;

    @media screen and (max-width: 767px) {
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-start;
        gap: 3.9rem;
        margin-bottom: 2rem;
    }

    .exp {
        #exp-btn {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-style: normal;
            font-weight: 500;
            font-size: 1.8rem;
            line-height: 100%;
            letter-spacing: 0.05em;
            color: #000000;

            @media screen and (max-width: 767px) {
                font-size: 1.4rem;
            }

            @media (hover: hover) and (pointer: fine) {
                &:hover {
                    text-decoration: underline;
                }
            }

            &::before {
                content: "";
                display: inline-block;
                width: 2.4rem;
                height: 2.4rem;
                background-image: url("../../common/img/parts/icon-i.svg");
                background-size: 100% 100%;
                background-repeat: no-repeat;
            }

            @media screen and (max-width: 767px) {
                &::before {
                    width: 1.6rem;
                    height: 1.6rem;
                }
            }
        }
    }
}

#school-contents {

    .city {
        &:not(:last-child) {
            margin-bottom: 8.1rem;
        }

        .address {
            padding: 1.5rem 1.2rem;
            font-style: normal;
            font-weight: 700;
            font-size: 1.8rem;
            line-height: 100%;
            letter-spacing: 0.05em;
            color: #000000;
            background-color: #F2F4EF;

            @media screen and (max-width: 767px) {
                padding: 1.3rem 1.2rem;
                font-size: 1.4rem;
            }
        }

        .school {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 2.5rem 0 3.4rem 0;
            border-bottom: 1px solid #E0DFDF;

            @media screen and (max-width: 767px) {
                flex-direction: column;
                align-items: flex-start;
                justify-content: flex-start;
                gap: 2.6rem;
                padding: 3rem 0;
            }

            .school-license-modal {
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                display: flex;
                justify-content: center;
                align-items: center;
                z-index: 700;
                pointer-events: none;
                opacity: 0;
                transition: opacity 0.3s ease;

                &.active {
                    opacity: 1;
                    pointer-events: auto;
                }

                .back-color {
                    position: absolute;
                    top: 0;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    z-index: 1;
                    background-color: rgba(0, 0, 0, 0.5);
                    cursor: default;
                }

                .license-wrapper {
                    position: relative;
                    z-index: 2;
                    padding: 4.5rem 7rem 6.5rem;
                    width: 96%;
                    max-width: 82rem;
                    max-height: 96%;
                    aspect-ratio: 820 / 630;
                    border-radius: 3rem;
                    background-color: #fff;

                    @media screen and (max-width: 767px) {
                        padding: 2.5rem;
                    }

                    .close-btn {
                        position: absolute;
                        top: 3.6rem;
                        right: 6.9rem;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        width: 3.2rem;
                        height: 3.2rem;

                        @media screen and (max-width: 767px) {
                            top: 2.4rem;
                            right: 2.7rem;
                            width: 2.4rem;
                            height: 2.4rem;
                        }

                        & span {
                            position: relative;
                            width: 4.5rem;
                            height: 0.3rem;

                            @media screen and (max-width: 767px) {
                                width: 3.4rem;
                                height: 0.2rem;
                            }

                            &::before,
                            &::after {
                                content: "";
                                position: absolute;
                                top: 0;
                                left: 0;
                                right: 0;
                                bottom: 0;
                                background-color: #000;
                            }

                            &::before {
                                transform: rotate(45deg);
                            }

                            &::after {
                                transform: rotate(-45deg);
                            }
                        }
                    }

                    .modal-title {
                        padding-bottom: 2.5rem;
                        margin-bottom: 4rem;
                        font-style: normal;
                        font-weight: 500;
                        font-size: 2.6rem;
                        line-height: 100%;
                        text-align: center;
                        letter-spacing: 0.05em;
                        color: #000000;
                        border-bottom: 1px solid #E0DFDF;

                        @media screen and (max-width: 767px) {
                            padding-bottom: 1.5rem;
                            margin-bottom: 3rem;
                            font-size: 1.6rem;
                        }
                    }

                    .license-inner {
                        display: flex;
                        align-items: flex-start;
                        justify-content: flex-start;
                        padding-top: 8.5rem;
                        padding-left: 7.1rem;
                        width: 100%;
                        height: auto;
                        aspect-ratio: 680 / 428;
                        background-size: cover;
                        background-repeat: no-repeat;
                        border-radius: 2rem;
                        overflow: hidden;
                        border: 1px solid #3F3F3F;

                        @media screen and (max-width: 767px) {
                            padding-top: 4.3rem;
                            padding-left: 3.7rem;
                            border-radius: 1.5rem;
                        }

                        &.green {
                            background-image: url("../../img/page/school/back/green-back-new.jpg");
                        }

                        &.white {
                            background-image: url("../../img/page/school/back/white-back.jpg");

                            .img {
                                display: none;
                            }

                            .license-info {
                                margin-left: 11.4rem;
                                padding-top: 5.3rem;

                                @media screen and (max-width: 767px) {
                                    margin-left: 5.1rem;
                                    padding-top: 2.3rem;
                                }
                            }
                        }

                        &.gold {
                            background-image: url("../../img/page/school/back/gold-back.jpg");
                        }

                        &.platinum {
                            background-image: url("../../img/page/school/back/platinum-back.jpg");
                        }

                        &.diamond {
                            background-image: url("../../img/page/school/back/diamond-back.jpg");
                        }

                        .img {
                            flex-shrink: 0;
                            width: 13.5rem;

                            @media screen and (max-width: 767px) {
                                width: 6.5rem;
                            }
                        }

                        .license-info {
                            flex-grow: 1;
                            margin-left: 5.5rem;
                            padding-top: 6.8rem;
                            padding-right: 11rem;

                            @media screen and (max-width: 767px) {
                                margin-left: 2.1rem;
                                padding-top: 2.4rem;
                                padding-right: 1rem;
                            }

                            .text {
                                display: flex;
                                justify-content: space-between;
                                align-items: flex-end;
                                margin-bottom: 2.5rem;

                                @media screen and (max-width: 767px) {
                                    margin-bottom: 1rem;
                                }

                                .name {
                                    font-style: normal;
                                    font-weight: 500;
                                    font-size: 3.2rem;
                                    line-height: 100%;
                                    letter-spacing: 0.05em;
                                    color: #000000;

                                    @media screen and (max-width: 767px) {
                                        font-size: 1.5rem;
                                    }
                                }

                                .id {
                                    font-style: normal;
                                    font-weight: 500;
                                    font-size: 2.6rem;
                                    line-height: 100%;
                                    letter-spacing: 0.05em;
                                    color: #000000;

                                    @media screen and (max-width: 767px) {
                                        font-size: 1.2rem;
                                    }
                                }
                            }

                            .limit {
                                font-style: normal;
                                font-weight: 500;
                                font-size: 2.2rem;
                                line-height: 100%;
                                letter-spacing: 0.05em;
                                color: #000000;

                                @media screen and (max-width: 767px) {
                                    font-size: 1.3rem;
                                }
                            }
                        }

                        &.platinum,
                        &.diamond {
                            .license-info {
                                .text {
                                    .name {
                                        color: #fff;
                                    }

                                    .id {
                                        color: #fff;
                                    }
                                }

                                .limit {
                                    color: #fff;
                                }
                            }
                        }
                    }
                }
            }


            .school-info {
                .basic-info {
                    display: flex;
                    align-items: center;
                    gap: 3.1rem;
                    margin-bottom: 2.7rem;

                    @media screen and (max-width: 767px) {
                        align-items: flex-start;
                        gap: 1.5rem;
                        margin-bottom: 2.2rem;
                    }

                    .card {
                        flex-shrink: 0;
                        width: 12rem;
                        height: auto;
                        aspect-ratio: 120 / 76;
                        background-size: 100% 100%;
                        background-repeat: no-repeat;
                        cursor: pointer;
                        transition: ease 0.3s box-shadow;

                        @media (hover: hover) and (pointer: fine) {
                            &:hover {
                                box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.5);
                            }
                        }

                        @media screen and (max-width: 767px) {
                            width: 8rem;
                            aspect-ratio: 80 / 51;
                        }

                        &.green {
                            background-image: url("../../img/page/school/license/green-new.png");
                        }

                        &.white {
                            background-image: url("../../img/page/school/license/white.png");
                        }

                        &.gold {
                            background-image: url("../../img/page/school/license/gold.png");
                        }

                        &.platinum {
                            background-image: url("../../img/page/school/license/platinum.png");
                        }

                        &.diamond {
                            background-image: url("../../img/page/school/license/diamond.png");
                        }

                    }

                    .text {
                        .school-name {
                            font-style: normal;
                            font-weight: 600;
                            font-size: 2.4rem;
                            line-height: 5rem;
                            letter-spacing: 0.05em;
                            color: #000000;

                            @media screen and (max-width: 767px) {
                                margin-top: -0.5rem;
                                margin-bottom: 0.9rem;
                                font-size: 1.6rem;
                                line-height: 2.6rem;
                            }
                        }

                        .others {
                            display: flex;
                            align-items: center;
                            gap: 1.8rem;

                            .name {
                                font-style: normal;
                                font-weight: 400;
                                font-size: 1.8rem;
                                line-height: 4rem;
                                letter-spacing: 0.05em;
                                color: #000000;

                                @media screen and (max-width: 767px) {
                                    font-size: 1.2rem;
                                    line-height: 2rem;
                                }
                            }

                            & ul {
                                display: flex;
                                align-items: center;
                                gap: 0.8rem;

                                & li {
                                    padding: 0.7rem 1rem;
                                    background: #4D45A7;
                                    border-radius: 10rem;
                                    font-style: normal;
                                    font-weight: 400;
                                    font-size: 1.4rem;
                                    line-height: 1rem;
                                    text-align: center;
                                    letter-spacing: 0.05em;
                                    color: #FFFFFF;

                                    @media screen and (max-width: 767px) {
                                        padding: 0.5rem 1rem;
                                        font-size: 1.2rem;
                                    }
                                }
                            }
                        }
                    }
                }

                .license-info {
                    display: flex;
                    align-items: center;
                    gap: 4.7rem;

                    @media screen and (max-width: 767px) {
                        flex-direction: column;
                        align-items: flex-start;
                        gap: 2.2rem;
                    }

                    & ul {
                        display: flex;
                        align-items: center;

                        &.course {
                            gap: 1.4rem;

                            @media screen and (max-width: 767px) {
                                gap: 1.1rem;
                            }

                            & img {
                                width: 6.4rem;

                                @media screen and (max-width: 767px) {
                                    width: 5rem;
                                }
                            }
                        }

                        &.sns {
                            gap: 3.2rem;

                            @media screen and (max-width: 767px) {
                                gap: 2.5rem;
                            }

                            & img {
                                width: 3.2rem;

                                @media screen and (max-width: 767px) {
                                    width: 2.5rem;
                                }
                            }

                            & a {
                                transition: ease 0.3s transform;

                                @media (hover: hover) and (pointer: fine) {
                                    &:hover {
                                        transform: scale(1.2);
                                    }
                                }
                            }
                        }
                    }
                }



            }

            .btn-area {
                flex-shrink: 0;
                display: flex;
                flex-direction: column;
                gap: 2rem;
                width: 30rem;

                @media screen and (max-width: 767px) {
                    flex-direction: row;
                    column-gap: 1.7rem;
                    row-gap: 0;
                    width: 100%;
                }

                .home-page,
                .mail {
                    @media screen and (max-width: 767px) {
                        width: calc((100% - 1.7rem) / 2);

                        &.single {
                            width: 100%;
                        }
                    }

                    & a {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        padding: 2.1rem 0;
                        font-style: normal;
                        font-weight: 600;
                        font-size: 1.6rem;
                        line-height: 100%;
                        text-align: center;
                        letter-spacing: 0.05em;
                        border-radius: 10rem;
                        border: 1px solid #000;
                        box-shadow: 0 0.4rem 0.4rem rgba(0, 0, 0, 0.15);
                        transition: ease 0.3s color, ease 0.3s background-color;

                        @media screen and (max-width: 767px) {
                            width: 100%;
                            padding: 1.7rem 0;
                            font-size: 1.4rem;
                        }
                    }
                }

                .home-page {
                    & a {
                        background-color: #FFFFFF;
                        color: #000000;

                        @media (hover: hover) and (pointer: fine) {
                            &:hover {
                                background-color: #000000;
                                color: #FFFFFF;
                            }
                        }
                    }
                }

                .mail {
                    & a {
                        background-color: #000000;
                        color: #FFFFFF;

                        @media (hover: hover) and (pointer: fine) {
                            &:hover {
                                background-color: #FFFFFF;
                                color: #000000;
                            }
                        }
                    }
                }
            }
        }
    }








    .none {
        padding-top: 5rem;
        font-style: normal;
        font-weight: 500;
        font-size: 1.8rem;
        line-height: 100%;
        letter-spacing: 0.05em;
        color: #000000;
    }
}