@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap');

header {
	position: sticky;
	top: 0;
	left: 0;
	z-index: 999;
	width:100%;
	height: 92px;
	border-bottom: 1px solid #efefef;
	background-color: #ffffffdb;
}

.header-inner{
	width: 100%;
	height: 92px;
	max-width: 1280px;
    margin: 0 auto;
	display: flex;
    justify-content: space-between;
    align-items: center;
    background-color:transparent;
}

/* logo */
header h1 {text-align: center; display: inline-block;}
header h1 img {width: 150px;}
header ul.header-menu {float: right; }
header ul.header-menu > li {
 	display: inline-block;
 	position: relative;
 	height:92px;
 	/* margin-right: -5px; */
 	line-height: 92px;
 	border-bottom:1px solid transparent;
 	
 	transition: .3s cubic-bezier(0.69, 0.01, 0.18, 0.99);
}
 
header ul.header-menu > li:hover:after{
	content: "";
	position: absolute;
	transform: translateX(-50%);
	left: 50%;
	bottom: 0;
	width: 0;
	height: 5px;
	background: #ea552a;
	transition: .3s cubic-bezier(0.69, 0.01, 0.18, 0.99);
	animation: borderWidth .3s cubic-bezier(0.69, 0.01, 0.18, 0.99) forwards;
}
 
header ul.header-menu > li.on:after{
	content: "";
	position: absolute;
	transform: translateX(-50%);
	left: 50%;
	bottom: 0;
	width: 0;
	height: 5px;
	background: #ea552a;
	transition: .3s cubic-bezier(0.69, 0.01, 0.18, 0.99);
	animation: borderWidth .3s cubic-bezier(0.69, 0.01, 0.18, 0.99) forwards;
}
 
header ul.header-menu > li > a {
 	display: inline-block;
 	padding: 0 30px;
 	height:100%;
 	font-size: 21px;
 	color: #000;
 	transition:0.2s;
}
 
header ul.header-menu > li:hover > a{color: #ea552a;}
 
header #free a{
	padding: 10px 20px;
    background: #fff;
    color: #ea552a;
    border: 1px solid #ea552a;
    border-radius: 10px;
    font-size: 14px;
    transition: .15s cubic-bezier(0.69, 0.01, 0.18, 0.99);
}

header #free a i{padding-right: 5px; font-size: 14px;}

header #free a:hover{background: #ea552a; color: #fff;}

.hamburger{display: none;}
.header-mobile-menu{display: none;}
input[id="m-menu"] {display: none;}

@keyframes borderWidth{
	0%{width: 0;}
	100%{width: 100%;}
}


@media screen and (max-width: 1280px) {
	hearder{
		min-width: 100%;
	}
	
	header #free{display: none;}
	
	header #free a{
		font-size: 2rem;
	}
	
	header ul.header-menu > li > a{
		font-size: 2.2rem;
	}
}

