@charset "UTF-8";

/* Recruit page header — white logo/nav over hero; revert on scroll (html.scroll-now) */
#header {
    @media screen and (max-width: 767px) {
        background-color: unset !important;
    }
    @media screen and (min-width: 767.01px) {
        .logomark {
            .logo-switch {
                grid-row: span 2;
                display: block;
                width: 46.3rem;

                .logo-img {
                    width: 100%;
                    display: block;
                }

                .logo-img--default {
                    display: none;
                }

                .logo-img--inverse {
                    display: block;
                }
            }
        }

        .nav .main-list a {
            color: #fff;
        }
    }

    @media screen and (max-width: 767px) {
        .logomark .logo-switch {
            width: 28.7rem;

            .logo-img--inverse {
                display: block;
            }

            .logo-img--default {
                display: none;
            }
        }

        .menu-btn {
            > span,
            a span {
                background: #fff;

                &::before,
                &::after {
                    background: #fff;
                }
            }
        }
    }
}

html.menu-active #header {
    @media screen and (max-width: 767px) {
        background-color: #fff !important;

        .logomark .logo-switch {
            .logo-img--default {
                display: block !important;
            }

            .logo-img--inverse {
                display: none !important;
            }
        }

        .menu-btn {
            > span,
            a span {
                background: transparent;

                &::before,
                &::after {
                    background: #000;
                }
            }
        }
    }
}

html.scroll-now #header {
    @media screen and (max-width: 767px) {
        background-color: #fff !important;

        .logomark .logo-switch {
            .logo-img--default {
                display: block !important;
            }

            .logo-img--inverse {
                display: none !important;
            }
        }
    }
    .logomark .logo-switch {
        .logo-img--default {
            display: block;
        }

        .logo-img--inverse {
            display: none;
        }
    }

    .menu-btn {
        > span,
        a span {
            background: #000;

            &::before,
            &::after {
                background: #000;
            }
        }
    }

    @media screen and (min-width: 767.01px) {
        .logomark .logo-switch {
            .logo-img--default {
                display: block;
            }
        }

        .nav .main-list a {
            color: #000 !important;
        }
    }
}

#recruit-fv {
    background-image: url("../../img/page/recruit/fv.png");
    background-size: 100% auto;
    background-repeat: no-repeat;
    aspect-ratio: 1440/1225;
    padding: 21rem 12.8rem 35rem;

    @media screen and (max-width: 767px) {
        aspect-ratio: auto;
        padding: 12rem 2rem 8rem;
        background-image: url("../../img/page/recruit/fv-sp.png");
        background-size: cover;
        background-position: center top;
    }
    .section-title {
        margin-bottom: 9rem;
    }

    .page-title {
        margin-bottom: 9.4rem;

        @media screen and (max-width: 767px) {
            margin-bottom: 4rem;
        }

        .en {
            font-family: "Montserrat";
            font-weight: 700;
            font-size: 11.2rem;
            line-height: 100%;
            letter-spacing: 0.004em;
            text-transform: uppercase;
            color: #ffffff;

            @media screen and (max-width: 767px) {
                font-size: 4rem;
            }
        }

        .ja {
            position: relative;
            padding-left: 4rem;
            margin-top: 4rem;
            font-weight: 700;
            font-size: 3.2rem;
            line-height: 100%;
            letter-spacing: 0.1em;
            color: #ffffff;

            @media screen and (max-width: 767px) {
                margin-top: 1.2rem;
                padding-left: 3.6rem;
                font-size: 1.8rem;
            }

            &::before {
                content: "";
                position: absolute;
                top: 0;
                left: 1.2rem;
                width: 0.8rem;
                height: 100%;
                background-color: #fff;
                transform: skewX(-30deg);

                @media screen and (max-width: 767px) {
                    width: 0.6rem;
                }
            }
        }
    }

    .big-text {
        picture {
            display: block;
        }

        img {
            display: block;
            width: 65.4rem;
            max-width: 100%;
            height: auto;
            @media screen and (max-width: 767px) {
                width: 25.4rem;
            }
        }
    }

    .small-text {
        margin-top: 6.4rem;
        font-weight: 700;
        font-size: 1.8rem;
        line-height: 180%;
        letter-spacing: 0.1em;
        color: #ffffff;

        @media screen and (max-width: 767px) {
            margin-top: 8.7rem;
            font-size: 1.4rem;
            letter-spacing: 0.05em;
        }
    }
}

