/*
- Name: megamenu.js - style.css
- Version: 1.0
- Latest update: 29.01.2016.
- Author: Mario Loncarek
- Author web site: http://marioloncarek.com
*/


/* ––––––––––––––––––––––––––––––––––––––––––––––––––
Body - not related to megamenu
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.description {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
}



/* ––––––––––––––––––––––––––––––––––––––––––––––––––
megamenu.js STYLE STARTS HERE
–––––––––––––––––––––––––––––––––––––––––––––––––– */


/* ––––––––––––––––––––––––––––––––––––––––––––––––––
Screen style's
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.menu-container {
	width: 100%;
	margin: 0 0 0;
}

.menu-container * {
	box-sizing: border-box;
}

.menu-container a {
	color: #333;
}

.menu-mobile {
	display: none;
}

.menu > ul {
	display: flex;
	justify-content: space-between;
	margin: 0;
	width: 100%;
	list-style: none;
	padding: 0;
	position: relative;
	box-sizing: border-box;
	/* IF .menu position=relative -> ul = container width, ELSE ul = 100% width */
}

.menu > ul > li {
	float: left;
	width: 17%;
	padding: 5px 0 0;
	box-sizing: border-box;
	margin: 0;
	list-style: none;
	position: relative;
	text-align: center;
}

.menu > ul > li a {
	font-size: 18px;
	font-size: 1.8rem;
	display: block;
	box-sizing: border-box;
	transition: all .3s;
}

.menu > ul > li a:hover,
.menu > ul > li.current a {
	color: #fe96ce;
}



/* ––––––––––––––––––––––––––––––––––––––––––––––––––
Mobile style's
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media only screen and (max-width: 1024px) {
	.header_logo_area {
		position: fixed;
		z-index: 1000000;
		top: 0;
		left: 0;
		background-color: #fff;
		width: 100%;
		height: 65px;
		padding: 0;
		box-shadow: 0px 4px 5px -2px rgba(10,10,10,0.1);
	}

	.mobile_header {
		position: relative;
	}

	.menu-container {
		width: 100%;
	}

	.menu-mobile {
		display: block;
	}

	.menu-dropdown-icon:before {
		display: block;
	}

	.menu {
		position: fixed;
		top: 0;
		left: 150%;
		width:100%;
		transition: all 0.5s;
		z-index: 9999;
		background: #fff;
	}

	.menu.panelactive {
		left: 0%;
		transition: all 0.5s;
	}

	.menu > ul {
		height: unset;
		display: block;
		padding: 0;
	}

	.menu > ul > li {
		width: 100%;
		float: none;
		display: block;
		position: relative;
		font-size: 1.8rem;
		padding: 0;
	}

	.menu > ul > li a {
		padding: 16px 0;
		width: 100%;
		display: block;
		background: #fffce8;
		border-bottom: 1px dotted #ccc;
	}

	.menu > ul > li.current a,
	.menu > ul > li a:hover {
		background: #fff;
	}

}



/*==================================
グローバルメニューのボタンの設定
==================================*/

.overlay {
	content: "";
	display: block;
	width: 0;
	height: 0;
	background-color: rgba(0,0,0,.7);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 150;
	opacity: 0;
	transition: opacity .5s;
	overflow: hidden;
}

.overlay.open {
	width: 100%;
	height: 100%;
	opacity: 0;
}



@media screen and (max-width : 1024px) {
	.openbtn1{
		position: relative;
		position: fixed;
		top: 0;
		right: 0;
		background: #fe96ce;
		cursor: pointer;
		width: 65px;
		height: 65px;
		z-index: 9999999999;
	}

	.openbtn1 span {
		display: inline-block;
		transition: all .4s;
		position: absolute;
		left: 52%;
		height: 5px;
		border-radius: 2px;
		background: #fff;
		width: 55%;
		transform: translate(-50%, -50%);
		-webkit-transform: translate(-50%, -50%);
		-ms-transform: translate(-50%, -50%);
	}

	.openbtn1 span:nth-of-type(1) {
		top: 31%;
	}

	.openbtn1 span:nth-of-type(2) {
		top: 50%;
	}

	.openbtn1 span:nth-of-type(3) {
		top: 69%;
	}

	.openbtn1.active span:nth-of-type(1) {
		top: 38%;
		left: 25%;
		transform: translateY(6px) rotate(-45deg);
		width: 55%;
	}

	.openbtn1.active span:nth-of-type(2) {
		opacity: 0;
	}

	.openbtn1.active span:nth-of-type(3) {
		top: 57%;
		left: 25%;
		transform: translateY(-6px) rotate(45deg);
		width: 55%;
	}

	.overlay.open {
		width: 100%;
		height: 100%;
		opacity: 0.5;
		position: fixed;
		z-index: 9;
	}

		.mobile_bottom_btn_area {
		z-index: 9999999999;
		position: fixed;
		bottom: 0;
		width: 100%;
	}

	.mobile_bottom_btn {
		display: flex;
		justify-content: space-between;
	}

	.mobile_bottom_btn a {
		width: 50%;
		font-size: 18px;
		font-size: 1.8rem;
		line-height: 1;
		color: #fff;
		background-color: #fe96ce;
		text-align: center;
		padding: 21px 0;
		box-sizing: border-box;
	}

	.mobile_bottom_btn a:hover {
		background-color: #ff81c4;
	}

	.mobile_bottom_btn a:first-child {
		background-color: #28c2e8;
	}

	.mobile_bottom_btn a:first-child:hover {
		background-color: #20a1c1;
	}

}

