@charset "UTF-8";

.top-fv-container {
    padding: 33.8rem 0 40.7rem;
    position: relative;
    background: #fff;

    @media screen and (max-width: 1080px) {
      padding: 33.8rem 10rem 40.7rem;
    }

    @media screen and (max-width: 767px) {
        padding: 33.5rem 0rem 6.5rem;
    }

    .top-fv-img-container {
        width: 168rem;
        position: absolute;
        top: -34rem;
        right: -11rem;
        z-index: -1;
        display: grid;

        @media screen and (max-width: 1080px) {
            right: -17rem;
        }

        @media screen and (max-width: 767px) {
            right: -1.6rem;
            width: 35.5rem;
            top: -33.5rem;
            height: 30.5rem;
        }

        & img {
            grid-column: 1;
            grid-row: 1;
            width: 100%;
            height: auto;
            opacity: 0;
            visibility: hidden;
            transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
            will-change: opacity;
            pointer-events: none;

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

            @media screen and (max-width: 767px) {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }
    }

    .fv-en-title {
        font-family: 'Montserrat';
        font-style: normal;
        font-weight: 600;
        font-size: 1.6rem;
        /* line-height: 4.5rem; */
        letter-spacing: 0.04em;
        color: #006ACD;

        @media screen and (max-width: 767px) {
            font-size: 1rem;
            line-height: 1.2rem;
        }      
    }

    .fv-jp-title {
        font-style: normal;
        font-weight: 700;
        font-size: 6.6rem;
        line-height: 8.8rem;
        letter-spacing: 0.09em;
        color: #000000;
        margin: 2.3rem 0 3.4rem;

        @media screen and (max-width: 767px) {
            font-size: 3.2rem;
            line-height: 4.4rem;
            margin: 1rem 0 1.6rem;
        }
    }

    .fv-jp-undertitle {
        font-style: normal;
        font-weight: 500;
        font-size: 2.2rem;
        /* line-height: 5.3rem; */
        letter-spacing: 0.09em;
        color: #FFFFFF;
        width: fit-content;

        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 0.6rem 1rem;
        background: #006ACD;

        @media screen and (max-width: 767px) {
            font-size: 1.4rem;
            line-height: 2.2rem;
            padding: 0rem 0.5rem;
        }
        
    }
}

#about {
    position: relative;
    &::before {
        content: "";
        position: absolute;
        background: url(../img/home/about-bk.png) no-repeat;
        width: 192rem;
        height: 145.7rem;
        top: -59rem;
        left: -1rem;
        background-size: 100%;

        @media screen and (max-width: 767px) {
            width: 37.5rem;
            height: 34.1rem;
            top: -12rem;
            left: 0rem;
        }
    }
    .about-flex-container {
        display: flex;
        /* align-items: center; */
        max-width: 170.6rem;
        position: relative;
        z-index: 1;
        margin: 5rem auto 10.2rem;
        justify-content: space-between;

        @media screen and (max-width: 1080px) {
            width: 142rem;
        }
        @media screen and (max-width: 767px) {
            width: calc(100% - 3rem);
            flex-direction: column;
            margin: 3.6rem 0 6.9rem;
        }

        .about-flex-txt-container {
            padding-left: 6rem;
            border-left: #B5B5B5 1px solid;

            @media screen and (max-width: 767px) {
                padding-left: 2rem;
            }

            .about-title {
                font-style: normal;
                font-weight: 600;
                font-size: 4.2rem;
                line-height: 6.3rem;
                letter-spacing: 0.11em;
                color: #1D1D1D;

                @media screen and (max-width: 767px) {
                    font-size: 2.2rem;
                    line-height: 4rem;
                    font-weight: 700;
                }
            }

            .about-txt {
                max-width: 89.3rem;
                font-style: normal;
                font-weight: 500;
                font-size: 1.8rem;
                line-height: 4.5rem;
                letter-spacing: 0.04em;
                color: #1D1D1D;
                margin: 4rem 0 8rem;

                @media screen and (max-width: 767px) {
                    font-size: 1.4rem;
                    line-height: 2.8rem;
                    margin: 0 0 5rem;
                }
            }
        }

        .about-img-container {
            width: 72.5rem;
            margin-top: 4rem;

            @media screen and (max-width: 1080px) {
                width: 59.5rem;
                margin-right: 4rem;
            }

            @media screen and (max-width: 767px) {
                width: 100%;
                margin-right: 0;
                margin-bottom: 5rem;
                margin-top: 4.6rem;
            }
        }
    }
}