#service {
    padding: 10rem 0 28rem;

    @media screen and (max-width: 767px) {
        padding: 6.4rem 0;
    }

    .inner {
        display: flex;
        justify-content: space-between;

        @media screen and (max-width: 767px) {
            flex-direction: column;
            gap: 2.4rem;
        }

        .left-content {
            width: 76.4rem;

            @media screen and (max-width: 767px) {
                width: 100%;
            }

            .big-txt {
                font-weight: 700;
                font-size: 4.8rem;
                line-height: 160%;
                letter-spacing: 0.04em;

                @media screen and (max-width: 767px) {
                    font-size: 2.4rem;
                }
            }

            .small-txt {
                margin-top: 3.2rem;
                font-weight: 700;
                font-size: 1.8rem;
                line-height: 180%;
                letter-spacing: 0.1em;

                @media screen and (max-width: 767px) {
                    margin-top: 2.4rem;
                    font-size: 1.4rem;
                }
            }
        }

        .right-content {
            width: 54.8rem;

            @media screen and (max-width: 767px) {
                width: 100%;
                margin-top: 2rem;
                & img {
                    width: 100%;
                    height: auto;
                }
            }
        }
    }
}

#staff {
    padding: 0 0 28rem;

    @media screen and (max-width: 767px) {
        padding: 6.4rem 0;
    }

    .staff-list {
        display: flex;
        flex-direction: column;
        gap: 12.8rem;

        @media screen and (max-width: 767px) {
            gap: 6.4rem;
        }

        .staff-item {
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: start;
            gap: 10rem;

            @media screen and (max-width: 767px) {
                display: flex;
                flex-direction: column;
                gap: 2.4rem;
            }

            .left-image {
                position: sticky;
                top: 12rem;
                align-self: start;

                & img {
                    display: block;
                    width: 100%;
                    height: auto;
                }

                @media screen and (max-width: 767px) {
                    position: static;
                }
            }

            .right-text {

                .para-group {
                    margin-top: 6.4rem;
                    display: flex;
                    flex-direction: column;

                    @media screen and (max-width: 767px) {
                        margin-top: 3.2rem;
                    }

                    .desc {
                        margin-top: 3.2rem;
                        margin-bottom: 6.4rem;
                        font-weight: 700;
                        font-size: 1.8rem;
                        line-height: 180%;
                        letter-spacing: 0.1em;

                        @media screen and (max-width: 767px) {
                            margin-top: 1.6rem;
                            margin-bottom: 3.2rem;
                            font-size: 1.4rem;
                        }
                    }
                }

                .gray-box {
                    background-color: var(--color-bg-muted);
                    padding: 5.7rem 4rem 6rem 5.8rem;

                    @media screen and (max-width: 767px) {
                        padding: 2.4rem;
                    }

                    > .title {
                        font-weight: 700;
                        font-size: 2.4rem;
                        line-height: 180%;
                        letter-spacing: 0.1em;
                        color: var(--color-primary);
                        position: relative;
                        padding-left: 3.6rem;
                        @media screen and (max-width: 767px) {
                            font-size: 1.8rem;
                            line-height: 140%;
                            padding-left: 2.6rem;
                        }
                        &::before {
                            content: "";
                            position: absolute;
                            left: 0;
                            top: 50%;
                            transform: translateY(-50%);
                            width: 2.6rem;
                            height: 2.4rem;
                            background: url("../../img/common/slash.svg")
                                no-repeat center / 100% auto;
                            @media screen and (max-width: 767px) {
                                top: 0.6rem;
                                transform: unset;
                                width: 1.6rem;
                                height: 1.477rem;
                            }
                        }
                    }

                    .schedule {
                        margin-top: 4.8rem;
                        padding-left: 2rem;
                        border-left: 0.1rem solid var(--color-primary);
                        display: flex;
                        flex-direction: column;
                        gap: 4rem;

                        @media screen and (max-width: 767px) {
                            margin-top: 2.4rem;
                            gap: 2.8rem;
                        }

                        .item {
                            position: relative;
                            display: grid;
                            grid-template-columns: 8rem 1fr;

                            @media screen and (max-width: 767px) {
                                grid-template-columns: 6rem 1fr;
                            }

                            &::before {
                                content: "";
                                position: absolute;
                                top: 0;
                                left: -2rem;
                                transform: translate(-50%, 35%);
                                width: 1.5rem;
                                height: 1.5rem;
                                border-radius: 50%;
                                background-color: var(--color-primary);

                                @media screen and (max-width: 767px) {
                                    width: 1.2rem;
                                    height: 1.2rem;
                                }
                            }

                            .time {
                                font-family: "Montserrat";
                                font-weight: 600;
                                font-size: 2.4rem;
                                line-height: 100%;
                                letter-spacing: 0.03em;
                                grid-row: span 2;

                                @media screen and (max-width: 767px) {
                                    font-size: 1.8rem;
                                    line-height: 1.2;
                                }
                            }

                            .title {
                                font-weight: 700;
                                font-size: 2rem;
                                line-height: 100%;
                                letter-spacing: 0.05em;

                                @media screen and (max-width: 767px) {
                                    font-size: 1.6rem;
                                    line-height: 1.2;
                                }
                            }

                            .desc {
                                margin-top: 1.6rem;
                                font-weight: 500;
                                font-size: 1.6rem;
                                line-height: 180%;
                                letter-spacing: 0.05em;

                                @media screen and (max-width: 767px) {
                                    margin-top: 0.8rem;
                                    font-size: 1.4rem;
                                }
                            }
                        }
                    }

                    > .note {
                        margin-top: 2.4rem;
                        font-weight: 500;
                        font-size: 1.4rem;
                        line-height: 180%;
                        letter-spacing: 0.05em;

                        @media screen and (max-width: 767px) {
                            margin-top: 1.6rem;
                            font-size: 1.2rem;
                        }
                    }
                }
            }
        }
    }
}

