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

	ログイン対策

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

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

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

	/* 中身 */
	body.customize-support .toggleWrap {
		margin-top: 32px;
		height: calc( 100% - 32px );
	}
}

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

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

	/* 中身 */
	body.customize-support .toggleWrap {
		margin-top: 46px;
		height: calc( 100% - 46px );
	}

}




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

	SPハンバーガーボタン

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

/* SP設定
----------------------------------------------- */
@media (max-width: 767px) {
	.toggle {
		display: block;
		background-color: #257DA8;
		text-align: center;
		width: 12.8vw;
		height: 12.8vw;
		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: 37%;
	}
	.trigger span {
		position: absolute;
		left: 0;
		width: 100%;
		background-color: #fff;
	}
	.trigger span:nth-of-type(1) {
		top: 0;
	}
	.trigger span:nth-of-type(2)::after {
		position: absolute;
		top: 0;
		left: 0;
		content: '';
		width: 100%;
		background-color: #fff;
		-webkit-transition: all .4s;
		transition: all .4s;
	}
	.trigger span:nth-of-type(3) {
		bottom: 0;
	}

	/* 線の太さ */
	.trigger span,
	.trigger span:nth-of-type(2)::after {
		height: 2px;
	}
	.trigger span:nth-of-type(2) {
		top: 50%;
		margin-top: -1px; /* 太さの半分の値 */
	}
}




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

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

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

/* ①オーソドックス
-------------------------------------------------------- */
.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);
}



/* ②中央のラインが消え、上下のラインでクローズボタンに
-------------------------------------------------------- */
/*
.trigger.active span:nth-of-type(1) {
	-webkit-transform: translateY(10px) rotate(-45deg);
	transform: translateY(10px) rotate(-45deg);
}
.trigger.active span:nth-of-type(2) {
	opacity: 0;
}
.trigger.active span:nth-of-type(3) {
	-webkit-transform: translateY(-10px) rotate(45deg);
	transform: translateY(-10px) rotate(45deg);
}
*/



/* ③中央のラインが消え、上下のラインが回転しながらクローズボタンに
-------------------------------------------------------- */
/*
.trigger.active span:nth-of-type(1) {
	-webkit-transform: translateY(10px) rotate(-315deg);
	transform: translateY(10px) rotate(-315deg);
}
.trigger.active span:nth-of-type(2) {
	opacity: 0;
}
.trigger.active span:nth-of-type(3) {
	-webkit-transform: translateY(-10px) rotate(315deg);
	transform: translateY(-10px) rotate(315deg);
}
*/



/* ④メニュー全体が回転しながらクローズボタンに #1
-------------------------------------------------------- */
/*
.trigger.active {
	-webkit-transform: rotate(360deg);
	transform: rotate(360deg);
}
.trigger.active span:nth-of-type(1) {
	-webkit-transform: translateY(10px) rotate(-45deg);
	transform: translateY(10px) rotate(-45deg);
}
.trigger.active span:nth-of-type(2) {
	-webkit-transform: translateY(0) rotate(45deg);
	transform: translateY(0) rotate(45deg);
}
.trigger.active span:nth-of-type(3) {
	opacity: 0;
}
*/



/* ⑤メニュー全体が回転しながらクローズボタンに #2
-------------------------------------------------------- */
/*
.trigger span:nth-of-type(3),
.trigger.active span:nth-of-type(3) {
	transition: none;
}
.trigger.active {
	-webkit-transform: rotateX(720deg);
	transform: rotateX(720deg);
}
.trigger.active span:nth-of-type(1) {
	-webkit-transform: translateY(10px) rotate(-45deg);
	transform: translateY(10px) rotate(-45deg);
}
.trigger.active span:nth-of-type(2) {
	-webkit-transform: translateY(0) rotate(45deg);
	transform: translateY(0) rotate(45deg);
}
.trigger.active span:nth-of-type(3) {
	opacity: 0;
}
*/



/* ⑥中央ラインの位置がずれながら消えていく
-------------------------------------------------------- */
/*
.trigger.active span:nth-of-type(1) {
	-webkit-transform: translateY(10px) rotate(-45deg);
	transform: translateY(10px) rotate(-45deg);
}
.trigger.active span:nth-of-type(2) {
	left: 50%;
	opacity: 0;
	-webkit-animation: active-menu-bar02 .8s forwards;
	animation: active-menu-bar02 .8s forwards;
}
@-webkit-keyframes active-menu-bar02 {
	100% {
		height: 0;
	}
}
@keyframes active-menu-bar02 {
	100% {
		height: 0;
	}
}
.trigger.active span:nth-of-type(3) {
	-webkit-transform: translateY(-10px) rotate(45deg);
	transform: translateY(-10px) rotate(45deg);
}
*/



