/*
- 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;
	margin: 0 auto;
	width: 100%;
	height: 38px;
	list-style: none;
	padding: 0 10px 0;
	position: relative;
	box-sizing: border-box;
	/* IF .menu position=relative -> ul = container width, ELSE ul = 100% width */
}

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

.menu > ul > li a {
	display: block;
	box-sizing: border-box;
}

.menu > ul > li a::after {
	content: "";
	transition: all .3s;
}

.archive .menu > ul > li#menu-item-848 a::after,
.single .menu > ul > li#menu-item-848 a::after,
.menu > ul > li a:hover::after,
.menu > ul > li.current a::after {
	position: absolute;
	bottom: 2px;
	left: 48%;
	content: "";
	width: 4px;
	height: 4px;
	line-height: 4px;
	background-color: #85bb48;
	border-radius: 50%;
}

.menu > ul > li:nth-child(5) {
	border-right: 1px dotted #85bb48;
}

.menu > ul > li:last-child {
	width: 28%;
	font-size: 2.3rem;
	padding: 0 0 0 20px;
}

.menu > ul > li:last-child a {
	display: block;
	color: #85bb48;
}

.menu > ul > li:last-child a:hover::after {
	background-color: rgba(255, 255, 255, 0);
}

.menu > ul > li a span {
	text-decoration: none;
	color: #333;
	padding: 0;
	display: block;
	font-size: 1.2rem;
	line-height: 1.2;
	text-align: left;
}

.menu > ul > li a span.menu_ttl_txt {
	color: #85bb48;
	font-size: 2rem;
	font-family: "TBUDRGothic B";
	line-height: 1.2;
	font-weight: 400;
	font-style: normal;
}



/* ––––––––––––––––––––––––––––––––––––––––––––––––––
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:last-child {
		display: none;
	}

	.archive .menu > ul > li#menu-item-848 a::after,
	.single .menu > ul > li#menu-item-848 a::after,
	.menu > ul > li a:hover::after,
	.menu > ul > li.current a::after {
		content: none;
	}

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

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

	.menu > ul > li a span {
		text-decoration: none;
		color: #fff;
		padding: 0;
		display: block;
		font-size: 2rem;
		text-align: center;
		line-height: 1.3;
	}

	.menu > ul > li a span.menu_ttl {
		padding: 5px 0 0;
		color: #111;
	}

	.menu > ul > li a span.menu_ttl_txt {
		margin-top: 0;
		padding: 0 0 5px;
		font-size: 2.2rem;
	}

	.menu > ul > li a:hover span.menu_ttl_txt {
		margin-top: 0;
	}

	.menu .show-on-mobile {
		display: block;
		background: rgba(0, 0, 0, 0.7);
		position: fixed;
		top: 65px;
		left: 0;
		z-index: 9999;
		overflow-y: scroll;
		width: 100%;
		height: 100%;
		max-height: 100%;
		/* IE8以下とAndroid4.3以下用フォールバック */
		max-height: calc(100% - 60px);
	}

}



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

.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-color: #3abbc7;
		cursor: pointer;
		width: 65px;
		height: 65px;
		z-index: 9999999999;
		transition: all .4s;
	}

	.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 {
		background-color: unset;
	}

	.openbtn1.active span {
		background-color: #3abbc7;
	}

	.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_btn_area {
		position: fixed;
		width: 100%;
		z-index: 999;
		bottom: 0;
		border-top: 1px solid #fff;
	}

	.mobile_btn_area ul {
		display: flex;
		margin: 0;
		padding: 0;
	}

	.mobile_btn_area ul li {
		flex: 1; 
		list-style: none;
		width: 100%;
	}

	.mobile_btn_area ul li a {
		font-size: 14px;
		font-size: 1.4rem;
		text-align: center;
		color: #fff;
		padding: 15.25px 0;
		box-sizing: border-box;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.mobile_btn_area ul li a i {
		font-size: 16px;
		font-size: 1.6rem;
		margin-right: 5px;
	}

	.mobile_btn_area .tel a {
		background-color: #25c2d7;
	}
	
	.mobile_btn_area .tel a:hover {
		background-color: #22b1c4;
	}
	
	.mobile_btn_area .web a {
		background-color: #e79c24;
	}
	
	.mobile_btn_area .web a:hover {
		background-color: #c58216;
	}
	
	.mobile_btn_area .mq a {
		background-color: #a2c34b;
	}
	
	.mobile_btn_area .mq a:hover {
		background-color: #89a73e;
	}

}