#data {
    padding: 28rem 0;
    background: url(../../img/page/recruit/data-bg.jpg) no-repeat center center/cover;
    
    @media screen and (max-width: 767px) {
        padding: 6.4rem 0;
        background: url(../../img/page/recruit/data-bg-sp.jpg) no-repeat center center/cover;
    }

    .data-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8rem;

        @media screen and (max-width: 767px) {
            grid-template-columns: 1fr;
            gap: 4rem;
        }

        & img {
            @media screen and (max-width: 767px) {
                width: 100%;
                height: auto;
            }
        }
    }
}

#welfare {
    padding: 28rem 0;

    @media screen and (max-width: 767px) {
        padding: 6.4rem 0;
    }

    .inner {
        display: grid;
        grid-template-columns: repeat(2, 1fr);

        @media screen and (max-width: 767px) {
            display: flex;
            flex-direction: column;
            gap: 2.4rem;
        }

        .welfare-list {
            display: flex;
            flex-direction: column;
            gap: 9.6rem;

            @media screen and (max-width: 767px) {
                gap: 4rem;
            }

            .welfare-item {
                .red-title {
                    padding-bottom: 3.2rem;
                    border-bottom: 0.1rem solid #d1d5db;
                    position: relative;
                    padding-left: 3rem;
                    margin-top: 3rem;
                    font-weight: 700;
                    font-size: 2.4rem;
                    line-height: 100%;
                    letter-spacing: 0.1em;
                    color: var(--color-primary);

                    @media screen and (max-width: 767px) {
                        margin-top: 0;
                        padding-bottom: 2.4rem;
                        padding-left: 2.4rem;
                        font-size: 1.4rem;
                    }

                    &::before {
                        content: "";
                        position: absolute;
                        top: 0;
                        left: 1rem;
                        width: 0.5rem;
                        height: 1em;
                        background-color: var(--color-primary);
                        transform: skewX(-30deg);
                    }
                }

                .title {
                    padding-top: 3.2rem;
                    font-weight: 700;
                    font-size: 2rem;
                    line-height: 100%;
                    letter-spacing: 0.05em;

                    @media screen and (max-width: 767px) {
                        padding-top: 2.8rem;
                        font-size: 1.6rem;
                    }
                }

                .desc {
                    padding: 1.6rem 0 3.2rem;
                    border-bottom: 0.1rem solid #d1d5db;
                    font-weight: 500;
                    font-size: 1.6rem;
                    line-height: 180%;
                    letter-spacing: 0.05em;

                    @media screen and (max-width: 767px) {
                        padding: 1.2rem 0 2.4rem;
                        font-size: 1.4rem;
                    }
                }
            }
        }
    }
}