#process {
    background: linear-gradient(180deg, #0046F6 -5.31%, #639AFC 105.31%);
    position: relative;
    height: 400vh;
    padding: 0;

    @media screen and (max-width: 767px) {
        height: 350vh;
    }

    .process-sticky-container {
        position: sticky;
        top: 0;
        height: 100vh;
        height: 115dvh;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        box-sizing: border-box;
        padding: 5rem 0;
        overflow: hidden;

        @media screen and (max-width: 767px) {
            padding: 3rem 0;
            justify-content: flex-start;
            overflow-y: auto;
        }
    }

    .common-title-en, .common-title-jp {
        color: #FFFFFF;
    }

    .process-common-title-txt-flex {
        display: flex;
        justify-content: space-between;
        margin-bottom: 5rem;
        width: 170rem;

        @media screen and (max-width: 1080px) {
            width: 140rem;
        }

        @media screen and (max-width: 767px) {
            flex-direction: column;
            /* margin-bottom: 2.5rem; */
            margin-bottom: 2rem;
            width: 100%;
        }

        .process-top-txt {
            max-width: 76.6rem;
            font-style: normal;
            font-weight: 400;
            font-size: 1.8rem;
            line-height: 3.6rem;
            letter-spacing: 0.04em;
            color: #FFFFFF;

            @media screen and (max-width: 767px) {
                margin-top: 1.5rem;
                font-size: 1.3rem;
                line-height: 2.2rem;
                max-width: inherit;
                width: 100%;
            }
        }
    }

    .process-scroll-content {
        display: flex;
        /* padding-left: 19.6rem; */
        padding-left: 13.6rem;
        align-items: center;
        position: relative;
        width: 100%;

        @media screen and (max-width: 1080px) {
            padding-left: 8.6rem;
        }

        @media screen and (max-width: 767px) {
            padding-left: 1.5rem;
            padding-right: 1.5rem;
            align-items: flex-start;
        }

        .number-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4.8rem;
            position: relative;
            height: fit-content;
            margin-right: 9.8rem;
            z-index: 10;
            width: 5.8rem;
            flex-shrink: 0;

            @media screen and (max-width: 767px) {
                margin-right: 2rem;
                gap: 2.5rem;
                width: 4.3rem;
            }

            &::after {
                content: "";
                position: absolute;
                width: 0.1rem;
                height: 100%;
                background-color: #FFFFFF;
                top: 0;
                left: 0;
                right: 0;
                margin: auto;
                z-index: 1;
            }

            .number-box {
                font-family: 'Roboto', sans-serif;
                font-style: normal;
                font-weight: 400;
                font-size: 1.6rem;
                text-align: center;
                color: #73A3FF;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                width: 4.4rem;
                height: 4.4rem;
                background: #FFFFFF;
                border-radius: 50%;
                transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, width 0.3s ease, height 0.3s ease;
                z-index: 2;
                cursor: pointer;
                user-select: none;

                &:hover:not(.activate-box-numb) {
                    transform: scale(1.15);
                    color: #002F98;
                    box-shadow: 0 0 1.2rem rgba(255, 255, 255, 0.4);
                }

                @media screen and (max-width: 767px) {
                    font-size: 1.2rem;
                    width: 3.3rem;
                    height: 3.3rem;
                }

                &.activate-box-numb {
                    width: 5.8rem;
                    height: 5.8rem;
                    background-color: #002F98;
                    font-weight: 700;
                    font-size: 2.1rem;
                    color: #FFFFFF;
                    box-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.15);

                    @media screen and (max-width: 767px) {
                        width: 4.3rem;
                        height: 4.3rem;
                        font-size: 1.5rem;
                    }
                }
            }
        }

        .process-steps-wrapper {
            display: grid;
            grid-template-columns: 1fr;
            grid-template-rows: 1fr;
            position: relative;
            flex: 1;
            align-items: center;
            min-height: 45rem;

            @media screen and (max-width: 767px) {
                min-height: auto;
            }
        }

        .process-step {
            grid-column: 1 / -1;
            grid-row: 1 / -1;
            display: flex;
            align-items: center;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transform: translateY(3.5rem);
            transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                        visibility 0.5s;
            justify-content: space-between;

            &.is-active {
                opacity: 1;
                visibility: visible;
                pointer-events: auto;
                transform: translateY(0);
                z-index: 2;
            }

            &.is-prev {
                opacity: 0;
                visibility: hidden;
                pointer-events: none;
                transform: translateY(-3.5rem);
                z-index: 1;
            }

            @media screen and (max-width: 767px) {
                flex-direction: column;
                align-items: flex-start;
                justify-content: inherit;
            }
        }

        .process-txt-column-container {
            display: flex;
            flex-direction: column;
            gap: 4.3rem;
            width: 48.4rem;
            margin-right: 18.8rem;
            flex-shrink: 0;

            @media screen and (max-width: 1080px) {
                margin-right: 6rem;
                width: 42rem;
            }

            @media screen and (max-width: 767px) {
                gap: 2rem;
                width: 100%;
                margin-right: 0;
            }

            .process-scroll-title {
                font-style: normal;
                font-weight: 600;
                font-size: 3.6rem;
                letter-spacing: 0.12em;
                color: #006ACD;
                display: flex;
                flex-direction: row;
                justify-content: center;
                align-items: center;
                padding: 1rem 1.6rem;
                width: fit-content;
                background: #FFFFFF;

                @media screen and (max-width: 767px) {
                    font-size: 1.8rem;
                    padding: 0.6rem 1.2rem;
                }
            }

            .process-scroll-txt {
                font-style: normal;
                font-weight: 400;
                font-size: 1.8rem;
                line-height: 3.6rem;
                letter-spacing: 0.04em;
                color: #FFFFFF;

                @media screen and (max-width: 767px) {
                    font-size: 1.3rem;
                    line-height: 2.2rem;
                }
            }
        }

        .process-image-scroll-container {
            width: 63.4rem;
            max-width: 100%;

            &.img-container02 {
                width: 74.6rem;

                @media screen and (max-width: 767px) {
                    width: 23rem;
                }
            }

            &.img-container03 {
                width: 62.3rem;
                @media screen and (max-width: 767px) {
                    width: 20rem;
                }
            }

            &.img-container04 {
                width: 52rem;
                @media screen and (max-width: 767px) {
                    width: 19rem;
                }
            }

            &.img-container05 {
                width: 67.1rem;
                @media screen and (max-width: 767px) {
                    width: 24rem;
                }
            }

            &.img-container06 {
                width: 70rem;
                @media screen and (max-width: 767px) {
                    width: 23rem;
                }
            }

            & img {
                width: 100%;
                height: auto;
                max-height: 48vh;
                object-fit: contain;

                @media screen and (max-width: 767px) {
                    max-height: 40.5vh;
                    object-fit: cover;
                    border-radius: 0.8rem;
                }
            }

            @media screen and (max-width: 1080px) {
                width: 58rem;
            }

            @media screen and (max-width: 767px) {
                width: 20rem;
                margin-top: 1rem;
                margin-left: auto;
            }
        }
    }
}

