:root {
    --outer-width: 1300px;
    --header-height: 7.269rem;
    --border-radius: 3rem;
    --primary-color: #1A9DEF;
    --font-roboto: "Roboto", sans-serif;
    --font-weight-roboto-black: 900;
    --font-m-plus-1: "M PLUS 1", sans-serif;
    --font-weight-m-plus-1-light: 300;
    --font-weight-m-plus-1-regular: 400;
    --font-weight-m-plus-1-medium: 500;
    --font-weight-m-plus-1-semibold: 600;
    --font-weight-m-plus-1-extrabold: 800;

    @media (max-width: 700px) {
        --header-height: 6.475rem;
        --border-radius: 1.75rem;
    }
}

* {
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    width: auto;
}

:target {
    scroll-margin-top: var(--header-height);
}

.pc {
    display: block;

    @media (max-width: 700px) {
        display: none;
    }
}

.sp {
    display: none;

    @media (max-width: 700px) {
        display: block;
    }
}

html {
    font-size: 10px;

    @media (max-width: 1300px) {
        font-size: calc((10 / 1300) * 100vw);
    }

    @media (max-width: 700px) {
        font-size: calc((10 / 375) * 100vw);
    }
}

body {
    font-size: 1.6rem;
    font-family: var(--font-m-plus-1);
    font-optical-sizing: auto;
    font-weight: var(--font-weight-m-plus-1-regular);
    font-style: normal;
    letter-spacing: 0.15rem;
}

.container {
    max-width: var(--outer-width);
    margin: auto;
    padding: 0 5rem;
    box-sizing: border-box;

    @media (max-width: 700px) {
        padding: 0 1.5rem;
        width: 100%;
    }
}

header {
    z-index: 100;

    .container {
        display: flex;
        justify-content: space-between;
        align-items: center;

        h2 {
            width: 40rem;

            @media (max-width: 700px) {
                width: 20rem;
            }
        }

        nav {
            @media (max-width: 700px) {
                display: none;
            }

            ul {
                display: flex;
                gap: 2rem;
                padding-right: 5rem;

                li {
                    a {
                        font-size: 1.4rem;
                        padding: 3rem 0;
                        display: block;
                    }
                }

            }
        }

        @media (max-width: 700px) {
            .header-actions {
                display: flex;
                width: 11rem;

                a,
                button {
                    padding: .75rem;
                }

                button {
                    border: none;
                    background-color: transparent;
                }
            }
        }
    }
}

#hero-sp {
    margin-top: var(--header-height);
    /* background: radial-gradient(circle at 40% 50%, #ffffff 0%, #A2DBFF 40%, #A2DBFF 100%); */
    position: relative;
    /* height: 113rem; */
    height: 90rem;
    padding-bottom: 5rem;
    display: none;

    @media (max-width: 700px) {
        height: 60rem;
        /* background: #A2DBFF; */
    }

    .hero-form {
        position: absolute;
        right: 0;
        top: 6rem;
        height: calc(100% - 6rem);
        width: 42rem;
        background-color: #EEEEEC;
        border-top-left-radius: var(--border-radius);
        padding: 3rem;
        z-index: 5;

        @media (max-width: 700px) {
            display: none;
            z-index: 200;
        }

        h2 {
            background-color: #178BD3;
            color: #fff;
            text-align: center;
            padding: 1.5rem 0 1.5rem 5rem;
            line-height: 2.6rem;
            background-image: url(../images/form_icon.svg);
            background-repeat: no-repeat;
            background-size: 3.5rem auto;
            background-position: 8rem center;
            border-radius: calc(var(--border-radius) / 2);
            letter-spacing: .25rem;
        }

        iframe {
            width: 100%;
            height: 100%;
        }
    }
}

