@charset "UTF-8";
.bb_y{
    border-bottom: 10px solid #FFF243;
}
.bt_b{
    border-top: 50px solid #1e272e;
}
section {
    margin-bottom: 10rem;
}
p {
    margin-block-end: 0;
}
a:hover {
    text-decoration: none;
}
.con-mid{
    max-width: 1000px;
}
.rec_section p{
    line-height: 40px;
    letter-spacing: 0.8px;
    text-align: center;
}
.rec_flex{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 64px;
}
.graduate_rec{
    width: 50%;
}
.career_rec{
    width: 50%;
    margin-left: 40px;
}
.graduate_rec a{
    overflow: hidden;
    display: block;
    position: relative;
    width: 100%;
    height: 350px;
    color: #FFF;
    background: url("img/graduate_rec.webp");
    background-size: cover;
    border-radius: 20px;
}
.graduate_rec a::after, .career_rec a::after{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    border-radius: 20px;
    transition-duration: 0.5s;
}
.graduate_rec a:hover::after, .career_rec a:hover::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
}
.career_rec a{
    overflow: hidden;
    display: block;
    position: relative;
    width: 100%;
    height: 350px;
    color: #FFF;
    transition-duration: 0.5s;
    background: url("img/career_rec.webp");
    background-size: cover;
    border-radius: 20px;
}
 
.rec_flex h2::first-letter{
    color: #FFF243;
}
.rec_flex h2{
    font-family: Barlow, sans-serif;
    font-size: 5rem;
    letter-spacing: 5px;
    text-align: center;
    margin-bottom: 50px;
}
.rec_text{
    text-align: center;
    display: block;
    justify-content: center;
    padding-top: 96px;
    z-index: 1;
    position: relative;
}
.rec_text p{
    font-weight: 400;
    line-height: 25px;
}
.career_text{
    text-align: center;
    margin-bottom: 100px;
    line-height: 40px;
    letter-spacing: 0.7px;
    font-size: 1.4rem;
}
.career_text a{
    text-decoration: underline;
}
 
@media screen and (width < 960px){
.rec_flex{
    flex-direction: column;
    align-items: center;
}
.graduate_rec{
    width: 100%;
}
.career_rec{
    width: 100%;
    margin-left: 0;
    margin-top: 50px;
}
}
 
@media screen and (width < 768px) {
    section {
        margin-bottom: 5.4rem;
    }
    .title {
        background: url("img/title_sp.webp") center/100% no-repeat #171e24 ;
    }
    .graduate_rec a {
        height: 200px;
    }
    .career_rec a {
        height: 200px;
    }
    .rec_flex h2 {
        font-size: 2.8rem;
        margin-bottom: 10px;
    }
    .rec_text p {
        font-size: 1.4rem;
        padding: 0 10px;
        line-height: 22px;
    }
    .rec_text{
        padding-top: 60px;
    }
    .career_rec .rec_text p {
        padding: 0 10px;
    }
    .career_rec {
        margin-top: 30px;
    }
    .rec_section p {
    text-align: justify;
    }
    .career_text{
    text-align: justify;
    }
}
 
 
@media print, screen and (width >= 768px) {
    .title {
        background: url("img/title.webp") top right / auto 100% no-repeat #171e24 ;
    }
}
 
 
@media print {
    .bb_y {
        border-bottom: none;
    }
    .bt_b {
        border-top: none;
    }
}