@charset "utf-8";

#nav-open {
	position: fixed;
	top: 25px;
	left: 25px;
	display: inline-block;
	width: 40px;
	height: 40px;
	vertical-align: middle;
	z-index: 999999;
}

/*ハンバーガーアイコン*/
#nav-open span,
#nav-open span::before,
#nav-open span::after {
	position: absolute;
	transition: all 0.4s;
	height: 2px;
	width: 30px;
	border-radius: 1px;
	background: #fff;
	display: block;
	content: '';
	cursor: pointer;
	z-index: 9999;
}
#nav-open span::before {
	bottom: -12px;
}
#nav-open span::after {
	bottom: -24px;
}

/*中身*/
#nav-content {
	display: none;
	position: absolute;
	top: 0;
	left: -640px;
	overflow: hidden;
	transition: 10s;
	z-index: -1;
}
#nav-content.open {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 640px;
	height: 100%;
	color: #fff;
	background: rgba(000,000,000,.8);
	transform: translateX(0%);
	transition: all 1s ease-in-out;
	z-index: -1;
}

/*:beforeにぼかし効果を設定する*/
#nav-content.open::before {
	content: '';
	overflow: hidden;
	-webkit-filter: blur(1.5rem);
	-moz-filter: blur(1.5rem);
	-o-filter: blur(1.5rem);
	-ms-filter: blur(1.5rem);
	filter: blur(1.5rem);
	transition: 10s;
}

/*チェックが入ったら表示する内容*/
.hamburger-top {
	height: 0;
}

.flexbox_gmenu {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	text-align: center;
	padding: 240px 90px 120px;
}
.f_item_gmenu {
	float: left;
	position: relative;
	width: 100%;
	padding: 30px 0;
	/*border-bottom: 1px dotted #ccc;*/
	transform: rotate(0);
}
.f_item_gmenu:last-of-type {
	border-bottom: none;
}
.f_item_gmenu span.en_menu {
	display: block;
    font-family: 'Ms Madi', cursive;
	font-size: 45px;
	transform: rotate(-8deg);
}
.f_item_gmenu span.jp_menu {
	display: block;
	font-size: 12px;
	margin-top: 0;
	transform: rotate(0);
}
.f_item_gmenu span.jp_menu::before {
	content: '';
	width: 30px;
	height: 2px;
	display: block;
	background-color: #f00;
	margin: 0 auto 10px;
}

.f_item_gmenu a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transform: rotate(8deg);
}
.f_item_gmenu:hover {
    transition: .7s;
    color: #fff;
    background-color: #f00;
}
.f_item_gmenu:hover span::before {
	background-color: #fff;
}

/*三本線を動かす*/
#nav-open.active span {
	background-color: #fff;
	-webkit-transform: translateY(10px) rotate(-45deg);
	transform: translateY(10px) rotate(-45deg);
}
#nav-open.active span::before {
	-webkit-transform: translateY(-10px) rotate(45deg);/*打ち消す*/
	transform: translateY(-10px) rotate(45deg);/*打ち消す*/
	opacity: 0;
}
#nav-open.active span:after {
	background-color: #fff;
	-webkit-transform: translateY(-24px) rotate(45deg);
	transform: translateY(-24px) rotate(90deg);
}


@media (max-width: 767px){
	#nav-open {
		top: 15px;
		right: 5px;
	}

	/*中身*/
	#nav-content {
		width: 100%;
		height: 100%;
		bottom: 0;
		left: 0;
		right: 0;
		margin: auto;
		transition: .2s ease-in-out;
		overflow: inherit;
	}

	#nav-content.open {
		opacity: 1;
		overflow: auto;
		position: fixed;
		left: 0;
		right: inherit;
		z-index: 99999;
		width: 100%;
		overflow: hidden;
	}


}


@media (min-width: 768px) and (max-width: 980px) {


}
