@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-breadcrumb {
        & > li a {
            color: #fff;
        }
        & > li:not(:last-child)::after {
            background: url('/assets/images/icon/white/arrow_s_right.svg') no-repeat center center;
        }
    }
    
    .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(26px, 7vw, 48px);
        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;

        .c-service-area-top-inner {
            position: relative;
            height: 55vw;
            max-height: 800px;

            &::before {
                content: '';
                position: absolute;
                top: 0;
                bottom: 0;
                left: 0;
                width: 100%;
                background-image: url('/service/img/img-service-top.png');
                background-size: cover;
                background-position: center;
                background-repeat: no-repeat;
                z-index: -1;
            }

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

                h1 {
                    color: #fff;
                    font-size: 56px;
                    margin-bottom: 1vw;
                }
            }
        }
    }

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

        .c-service-area-lead-inner {
            background: #fff;
            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-service-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: 34px;
                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;
                position: relative;
            }

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

    .c-service-area-3 {
        position: relative;
        background-image: url('/service/img/img-service-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: 250px;
            margin-bottom: -180px;

            .title-text {
                position: relative;
                z-index: 1;
            }

            &::after {
                content: '"FRONTIER"\A FIELD';
                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;
            }
        }
    }

     .field-circle-container {
        position: relative;
        background-image: url('/assets/images/home/img_top_field_circle_base.png');
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        height: 640px;

        .c-circle-img-wrap {
            border-radius: 50%;
            position: absolute;
            display: block;
            width: 380px;
            height: 380px;

            .c-circle-img-wrap-text {
                width: 100%;
                height: 100%;
                display: flex;
                flex-direction: column;
                align-items: center;

                h2 {
                    font-size: 30px;
                    background: #070f26;
                    border-radius: 30px;
                    color: #fff;
                    padding: 4px 20px;
                }
            }
        }

        .c-circle-img-wrap-1 {
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            top: 0;
            left: 50%;
            transform: translateX(-50%);

            .c-circle-img-wrap-text {
                display: flex;
                justify-content: center;
            }
        }

        .c-circle-img-wrap-2 {
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            bottom: 0;
            left: 50%;
            transform: translateX(-89.5%);

            .c-circle-img-wrap-text {
                display: flex;
                justify-content: center;
            }
        }

        .c-circle-img-wrap-3 {
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            bottom: 0;
            left: 50%;
            transform: translateX(-10.5%);

            .c-circle-img-wrap-text {
                display: flex;
                justify-content: center;
            }
        }

        .c-circle-lead-text {
            position: absolute;
            font-size: 18px;

            .inner {
                position: relative;

                .lead-text-br {
                    display: none;
                }
            }
        }

        .c-circle-lead-text-1 {
            border-color: #000;
            border-style: solid;
            border-width: 0 0 1px 1px;
            top: 0;
            left: 50%;
            transform: translateX(73%);

            .inner {
                padding: 0 0 18px 18px;

                &:before {
                    content: '';
                    position: absolute;
                    width: 34px;
                    height: 1px;
                    background-color: #000;
                    bottom: -9px;
                    left: -33px;
                    transform: rotate(-30deg);
                }
            }
        }

        .c-circle-lead-text-2 {
            border-color: #000;
            border-style: solid;
            border-width: 0 1px 1px 0;
            top: 50%;
            left: 50%;
            transform: translateX(-202%) translateY(-50%);

            .inner {
                padding: 0 18px 18px 0;

                &:before {
                    content: '';
                    position: absolute;
                    width: 20px;
                    height: 1px;
                    background-color: #000;
                    bottom: -6px;
                    right: -20px;
                    transform: rotate(30deg);
                }
            }
        }

        .c-circle-lead-text-3 {
            border-color: #000;
            border-style: solid;
            border-width: 0px 0px 1px 1px;
            top: 50%;
            left: 50%;
            transform: translateX(130%) translateY(-50%);

            .inner {
                padding: 0 0 18px 18px;

                &:before {
                    content: '';
                    position: absolute;
                    width: 18px;
                    height: 1px;
                    background-color: #000;
                    bottom: -6px;
                    left: -19px;
                    transform: rotate(-30deg);
                }
            }
        }
    }

    .c-service-area-4,
    .c-service-area-5,
    .c-service-area-6 {
        border-style: solid;
        border-top-color: #b59d94;
        border-width: 1px;
        margin-top: -160px;
        padding-bottom: 300px;
        position: relative;

        .p-panel {
            background: #f2f3f4;
            border-radius: 20px 0;
            overflow: hidden;

            .c-panel-img {
                    width: 98px;
                    height: 98px;
                    margin: 20px 0px 0px 20px;

                img {
                    width: 98px;
                    height: 98px;
                    object-fit: contain;
                }
            }
        }
    }

    .c-service-area-6 {
        background: #FFF;
        background: linear-gradient(150deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 10%, rgba(220, 229, 231, 1) 10%, rgba(220, 229, 231, 1) 100%) !important;

        .c-service-area-6-inner {
            background-color: #fff;
            border-style: solid;
            border-bottom-color: #b59d94;
            border-width: 0 0  1px 0;
        }
    }

    .c-service-area-7 {
        position: relative;
        background-image: url('/service/img/img-service-bg-03.png');
        background-size: cover;
        background-position: center bottom;
        background-repeat: no-repeat;
        color: #070f26;
        padding-bottom: 120px;

        .c-service-area-7-inner {
            max-width: 1920px;
            margin: 0 auto;
        }
    }

    .hex-container {
        display: flex;
        flex-wrap: wrap;
        position: relative;
        justify-content: space-between;

        .hex {
            width: calc(100% / 4.1);
            aspect-ratio: 100 / 86.6;
            clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
            background-size: cover;
            background-position: 0 0;
            background-repeat: no-repeat;
            z-index: 1;

            .hex-inner {
                text-align: center;
                margin-top: 12%;

                h2 {
                    color: #fff;
                    font-size: 40px;
                }

                p {
                    color: #fff;
                    font-size: 22px;
                    line-height: 1.3;
                }
            }
        }

        .hex-1 {
            background-image: url('/service/img/img-service-hexa-01.png');
        }

        .hex-2 {
            background-image: url('/service/img/img-service-hexa-02.png');
            position: absolute;
            top: 50%;
            left: 18.9%;
        }

        .hex-3 {
            background-image: url('/service/img/img-service-hexa-03.png');
        }

        .hex-4 {
            background-image: url('/service/img/img-service-hexa-04.png');
            position: absolute;
            top: 50%;
            right: 18.9%;
        }

        .hex-5 {
            background-image: url('/service/img/img-service-hexa-05.png');
        }
    }

    .hex-text-container {
        position: relative;
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-template-areas: 
            'a a c c e e'
            '. b b d d .';
        gap: 40px 80px;
        padding-top: 200px;

        .text-item {
            background-color: #fff;
            border-radius: 20px;
            position: relative;

            &::before {
                content: '';
                position: absolute;
                bottom: 100%;
                left: 50%;
                transform: translateX(-50%);
                background: repeating-linear-gradient(
                    to bottom,
                    #0074bc 0px,
                    #0074bc 4px,
                    transparent 4px,
                    transparent 8px
                );
                width: 2px;
                height: 400px;
            }


            &:nth-of-type(1) {
                grid-area: a;
            }
            &:nth-of-type(2) {
                grid-area: b;

                &::before {
                    height: 900px;
                }
            }
            &:nth-of-type(3) {
                grid-area: c;
            }
            &:nth-of-type(4) {
                grid-area: d;

                &::before {
                    background: repeating-linear-gradient(
                        to bottom,
                        #d93554 0px,
                        #d93554 4px,
                        transparent 4px,
                        transparent 8px
                    );
                    height: 900px;
                }

                .text-item-inner {
                    ul {
                        li {
                                color: #8a2841;
                        }
                    }
                }
            }
            &:nth-of-type(5) {
                grid-area: e;
            }

            .text-item-inner {
                padding: 20px;

                .text-item-title-wrap {
                    margin-bottom: 12px;

                    h2 {
                        display: flex;
                        align-items: center;
                        font-size: 22px;
                        margin-bottom: 12px;

                        .number-hex {
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            aspect-ratio: 100 / 86.6;
                            clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
                            background: #0074bc;
                            height: 28px;
                            margin: 5px 10px auto 0;
                            font-size: 16px;

                            span {
                                color: #fff;
                            }

                            &.number-hex-red {
                                background-color: #d93554;
                            }
                        }
                    }

                    p {
                        margin-bottom: 2em;
                    }
                }

                ul {
                    padding-left: 20px;

                    li {
                        position: relative;
                        color: #0d4d77;
                        
                        &::before {
                            content: '';
                            position: absolute;
                            top: 10px;
                            left: -20px;
                            width: 6px;
                            height: 6px;
                            background-color: #070f26;
                            border-radius: 50%;
                        }
                    }
                }
            }
        }
    }
}

