@charset "utf-8";
/* 기본프로그램 사용자모듈 메뉴 - PC */
.all_m_btn {padding:10px; background:#323337;}
.all_m_btn img {position:absolute; top:28%; left:15px; width:10%; max-width:40px; cursor:pointer;}
.all_m_btn .mutit {text-align:center; font-weight:900; font-size:26px; color:#fff;}
.pro_m_wrap {display:none; font-family:'Nanum Gothic', sans-serif; transition:all 0.3s linear;}
.pro_m_wrap .m_menu {width:200px;}
.pro_m_wrap .bg_black {display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.7); z-index:-1;}


/* 기본프로그램 사용자모듈 메뉴 - MOBILE */
.pro_m_wrap .subleftmenu {
	list-style:none;
	margin:0;
	padding:0;
}
.pro_m_wrap .subleftmenu li {
	border-bottom:1px solid #515155;
	background:#323337;
}
.pro_m_wrap .subleftmenu a {
	display:block;
	color:#b5b2b2;
	font-size:14px;
	padding:11px 5px 11px 15px;
	font-family:'Noto Sans KR';
}
.sub_title_m{
	font-size:28px !important;
	font-weight:bold;
	color:#fff !important;
	padding:12px 5px 12px 15px !important;
}
.pro_m_wrap .subleftmenu a:hover {
	color:#307dd4;
}
.sub_title_m:hover {
	background:#323337 !important;
	cursor:default;
}

@media all and (max-width:999px){
	.pro_m_wrap {display:block; position:absolute; left:-100%; top:0; z-index:999;}
	.pro_m_wrap.view {left:0;}
}

/* basic */
.inner{width:100%; max-width:1400px; margin:0 auto; position:relative;}

@media all and (max-width:1400px){
	.inner{width:93.75%;}
}

/* 햄버거 메뉴 */
#header .m_btn {display:none; width:24px; margin:0 auto; text-align:right; cursor:pointer; }
#header .m_btn i{display:inline-block; width:100%; height:2px; margin:3px 0; background:#000; transition:all 0.5s;}
#header .m_btn i:nth-of-type(2){width:84%;}
#header .m_btn.on i:nth-of-type(1){margin:11px 0 -2px; transform:rotate(-45deg); -webkit-transform:rotate(-45deg); -moz-transform:rotate(-45deg); -ms-transform:rotate(-45deg);-o-transform:rotate(-45deg);}
#header .m_btn.on i:nth-of-type(2){width:0; margin:0;}
#header .m_btn.on i:nth-of-type(3){margin:0 0 11px; transform:rotate(45deg); -webkit-transform:rotate(45deg); -moz-transform:rotate(45deg); -ms-transform:rotate(45deg); -o-transform:rotate(45deg);}


@media all and (max-width:1024px){
	#header .gnb{display: none;}
	#header .m_btn{display: inline-block;}
  #header {
    padding: 10px 0;
  }
}

/* 모바일 메뉴 */
.m_menu_bg {z-index:101; position:fixed; left:0; top:0; display:none; width:100%; height:100%; background:rgba(0,0,0,.7); cursor:pointer; }
#m_menu {z-index:102; position:fixed; right:-100%; top:0; width:500px; max-width:80%; height:100%; background-color:#fff; box-sizing:Border-box; transition:all 0.5s; overfloW-y:auto;}
#m_menu.on {right:0; }
#m_menu .top_box {position:relative; padding:10px; box-sizing:border-box; }
#m_menu .top_box .close_btn {position:absolute; right:20px; top:calc(50% - 15px); width:30px; height:30px; }
#m_menu .top_box .close_btn i {display:block; width:100%; height:2px; background-color:#333; }
#m_menu .top_box .close_btn i:first-of-type {-webkit-transform:rotate(45deg) translate(9px,9px); -moz-transform:rotate(45deg) translate(9px,9px); -ms-transform:rotate(45deg) translate(9px,9px); -o-transform:rotate(45deg) translate(9px,9px); transform:rotate(45deg) translate(9px,9px); }
#m_menu .top_box .close_btn i:last-of-type {-webkit-transform:rotate(-45deg) translate(-7px,8px); -moz-transform:rotate(-45deg) translate(-7px,8px); -ms-transform:rotate(-45deg) translate(-7px,8px); -o-transform:rotate(-45deg) translate(-7px,8px); transform:rotate(-45deg) translate(-7px,8px); }
#m_menu .login_box {padding:20px 0; background-color:#292929; text-align:center; }
#m_menu .login_box a {position:relative; padding:0 30px; font-size:20px; color:#fff; letter-spacing:-0.04em; }
#m_menu .login_box a:first-of-type:before {content:''; position:absolute; right:-1px; top:calc(50% - 7px); width:2px; height:15px; background-color:#fff; }
#m_menu .gnb_box {border-top:1px solid #ddd; }
#m_menu .gnb_box > ul > li {border-bottom:1px solid #dddddd; }
#m_menu .gnb_box > ul > li > a {position:relative; display:block; padding:20px 20px; font-size:20px; font-weight:bold; color:#222222; letter-spacing:-0.04em; box-sizing:border-box; }
#m_menu .gnb_box .depth02 {display:none; padding:10px 0; background-color:#000; }
#m_menu .gnb_box .depth02 li a {position:relative; display:block; padding:7px 20px; font-size:18px; color:#fff; letter-spacing:-0.04em; box-sizing:border-box; }



