@charset "UTF-8";


header{
	width: 100vw;
	min-width: 100vw;
	position: fixed;
	top: 0;
	z-index: 99;
}

/*開閉ボタン*/
#nav_toggle{
	display: block;
	width: 61px;
	height: 61px;
	position: absolute;
	top:0;
	right: 0;
	z-index: 100;
	cursor: pointer;
	box-sizing: border-box;
	background-color: #fff;
}

#nav_toggle span{
	display: block;
	height: 2px;
	background: #127501;
	position:absolute;
	width: 34px;
	right: 13px;
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
}

#nav_toggle span:nth-child(1){
	top:19px;
}
#nav_toggle span:nth-child(2){
	top:29px;
}
#nav_toggle span:nth-child(3){
	top: 39px;
}
	
/*開閉ボタンopen時*/
.open #nav_toggle span:nth-child(1) {
	top: 30px;
	-webkit-transform: rotate(135deg);
	-moz-transform: rotate(135deg);
	transform: rotate(135deg);
}
.open #nav_toggle span:nth-child(2) {
	width: 0;
	left: 50%;
}
.open #nav_toggle span:nth-child(3) {
	top: 30px;
	-webkit-transform: rotate(-135deg);
	-moz-transform: rotate(-135deg);
	transform: rotate(-135deg);
}

nav{
	display:none;
	position: absolute;
	right: 0;
	width: 100vw;
	height: 100vh;
	background:#999;
	z-index: 99;
	top: 0;
}

	
.nav_innner{
	width: 100%;
	height: 100%;
	overflow-y: scroll;
}
	
nav ul{
	margin-bottom: 50px;
	margin-top: 100px;
	margin-left: auto;
	margin-right: auto;
	max-width: 80vw;
	min-width: 300px;
	min-height: 274px;
	display: flex;
	background-image: url(../img/nav_frame.svg);
	background-repeat: no-repeat;
	background-position: center top;
	background-size: contain;
	flex-wrap: wrap;
	flex-direction: column;
	justify-content: space-between;
	padding: 65px;
}
	
nav ul li{
	width: 100px;
	margin: 0 auto;
}
	
nav ul li a {
	font-size: 2.0rem;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: bold;
	letter-spacing: 0.1em;
	color: #fff;
}
	
nav div.p_wrap{
	display: table;
	margin: 0 auto;
	border-bottom: 100px solid #999;
}
	
nav p{
	line-height: 2.0;
	color: #eee;
	font-size: 1.3rem;
}
	
nav p:first-of-type{
	margin-bottom: 20px;
}
	
.toinsta{
	width: 30px;
	height: 30px;
	margin-top: 20px;
}
	
.toinsta img{
	width: 100%;
	height: 100%;
}

@media screen and (min-width:813px){
	header{
		position: relative;
	}
		
	#nav_toggle{
		display: none;
	}
	
	nav{
		display: block;
		position: absolute;
		background-color: transparent;
		width: auto;
		height: auto;
		right: 5vw;
	}
	
	nav div.p_wrap{
		display: none;
	}
	
	nav ul li a:hover{
		animation: hover_color 1s ease 0s 1 normal;
		-webkit-animation: hover_color 1s ease 0s 1 normal;
		color: #fff;
	}
	
	.nav_innner{
		overflow-y: hidden;
	}
	
@keyframes hover_color {
    0% {color: #fff;}
	50% {color: #127501;}
    100% {color: #fff;}
}

@-webkit-keyframes hover_color {
    0% {color: #fff;}
	50% {color: #127501;}
    100% {color: #fff;}
}
	
}

	
	