#workplace {
    padding: 28rem 0;
    background-color: var(--color-bg-muted);

    @media screen and (max-width: 767px) {
        padding: 6.4rem 0;
    }

    .workplace-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 3.2rem 0.2rem;

        @media screen and (max-width: 767px) {
            grid-template-columns: 1fr;
            gap: 2.4rem;
        }

        .workplace-item {
            background-color: #ffffff;

            & img {
                @media screen and (max-width: 767px) {
                    width: 100%;
                    height: auto;
                    display: block;
                }
            }

            & .body {
                padding: 4rem 3.8rem;
                @media screen and (max-width: 767px) {
                    padding: 2rem 2rem 2.4rem;
                }
                .tag {
                    display: flex;
                    align-items: center;
                    gap: 1.6rem;

                    @media screen and (max-width: 767px) {
                        gap: 1.2rem;
                        flex-wrap: wrap;
                    }

                    .place {
                        background-color: #a51f24;
                        padding: 0.7rem 1rem 0.5rem;
                        font-weight: 700;
                        font-size: 1.6rem;
                        line-height: 100%;
                        letter-spacing: 0.05em;
                        color: #ffffff;

                        @media screen and (max-width: 767px) {
                            padding: 0.5rem 1rem 0.6rem;
                            font-size: 1.4rem;
                        }
                    }

                    .type {
                        font-weight: 700;
                        font-size: 2rem;
                        line-height: 100%;
                        letter-spacing: 0.05em;

                        @media screen and (max-width: 767px) {
                            font-size: 1.6rem;
                        }
                    }
                }

                .intro {
                    margin-top: 2.4rem;
                    font-weight: 500;
                    font-size: 1.6rem;
                    line-height: 180%;
                    letter-spacing: 0.05em;

                    @media screen and (max-width: 767px) {
                        margin-top: 1.2rem;
                        font-size: 1.4rem;
                    }
                }
            }
        }
    }
}

