:root {
	--header-height: 72px;
	--mo-header-top-height: 72px;
}
body.hidden{
	overflow:hidden;
}

#header{
	background-color:var(--white);
	color:var(--gray-scale9);
	width:100vw;
	position:fixed;
	z-index:100;
	height: var(--header-height);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: 0.3s;
	border-bottom: var(--gray-scale6);
}
.header-in{
	display:flex;
	align-items:center;
	justify-content:space-between; 
	height: 100%;
}
.header-logo-wrap {
	
}
.header-right-wrap {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
}
.header-logo{
	max-height: 50px;
	max-width: 150px;
	display: table;
	margin: 0 auto;
	transition: 0.3s;
}
.header-logo.opacity {
	opacity: 0;
}
.header-logo.none {
	display: none;
}
#headBlank {
	/* height: var(--header-height); */
}

/* 메뉴 */
.header-menu-wrap{
	display:flex;
	align-items:center;
	justify-content:center;
	height: 100%;
}
.header-menu-wrap > .menu{
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	position: relative;
}
.header-menu-wrap > .menu .depth1 {
	width: 164px;
	text-align: center;
	padding: 0;
}
.header-menu-wrap > .menu .depth1 a{
	color:inherit;
	text-decoration:none;
	transition: 0.3s;
	display: flex;
	height: 100%;
	box-sizing: border-box;
	width: 100%;
	white-space: nowrap;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: var(--gray-scale10);
}
.header-menu-wrap .depth1{
	font-weight:700;
	/* width: 100%; */
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}
.header-menu-wrap > .menu:hover .depth1 a{
	/* color: var(--theme-color6);
	box-shadow: inset 0px -3px 0px var(--theme-color6); */
	background-color: var(--theme-color);
	color: var(--white);
}
.header-menu-wrap > .menu .depth1 a.on{
	color: var(--white);
	background-color: var(--theme-color);
}
.header-menu-wrap > .menu .depth2 {
	position: absolute;
	width: 100%;
	top: 100%;
	left: 0;
	text-align: center;
	background-color: var(--gray-scale2);
	border: 1px solid var(--gray-scale5);
	border-bottom: none;
	display: none;
	box-sizing: border-box;
}
.header-menu-wrap > .menu .depth2 a {
	padding: 18px 0;
	width: 100%;
	display: block;
	font-size: 16px;
	line-height: 125%;
	border-bottom: 1px solid var(--gray-scale5);
	transition: 0.3s;
	font-weight: 500;
}
.header-menu-wrap > .menu .depth2 a:hover {
	background-color: var(--gray-scale4);
}
.header-menu-wrap > .menu .depth2 a.on {
	/* background-color: var(--gray-scale4); */
	color: var(--theme-color);
}
.header-menu-wrap > .menu:hover .depth2 {
	display: block;
}

/* 언어 전환 드롭다운 (PC) */
.lang-switch-wrap {
	position: relative;
}
.lang-current-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: 1px solid var(--gray-scale5);
	border-radius: 6px;
	padding: 6px 10px 6px 9px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	color: var(--gray-scale10);
	transition: border-color 0.2s, background 0.2s;
	white-space: nowrap;
	line-height: 1;
	outline: none;
}
.lang-current-btn:hover {
	border-color: var(--theme-color);
	background: var(--gray-scale2);
}
.lang-current-btn .flag-icon {
	font-size: 17px;
	border-radius: 2px;
}
.lang-current-code {
	font-size: 12px;
	letter-spacing: 0.06em;
	font-weight: 700;
}
.lang-chevron {
	font-size: 17px;
	color: var(--gray-scale7);
	transition: transform 0.2s;
}
.lang-switch-wrap.open .lang-chevron {
	transform: rotate(180deg);
}
.lang-dropdown {
	position: absolute;
	top: calc(100% + 7px);
	right: 0;
	background: var(--white);
	border: 1px solid var(--gray-scale4);
	border-radius: 9px;
	box-shadow: 0 6px 20px rgba(0,0,0,0.10);
	min-width: 148px;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-5px);
	transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
	z-index: 200;
}
.lang-switch-wrap.open .lang-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.lang-dropdown-item {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 10px 14px;
	font-size: 13px;
	font-weight: 500;
	color: var(--gray-scale10);
	text-decoration: none;
	transition: background 0.13s;
	border-bottom: 1px solid var(--gray-scale3);
}
.lang-dropdown-item:last-child { border-bottom: none; }
.lang-dropdown-item:hover      { background: var(--gray-scale2); }
.lang-dropdown-item.active     { color: var(--theme-color); background: var(--gray-scale1); }
.lang-dropdown-item .flag-icon {
	font-size: 18px;
	border-radius: 2px;
	flex-shrink: 0;
}
.lang-dropdown-item span { flex: 1; }
.lang-check {
	font-size: 15px;
	color: var(--theme-color);
}

/* 헤더 아이콘 */
.header-icon-wrap{
	display:flex;
	align-items:center;
}
.header-icon-wrap > .icon{
	/* margin-right:20px; */
	width: 64px;
}
.header-icon-wrap > .icon:last-child{
	margin-right:0;
}
.header-icon{
	width:32px;
	display: table;
	margin: 0 auto;
}
.header-menu-icon{
	width:25px;
	cursor:pointer;
}
.header-menu-icon.open-icon{
	display:table;
}
.header-menu-icon.close-icon{
	display:none;
}
.header-icon-about {
	font-weight: 400;
	font-size: 11px;
	line-height: 100%;
	margin-top: 4px;
	text-align: center;
}

