@charset "UTF-8";

#page-fv.type-page {
    &::before {
        background-color: #D9D7F5;
    }
}

#curriculum {
    padding-top: 15.2rem;
    padding-bottom: 16rem;

    @media screen and (max-width: 767px) {
        padding-top: 5.4rem;
        padding-bottom: 7.4rem;
    }

    .main-text {
        margin-bottom: 8.7rem;

        @media screen and (max-width: 767px) {
            margin-bottom: 3.8rem;
        }

        .main {
            margin-bottom: 3.2rem;
            font-style: normal;
            font-weight: 600;
            font-size: 4rem;
            line-height: 160%;
            text-align: center;
            letter-spacing: 0.2em;
            color: #000000;

            @media screen and (max-width: 767px) {
                margin-bottom: 1.6rem;
                font-size: 1.8rem;
                text-align: left;
            }
        }

        .sub {
            font-style: normal;
            font-weight: 600;
            font-size: 1.8rem;
            line-height: 4rem;
            text-align: center;
            letter-spacing: 0.1em;
            color: #000000;

            @media screen and (max-width: 767px) {
                font-size: 1.4rem;
                line-height: 220%;
                text-align: left;
            }
        }
    }

    .instructor {

        .img {
            margin: 0 auto 2.3rem;
            width: 80rem;

            @media screen and (max-width: 767px) {
                margin-bottom: 1rem;
                width: 100%;
            }
        }

        .icon {
            margin: 0 auto 2.7rem;
            width: 14rem;

            @media screen and (max-width: 767px) {
                margin-bottom: 1.2rem;
                width: 6rem;
            }
        }

        .text {

            .main {
                margin-bottom: 2rem;
                font-style: normal;
                font-weight: 600;
                font-size: 3.4rem;
                line-height: 4.8rem;
                text-align: center;
                letter-spacing: 0.1em;
                color: #000000;

                @media screen and (max-width: 767px) {
                    margin-bottom: 4rem;
                    font-size: 1.4rem;
                    line-height: 2rem;
                }
            }

            .sub {
                font-style: normal;
                font-weight: 600;
                font-size: 1.8rem;
                line-height: 4rem;
                text-align: center;
                letter-spacing: 0.1em;
                color: #000000;

                @media screen and (max-width: 767px) {
                    font-size: 1.4rem;
                    line-height: 180%;
                }
            }
        }

    }
}