/* 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-head-title {
	        font-size: 10vw;
	    
            .c-head-title-en {
	            font-size: 4vw;
	        }
	    }

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

                &::before {
                    background-image: url('/service/img/img-service-top-sp.png');
                }

                .c-service-area-top-content {
                    margin: 30vw 0 0 4vw;
                    height: auto;
                    min-height: 270px;
                    width: 100%;

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

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


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

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

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

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

                h2 {
                    font-size: 7vw;
                }
            }
        }

        .c-service-area-3 {
            .c-service-area-3-inner {
                padding-top: 2vw;

                &::after {
                    top: -60px;
                }
            }

            .field-circle-text-sp {
                .item {
                    display: flex;
                    margin-top: 20px;

                    .title-wrap {
                        min-width: 100px;
                        margin-right: 12px;

                        .title {
                            color: #fff;
                            border-radius: 20px;
                            padding: 2px 16px;


                            &.title-finance {
                                background: #6b6500;
                            }
                            &.title-public {
                                background-color: #2e87ca;
                            }
                            &.title-corporation {
                                background-color: #c3633d;
                            }
                        }
                    }
                }
            }
        }
    }
}


/* (PC) hex 調整, 1023px以下でSP表示 */
@media screen and (max-width: 1023px) {
    .c-service-body-top {
        .hex-container {
            justify-content: initial;

            .hex {
                width: calc(100% / 2.5);

                .hex-inner {
                    h2 {
                        font-size: min(8vw, 50px);
                        line-height: 1.3;
                    }
                    p {
                        font-size: min(3.2vw, 30px);
                    }
                }    
            }

            .hex-2 {
                position: relative;
                left: -10%;
                transform: translateY(50%);
            }
            .hex-3 {
                position: relative;
                transform: translateX(150.3%);
            }
            .hex-4 {
                position: relative;
                right: 40%;
            }
            .hex-5 {
                position: relative;
                left: 30%;
                transform: translateY(-50%);
            }
        }

        .hex-text-container {
            display: block;
            padding-top: 0;

            .text-item {
                border-radius: 20px 0;

                &::before {
                    display: none;
                }

                & ~ .text-item {
                    margin-top: 20px;
                }
            }
        }
    }
}