/* ⑦中央ラインが飛んでいく
-------------------------------------------------------- */
/*
.trigger.active span:nth-of-type(1) {
	-webkit-transform: translateY(10px) rotate(-45deg);
	transform: translateY(10px) rotate(-45deg);
}
.trigger.active span:nth-of-type(2) {
	left: 200%;
	opacity: 0;
	-webkit-transform: translateY(10px);
	transform: translateY(10px);
	-webkit-animation: active-menu-bar02 .8s forwards;
	animation: active-menu-bar02 .8s forwards;
}
@-webkit-keyframes active-menu-bar02 {
	100% {
		height: 0;
	}
}
@keyframes active-menu-bar02 {
	100% {
		height: 0;
	}
}
.trigger.active span:nth-of-type(3) {
	-webkit-transform: translateY(-10px) rotate(45deg);
	transform: translateY(-10px) rotate(45deg);
}
*/



/* ⑧ラインがひとつになり、その後クローズボタンに
-------------------------------------------------------- */
/*
.trigger span:nth-of-type(1) {
	-webkit-animation: menu-bar01 .75s forwards;
	animation: menu-bar01 .75s forwards;
}

@-webkit-keyframes menu-bar01 {
	0% {
		-webkit-transform: translateY(10px) rotate(45deg);
	}
	50% {
		-webkit-transform: translateY(10px) rotate(0);
	}
	100% {
		-webkit-transform: translateY(0) rotate(0);
	}
}

@keyframes menu-bar01 {
	0% {
		transform: translateY(10px) rotate(45deg);
	}
	50% {
		transform: translateY(10px) rotate(0);
	}
	100% {
		transform: translateY(0) rotate(0);
	}
}

.trigger span:nth-of-type(2) {
	transition: all .25s .25s;
	opacity: 1;
}

.trigger span:nth-of-type(3) {
	-webkit-animation: menu-bar02 .75s forwards;
	animation: menu-bar02 .75s forwards;
}

@-webkit-keyframes menu-bar02 {
	0% {
		-webkit-transform: translateY(-10px) rotate(-45deg);
	}
	50% {
		-webkit-transform: translateY(-10px) rotate(0);
	}
	100% {
		-webkit-transform: translateY(0) rotate(0);
	}
}

@keyframes menu-bar02 {
	0% {
		transform: translateY(-10px) rotate(-45deg);
	}
	50% {
		transform: translateY(-10px) rotate(0);
	}
	100% {
		transform: translateY(0) rotate(0);
	}
}

.trigger.active span:nth-of-type(1) {
	-webkit-animation: active-menu-bar01 .75s forwards;
	animation: active-menu-bar01 .75s forwards;
}

@-webkit-keyframes active-menu-bar01 {
	0% {
		-webkit-transform: translateY(0) rotate(0);
	}
	50% {
		-webkit-transform: translateY(10px) rotate(0);
	}
	100% {
		-webkit-transform: translateY(10px) rotate(45deg);
	}
}

@keyframes active-menu-bar01 {
	0% {
		transform: translateY(0) rotate(0);
	}
	50% {
		transform: translateY(10px) rotate(0);
	}
	100% {
		transform: translateY(10px) rotate(45deg);
	}
}

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

.trigger.active span:nth-of-type(3) {
	-webkit-animation: active-menu-bar03 .75s forwards;
	animation: active-menu-bar03 .75s forwards;
}

@-webkit-keyframes active-menu-bar03 {
	0% {
		-webkit-transform: translateY(0) rotate(0);
	}
	50% {
		-webkit-transform: translateY(-10px) rotate(0);
	}
	100% {
		-webkit-transform: translateY(-10px) rotate(-45deg);
	}
}

@keyframes active-menu-bar03 {
	0% {
		transform: translateY(0) rotate(0);
	}
	50% {
		transform: translateY(-10px) rotate(0);
	}
	100% {
		transform: translateY(-10px) rotate(-45deg);
	}
}
*/



