/* company-staff-list section -- */
.company-staff-list.section{
    gap: 40px;
    margin-bottom: 60px;
}
.company-staff-list.section a:hover{
    text-decoration: none;
}
.staff-wrapper{
    display: grid;
    gap: 0;
    grid-template-columns: 1fr;
}
.staff-item-wrapper{
    border: 1px solid #3db134;
    padding: 20px 10px;
    border-bottom: none;
}
.staff-item-wrapper:last-child{
    border-bottom: 1px solid #3db134;
}
.staff-item{
    position: relative;
    width: 100%;
    display: flex;
    gap: 15px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 15px;
}
.staff-item > div{
    width: 80vw;
    margin: 0 auto;
}
.staff-image{
    position: relative;
    overflow: hidden;
}
.staff-image > img{
    width: 100%;            /* 幅をコンテナに合わせる */
    aspect-ratio: 3 / 2;
    object-fit: cover;          /* 埋めるように拡大 or 切り取り */
    object-position: center;    /* 中央に揃える */
    position: relative;
}
.staff-message{
    font-size: 19px;
    color: #3eb134;
    font-weight: 600;
}
.staff-info-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.company-name, .name, .department-faculty{
    font-size: 13px;
    color: #000000;
    font-weight: 300;
    letter-spacing: 1px;
    margin: 5px 0;
}
.company-name{
    font-size: 15px;
}
.staff-joined-year-wrapper{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 5px !important;
}
.staff-joined-year{
    position: relative;
    max-width: 100px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    border-radius: 30px;
    padding: 2px 12px;
    background-color: #3db134;
    line-height: normal;
    letter-spacing: 1px;
    color: #ffffff;
}
.staff-item-wrapper{
    word-break: break-all;
}
.pager{
    margin-top: 20px;
}
@media (min-width: 769px) {
    .staff-wrapper{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    .staff-buttons-wrapper{
        grid-template-rows: 1fr;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .staff-buttons-wrapper .more-btn-wrapper > div{
        width: 100%;
        height: unset;
        padding: unset;
    }
    .staff-buttons-wrapper .more-btn-wrapper > div > a{
        padding: 8px 0;
        border-radius: 50px;
    }
    .staff-item-wrapper{
        width: calc((90vw - 65px) / 3);
        padding: 30px 10px;
        border: 1px solid #3db134;
        border-top: none;
        border-left: none;
    }
    .staff-item-wrapper:nth-child(-n+3){
        border-top: 1px solid #3db134;
    }
    .staff-item-wrapper:nth-child(3n+1){
        border-left: 1px solid #3db134;
    }
    .staff-item{
        gap: 21px;
    }
    .staff-item > div{
        width: calc((80vw - 65px) / 3);
    }
    .staff-categories, .staff-prefectures{
        gap: 4px;
    }
    .staff-wrapper.not-max-columns-count{
        display: flex;
        flex-direction: row;
        justify-content: center;
        margin-bottom: 10px;
    }
}
@media (min-width: 1200px) {
    .staff-item-wrapper{
        width: calc((1093px - 60px) / 3);
    }
    .staff-item > div{
        width: calc((1093px - 120px) / 3);
    }
}
/* -- company-staff-list section */

.footer{
    margin-top: 90px;
}
@media (min-width: 769px){
    .footer{
        margin-top: 150px;
    }
}

.no-staff-wrapper{
    position: relative;
    width: 90%;
    max-width: 1093px;
    margin: 0 auto;
    text-align: center;
    color: #999999;
}