#course {
    padding-bottom: 19.9rem;

    @media screen and (max-width: 767px) {
        padding-bottom: 8rem;
    }

    .title {
        margin-bottom: 9.3rem;

        @media screen and (max-width: 767px) {
            margin-bottom: 5.4rem;
        }
    }

    .courses {

        .course {
            &:not(:last-child) {
                margin-bottom: 14rem;
            }

            @media screen and (max-width: 767px) {
                &:not(:last-child) {
                    margin-bottom: 5.6rem;
                }
            }

            .main-area {
                position: relative;

                &::after {
                    content: "";
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    right: 0;
                    width: 100%;
                    height: 8rem;
                    background-color: #EEEDF7;
                }

                @media screen and (max-width: 767px) {
                    &::after {
                        height: 3.5rem;
                    }
                }

                .wrapper {
                    display: flex;
                    gap: 11.8rem;
                    z-index: 2;

                    @media screen and (max-width: 767px) {
                        flex-direction: column;
                        gap: 2.6rem;
                    }

                    .text {
                        display: flex;
                        flex-direction: column;
                        justify-content: center;
                        gap: 1.8rem;
                        padding-bottom: 8rem;

                        @media screen and (max-width: 767px) {
                            padding-bottom: 0;
                        }

                        /* &.massage {
                            justify-content: flex-start;
                        } */

                        .text-title {
                            .main {
                                margin-bottom: 0.4rem;
                                font-family: 'Alexandria';
                                font-style: normal;
                                font-weight: 500;
                                font-size: 4.2rem;
                                line-height: 5rem;
                                letter-spacing: 0.05em;
                                color: #000000;

                                @media screen and (max-width: 767px) {
                                    font-size: 2.8rem;
                                    line-height: 3.4rem;
                                }
                            }

                            .sub {
                                font-style: normal;
                                font-weight: 700;
                                font-size: 2rem;
                                line-height: 160%;
                                letter-spacing: 0.1em;
                                color: #000000;

                                @media screen and (max-width: 767px) {
                                    font-size: 1.4rem;
                                }
                            }
                        }

                        .text-content {
                            font-style: normal;
                            font-weight: 400;
                            font-size: 1.8rem;
                            line-height: 3.2rem;
                            letter-spacing: 0.1em;
                            color: #000000;

                            @media screen and (max-width: 767px) {
                                font-size: 1.4rem;
                                line-height: 180%;
                            }
                        }
                    }

                    .img-area {
                        position: relative;
                        flex-shrink: 0;
                        width: 88rem;

                        @media screen and (max-width: 767px) {
                            width: 100%;
                        }

                        .img {
                            width: 100%;
                            border-radius: 8rem 0 0 0;
                            overflow: hidden;

                            @media screen and (max-width: 767px) {
                                margin-right: -2.4rem;
                                width: calc(100% + 2.4rem);
                                border-radius: 3.4rem 0 0 0;
                            }
                        }

                        .no1 {
                            position: absolute;
                            top: -3.9rem;
                            right: 3.6rem;
                            width: 16rem;
                            height: 16rem;

                            @media screen and (max-width: 767px) {
                                top: -2.8rem;
                                right: 0;
                                width: 8rem;
                                height: 8rem;
                            }
                        }
                    }
                }
            }

            .btn-area {
                padding-top: 8rem;
                padding-bottom: 8rem;
                background-color: #EEEDF7;

                @media screen and (max-width: 767px) {
                    padding-top: 2.4rem;
                    padding-bottom: 2.4rem;
                }

                .wrapper {
                    display: flex;
                    gap: 7.8rem;

                    @media screen and (max-width: 767px) {
                        flex-direction: column;
                        gap: 2rem;
                    }

                    & a {
                        padding: 4.9rem 5.2rem;
                        background-color: #fff;
                        border-radius: 2rem;

                        @media screen and (max-width: 767px) {
                            padding: 3.4rem;
                        }

                        .btn-title {
                            display: flex;
                            align-items: center;
                            justify-content: space-between;
                            margin-bottom: 3.4rem;

                            @media screen and (max-width: 767px) {
                                margin-bottom: 2rem;
                            }

                            .main {
                                display: flex;
                                align-items: center;
                                gap: 2rem;

                                @media screen and (max-width: 767px) {
                                    gap: 1.4rem;
                                }

                                .icon {
                                    flex-shrink: 0;
                                    width: 8.8rem;
                                    height: 8.8rem;

                                    @media screen and (max-width: 767px) {
                                        width: 6rem;
                                        height: 6rem;
                                    }
                                }

                                .name {
                                    font-style: normal;
                                    font-weight: 700;
                                    font-size: 2.8rem;
                                    line-height: 4.5rem;
                                    letter-spacing: 0.05em;
                                    color: #000000;

                                    @media screen and (max-width: 767px) {
                                        font-size: 1.8rem;
                                        line-height: 140%;
                                    }
                                }
                            }

                            .arrow {
                                position: relative;
                                flex-shrink: 0;
                                width: 5.2rem;
                                height: 5.2rem;
                                background-image: url("../../common/img/parts/circle-arrow.svg");
                                background-size: 100% 100%;
                                background-repeat: no-repeat;
                                transition: background-image 0.3s ease;

                                @media screen and (max-width: 767px) {
                                    width: 4.4rem;
                                    height: 4.4rem;
                                }

                                &::after {
                                    content: "";
                                    position: absolute;
                                    top: 0;
                                    left: 0;
                                    z-index: 1;
                                    display: inline-block;
                                    width: 100%;
                                    height: 100%;
                                    background-image: url("../../common/img/parts/circle-arrow.svg");
                                    background-size: 100% 100%;
                                    background-repeat: no-repeat;
                                    opacity: 1;
                                    transition: ease 0.3s opacity;
                                }

                                &::before {
                                    content: "";
                                    position: absolute;
                                    top: 0;
                                    left: 0;
                                    z-index: 1;
                                    display: inline-block;
                                    width: 100%;
                                    height: 100%;
                                    background-image: url("../../common/img/parts/circle-arrow-active.svg");
                                    background-size: 100% 100%;
                                    background-repeat: no-repeat;
                                    opacity: 0;
                                    transition: ease 0.3s opacity;
                                }
                            }
                        }

                        .btn-text {
                            .main {
                                margin-bottom: 1.2rem;
                                font-style: normal;
                                font-weight: 600;
                                font-size: 2.2rem;
                                line-height: 3.5rem;
                                letter-spacing: 0.05em;
                                color: #000000;

                                @media screen and (max-width: 767px) {
                                    margin-bottom: 0.8rem;
                                    font-size: 1.6rem;
                                    line-height: 2.6rem;
                                }
                            }

                            .sub {
                                font-style: normal;
                                font-weight: 400;
                                font-size: 1.8rem;
                                line-height: 3.2rem;
                                letter-spacing: 0.1em;
                                color: #000000;

                                @media screen and (max-width: 767px) {
                                    font-size: 1.4rem;
                                    line-height: 2.5rem;
                                }
                            }
                        }

                        @media (hover: hover) and (pointer: fine) {
                            &:hover {
                                .arrow {
                                    &::after {
                                        opacity: 0;
                                    }

                                    &::before {
                                        opacity: 1;
                                    }
                                }
                            }
                        }
                    }
                }

                &.type01 {
                    .wrapper {
                        & a {
                            width: 100%;
                        }
                    }
                }

                &.type02 {
                    .wrapper {
                        & a {
                            width: calc((100% - 7.8rem) / 2);

                            @media screen and (max-width: 767px) {
                                width: 100%;
                            }
                        }
                    }
                }
            }
        }
    }
}