/* 모바일 헤더 */
#headerMoMenuWrap{
	width:100vw;
	height: 100vh;
	position:fixed;
	left:100vw;
	top: 0;
	background-color:var(--bg-color1);
	z-index:100;
	box-sizing:border-box;
	transition:left 0.3s;
	display:none;
	overflow-y:auto;
	border-top: 1px solid var(--gray-scale3);
}
#headerMoMenuWrap .top-head {
	background-color: var(--theme-color);
	height: var(--mo-header-top-height);
	display: flex;
	align-items: center;
	justify-content: center;
}
#headerMoMenuWrap .top-head-box {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
#headerMoMenuWrap .header-content {
	height: calc(100vh - var(--mo-header-top-height) - 1px);
	width: 100%;
	overflow-y: auto;
}
#headerMoMenuWrap .header-list-box {
	width: 100%;
	display: flex;
}
#headerMoMenuWrap .header-list-box .header-item {
	transition: 0.3s;
}
#headerMoMenuWrap .header-list-box .header-item.left {
	flex: 1;
}
#headerMoMenuWrap .header-list-box .header-item.left .menu {
	border-bottom: 1px solid var(--gray-scale4);
}
#headerMoMenuWrap .header-list-box .header-item.left .menu:last-child {
	border-bottom: none;
}
#headerMoMenuWrap .header-list-box .header-item.left .menu .depth1 {
	font-weight: 700;
	line-height: 156%;
	color: var(--gray-scale11);
}
#headerMoMenuWrap .header-list-box .header-item .menu a {
	color:inherit;
	text-decoration:none;
	transition: 0.3s;
	display: flex;
	box-sizing: border-box;
	width: 100%;
	font-size: 16px;
	padding: 22.5px 24px;
	min-height: 70px;
	align-items: center;
	transition: 0.3s;
}
#headerMoMenuWrap .header-list-box .header-item.left .menu .depth1 a.on {
	background-color: var(--white);
	color: var(--theme-color);
}
#headerMoMenuWrap .header-list-box .header-item.left .menu .depth1 a.on1 {
	/* background-color: var(--theme-color);
	color: var(--white); */
	background-color: var(--white);
	color: var(--theme-color);
}
#headerMoMenuWrap .header-list-box .header-item.right {
	width: 0;
	background-color: var(--white);
	height: calc(100vh - var(--mo-header-top-height) - 1px);
}
#headerMoMenuWrap .header-list-box .header-item.right.on {
	width: 55.38%;
}
#headerMoMenuWrap .header-list-box .header-item.right .menu {
}
#headerMoMenuWrap .header-list-box .header-item.right .menu .depth1 a {
	font-weight: 400;
}
#headerMoMenuWrap .header-list-box .header-item .menu .depth2 a.on {
	color: var(--theme-color);
}
/* 모바일 헤더 우측 (언어 + 닫기 아이콘 묶음) */
.top-head-right {
	display: flex;
	align-items: center;
	gap: 10px;
}
/* 모바일 버튼 색상 오버라이드 (theme-color 배경 위에 올라가므로) */
.lang-current-btn--mo {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}
.lang-current-btn--mo:hover {
    border-color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.15);
}
.lang-current-btn--mo .lang-chevron {
    color: rgba(255, 255, 255, 0.8);
}

/* 모바일 드롭다운은 아래가 아닌 위로 열림 (상단바에 붙어있으므로) */
.lang-dropdown--mo {
    top: auto;
    top: calc(100% + 7px);
    right: 0;
}

@media(max-width: 1400px) {
	.header-menu-wrap > .menu .depth1 {
		width: 150px;
	}
}

@media(max-width: 1200px) {
	.header-menu-wrap > .menu .depth1 {
		width: 120px;
	}
	.header-menu-wrap > .menu .depth1 a {
		font-size: 15px;
	}
	.header-menu-wrap > .menu .depth2 a {
		font-size: 13px;
	}
}

@media(max-width: 970px) {
	.header-menu-wrap > .menu .depth1 {
		width: 100px;
	}
	.header-menu-wrap > .menu .depth1 a {
		font-size: 14px;
	}
	.header-menu-wrap > .menu .depth2 a {
		font-size: 12px;
		padding: 15px 0;
	}
}

/* MOBILE */
@media(max-width: 768px) {
	:root {
		--header-height: 65px;
	}
	.header-logo{
		max-width:122px;
		max-height: 40px;
	}
	#header {
		background-color: var(--white);
		border-bottom: 1px solid var(--gray-scale3);
	}
	#header:hover {
		padding-bottom: 0;
	}
	#headerMoMenuWrap.block{
		display:block;
	}
	#headerMoMenuWrap.on{
		left:0;
	}
	#headerMoMenuWrap .top-head .header-logo-wrap {
		max-width: 130px;
		max-height: 50px;
	}
	.header-icon {
		width: 38px;
	}
	.header-menu-wrap {
		display: none;
	}
	.header-icon-wrap {
		display: none;
	}
	.header-icon-about {
		font-size: 13px;
	}
	/* PC 드롭다운만 숨김 */
	#LangSwitchWrap { display: none; }
}

@media(max-width: 480px) {
	.header-icon-about {
		font-size: 11px;
	}
	.mo-lang-item              { width: 28px; height: 28px; }
	.mo-lang-item .flag-icon   { font-size: 15px; }
}

@media(max-width: 360px) {
	.header-icon {
		width: 30px;
	}
}

@media(max-width: 320px) {
	.header-icon {
		width: 28px;
	}
	.header-icon-about {
		font-size: 10px;
	}
}




