@charset "UTF-8";

/* 共通セクション */

@media screen and (min-width: 769px) {
    .section__title h2 {
        font-size: clamp(44px, calc(72 / 1440 * 100vw), 72px);
    }

    .recruit__inner {
        width: 40.5%;
        flex-shrink: 1;
    }
}

.recruit {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    height: 637px;
    padding: 0 8.333333%;
    overflow: hidden;
    color: #fff;
    background: var(--blue);
}

.recruit__inner {
    position: relative;
    z-index: 1;
    width: 40.5%;
    flex-shrink: 0;
}

.recruit h2 {
    color: #fff;
}

.recruit__inner > p {
    margin: 40px 0 45px;
    font-size: 1.8rem;
}

.recruit__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding: 20px 16px;
    color: var(--blue);
    background: #fff;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.8;
}

.recruit__link .arrow {
    width: 50px;
    height: 50px;
    border: 2px solid var(--blue);
}

.recruit__link.entry__btn {
    color: #fff;
    background: var(--pink);
}

.recruit__link.entry__btn .arrow {
    background: #fff;
    border: none;
}

.recruit__slider {
    overflow: hidden;
    min-width: 0;
}

.recruit__images-pc {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    width: 47.666667%;
    height: 637px;
    flex-shrink: 0;
}

.recruit__column {
    height: 100%;
    overflow: hidden;
}

.recruit__column .recruit__list {
    flex-direction: column;
    width: 100%;
    height: max-content;
}

.recruit__column .recruit__img {
    width: 100%;
    height: auto;
    aspect-ratio: 270 / 318;
}

.recruit__slider--top,
.recruit__slider--bottom {
    display: none;
}

.recruit__list {
    display: flex;
    align-items: center;
    gap: 32px;
    width: max-content;
    height: 100%;
    will-change: transform;
}

.recruit__img {
    width: 270px;
    height: 318px;
    flex-shrink: 0;
}

.recruit__pause-btn {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border: 1px solid #fff;
    color: #fff;
    background: var(--blue);
    font-size: 1.4rem;
    line-height: 1;
}

@media screen and (max-width: 768px) {
    .recruit {
        flex-direction: column;
        height: auto;
        gap: calc(40 / 375 * 100vw);
        padding: calc(60 / 375 * 100vw) calc(16 / 375 * 100vw);
    }

    .recruit__inner {
        order: 2;
        width: 100%;
    }

    .recruit__inner .section__title {
        width: fit-content;
        margin: 0 auto;
    }

    .recruit h2 {
        font-size: calc(28 / 375 * 100vw);
    }
}

@media screen and (min-width: 1441px) {
    .section__title h2 {
        font-size: calc(72 / 1440 * 100vw);
    }
}

@media screen and (max-width: 768px) {
    .recruit__inner > p {
        margin: calc(20 / 375 * 100vw) 0 calc(40 / 375 * 100vw);
        font-size: calc(16 / 375 * 100vw);
    }

    .recruit__link {
        margin-top: calc(24 / 375 * 100vw);
        padding: calc(16 / 375 * 100vw);
        font-size: calc(20 / 375 * 100vw);
    }

    .recruit__link .arrow {
        width: calc(40 / 375 * 100vw);
        height: calc(40 / 375 * 100vw);
    }

    .recruit__images-pc {
        display: none;
    }

    .recruit__slider--top,
    .recruit__slider--bottom {
        display: block;
        width: 100vw;
        margin-left: calc(-16 / 375 * 100vw);
        height: calc(167 / 375 * 100vw);
        align-self: flex-start;
    }

    .recruit__slider--top {
        order: 1;
    }

    .recruit__slider--bottom {
        order: 3;
    }

    .recruit__list {
        gap: calc(16 / 375 * 100vw);
    }

    .recruit__img {
        width: calc(142 / 375 * 100vw);
        height: calc(167 / 375 * 100vw);
    }

    .recruit__pause-btn {
        right: calc(16 / 375 * 100vw);
        bottom: calc(16 / 375 * 100vw);
        width: calc(32 / 375 * 100vw);
        height: calc(32 / 375 * 100vw);
        font-size: calc(14 / 375 * 100vw);
    }
}

@media screen and (min-width: 1441px) {
    .recruit {
        gap: calc(70 / 1440 * 100vw);
        height: calc(637 / 1440 * 100vw);
    }

    .recruit__inner > p {
        margin: calc(40 / 1440 * 100vw) 0 calc(45 / 1440 * 100vw);
        font-size: calc(18 / 1440 * 100vw);
    }

    .recruit__link {
        margin-top: calc(24 / 1440 * 100vw);
        padding: calc(20 / 1440 * 100vw) calc(16 / 1440 * 100vw);
        font-size: calc(24 / 1440 * 100vw);
    }

    .recruit__link .arrow {
        width: calc(50 / 1440 * 100vw);
        height: calc(50 / 1440 * 100vw);
        border: calc(2 / 1440 * 100vw) solid var(--blue);
    }

    .recruit__images-pc {
        gap: calc(32 / 1440 * 100vw);
        height: calc(637 / 1440 * 100vw);
    }

    .recruit__list {
        gap: calc(32 / 1440 * 100vw);
    }

    .recruit__img {
        width: calc(270 / 1440 * 100vw);
        height: calc(318 / 1440 * 100vw);
    }

    .recruit__pause-btn {
        right: calc(16 / 1440 * 100vw);
        bottom: calc(16 / 1440 * 100vw);
        width: calc(32 / 1440 * 100vw);
        height: calc(32 / 1440 * 100vw);
        border: calc(1 / 1440 * 100vw) solid #fff;
        font-size: calc(14 / 1440 * 100vw);
    }
}

.recruit .recruit__link:focus-visible {
    background: var(--ink);
    color: white;
}

.recruit .recruit__link:focus-visible .arrow {
    background: white;
    border-color: white;
}

@media (hover: hover) and (pointer: fine) {
    .recruit .recruit__link:hover {
        background: var(--ink);
        color: white;
    }

    .recruit .recruit__link:hover .arrow {
        background: white;
        border-color: white;
    }
}
