:root {
  --white-color: #fff;
  --mainColor: #1e3932;
  --text-color: #333;
  --mainBgColor: #ddeae3;
  --shadow: 0 24px 70px rgba(23, 27, 38, .09);
}

#header {
  width: 100%;
  height: 70px;
}

#header .logo {
  display: flex;         /* ÁÖ ¿ä¼ÒµéÀ» °¡·Î ¹èÄ¡ */
  align-items: center;  /* ¼¼·Î ±âÁØ Áß¾Ó Á¤·Ä */
  gap: 8px;              /* ½Éº¼°ú ±ÛÀÚ »çÀÌÀÇ °£°Ý (¿øÇÏ´Â Å©±â·Î Á¶Àý) */
}

#header .logo span {
  
    display: block;
	width: 30px;
	height: 30px;
    background-image: url(/images/inc/w_logo1.png);
    background-repeat: no-repeat;
    background-size: cover;      /* ¿ä¼Ò ÀüÃ¼¸¦ Ã¤¿ìµµ·Ï ºñÀ² À¯ÁöÇÏ¸ç È®´ë/Ãà¼Ò */
  background-position: center;
	cursor: pointer;
	margin-right: 5px;
}

#header.scr .logo {
  color: #1e3932;
}

#header.scr .logo span {
  background-image: url(/images/inc/logo1.png);
}

#header.scr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #fff;
}


/* PC ¸ðµå */
#header .gnbLay {
  display: flex;
  align-items: flex-start;
  align-self: flex-start;
  margin-left: auto;
}

#header .gnb {
  flex: 1;
  display: flex;
  align-items: center;
  margin-left: auto;
  max-width: 1100px;
  width: 100%;
}

#header .gnb > ul {
  display: flex;
  justify-content: center;
}

#header .gnb > ul > li > a {
  position: relative;
  display: block;
  padding: 1.35rem 0.8rem;  
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.6rem;
  text-transform: uppercase;
  color: var(--white-color);
  white-space: nowrap;
  text-align: center;
}
#header.scr .gnb > ul > li > a {
  color: var(--text-color);
}
#header.scr.on .gnb > ul > li > a {
  color: var(--text-color);
}

#header .gnb > ul > li {
  position: relative;
  min-width: 12.5rem;
}

#header .gnb > ul > li {
  position: relative;
  border-left: 1px solid rgba(0, 0, 0, 0);
}
#header .gnb > ul > li:last-child {
  border-right: 1px solid rgba(0, 0, 0, 0);
}
#header.scr .gnb > ul:hover > li {
  position: relative;
  border-left: 1px solid rgba(0, 0, 0, 0.05);
}
#header.scr .gnb > ul:hover > li:last-child {
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

#header .gnb > ul > li ul {
  height: 0;
  overflow: hidden;
  transition: 0.2s;
  list-style-type: none;
}

#header .gnb > ul:hover > li ul {
  padding-top: 1.4rem;
  height: 15rem;
}

#header .gnb > ul > li:focus-within ul {
  padding-top: 1.4rem;
  height: 15rem;
}

#header .gnb > ul::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  height: 0;
  background: rgba(0, 0, 0, 0);
  height: calc(4.2rem);
  transition: 0.2s;
}
#header.scr .gnb > ul::before {
  background: var(--white-color);
}
#header .gnb > ul:hover::before {
  background: rgba(0, 0, 0, 0.6);
  height: calc(15rem + 4.3rem);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#header.scr .gnb > ul:hover::before {
  background: var(--white-color);
}

#header .gnb > ul > li ul li a {
  display: block;
  line-height: 2.2rem;
  white-space: nowrap;
  color: var(--white-color);
  text-align: center;
  font-size: 1.1rem;
  font-weight: 200;
  white-space: nowrap;
}
#header.scr .gnb > ul > li ul li a {
  color: var(--text-color);
  font-weight: 400;
}

#header .gnb > ul > li > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 4;
  transform: translate(-50%, 1px);
  width: 0;
  height: 3px;
  background: var(--mainColor);
  transition: 0.4s;
}

#header .gnb > ul > li:hover > a::after {
  width: calc(100% - 3.8rem);
}
#header .gnb > ul > li:hover {
  background: rgba(0, 0, 0, 0.25);
}

