@charset "UTF-8";

.kv-container--sp {
    display: none !important;
}


/* ------KV------ */
.kv-container {
    position: relative;
    display: flex;
    width: 100%;
    height: 603px;
    overflow: hidden;
    position: relative;
}

.kv-item {
    width: 25%;
    height: 100%;
}

.kv-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-kv__inner--people {
    position: absolute;
    top: 150px;
    left: 10vw;
}


/* ------メインコンテンツ------ */
#page-people {
    background-color: var(--color-base);
    font-family: var(--font-gothic);
    overflow-x: clip;
}

.main__inner {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    border-right: 1px solid #d9d9d9;
    border-left: 1px solid #d9d9d9;
    padding-bottom: 120px;
}

.main__read {
    font-size: 17px;
    font-weight: 600;
    line-height: 2;
    letter-spacing: 2.5%;
    color: var(--color-text);
    padding-top: 72px;
    padding-bottom: 82px;
}

/* ------フィルター------ */
.keyword {
    width: 100%;
    max-width: 1052px;
    margin: 0 auto;
}

.keyword__inner .section-title {
    float: left;
}

.keyword__inner__sub-title {
    color: var(--color-text2);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: 2.5%;

}

.keyword__title {
    color: var(--color-text);
    font-weight: 600;
    font-size: 14px;
    line-height: 1.75;
    letter-spacing: 2.5%;
    min-width: 90px;
}

.keyword__item {
    display: flex;
    gap: 10px;
    padding: 20px 0;
    border-top: 1px solid #BECAD3;
}

.keyword__items {
    margin-top: 10px;
}

.keyword__items :first-child {
    border: none;
}


.keyword__lists {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.keyword__btn {
    background-color: #ffffff;
    color: var(--color-text2);
    font-weight: 600;
    font-size: 13px;
    line-height: 1.75;
    border-radius: 20px;
    padding: 4px 13px 3px 13px;
    border: none;
}

.keyword__btn:hover,
.keyword__btn.is-active {
    background-color: var(--color-text2);
    color: #ffffff;
}

.keyword__result {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 30px;
    margin-top: 10px;
}

.keyword__result__title {
    color: var(--color-text2);
    font-weight: 600;
    font-size: 14px;
    line-height: 1.75;
    letter-spacing: 2.5%;
    display: block;
    width: 10%;
}

.keyword__result__info {
    width: 70%;
}

.keyword__result__tags {
    color: var(--color-text);
    font-weight: 300;
    font-size: 13px;
    line-height: 1.75;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.keyword__result__count {
    color: var(--color-text);
    font-weight: 600;
    font-size: 13px;
    line-height: 1.75;
    letter-spacing: 2.5%;
    width: 20%;
    display: block;
}

.keyword__result__count span {
    color: var(--color-main);
    font-weight: 500;
    font-size: 30px;
}

/* ------社員一覧ー------ */

.people {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto 100px;
}

.people__items {
    display: flex;
    gap: 23px;
    row-gap: 35px;
    flex-wrap: wrap;
    justify-content: center;
}

.people__item {
    width: 33%;
    max-width: 378px;
}

.people__items::after {
    display: block;
    content: "";
    width: 33%;
    max-width: 378px;
}

.people__img {
    width: 100%;
    max-width: 378px;
    aspect-ratio: 189 / 109;
    position: relative;
    display: block;
    overflow: hidden;
    cursor: pointer;

}

.people__img img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    object-fit: cover;
    display: block;
    -webkit-transition: .4s ease-in-out;
    transition: .4s ease-in-out;
}

.people__img:hover img:nth-of-type(2) {
    opacity: 0;
}

.people__content__label {
    display: flex;
    gap: 5px;
}

.people__recruitment {
    background-color: var(--color-main);
    color: #ffffff;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.25;
    letter-spacing: 2.5%;
    padding: 6px 8px;
    display: inline-block;
    margin-top: 11px;
}

.people__recruitment--new {
    background-color: var(--color-text2);
}

.people__recruitment--persons-with-disabilities {
    background-color: var(--color-secondary);
    color: var(--color-text2);
}

.people__job-type {
    background-color: #ffffff;
    color: var(--color-text2);
    font-weight: 600;
    font-size: 12px;
    line-height: 1.25;
    letter-spacing: 2.5%;
    padding: 6px 8px;
    display: inline-block;
    margin-top: 11px;
    border: 1px solid var(--color-text2);
}

.people__job {
    color: var(--color-text);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.25;
    letter-spacing: 2.5%;
    margin-top: 8px;
}

.people__date {
    color: var(--color-text);
    font-weight: 300;
    font-size: 13px;
    line-height: 1.25;
    letter-spacing: 2.5%;
    margin-top: 7px;
}

@media (max-width: 768px) {

    .kv-container--pc {
        display: none !important;
    }

    .kv-container--sp {
        display: flex !important;
        width: 100%;
        height: 390px;
        overflow: hidden;
        position: relative;
    }

    .kv-item {
        width: 33.3%;
        height: 100%;
    }

    .kv-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .page-kv__inner--people {
        position: absolute;
        top: 120px;
        left: 10px;
    }

    .main__inner {
        border: none;
        padding-bottom: 70px;
    }

    .main__read {
        font-size: 15px;
        line-height: 2.25;
        padding-top: 39px;
        padding-bottom: 60px;
    }

    .people {
        margin-bottom: 0;
    }

    .people__items {
        width: 100%;
        gap: 0;
        row-gap: 24px;
    }

    .people__item {
        width: 48%;
    }

    .people__items::after {
        width: 48%;
    }

    .people__content {
        margin-top: -10px;
        padding-inline: 5px;
        position: relative;
    }

    /* 2枚目の画像にループアニメーションを適用 */
    .people__img img:nth-of-type(2) {
        animation: spFadeToggle 6s infinite ease-in-out;
    }

    .people__content__label {
        gap: 4px;
        flex-wrap: wrap;
    }

    .people__recruitment,
    .people__job-type {
        font-size: 11px;
        margin: 0;
        padding: 4px 6px 3px;
    }

    .people__job {
        font-size: 13px;
        margin-top: 8px;
    }

    .people__date {
        font-size: 12px;
    }
}

/* 4秒周期で透過度（opacity）を変化させるキーフレーム */
@keyframes spFadeToggle {

    0%,
    40% {
        opacity: 1;
        /* 【静止】2枚目を表示（約2.4秒間キープ） */
    }

    50%,
    90% {
        opacity: 0;
        /* 【静止】1枚目を表示（約2.4秒間キープ） */
    }

    100% {
        opacity: 1;
        /* 最初に戻る */
    }
}