@charset "utf-8";

#staff {
    margin-bottom: 9.375rem;
}

.staff-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    box-sizing: border-box;
}

.staff-group {
    margin-bottom: 6.25rem;
}

#staff h4 {
    font-family: var(--font-main);
    letter-spacing: 0;
    font-weight: 900;
    font-size: 2.25rem;
    margin-bottom: 1.88rem;
}

#staff h4 span {
    color: var(--text-line-main);
    font-size: 0.88rem;
    margin-left: 1.25rem;
}

.staff-content {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5rem 5rem;
}

.staff-item:nth-child(even) {
    transform: translateY(3.13rem);
}


.staff-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.88rem;
    padding: 1.88rem;
    box-sizing: border-box;
    width: calc((100% - 5rem) / 2);
    background: var(--base-color_01);
    border-radius: 1.25rem;
    background: var(--base-color_01);
}

.img-box_staff {
    aspect-ratio: 1.7 / 2;
    border-radius: 1.25rem;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: var(--background-color_01);
    flex: 1;
    min-width: 0;
}

.img-box_staff img {
    width: 95%;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
}

.staff-text {
    flex: 1.1;
    min-width: 0;
}

.staff-heading {
    border-bottom: 1px dashed var(--text-line-main);
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
}

.staff-text h5 {
    font-size: 1.88rem;
}

.staff-text dl {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.staff-text dl dt {
    font-weight: 800;
}


#staff .btn-area {
    text-align: center;
}

#staff .btn-area .btn_01 {
    margin: 1.88rem auto 0 auto;
}


.staff-recruit {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    box-sizing: border-box;
}

.staff-recruit-content {
    justify-content: space-between;
    align-items: flex-start;
    gap: 3.75rem;
    background: var(--base-color_01);
    padding: 1.88rem;
    box-sizing: border-box;
    border-radius: 1.25rem;
}

.staff-recruit-content .img-box_01 {
    flex: 1.7;
}

.staff-recruit-content .text-box_01 {
    flex: 3;
}

.staff-recruit-content h3 {
    margin-bottom: 1.88rem;
}

.staff-recruit-content h4 {
    margin-bottom: 1.25rem;
}

.staff-recruit-content p {
    margin-bottom: 3.13rem;
}


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

    #staff {
        margin-bottom: 6.25rem;
    }

    .staff-group:has(+ .btn-area)  {
        margin-bottom: 3.13rem;
    }

    .staff-item {
        width: 100%;
        margin-bottom: 3.13rem;
    }

    .staff-item:nth-child(even) {
        transform: translateY(0);
    }

    .staff-text {
        flex: 2.5;
        min-width: 0;
    }

    .staff-recruit-content .text-box_01 {
        margin-top: 3.13rem;
    }

    .staff-recruit-content h3 {
        margin-bottom: 1.88rem;
    }

    .staff-recruit-content p {
        margin-bottom: 1.88rem;
    }

    .staff-recruit .btn_01 {
        margin: 0 auto;
    }

    #staff h4 {
        font-size: 1.65rem;
    }

    .staff-text h5 {
        font-size: 1.5rem;
    }
}

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

    .staff-item {
        gap: 1.25rem;
        padding: 1.25rem;
    }

   .staff-text {
        flex: 1;
    }

    .staff-heading {
        margin-bottom: 0.88rem;
        padding-bottom: 0.88rem;
    }

    .staff-text dl {
        gap: 0.88rem;
    }
}


/* CATEGORY COLOR */

.h4-nurse {
    color: var(--accent-color_04);
}

.h4-rehabili {
    color: var(--accent-color_05);
}

.frame-nurse {
    box-shadow: 10px 10px 0 var(--accent-color_04);
    border-radius: 1.25rem;
}

.frame-rehabili {
    box-shadow: 10px 10px 0 var(--accent-color_05);
    border-radius: 1.25rem;
}

.reha-job {
    font-size: 0.75rem;
    margin-left: 0.62rem;
}