/*Content CSS*/
.sub_visual{position: relative; width:calc(100% - 50px); height:550px;overflow:hidden; background: 50% / cover no-repeat; display: flex; align-items: center; justify-content: center; z-index: 2; flex-direction: column; margin: 0 auto; margin-top: 100px;  border-radius: 20px;}
.sub_visual .bg{position:absolute;top:0;left:0;width:100%;height:100%; background-position:center center;background-repeat:no-repeat;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;z-index:0;-webkit-transition:all .5s ease;-moz-transition:all .5s ease;-o-transition:all .5s ease;transition:all .5s ease; z-index: -1;}
/* .sub_visual:hover .bg{-webkit-transform:scale(1.05);-moz-transform:scale(1.05);-o-transform:scale(1.05);-ms-transform:scale(1.05);transform:scale(1.05)} */

.sub_visual .bg{background-image:url('../img/sub_bg2.jpg'); }
/* .sub_visual.sub1 .bg{background-image:url('../img/sub_bg1.jpg');} */
.sub_visual.sub2 .bg{background-image:url('../img/sub_bg2.jpg');}
.sub_visual.sub3 .bg{background-image:url('../img/sub_bg3.jpg');}
.sub_visual.sub4 .bg{background-image:url('../img/sub_bg4.jpg');}
.sub_visual.sub5 .bg{background-image:url('../img/sub_bg5.jpg');}

.sub_visual .title_warp{width: 100%; max-width: 1560px; padding: 0 50px; text-align: center; position: relative; z-index: 3; }
.sub_visual h2 {font-size:110px; font-weight:700; color:#fff; line-height: 1; display: block; font-family: 'Poppins','Pretendard', sans-serif; }

#sub_top_menu { position:absolute; width: 100%;   text-align: center; z-index: 5;  bottom: 70px; left: 0; }
#sub_top_menu ul { display: flex; justify-content: center; height: 100%; width: 100%; max-width: 1400px; margin:0 auto; }
#sub_top_menu ul li{margin-right: 30px; flex:1;}
#sub_top_menu ul li:last-child{margin-right: 0;}
#sub_top_menu ul li a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-weight:700; position: relative; padding: 0 0 25px;
font-size:25px;   color: rgba(255, 255, 255, 0.3); transition: all .3s ease; background-color: transparent; word-break: keep-all; line-height: 1.3;}
#sub_top_menu ul li a::after{content: ''; display: block; width: 100%; height:3px; background-color:rgba(255, 255, 255, 0.3); position: absolute; bottom: -1px; left: 0; transition: .3s; border-radius:2px; }
#sub_top_menu ul li a:hover { color: #fff; }
#sub_top_menu ul li a:hover::after{background:#fff;}
#sub_top_menu ul li a.active {color:#fff;}
#sub_top_menu ul li a.active::after{background:#fff;}

#sub_top_menu.sub3 ul {display: none;}

/* .sub_visual h2::after{display: block; font-size: 30px; font-weight:300; color: rgba(255,255,255,.5); line-height: 1; margin-top: 30px; font-family: 'play', sans-serif;}

.sub_visual.sub1 h2::after{content: 'Company Introduction'; }
.sub_visual.sub2 h2::after{content: 'environmental, social and governance'; }
.sub_visual.sub3 h2::after{content: 'Products Introduction'; }
.sub_visual.sub4 h2::after{content: 'Affiliated Company'; }
.sub_visual.sub5 h2::after{content: 'Recruitment Information'; } */



/* @media screen and (max-width:1400px) {
    .sub_visual{height: 600px;}
    .sub_visual h2 {font-size:65px; }
    .sub_visual h2::after{font-size: 28px; margin-top: 25px;}

}
@media screen and (max-width:1280px) {
    .sub_visual{height: 500px;}
    .sub_visual h2 {font-size:60px; }
    .sub_visual h2::after{font-size: 25px; margin-top: 20px;}
    .sub_visual.sub1 h2::before,
    .sub_visual.sub2 h2::before,
    .sub_visual.sub3 h2::before {font-size:60px;}

    .sub_visual .sm_menu{bottom: 50px;}
    .sub_visual .sm_menu li{font-size: 17px;}
    .sub_visual .sm_menu li::after{margin: 0 15px;}
}

@media screen and (max-width: 1024px) {
    .sub_visual{height: 350px; text-align: center;}
    .sub_visual .title_warp{padding: 0 30px; text-align: center; top: 15px;}
    .sub_visual h2 {font-size:50px; }
    .sub_visual h2::after{font-size: 22px;}
    .sub_visual.sub1 h2::before,
    .sub_visual.sub2 h2::before,
    .sub_visual.sub3 h2::before {font-size:50px;}

    .sub_visual .sm_menu{bottom: 30px; right: 30px;}

    .sub_visual .sm_menu li{font-size: 16px;}
    .sub_visual .sm_menu li::after{margin: 0 10px;}
}

@media screen and (max-width: 640px) {
    .sub_visual{height: 300px;}
    .sub_visual .title_warp{padding: 0 20px; }
    .sub_visual h2 {font-size:45px; }
    .sub_visual h2::after{font-size: 20px;}
    .sub_visual.sub1 h2::before,
    .sub_visual.sub2 h2::before,
    .sub_visual.sub3 h2::before {font-size:40px;}
    .sub_visual.sub3 h2::before {word-break: normal;}

    .sub_visual .sm_menu{display: none;}

} */