#hero {
    margin-top: var(--header-height);
    background: radial-gradient(circle at 40% 50%, #ffffff 0%, #A2DBFF 40%, #A2DBFF 100%);
    position: relative;
    /* height: 113rem; */
    height: 90rem;
    padding-bottom: 5rem;

    @media (max-width: 700px) {
        /* height: 70rem; */
        height: 60rem;
        background: #A2DBFF;
    }

    .hero-inner {
        display: flex;
        flex-direction: column;
        height: 100%;

        .container {
            flex: 1;

            .hero-content {
                background-image: url(../images/hero_main_visual.webp);
                background-size: 97.5rem auto;
                background-repeat: no-repeat;
                background-position: 1rem 5rem;
                z-index: -10;
                position: relative;
                width: 100%;
                height: 100%;
                padding-bottom: 25rem;

                @media (max-width: 700px) {
                    background-size: 100% auto;
                    padding-bottom: 22rem;
                }

                h1 {
                    font-size: 3.5rem;
                    line-height: 6.5rem;
                    color: #fff;
                    padding-top: 45rem;
                    font-family: var(--font-m-plus-1);
                    font-weight: var(--font-weight-m-plus-1-semibold);

                    @media (max-width: 700px) {
                        padding-top: 34rem;
                        font-size: 2.2rem;
                        line-height: 4.5rem;
                    }

                    span {
                        position: relative;
                        padding: 0 1.5rem;

                        @media (max-width: 700px) {
                            padding: 0;
                        }

                        &::before {
                            content: '';
                            position: absolute;
                            display: block;
                            left: 0;
                            top: -0.3rem;
                            width: 100%;
                            height: 115%;
                            background-color: var(--primary-color);
                            z-index: -5;
                            opacity: .9;

                            @media (max-width: 700px) {
                                width: 105%;
                                top: 50%;
                                left: 50%;
                                transform: translate(-50%, -50%);
                            }
                        }
                    }
                }

                .sub-logo {
                    margin-top: 2rem;
                    width: 35rem;

                    @media (max-width: 700px) {
                        margin-top: 1rem;
                        width: 100%;
                    }
                }
            }
        }

        .splide {
            width: 100%;
            top: -20rem;
            z-index: 5;

            .splide__slide {
                width: 40rem;
                border-radius: calc(var(--border-radius) / 4);
                overflow: hidden;

                @media (max-width: 700px) {
                    width: 17.5rem;
                }
            }
        }

        .hero-banner {
            width: 65%;
            top: -15rem;
            position: relative;
            display: none;

            @media (max-width: 700px) {
                width: 100%;
                top: -17rem;
            }
        }
    }

    .hero-form {
        position: absolute;
        right: 0;
        top: 6rem;
        height: calc(100% - 6rem);
        width: 42rem;
        background-color: #EEEEEC;
        border-top-left-radius: var(--border-radius);
        padding: 3rem;
        z-index: 5;

        @media (max-width: 700px) {
            display: none;
            z-index: 200;
        }

        h2 {
            background-color: #178BD3;
            color: #fff;
            text-align: center;
            padding: 1.5rem 0 1.5rem 5rem;
            line-height: 2.6rem;
            background-image: url(../images/form_icon.svg);
            background-repeat: no-repeat;
            background-size: 3.5rem auto;
            background-position: 8rem center;
            border-radius: calc(var(--border-radius) / 2);
            letter-spacing: .25rem;
        }

        iframe {
            width: 100%;
            height: 100%;
        }
    }
}