/* header */
.nav, .depth-2, .depth-3 {
	list-style: none;
	padding: 0;
	margin: 0;
  }
  
  .nav > li {
	position: relative;
	display: inline-block;
  }

  header .nav {
	display: flex;
	gap: 60px;
  }
  
  .nav > li > a {
	padding: 40px 0;
	max-height: 100%;
	display: block;
	color: #222;
font-size: 18px;
font-style: normal;
font-weight: 500;
line-height: normal;
	/* background: #fff; */
  }
  
  .depth-2 {
	display: none;
	position: absolute;
	top: calc(100%);
	left: -50%;
	/* background: #406DB9; */
	min-width: 190px;
	z-index: 999;
  border-left: 1px solid #DCDCDC;
  border-right: 1px solid #DCDCDC;

  min-height: 314px;
  }
  
  .depth-2 > li > a {
	display: block;
	padding: 15px 10px;
	color: #222;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: normal;
position: relative;
  }

  
  .hover-wrap {
	position: relative;
  }
  
  .depth-3 {
	display: none;
	position: absolute;
	top: 0;
	left: 100%;
	background: #fff;
	min-width: 190px;
	z-index: 999;
  }
  
  .depth-3 li a {
	padding: 10px;
	display: block;
	color: #000;
	color: #000;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: normal;
  }
  
 /* .nav li:hover > .depth-2 {
	display: block;
  }  */
  
/* .depth-2 li:hover > .depth-3 {
	display: block;
  } */
    /* .depth-2 li.has-depth-3:hover > .depth-3 {
	display: block;
  } */
  .depth-2 li.has-depth-3 {
	position: relative;
	padding-right: 20px; /* ✅ 마우스 이동 경로 확보 */
  }
  .depth-2 li.has-depth-3 {
	min-height: 40px; /* 높이 확보해서 hover 안 끊기게 */
  }

.header_wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
  }

header {
	background-color: #fff;
	width: 100%;
	/* padding: 20px 0; */
}

.depth-2 > li:hover > a {
	font-weight: bold;
	text-decoration: underline;
  }
  
  .depth-2 li.has-depth-3:hover > a {
	font-weight: bold;
	text-decoration: underline;
	/* color: #fff; */
  }


  .depth-2 li.has-depth-3:hover > a::before {
	content: url('/img/header_arrow.png');
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
  }


  .depth02-wrapper {
    position: absolute;
    top: 100px; /* gnb 아래쪽에 오게 */
    left: 0;
    width: 100%;
    background: #fff; /* 또는 배경 이미지도 가능 */
    z-index: 99;
    min-height: 423px;
    height: auto;
    transition: height 0.3s ease;
    border-top: 1px solid #dcdcdc;
  }
  
  .gnb {
    position: relative;
    z-index: 10;
  }


  .depth-3 li:hover a {
	color: #406DB9;  /* ✅ 2뎁스 색상과 맞춤 */
	text-decoration: underline;
	font-weight: bold;
  }


/* new_header */
.left_one_depth {
  width: 460px;
  padding: 60px 20px;
  position: relative;
}

.left_one_depth h2 {
  color: #406DB9;
font-size: 40px;
font-style: normal;
font-weight: 700;
line-height: normal;
}

.bottom_img_yo {
  position: absolute;
  bottom: 0;
  right: 0;
}

.left_one_depth p {
  color: #555;
font-size: 24px;
font-style: normal;
font-weight: 400;
line-height: normal;
}

.depth02-wrapper .inner {
  display: flex;
  min-height: 423px;
  height: 100%;
}

.right_two_depth {
  border-left: 1px solid #DCDCDC;
  min-width: 240px;
}

.right_two_depth ul {
  padding: 15px 0;
}

