html {

	@media screen and (min-width: 767.01px) and (max-width: 1080px) {
		font-size: calc(12 / 1920 * 100 * 1vw);
	}

    @media screen and (max-width: 425px) { 
        font-size: calc(10 / 375 * 100 * 1vw);
    }
}

#contents {
    padding-top: 13.5rem;
    border-radius: 4rem 4rem 0 0;
    margin-top: -3.1rem;
    z-index: 4;
    position: relative;
    background-color: #ffffff;
    @media screen and (max-width: 767px) {
        padding-top: 5.5rem;
    }
}

.common-title.type02 {
    height: auto;
    padding: 10.3rem 0 11.4rem;

    @media screen and (max-width: 767px) {
        padding: 4.9rem 0px 6.5rem;
    }

    &::before {
        background-color: #1C69B7;
    }

    & .title-main {
        font-family: "Noto Sans JP";
        font-style: normal;
        font-weight: 900;
        font-size: 5.6rem;
        line-height: 160%;
        text-align: center;
        letter-spacing: 0.06em;
        color: rgb(254, 254, 254);
        text-shadow: inherit;

        @media screen and (max-width: 767px) {
            font-size: 2.6rem;
            line-height: 140%;
        }
    }
}

.recuit-page-layout {
    display: flex;
    flex-direction: column;
    align-items: center;

    .en-title-recruit {
        font-family: 'Roboto';
        font-style: normal;
        font-weight: 900;
        font-size: 2.9rem;
        line-height: 2.9rem;
        margin-bottom: 0.1rem;
        text-align: center;
        letter-spacing: 0.06em;
        color: #FFFFFF;

        @media screen and (max-width: 767px) {
            font-size: 1.6rem;
            line-height: 120%;
            margin-bottom: 0.8rem;
        }
    }
}

h2 {
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 800;
    font-size: 3rem;
    line-height: 200%;
    letter-spacing: 0.05em;
    color: #FFFFFF;
    padding: 1rem 1rem 1rem 4rem;
    width: 100%;
    background: #1C69B7;
    border-radius: 1.2rem;
    @media screen and (max-width: 767px) {
        font-size: 1.8rem;
        line-height: 140%;
        letter-spacing: 0.05em;
        color: #FFFFFF;
        padding: 1.2rem 1.2rem 1.2rem 1.6rem;
        border-radius: 0.8rem;
    }
}

.work-flex-top-container {
    margin-top: 5rem;
    margin-bottom: 6rem;
    display: flex;
    justify-content: space-between;

    @media screen and (max-width: 767px) {
        margin-top: 2rem;
        margin-bottom: 3rem;
        justify-content: space-between;
        flex-direction: column-reverse;
    }

    .text-top-work {
        max-width: 62rem;
        font-family: 'Noto Sans JP';
        font-style: normal;
        font-weight: 400;
        font-size: 1.8rem;
        line-height: 200%;
        letter-spacing: 0.06em;
        color: #000000;

        @media screen and (max-width: 767px) {
            font-size: 1.5rem;
            line-height: 180%;
        }
    }

    .flex-top-img-container {
        width: 43.4rem;
        @media screen and (max-width: 767px) {
            width: 100%;
            margin-bottom: 2rem;
        }
    }
}

/* Tabs */
.work-tabs-container {
    margin-top: 4rem;
    margin-bottom: 6rem;
    width: 100%;
    @media screen and (max-width: 767px) {
        margin-top: 2rem;
        margin-bottom: 3.6rem;
    }
}

.work-tabs {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0 1rem;
    margin: 0;
    gap: 1.5rem;

    @media screen and (max-width: 767px) {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0 0 1.9rem;
        gap: 0.8rem 0;
        flex-wrap: wrap;
        justify-content: space-between;
    }
}

.work-tabs .tab-item {
    flex: 1 1 0%;
    background: rgb(224, 224, 224);
    text-align: center;
    /* padding: 1.5rem 1rem; */
    padding: 2.3rem 1rem;
    border-radius: 0.8rem 0.8rem 0px 0px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 900;
    font-size: 2.2rem;
    line-height: 131%;
    letter-spacing: 0.06em;
    color: #8C8C8C;
    transition: 0.25s ease all;

    @media screen and (max-width: 767px) {
        flex: inherit;
        padding: 0;
        border-radius: 0.6rem;
        font-size: 1.4rem;
        line-height: normal;
        transition: 0.25s ease all;
        width: 16.3rem;
        /* width: 15.5rem;   */
        /* height: 3.7rem; */
        height: 5.5rem;
    }
}

