﻿


* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Noto Sans KR", sans-serif;
	margin: 0px;
	padding: 0px;
	overflow-x: clip; 
}

.ko {
	font-family: "Noto Sans KR", sans-serif;
}

.nav-container {
	width: 1300px;
	margin: 0 auto;
	position: relative;
	display: flex;
	justify-content: space-between;
}

.logo {
	width: 200px;
	display: flex;
	align-items: center;
}

.logo a {
	color: #000;
	text-decoration: none;
	font-size: 32px;
	font-weight: bold;
}

.main-nav {
	background: #fff;
	position: relative;
	height: 100px;
	display: flex;
	align-items: center;
	border-bottom: 1px solid #ddd;
}

.nav-list {
	list-style: none;
	display: flex;
	position: relative;
	height: 100%;
	width: 860px;
	padding: 0 30px;
	justify-content: center;
}



.nav-item {
	position: relative;
	width: 150px;
	
}


.nav-item>a {
	position: relative;
	
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100px;
	width: 100%;
	text-decoration: none;
	font-size: 17px;
	color: #111;
	font-weight: 500;
	cursor: pointer;
	transition: color 0.3s ease;
	
}

.nav-item>a::after {
	content: '';
	position: absolute;
	bottom: 0;
	
	left: 0;
	width: 0;
	
	height: 2px;
	
	background: #2098d1;
	
	transition: width 0.3s ease;
	
}


.nav-item:hover>a::after,
.nav-item>a.active::after {
	width: 100%;
	
}



