/* ================================================================================

	ログイン対策

================================================================================ */

/* PC設定
----------------------------------------------- */
@media (min-width: 768px) {

	/* ハンバーガーボタン */
	body.customize-support .toggle {
		margin-top: 32px;
	}

	/* 中身 */
	body.customize-support .toggleWrap {
		margin-top: 32px;
	}
}

/* SP設定
----------------------------------------------- */
@media (max-width: 767px) {

	/* ハンバーガーボタン */
	body.customize-support .toggle {
		margin-top: 46px;
	}

	/* 中身 */
	body.customize-support .toggleWrap {
		margin-top: 46px;
	}

}




/* ================================================================================

	ハンバーガーボタン

================================================================================ */
.toggle {
	display: block;
	background-color: #20ACCA;
	text-align: center;
	width: 50px;
	height: 50px;
	position: fixed;
	top: 0;
	right: 0;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	cursor: pointer;
	z-index: 9998;
}

.trigger,
.trigger span {
	display: inline-block;
	-webkit-transition: all .4s;
	transition: all .4s;
}
.trigger {
	position: relative;
	width: 50%;
	height: 44%;
}
.trigger span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 3px;
	background-color: #ffffff;
}
.trigger span:nth-of-type(1) {
	top: 0;
}
.trigger span:nth-of-type(2) {
	top: 42%;
}
.trigger span:nth-of-type(2)::after {
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	width: 100%;
	height: 3px;
	background-color: #ffffff;
	-webkit-transition: all .4s;
	transition: all .4s;
}
.trigger span:nth-of-type(3) {
	bottom: 0;
}





/* ================================================================================

	ハンバーガーボタンのアニメーション
	※使いたいものをコメントアウトから外してください。

================================================================================ */

/* ①オーソドックス
-------------------------------------------------------- */
.trigger.active span:nth-of-type(1) {
	-webkit-transform: translateY(8px) scale(0);
	transform: translateY(8px) scale(0);
}
.trigger.active span:nth-of-type(2) {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
.trigger.active span:nth-of-type(2)::after {
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
}
.trigger.active span:nth-of-type(3) {
	-webkit-transform: translateY(-8px) scale(0);
	transform: translateY(-8px) scale(0);
}




/* ================================================================================

	ハンバーガーメニューの中身 PC

================================================================================ */

/* PC設定
-------------------------------------------------------- */
@media screen and (min-width: 768px) {
	.toggle {
		display: none;
	}

	.toggleWrap {
		display: none;
	}
}




/* ================================================================================

	ハンバーガーメニューの中身 SP

================================================================================ */

/* SP設定
------------------------------------------- */
@media (max-width: 767px) {

	.toggleWrap {
		position: fixed;
		background-color: #ffffff;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		overflow-y:auto;
		z-index: 9997;
		opacity: 0;
	}
	.toggleWrap.toggleWrap_pc {
		display: none;
	}

	.animation {
		opacity: 1;
	}

	.mainNav > li {
		border-bottom: 1px solid #666666;
	}
	.mainNav > li.pushy-submenu > button {
		font-family: inherit; /* buttonバグ対策 */
	}
	.mainNav > li > a,
	.mainNav > li.pushy-submenu > button {
		display: block;
		text-decoration: none;
		text-align: center;
	}
	.mainNav img {
		width: auto;
		height: 20vw;
	}




	/* 電話・地図
	-------------------------------------------------------- */
	.mainNavBottom {
		
	}
	.mainNavBottom > li {
		float: left;
		width: 50%;
		border-bottom: 1px solid #666666;
	}
	.mainNavBottom > li:first-of-type {
		border-right: 1px solid #666666;
	}
	.mainNavBottom > li > a {
		display: block;
		text-decoration: none;
		text-align: center;
	}
	.mainNavBottom img {
		width: auto;
		height: 20vw;
	}




	/* サブメニュー
	-------------------------------------------------------- */
	.pushy-submenu {

	}
	.pushy-submenu > button {
		position: relative;
		width: 100%;
		padding: 15px 30px;
		text-align: left;
		background: transparent;
		border: 0;
		cursor: pointer;
	}
	.pushy-submenu > button::after {
		content: '';
		display: block;
		position: absolute;
		margin: 0;
		top: 50%;
		right: 12px;
		content: "＋";
		font-size: 18px;
		line-height: 1;
		-webkit-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
		transform: translateY(-50%);
		transition: transform 1.0s;
	}

	.pushy-submenu ul {
		transition: all 0.4s ease-in-out;
		border-top: 1px solid #1b4577;
	}
	.pushy-submenu ul li {
		transition: all 0.2s 0.2s ease-in-out;
		text-align: center;
		margin: 0 16px 1px;
	}
	.pushy-submenu ul li:last-of-type {
		margin: 0 16px 16px;
	}
	.pushy-submenu ul li a {
		display: block;
		background-color: #888888;
		color: #ffffff;
		font-size: 14px;
		font-weight: 300;
		padding: 10px;
	}


	/* サブメニュー閉じる */
	.pushy-submenu-closed {

	}
	.pushy-submenu-closed ul {
		max-height: 0;
		overflow: hidden;
		visibility: hidden;
	}
	.pushy-submenu-closed li {
		opacity: 0;
	}


	/* サブメニュー開く */
	.pushy-submenu-open {

	}
	.pushy-submenu-open ul {
		max-height: 800px;
		visibility: visible;
	}
	.pushy-submenu-open li {
		opacity: 1;
	}
	.pushy-submenu-open > a::after,
	.pushy-submenu-open > button::after {
		content: "－";
	}



	/* メニューを閉じる時のスタイル
	display:none; を使用せず、opacityを使うとfadeっぽくなる
	-------------------------------------------------------- */
	.hide {
		opacity: 0;
		visibility: hidden;
		overflow: hidden;
	}

	/* アニメーションはメニューの開閉時のみでいいので
	.toggleWrapに書かず、別にclassを用意
	-------------------------------------------------------- */
	.animation {
		-webkit-transition-property: opacity, visibility;
		transition-property: opacity, visibility;
		-webkit-transition-duration: .3s;
						transition-duration: .3s;
		-webkit-transition-timing-function: ease-in;
						transition-timing-function: ease-in;
	}

	/* メニューオープン時のみ、メニューの後ろのコンテンツをスクロールさせない
	iOS safariには別途対応が必要（jQueryに記述）
	-------------------------------------------------------- */
	.no-scroll {
		overflow: hidden;
	}

}