@charset "UTF-8";
/*-----------------------------
header 001
-----------------------------*/
@keyframes flowAnimation {
    0% {
        transform: scaleY(0);
    }
    100% {
        transform: scaleY(1);
    }
}

header#header {
	width: 100%;
	position: fixed;
	top: 0px;
	left: 0;
	right: 0;
	z-index: 999;
	transition: top 0.5s;
}
.header {
	background: var(--white-color);
	transition: transform 0.3s ease-out;
	height: 90px;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
	box-shadow: 0 0 15px rgba(0, 0, 0, .2);
}
.header #logo {
	margin-top: 0 !important;
}
.header #logo img {
	height: 45px;
	width: auto;
	padding-left: 50px;
}
.header a {
    color: var(--black-color);
    overflow: visible;
    font-weight: 400;
}
main {
	padding-top: 0px;
}
#menu {
	padding-right: 50px;
}
#menu button {
	display: none;
}
#menu ul {
	display: flex;
	align-items: center;
}
#menu li {
	display: block;
	margin: 0 0 0 40px;
	font-size: 100%;
	line-height: 26px;
}
#menu a {
	display: block;
	text-decoration: none;
	font-size: 1rem;
	position: relative;
}

#menu a::after {
	position: absolute;
	left: 0;
	content: '';
	width: 100%;
	height: 2px;
	background: var(--black-color);
	bottom: -5px;
	transform: scale(0, 1);
	transform-origin: right top;
	transition: transform 0.3s;
}

#menu a:hover::after {
	transform: scale(1, 1);
	transform-origin: left top;
}

#menu li:last-of-type a {
	background: var(--color2);
	padding: 8px 20px;
	border-radius: 50px;
	color: var(--white-color);
}
#menu li:last-of-type a::after {
	display: none;
}
#menu li:last-of-type a:hover {
	background: var(--color1);
	color: var(--white-color);
}
header.scroll-nav .header {
	height: 70px;
}
header.scroll-nav .header #logo {
	background: none;
}
header.scroll-nav .header #logo img {
	height: 30px;
}
header.scroll-nav #menu li:last-of-type a{
    padding: 5px 20px;
}

@media screen and (max-width: 1100px){
	#menu li {
    	margin: 0 0 0 15px;
	}
	#menu li:last-of-type a {
		font-size: 14px;
		padding: 8px 12px;
	}
	header.scroll-nav #menu li:last-of-type a {
    	padding: 5px 12px;
	}
	#menu {
    	padding-right: 15px;
	}
	#menu a {
		font-size: 14px;
	}
	.header #logo img {
    	height: 28px;
    	padding-left: 15px;
	}
	header.scroll-nav .header #logo img {
		height: 28px;
	}
}

@media screen and (max-width: 768px){
	.header {
    	height: 60px;
	}
	header.scroll-nav .header,
	.page header .header{
		height: 60px;
	}
	header.scroll-nav .header #logo img,
	.page header .header #logo img{
		height: 32px;
		margin-top: 2px;
	}
	.header #logo img {
    	height: 32px;
		margin-top: 2px;
    	padding-left: 15px;
	}
	#menu {
		width: 60px;
		height: 60px;
		background: var(--white-color);
	}
	#menu a {
		font-size: 16px;
	}
	#menu button{
		width: 60px;
		height: 60px;
		background: var(--white-color);
    	border: none;
    	outline: none;
		z-index: 2000;
		position: fixed;
		top: 0;
		right: 0;
		display: block;
	}
	#menu button span {
		display: inline-block;
    	transition: all .4s;
    	position: absolute;
    	left: 15px;
    	height: 2px;
		background: var(--black-color);
	}
	#menu button span:nth-of-type(1) {
		top:20px; 
    	width: 50%;
	}
	#menu button span:nth-of-type(2) {
		top:30px; 
    	width: 50%;
	}
	#menu button span:nth-of-type(3) {
		top:40px; 
    	width: 50%;
	}
	.menu-active #menu button span:nth-of-type(1){
    	top: 24px;
    	left: 18px;
    	transform: translateY(6px) rotate(-135deg);
    	width: 40%;
	}
	.menu-active #menu button span:nth-of-type(2){
		opacity: 0;
	}
	.menu-active #menu button span:nth-of-type(3){
    	top: 36px;
    	left: 18px;
    	transform: translateY(-6px) rotate(135deg);
    	width: 40%;
	}
	#menu ul{
		z-index: 2000;
		max-width: 280px;
		width: 100%;
		position: fixed;
		flex-flow: column;
		top: 60px;
		left: 100%;
		right: -100%;
		bottom: 0;
		margin: 0 !important;
		display: block;
		padding: 0;
		transition: 0.3s ease all;
		background: var(--white-color);
	}
	#header.menu-active #menu ul{
		left: unset;
		right: 0px;
	}
	#menu li{
		margin: 0 !important;
		border-bottom: 1px solid var(--color1);
		width: 100%
	}
	#menu li:last-of-type {
		border-bottom: none;
	}
	#menu a{
		padding: 17px 15px;
		color: var(--black-color);
		text-shadow: none;
	}
	#menu li:last-of-type a {
		padding: 20px;
		font-size: 18px;
		text-align: center;
		width: 90%;
    	margin: 30px auto 0;
		display: block;
	}
	#menu li:last-of-type a::before {
	}
	header.scroll-nav #menu li:last-of-type a {
    	padding: 20px;
	}
}
