/* sub_active nth-child(2) 수정
.sub_head1 > ul > li:nth-child(2) > a::after {
    content: '';
    display: block;
    background-color: #fff;
    width: 100%;
    height: 3px;
    position: absolute;
    bottom: 0px;
    left: 0px;
} */
.sub_head1 > ul > li:nth-child(2) > a {
    color: #fff;
    font-weight: 500;
}

/* sub12_title */
.sub12_title {
    padding-top: 85px;
    text-align: center;
}
.sub12_title > div {
    border-bottom: 1px solid #acacac;
    padding-bottom: 30px;
}
.sub12_title > div > h3 {
    font-size: 36px;
    font-weight: 500;
    color: #03235d;
}
.sub12_title > div > img {
    margin-bottom: 25px;
}
.sub12_title > div > p {
    font-size: 24px;
    font-weight: 400;
    color: #7a7a7a;
}

/* sub12_intro */
.sub12_intro {
    padding-top: 88px;
    padding-bottom: 120px;
}
.sub12_intro > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sub12_intro_in > h3 {
    font-size: 36px;
    font-weight: 400;
    color: #222222;
    margin-bottom: 32px;
    background-color: #d6e3ec;
    display: inline-block;
}
.sub12_intro_in > p {
    font-size: 22px;
    font-weight: 300;
    color: #333333;
}
.sub12_intro_in > p:last-child {
    margin-top: 16px;
}

/* sub12_contents */
.sub12_contents {
    padding-bottom: 85px;
}
.sub12_contents > div {
    display: flex;
    justify-content: space-between;
}
.sub12_contents > div > div > div {
    background-image: url(../img/sub_img/sub12_bg.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 43px;
    padding-left: 33px;
    height: 564px;
    width: 451px;
    color: #fff;
    position: relative;
}
.sub12_contents > div > div > div > h4 {
    font-size: 21px;
    font-weight: 400;
}
.sub12_contents > div > div > div > h3 {
    font-size: 32px;
    font-weight: 200;
    margin-bottom: 8px;
    display: inline-block;
}
.sub12_contents > div > div > div > img {
    vertical-align: text-bottom;
    margin: 0px 3px;
}
.sub12_contents > div > div > div > h3 > span {
    font-size: 29px;
}
.sub12_contents > div > div > div > h5 {
    font-size: 17px;
    font-weight: 400;
}
.sub12_contents > div > div > div > div {
    background-color: #fff;
    height: 13px;
    width: 2px;
    display: inline-block;
}
.sub12_contents > div > div > div > span {
    font-size: 18px;
    font-weight: 500;
    margin-left: 5px;
    margin-top: 20px;
    margin-bottom: 15px;
    display: inline-block;
}
.sub12_contents > div > div > div > p {
    font-size: 14px;
    font-weight: 200;
    color: #e3e3e3;
}
.sub12_contents > div > div > h4 {
    font-size: 24px;
    font-weight: 500;
    margin-top: 15px;
}
.sub12_contents > div > div > h4 > span {
    font-size: 20px;
}
.sub12_contents > div > div > h4 > p {
    font-size: 18px;
    color: #fff;
    display: block;
    background-color: #03235d;
    padding: 5px 10px;
    width: 69%;
}
.sub12_con1_main {
    position: relative;
}
.sub12_con1_main::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background-image: url(../img/sub_img/sub12_con1_hover.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: absolute;
    transition: all 0.5s;
}
.sub12_con2_main::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background-image: url(../img/sub_img/sub12_con2_hover.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: absolute;
    transition: all 0.5s;
}
.sub12_con3_main::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background-image: url(../img/sub_img/sub12_con3_hover.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: absolute;
    transition: all 0.5s;
}
.sub12_con1_main:hover:after {
    opacity: 0;
}
.sub12_con2_main:hover:after {
    opacity: 0;
}
.sub12_con3_main:hover:after {
    opacity: 0;
}
/*tablet main*/
@media screen and (max-width: 1024px) {
    .center {
        width: 760px;
    }
    .sub12_title > div > p {
        font-size: 16px;
    }
    .sub12_intro > div {
        flex-direction: column;
    }
    .sub12_intro_in {
        margin-bottom: 35px;
    }
    .sub12_contents {
        overflow: auto;
    }
    .sub12_con2 {
        margin: 0px 15px;
    }
}

/*mobile main*/
@media screen and (max-width: 767px) {
    .center {
        width: 380px;
    }
    .sub12_title > div > h3 {
        font-size: 26px;
    }
    .sub12_title > div > p {
        font-size: 15px;
    }
    .sub12_intro_in > h3 {
        font-size: 20px;
    }
    .sub12_intro_in > p {
        font-size: 15px;
    }
    .sub12_contents > div > div > div {
        width: 330px;
        height: 480px;
        padding-left: 11px;
    }
    .sub12_contents > div > div > div > h4 {
        font-size: ;
    }
    .sub12_contents > div > div > h4 > p {
        font-size: 14px;
        width: 75%;
    }
    .sub12_contents > div > div > h4 > span {
        font-size: 17px;
    }
    .sub12_contents > div > div > div > h3 > span {
        font-size: 22px;
    }
    .sub12_contents > div > div > h4 {
        font-size: 21px;
    }
    .sub12_intro {
        padding: 60px 0px;
    }
}
