@charset "UTF-8";

#l-header nav ul{
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 860px;
	font-size: 1.5em;
	text-align: center;
}
#l-header nav ul li {
	width: 15%;
	margin-right: 2%;
}
#l-header nav ul li:last-of-type{
	margin-right: 0;
}
#l-header nav ul li a{
	display: inline-block;
	height: 100%;
	margin: auto 0;
	padding: 18px 0;
	text-align: center;
	line-height: 1em;
}
#l-header nav ul li a::after{
	content: none;
}

/* 1023px以下の時表示される */
@media only screen and (max-width:1023px){
	#l-header-sp nav{
		display: none;
		padding-top: 50px;
		background-color: #fff;
		position: fixed;
		width: 100%;
		z-index: 999;
	}
	#l-header-sp .menu {
		position: fixed;
		top: 20px;
		right: 20px;
		z-index: 9999;
		cursor: pointer;
	}
	/* ハンバーガーメニュー */
.menu-trigger,
.menu-trigger span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
}
.menu-trigger {
  position: relative;
  width: 30px;
  height: 24px;
}
.menu-trigger span {
  position: absolute;
  right: 0;
  width: 100%;
  height: 4px;
  background-color: #9c9c9c;
  border-radius: 4px;
}
.menu-trigger span:nth-of-type(1) {
  top: 0;
}
.menu-trigger span:nth-of-type(2) {
  top: 10px;
}
.menu-trigger span:nth-of-type(3) {
  bottom: 0;
}
/* ボタンスタイル */
.menu-trigger::after {
  position: absolute;
  left: 0;
  bottom: -20px;
  content: 'MENU';
  display: block;
  width: 100%;
  color: #9c9c9c;
  font-size: 6px;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: all .4s;
}
.menu-trigger.active::after {
  content: 'CLOSE';
  bottom: -20px;
}
.menu-trigger.active span:nth-of-type(1) {
  -webkit-transform: translateY(10px) rotate(-45deg);
  transform: translateY(10px) rotate(-45deg);
}
.menu-trigger.active span:nth-of-type(2) {
  opacity: 0;
}
.menu-trigger.active span:nth-of-type(3) {
  -webkit-transform: translateY(-10px) rotate(45deg);
  transform: translateY(-10px) rotate(45deg);
}

	#l-header-sp nav ul{
		width: 100%;
	}
	#l-header-sp nav ul li{
		border-bottom: 1px solid rgba(10,45,70,0.88);
		background-color: #fff;
		text-align: center;
	}
	#l-header-sp nav ul li:last-of-type{
		border-bottom: none;
	}
	#l-header-sp nav ul li a{
		display: block;
		line-height: 60px;
		color: rgba(10,45,70,0.88);
		font-size: 1.3rem;

	}

}