.nav-buttons {
	width: 140px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.nav-button {
	color: white;
	text-decoration: none;
	font-size: 14px;
	border: 1px solid white;
	border-radius: 4px;
	display: flex;
}

.nav-button:hover {
	background: rgba(255, 255, 255, 0.1);
}


.mega-dropdown-wrap {
	position: absolute;
	top: 100%;
	left: 50%;
	width: 100vw;
	background:
		url('left-image.png') left center no-repeat,
		url('right-image.png') right center no-repeat,
		white;
	visibility: hidden;
	
	opacity: 0;
	
	transform: translateX(-50%) translateY(-10px);
	
	transition: none;
	
	box-shadow: 0 5px 5px -2px rgba(0, 0, 0, 0.2);
	z-index: 1000;
}


.nav-container .nav-list:hover ~ .mega-dropdown-wrap,
.mega-dropdown-wrap:hover,
.mega-dropdown-wrap.is-open {
	visibility: visible;
	opacity: 1;
	transform: translateX(-50%) translateY(0);
	transition: opacity 0.3s ease, transform 0.3s ease;
}


.mega-dropdown-wrap.force-hide {
	visibility: hidden !important;
	opacity: 0 !important;
	transform: translateX(-50%) translateY(-10px) !important;
	transition: none !important;
	pointer-events: none;
}



.mega-dropdown {
	width: 1200px;
	margin: 0 auto;
	display: flex;
	padding: 30px 0;
	padding-left: 230px;
	padding-right: 170px;
	justify-content: center;
}



.mega-section {
	width: 150px;
	
	padding: 0 10px;
	border-right: 1px solid #eee;
}

.mega-section:last-child {
	border-right: none;
}

.mega-section h3 {
	color: #111;
	margin-bottom: 20px;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
}

.sub-nav-list {
	list-style: none;
}

.sub-nav-item:not(:last-child) {
	margin-bottom: 10px;
}

.sub-nav-item a {
    color: #111;
    text-decoration: none;
    display: block;
    font-size: 12.5px;
    line-height: 1.4;
    text-align: center;
    font-weight: 400;
}

.sub-nav-item a:hover {
	color: #111;
}

.nav-button img {
	width: 23px;
}


.top {
	background: #454545;
	padding: 7px 0px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 38px;


}

.top a {
	font-size: 12px;
	color: #fff;
	text-decoration: none;
}

.nav-wrap {
	box-shadow: 4px 0px 11px rgba(0, 0, 0, 0.19), 0px 0px 2px rgba(0, 0, 0, 0.23);
	display: flex;
	justify-content: center;
}

.top-main {
	width: 1200px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}



@media (max-width: 1200px) {
	.main-nav {
		display: none !important;
	}

	/* 모바일 스크롤 루프/떨림 원인 차단: 
	PC용 JS 고정 래퍼(sticky-wrapper)가 모바일에서 높이 계산 충돌을 일으키지 않도록 완전 숨김 처리 */
	.sticky-wrapper {
		display: none !important;
		height: 0 !important;
	}

	.wrap-mobile {
		display: block;
	}
}


@media (min-width: 1201px) {
	.main-nav {
		display: block;


	}

	.wrap-mobile {
		display: none;
	}
}







.main-nav-mobile {
	background: #fff;
	position: relative;
	height: 60px;
	display: flex;
	align-items: center;
	border-bottom: 1px solid #ddd;
	padding: 0px 20px;
}

.nav-container-mobile {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
	display: flex;
	justify-content: space-between;
}

.logo-mobile {
	width: 200px;
	display: flex;
	align-items: center;
}

.logo-mobile a {
	color: #000;
	text-decoration: none;
	font-size: 32px;
	font-weight: bold;
}

.nav-buttons-mobile {
	width: 200px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.nav-button-mobile img {
	width: 23px;
}










@media only screen and (min-width: 300px) and (max-width: 1200px) {

	.menus {
		position: relative;
		height: auto;
		margin: 0 auto;
		display: flex;
		font-size: 16px;
		color: #111;
		font-weight: 600;
	}

	.ul-sub {
		padding-left: 0px;
		font-size: 14px;
		color: #666;
		font-weight: 400;
		line-height: 2.2;
		list-style: none;
		margin: 0px;
	}

	.ul-sub-3rd {
		padding-left: 13px;
		list-style: none;
	}



	#menu-open img {
		width: 20px;
		height: 20px;
		vertical-align: middle;
	}


	

	.ul-logo {
		position: relative;
		width: 54%;
		height: 100px;
		margin: 0 auto;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.ul-logo a {
		color: #111;
		text-decoration: none;
	}

	.btn-1rd {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: flex-start;
		height: 50px;
		box-sizing: border-box;
		width: 100%;
		font-size: 16px;
		padding: 20px;
		border-bottom: 1px solid #e8e8e8;
		text-decoration: none;
		background: #eee;
		color: #111;

	}

	
	.menus-sub {
		width: 100%;
	}

	.ul-sub li {
		border-bottom: 1px solid #e8e8e8;
	}

	.ul-sub li a {
		text-decoration: none;
		color: #111;
	}

	.ul-sub-3rd {
		display: none;
	}

	.ul-sub-3rd {
		padding-left: 0px;
		width: 100%;
		background: #f3f3f3;
	}

	.ul-sub-3rd li {
		border-bottom: none;
		padding-left: 40px;
		padding-top: 5px;
		padding-bottom: 5px;
	}

	.dot::after {
		content: '+';
		position: absolute;
		right: 5px;
		top: 50%;
		transform: translateY(-50%);
		font-size: 27px;
		color: #666;
		font-weight: 100;
		width: 30px;
	}

	.dot.active::after {
		content: '-';
		position: absolute;
		right: 5px;
		top: 50%;
		transform: translateY(-50%);
		font-size: 40px;
		color: #666;
		font-weight: 100;
	}

	.btn-2rd {
		padding: 10px 20px;
	}

	.menus-2rd {
		position: relative;
	}

	.menus-2rd-link {
		padding: 10px 20px;
		background: #ffffff;
	}

	.all-menus {
		position: fixed;
		top: 0;
		left: -300px;
		width: 300px;
		height: 100%;
		background-color: #f8f8f8;
		transition: left 0.3s ease;
		z-index: 1200;
		overflow-y: auto;
	}

	.over-background {
		background-color: #00000094;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 1199;
		display: none;
	}

	.menu-open {
		left: 0;
	}

	.left_close {
		position: absolute;
		right: 10px;
		z-index: 1201;
		top: 10px;
	}

	.left_close img {
		width: 20px;
		height: 20px;
	}

	.nav-links #menu-open-mobile {
		cursor: pointer;
	}

	.nav-left #menu-open {
		display: none;
	}
}