.work-tabs .tab-item:hover {
    opacity: 0.8;
}

.work-tabs .tab-item.active {
    background: #1BA6D9;
    color: #ffffff;
    transform: translateY(-1rem);
    height: 12rem;
    margin-bottom: -3rem;

    @media screen and (max-width: 767px) {
        transform: inherit;
        margin-bottom: 0;
        /* height: 3.7rem; */
        height: 5.5rem;
    }
}

.tab-contents-wrapper {
    background: #f4f9fb;
    padding: 5rem;
    border-radius: 0.8rem;
    margin-top: 0;
    position: relative;
    border-top: 4px solid #1BA6D9;

    @media screen and (max-width: 767px) {
        border-top: inherit;
        padding: 2.9rem 2.4rem;
    }
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tab-content h3 {
    margin-bottom: 2rem;
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 900;
    font-size: 3.3rem;
    line-height: 160%;
    letter-spacing: 0.06em;
    color: #000000;

    @media screen and (max-width: 767px) {
        margin-bottom: 1rem;
        font-size: 2rem;
        line-height: 160%;
    }
}

.tab-content-flex {
    display: flex;
    gap: 4rem;

    @media screen and (max-width: 767px) {
        flex-direction: column;
        gap: 1.3rem;
    }
}

.tab-content-flex .tab-img {
    width: 43.4rem;
    height: 27.8rem;

    @media screen and (max-width: 767px) {
        width: 100%;
        height: auto;
    }
}

.tab-content-flex .tab-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tab-text {
    flex: 1;
}

.tab-text-block {
    margin-bottom: 2rem;

    @media screen and (max-width: 767px) {
        margin-bottom: 1.3rem;
    }
}

.tab-text-block h4 {
    margin-bottom: 0.7rem;
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 800;
    font-size: 2.2rem;
    line-height: 160%;
    letter-spacing: 0.06em;
    color: #1BA6D9;
    @media screen and (max-width: 767px) {
        font-size: 1.6rem;
        line-height: 140%;
    }
}

.tab-text-block p {
    font-size: 1.8rem;
    line-height: 180%;
    /* max-width: 57.4rem; */
    max-width: 57.4rem;
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: #000000;

    @media screen and (max-width: 767px) {
        font-size: 1.4rem;
        line-height: 170%;
    }
}

.career-step-container {
    margin-top: 3rem;
    margin-bottom: 7rem;
    width: 100%;
    /* width: 111.7rem; */

    @media screen and (max-width: 767px) {
        margin-bottom: 6rem;
    }

    .carrer-step-box {
        padding: 2.4rem 1.6rem 2.4rem;
        position: relative;
        margin-bottom: 1.2rem;
        border-radius: 0.8rem;

        & h4 {
            font-style: normal;
            font-weight: 700;
            font-size: 1.4rem;
            line-height: 120%;

            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            padding: 0.6rem 1.6rem;
            width: 30.3rem;
            height: 2.9rem;

            background: #FFFFFF;
            border-radius: 3rem;
            margin-bottom: 1rem;
        }

        & p {
            font-style: normal;
            font-weight: 500;
            font-size: 1.4rem;
            line-height: 160%;
            letter-spacing: 0.04em;
            color: #FFFFFF;
        }

        &.first-box {
            background-color: #D3E6F9;

            & h4 {
                color: #1B4CA0;
            }

            & p {
                color: #333333;
            }

            &::after {
                position: absolute;
                content: "";
                background: url(../../img/page/work/work-kara01.png) no-repeat;
                background-size: 100%;
                width: 5.8rem;
                height: 6.5rem;
                top: -0.6rem;
                right: 3.6rem;
            }
        }

        &.second-box {
            background-color: #86BDF3;

            & h4 {
                color: #86BDF3;
            }
        }

        &.third-box {
            background-color: #5BA2EA;

            & h4 {
                color: #5BA2EA;
            }

            &::after {
                position: absolute;
                content: "";
                background: url(../../img/page/work/work-kara02.png) no-repeat;
                background-size: 100%;
                width: 5.1rem;
                height: 7.7rem;
                top: -6.2rem;
                right: 3.6rem;
            }
        }
        &.fourth-box {
            background-color: #1272D2;

            & h4 {
                color: #1272D2;
            }
            &::after {
                position: absolute;
                content: "";
                background: url(../../img/page/work/work-kara03.png) no-repeat;
                background-size: 100%;
                width: 6.5rem;
                height: 7.9rem;
                top: -6.2rem;
                right: 3.6rem;
            }
        }
    }

    .carrer-step-arrow-container {
        width: 1.6rem;
        height: 1.6rem;
        margin: 0 auto 1.2rem;
    }
}




/* footer recruit */

.footer-recruit-common {
    background-color: #ECF5FD;
    border-radius: 4.6rem 4.6rem 0 0;
    padding-top: 6.7rem;
    padding-bottom: 7.8rem;

    @media screen and (max-width: 767px) {
        padding-top: 2.9rem;
        padding-bottom: 2.9rem;
        border-radius: 0;
    }

    .footer-recruit-top-en {
        font-family: 'Roboto';
        font-style: normal;
        font-weight: 900;
        font-size: 2.8rem;
        line-height: 200%;
        text-align: center;
        letter-spacing: 0.06em;
        color: #1C69B7;

        @media screen and (max-width: 767px) {
            font-size: 1.8rem;
            line-height: 120%;
        }
    }

    .footer-recruit-top-jp {
        font-family: 'Noto Sans JP';
        font-style: normal;
        font-weight: 900;
        font-size: 3.8rem;
        line-height: 160%;
        text-align: center;
        letter-spacing: 0.06em;
        color: #000000;
        margin-bottom: 2.7rem;

        @media screen and (max-width: 767px) {
            font-size: 2.4rem;
            line-height: 140%;
            margin-bottom: 2rem;
        }
    }

    .footer-txt-recruit {
        font-family: 'Noto Sans JP';
        font-style: normal;
        font-weight: 500;
        font-size: 1.8rem;
        line-height: 190%;
        letter-spacing: 0.06em;
        color: #000000;
        margin-bottom: 4.2rem;
        text-align: center;

        @media screen and (max-width: 767px) {
            font-size: 1.4rem;
            line-height: 185%;
            text-align: left;
            margin-bottom: 2rem;
        }
    }

    .footer-btn-flex {
        display: flex;
        justify-content: space-between;

        @media screen and (max-width: 767px) {
            flex-direction: column;
            gap: 0.8rem;
        }

        .footer-recruit-btn {
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            padding: 3.6rem 0 2.2rem 4.9rem;
            width: 59rem;
            height: 17.3rem;
            background: #FFFFFF;
            border: 0.4rem solid #1C69B7;
            border-radius: 1.8rem;
            position: relative;
            transition: all ease 0.25s;

            @media screen and (max-width: 767px) {
                width: 100%;
                padding: 1.6rem;
                height: 10rem;
                border: 0.2rem solid #1C69B7;
                justify-content: center;
            }

            &::after {
                content: "";
                position: absolute;
                background: url(../../common/img/arrow-btn.svg) no-repeat;
                background-size: 100%;
                width: 1.2rem;
                height: 2rem;
                top: 0;
                bottom: 0;
                right: 3rem;
                margin: auto;
                transition: all ease 0.25s;

                @media screen and (max-width: 767px) {
                    width: 0.8rem;
                    height: 1.4rem;
                }
            }

            .btn-title {
                font-family: 'Noto Sans JP';
                font-style: normal;
                font-weight: 800;
                font-size: 2.8rem;
                line-height: 154%;
                letter-spacing: 0.04em;
                color: #1C69B7;
                margin-bottom: 0.5rem;

                @media screen and (max-width: 767px) {
                    font-size: 1.8rem;
                    line-height: normal;
                    margin-bottom: 0.4rem;
                }
            }

            .btn-txt {
                font-family: 'Noto Sans JP';
                font-style: normal;
                font-weight: 500;
                font-size: 1.8rem;
                line-height: 141%;
                letter-spacing: 0.04em;
                color: #000000;

                @media screen and (max-width: 767px) {
                    font-size: 1.2rem;
                    line-height: 1.9rem;
                }
            }

            &:hover {
                opacity: 0.8;
                &::after {
                    right: 2rem;
                }
            }
        }
    }
}


.w1200 {
    @media screen and (max-width: 767px) {
        width: calc(100% - 3.9rem);
    }
}