@charset "UTF-8";

:root {
    --theme-color: #0069B7;
}

/* reset start */

* {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    letter-spacing: 0;
    font-family: "Noto Sans JP", sans-serif;
    -webkit-text-size-adjust: none;
    scrollbar-gutter: stable;

    @media screen and (min-width: 1080.01px) and (max-width: 1919.99px) {
        font-size: calc(10 / 1920 * 100 * 1vw);
    }

    /* あまりにも文字サイズが小さくなった場合 */
    @media screen and (min-width: 767.01px) and (max-width: 1080px) {
        font-size: calc(12 / 1920 * 100 * 1vw);
    }

    /* スマホ用（デザインサイズが375の場合） */
    @media screen and (max-width: 767px) {
        font-size: calc(10 / 375 * 100 * 1vw);
    }
}

body {
    font-size: 1.6rem;
    line-height: 1;
    overflow-x: clip;

    @media screen and (max-width: 767px) {
        font-size: 1.4rem;
    }
}

/* ------------------------------------------- */
/* 印刷用の設定 */
/* ------------------------------------------- */
@media print {
    html {
        font-size: calc(10 / 1920 * 100 * 14px);
    }

    body {
        -webkit-print-color-adjust: exact;
        position: relative;
        width: 1400px;
        zoom: 70%;
    }
}

@page {
    size: A4;
    margin: 10mm;
}

.inner {
    margin: 0 auto;
    max-width: calc(100% - 6rem);

    @media screen and (max-width: 767px) {
        max-width: calc(100% - 3rem);
    }
}

.w1440 {
    width: 144rem;
}

.w1200 {
    width: 120rem;
}

.w1080 {
    width: 108rem;
}

.w960 {
    width: 96rem;
}

picture {
    display: block;
}

img {
    display: block;
    width: 100%;
}

#wrapper {
    padding-top: 110px;

    @media screen and (max-width: 967px) {
        padding-top: 90px;
    }
}

/* reset end */