#header .gnb > ul > li:hover ul {
  background: rgba(0, 0, 0, 0.25);
}
#header.scr .gnb > ul > li:hover {
  background: #f9f9f9;
}

#header.scr .gnb > ul > li:hover ul {
  background: #f9f9f9;
}

#header .menu-button {
    display: none;
}








@media (max-width: 1240px) {

	#header .gnb > ul > li {
	  position: relative;
	  min-width: 10rem;
	}
	#header .gnb > ul > li ul li a {
	  font-size: 1rem;
	}

}

@media (max-width: 1084px) {

  #header .gnbLay {
    position: fixed;
    top: 0;
    left: -200%;
    z-index: 1000;
    width: 100%;
  }
  #header .menu-button {
    display: block;
	background-color: transparent; 
	border: none;
  }
  #header .menu-button .hambtn {
    display: block;
	width: 30px;
	height: 30px;
    background-image: url(/images/inc/icon_total.png);
    background-repeat: no-repeat;
    background-position: left;
	cursor: pointer;
  }
  #header.scr .menu-button .hambtn {
    background-image: url(/images/inc/icon_total_ov.png);
  }

}











/* ¸ð¹ÙÀÏ ¸ðµå */
.overBlank {
    display: none;
    z-index: 99999;
    position: fixed;
    width: 100%;
    height: 100vh;
	height: 100dvh;
    left: 0;
    top: 0;
    background-color: rgba(25, 30, 40, 0.7);
    overflow-x: hidden;
	overflow-y: auto;
    transition: background-color 2s;
    cursor: pointer;
}

.mobileGnb {
    height: 100vh;
	height: 100dvh;
    width: 580px;
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    background-color: #fff;
    overflow-x: hidden;
    transition: 0.5s;
}

.mobileGnb .menu_wrapper {
    -ms-overflow-style: none;
}

.mobileGnb .menu_wrapper::-webkit-scrollbar {
    display: none;
}

#mobileNav::-webkit-scrollbar {
    display: none;
}

#mobileNav {
    margin-right: -625px;
    transition: 0.5s;
    transition: margin-right .5s;
    -ms-overflow-style: none;

}


#mobileNav.open {
    margin-right: 0;
    background-color: var(--mainColor);
    z-index: 999999;
}

/* Style the tab */
.mobileGnb .tab {
    float: left;
    width: 180px;
    height: 100%;
    color: #fff;
    padding-top: 72px;
    position: relative;
}

.mobileGnb .tab .fixed_wrapper {
    position: fixed;
    height: 100%;
    width: 180px;
}

.mobileGnb .h_tablinks {
    display: block;
    background-color:var(--mainColor);
    color: #fff;
    padding: 0 1.125rem;
    width: 100%;
    border: none;
    outline: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.125rem;
    height: 72px;
    line-height: 72px;
}

.mobileGnb .h_tablinks.point {
    background: #3d6ab4;
}

.mobileGnb .h_tablinks:hover {
    background-color: #fff;
    color: #222;
}

.mobileGnb .h_tablinks.active {
    background-color: #fff;
    color: #111;
    font-weight: 700;
}


/* Style the tab content */
.mobileGnb .menu_wrapper {
    width: calc(100% - 180px);
    float: left;
    height: 100%;
    background: #fff;
}

.mobileGnb .h_tabcontent {
    display: none;
    margin-top: 72px;
}

.mobileGnb .h_tabcontent .sub_nav {
    background: #fff;
	list-style-type: none;
}

.mobileGnb .h_tabcontent .sub_nav > li > a {
    height: 72px;
    line-height: 72px;
    font-size: 1.125rem;
    color: #333;
    padding: 0 1.563rem;
    border-bottom: 1px solid #efefef;
    display: block;
}

.mobileGnb .h_tabcontent .sub_nav > li > a:hover {
    color: var(--mainColor);
	font-weight: 500;
}


.mobileGnb .closeBox {
    background-color: #fff;
    height: 72px;
    line-height: 72px;
    font-size: 1.125rem;
    color: #fff;
    padding: 0 1.875rem;
    position: absolute;
    top: 0;
    width: calc(100% - 180px);
    z-index: 999;
	text-align: right;
	padding-right:20px;
}