#requirements {
    padding: 28rem 0;

    @media screen and (max-width: 767px) {
        padding: 6.4rem 0;
    }
    .section-title {
        & .en {
            @media screen and (max-width: 767px) {
                font-size: 3.9rem;
            }
        }
    }

    .requirements-switch {
        .switch-input {
            display: none;
        }

        .switch-toggles {
            border: 0.1rem solid var(--color-primary);
            display: grid;
            grid-template-columns: repeat(4, 1fr);

            @media screen and (max-width: 767px) {
                grid-template-columns: repeat(1, 1fr);
            }

            .switch-toggle {
                padding: 3rem;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 0.8rem;
                border: 0.1rem solid var(--color-primary);
                background-color: #ffffff;
                font-weight: 700;
                font-size: 1.6rem;
                line-height: 100%;
                letter-spacing: 0.03em;
                color: var(--color-primary);
                cursor: pointer;
                transition:
                    background-color 0.2s,
                    color 0.2s;

                @media screen and (max-width: 767px) {
                    padding: 1.6rem 1.2rem;
                    font-size: 1.4rem;
                    gap: 0.4rem;
                    height: 6.4rem;
                    box-sizing: border-box;
                }

                &::after {
                    content: "";
                    flex-shrink: 0;
                    width: 0.8rem;
                    height: 0.8rem;
                    border-right: 0.2rem solid currentColor;
                    border-bottom: 0.2rem solid currentColor;
                    transform: rotate(45deg) translateY(-0.2rem);

                    @media screen and (max-width: 767px) {
                        width: 0.6rem;
                        height: 0.6rem;
                    }
                }
            }
        }

        #requirements-tab-1:checked
            ~ .switch-toggles
            .switch-toggle[for="requirements-tab-1"],
        #requirements-tab-2:checked
            ~ .switch-toggles
            .switch-toggle[for="requirements-tab-2"],
        #requirements-tab-3:checked
            ~ .switch-toggles
            .switch-toggle[for="requirements-tab-3"],
        #requirements-tab-4:checked
            ~ .switch-toggles
            .switch-toggle[for="requirements-tab-4"] {
            background-color: var(--color-primary);
            color: #ffffff;
        }

        .switch-contents {
            margin-top: 6.4rem;

            @media screen and (max-width: 767px) {
                margin-top: 3.2rem;
            }

            .switch-content {
                display: none;

                .title {
                    position: relative;
                    padding-left: 2rem;
                    font-weight: 700;
                    font-size: 2.8rem;
                    line-height: 100%;
                    letter-spacing: 0.05em;

                    @media screen and (max-width: 767px) {
                        padding-left: 1.6rem;
                        font-size: 2rem;
                    }

                    &::before {
                        content: "";
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 0.4rem;
                        height: 1em;
                        background-color: var(--color-primary);
                    }
                }

                .table {
                    margin-top: 4.8rem;
                    border-top: 0.1rem solid #d1d5db;
                    display: grid;
                    grid-template-columns: 25rem 1fr;

                    @media screen and (max-width: 767px) {
                        margin-top: 2.4rem;
                        grid-template-columns: 1fr;
                    }

                    .key {
                        border-bottom: 0.1rem solid #d1d5db;
                        padding: 3rem 0;
                        font-weight: 600;
                        font-size: 1.6rem;
                        line-height: 180%;
                        letter-spacing: 0.05em;
                        position: relative;

                        @media screen and (max-width: 767px) {
                            padding: 1.6rem 0 0.4rem;
                            font-size: 1.4rem;
                            font-weight: 700;
                            border-bottom: none;

                            /* &::before {
                                display: none;
                            } */
                        }

                        &::before {
                            content: "";
                            position: absolute;
                            top: 0;
                            left: 0;
                            transform: translateY(-50%);
                            width: 8rem;
                            height: 0.1rem;
                            background-color: var(--color-primary);
                        }
                    }

                    .value {
                        border-bottom: 0.1rem solid #d1d5db;
                        padding: 3rem 0;
                        font-size: 1.6rem;
                        line-height: 180%;
                        letter-spacing: 0.05em;

                        @media screen and (max-width: 767px) {
                            padding: 0 0 1.6rem;
                            font-size: 1.4rem;
                            line-height: 160%;
                        }
                    }
                }
            }
        }

        #requirements-tab-1:checked
            ~ .switch-contents
            .switch-content:nth-child(1),
        #requirements-tab-2:checked
            ~ .switch-contents
            .switch-content:nth-child(2),
        #requirements-tab-3:checked
            ~ .switch-contents
            .switch-content:nth-child(3),
        #requirements-tab-4:checked
            ~ .switch-contents
            .switch-content:nth-child(4) {
            display: block;
        }
    }
}
