/* 新卒採用のCSS */

.grad .content{
    justify-self: auto;
}
.grad .h1_container{
    background-color: var(--g1_color2);
}
body.grad .content_container h2{
    font-size: 36px;
    text-align: center;
    color: var(--main_color);
    margin: 0 0 60px 0;
}
body.grad .content_container h3{
    font-size: 26px;
    text-align: center;
    color: var(--main_color);
    line-height: 1.5;
}
.grad section{
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    background-color: white;
    margin: 0 0 80px 0;
}

.grad section .title{
    width: 70%;
    justify-self: center;
    box-sizing: border-box;
    padding: 0 40px 10px 40px;
    border-bottom: solid 1px var(--main_color);
    /* border-image: var(--grad1) 1; */
}
.grad section .text{
    justify-self: center;
    padding: 20px 0 0 0;
    max-width: 300px;
}
.grad section .text :is(p, li){
    font-size: 16px;
    font-weight: var(--wp);
    margin: 0;
}
.grad h4{
    font-size: 20px;
    font-weight: var(--wh);
    color: var(--main_color);
    margin: 5px 0 10px 0;
}
.grad h3{
    color: white;
}
.grad section ul{
    transform: translateX(2em);
    display: inline-block;
}

@media (max-width:900px){
    body.grad .content_container h2{
        font-size: 30px;
    }
    body.grad .content_container h3{
        font-size: 24px;
    }
    .grad section .title{
        width: 100%;
        
    }
}