.contact-banner-container {
    margin: 7rem auto 8.2rem;

    @media screen and (max-width: 767px) {
        margin: 6.4rem auto 8rem;
    }

    .banner-container {
        width: 186rem;
        position: relative;
        margin: 0 auto;
        padding: 0 0 0 12rem;
        display: flex;
        justify-content: space-between;
        background: #0036BD;
        border-radius: 1rem;
        align-items: center;

        @media screen and (max-width: 1080px) {
            width: 95%;
            padding: 0 0 0 9rem;
        }

        @media screen and (max-width: 767px) {
            width: 33.5rem;
            padding: 0;
            flex-direction: column;
        }

        &::before {
            content: "";
            position: absolute;
            background: url(../img/home/contact-btn-bk.png) no-repeat;
            background-size: 100%;
            width: 114.7rem;
            height: 44.9rem;
            z-index: 0;
            left: -7rem;
            mix-blend-mode: screen;

            @media screen and (max-width: 1080px) {
                bottom: 0;
                width: 115.7rem;
                height: 44.9rem;
            }

            @media screen and (max-width: 767px) {
                background: url(../img/home/contact-btn-bk-sp.png) no-repeat;
                background-size: 100%;
                width: 33.5rem;
                height: 25.4rem;
                left: 0;
                top: 18rem;
            }
        }

        .banner-txt-container {
            z-index: 2;

            @media screen and (max-width: 767px) {
                padding-bottom: 4.8rem;
            }
            .banner-txt {
                font-style: normal;
                font-weight: 500;
                font-size: 2.8rem;
                line-height: 5.3rem;
                letter-spacing: 0.11em;
                color: #FFFFFF;
                margin-bottom: 6rem;
                /* padding-top: 11.9rem; */

                @media screen and (max-width: 1080px) {
                    font-size: 2.5rem;
                    line-height: 4.7rem;
                }

                @media screen and (max-width: 767px) {
                    font-size: 1.6rem;
                    line-height: 2.7rem;
                    padding: 4rem 2rem;
                    margin: 0 auto;
                    max-width: 33.5rem;
                    text-align: center;
                }
            }

            .contact-banner-btn {
                display: flex;
                justify-content: center;
                align-items: flex-start;
                padding: 3.2rem 3.7rem 3.3rem;
                width: 45.6rem;
                height: 8.4rem;
                background: #FFFFFF;
                border-radius: 0.5rem;

                @media screen and (max-width: 767px) {
                    align-items: center;
                    padding: 2.2rem 2rem;
                    width: 27.5rem;
                    height: 6rem;
                    margin: 0 auto;
                }

                .txt-btn {
                    width: 36rem;
                    font-style: normal;
                    font-weight: 700;
                    font-size: 2rem;
                    /* line-height: 40px; */
                    letter-spacing: 0.07em;
                    color: #0036BD;

                    @media screen and (max-width: 767px) {
                        width: 21.4rem;
                        font-size: 1.6rem;
                    }
                }

                .img-btn-container {
                    width: 1.8rem;
                    height: 1.5rem;
                }
            }
        }

        .banner-img-container {
            width: 81.2rem;
            z-index: 1;

            @media screen and (max-width: 767px) {
                width: 100%;
            }
        }
    }
}