@media only screen and (min-width: 1201px) {

	.menus {
		position: relative;
		height: auto;
		margin: 0 auto;
		display: flex;
		font-size: 16px;
		color: #111;
		font-weight: 600;
	}

	.ul-sub {
		padding-left: 0px;
		font-size: 14px;
		color: #666;
		font-weight: 400;
		line-height: 2.2;
		list-style: none;
		margin: 0px;
	}

	.ul-sub-3rd {
		padding-left: 13px;
		list-style: none;
	}



	#menu-open img {
		width: 20px;
		height: 20px;
		vertical-align: middle;
	}

	.ul-logo {
		position: relative;
		width: 54%;
		height: 100px;
		margin: 0 auto;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.btn-1rd {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: flex-start;
		height: 50px;
		box-sizing: border-box;
		width: 100%;
		font-size: 16px;
		padding: 20px;
		border-bottom: 1px solid #e8e8e8;
		text-decoration: none;
		background: #eee;
		color: #111;
	}

	.menus-sub {
		width: 100%;
	}

	.ul-sub li {
		border-bottom: 1px solid #e8e8e8;
	}

	.ul-sub li a {
		text-decoration: none;
	}

	.ul-sub-3rd {
		display: none;
	}

	.ul-sub-3rd {
		padding-left: 0px;
		width: 100%;
		background: #f3f3f3;
	}

	.ul-sub-3rd li {
		border-bottom: none;
		padding-left: 40px;
		padding-top: 5px;
		padding-bottom: 5px;
	}

	.dot::after {
		content: '+';
		position: absolute;
		right: 5px;
		top: 50%;
		transform: translateY(-50%);
		font-size: 27px;
		color: #666;
		font-weight: 100;
		width: 30px;
	}

	.dot.active::after {
		content: '-';
		position: absolute;
		right: 5px;
		top: 50%;
		transform: translateY(-50%);
		font-size: 40px;
		color: #666;
		font-weight: 100;
	}

	.btn-2rd {
		padding: 10px 20px;
	}

	.menus-2rd {
		position: relative;
	}

	.menus-2rd-link {
		padding: 10px 20px;
		background: #ffffff;
	}

	.all-menus {
		position: fixed;
		top: 0;
		left: -300px;
		width: 300px;
		height: 100%;
		background-color: #f8f8f8;
		transition: left 0.3s ease;
		z-index: 1200;
		overflow-y: auto;
	}

	.over-background {
		background-color: #00000094;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 1199;
		display: none;
	}

	.menu-open {
		left: 0;
	}

	.left_close {
		position: absolute;
		right: 10px;
		z-index: 1201;
		top: 10px;
	}

	.left_close img {
		width: 20px;
		height: 20px;
	}

	.nav-links #menu-open {
		display: none;
	}

	.nav-left #menu-open {
		display: block;
	}


}







@media (min-width: 1201px) {


	.search-container {
		display: none;
		top: 100%;
		left: 0;
		right: 0px;
		position: absolute;
		width: 100%;
		height: auto;
		margin: 0 auto;
		text-align: right;
		z-index: 1100;
	}

	.search-boxs {
		display: none;
		position: relative;
		width: 100%;
		height: 100px;
		background: #00000054;
		display: flex;
		justify-content: center;
	}

	.search-input-wrapper {
		position: relative;
		display: flex;
		align-items: center;
		width: 30%;
	}

	.search-input {
		width: 100%;
		padding: 10px;
		padding-right: 50px;
		border: 1px solid #ccc;
		border-radius: 30px !important;
		box-sizing: border-box;
	}

	.top-searchs {
		position: absolute;
		right: 15px;
		font-size: 16px;
		color: #000;
		cursor: pointer;
		align-items: center;
		align-items: center;
		display: flex;
	}

	.search-button {
		position: absolute;
		right: 15px;
		top: 50%;
		transform: translateY(-50%);
		padding: 5px 10px;
		background-color: #0077b6;
		color: white;
		border: none;
		border-radius: 25px;
		cursor: pointer;
	}

	.search-button:hover {
		background-color: #0077b6;
	}

	.search-boxs .fi-rr-cross {
		color: #fff;
		font-size: 16px;
		display: flex;
	}

	.cross-btn {
		display: flex;
		align-items: center;
		margin-left: 10px;
		font-size: 16px;
		cursor: pointer;
	}

}


@media (max-width: 1200px) {

	.pc {
		display: none !important;
	}

	.mobile {
		display: block;
	}

	.wrap-mobile {
		position: sticky;
		top: 0;
		z-index: 1050;
	}

	.search-container {
		display: none;
		top: 100%;
		left: 0;
		right: 0px;
		position: absolute;
		width: 100%;
		height: auto;
		margin: 0 auto;
		text-align: right;
		z-index: 1100;
	}

	.search-boxs {
		position: relative;
		width: 100%;
		height: 80px;
		background: #000000a6;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.search-input-wrapper {
		position: relative;
		display: flex;
		align-items: center;
		width: 60%;
		max-width: 250px;
	}

	.search-input {
		width: 100%;
		padding: 10px;
		padding-right: 50px;
		border: 1px solid #ccc;
		border-radius: 30px !important;
		box-sizing: border-box;
	}

	.top-searchs {
		position: absolute;
		right: 15px;
		font-size: 16px;
		color: #000;
		cursor: pointer;
		align-items: center;
		display: flex;
	}

	.search-boxs .fi-rr-cross {
		color: #fff;
		font-size: 16px;
		display: flex;
	}

	.cross-btn {
		display: flex;
		align-items: center;
		margin-left: 10px;
		font-size: 16px;
		cursor: pointer;
	}
}

@media only screen and (min-width: 1201px) {
	.pc {
		display: block;
	}

	.mobile {
		display: none !important;
	}
}

.mega-dropdown-more {
    text-align: center;
    cursor: pointer;
    padding: 10px 0 10px;
    font-size: 13px;
    color: #666;
    width: 100%;
}
.mega-dropdown-more:hover {
	color: #000;
}


body.menu-dim-open .over-background {
	display: block;
}