.right_two_depth ul li {
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.right_two_depth ul li a {
  color: #222;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: normal;
width: 100%;

}

.right_two_depth li.active img {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}


.right_three_depth {
  border-left: 1px solid #DCDCDC;
}

.right_three_depth ul {
  padding: 15px 0;
}

.right_three_depth ul li {
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.right_three_depth ul li a {
  color: #222;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: normal;
}

.right_two_depth ul li a:hover,
.right_three_depth ul li a:hover {
  color: #406DB9;
}


.depth02-wrapper {
	display: none;
}
.depth02-wrapper.active {
	display: block;
}


/* 기본적으로 arrow 이미지는 숨기고, JS에서 넣는 걸로만 */
.right_two_depth li img {
  display: none;
  z-index: -1;
}
.right_two_depth li.active img {
  display: inline-block;
  
}

/* 강조된 메뉴 스타일 */
.right_two_depth li a.active,
.gnb .nav > li > a.active {
  color: #307dd4;
}


@media all and (max-width:1400px) {
  .left_one_depth {
    width: 300px;
  }
}

@media all and (max-width:1024px) {
  .depth02-wrapper,
  .depth02-wrapper.active
   {
    display: none;
  }
}





  /* footer */
  footer {
	background: #FBEBD2;
	padding: 105px 0;
  }

  .footer_box_yo {
	display: flex;
  flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
  }

  .f_txt_yo p b {
	color: #000;
	font-size: 18px;
	font-style: normal;
	font-weight: 600;
	line-height: 30px;
  }

  .f_txt_yo p,
  .f_copy p
   {
	color: rgba(0, 0, 0, 1.60);
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 30px;
  }


.footer_flex_box ul {
  display: flex;

  gap: 30px;
  align-items: center;
}

.footer_flex_box ul li p {
  color: rgba(0, 0, 0, 0.80);
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 30px; /* 187.5% */
}

.first_line_yo {
  border-right: 1px solid #fff;
  padding-right: 20px;
}


  @media all and (max-width:1229px) {
	.footer_box_yo {
		gap: 20px;
	}
	footer {
		padding: 70px 0;
	}
  }


  @media all and (max-width:845px) {
    .first_line_yo {
      border-right: unset;
      padding-right: unset;
    }

    .footer_flex_box ul {
      flex-direction: column;
      gap: 20px;
      align-items: start;
    }
  }



  /* 모바일 메뉴 */

  /* 모바일 네비게이션 기본 스타일 */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%; /* 화면 밖으로 숨김 */
    width: 100vw;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0px 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    padding-top: 60px;
}

.mobile-nav.active {
    right: 0;
}

.mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    border-bottom: 1px solid #ddd;
}

.mobile-menu li a {
    display: block;
    padding: 15px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
}

.mobile-menu li a:hover {
    background-color: #f4f4f4;
}

/* 2Depth 메뉴 기본적으로 숨기기 */
.mobile-submenu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #f8f8f8;

	overflow: hidden;
    transition: max-height 0.3s ease-out;
    max-height: 0;
}

.mobile-submenu li a {
	padding: 12px 20px;
	/* border-left: 3px solid #ccc;  */


    display: block;
    font-size: 14px;
}



/* 📌 3Depth 스타일 (가독성 개선) */
.mobile-sub-submenu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #ececec; /* 연한 배경색 */
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.mobile-sub-submenu.active {
    display: block;
    /* max-height: 1000px; */
}


.mobile-sub-submenu li a {
    display: block;
    padding: 10px 35px; /* 더 깊이 들여쓰기 */
    font-size: 13px; /* 글자 크기 작게 */
    /* border-left: 3px solid #aaa;  */
}




/* 펼쳐진 상태 */
.mobile-submenu.active {
    display: block;

	/* max-height: 1000px; */

}

/* 햄버거 버튼 */
.hammenu_na_v {
    display: none;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 50%;
    z-index: 1001;
    transform: translateY(-50%);
}


.hammenu_na_v .icon-bar {
    display: block;
    width: 30px;
    height: 4px;
    background-color: #333 !important;
    margin: 6px 0;
    transition: all 0.3s;
}


/* 📌 2Depth & 3Depth 화살표 기본 스타일 */
.mobile-menu-toggle, .mobile-menu-subtoggle {
    position: relative;
    display: flex;
    align-items: center;
   

	cursor: pointer;

	width: 100%;
    padding-left: 30px !important; /* 화살표가 왼쪽에 위치하도록 패딩 추가 */
}

/* 📌 2Depth & 3Depth 화살표 아이콘 */
.mobile-menu-toggle::before,
.mobile-menu-subtoggle::before {
    content: "▶";  /* 기본 화살표 아이콘 */
    font-size: 12px;

	position: absolute;
    left: 15px; /* 화살표를 메뉴 왼쪽에 위치 */
    transition: transform 0.3s ease-in-out;
}

/* 📌 2Depth 메뉴 열릴 때 화살표 회전 */
.mobile-menu-toggle.active::before {
    transform: rotate(90deg);
}

/* 📌 3Depth 메뉴 열릴 때 화살표 회전 */
.mobile-menu-subtoggle.active::before {
    transform: rotate(90deg);
}


/* 📌 2Depth & 3Depth 메뉴 기본 숨김 (애니메이션 적용) */
.mobile-submenu, .mobile-sub-submenu {
    display: none;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

/* 📌 2Depth & 3Depth 메뉴 활성화 (애니메이션 적용) */
.mobile-submenu.active, .mobile-sub-submenu.active {
    display: block;
    opacity: 1;
    height: auto;
}




/* 모바일에서만 보이도록 */
@media (max-width: 1024px) {
    .hammenu_na_v {
        display: block;
    }
    .navbar-collapse {
        display: none; /* 기존 네비게이션 숨김 */
    }
    .header_sub_menu_box {
        display: none !important; /* 모바일에서는 서브메뉴 숨김 */
    }
}