@media (max-width: 767px) {
	header{
		min-width: 100%;
		height: 70px;
		background: #fff;
	}
	
	header ul.header-menu {display: none;}
	input[id="m-menu"]:checked ~ .header-menu {display: block; float: left; height: calc(100vh - 80px); width:100%; overflow:auto; background-color: #000;}
	input[id="m-menu"]:checked ~ .header-menu li { display: block; height: auto; width:100%; line-height: 50px; border-top: 1px solid #333;}
	input[id="m-menu"]:checked ~ .header-menu > li > a { background-image: none; color:#ea552a; font-weight: bold;}
	input[id="m-menu"]:checked ~ .header-menu > li > ul { width: 100%; display: block;position: unset; background: none; border: none;}
	header ul.header-menu > li > ul > li:hover a{color: #fff;}
	
	/* KJH - START*/
	.header-inner {
		width: 100%;
		height: 70px;
	}
	
	header h1{
		width: auto;
		height: auto;
		margin-left: 1rem;
	}
	
	header #free{
		display: flex;
	    align-items: center;
	    gap: 10px;
	    height: 35px;
	    margin-right: 1rem;
	}
	
	header #free a{
		padding: unset;
		border: unset;
	}
	
	header #free a:hover{
		background: #fff;
    	color: #ea552a;
	}
	
	header #free a span{
		display: none;
	}
	
	header #free a i{
		font-size: 20px;
	}
	
	.hamburger{
		display: block;
		position: relative;
		width: 20px;
		height: 18px;
		margin-left: 2px;
		cursor: pointer;
	}
	.hamburger span{
		display: block;
		position: absolute;
		width: 100%;
		height: 2px;
		background: #000;
		transition: .3s;
	}
	.hamburger span:nth-of-type(1){
		top: 0;
	}
	.hamburger span:nth-of-type(2){
		top: 50%;
		transform: translateY(-50%);
	}
	.hamburger span:nth-of-type(3){
		bottom: 0;
	}
	.hamburger:hover span:nth-of-type(1){
		width: 65%;
	}
	.hamburger:hover span:nth-of-type(2){
		width: 75%;
		right: 0;
	}
	
	.header-mobile-menu {
		display: none;
		position: fixed;
		z-index: 2;
		top: 2.5%;
		right: 2.5%;
		width: 30px;
		height: 30px;
		border-radius: 30px;
		background: #fff;
		-webkit-transition: 0.6s cubic-bezier(0.39, 0.24, 0.43, 0.68);
		transition: 0.6s cubic-bezier(0.39, 0.24, 0.43, 0.68);
	}
	
	input[id="m-menu"]:checked ~ .header-mobile-menu {
	  display: block;
	  width: 200vw;
	  height: 200vh;
	  top: 70px;
	  right: -100px;
	}
	
	.header-mobile-menu ul {
	  position: fixed;
	  top: 50%;
	  left: 50%;
	  -webkit-transform: translate(-50%, -50%);
	          transform: translate(-50%, -50%);
	  text-align: center;
	}
	
	.header-mobile-menu ul li {
	  margin-bottom: 25px;
	  color: #000;
	  font-size: 2.5rem;
	  font-weight: bold;
	  opacity: 0;
	  cursor: pointer;
	  -webkit-transform: translateX(70px);
	          transform: translateX(70px);
	  -webkit-animation: Show 1s cubic-bezier(0, 0, 0.43, 0.96) forwards;
	          animation: Show 1s cubic-bezier(0, 0, 0.43, 0.96) forwards;
	}
	
	.header-mobile-menu ul li a{
		color: #000;
	}
	
	.header-mobile-menu ul li:nth-of-type(1) {
	  -webkit-animation-delay: .5s;
	          animation-delay: .5s;
	}
	
	.header-mobile-menu ul li:nth-of-type(2) {
	  -webkit-animation-delay: .8s;
	          animation-delay: .8s;
	}
	
	.header-mobile-menu ul li:nth-of-type(3) {
	  -webkit-animation-delay: 1.1s;
	          animation-delay: 1.1s;
	}
	
	.header-mobile-menu ul li:nth-of-type(4) {
	  -webkit-animation-delay: 1.4s;
	          animation-delay: 1.4s;
	}
	
	.header-mobile-menu ul li:nth-of-type(5) {
	  -webkit-animation-delay: 1.7s;
	          animation-delay: 1.7s;
	}
	
	input[id="m-menu"]:checked ~ #free .hamburger span:nth-of-type(1){
		top: 50%;
    	transform: translateY(-50%) rotate(-45deg);
	}
	input[id="m-menu"]:checked ~ #free .hamburger span:nth-of-type(2){
		display: none;
	}
	input[id="m-menu"]:checked ~ #free .hamburger span:nth-of-type(3){
		top: 50%;
    	transform: translateY(-50%) rotate(45deg);
	}
	input[id="m-menu"]:checked ~ #free .hamburger:hover span:nth-of-type(1){
		width: 100%;
	}
	input[id="m-menu"]:checked ~ #free .hamburger:hover span:nth-of-type(2){
		width: 100%;
		right: 0;
	}
	
	@-webkit-keyframes Show {
	  0% {
	    opacity: 0;
	    -webkit-transform: translateX(150px);
	            transform: translateX(150px);
	  }
	  100% {
	    opacity: 1;
	    -webkit-transform: translateX(0px);
	            transform: translateX(0px);
	  }
	}
	
	@keyframes Show {
	  0% {
	    opacity: 0;
	    -webkit-transform: translateX(150px);
	            transform: translateX(150px);
	  }
	  100% {
	    opacity: 1;
	    -webkit-transform: translateX(0px);
	            transform: translateX(0px);
	  }
	}
}