/* ⑨クローズボタン変形前に波紋エフェクトを加える
-------------------------------------------------------- */
/*
.trigger span:nth-of-type(1) {
	-webkit-animation: menu-bar01 .5s forwards;
	animation: menu-bar01 .5s forwards;
}

@-webkit-keyframes menu-bar01 {
	0% {
		-webkit-transform: translateY(10px) rotate(-45deg);
	}
	100% {
		-webkit-transform: translateY(0) rotate(0);
	}
}

@keyframes menu-bar01 {
	0% {
		transform: translateY(10px) rotate(-45deg);
	}
	100% {
		transform: translateY(0) rotate(0);
	}
}

.trigger span:nth-of-type(2) {
	-webkit-animation: menu-bar02 .5s forwards;
	animation: menu-bar02 .5s forwards;
}

@-webkit-keyframes menu-bar02 {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@keyframes menu-bar02 {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

.trigger span:nth-of-type(3) {
	-webkit-animation: menu-bar03 .5s forwards;
	animation: menu-bar03 .5s forwards;
}

@-webkit-keyframes menu-bar03 {
	0% {
		-webkit-transform: translateY(-10px) rotate(45deg);
	}
	100% {
		-webkit-transform: translateY(0) rotate(0);
	}
}

@keyframes menu-bar03 {
	0% {
		transform: translateY(-10px) rotate(45deg);
	}
	100% {
		transform: translateY(0) rotate(0);
	}
}

.trigger::after {
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	content: '';
	width: 30px;
	height: 30px;
	margin: -16px 0 0 -16px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .3);
	transition: all .1s;
	opacity: 0;
}

.trigger.active::after {
	-webkit-animation: circle .5s;
	animation: circle .5s;
}

@-webkit-keyframes circle {
	0% {
		-webkit-transform: scale(.1);
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
	100% {
		-webkit-transform: scale(3.5);
		opacity: 0;
	}
}

@keyframes circle {
	0% {
		transform: scale(.1);
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
	100% {
		transform: scale(3.5);
		opacity: 0;
	}
}

.trigger.active span:nth-of-type(1) {
	-webkit-animation: active-menu-bar01 .5s .5s forwards;
	animation: active-menu-bar01 .5s .5s forwards;
}

@-webkit-keyframes active-menu-bar01 {
	0% {
		-webkit-transform: translateY(0) rotate(0);
	}
	100% {
		-webkit-transform: translateY(10px) rotate(-45deg);
	}
}

@keyframes active-menu-bar01 {
	0% {
		transform: translateY(0) rotate(0);
	}
	100% {
		transform: translateY(10px) rotate(-45deg);
	}
}

.trigger.active span:nth-of-type(2) {
	-webkit-animation: active-menu-bar02 .5s .5s forwards;
	animation: active-menu-bar02 .5s .5s forwards;
}

@-webkit-keyframes active-menu-bar02 {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

@keyframes active-menu-bar02 {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

.trigger.active span:nth-of-type(3) {
	-webkit-animation: active-menu-bar03 .5s .5s forwards;
	animation: active-menu-bar03 .5s .5s forwards;
}

@-webkit-keyframes active-menu-bar03 {
	0% {
		-webkit-transform: translateY(0) rotate(0);
	}
	100% {
		-webkit-transform: translateY(-10px) rotate(45deg);
	}
}

@keyframes active-menu-bar03 {
	0% {
		transform: translateY(0) rotate(0);
	}
	100% {
		transform: translateY(-10px) rotate(45deg);
	}
}
*/




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

	ハンバーガーメニューの中身 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: #EFF8FF;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		overflow-y:auto;
		z-index: 9997;
		opacity: 0;
		padding: 30px 20px;
	}
	.toggleWrap.toggleWrap_pc {
		display: none;
	}

	.animation {
		opacity: 1;
	}

	.mainNav > li {
		border-bottom: 1px solid #a9bcc6;
	}
	.mainNav > li.pushy-submenu > button {
		font-family: inherit; /* buttonバグ対策 */
	}
	.mainNav > li > a,
	.mainNav > li.pushy-submenu > button {
		display: block;
		text-decoration: none;
		color: #000000;
		padding: 1.2em 0;
		text-align: center;
		font-size: 4vw;
		font-weight: 400;
	}




	/* 電話・地図
	-------------------------------------------------------- */
	.mainNavBottom {
		margin-bottom: 20px;
		
	}
	.mainNavBottom > li {
		float: left;
		width: 50%;
		border-bottom: 1px solid #a9bcc6;
	}
	.mainNavBottom > li:first-of-type {
		border-right: 1px solid #a9bcc6;
	}
	.mainNavBottom > li > a {
		display: block;
		text-decoration: none;
		color: #000000;
		padding: 1.2em 0;
		text-align: center;
		font-size: 5vw;
		font-weight: 400;
	}




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

	}
	.pushy-submenu > button {
		position: relative;
		width: 100%;
		padding: 1em 2em;
		text-align: left;
		background: transparent;
		border: 0;
		cursor: pointer;
	}
	.pushy-submenu > button::after {
		content: '';
		display: block;
		position: absolute;
		margin: 0;
		top: 50%;
		right: 3vw;
		content: "＋";
		font-size: 4vw;
		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 1em 1px;
	}
	.pushy-submenu ul li:last-of-type {
		margin: 0 1em 1em;
	}
	.pushy-submenu ul li a {
		display: block;
		background-color: #888888;
		color: #ffffff;
		font-size: 4vw;
		font-weight: 300;
		padding: 0.6em;
	}


	/* サブメニュー閉じる */
	.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;
	}

}