.mobileGnb .btn_close {
    width: 30px;
    height: 30px;
    position: relative;
    text-indent: -9999px;
    right: 0;
    background: none;
    border: 0;
    cursor: pointer;
}

.mobileGnb .btn_close::before,
.btn_close::after {
    content: '';
    width: 30px;
    height: 2px;
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 4px;
    background: #666;
}

.mobileGnb .btn_close::before {
    transform: translate(-50%, -50%) rotate(-45deg)
}

.mobileGnb .btn_close::after {
    transform: translate(-50%, -50%) rotate(45deg)
}

.mobileGnb .h_tabcontent .depth3 {
    display: none;
    border-bottom: 1px solid #ddd;
    padding: 1.75rem;
}

.mobileGnb .h_tabcontent .depth3 .menu3 {
    font-size: 1rem;
    line-height: 32px;
    color: #111;
    position: relative;
    padding-left: 14px;
}

.mobileGnb .h_tabcontent .depth3 .menu3::before {
    content: "";
    width: 4px;
    height: 4px;
    background: #d7c9b1;
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 4px;
    position: absolute;
    top: 15px;
    left: 0px;
}

.mobileGnb .h_tabcontent .depth3 .menu3 a {
    color: #111;
}

.mobileGnb .h_tabcontent .depth3 .menu3 a:hover {
    text-decoration: underline;
}

.mobileGnb .h_tabcontent .menu2_link {
    position: relative;
}

.mobileGnb .h_tabcontent .menu2_link.active {
    color: #222 !important;
    font-weight: 500;
    transition: 0.5s;
}


.mobileGnb .h_tabcontent .menu2_link::after {
    content: '';
    display: inline-block;
    width: 9px;
    height: 9px;
    margin: -5px 12px auto auto;
    vertical-align: middle;
    border-right: 2px solid #aaa;
    border-top: 2px solid #aaa;
    transform: rotate(135deg);
    position: absolute;
    top: 35px;
    right: 20px;
    transition: 0.5s;
}

.mobileGnb .h_tabcontent .menu2_link.active::after {
    content: '';
    display: inline-block;
    width: 9px;
    height: 9px;
    margin: -5px 12px auto auto;
    vertical-align: middle;
    border-right: 2px solid #aaa;
    border-top: 2px solid #aaa;
    transform: rotate(-45deg);
    position: absolute;
    top: 40px;
    right: 20px;
    transition: 0.5s;
}

#mobileNav .sub_nav .link:after {
    content: url(/images/inc/ic_external_sm.png);
    font-weight: 700;
    margin-left: 8px;
    font-size: 13px;
}



@media screen and (max-width:640px) {
	header .logo img { width: 100%;}
	header .logo a { width: 170px; height: 20px; margin: 17px 20px;}
	header .logo a img { width: 100%;}
	#header .menu-button ul li {height: 50px;}
	.no_scroll {    min-width: inherit !important;}
	.mobileGnb { width: 100%; margin-right: -100%; }
	.mobileGnb .tab { width: 120px; padding-top: 54px; }
	.mobileGnb .tab .fixed_wrapper { width: 120px; }
	.mobileGnb .h_tablinks { height: 54px; line-height: 54px; padding: 0 12px; }
	.mobileGnb .menu_wrapper { width: calc(100% - 120px); }
	.mobileGnb .h_tabcontent { margin-top: 54px; }
	.mobileGnb .h_tabcontent .sub_nav>li>a { height: 54px; line-height: 54px; padding: 0 20px; }
	.mobileGnb .h_tabcontent .menu2_link:after { top: 24px; right: 12px; }
	.mobileGnb .h_tabcontent .menu2_link.active:after { top: 30px; right: 12px; }
	.mobileGnb .h_tabcontent .depth3 { padding: 18px; }

	.mobileGnb .h_tabcontent .sub_nav > li > a { font-size: 0.9rem;}
	.mobileGnb .h_tablinks { font-size: 0.95rem;}
	
	.mobileGnb .h_tabcontent .depth3 .menu3 { line-height: 24px; }

}