/* ================================================

ARCHIVE:STAFF スタッフ紹介(詳細ページなし)

================================================ */

.post-type-archive-staff {

    .page-header {
        padding-top: var(--space-xl);
    }
}

.staff {
    background-color: var(--color-bg-l-pink);
}

.staff__list {
    display: flex;
    gap: var(--space-xl);
    flex-direction: column;

    article {
        /* border-radius: 3.6cqi; */
        border-radius: var(--border-radius-lg);
        background-color: #fff;
        display: grid;
        grid-template-columns: minmax(40%, 200px) 1fr;
        gap: var(--space-lg);
        padding: var(--space-lg);
    }

    .staff__img {
        /* border-radius: 2.4cqi; */
        border-radius: var(--border-radius-sm);
        overflow: hidden;
        aspect-ratio: 310/240;
        margin-bottom: 0.5em;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .staff__name {
        font-size: var(--fontSize-2xl);

    }

    .staff__company,
    .staff__office,
    .staff__job {
        font-size: var(--fontSize-base);
    }
}

@media (width < 768px) {
    .staff__list {
        article {
            grid-template-columns: 1fr;
        }
    }
}


/* ----------------------------------------
    BANNER 採用情報バナー
---------------------------------------- */

.recruit-banner {
    background-color: var(--color-bg-l-pink);
}

.recruit-banner__inner {
    background: #fff;
    padding: clamp(18px, 2.7vw, 27px) clamp(16px, 3.1vw, 34px);
    border: 1px solid #6a483c;
    display: flex;
    border-radius: 2.32cqi;
    gap: 40px;
    transition: transform 0.3s ease;
    cursor: pointer;

}

.recruit-banner__content {
    flex: 4;
    color: #7d554a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;

    h2 {
        text-transform: uppercase;
        font-family: "Lato", sans-serif;
        font-weight: 900;
        font-style: normal;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    h2::after {
        content: "";
        background: url(../../img/parts/banner_title.svg) no-repeat center/contain;
        width: clamp(100px, 30vw, 220px);
        aspect-ratio: 305/67;
        height: auto;
        display: inline-block;
    }
}

.p {
    font-size: 16px;
    line-height: 1.5;
}


.recruit-banner__img {
    flex: 6;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-radius: 1.6cqi;
    overflow: hidden;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;

    }
}

/* ········ HOVER ········ */
.recruit-banner__inner:hover {
    border: 1px solid var(--color-border-brown);
    transition: transform 0.3s ease;
}

.recruit-banner__inner:hover img {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
    .recruit-banner__inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 30px 20px;
    }

    .recruit-banner__title {
        font-size: 28px;
    }

    .recruit-banner__images {
        justify-content: center;
    }

    .recruit-banner__image {
        width: 100px;
        height: 100px;
        margin-left: -15px;
        /* スマホでは重なりを小さく */
    }

    .recruit-banner__image:first-child {
        margin-left: 0;
    }
}