@charset "utf-8";

:root {
	--s01: #6EC783;
	--s02: #7FBA1C;
	--s03: #F79A01;
	--s04: #FF6869;
	--s05: #FF678B;
	--s06: #CD7BFF;
	--s07: #51A7F0;
}



/*
advantage
*/
.advantage {
    background-color: var(--lightgray-fa);
    padding: 160px 0;
    counter-reset: my-counter;
    @media (width <= 800px) {
        padding: 64px 0;
    }
}
.advantage-content {
    position: relative;
    width: 100%;
    min-height: 328px;
    padding-left: 34.5%;
    margin-bottom: 120px;
    @media (width <= 800px) {
        min-height: inherit;
        padding-left: 0;
        margin-bottom: 70px;
    }
    &:last-child {
        margin-bottom: 0;
    }
    h2 {
        color: var(--darkblue-30);
        font-size: 28px;
        font-weight: 500;
        line-height: 1.42;
        padding-left: 14px;
        margin-bottom: 32px;
        @media (width <= 800px) {
            font-size: 20px;
            padding-left: 8px;
            margin-bottom: 20px;
        }
        &::before {
            position: absolute;
            left: 0;
            top: 50%;
            translate: 0 -50%;
            width: 6px;
            height: 6px;
            content: "";
            border-radius: 50%;
            background-color: var(--lightgreen);
            @media (width <= 800px) {
                width: 4px;
                height: 4px;
            }
        }
    }
    .advantage-img {
        position: absolute;
        left: 0;
        top: 0;
        width: 30.9%;
        @media (width <= 800px) {
            position: relative;
            left: auto;
            top: auto;
            width: 100%;
            margin: 0 auto 24px;
        }
        img {
            width: 100%;
            border-radius: 32px;
            @media (width <= 800px) {
                height: 44.8vw;
                object-fit: cover;
                border-radius: 12px;
            }
        }
    }
    ol {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 22px 0;
        width: 100%;
        list-style-type: none;
        margin: 0;
        padding: 0;
        @media (width <= 800px) {
            gap: 16px 0;
        }
        li {
            position: relative;
            width: 47.2%;
            min-height: 117px;
            margin: 0;
            padding: 0;
            @media (width <= 800px) {
                width: 100%;
                min-height: 90px;
            }
            a {
                position: relative;
                display: flex;
                align-items: center;
                width: 100%;
                height: 100%;
                font-size: 18px;
                font-weight: 700;
                line-height: 1.44;
                text-decoration: none;
                border: 1px solid var(--lightgray);
                padding: 0 48px 0 108px;
                counter-increment: my-counter;
                transition: all 0.3s ease-out;
                @media (width >= 800px) {
                    &:hover {
                        color: var(--white);
                        background-color: var(--blue);
                        border: 1px solid var(--blue);
                        border-radius: 20px;
                        &::before {
                            color: var(--white);
                        }
                        .plus {
                            &::before {
                                rotate: 90deg;
                            }
                            &::after {
                                rotate: 0deg;
                            }
                        }
                    }
                }
                @media (width <= 800px) {
                    font-size: 15px;
                    padding: 0 62px 0 94px;
                }
                &::before {
                    position: absolute;
                    left: 14px;
                    top: 50%;
                    translate: 0 -50%;
                    color: var(--blue);
                    font-family: "Figtree", sans-serif;
                    font-size: 64px;
                    font-weight: 300;
                    font-style: italic;
                    line-height: 1;                 
                    content: counter(my-counter, decimal-leading-zero);
                    transition: color 0.3s ease-out;
                    @media (width <= 800px) {
                        left: 20px;
                        font-size: 50px;
                    }
                }
                .plus {
                    position: absolute;
                    right: 16px;
                    top: 50%;
                    translate: 0 -50%;
                    width: 32px;
                    height: 32px;
                    border-radius: 50%;
                    background-color: var(--lightgreen);
                    pointer-events: none;
                    @media (width <= 800px) {
                        width: 26px;
                        height: 26px;
                    }
                    &::before,
                    &::after {
                        position: absolute;
                        left: 50%;
                        top: 50%;
                        translate: -50% -50%;
                        width: 10px;
                        height: 2px;
                        content: "";
                        background-color: var(--white);
                        transition: rotate 0.3s ease-out;
                        @media (width <= 800px) {
                            width: 9px;
                        }
                    }
                    &::after {
                        rotate: -90deg;
                    }
                }
            }
        }
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.modal {
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: calc(100% - 32px);
    height: calc(100vh - 80px);
    max-width: 946px;
	border: none;
	padding: 0;
	background: transparent;
	opacity: 0;
	transition: all 0.5s, overlay 0.5s allow-discrete, display 0.5s allow-discrete;
    pointer-events: none;
    @media (width <= 800px) {
        height: 100vh;
        padding-top: 100px;
    }
	&::backdrop {
        background: var(--darkblue);
        backdrop-filter: blur(15px);
		mix-blend-mode: multiply;
		opacity: 0;
		transition: all 0.5s linear;
	}
	&[open] {
		opacity: 1;
        pointer-events: auto;
		@starting-style {
			opacity: 0;
		}
		&::backdrop {
			opacity: 0.3;
		}
	}
    .close-modal {
        position: absolute;
        top: 24px;
        right: 24px;
        width: 77px;
        height: 32px;
        background-color: var(--lightgreen);
        border-radius: 9999px;
        @media (width <= 800px) {
            right: 0;
        }
        &::before,
        &::after {
            position: absolute;
            left: 50%;
            top: 50%;
            translate: -50% -50%;
            width: 32px;
            height: 2px;
            content: "";
            background-color: var(--white);
            pointer-events: none;
        }
        &::before {
            rotate: -15deg
        }
        &::after {
            rotate: 15deg;
        }
    }
}
.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    border-radius: 49px;
    padding: 40px 0;
    margin: 0 auto; 
    @media (width <= 800px) {
        border-radius: 16px;
        padding: 0 0 24px;
    }
    .scroll {
        width: 100%;
        height: 100%;
        padding: 0 16px;
        overflow-y: auto;
    }
    .modal-detail {
        position: relative;
        width: 100%;
        max-width: 778px;
        border-bottom: 1px solid var(--lightgray);
        padding: 80px 0 80px 31%;
        margin: 0 auto;
        z-index: 0;
        @media (width <= 800px) {
            max-width: inherit;
            padding: 40px 0 32px;
        }
        &.last {
            border-bottom: none;
        }
        h3 {
            font-size: 18px;
            line-height: 1.44;
            margin-bottom: 24px;
            @media (width <= 800px) {
                font-size: 16px;
                margin-bottom: 16px;
            }
            .no {
                position: relative;
                display: block;
                color: var(--blue);
                font-family: "Figtree", sans-serif;
                font-size: 64px;
                font-weight: 300;
                font-style: italic;
                line-height: 1;                 
                content: counter(my-counter2, decimal-leading-zero);
                transition: color 0.3s ease-out;
                margin-bottom: 5px;
                @media (width <= 800px) {
                    font-size: 60px;
                }
            }
        }
        .modal-img {
            position: absolute;
            left: 0;
            top: 80px;
            width: 29.6%;
            @media (width <= 800px) {
                position: relative;
                left: auto;
                top: auto;
                width: 100%;
                margin: 0 auto 20px;
            }
            img {
                border-radius: 40px;
                @media (width <= 800px) {
                    width: 100%;
                    height: 61.3vw;
                    object-fit: cover;
                    border-radius: 16px;
                }
            }
        }
        p {
            margin-bottom: 32px;
            &:last-child {
                margin-bottom: 0;
            }
            &.cap-modal {
                font-weight: 500;
                .s-text {
                    display: block;
                    font-size: 14px;
                    font-weight: 400;
                }
            }
        }
        .schedule {
            position: relative;
            background-color: var(--lightgray-fa);
            border-radius: 16px;
            padding: 56px 40px;
            @media (width <= 800px) {
                padding: 40px 16px 32px 24px;
            }
            h4 {
                color: var(--blue);
                font-size: 20px;
                margin-bottom: 10px;
                @media (width <= 800px) {
                    font-size: 18px;
                    margin-bottom: -5px;
                }
                .bikou {
                    display: block;
                    color: var(--black);
                    font-size: 14px;
                    font-weight: 400;
                    margin-top: 5px;
                }
            }
            dl {
                position: relative;
                display: flex;
                flex-wrap: wrap;
                margin: 0;
                padding: 0;
                @media (width <= 800px) {
                    display: block;
                    padding: 0 0 0 16px;
                }
                &::before {
                    @media (width <= 800px) {
                        position: absolute;
                        top: 24px;
                        left: -5px;
                        width: 2px;
                        height: calc(100% - 80px);
                        content: "";
                        background-color: var(--lightgreen);
                        pointer-events: none;
                    }
                }
                dt,
                dd {
                    position: relative;
                    font-size: 16px;
                    line-height: 1.75;
                    border-bottom: 1px solid var(--lightgray);
                    @media (width <= 800px) {
                        font-size: 15px;
                    }
                }
                dt {
                    width: 120px;
                    font-weight: 400;
                    padding: 24px 0;
                    z-index: 2;
                    @media (width <= 800px) {
                        width: 100%;
                        border-bottom: none;
                        padding: 16px 0 0;
                    }
                    &::after {
                        position: absolute;
                        right: -9px;
                        top: 32px;
                        width: 16px;
                        height: 16px;
                        content: "";
                        pointer-events: none;
                        background-color: var(--white);
                        border: 4px solid var(--lightgreen);
                        border-radius: 50%;
                        @media (width <= 800px) {
                            right: auto;
                            left: -28px;
                        }
                    }
                    &.top {
                        &::after {
                            @media (width <= 800px) {
                                top: 21px;
                            }
                        }
                    }
                    &.blue {
                        &::after {
                            border-color: var(--blue);
                        }
                    }
                    &.last {
                        border-bottom: none;
                        padding-bottom: 0;
                    }
                }
                dd {
                    width: calc(100% - 120px);
                    font-weight: 500;
                    padding: 24px 0 24px 20px;
                    z-index: 1;
                    @media (width <= 800px) {
                        width: 100%;
                        line-height: 1.85;
                        padding: 0 0 10px;
                    }
                    &::before,
                    &::after {
                        position: absolute;
                        left: 0;
                        width: 2px;
                        content: "";
                        background-color: var(--lightgreen);
                        pointer-events: none;
                        @media (width <= 800px) {
                            left: -21px;
                        }
                    }
                    &::before {
                        top: 0;
                        height: 100%;
                    }
                    &::after {
                        top: 50%;
                        height: calc(50% + 2px);
                    }
                    &.blue {
                        color: var(--blue);
                        font-size: 18px;
                        font-weight: 700;
                        @media (width <= 800px) {
                            font-size: 16px;
                        }
                    }
                    &.g01 {
                        &::after {
                            background: linear-gradient(to bottom, rgba(110,220,196,1) 0%,rgba(57,139,186,1) 100%);
                        }
                    }
                    &.g02 {
                        &::before {
                            background: linear-gradient(to bottom, rgba(57,140,186,1) 0%,rgba(0,53,176,1) 100%);
                            @media (width <= 800px) {
                                top: -102%;
                                height: 100%;
                            }
                        }
                        &::after {
                            background: linear-gradient(to bottom, rgba(0,53,176,1) 0%,rgba(57,139,186,1) 100%);
                            @media (width <= 800px) {
                                top: 0;
                                height: calc(100% + 2px);
                            }
                        }
                    }
                    &.g03 {
                        &::before {
                            height: calc(50% - 8px);
                            background: linear-gradient(to bottom, rgba(57,139,186,1) 0%,rgba(110,220,196,1) 100%);
                            @media (width <= 800px) {
                                top: -70%;
                            }
                       }
                        &::after {
                            display: none;
                            @media (width <= 800px) {
                                top: 15%;
                            }
                        }
                    }
                    &.first {
                        &::before {
                            top: 50%;
                            height: calc(50% + 2px);
                        }
                    }
                    &.last {
                        border-bottom: none;
                        padding-bottom: 0;
                    }
                    .sub {
                        font-weight: 400;
                    }
                    .s-text {
                        display: block;
                        color: var(--blue);
                        font-size: 14px;
                        padding-top: 8px;
                    }
                }
            }
        }
        .management {
            background-color: var(--lightgray-fa);
            border-radius: 16px;
            padding: 0 24px 0 108px;
            @media (width <= 800px) {
                padding: 0 16px;
            }
            .management-content {
                position: relative;
                border-bottom: 1px solid var(--lightgray);
                padding: 24px 0;
                @media (width <= 800px) {
                    padding: 16px 0;
                }
                &:last-child {
                    border-bottom: none;
                }
                h4 {
                    color: var(--blue);
                    font-size: 16px;
                    margin-bottom: 6px;
                    @media (width <= 800px) {
                        display: flex;
                        align-items: center;
                        height: 60px;
                        font-size: 15px;
                        line-height: 1.85;
                        padding-left: 76px;
                        margin-bottom: 12px;
                    }
                }
                .management-img {
                    position: absolute;
                    left: -92px;
                    top: 50%;
                    translate: 0 -50%;
                    width: 80px;
                    @media (width <= 800px) {
                        left: 0;
                        top: 16px;
                        translate: 0 0;
                        width: 60px;
                    }
                    img {
                        border-radius: 16px;
                        @media (width <= 800px) {
                            border-radius: 8px;
                        }
                    }
                }
                p {
                    width: calc(100% + 12px);
                    margin-bottom: 0;
                    @media (width <= 800px) {
                        width: 100%;
                    }
                }
            }
        }
        .support {
            position: relative;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            align-content: center;
            width: 100%;
            min-height: 172px;
            border: 1px solid var(--lightgray);
            border-radius: 16px;
            padding: 32px 8px 32px 32%;
            margin-bottom: 40px;
            @media (width <= 800px) {
                display: block;
                align-content: flex-start;
                align-items: flex-start;
                min-height: 136px;
                padding: 50px 5px 16px 14px;
            }
            &:last-child {
                margin-bottom: 0;
            }
            &.s01 {
                @media (width <= 800px) {
                    min-height: 118px;
                }
                h4 {
                    color: var(--s01);
                    margin-bottom: 0;
                    @media (width <= 800px) {
                        left: 102px;
                        top: 50%;
                        translate: 0 -50%;
                    }
                }
                .support-img {
                    @media (width <= 800px) {
                        top: 50%;
                        translate: 0 -50%;
                    }
                }
                .btn-circle {
                    background-color: var(--s01);
                }
            }
            &.s02 {
                h4 {
                    color: var(--s02);
                }
                .btn-circle {
                    background-color: var(--s02);
                }
            }
            &.s03 {
                h4 {
                    color: var(--s03);
                }
                .btn-circle {
                    background-color: var(--s03);
                }
            }
            &.s04 {
                h4 {
                    color: var(--s04);
                }
                .btn-circle {
                    background-color: var(--s04);
                }
            }
            &.s05 {
                h4 {
                    color: var(--s05);
                }
                .btn-circle {
                    background-color: var(--s05);
                }
            }
            &.s06 {
                h4 {
                    color: var(--s06);
                }
                .btn-circle {
                    background-color: var(--s06);
                }
            }
            &.s07 {
                h4 {
                    color: var(--s07);
                }
                .btn-circle {
                    display: none;
                }
            }
            h4 {
                width: 100%;
                font-size: 18px;
                margin-bottom: 12px;
                @media (width <= 800px) {
                    position: absolute;
                    left: 14px;
                    top: 14px;
                    width: auto;
                    font-size: 16px;
                    margin-bottom: 0;
                }
            }
            .support-img {
                position: absolute;
                top: 50%;
                left: 28px;
                translate: 0 -50%;
                width: 21.6%;
                @media (width <= 800px) {
                    top: 48px;
                    left: 14px;
                    translate: 0 0;
                    width: 70px;
                }
                img {
                    border-radius: 15px;
                }
            }
            ul {
                width: 100%;
                display: flex;
                flex-wrap: wrap;
                gap: 8px;
                margin: 0;
                padding: 0;
                @media (width <= 800px) {
                    padding-left: 86px;
                }
                li {
                    display: inline-block;
                    line-height: 1.7;
                    background-color: var(--lightgray);
                    border-radius: 4px;
                    padding: 2px 4px;
                    margin: 0;
                    @media (width <= 800px) {
                        font-size: 14px;
                    }
                }
            }
            .btn-circle {
                top: calc(100% + 9px);
                right: auto;
                left: 50%;
                translate: -50% 0;
            }
        }
    }
    .modal-footer {
        position: relative;
        display: flex;
        justify-content: space-between;
        width: 100%;
        max-width: 778px;
        padding-top: 15px;
        margin: 0 auto;
        @media (width <= 800px) {
            padding-top: 0;
            max-width: inherit;
        }
        &::before {
            @media (width <= 800px) {
                position: absolute;
                left: 50%;
                top: 50%;
                translate: -50% -50%;
                width: 1px;
                height: 100%;
                content: "";
                background-color: var(--lightgray);
                pointer-events: none;
            }
        }
        button {
            position: relative;
            display: flex;
            align-items: center;
            height: 40px;
            color: var(--darkblue-30);
            font-size: 18px;
            font-weight: 500;
            text-align: left;
            background: none;
            @media (width <= 800px) {
                width: 50%;
                font-size: 14px;
                line-height: 1.43;
            }
            &.last-modal,
            &.prev-modal {
                padding-left: 48px;
                @media (width <= 800px) {
                    padding-left: 36px;
                }
                .btn-circle {
                    right: auto;
                    left: 0;
                    rotate: 180deg;
                }
            }
            &.next-modal,
            &.first-modal {
                padding-right: 48px;
                @media (width <= 800px) {
                    justify-content: flex-end;
                    padding-right: 36px;
                    text-align: right;
                }
            }
            .btn-circle {
                width: 40px;
                height: 40px;
                @media (width <= 800px) {
                    width: 28px;
                    height: 28px;
                }
                &::before,
                &::after {
                    width: 12px;
                    height: 6px;
                    @media (width <= 800px) {
                        width: 8px;
                        height: 5px;
                    }
                }
            }
        }
    }
}



/*
related-pages
*/
.related-pages {
	ul {
		li {
			&:nth-child(1) {
				display: none;
			}
		}
	}
}