#works {
    border-bottom: 1px solid #B5B5B5;

    @media screen and (max-width: 767px) {
        margin-bottom: 4rem;
    }
    .works-titles-txt-container {
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        padding: 8rem 10.4rem;
        width: 192rem;
        border-width: 1px 0px;
        border-style: solid;
        border-color: #B5B5B5;

        @media screen and (max-width: 1080px) {
            width: 100%;
        }

        @media screen and (max-width: 767px) {
            padding: 0 2rem;
            flex-direction: column;
            border-top: none;
        }

        .work-text-btn-container {
            display: flex;
            flex-direction: column;
            gap: 8rem;
            padding-left: 6rem;
            border-left: 1px solid #B5B5B5;

            @media screen and (max-width: 767px) {
                border-left: none;
                gap: 0;
                padding-left: 0;
                padding-top: 2rem;
            }

            .work-text {
                font-style: normal;
                font-weight: 500;
                font-size: 1.8rem;
                line-height: 1.8rem;
                letter-spacing: 0.04em;
                color: #1D1D1D;

                @media screen and (max-width: 767px) {
                    font-size: 1.4rem;
                    line-height: 2.8rem;
                    padding-bottom: 6rem;
                }
            }
        }
    }

    .works-list-home-container {
        max-width: 170rem;
        margin: 0 auto;

        @media screen and (max-width: 767px) {
            max-width: inherit;
        }
    }
}