#concept {
    @media (max-width: 700px) {
        overflow: hidden;
    }

    .message {
        background-image: url(../images/concept_bg_image.jpg);
        background-position: right top;
        background-size: cover;
        background-repeat: no-repeat;
        position: relative;

        @media (max-width: 700px) {
            background-image: url(../images/concept_bg_image_sp.jpg);
        }

        &::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 67.5%;
            aspect-ratio: 1 / 1.2;
            clip-path: polygon(0 0, 100% 0, 0 100%);
            background-color: rgba(0, 121, 235, 0.85);

            @media (max-width: 700px) {
                width: 150%;
                aspect-ratio: 1 / 1;
            }
        }

        .container {
            color: #fff;
            padding-top: 10rem;
            padding-bottom: 10rem;
            box-sizing: border-box;

            @media (max-width: 700px) {
                padding: 7.5rem 1.5rem 25rem;
            }

            .inner {
                width: 85%;
                margin: 0 auto;

                @media (max-width: 700px) {
                    width: 100%;
                }

                .sub-title {
                    font-family: var(--font-roboto);
                    font-weight: var(--font-weight-roboto-black);

                    @media (max-width: 700px) {
                        font-size: 1.3rem;
                    }
                }

                .title {
                    font-size: 5rem;
                    font-weight: var(--font-weight-m-plus-1-regular);
                    margin-top: 1.5rem;

                    @media (max-width: 700px) {
                        font-size: 3rem;
                    }
                }

                .text {
                    margin-top: 3rem;
                    font-size: 2rem;
                    line-height: 3.75rem;
                    font-family: var(--font-m-plus-1);
                    font-weight: var(--font-weight-m-plus-1-light);

                    @media (max-width: 700px) {
                        font-size: 1.2rem;
                        line-height: 2.25rem;
                        margin-top: 1.5rem;
                    }
                }
            }
        }
    }

    .role {
        background-color: #4CB3F3;
        padding-top: 10rem;

        @media (max-width: 700px) {
            padding-top: 5rem;
        }

        .container {
            .inner {
                background-color: #fff;
                z-index: 5;
                position: relative;
                border-radius: var(--border-radius);

                .wrapper {
                    width: 85%;
                    margin: 0 auto;
                    padding: 7.5rem 0;

                    @media (max-width: 700px) {
                        padding: 4rem 0;
                        width: 90%;
                    }

                    h3 {
                        color: #fff;
                        background-image: url(../images/concept_role_title_bg.svg);
                        text-align: center;
                        background-position: center;
                        background-repeat: no-repeat;
                        background-size: contain;
                        width: 50rem;
                        aspect-ratio: 417.89 / 95;
                        margin: 0 auto;
                        font-weight: var(--font-weight-m-plus-1-extrabold);
                        font-family: var(--font-m-plus-1);
                        font-size: 2.7rem;
                        display: flex;
                        justify-content: center;
                        flex-direction: column;
                        gap: 1rem;
                        position: relative;
                        z-index: 5;

                        @media (max-width: 700px) {
                            width: 95%;
                            font-size: 1.9rem;
                            gap: .75rem;
                        }

                        span {
                            font-size: 1.8rem;
                            font-weight: var(--font-weight-m-plus-1-medium);
                            position: relative;
                            width: 20rem;
                            margin: 0 auto;

                            @media (max-width: 700px) {
                                font-size: 1.4rem;
                                width: 16rem;
                            }

                            &::after,
                            &::before {
                                content: '';
                                position: absolute;
                                width: .1rem;
                                height: 90%;
                                background-color: #fff;
                                top: .3rem;
                            }

                            &::after {
                                left: -.5rem;
                                transform: rotate(330deg);
                            }

                            &::before {
                                right: -.5rem;
                                transform: rotate(35deg);
                            }
                        }
                    }

                    ol {
                        list-style: none;
                        display: flex;
                        flex-direction: column;
                        gap: 3rem;
                        width: 90%;
                        margin: 5rem auto;
                        position: relative;

                        @media (max-width: 700px) {
                            width: 100%;
                            margin: 3rem auto;
                            gap: 1.5rem;
                        }

                        &::before,
                        &::after {
                            content: '';
                            position: absolute;
                            background-color: #E8F5FD;
                            display: block;
                            left: 50%;
                            transform: translateX(-50%);
                        }

                        &::before {
                            width: 80%;
                            height: 145%;
                            top: -27.7%;
                            border-radius: var(--border-radius);

                            @media (max-width: 700px) {
                                top: -6.9rem;
                                height: 130%;
                                width: 100%;
                            }
                        }

                        &::after {
                            clip-path: polygon(0 0, 100% 0, 50% 100%);
                            left: 50%;
                            width: 7.5rem;
                            bottom: -12rem;
                            aspect-ratio: 1.2 / 1;

                            @media (max-width: 700px) {
                                width: 3.5rem;
                                bottom: -6rem;
                            }
                        }

                        li {
                            border: .2rem solid var(--primary-color);
                            border-radius: 100px;
                            padding: 2.5rem 0 2.5rem 8rem;
                            color: var(--primary-color);
                            font-size: 2rem;
                            position: relative;
                            letter-spacing: 0;
                            background-color: #fff;

                            @media (max-width: 700px) {
                                padding: 1.5rem 1rem 1.5rem 3.5rem;
                                font-size: 1.5rem;
                                line-height: 2rem;
                                border: .1rem solid var(--primary-color);
                                position: relative;
                                width: 95%;
                                left: 50%;
                                transform: translateX(-50%);
                            }

                            &::before {
                                content: "";
                                width: 3rem;
                                height: 3rem;
                                display: block;
                                position: absolute;
                                background-image: url(../images/concept_role_ol_1.svg);
                                background-repeat: no-repeat;
                                background-position: center;
                                background-size: contain;
                                left: 4rem;
                                top: 50%;
                                transform: translateY(-50%);

                                @media (max-width: 700px) {
                                    left: 1rem;
                                    width: 2.25rem;
                                    height: 2.25rem;
                                }
                            }

                            &:nth-child(2)::before {
                                background-image: url(../images/concept_role_ol_2.svg);
                            }

                            &:nth-child(3)::before {
                                background-image: url(../images/concept_role_ol_3.svg);
                            }

                            &:nth-child(4)::before {
                                background-image: url(../images/concept_role_ol_4.svg);
                            }

                            span {
                                font-weight: var(--font-weight-m-plus-1-extrabold);
                            }
                        }
                    }

                    .footer {
                        margin-top: 15rem;
                        text-align: center;
                        font-weight: var(--font-weight-m-plus-1-extrabold);
                        color: var(--primary-color);
                        font-size: 3rem;
                        letter-spacing: 0;
                        line-height: 6rem;

                        @media (max-width: 700px) {
                            margin-top: 6rem;
                            font-size: 1.8rem;
                            line-height: 4rem;
                        }

                        span {
                            border-bottom: 2px solid var(--primary-color);
                            padding-bottom: .2rem;

                            @media (max-width: 700px) {
                                border-bottom: 1px solid var(--primary-color);
                            }
                        }
                    }
                }
            }
        }
    }

    .usecases {
        background-color: #4CB3F3;
        padding-top: 12.5rem;
        padding-bottom: 20rem;
        position: relative;

        @media (max-width: 700px) {
            padding-top: 9rem;
            padding-bottom: 10rem;
        }

        &::before {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 80%;
            aspect-ratio: 1.1 / 1;
            clip-path: polygon(100% 0, 100% 100%, 0 100%);
            background-color: #4CA1F1;

            @media (max-width: 700px) {
                width: 140%;
            }
        }

        .container {
            .inner {
                background-color: #fff;
                z-index: 5;
                position: relative;
                border-radius: var(--border-radius);

                &::before {
                    content: '';
                    position: absolute;
                    top: -15rem;
                    left: 50%;
                    transform: translateX(-50%);
                    width: .6rem;
                    height: 13rem;
                    background-color: #fff;
                    z-index: 10;

                    @media (max-width: 700px) {
                        width: .3rem;
                        height: 7rem;
                        top: -9rem;
                    }
                }

                .wrapper {
                    width: 85%;
                    margin: 0 auto;
                    padding: 7.5rem 0;
                    position: relative;

                    @media (max-width: 700px) {
                        width: 90%;
                        padding: 7.5rem 0 4rem;
                    }

                    h3 {
                        background-image: url(../images/concept_usecases_title_bg.svg);
                        text-align: center;
                        background-position: center;
                        background-repeat: no-repeat;
                        background-size: contain;
                        width: 50rem;
                        aspect-ratio: 431.89 / 109;
                        font-weight: var(--font-weight-m-plus-1-extrabold);
                        font-family: var(--font-m-plus-1);
                        font-size: 2.7rem;
                        display: flex;
                        justify-content: center;
                        flex-direction: column;
                        position: absolute;
                        z-index: 5;
                        top: -6.4rem;
                        left: 50%;
                        transform: translateX(-50%);
                        color: var(--primary-color);

                        @media (max-width: 700px) {
                            width: 95%;
                            font-size: 1.9rem;
                            gap: .75rem;
                            top: -3.6rem;
                        }
                    }

                    ul {
                        display: flex;
                        justify-content: center;
                        flex-wrap: wrap;
                        gap: 3rem;
                        margin-top: 4rem;

                        @media (max-width: 700px) {
                            margin-top: 0;
                            justify-content: center;
                            gap: 2rem 1rem;
                        }

                        li {
                            width: 31%;
                            display: flex;
                            flex-direction: column;
                            align-items: center;

                            @media (max-width: 700px) {
                                width: 48%;
                            }

                            figure {
                                width: 95%;
                                position: relative;

                                @media (max-width: 700px) {
                                    width: 100%;
                                }

                                &::before {
                                    content: '';
                                    position: absolute;
                                    top: 50%;
                                    left: 50%;
                                    transform: translate(-50%, -50%);
                                    width: 90%;
                                    height: 90%;
                                    background-color: #F0F5F8;
                                    border-radius: 50%;
                                    z-index: -5;
                                }
                            }

                            p {
                                text-align: center;
                                margin-top: 1.5rem;
                                font-size: 1.8rem;
                                line-height: 3rem;
                                color: #676767;
                                letter-spacing: 0;

                                @media (max-width: 700px) {
                                    font-size: 1.4rem;
                                    line-height: 2rem;
                                    margin-top: .75rem;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

#reason {
    background-color: #D7EDFB;
    padding-top: 12.5rem;
    padding-bottom: 40rem;
    position: relative;
    overflow: hidden;

    @media (max-width: 700px) {
        overflow: hidden;
        padding-top: 7rem;
        padding-bottom: 15rem;
    }

    &::before,
    &::after {
        content: '';
        position: absolute;
        aspect-ratio: 1 / 1.2;
        background-color: #F2F9FE;
        width: 50%;

        @media (max-width: 700px) {
            width: 90%;
        }
    }

    &::before {
        top: 0;
        left: 0;
        clip-path: polygon(0 0, 100% 0, 0 100%);
    }

    &::after {
        bottom: 0;
        right: 0;
        clip-path: polygon(100% 0, 100% 100%, 0 100%);
    }

    .header {
        color: #000;
        letter-spacing: 0;

        .label {
            font-family: var(--font-roboto);
            font-weight: var(--font-weight-roboto-black);
            font-size: 2rem;

            @media (max-width: 700px) {
                font-size: 1.3rem;
            }
        }

        h2 {
            font-size: 1.8rem;
            font-weight: var(--font-weight-m-plus-1-medium);
            margin-top: 1.5rem;

            @media (max-width: 700px) {
                font-size: 1.5rem;
                gap: .75rem;
                margin-top: 1rem;
            }

            span {
                font-size: 5rem;
                display: block;
                margin-top: 1rem;

                @media (max-width: 700px) {
                    font-size: 2.9rem;
                    margin-top: .75rem;
                }
            }
        }
    }

    .list {
        margin-top: 6rem;
        display: flex;
        flex-direction: column;
        gap: 6rem;

        @media (max-width: 700px) {
            margin-top: 4rem;
            gap: 4rem;
        }

        article {
            background-color: #fff;

            .inner {
                display: flex;
                position: relative;

                @media (max-width: 700px) {
                    flex-direction: column;
                }

                &::before {
                    content: '';
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 1000%;
                    height: 100%;
                    background-color: #fff;
                    z-index: -5;
                    box-shadow: 2rem 2rem 2rem rgba(0, 0, 0, .05);
                }

                figure {
                    width: 45%;

                    @media (max-width: 700px) {
                        width: 100%;
                    }
                }

                .body {
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    margin-left: 5rem;
                    padding-left: 4rem;
                    position: relative;
                    flex-grow: 1;

                    @media (max-width: 700px) {
                        margin-left: 0;
                        padding-left: 0;
                        padding: 3rem 2rem;
                    }

                    &::before,
                    &::after {
                        content: '';
                        position: absolute;
                        background-color: var(--primary-color);
                    }

                    &::before {
                        width: .1rem;
                        height: 70%;
                        top: 0;
                        left: 0;

                        @media (max-width: 700px) {
                            display: none;
                        }
                    }

                    &::after {
                        width: 120%;
                        height: .1rem;
                        right: -100%;
                        bottom: 5rem;

                        @media (max-width: 700px) {
                            left: 0;
                            width: 100%;
                            bottom: auto;
                            top: 10.5rem;
                        }
                    }

                    .no {
                        font-family: var(--font-roboto);
                        font-weight: var(--font-weight-roboto-black);
                        font-size: 9rem;
                        color: #fff;
                        text-shadow: -1px -1px 0 #C3E5FA, 1px -1px 0 #C3E5FA, -1px 1px 0 #C3E5FA, 1px 1px 0 #C3E5FA;
                        position: absolute;
                        top: 3rem;
                        left: 15rem;

                        @media (max-width: 700px) {
                            left: 50%;
                            transform: translateX(-50%);
                            font-size: 6rem;
                            width: 100%;
                            text-align: center;
                            top: 1rem;
                        }
                    }

                    .title {
                        position: relative;
                        z-index: 5;
                        font-family: var(--font-m-plus-1);
                        font-weight: var(--font-weight-m-plus-1-extrabold);
                        font-size: 2.5rem;
                        color: var(--primary-color);
                        line-height: 4rem;

                        @media (max-width: 700px) {
                            text-align: center;
                            font-size: 2rem;
                            line-height: 3rem;
                        }
                    }

                    .text {
                        position: relative;
                        z-index: 5;
                        margin-top: 2rem;
                        line-height: 3rem;
                        color: #000;
                        font-size: 1.4rem;
                        letter-spacing: .1rem;

                        @media (max-width: 700px) {
                            text-align: center;
                            font-size: 1.3rem;
                            margin-top: 2.75rem;
                            line-height: 2.5rem;
                        }

                        span {
                            font-size: 1rem;

                            @media (max-width: 700px) {
                                line-height: 2rem;
                                display: inline-block;
                                margin-top: 1rem;
                            }
                        }
                    }
                }
            }

            &.img-right {
                .inner {
                    flex-direction: row-reverse;

                    @media (max-width: 700px) {
                        flex-direction: column;
                    }

                    &::before {
                        left: auto;
                        right: 0;
                    }

                    .body {
                        padding-left: 0;
                        margin-left: 20rem;
                        margin-right: 5rem;

                        @media (max-width: 700px) {
                            margin-left: 0;
                            margin-right: 0;
                        }

                        &::before {
                            right: 0;
                            left: auto;
                        }

                        &::after {
                            left: -100%;
                            right: auto;
                            width: 100%;

                            @media (max-width: 700px) {
                                left: auto;
                                right: 0;
                            }
                        }

                        .no {
                            left: -7rem;

                            @media (max-width: 700px) {
                                left: 50%;
                            }
                        }
                    }
                }
            }
        }
    }
}

#case {
    background-color: #0065B8;
    padding-top: 20rem;
    padding-bottom: 20rem;

    @media (max-width: 700px) {
        padding-top: 7rem;
        padding-bottom: 10rem;
    }

    .header {
        color: #fff;
        text-align: center;

        .label {
            font-family: var(--font-roboto);
            font-weight: var(--font-weight-roboto-black);
            letter-spacing: .1rem;
            font-size: 2rem;

            @media (max-width: 700px) {
                font-size: 1.3rem;
            }
        }

        h2 {
            font-size: 4.5rem;
            font-weight: var(--font-weight-m-plus-1-medium);
            margin-top: 1rem;

            @media (max-width: 700px) {
                font-size: 2.9rem;
            }
        }
    }

    .grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
        gap: 5rem 3rem;
        margin-top: 5rem;

        @media (max-width: 700px) {
            grid-template-columns: repeat(1, 1fr);
            margin-top: 4rem;
            gap: 3rem;
        }

        a {
            background-color: #EEEEED;
            display: grid;
            grid-template-rows: subgrid;
            grid-row: span 4;
            gap: 0;
            color: #000;
            padding-bottom: 3.5rem;

            &:nth-child(n + 4) {
                display: none;
            }

            &.prepare {
                display: flex;
                align-items: center;
                justify-content: center;

                @media (max-width: 700px) {
                    display: none;
                }

                img {
                    width: 35%;
                }
            }

            figure {
                aspect-ratio: 938 / 572;

                img {
                    width: 100%;
                    height: 100%;
                }
            }

            h3 {
                font-weight: var(--font-weight-m-plus-1-medium);
                font-size: 2.3rem;
                line-height: 3.5rem;
                padding: 3.5rem 3rem 0 3rem;

                @media (max-width: 700px) {
                    font-size: 1.8rem;
                    line-height: 2.75rem;
                    padding: 3rem 2rem 0 2rem;
                }
            }

            .block {
                margin-top: 3rem;
                position: relative;
                padding: 0 3rem;

                @media (max-width: 700px) {
                    margin-top: 2rem;
                    padding: 0 2rem;
                }

                &::before {
                    content: "";
                    position: absolute;
                    width: calc(100% - 6rem);
                    height: .1rem;
                    background-color: #0065B8;
                    top: 1.8rem;
                }

                .tag {
                    background-color: #0065B8;
                    color: #fff;
                    display: inline-block;
                    padding: 1rem 0;
                    border-radius: 100px;
                    letter-spacing: 0;
                    position: relative;
                    z-index: 5;
                    width: 10rem;
                    text-align: center;
                    font-size: 1.5rem;

                    @media (max-width: 700px) {
                        font-size: 1.3rem;
                        width: 9rem;
                    }
                }

                .text {
                    margin-top: 1.75rem;
                    line-height: 3rem;
                    font-size: 1.5rem;
                    letter-spacing: .1rem;

                    @media (max-width: 700px) {
                        margin-top: 1.5rem;
                        font-size: 1.4rem;
                        line-height: 2.5rem;
                    }
                }
            }
        }
    }

    .banner {
        width: 80rem;
        margin: 6rem auto;

        /* display: none; */
        @media (max-width: 700px) {
            width: 100%;
            margin: 3rem auto;
        }
    }

    .cta {
        text-align: center;
        display: none;

        a {
            color: #fff;
            background-color: #002878;
            margin: 0 auto;
            display: inline-block;
            padding: 1.75rem 0;
            width: 25rem;
            border-radius: 100px;
            font-size: 1.7rem;

            @media (max-width: 700px) {
                font-size: 1.5rem;
                width: 20rem;
            }
        }
    }

    &.is-show-all {
        .grid a:nth-child(n + 4) {
            display: grid;

            &.prepare {
                display: flex;

                @media (max-width: 700px) {
                    display: none;
                }
            }
        }

        .cta {
            display: none;
        }
    }
}

#news {
    padding: 15rem 0;

    @media (max-width: 700px) {
        padding: 7rem 0;
    }

    .inner {
        display: flex;
        width: 80%;
        margin: 0 auto;

        @media (max-width: 700px) {
            flex-direction: column;
            width: 100%;
        }

        .header {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;

            .label {
                font-family: var(--font-roboto);
                font-weight: var(--font-weight-roboto-black);
                letter-spacing: .1rem;
                font-size: 2rem;

                @media (max-width: 700px) {
                    font-size: 1.3rem;
                }
            }

            h2 {
                font-size: 4.5rem;
                font-weight: var(--font-weight-m-plus-1-medium);
                margin-top: 1rem;

                @media (max-width: 700px) {
                    font-size: 2.9rem;
                }
            }
        }

        .list {
            width: 50%;
            overflow-y: auto;
            max-height: 35rem;

            @media (max-width: 700px) {
                width: 100%;
                margin-top: 1.5rem;
            }

            ul {
                display: flex;
                flex-direction: column;

                li {
                    border-bottom: .1rem solid #C8C8C8;
                    padding: 2.5rem 0;
                    display: flex;
                    letter-spacing: .15rem;

                    @media (max-width: 700px) {
                        font-size: 1.4rem;
                        padding: 2rem 0;
                        letter-spacing: .1rem;
                    }

                    a {
                        display: flex;
                        align-items: center;
                        line-height: 2.5rem;

                        @media (max-width: 700px) {
                            line-height: 2.25rem;
                        }
                    }

                    time {
                        width: 12rem;

                        @media (max-width: 700px) {
                            width: 10rem;
                        }
                    }

                    p {
                        margin-left: 2rem;

                        @media (max-width: 700px) {
                            margin-left: 2rem;
                        }
                    }

                    &:last-child {
                        border-bottom: none;
                    }
                }
            }
        }
    }
}

#faq {
    background-color: #EEEEED;
    padding: 15rem 0 20rem;

    @media (max-width: 700px) {
        padding: 7rem 0 10rem;
    }

    .header {
        color: #000;
        text-align: center;

        .label {
            font-family: var(--font-roboto);
            font-weight: var(--font-weight-roboto-black);
            letter-spacing: .1rem;
            font-size: 2rem;

            @media (max-width: 700px) {
                font-size: 1.3rem;
            }
        }

        h2 {
            font-size: 4.5rem;
            font-weight: var(--font-weight-m-plus-1-medium);
            margin-top: 1rem;

            @media (max-width: 700px) {
                font-size: 2.9rem;
            }
        }
    }

    .list {
        margin-top: 10rem;
        display: flex;
        flex-direction: column;
        gap: 4rem;

        @media (max-width: 700px) {
            margin-top: 4rem;
            gap: 2rem;
        }

        article {
            background-color: #fff;
            padding: 3rem 5rem;
            border-radius: var(--border-radius);

            @media (max-width: 700px) {
                padding: .75rem 2rem;
            }

            &:nth-child(n + 5) {
                display: none;
            }

            .q,
            .a {
                background-repeat: no-repeat;
                background-size: 2.5rem auto;
                padding: 2rem 0 2rem 4rem;

                @media (max-width: 700px) {
                    background-size: 1.75rem auto;
                    padding: 1.75rem 0 1.75rem 2.75rem;
                }
            }

            .q {
                font-weight: var(--font-weight-m-plus-1-extrabold);
                color: var(--primary-color);
                font-size: 2rem;
                background-image: url(../images/faq_icon_q.svg);
                background-position: left 1.6rem;

                @media (max-width: 700px) {
                    font-size: 1.6rem;
                    background-position: left 1.85rem;
                    line-height: 2.25rem;
                }
            }

            hr {
                border: none;
                border-top: 1px solid #1A9DEF;
            }

            .a {
                line-height: 2.5rem;
                letter-spacing: .1rem;
                background-image: url(../images/faq_icon_a.svg);
                background-position: left 1.8rem;

                @media (max-width: 700px) {
                    background-position: left 1.8rem;

                    .text {
                        font-size: 1.3rem;
                        line-height: 2.25rem;
                    }
                }
            }
        }
    }

    .cta {
        text-align: center;

        button {
            color: #fff;
            background-color: #002878;
            margin: 8rem auto 0;
            display: inline-block;
            padding: 1.75rem 0;
            width: 25rem;
            border-radius: 100px;
            font-size: 1.7rem;
            border: none;
            cursor: pointer;
            transition: all ease .3s;

            @media (max-width: 700px) {
                font-size: 1.5rem;
                margin: 4rem auto 0;
                width: 20rem;
            }

            &:hover {
                opacity: .9;
            }
        }
    }
}

#contact {
    background: radial-gradient(circle, #A4D8F8 0%, #1A9DEF 80%, #1A9DEF 100%);
    padding: 20rem 0;

    @media (max-width: 700px) {
        padding: 7rem 0;
    }

    .header {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        color: #fff;

        .label {
            font-family: var(--font-roboto);
            font-weight: var(--font-weight-roboto-black);
            letter-spacing: .1rem;
            font-size: 2rem;

            @media (max-width: 700px) {
                font-size: 1.3rem;
            }
        }

        h2 {
            font-size: 4.5rem;
            font-weight: var(--font-weight-m-plus-1-medium);
            margin-top: 1rem;

            @media (max-width: 700px) {
                font-size: 2.9rem;
            }
        }
    }

    .form-wrap {
        width: 80%;
        background-color: #fff;
        margin: 0 auto;
        margin-top: 7rem;
        padding: 7rem 9rem;
        border-radius: var(--border-radius);
        height: 100%;

        @media (max-width: 700px) {
            width: 100%;
            margin-top: 4rem;
            padding: 3rem 2rem;
        }

        iframe {
            width: 100%;
            height: 100%;
        }
    }
}

.floating-cta {
    position: fixed;
    right: 1rem;
    bottom: 0;
    width: 25rem;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;

    @media (max-width: 700px) {
        width: 5.5rem;
        right: 0;
        bottom: 2rem;
        aspect-ratio: 114.95 / 375;
    }

    &.is-visible {
        opacity: 1;
        visibility: visible;
    }

    img {
        width: 100%;
    }
}

.modal {
    display: none;
}

.overlay {
    display: none;
}

@media (max-width: 700px) {
    .is-open-nav {
        width: 100%;
        height: 100%;
        overflow: hidden;

        header {
            nav.sp {
                display: block;
                position: fixed;
                width: 100vw;
                height: 100dvh;
                background-color: rgba(0, 101, 184, 0.9);
                left: 0;
                top: 0;
                overflow-y: auto;

                button {
                    position: absolute;
                    right: 1.5rem;
                    top: 1.5rem;
                    background-color: transparent;
                    border: none;
                    width: 4.5rem;
                    aspect-ratio: 84.46 / 86.58;
                    padding: .5rem;
                }

                .wrapper {
                    width: 80%;
                    color: #fff;
                    padding: 10rem 0;
                    margin: 0 auto;

                    h3 {
                        font-family: var(--font-roboto);
                        font-weight: var(--font-weight-roboto-black);
                        font-size: 1.4rem;
                        margin-bottom: 1rem;
                    }

                    ul {
                        flex-direction: column;
                        padding-right: 0;
                        gap: 0;

                        li {
                            border-bottom: .1rem solid #fff;

                            a {
                                font-size: 1.8rem;
                                font-family: var(--font-m-plus-1);
                                font-family: var(--font-weight-m-plus-1-medium);
                                padding: 2.5rem 0;
                                background-image: url(../images/nav_icon_arrow.svg);
                                background-repeat: no-repeat;
                                background-position: right center;
                                background-size: 1rem auto;
                            }
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 700px) {
    .is-popup-doc {
        width: 100%;
        height: 100%;
        overflow: hidden;

        .overlay {
            display: block;
            width: 100vw;
            height: 100vh;
            ;
            background-color: rgba(0, 0, 0, .6);
            position: fixed;
            top: 0;
            left: 0;
            z-index: 100;
        }

        #hero-sp {
            z-index: 150;
            position: fixed;
            display: block;

            .hero-form {
                display: block;
                position: fixed;
                width: calc(100% - 3rem);
                margin: 0 auto;
                left: 50%;
                transform: translateX(-50%);
                border-radius: var(--border-radius);
                top: 8rem;
                height: calc(100dvh - 10rem);
                overflow-y: auto;

                h2 {
                    background-position: 4rem center;
                    background-size: 3rem auto;
                    padding: 1rem 0 1rem 5rem;
                    margin-top: 3rem;
                }

                .close {
                    position: absolute;
                    top: 3rem;
                    right: 3rem;
                    border: none;
                    cursor: pointer;
                    background: transparent;

                    @media (max-width: 700px) {
                        top: 1.5rem;
                        right: 1.5rem;
                    }
                }

                iframe {
                    min-height: 50rem;
                }
            }
        }
    }
}

.is-popup {
    width: 100%;
    height: 100%;
    overflow: hidden;

    .overlay {
        display: block;
        width: 100vw;
        height: 100vh;
        ;
        background-color: rgba(0, 0, 0, .6);
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
    }

    .modal {
        width: 82rem;
        height: 90dvh;
        background-color: #EEEEED;
        position: fixed;
        top: 50%;
        left: 50%;
        display: block;
        z-index: 150;
        transform: translate(-50%, -50%);
        overflow-y: auto;
        padding: 5rem;
        color: #000;
        font-family: var(--font-m-plus-1);

        @media (max-width: 700px) {
            width: calc(100% - 3rem);
            padding: 3rem 2rem;
        }

        .close {
            position: absolute;
            top: 3rem;
            right: 3rem;
            border: none;
            cursor: pointer;
            background: transparent;

            @media (max-width: 700px) {
                top: 1.5rem;
                right: 1.5rem;
            }
        }

        .header {
            margin-top: 3rem;

            @media (max-width: 700px) {
                margin-top: 2rem;
            }

            h2 {
                font-size: 2.5rem;
                font-weight: var(--font-weight-m-plus-1-medium);
                line-height: 4.5rem;
                letter-spacing: .1rem;

                @media (max-width: 700px) {
                    font-size: 1.7rem;
                    line-height: 3rem;
                }
            }

            .date {
                font-size: 1.5rem;
                margin-top: .5rem;
                letter-spacing: .1rem;
            }
        }

        .body {
            section {
                margin-top: 3rem;
                position: relative;

                @media (max-width: 700px) {
                    margin-top: 3rem;
                }

                &::before {
                    content: "";
                    display: block;
                    position: absolute;
                    width: 100%;
                    height: .1rem;
                    background-color: #0065B8;
                    top: 1.9rem;

                    @media (max-width: 700px) {
                        top: 1.6rem;
                    }
                }

                h3 {
                    background-color: #0065B8;
                    color: #fff;
                    border-radius: 100rem;
                    padding: 1rem 2rem;
                    display: inline-block;
                    letter-spacing: 0;
                    min-width: 12rem;
                    text-align: center;
                    z-index: 5;
                    position: relative;

                    @media (max-width: 700px) {
                        font-size: 1.3rem;
                        min-width: 9rem;
                        padding: .9rem 1.2rem;
                    }
                }

                p,
                ul {
                    margin-top: 1.5rem;
                    letter-spacing: .2rem;
                    line-height: 2.75rem;

                    @media (max-width: 700px) {
                        font-size: 1.4rem;
                        line-height: 2.5rem;
                    }
                }

                @media (max-width: 700px) {
                    p {
                        letter-spacing: 0;
                    }
                }

                ul {
                    display: flex;
                    flex-direction: column;
                    gap: 1rem;

                    li {
                        padding-left: 2.3rem;
                        position: relative;

                        &::before {
                            content: "";
                            display: block;
                            position: absolute;
                            width: 1.5rem;
                            height: 1.5rem;
                            background-color: #000;
                            border-radius: 100px;
                            left: 0;
                            top: .6rem;
                        }
                    }
                }
            }
        }

        .footer {
            text-align: center;
            padding: 7rem 0 5rem;

            @media (max-width: 700px) {
                padding: 4rem 0 2rem;
            }

            button {
                color: #0065B8;
                border: .1rem solid #0065B8;
                border-radius: 10rem;
                display: inline-block;
                padding: 1.5rem 4rem;
                cursor: pointer;
                background-color: transparent;

                @media (max-width: 700px) {
                    font-size: 1.4rem;
                    padding: 1rem 3.5rem;
                }
            }
        }
    }
}

#footer {
    font-size: 1.4rem;

    @media (max-width: 700px) {
        .bg-white {
            margin-bottom: 0;
        }
    }

    .bg-white {
        margin-bottom: 0;
    }

    .adress {
        font-size: 1.3rem;
    }

    p {
        word-break: break-all;
        white-space: normal;
    }

    .top {
        font-size: 1.5rem;

        @media (max-width: 700px) {
            font-size: 1.4rem;
        }
    }

    .fBnr {
        width: 46rem;

        @media (max-width: 700px) {
            width: 100%;
        }
    }

    .copyright {
        letter-spacing: 0;
    }
}