/* (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;
            }
        }
    }
}

/* （PC）field 分野画像部分 調整 */
@media screen and (min-width: 1334px) and (max-width: 1383px) {
    .c-service-body-top {
        .field-circle-container {
            .c-circle-lead-text-2 {
                transform: translateX(-186%) translateY(-119%);
            }
        }
    }
}

@media screen and (min-width: 1099px) and (max-width: 1333px) {
    .c-service-body-top {
        .field-circle-container {
            .c-circle-lead-text-1 {
                transform: translateX(58%) translateY(-35%);

                .inner {
                    &:before {
                        width: 12px;
                        bottom: -5px;
                        left: -12px;
                    }
                }
            }

            .c-circle-lead-text-2 {
                transform: translateX(-222%) translateY(-124%);

                .inner {
                    .lead-text-br {
                        display: block;
                    }
                }
            }

            .c-circle-lead-text-3 {
                transform: translateX(80%) translateY(-155%);

                .inner {
                    &:before {
                        width: 14px;
                        bottom: -7px;
                        left: -12px;
                        transform: rotate(-45deg);
                    }
                }
            }
        }
    }
}

@media screen and (min-width: 768px) and (max-width: 1110px) {
    .c-service-body-top {
        .field-circle-container {
            height: 540px;

            .c-circle-img-wrap {
                width: 320px;
                height: 320px;
            }

            .c-circle-lead-text {
                font-size: 16px;

                .inner {
                    .lead-text-br {
                        display: block;
                    }
                }
            }

            .c-circle-lead-text-1 {
                transform: translateX(54%) translateY(-62%);

                .inner {
                    padding: 0 0 10px 10px;

                    &:before {
                        width: 22px;
                        bottom: -7px;
                        left: -23px;
                    }
                }
            }

            .c-circle-lead-text-2 {
                transform: translateX(-200%) translateY(-135%);

                .inner {
                    padding: 0 10px 10px 0;
                }
            }

            .c-circle-lead-text-3 {
                transform: translateX(84%) translateY(-137%);

                .inner {
                    padding: 0 0 10px 10px;

                    &:before {
                        width: 14px;
                        bottom: -7px;
                        left: -12px;
                        transform: rotate(-55deg);
                    }
                }
            }
        }
    }
}

@media screen and (max-width: 767px) {
    .c-service-body-top {
        .field-circle-container {
            .c-circle-lead-text-1,
            .c-circle-lead-text-2,
            .c-circle-lead-text-3 {
                display: none;
            }

            .c-circle-img-wrap {
                width: 48vw;
                height: 48vw;

                .c-circle-img-wrap-text {
                    h2 {
                        font-size: clamp(14px, 5vw, 30px);
                    }

                    .c-btn-text-arrow {
                        font-size: clamp(14px, 4vw, 28px);
                    }
                }
            }

            .c-circle-img-wrap-1 {
                top: 50%;
                transform: translateX(-50%) translateY(-84.5%);
            }

            .c-circle-img-wrap-2 {
                bottom: 50%;
                transform: translateX(-89.5%) translateY(84.2%);
            }

            .c-circle-img-wrap-3 {
                bottom: 50%;
                transform: translateX(-10.5%) translateY(84.2%);
            }
        }
    }
}

@media screen and (max-width: 450px) {
    .c-service-body-top {
        .field-circle-container {
            height: 380px;
        }
    }
}

/* 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;
                }
            }
        }
    }
}