.person{
    background-image: url(../img/pc/recruitment/sec2_bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 80px 64px;
}

.person__items{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.person__item{
    padding: 50px 20px;
    border-top: 3px solid #B81C22;
    border-bottom: 3px solid #B81C22;
    width: calc(33.3333% - 30px * 2 / 3);
}

.person__title{
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0.05em;
    text-align: center;
    color: #B81C22;
}

.person__text{
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0.04em;
    color: #B81C22;
    margin-top: 20px;
}

@media screen and (max-width: 768px) {
    .person{
        background-image: url(../img/sp/recruitment/sec2_bg_sp.png);
        background-size: cover;
        background-repeat: no-repeat;
        padding: 40px 32.5px;
    overflow: hidden;

    }

main:has(.person){
    overflow: hidden;
}

    .recruitment__content:has(.person){
        width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    }
    
    .person__item{
        padding: 40px 20px;
        border-top: 3px solid #B81C22;
        border-bottom: 3px solid #B81C22;
        width: 100%;
    }
    
    .person__title{
        font-weight: 700;
        font-size: 22px;
        line-height: 100%;
        letter-spacing: 0.05em;
        text-align: center;
        color: #B81C22;
    }
    
    .person__text{
        font-family: "Noto Sans JP", sans-serif;
        font-weight: 500;
        font-size: 16px;
        line-height: 140%;
        letter-spacing: 0.04em;
        color: #B81C22;
        margin-top: 20px;
    }
}