@charset "utf-8";

.sub_visual_wrap {position: relative; width: 100%; height: 560px; top: 0; left: 0; z-index: 5;}
.sub_visual_wrap.sub_top1 {background: url(../images/sub/sub_visual/sub_top1_bg.jpg) center/cover no-repeat;}
.sub_visual_wrap.sub_top2 {background: url(../images/sub/sub_visual/sub_top2_bg.jpg) center/cover no-repeat;}
.sub_visual_wrap.sub_top3 {background: url(../images/sub/sub_visual/sub_top3_bg.jpg) center/cover no-repeat;}
.sub_visual_wrap.sub_top4 {background: url(../images/sub/sub_visual/sub_top4_bg.jpg) center/cover no-repeat;}

.sub_visual_text {position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #fff;}
.sub_visual_text .sub_visual_title {font-family: 'Pretendard GOV', sans-serif; font-size: 65px; text-align: center; }

/*뎁스*/
.sub_nav {display: flex; justify-content: center; align-items: center; margin: 0 auto;}
.sub_nav ul {display: flex; align-items: center;}

.sub_nav .home {width: 42px; height: 42px; background: #fff; border-radius: 50%; margin-right: 20px; display: flex; justify-content: center; align-items: center; flex-shrink: 0;}

.sub_nav .nav_depth {display: flex; align-items: center; position: relative; cursor: pointer;}
.sub_nav .nav_depth h3 {display: flex; justify-content: space-between; align-items: center; cursor: pointer; width: 150px; }
.sub_nav .nav_depth img {margin-right: 20px; }
.sub_nav .nav_depth .bread_bar {width: 1px; height: 15px; background: #fff; margin-right: 20px; }

.sub_nav .nav_depth ul {max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.3s ease, opacity .3s ease; pointer-events: none; position: absolute; top: 130%; left: 5%; flex-direction: column; color: #444; background: #fff; min-width: 160px;}

.sub_nav .nav_depth ul li {position: relative; min-width: 180px; padding: 10px 20px; font-size: 18px; transition: background 0.3s;}
.sub_nav .nav_depth h3 {font-size: 20px; font-weight: 500;}

.sub_nav .nav_depth.active ul {max-height: 500px; opacity: 1; pointer-events: auto;}
.sub_nav .nav_depth.active ul li {transition: all .5s ease;}
.sub_nav .nav_depth.active ul li:hover {background: #d2e9ff; color: #0462bb;}

@media screen and (max-width: 768px){
  .sub_visual_text .sub_visual_title {font-size: 40px; line-height: 1; margin-bottom: 20px;}
  .sub_nav {margin-left: 12px; justify-content: flex-start;}
  .sub_nav ul {width: 80%;}
  .sub_nav .nav_depth img {margin-right: 15px;}
  .sub_nav .home {width: 35px; height: 35px;}
  .sub_nav .nav_depth .bread_bar {margin-right: 15px;}
  .sub_nav .nav_depth h3 {width: 100px; font-size: 16px;}
}