#social {
    margin: 10rem 0 10.5rem;

    @media screen and (max-width: 767px) {
        margin: 6.9rem 0 5.1rem;
    }

    .blue-bk {
        padding: 12rem 7.6rem 13.5rem;
        position: relative;
        background: #e9f4ff;

        @media screen and (max-width: 767px) {
            padding: 6rem 2rem 6.2rem;
        }
        
        &::before {
            content: "";
            position: absolute;
            background: url(../img/home/social-bk.png) no-repeat;
            background-size: 100%;
            mix-blend-mode: lighten;
            opacity: 0.66;
            /* transform: rotate(-180deg); */
            width: 186rem;
            height: 102.9rem;
            z-index: -1;
            top: 0;
            left: 0;
        }

        .social-title-txt-flex {
            display: flex;
            justify-content: space-between;

            @media screen and (max-width: 767px) {
                flex-direction: column;    
            }

            .top-social-txt-container {
                padding-left: 6rem;
                border-left: 1px solid #B5B5B5;
                font-style: normal;
                font-weight: 500;
                font-size: 1.8rem;
                line-height: 4.5rem;
                letter-spacing: 0.04em;
                color: #1D1D1D;
                width: 89rem;

                @media screen and (max-width: 1080px) {
                    width: 67rem;
                }

                @media screen and (max-width: 767px) {
                    font-size: 1.4rem;
                    line-height: 2.8rem;
                    padding-left: 0;
                    border-left: none;
                    margin-top: 2rem;
                    width: inherit;
                }
            }
        }

        .social-contents-img-flex-contianer {
            display: flex;
            justify-content: space-between;
            margin-top: 9rem;
            align-items: center;

            @media screen and (max-width: 767px) {
                flex-direction: column;
                margin-top: 4rem;
            }

            .social-img-container {
                width: 81rem;

                @media screen and (max-width: 1080px) {
                    width: 65rem;
                }

                @media screen and (max-width: 767px) {
                    width: 100%;
                    margin-bottom: 2rem;
                }
            }

            .social-contents-links {
                @media screen and (max-width: 767px) {
                    width: 100%;
                }
                .social-link-box {
                    display: flex;
                    padding: 4.7rem 0;
                    align-items: center;
                    gap: 2.6rem;
                    border-bottom: 1px solid #B5B5B5;

                    @media screen and (max-width: 767px) {
                        padding: 2.9rem 0;
                    }

                    .link-txt-container {
                        width: 74.4rem;

                        @media screen and (max-width: 1080px) {
                            width: 56.4rem;
                        }
                        @media screen and (max-width: 767px) {
                            width: 100%;
                        }

                        .social-title {
                            font-style: normal;
                            font-weight: 500;
                            font-size: 2.4rem;
                            letter-spacing: 0.04em;
                            color: #1D1D1D;
                            margin-bottom: 2rem;

                            @media screen and (max-width: 767px) {
                                font-size: 1.8rem;
                                margin-bottom: 1.5rem;
                            }
                        }

                        .social-txt {
                            font-family: 'Roboto';
                            font-style: normal;
                            font-weight: 500;
                            font-size: 1.6rem;
                            letter-spacing: 0.07em;
                            color: #006ACD;

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

                    .social-link-icon-container {
                        width: 2rem;
                        height: 1.6rem;
                    }
                }
            }
        }
    }
}

#column {
    padding-bottom: 8.4rem;
    border-bottom: 1px solid #B5B5B5;
    margin-bottom: 9rem;

    @media screen and (max-width: 767px) {
        padding-bottom: 6.9rem;
        margin-bottom: 8rem;
    }

    .common-title-en {
        @media screen and (max-width: 767px) {
            margin-bottom: 2rem;
        }
    }

    .column-title-post-container {
        display: flex;
        justify-content: space-between;

        @media screen and (max-width: 767px) {
            flex-direction: column;
        }

        .column-list-post-container {
            width: 134rem;

            @media screen and (max-width: 1080px) {
                width: 116.2rem;
            }

            @media screen and (max-width: 767px) {
                width: 100%;
            }
        }

        .common-btn {
            margin-top: 6rem;

            @media screen and (max-width: 767px) {
                margin-top: 4rem;
            }
        }

        .column-list-post-container {
            
        }
    }
}

#news {

    .common-title-en {
        @media screen and (max-width: 767px) {
            padding-bottom: 2rem;
            border-bottom: 1px solid #B5B5B5;
            margin-bottom: 2rem;
        }
    }
    
    .news-title-post-container {
        display: flex;
        justify-content: space-between;

        @media screen and (max-width: 767px) {
            flex-direction: column;
        }

        .common-btn {
            margin-top: 6rem;
        }

        .column-list-post-container {
            
        }
    }
}

/* common parts top */

.common-title-jp {
	display: flex;
	gap: 1.3rem;
	align-items: center;
	margin-bottom: 1.4rem;
	font-style: normal;
	font-weight: 600;
	font-size: 1.4rem;
	/* line-height: 72px; */
	letter-spacing: 0.11em;
	color: #006ACD;

    @media screen and (max-width: 767px) {
        gap: 0.5rem;
        margin-bottom: 0.5rem;
        font-size: 1.2rem;
    }
}

.common-title-en {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 700;
	font-size: 6.3rem;
	line-height: 7.5rem;
	letter-spacing: 0.01em;
	color: #1D1D1D;

    @media screen and (max-width: 767px) {
        font-size: 3.2rem;
        line-height: 4.5rem;
    }
}

#container {
    margin-top: 0;

    @media screen and (max-width: 767px) {
        margin-top: 0.2rem;
    }
}

.common-list {
    &.works li:nth-child(3) a {
        @media screen and (max-width: 767px) {
            border-bottom: none !important;
        }
    }
}