.animate {
    opacity: 0;
    transform: translateY(4rem);
    transition: opacity 1.5s cubic-bezier(0.22, 1, 0.36, 1), transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .animate {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


.block1 {
    padding: 14rem 0;
    padding-left: 24rem;

    @media screen and (max-width: 767px) {
        padding: 6rem 1.5rem;
    }

    .format {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 6rem;

        @media screen and (max-width: 767px) {
            grid-template-columns: 100%;
            gap: 2rem;
        }

        .lefty {
            display: flex;
            flex-direction: column;

            .txt1 {
                font-family: 'Noto Sans JP';
                font-weight: 800;
                font-size: 7.2rem;
                line-height: 140%;
                letter-spacing: 0.05em;

                @media screen and (max-width: 767px) {
                    font-size: 2.8rem;
                }
            }

            .txt2 {
                margin-top: 3rem;
                font-family: 'Noto Sans JP';
                font-weight: 700;
                font-size: 2.6rem;
                line-height: 140%;
                letter-spacing: 0.2em;
                color: var(--theme-color);
                flex-grow: 1;

                @media screen and (max-width: 767px) {
                    margin-top: 1.5rem;
                    font-size: 1.8rem;
                }
            }

            .title {
                margin-top: 3rem;

                @media screen and (max-width: 767px) {
                    margin-top: 1.5rem;
                }

                .title-ja {
                    font-family: 'Noto Sans JP';
                    font-weight: 700;
                    font-size: 3.2rem;
                    line-height: 140%;
                    letter-spacing: 0.2em;

                    @media screen and (max-width: 767px) {
                        font-size: 2rem;
                    }
                }

                .title-en {
                    margin-top: 0.5rem;
                    font-family: 'Noto Sans JP';
                    font-weight: 700;
                    font-size: 1.2rem;
                    line-height: 140%;
                    letter-spacing: 0.2em;
                    text-transform: capitalize;
                    color: var(--theme-color);

                    @media screen and (max-width: 767px) {
                        font-size: 1rem;
                    }
                }
            }
        }

        .righty {
            border-radius: 1.6rem 0 0 1.6rem;
            overflow: hidden;

            @media screen and (max-width: 767px) {
                border-radius: 0;
            }
        }
    }
}

.block2 {
    padding: 14rem 0;
    background-image: url(../../img/education/bg1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    @media screen and (max-width: 767px) {
        padding: 6rem 0;
    }

    .vision {
        font-family: 'Noto Sans JP';
        font-weight: 500;
        font-size: 2.2rem;
        line-height: 220%;
        text-align: center;
        letter-spacing: 0.08em;
        color: #FFFFFF;

        @media screen and (max-width: 767px) {
            font-size: 1.6rem;
        }
    }
}

.block3 {
    padding: 14rem 0;
    background-color: #eaeff2;

    @media screen and (max-width: 767px) {
        padding: 6rem 0;
    }

    .essay {
        display: flex;
        gap: 8rem;

        @media screen and (max-width: 767px) {
            gap: 2rem;
            flex-direction: column;
        }

        .lefty {
            flex-grow: 1;

            .blue-en {
                font-family: 'Roboto';
                font-weight: 700;
                font-size: 2rem;
                line-height: 140%;
                letter-spacing: 0.06em;
                color: #768CC0;

                @media screen and (max-width: 767px) {
                    font-size: 1.4rem;
                }
            }

            .blue-ja {
                margin-top: 0.5rem;
                font-family: 'Noto Sans JP';
                font-weight: 700;
                font-size: 2.6rem;
                line-height: 140%;
                color: var(--theme-color);

                @media screen and (max-width: 767px) {
                    font-size: 1.8rem;
                }
            }

            .title {
                margin-top: 4rem;
                font-family: 'Noto Sans JP';
                font-weight: 700;
                font-size: 3.6rem;
                line-height: 140%;
                letter-spacing: 0.06em;
                color: #0F172A;

                @media screen and (max-width: 767px) {
                    margin-top: 2rem;
                    font-size: 2.1rem;
                }
            }

            .desc {
                margin-top: 3.5rem;
                font-family: 'Noto Sans JP';
                font-weight: 500;
                font-size: 1.8rem;
                line-height: 220%;

                @media screen and (max-width: 767px) {
                    margin-top: 1rem;
                    font-size: 1.6rem;
                }
            }
        }

        .righty {
            width: 55%;
            border-radius: 2rem;
            overflow: hidden;
            box-shadow: -2rem 2rem 0 0 var(--theme-color);

            @media screen and (max-width: 767px) {
                width: 100%;
                border-radius: 1rem;
                box-shadow: 0 1rem 0 0 var(--theme-color);
            }
        }
    }

    @media print,
    screen and (min-width: 767.01px) {

        .essay:nth-child(even) {
            flex-direction: row-reverse;
        }

    }

    .essay:not(:first-child) {
        margin-top: 14rem;

        @media screen and (max-width: 767px) {
            margin-top: 4rem;
        }
    }
}

.common-parts {
    .blue-en {
        font-family: 'Roboto';
        font-weight: 700;
        font-size: 2rem;
        line-height: 140%;
        letter-spacing: 0.06em;
        color: #768CC0;
        text-align: center;

        @media screen and (max-width: 767px) {
            font-size: 1.4rem;
        }
    }

    .blue-ja {
        margin-top: 0.5rem;
        font-family: 'Noto Sans JP';
        font-weight: 700;
        font-size: 2.6rem;
        line-height: 140%;
        color: var(--theme-color);
        text-align: center;

        @media screen and (max-width: 767px) {
            font-size: 1.8rem;
        }
    }

    .title {
        margin-top: 4rem;
        font-family: 'Noto Sans JP';
        font-weight: 700;
        font-size: 3.6rem;
        line-height: 140%;
        letter-spacing: 0.06em;
        color: #0F172A;
        text-align: center;

        @media screen and (max-width: 767px) {
            margin-top: 2rem;
            font-size: 2.1rem;
        }
    }
}

.block4 {
    padding: 14rem 0;

    @media screen and (max-width: 767px) {
        padding: 6rem 0;
    }

    .steps {
        margin-top: 7rem;
        position: relative;

        @media screen and (max-width: 767px) {
            margin-top: 4rem;
        }

        .step {
            margin-top: 2.5rem;
            background-color: #eaf5ff;
            border-radius: 1.6rem;
            border: 2px solid var(--theme-color);
            padding: 3rem;

            @media screen and (max-width: 767px) {
                width: 100%;
                border-radius: 1rem;
                border: 1px solid var(--theme-color);
                padding: 2rem 1.5rem;
            }

            .step-number {
                transform: translate(-3rem, -1.5rem);
                padding-top: 0.1em;
                padding-left: 3rem;
                padding-right: 1.2rem;
                background-color: var(--theme-color);
                border-radius: 0 0.4rem 0.4rem 0;
                font-family: 'Roboto';
                font-weight: 800;
                font-size: 1.6rem;
                line-height: 2;
                letter-spacing: 0.08em;
                color: #FFFFFF;
                width: fit-content;

                @media screen and (max-width: 767px) {
                    transform: translate(-1.5rem, -1rem);
                    padding-left: 1.5rem;
                    padding-right: 0.5rem;
                    border-radius: 0 0.2rem 0.2rem 0;
                    font-size: 1.4rem;
                }
            }

            .step-title {
                display: flex;
                align-items: center;
                gap: 1.5rem;

                @media screen and (max-width: 767px) {
                    flex-direction: column;
                    gap: 1rem;
                }

                .title1 {
                    font-family: 'Noto Sans JP';
                    font-weight: 700;
                    font-size: 2.4rem;
                    line-height: 1.5;
                    color: #0F172A;

                    @media screen and (max-width: 767px) {
                        font-size: 1.8rem;
                    }
                }

                .title2 {
                    font-family: 'Noto Sans JP';
                    font-weight: 400;
                    font-size: 1.6rem;
                    line-height: 1.5;
                    color: #0F172A;

                    @media screen and (max-width: 767px) {
                        font-size: 1.4rem;
                        text-align: center;
                    }
                }
            }

            .boxes {
                margin-top: 2.5rem;
                display: grid;
                grid-template-columns: 1fr 1fr 1fr;
                gap: 2.5rem;

                @media screen and (max-width: 767px) {
                    margin-top: 2rem;
                    grid-template-columns: 100%;
                    gap: 1.5rem;
                }

                .box {
                    background-color: #fff;
                    padding: 2rem;
                    border-radius: 0.8rem;

                    @media screen and (max-width: 767px) {
                        padding: 1.5rem;
                        border-radius: 0.5rem;
                    }

                    .box-title {
                        display: flex;
                        align-items: center;
                        gap: 0.8rem;

                        @media screen and (max-width: 767px) {
                            gap: 0.6rem;
                        }

                        & img {
                            flex-shrink: 0;
                            width: 1.8rem;

                            @media screen and (max-width: 767px) {
                                width: 1.5rem;
                            }
                        }

                        & p {
                            font-family: 'Noto Sans JP';
                            font-weight: 700;
                            font-size: 1.6rem;
                            line-height: 1.5;
                            color: var(--theme-color);

                            @media screen and (max-width: 767px) {
                                font-size: 1.4rem;
                            }
                        }
                    }

                    .box-desc {
                        margin-top: 1rem;
                        font-family: 'Noto Sans JP';
                        font-weight: 400;
                        font-size: 1.4rem;
                        line-height: 1.5;
                        color: #0F172A;

                        @media screen and (max-width: 767px) {
                            margin-top: 0.7rem;
                            font-size: 1.2rem;
                        }
                    }
                }
            }
        }
    }
}

.block5 {
    padding: 14rem 0;
    background-color: #eaeff2;

    @media screen and (max-width: 767px) {
        padding: 6rem 0;
    }

    .messages {
        margin-top: 7rem;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 3rem 2.5rem;

        @media screen and (max-width: 767px) {
            margin-top: 4rem;
            gap: 2.5rem 2rem;
        }

        .message {
            position: relative;
            padding: 2.8rem;
            background: #FFFFFF;
            filter: drop-shadow(0 0.4rem 1.2rem rgba(0, 0, 0, 0.02));
            border-radius: 1.6rem;
            font-family: 'Noto Sans JP';
            font-weight: 700;
            font-size: 2rem;
            line-height: 140%;
            align-items: center;

            &::after {
                content: "";
                position: absolute;
                right: 2.8rem;
                bottom: -2.3rem;
                border-style: solid;
                border-width: 3rem 1.2rem 0;
                border-color: #FFFFFF transparent transparent;
                transform: rotate(30deg);
                transform-origin: 50% 0;
            }

            @media screen and (max-width: 767px) {
                padding: 2.4rem 1.6rem;
                border-radius: 1rem;
                font-size: 1.4rem;

                &::after {
                    right: 1.6rem;
                    bottom: -1.1rem;
                    border-width: 1.5rem 0.6rem 0;
                }
            }
        }
    }

    .characters {
        margin: 4.5rem auto 0;
        width: 60.2rem;

        @media screen and (max-width: 767px) {
            margin: 3rem auto 0;
            width: 100%;
        }
    }
}

.block6 {
    padding: 14rem 0;

    @media screen and (max-width: 767px) {
        padding: 6rem 0;
    }

    .features {
        margin-top: 6rem;

        @media screen and (max-width: 767px) {
            margin-top: 4rem;
        }

        .feature {
            margin-top: 2.5rem;
            background-color: #f5f8fa;
            border-radius: 1.6rem;
            padding: 3.2rem;

            @media screen and (max-width: 767px) {
                margin-top: 2rem;
                border-radius: 1rem;
                padding: 1.5rem;
            }

            .row1 {
                display: flex;
                align-items: center;
                gap: 1.6rem;

                @media screen and (max-width: 767px) {
                    gap: 1rem;
                }

                & img {
                    width: 6.4rem;
                    flex-shrink: 0;

                    @media screen and (max-width: 767px) {
                        width: 4rem;
                    }
                }

                .title {
                    font-family: 'Noto Sans JP';
                    font-weight: 700;
                    font-size: 2.2rem;
                    line-height: 1.5;

                    @media screen and (max-width: 767px) {
                        font-size: 1.6rem;
                    }
                }
            }

            .row2 {
                margin-top: 1.6rem;
                font-family: 'Noto Sans JP';
                font-weight: 500;
                font-size: 1.6rem;
                line-height: 1.5;

                @media screen and (max-width: 767px) {
                    margin-top: 1rem;
                    font-size: 1.4rem;
                }
            }
        }
    }
}

.block7 {
    padding: 14rem 0;
    background-image: url(../../img/education/bg2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    @media screen and (max-width: 767px) {
        padding: 6rem 0;
    }

    .txt1 {
        font-family: 'Noto Sans JP';
        font-weight: 700;
        font-size: 4.8rem;
        line-height: 1.5;
        text-align: center;
        color: #FFFFFF;

        @media screen and (max-width: 767px) {
            font-size: 2.4rem;
        }
    }

    .txt2 {
        margin-top: 5.6rem;
        font-family: 'Noto Sans JP';
        font-weight: 700;
        font-size: 1.8rem;
        line-height: 220%;
        text-align: center;
        letter-spacing: 0.04em;
        color: #E0F2FE;

        @media screen and (max-width: 767px) {
            margin-top: 3rem;
            font-size: 1.6rem;
        }
    }
}