@charset "UTF-8";

@media screen and (min-width: 768px) {
    .c-service-body-top {
        .u-d-none-pc {
            display: none !important;
        }
    }
}

@media screen and (max-width: 767px) {
    .c-service-body-top {
        .u-d-none-sp {
            display: none !important;
        }
    }
}

.c-service-body-top {
    --bg-font-size: clamp(60px, 11.5vw, 176px);
    --bg-font-size-sp: clamp(60px, 15vw, 176px);

    .u-content-size {
        padding: 0 7vw;
    }

    .u-clr-ocher {
        color: #6b6700;
    }

    .u-clr-light-blue {
        color: #5c95c5;
    }
    
    .u-clr-light-brown {
        color: #a97b6a;
    }
    
    .c-head-title {
        font-size: 50px;

        .c-head-title-en {
            font-size: 28px;
            font-family: 'Roboto', sans-serif;
            letter-spacing: 2px;
        }
    }

    .c-head-mid-text {
        font-size: clamp(23px, 6.1vw, 46px);
        line-height: 1.3;
    }

    .c-head-sm-text {
        font-size: clamp(16px, 5vw, 32px);
        line-height: 1.3;
    }

    .radius-container-lt-rb {
        border-radius: 150px 0;
        overflow: hidden;
    }

    .radius-container-lt {
        border-radius: 150px 0 0 0;
        overflow: hidden;
    }
    
    .radius-container-rb {
        border-radius: 0 0 150px;
        overflow: hidden;
    }

    .c-service-area-top {
        position: relative;
        background-color: transparent !important;

        .c-service-area-top-inner {
            position: relative;
            height: 65vw;
            max-height: 800px;
            background-color: #fff;

            &::before {
                content: '';
                position: absolute;
                top: 0;
                bottom: 0;
                left: 0;
                width: 100%;
                background-image: url('/service/img/img-team-kv-01.png');
                background-size: 50%;
                background-position: right top;
                background-repeat: no-repeat;
            }

            .c-service-area-top-content {
                height: calc(100% - 250px);
                width: 58vw;
                margin: 12vw 0 0 7vw;
                position: relative;

                h1 {
                    position: relative;
                    font-size: 56px;
                    text-shadow:
                        -1px -1px 0 #fff,
                        1px -1px 0 #fff,
                        -1px  1px 0 #fff,
                        1px  1px 0 #fff;
                }

                p {
                    font-size: 20px;
                    font-family: 'Roboto', sans-serif;
                    letter-spacing: 2px;
                }
            }
        }
    }

    .c-service-area-lead {
        position: relative;
        top: -250px;
        margin-left: 7vw;
        width: calc(100% - 7vw);

        .c-service-area-lead-inner {
            background: #edeff3;
            color: #070f26;
            padding: 60px 340px 60px 80px;
            position: relative;
            border-radius: 100px 0 150px;

            &::before {
                content: '';
                position: absolute;
                top: 0;
                right: 0;
                background-image: url('/service/img/img-team-bg-01.png');
                background-size: cover;
                background-position: 0 0;
                background-repeat: no-repeat;
                width: 500px;
                height: 370px;
                aspect-ratio: 50 / 37;
            }

            h2 {
                font-size: 33px;
                display: inline;
                background: linear-gradient(90deg, rgba(3, 109, 150, 1) 0%, rgba(140, 49, 49, 1) 100%);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
            }

            p {
                font-size: 18px;
                margin-top: 40px;
                position: relative;
                z-index: 1;
            }
        }
    }

    .c-service-area-3 {
        position: relative;
        background-image: url('/service/img/img-team-bg-02.png');
        background-size: cover;
        background-position: 0 0;
        background-repeat: no-repeat;
        color: #070f26;
        
        .c-service-area-3-inner {
            position: relative;
            padding-bottom: 240px;
            margin-bottom: -180px;

            &::after {
                content: '"FRONTIER"\A TEAM';
                position: absolute;
                top: -200px;
                right: 16px;
                color: #fff;
                font-family: 'Roboto', sans-serif;
                font-size: var(--bg-font-size-sp);
                font-weight: bold;
                line-height: .85;
                opacity: .3;
                text-align: right;
                white-space: pre;
            }

            .head-area {
                position: relative;
                z-index: 1;
            }
        }
    }

    .c-team-area-4,
    .c-team-area-5,
    .c-team-area-6, 
    .c-team-area-7 {
        border-style: solid;
        border-top-color: #070f26;
        border-width: 1px;
        margin-top: -150px;
        padding-bottom: 280px;
        position: relative;

        .title-area {
            font-size: 50px;
            display: flex;
            align-items: center;
            gap: 20px;


            .number-wrap {
                font-size: 20px;
                border-radius: 20px 0;
                width: 50px;
                height: 50px;
                background-color: #4cb500;
                color: #fff;
                display: flex;
                justify-content: center;
                align-items: center;
            }
        }

        .content-area {
            display: flex;
            justify-content: space-between;
            gap: 40px;

            .text-wrap {
                width: 60%;

                .head-text {
                    font-size: 30px;
                }
            }

            .img-wrap {
                border-radius: 20px 0;
                overflow: hidden;
            }
        }

        .box-area {
            border: 1px solid #ddd;
            border-radius: 20px;
            padding: 40px;
            display: flex;
            justify-content: space-between;
            gap: 20px;

            .box-head {
                width: 70%;
                margin: auto 0;

                h2 {
                    font-size: 23px;
                    margin-bottom: 20px;
                }
            }

            .box-img {
                border-radius: 20px 0;
                overflow: hidden;
                max-width: 500px;

                img {
                    max-width: 100%;
                    height: auto;
                    object-fit: contain;
                }
            }
        }
    }

    .c-team-area-4 {
        border-color: #4cb500;
    }

    .c-team-area-5 {
        border-color: #db5b5f;

        .title-area {
            .number-wrap {
                background-color: #db5b5f;
            }
        }
    }

    .c-team-area-6 {
        border-color: #8826bc;

        .title-area {
            .number-wrap {
                background-color: #8b38bc;
            }
        }
    }
    
    
    .c-team-area-7 {
        border-color: #008ec9;
        background: #FFF;
        background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 25%, rgba(235, 240, 241, 1) 25%, rgba(235, 240, 241, 1) 100%) !important;
        padding-bottom: 0 !important;

        .title-area {
            .number-wrap {
                background-color: #008fca;
            }
        }

        .c-team-area-7-inner {
            background-color: #fff;
            border-style: solid;
            border-bottom-color: #008ec9;
            border-width: 0 0  1px 0;
        }
    }

    .c-team-area-8 {
        position: relative;
        background-color: #ebf0f1;
        color: #070f26;
        min-height: clamp(900px, 95vw, 1100px);

        &::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            background: url('/service/img/img-team-teamwork.png');
            background-size: cover;
            background-position: right bottom;
            background-repeat: no-repeat;
            aspect-ratio: 14.4 / 10.6;
            width: 100%;
            max-width: 1200px;
        }

        .c-team-area-8-inner {
            width: 634px;

            h3 {
                font-size: 48px;
            }
        }
    }
}

