/*----------
recruit-header
----------*/

.recruit-header {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 52px 80px 56px 35px;
    background: #fff;
    border-bottom: none;
}

.recruit-header__logo {
    max-width: 305px;
}

.recruit-header__nav {
    display: flex;
    gap: 0 48px;
    margin-top: 4px;
}

.recruit-header__nav ul {
    display: flex;
    gap: 0 48px;
    margin-top: 11px;
}

.recruit-header__button {
    display: none;
}

.recruit-header-sp-menu {
    display: none;
}

@media screen and (max-width: 1280px) {

    .recruit-header {
        display: flex;
        align-items: center;
        padding: 52px 20px 56px 20px;
    }

    .recruit-header__logo {
        max-width: 200px;
    }
}

@media screen and (max-width: 1100px) {

    .recruit-header {
        padding: 20px;
    }

    .recruit-header__logo {
        max-width: 136px;
    }

    .recruit-header__button {
        width: 60px;
        height: 60px;
        display: block;
        position: fixed;
        right: 0;
        top: 0;
        z-index: 99999;
        color: #000;
    }

    .recruit-header__button span {
        width: 22px;
        height: 2px;
        background: #000;
        display: block;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        transition: all 0.4s ease;
    }

    .recruit-header__button.active span {
        background-color: #fff;
    }

    .recruit-header__button span:nth-child(1) {
        top: 24px;
    }

    .recruit-header__button span:nth-child(2) {
        top: 30px;
    }

    .recruit-header__button span:nth-child(3) {
        top: 36px;
    }

    /* Active状態のスタイル修正 */
    .recruit-header__button.active span:nth-child(1) {
        top: 30px;
        transform: translateX(-50%) rotate(45deg);
    }

    .recruit-header__button.active span:nth-child(2) {
        opacity: 0;
    }

    .recruit-header__button.active span:nth-child(3) {
        top: 30px;
        transform: translateX(-50%) rotate(-45deg);
    }


    .recruit-header__nav {
        display: none;
    }

    .recruit-header-sp-menu {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        z-index: 9998;
        background: rgba(0, 0, 0, 0.6);
        transition: all 0.4s ease;
        opacity: 0;
        pointer-events: none;
    }

    .recruit-header-sp-menu.active {
        opacity: 1;
        pointer-events: auto;
    }

    .recruit-header__nav-sp {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 400px;
        height: 100vh;
        z-index: 9999;
        background: #000;
        overflow: auto;
        transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
        -webkit-overflow-scrolling: touch;
        pointer-events: none;
        transform: translate3d(100%, 0, 0);
        transition: all 0.4s ease;
    }

    .recruit-header__nav-sp.active {
        transform: translate3d(0, 0, 0);
        pointer-events: auto;
    }

    .recruit-header__nav-sp ul {
        padding-top: 50px;
    }

    .recruit-header__nav-sp ul li a {
        color: #fff;
        font-size: 14px;
        padding: 0 50px 0 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        height: 50px;
        display: flex;
        align-items: center;
    }

    .recruit-header__nav-sp ul li a:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .recruit-header__nav-sp .recruit-btn {
        margin: 20px auto;
    }

}

@media screen and (max-width: 600px) {
    .recruit-header__nav-sp {
        width: 100%;
    }
}