#header{
	box-shadow: 0 0 30px rgba(82, 82, 82, .1);
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	display: block;
	z-index: 999;
	background-color: #fff;
}

#header .header-inner{
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
	column-gap: 24px;
}

#header .logo{
	height: 52px;
	object-fit: contain;
}

#header .btn-contact,
.menu-sp .btn-contact{
	background-color: var(--main-color);
	color: #fff;
	border-radius: 12px 0;
	font-weight: 700;
	font-size: 14px;
	padding: 11px 14px 10px;
	display: inline-block;
}

#header .btn-contact{
	display: none;
}

.menu-sp ul,
.menu-sp ol,
.menu-sp ul li, 
.menu-sp ol li,
#header ul,
#header ol,
#header ul li, 
#header ol li{
	list-style: none;
}

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

#header .main-menu .menu{
	display: flex;
	column-gap: 32px;
	align-items: center;
}

#header .main-menu .menu-item a{
	font-size: 15px;
}

#header .main-menu .menu > li{
	position: relative;
	height: 86px;
	display: flex;
	column-gap: 6px;
	align-items: center;
}

#header .main-menu .menu > li:before{
	content: "";
	width: 0%;
	display: block;
	border-top: 4px solid transparent;
	position: absolute;
	left: 0;
	top: 0;
	transition: all 0.3s;
}

#header .main-menu .menu > li:hover:before{
	border-color: var(--main-color);
	width: 100%;
}

#header .main-menu .menu > li:has(.sub-menu):after{
	content:'';
	background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22m13%206-5%205-5-5%22%20stroke%3D%22%2325343c%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E');
	background-repeat: no-repeat;
	background-size: contain;
	width: 16px; 
	height: 16px;
}

#header .main-menu .sub-menu {
	position: absolute;
	top: 100%;
	background-color: #fff;
	padding: 16px 20px;
	min-width: 260px;
	border-top: 4px solid var(--main-color);
	transition: all 0.3s;
	visibility: hidden;
	opacity: 0;
	transform: translatey(-10px);
	box-shadow: 0 0 30px rgba(82, 82, 82, .1);
}

#header .main-menu .menu > li:hover > .sub-menu{
	transform: translatey(0);
	visibility: visible;
	opacity: 1;
}

#header .main-menu .sub-menu .menu-item{
	padding-block: 4px;
}

#header .main-menu .menu a{
	transition: all 0.3s;
}

#header .main-menu .menu li:hover > a{
	color: var(--main-color);
}

#header .hambuger,
#header .btns .btn-tel{
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
}

#header .hambuger svg,
#header .btns .btn-tel svg{
	width: 100%;
	height: auto;
}

#header .btns{
	display: flex;
	align-items: center;
	column-gap: 16px;
}

#header .btns .btn-tel {
	background-color: var(--second-color);
	border-radius: 999px;
	padding: 7px;
}

.menu-sp {
	position: fixed;
	top: 64px;
	left: 0;
	width: 100%;
	height: 100vh;
	background: #fff;
	transform: translateY(-20%);
	transition: all 0.3s ease;
	z-index: 888;
	overflow-y: auto;
	opacity: 0;
	visibility:hidden;
	padding-block: 32px;
}

.menu-sp.active {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
}

.menu-sp .main-menu > ul > li > a{
	font-family: var(--font-kanit);
	font-weight: 600;
	font-size: 24px;
}

.menu-sp .main-menu > ul > li{
	display: grid;
	grid-template-columns: 1fr max-content;
	justify-content: space-between;
	align-items: center;
	padding-block: 8px;
}

.menu-sp .sub-menu{
	grid-column: 1 / -1;
	display: none;
	padding: 8px 24px;
}

.menu-sp .submenu-toggle{
	display:inline-block;
	padding-inline: 8px;
	cursor:pointer;
	position:relative;
	max-width: 50px;
}

.menu-sp .submenu-toggle::after{
	content:"+";
	font-size: 40px;
	color: var(--main-color);
	font-family: var(--font-kanit);
	line-height: 1;
}

.menu-sp .menu-item.active > .submenu-toggle::after{
	content:"-";
}

.menu-sp .sub-menu li+li{
	margin-top: 8px;
}

.menu-sp .sub-menu li a{
	font-size: 16px;
}

.menu-sp .btn-contact{
	margin-top: 32px;
}



@media print, screen and (min-width: 1200px){
	#header .main-menu{
		display: block;
	}

	#header .btn-contact{
		padding: 13px 16px 11px;
		display: block;
	}

	#header .header-inner {
		height: 86px;
	}

	#header .logo {
		height: 66px;
	}

	#header .btns{
		display: none;
	}
}