/* for SP */
@media screen and (max-width: 767px) {
    .c-service-body-top {
        .radius-container-lt-rb {
            border-radius: 60px 0 60px;
        }

        .radius-container-lt {
            border-radius: 60px 0 0 0;
        }

        .radius-container-rb {
            border-radius: 0 0 60px;
        }

        .c-service-area-top {
            .c-service-area-top-inner {
                height: auto;

                &::before {
                    background-size: 65%;
                }

                .c-service-area-top-content {
                    margin: 30vw 0 0 4vw;
                    height: auto;
                    min-height: 360px;
                    width: 100%;
                    position: relative;
                    z-index: 1;

                    h1 {
                        font-size: clamp(20px, 9vw, 56px);
                    }

                    .c-nav-link-anchor {
                        display: flex;
                        flex-wrap: wrap;
                        position: absolute;
                        bottom: 100px;


                        & >li {
                            width: 120px;
                           margin-top: 6px; 
                        }
                    }
                }
            }
        }

        .c-service-area-lead {
            margin-left: initial;
            width: 100%;
            top: -80px;

            .c-service-area-lead-inner {
                border-radius: 60px 0;
                padding: 60px 20px;
                

                &::before {
                    height: 44vw;
                    width: auto;
                }
            }
        }

        .c-service-area-3 {
            .c-service-area-3-inner {
                &::after {
                    top: -60px;
                }
            }
        }

        .c-team-area-4,
        .c-team-area-5,
        .c-team-area-6, 
        .c-team-area-7 {
            .content-area {
                flex-direction: column;

                .text-wrap {
                    width: 100%;

                    .head-text {
                        font-size: clamp(21px, 5vw, 34px);
                    }

                    .text {
                        font-size: clamp(16px, 4.5vw, 28px);
                    }
                }
            }

            .title-area {
                font-size: 10vw;
            }

            .box-area {
                flex-direction: column;
                padding: 20px;

                .box-head {
                    width: 100%;

                    h2 {
                        font-size: clamp(22px, 5vw, 34px);
                    }

                    p {
                        font-size: clamp(16px, 4.5vw, 28px);
                    }

                    a {
                        font-size: clamp(16px, 4.5vw, 28px);
                    }
                }

                .box-img {
                    max-width: initial;
                }
            }
        }

        .c-team-area-8 {
            min-height: 840px;

            &::before {
                content: '';
                background: url('/service/img/img-team-teamwork-sp.png');
                background-size: cover;
                background-position: right bottom;
                background-repeat: no-repeat;
                aspect-ratio: 15 / 11;
            }

            .c-team-area-8-inner {
                width: 100%;
                
                h3 {
                    font-size: clamp(28px, 9vw, 32px);
                }

                p {
                    font-size: clamp(16px, 4.5vw, 18px);
                }
            }
        }
    }
}

/* (PC) リード文 調整 */
@media screen and (min-width: 768px) and (max-width: 990px) {
    .c-service-body-top {
        .c-service-area-lead {
           top: -175px;

            .c-service-area-lead-inner {
                padding: 40px;
            }
        }
    }
}

/* header 下線打ち消し */
@media screen and (min-width: 991px) and (max-width: 1249px) {
    .l-header-ed23__block {
        border-bottom-width: 0 !important;
    }
}
@media screen and (max-width: 990px) {
    .l-header-ed23__sub-logo {
        border-bottom-width: 0 !important;
    }
}

/* コンテンツ幅 */
@media screen and (min-width: 1440px) {
    .c-service-body-top {
        .u-content-size {
            padding: 0;
            max-width: 1200px;
            margin: 0 auto;
        }
    }
}
@media screen and (min-width: 2400px) {
    .c-service-body-top {
        .c-service-area-top {
            .c-service-area-top-inner {
                .c-service-area-top-content {
                    height: calc(100% - 250px);
                    max-width: 1200px;
                    margin: 4% auto;
                }
            }
        }
    }
}