.recruit {
    overflow: hidden;

    img {
        max-width: 100%;
    }

    .head-fv.recruit {
        position: relative;
        background: none;

        h2 {
            position: relative;
            z-index: 4;
        }

        &::after {
            content: '';
            display: inline-block;
            width: 100%;
            height: 100%;
            background-image: url("../images/recruit/head-bg.png");
            background-size: cover;
            background-repeat: no-repeat;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 3;
        }
    }

    .head-pattern {
        position: relative;

        &::before {
            content: '';
            display: inline-block;
            width: 234px;
            height: 282px;
            background-image: url("../images/recruit/pattern01.png");
            background-size: contain;
            background-repeat: no-repeat;
            position: absolute;
            right: -40px;
            bottom: 0;
            transform: translateY(80%);
            z-index: 0;
        }
        @media only screen and (max-width: 896px){
            &::before {
                width: 118px;
                height: 142px;
            }
        }
    }

    /* FV */
    .content01 {
        margin-bottom: 200px;
        @media only screen and (max-width: 896px){
            margin-bottom: 56px;
        }

        h1 {
            font-size: 42px;
            font-weight: bold;
            width: fit-content;
            margin: 0 auto;
            margin-top: 120px;
            margin-bottom: 88px;
            line-height: 1.5;
            @media only screen and (max-width: 896px){
                font-size: 22px;
                margin-top: 40px;
                margin-bottom: 40px;
                line-height: 1.8;
                letter-spacing: 2px;
            }
        }

        .imgs01,
        .imgs02 {
            display: flex;
            gap: 8px;

        }

        .imgs01 {
            margin-bottom: 8px;
            @media only screen and (max-width: 896px){
                margin: 0 calc(50% - 50vw);
                width: 100vw;
            }
        }

        .imgs02 {
            margin-bottom: 64px;
            position: relative;
            z-index: 3;
            @media only screen and (max-width: 896px){
                margin: 0 calc(50% - 50vw);
                width: 100vw;
                margin-top: 8px;
                margin-bottom: 32px;
            }

            img {
                position: relative;
                z-index: 3;
            }

            &::after {
                content: '';
                display: inline-block;
                width: 323px;
                height: 323px;
                background-image: url("../images/recruit/pattern02.png");
                background-size: contain;
                background-repeat: no-repeat;
                position: absolute;
                bottom: -40px;
                left: 0;
                z-index: 0;
                transform: translateX(-50%);
            }
            @media only screen and (max-width: 896px){
                &::after {
                    width: 120px;
                    height: 120px;
                    bottom: -80px;
                    transform: translateX(-40%);
                }
            }
        }

        .text01 {
            font-size: 16px;
            line-height: 1.7;
            margin-bottom: 48px;
            position: relative;
            z-index: 3;
            @media only screen and (max-width: 896px){
                font-size: 14px;
                letter-spacing: 0px;
                margin-bottom: 24px;
            }
        }

        .img01 {
            margin-bottom: 48px;
            @media only screen and (max-width: 896px){
                margin-bottom: 24px;
            }
        }

        .text02 {
            font-size: 24px;
            font-weight: bold;
            line-height: 1.7;
            @media only screen and (max-width: 896px){
                font-size: 16px;
                letter-spacing: 2px;
            }
        }
    }

    /* 会社紹介 */
    .content02 {
        .items {
            position: relative;
            margin-top: 64px;
            margin-bottom: 400px;
            @media only screen and (max-width: 896px){
                margin-top: 40px;
                margin-bottom: 200px;
            }

            &::before {
                content: '';
                display: inline-block;
                width: 262px;
                height: 262px;
                background-image: url("../images/recruit/pattern03.png");
                background-size: contain;
                background-repeat: no-repeat;
                position: absolute;
                top: 0;
                right: 0;
                z-index: 0;
                transform: translateY(-100%) translateX(64%);
            }
            @media only screen and (max-width: 896px){
                &::before {
                    width: 100px;
                    height: 100px;
                    transform: translateY(-140%) translateX(0%);
                }
            }

            &::after {
                content: '';
                display: inline-block;
                width: 420px;
                height: 390px;
                background-image: url("../images/recruit/pattern04.png");
                background-size: contain;
                background-repeat: no-repeat;
                position: absolute;
                bottom: 0;
                left: 0;
                z-index: 0;
                transform: translateY(80%) translateX(-80%);
                z-index: 0;
            }

            @media only screen and (max-width: 896px){
                &::after {
                    width: 170px;
                    height: 161px;
                    transform: translateY(64%) translateX(-64%);
                }
            }

            .item {
                margin-bottom: 56px;
                position: relative;
                z-index: 3;
                @media only screen and (max-width: 896px){
                    margin-bottom: 28px;
                }

                h3 {
                    font-size: 27px;
                    font-weight: bold;
                    border-bottom: 6px solid var(--main-color);
                    padding-bottom: 4px;
                    margin-bottom: 16px;
                    line-height: 1.4;
                    @media only screen and (max-width: 896px){
                        font-size: 18px;
                        font-weight: normal;
                        line-height: 1.7;
                        letter-spacing: 0;
                        border-bottom: 3px solid var(--main-color);
                    }
                    br{
                        @media only screen and (max-width: 390px){
                            display: none;
                        }
                    }
                }

                p {
                    font-size: 16px;
                    line-height: 1.6;
                    padding: 0 16px;
                    @media only screen and (max-width: 896px){
                        padding: 0;
                        font-size: 12px;
                        letter-spacing: 0px;
                    }
                }
            }
        }
    }

    /* 募集職種はこちら */
    .content03 {
        width: 100%;
        background-image: url("../images/recruit/recruitment-bg.png");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        margin-bottom: 116px;
        position: relative;

        .circle-wrap {
            background: linear-gradient(-45deg, #4BA54C, #F2F7E5);
            max-width: 800px;
            height: 800px;
            margin: 0 auto;
            padding: 3px;
            border-radius: 999px;
            position: relative;
            @media only screen and (max-width: 896px){
                max-width: 320px;
                height: 320px;
            }

            &::before {
                content: '';
                display: inline-block;
                width: 240px;
                height: 240px;
                background-image: url("../images/recruit/pattern07.png");
                background-size: cover;
                background-repeat: no-repeat;
                position: absolute;
                bottom: 40px;
                right: 0px;
                transform: translateX(100%);
            }
            @media only screen and (max-width: 896px){
                &::before {
                    width: 100px;
                    height: 100px;
                    bottom: 0;
                    transform: translateX(20%);
                    z-index: 9;
                }
            }

            .circle {
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                justify-content: center;
                width: 100%;
                height: 100%;
                background-color: #fff;
                border-radius: 999px;
                padding: 40px;
                position: relative;
                @media only screen and (max-width: 896px){
                    padding: 40px 16px;
                }
                &::before {
                    content: '';
                    display: inline-block;
                    width: 400px;
                    height: 400px;
                    background-image: url("../images/recruit/pattern05.png");
                    background-size: cover;
                    background-repeat: no-repeat;
                    position: absolute;
                    top: -40px;
                    right: 0px;
                    transform: translateX(80%);
                }
                @media only screen and (max-width: 896px){
                    &::before {
                        width: 180px;
                        height: 180px;
                        top: -120px;
                        transform: translateX(20%);
                    }
                }

                &::after {
                    content: '';
                    display: inline-block;
                    width: 360px;
                    height: 360px;
                    background-image: url("../images/recruit/pattern06.png");
                    background-size: cover;
                    background-repeat: no-repeat;
                    position: absolute;
                    top: 0px;
                    left: 0px;
                    transform: translateX(-100%);
                }
                
                @media only screen and (max-width: 896px){
                    &::after {
                        width: 111px;
                        height: 111px;
                        top: 0px;
                        left: 0px;
                        transform: translateX(-60%);
                    }
                }
                

                .cp {
                    width: 100%;
                    display: block;
                    font-size: 44px;
                    font-weight: bold;
                    text-align: center;
                    padding-top: 160px;
                    @media only screen and (max-width: 896px){
                        padding-top: 0;
                        font-size: 18px;
                    }
                }

                .recruitment-link {
                    position: relative;
                    font-size: 56px;
                    height: auto;
                    font-weight: bold;
                    color: #fff !important;
                    border: none;
                    background-color: var(--main-color) !important;
                    padding: 48px 104px;
                    border-radius: 72px;
                    margin-top: -72px;
                    @media only screen and (max-width: 896px){
                        font-size: 24px;
                        padding: 16px 16px 16px 0;
                        margin-top: 0;
                    }

                    &:hover {
                        color: var(--main-color) !important;
                        border: 1px solid var(--main-color);

                        &::after {
                            background-image: url("../images/recruit/arrow-icon-g.png");
                        }
                    }

                    &::before {
                        background-color: #fff;
                        color: var(--main-color) !important;
                    }

                    &::after {
                        content: '';
                        display: inline-block;
                        width: 56px;
                        height: 24px;
                        background-image: url("../images/recruit/arrow-icon-w.png");
                        background-size: contain;
                        background-repeat: no-repeat;
                        position: absolute;
                        top: 50%;
                        right: 36px;
                        transform: translateY(-50%);
                        z-index: 9;
                    }
                    @media only screen and (max-width: 896px){
                        &::after {
                            width: 28px;
                            height: 9px;
                            right: 16px;
                        }
                    }
                }

                .img {
                    width: 70%;
                    margin: 0 auto;
                }
            }
        }
    }

    .content05 {
        h1 {
            color: #4C4948;
            font-size: 60px;
            @media only screen and (max-width: 896px){
                font-size: 24px;
            }
        }

        .text {
            text-align: center;
            font-size: 25px;
            margin-top: 40px;
            @media only screen and (max-width: 896px){
                font-size: 18px;
            }
        }

        .cont02box {
            z-index: 0;
            position: static;
            transform: unset;
        }

        .cont02content {
            margin-top: 80px;
            position: relative;
            z-index: 9;
            @media only screen and (max-width: 896px){
                margin-top: 40px;
            }
        }

        #cont02 {
            padding-bottom: 0;
        }
    }

    .content055 {
        width: 100%;
        height: 200px;
        background-image: url("../images/recruit/new-tech-bg.png");
        background-size: cover;
        background-repeat: no-repeat;
        position: relative;
        bottom: 160px;
        margin-bottom: -160px;
        left: 0px;
        z-index: 3;
    }

    @media only screen and (max-width: 896px){
        .content055 {
            height: 200px;
            bottom: 200px;
            margin-bottom: -200px;
            background-image: url("../images/recruit/new-tech-bg--sp.png");
        }
    }

    .content06 {
        position: relative;
        z-index: 3;
        margin-bottom: 320px;
        @media only screen and (max-width: 896px){
            margin-bottom: 160px;
        }

        &::before {
            content: '';
            display: inline-block;
            width: 262px;
            height: 262px;
            background-image: url("../images/recruit/pattern08.png");
            background-size: contain;
            background-repeat: no-repeat;
            position: absolute;
            top: 40px;
            left: 0;
            z-index: -1;
            transform: translateX(-20%);
        }

        @media only screen and (max-width: 896px){
            &::before {
                width: 87px;
                height: 87px;
                top: -20px;
                left: 0;
                z-index: -1;
                transform: translateX(-20%);
            }
        }

        &::after {
            content: '';
            display: inline-block;
            width: 640px;
            height: 640px;
            background-image: url("../images/recruit/pattern09.png");
            background-size: contain;
            background-repeat: no-repeat;
            position: absolute;
            top: -40px;
            right: 0;
            z-index: 4;
            transform: translateX(15%);
        }


        @media only screen and (max-width: 896px){
            &::after {
                width: 173px;
                height: 173px;
            }
        }

        .qa-content {
            padding-top: 224px;
            font-size: 18px;
            @media only screen and (max-width: 896px){
                padding-top: 80px;
            }

            h3 {
                font-size: 36px;
                color: var(--main-color);
                line-height: 2;
                margin-bottom: 12px;
                @media only screen and (max-width: 896px){
                    font-size: 18px;
                }
            }

            .qa-lists {
                max-width: 800px;
                margin: 0 auto;
                @media only screen and (max-width: 896px){
                    margin-top: 40px;
                    margin-left: 16px;
                }

                .qa-list {
                    margin-bottom: 20px;
                }

                .ttl {
                    font-size: 40px;
                    font-weight: bold;
                    color: var(--main-color);
                    padding-right: 24px;
                    padding-left: 48px;
                    @media only screen and (max-width: 896px){
                        font-size: 18px;
                        padding-right: 12px;
                        padding-left: 32px;
                    }
                }

                .ttla {
                    color: #29A6A2;
                }

                .qa-list-q,
                .qa-list-a {
                    display: flex;

                    .text {
                        padding-top: 24px;
                        @media only screen and (max-width: 896px){
                            padding-top: 0;
                            font-size: 18px;
                        }
                    }
                }

                .qa-list-a {
                    .text {
                        @media only screen and (max-width: 896px){
                            font-size: 16px;
                        }
                    }
                }

                .qa-list-q {
                    position: relative;
                    cursor: pointer;
                    padding-bottom: 20px;
                    line-height: 2;
                }

                .qa-list-a {
                    padding-bottom: 20px;
                    line-height: 2;
                }

                .qa-list-q::after {
                    content: "▼";
                    position: absolute;
                    top: 18px;
                    left: 0;
                    transition: transform 0.3s ease;
                    color: var(--main-color);
                }
                @media only screen and (max-width: 896px){
                    .qa-list-q::after {
                        top: 0px;
                    }
                }

                .qa-list-q.active::after {
                    transform: rotate(180deg);
                }
            }
        }

        .pattern10 {
            position: relative;

            &::after {
                content: '';
                display: inline-block;
                width: 520px;
                height: 520px;
                background-image: url("../images/recruit/pattern10.png");
                background-size: contain;
                background-repeat: no-repeat;
                position: absolute;
                top: 0px;
                left: 0;
                z-index: -1;
                transform: translateX(-100%) translateY(-24%);
            }
            @media only screen and (max-width: 896px){
                &::after {
                    width: 100px;
                    height: 100px;
                    transform: translateX(-80%) translateY(-24%);
                }
            }
        }

        .pattern11 {
            position: relative;

            &::after {
                content: '';
                display: inline-block;
                width: 624px;
                height: 624px;
                background-image: url("../images/recruit/pattern11.png");
                background-size: contain;
                background-repeat: no-repeat;
                position: absolute;
                top: 0px;
                right: 0;
                z-index: -1;
                transform: translateX(72%) translateY(-32%);
            }
            @media only screen and (max-width: 896px){
                &::after {
                    width: 127px;
                    height: 127px;
                    transform: translateX(40%) translateY(-32%);
                }
            }
        }

        .pattern12 {
            position: relative;

            &::after {
                content: '';
                display: inline-block;
                width: 600px;
                height: 600px;
                background-image: url("../images/recruit/pattern12.png");
                background-size: contain;
                background-repeat: no-repeat;
                position: absolute;
                top: 0px;
                left: 0;
                z-index: -1;
                transform: translateY(-40%);
            }
            @media only screen and (max-width: 896px){
                &::after {
                    width: 180px;
                    height: 180px;
                }
            }
        }
    }

    .content07 {
        margin-bottom: 200px;
        position: relative;
        @media only screen and (max-width: 896px){
            margin-bottom: 120px;
        }

        &::before {
            content: '';
            display: inline-block;
            width: 680px;
            height: 400px;
            background-image: url("../images/recruit/pattern13.png");
            background-size: contain;
            background-repeat: no-repeat;
            position: absolute;
            top: 0px;
            right: 0;
            z-index: 1;
            transform: translateX(10%) translateY(-50%);
        }
        @media only screen and (max-width: 896px){
            &::before {
                width: 220px;
                height: 150px;
            }
        }

        .circle-wrap {
            background: linear-gradient(-45deg, #4BA54C, #F2F7E5);
            max-width: 800px;
            height: 800px;
            margin: 0 auto;
            padding: 3px;
            border-radius: 999px;
            position: relative;
            @media only screen and (max-width: 896px){
                max-width: 320px;
                height: 320px;
            }

            &::before {
                content: '';
                display: inline-block;
                width: 190px;
                height: 240px;
                background-image: url("../images/recruit/pattern14.png");
                background-size: contain;
                background-repeat: no-repeat;
                position: absolute;
                bottom: 0px;
                left: -40px;
                z-index: 1;
                transform: translateX(0%) translateY(0%);
            }

            @media only screen and (max-width: 896px){
                &::before {
                    width: 100px;
                    height: 100px;
                    bottom: 0;
                    transform: translateX(20%);
                    z-index: 9;
                }
            }

            .circle {
                width: 100%;
                height: 100%;
                border: 48px solid #fff;
                background: linear-gradient(-45deg, #4BA54C, #F2F7E5);
                border-radius: 999px;
                padding: 40px;
                @media only screen and (max-width: 896px){
                    padding: 40px 16px;
                    border: 24px solid #fff;
                }

                .square {
                    background-color: white;
                    padding: 80px 0px;
                    position: relative;
                    top: 50%;
                    left: 50%;
                    transform: translateY(-50%) translateX(-50%);
                    border-radius: 40px;
                    width: 114%;
                    @media only screen and (max-width: 896px){
                        padding: 40px 0;
                    }
                }

                .cp {
                    width: 100%;
                    display: block;
                    font-size: 44px;
                    font-weight: bold;
                    text-align: center;
                    @media only screen and (max-width: 896px){
                        padding-top: 0;
                        font-size: 18px;
                    }
                }

                .recruitment-link {
                    display: block;
                    position: relative;
                    font-size: 56px;
                    height: auto;
                    font-weight: bold;
                    color: #fff !important;
                    border: none;
                    background-color: var(--main-color) !important;
                    padding: 48px 104px 48px 64px;
                    margin-top: 32px;
                    margin-bottom: 24px;
                    border-radius: 72px;
                    @media only screen and (max-width: 896px){
                        font-size: 24px;
                        padding: 16px 16px 16px 0;
                        margin-top: 0;
                    }

                    &:hover {
                        color: var(--main-color) !important;
                        border: 1px solid var(--main-color);

                        &::after {
                            background-image: url("../images/recruit/arrow-icon-g.png");
                        }
                    }

                    &::before {
                        background-color: #fff;
                        color: var(--main-color) !important;
                    }

                    &::after {
                        content: '';
                        display: inline-block;
                        width: 56px;
                        height: 24px;
                        background-image: url("../images/recruit/arrow-icon-w.png");
                        background-size: contain;
                        background-repeat: no-repeat;
                        position: absolute;
                        top: 50%;
                        right: 36px;
                        transform: translateY(-50%);
                        z-index: 9;
                    }
                    @media only screen and (max-width: 896px){
                        &::after {
                            width: 30px;
                            height: 10px;
                            right: 8px;
                        }
 
                    }
                }
            }
        }
    }

    .content08 {
        margin-bottom: 160px;
        @media only screen and (max-width: 896px){
            margin-bottom: 80px;
        }

        table {
            position: relative;
            z-index: 3;

            &::before {
                content: '';
                display: inline-block;
                width: 240px;
                height: 240px;
                background-image: url("../images/recruit/pattern15.png");
                background-size: contain;
                background-repeat: no-repeat;
                position: absolute;
                top: 0px;
                right: 0;
                z-index: 1;
                transform: translateX(80%) translateY(-120%);
            }
            @media only screen and (max-width: 896px){
                &::before {
                    width: 122px;
                    height: 122px;
                    transform: translateX(20%) translateY(-180%);
                }
            }

            &::after {
                content: '';
                display: inline-block;
                width: 360px;
                height: 360px;
                background-image: url("../images/recruit/pattern16.png");
                background-size: contain;
                background-repeat: no-repeat;
                position: absolute;
                bottom: 0px;
                left: 0;
                z-index: -1;
                transform: translateX(-40%) translateY(16%);
            }
            @media only screen and (max-width: 896px){
                &::after {
                    width: 150px;
                    height: 150px;
                }
            }
        }



        table {
            margin-top: 64px;
            width: 100%;

            th,
            td {
                border-top: solid 1px #111;
                padding: 10px;
                font-size: 1em;
                color: #111;
                font-size: 18px;
                line-height: 1.8em;
                position: relative;
                z-index: 3;
                @media only screen and (max-width: 896px){
                    font-size: 12px;
                }
            }

            .last {

                th,
                td {
                    border-bottom: solid 1px #111;
                }
            }

            th {
                width: 16%;
                position: relative;
                z-index: 3;
                @media only screen and (max-width: 896px){
                    width: 22%;
                }
            }

            td {
                width: 84%;
                ul{
                    list-style-position: inside;
                    li{
                        text-indent: -2em; /* 番号部分を左に出す */
                        padding-left: 1em; /* 2行目以降を揃える */
                    }
                }
                @media only screen and (max-width: 896px){
                    width: 78%;
                }
            }
        }
    }

    .content09 {
        .items {
            margin-top: 64px;
            margin-bottom: 120px;
            @media screen and (max-width: 896px) {
                margin-top: 16px;
                margin-bottom: 60px;
            }

            .item {
                display: flex;
                align-items: center;
                border-bottom: 2px solid var(--main-color);
                padding: 24px 0;
                @media screen and (max-width: 896px) {
                    flex-wrap: wrap;
                }

                .info {
                    width: 50%;
                    @media screen and (max-width: 896px) {
                        width: 100%;
                        order: 2;
                    }

                    .ttl {
                        font-size: 24px;
                        font-weight: bold;
                        margin-bottom: 24px;
                        line-height: 1.8;
                        @media screen and (max-width: 896px) {
                            font-size: 18px;
                            margin-bottom: 8px;
                            font-weight: normal;
                            letter-spacing: 0;
                        }
                    }

                    .address {
                        font-size: 16px;
                        line-height: 1.8;
                        @media screen and (max-width: 896px) {
                            font-size: 12px;
                            letter-spacing: 0px;
                        }
                    }
                }

                .map {
                    width: 50%;
                    aspect-ratio: 25 / 13;
                    @media screen and (max-width: 896px) {
                        width: 100%;
                        order: 1;
                    }

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