/* sub_top */
.sub_visual { position: relative; height: 450px; overflow: hidden; }
.sub_visual .bg { z-index: 1; position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform-origin: center; }
.sub_visual .bg { animation: suv_bg forwards linear 5s; }
@keyframes suv_bg {
    0% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.sub_visual.sub1 .bg { background: url(/image/sub/subcommon/subtop1.jpg) no-repeat center/cover; }
.sub_visual.sub2_1 .bg { background: url(/image/sub/subcommon/subtop2_2.jpg) no-repeat center/cover; }
.sub_visual.sub2_2 .bg { background: url(/image/sub/subcommon/subtop2.jpg) no-repeat center/cover; }
.sub_visual.sub2_3 .bg { background: url(/image/sub/subcommon/subtop2_3.jpg) no-repeat center/cover; }
.sub_visual.sub2_4 .bg { background: url(/image/sub/subcommon/subtop2_4.jpg) no-repeat center/cover; }
.sub_visual.sub2_5 .bg { background: url(/image/sub/subcommon/subtop2_5.jpg) no-repeat center/cover; }
.sub_visual.sub2_6 .bg { background: url(/image/sub/subcommon/subtop2_6.jpg) no-repeat center/cover; }
.sub_visual.sub2_7 .bg { background: url(/image/sub/subcommon/subtop2_7.jpg) no-repeat center/cover; }
.sub_visual.sub3 .bg { background: url(/image/sub/subcommon/subtop3.jpg) no-repeat center/cover; }
.sub_visual.sub4 .bg { background: url(/image/sub/subcommon/subtop4.jpg) no-repeat center/cover; }

.sub_visual .frame { z-index: 2; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.4); }
.sub_visual .txtbox { z-index: 3; position: relative; top: 100px; height: calc(100% - 145px); padding: 0 20px; }
.sub_visual .txtbox .texts { position: relative; top: 50%; transform: translateY(-50%); text-align: center; }
.sub_visual .txtbox .text1 { font-family: "GmarketSans"; font-weight: 700; font-size: 50px; color: #fff; letter-spacing: -0.02em; text-shadow: 2px 0 2px rgba(0, 0, 0, 0.75); }
@media (max-width: 1660px) {
    .sub_visual { height: 400px; }
    .sub_visual .txtbox { top: 90px; height: calc(100% - 135px); }
}
@media (max-width: 1440px) {
    .sub_visual { height: 400px; }
    .sub_visual .txtbox { top: 80px; height: calc(100% - 125px); }
}
@media (max-width: 1279px) {
    .sub_visual { height: 380px; }
    .sub_visual .txtbox { top: 70px; height: calc(100% - 115px); }
}
@media (max-width: 1023px) {
    .sub_visual { height: 360px; }

    .sub_visual .txtbox { top: 60px; height: calc(100% - 140px); }
}
@media (max-width: 767px) {
    .sub_visual { height: 320px; }
}

.subtop { margin-top: -45px; position: relative; z-index: 90; height: 45px; background-color: rgba(0, 0, 0, 0.4); border-bottom: 1px solid rgba(0, 0, 0, 0.4);; border-top: 1px solid rgba(0, 0, 0, 0.4);; }
.subtop .contwrap { height: 100%; }
.subtop .subtop_flex { display: flex; flex-wrap: nowrap; height: 100%; }
.subtop .subtop_flex .top_cont { position: relative; }
.subtop .subtop_flex .top_cont1 { position: relative; display: block; width: 45px; height: 100%; border-right: 1px solid rgba(0, 0, 0, 0.4); border-left: 1px solid rgba(0, 0, 0, 0.4); transition: background-color 0.3s; }
.subtop .subtop_flex .top_cont1:hover { background-color: #f9f9f9; color: #3333; }
.subtop .subtop_flex .top_cont1 a { position: relative; display: block; height: 100%; color: #fff; }
.subtop .subtop_flex .top_cont1 img { display: inline-block; position: relative; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.subtop .subtop_flex .top_cont2 { width: 300px; height: 100%; border-right: 1px solid rgba(0, 0, 0, 0.4); }
.subtop .subtop_flex .top_cont3 { width: 400px; height: 100%; border-right: 1px solid rgba(0, 0, 0, 0.4); }
.subtop .subtop_flex .top_cont3.ver2 img { display: none; }
.subtop .subtop_flex .top_cont3.disnone { display: none !important; }
.subtop .subtop_flex .top_cont3.disnone img { display: none !important; }

.subtop .subtop_flex .top_cont .top_contin { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; padding: 14px; height: 100%; font-size: 15px; color: #fff; transition: background-color 0.3s; }
.subtop .subtop_flex .top_cont .top_contin:hover { background-color: #f9f9f9; color: #333;}

.subtop .subtop_flex .donw_arrow { transform-origin: center; }
.subtop .subtop_flex .active .donw_arrow { transform: rotateZ(180deg); }

.subtop .subtop_flex .top_cont .top_subs { z-index: 10; display: none; position: absolute; left: -1px; width: calc(100% + 2px); background-color: #f9f9f9; border: 1px solid #e1e1e1;  }
.subtop .subtop_flex .top_cont .top_subs a { display: block; padding: 10px 14px; text-align: left; font-size: 14px; color: #333; }
.subtop .subtop_flex .top_cont .top_subs a:hover { background-color: #ccc; color: #333;}
.subtop .subtop_flex .top_cont .top_subs a.disno { display: none !important; }

@media (max-width: 1023px) {
    .subtop { margin-top: -80px; height: 80px; }
    .subtop .subtop_flex { flex-wrap: wrap; }
    .subtop .subtop_flex .top_cont1 { width: 40px; height: 40px; }
    .subtop .subtop_flex .top_cont2 { width: calc(100% - 40px); height: 40px; }
    .subtop .subtop_flex .top_cont3 { width: 100%; height: 40px; border-left: 1px solid rgba(0, 0, 0, 0.4); border-top: 1px solid rgba(0, 0, 0, 0.4); }
    .subtop .subtop_flex .top_cont3.disnone { display: block !important; }

    .subtop .subtop_flex .top_cont .top_contin { font-size: 13px; }
}


/* sub_common */
.sub_sect { position: relative; padding: 80px 0; overflow: hidden; }
.sub_sect .sub_tit { padding-bottom: 50px; text-align: center; font-weight: 700; font-size: 40px; color: #000; }




/* sub1_1 */
.sub1_1 {background: url(/image/sub/sub1/sub1_1_bg.jpg)no-repeat center/cover;}
.sub1_1 .greeting_wrap {display: flex; flex-wrap: wrap; align-items: flex-start;}
.sub1_1 .greeting_wrap img{margin-right: 70px;}
.sub1_1 .greeting_wrap div {width: 60%;}
.sub1_1 .greeting_wrap h3 {font-size: 35px; line-height: 1.5; color: #000000; margin-bottom: 40px;}
.sub1_1 .greeting_wrap h3 b {font-weight: 700;}
.sub1_1 .greeting_wrap h3 span{font-weight: 700; color: #575757;}
.sub1_1 .greeting_wrap h3 span strong{color: #ff0000;}
.sub1_1 .greeting_wrap p {color: #3e3e3e; font-size: 18px; line-height: 1.5; margin-bottom: 40px;}
.sub1_1 .greeting_wrap p:nth-of-type(5){margin-bottom: 0px;}
.sub1_1 .greeting_wrap .bottom_text{text-align: right; margin-bottom: 0px;}

@media (max-width: 1023px) {
    .sub1_1 .greeting_wrap {display: block;}
    .sub1_1 .greeting_wrap img {margin-right: 0; width: calc(300px + 25vw);}
    .sub1_1 .greeting_wrap div {width: 100%; margin-top: 15px;}
    .sub1_1 .greeting_wrap h3 br {display: none;}
    .sub1_1 .greeting_wrap .bottom_text img{width: calc(50px + 15vw);}
}


.sub1_2 .history_wrap{width: 100%;}
.sub1_2 .history_wrap .history {padding: 30px 20px; display: flex; align-items: center; gap: 50px; border-bottom: 1px solid #d8d8d8;}
.sub1_2 .history_wrap .history .year {font-size: 36px; color: #ff0000; line-height: 1.5; font-weight: 600;}
.sub1_2 .history_wrap .history .content_text {display: flex; gap: 50px; margin: 10px 0; line-height: 1.5;}
.sub1_2 .history_wrap .history .content_text p:first-of-type{font-weight: 700;}

@media (max-width: 500px) {
    .sub1_2 .history_wrap .history .content_text {align-items: center;}
}


/* sub1_3 */
.sub1_3 .map_wrap { height: 600px; }
.sub1_3 .map_wrap .root_daum_roughmap_landing { width: 100%; height: 100%; }
.sub1_3 .map_wrap .root_daum_roughmap_landing .wrap_map { height: calc(100% - 32px); }
.sub1_3 .map_desc { padding: 25px 0; display: flex; flex-wrap: nowrap; }
.sub1_3 .map_desc dl { width: 50%; display: flex; flex-wrap: nowrap; align-items: center; font-size: 18px; color: #000; line-height: 1.4; }
.sub1_3 .map_desc dl dt, .sub1_3 .map_desc dl dd { font-size: inherit; color: inherit; line-height: inherit; }
.sub1_3 .map_desc dl dt { min-width: max-content; margin-right: 10px; }
.sub1_3 .map_desc dl dt img { width: 36px; }
@media (max-width: 1535px) {
    .sub1_3 .map_wrap { height: calc(300px + 18vw); }
    .sub1_3 .map_desc dl dt img { width: calc(20px + 1vw); }
}
@media (max-width: 1279px) {
    .sub1_3 .map_wrap { height: calc(260px + 15vw); }
}
@media (max-width: 1023px) {
    .sub1_3 .map_wrap { height: calc(220px + 12vw); }
    .sub1_3 .map_desc { display: block; }
    .sub1_3 .map_desc dl { width: 100%; }
    .sub1_3 .map_desc dl:nth-of-type(n + 2) { margin-top: 15px; }
    .sub1_3 .map_desc dl dt img { width: 27px; }
}
@media (max-width: 767px) {
    
}


/* sub2_1  */


.sub2_1 .tab-menu {display: flex;}
.sub2_1 .tab-btn {flex: 1;padding: 15px;border: none;background: #f4f4f4; border: 1px solid #d7d6d6; border-right: none; cursor: pointer;font-size: 18px;transition: .3s;}
.sub2_1 .tab-btn.active { background: #073973; color: #fff }
.sub2_1 .tab-btn:last-of-type{border-right: 1px solid #d7d6d6;}
.sub2_1 .tab-pane { display: none; padding: 30px 0;}
.sub2_1 .tab-pane.active {display: block;}


.sub2_1 .tab-pane p {font-size: 18px; color: #333333; line-height: 1.5; margin-bottom: 35px;}
.sub2_1 .tab-pane p b {font-weight: 400; color: #073973;}
.sub2_1 .tab-pane img{margin: 0 auto; margin-bottom: 35px; display: block;}

.sub2_1 .tab-pane .tab-img p {text-align: center;}