/* 中途採用のCSS */
/* .mid-career .content_container{
    display: block;
} */
.mid-career .content{
    justify-self: auto;
}
.mid-career .top{
    margin: 0 0 80px 0;
}
body.mid-career .top p{
    text-align: center;
    color: var(--main_color);
    font-size: 18px;
    font-weight: var(--wp);
}

.mid-career .job_container{
    display: flex;
    justify-content: center;
    margin: 0 0 80px 0;
}
.mid-career .job{
    padding: 0 35px 0 35px;
    border-right: 1px solid var(--main_color);
    /* border-image: var(--grad1) 1; */
}
.mid-career .job:last-child{
    border: none;
}
.mid-career .job h3{
    color: var(--sub_color5);
    text-align: center;
    margin: 0 0 20px 0;
}
.mid-career .job h4{
    font-weight: var(--wh);
    color: var(--sub_color5);
    margin: 0 0 0 20px;
}
body.mid-career .job p{
    margin: 0 0 0 20px;
    font-weight: var(--wp);
}
.mid-career .job .img{
    width: 70px;
    aspect-ratio: 1/1;
    margin: 0 auto;
}
/* .mid-career .job .icon{
    width: 70px;
    height: 70px;
    background-size: 100%;
    margin: 0 auto;
}
.mid-career .job .network{
    background-image: url(../img/icons/network2_blue.svg);
}
.mid-career .job .cloud{
    background-image: url(../img/icons/cloud_blue.svg);
}
.mid-career .job .service{
    background-image: url(../img/icons/maintenance_blue.svg);
} */

.mid-career .content_container h2{
    font-size: 36px;
    text-align: center;
    color: var(--main_color);
    margin: 0 0 30px 0;
    line-height: 1.5;
}
.mid-career .content_container .title h3{
    font-size: 26px;
    text-align: center;
    color: var(--main_color);
}
.mid-career section{
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    background-color: white;
}
.mid-career section .title{
    width: 70%;
    max-width: 800px;
    box-sizing: border-box;
    justify-self: center;
    padding: 40px 40px 20px 40px;
    border-bottom: solid 1px var(--main_color);
}
.mid-career section .text{
    justify-self: center;
    margin: 20px 0 80px 0;
    max-width: 300px;
}
.mid-career section .text :is(p, li){
    font-size: 16px;
    font-weight: var(--wp);
    margin: 0;
}
body.mid-career .text h3{
    font-size: 20px;
    font-weight: var(--wp);
    color: var(--main_color);
    margin: 5px 0 10px 0;
}

.mid-career section ul{
    transform: translateX(2em);
    display: inline-block;
}

.mid-career .end{
    display: flex;
    flex-direction: column;
    align-items: center;
    
}
.mid-career .content a.btn{
    margin: 40px 0 0 0;
}


body.mid-career .end > p{
    color: var(--main_color);
    font-size: 16px;
    font-weight: var(--wp);
    margin: 0;
}

@media (max-width: 900px){
    .mid-career .content_container h2{
        font-size: 28px;
    }
    .mid-career .job h4{
        margin: 0;
    }
    .mid-career section .title{
        width: 100%;
    }
    .mid-career section .text{
        margin: 20px 0 50px 0;
    }
    .mid-career .job_container{
        flex-direction: column;
        align-items: center;
        margin: 0 0 40px 0;
    }
    .mid-career .job{
        width: auto;
        box-sizing: border-box;
        border-bottom: solid 1px var(--main_color);
        border-right: none;
        padding: 0 0 20px 0;
        margin: 0 0 40px 0;
    }
    body.mid-career .top p{
        text-align: left;
        justify-self: center;
    }
    /* body.mid-career .end > p{
        align-self: flex-start;
    } */
}