@charset "UTF-8";

/* ------------------------------
ナビ
------------------------------ */
.nav_btn {
	display: none;
}

.nav_menu ul {
	display: flex;
}

.nav_menu a {
	font-size: 20px;
	font-weight: bold;
}

@media (min-width:768px){
	.nav_menu {
		margin-top: 10px;
	}
	
	.nav_menu li {
		flex: 1 0 auto;
	}
	
	.nav_menu a {
		position: relative;
		display: flex;
		justify-content: center;
		align-items: center;
		min-height: 56px;
		padding: 10px;
	}
	
	.nav_menu a:hover {
		background: #666;
		color: #fff;
	}
	
	.nav_menu a::after {
		content: "";
		position: absolute;
		top: calc(50% - 14px);
		right: 0;
		display: inline-block;
		width: 1px;
		height: 28px;
		background: #ccc;
	}

	.nav_menu li:last-of-type a:after {
		content: none;
	}
}

@media screen and (max-width:767px){
	/* ---------------
	ボタン
	--------------- */
    .nav_btn {
		position: fixed;
		top: 0;
		right: 0;
		display: flex;
		justify-content: center;
		align-items: center;
		width: 56px;
		height: 56px;
		background: #118a33;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
		z-index: 100;
    }

	.nav_btn p {
		position: relative;
		width: 30px;
		height: 24px;
	}

	.nav_btn span {		
		position: absolute;
		display: block;
		width: 100%;
		height: 4px;
		background: #fff;
		transition: all 0.4s;
	}

	.nav_btn span:nth-child(1) {
		top: 0;
	}

	.nav_btn span:nth-child(2) {
		top: 10px;
	}

	.nav_btn span:nth-child(3) {
		bottom: 0;
	}

	.nav_btn.active span:nth-child(1) {
		transform: translateY(10px) rotate(-45deg);
	}

	.nav_btn.active span:nth-child(2) {
		opacity: 0;
	}

	.nav_btn.active span:nth-child(3) {
		transform: translateY(-10px) rotate(45deg);
	}

	/* ---------------
	メニュー
	--------------- */
	.nav_menu {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		padding-top: 57px;
		background: #118a33;
		z-index: 90;
	}

	.nav_menu ul {
		flex-direction: column;
	}
	
	.nav_menu li {
		border-top: 1px solid #3f5f09;
	}
	
	.nav_menu a {
		display: flex;
		align-items: center;
		min-height: 50px;
		padding: 10px 15px;
		font-size: 16px;
		color: #fff;
	}
}




