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

	ログイン対策

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

/* 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: #6c4508;
		text-align: center;
		width: 13vw;
		height: 13vw;
		position: fixed;
		top: 2vw;
		right: 2vw;
		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: #ffffff;
	}
	.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: #ffffff;
		-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);
}




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

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

	.animation {
		opacity: 1;
	}

	.mainNav > li {
	}
	.mainNav > li > a {
		display: block;
		text-decoration: none;
		color: #8f5b0a;
		background-color: #ffffff;
		border-radius: 18vw;
		padding: 2vw 0;
		text-align: center;
		font-size: 4.3vw;
		font-weight: 400;
		line-height: 1.6;
		width: 80vw;
		margin: 0 auto;
	}
	.mainNav > li > a span {
		display: block;
		font-size: 3vw;
		color: #ff9c00;
		font-family: 'Work sans';
	}
	.mainNav > li:not(:first-child) {
		margin-top: 3vw;
	}




	/* 電話・地図
	-------------------------------------------------------- */
	.mainNavBottom {
		margin: 3vw 10vw 0;
	}
	.mainNavBottom > li {
		float: left;
		width: 48%;
	}
	.mainNavBottom > li:first-of-type {
		margin-right: 1.5vw;
	}
	.mainNavBottom > li:last-of-type {
		margin-left: 1.5vw;
	}
	.mainNavBottom > li > a {
		display: block;
		text-decoration: none;
		color: #8f5b0a;
		background-color: #ffffff;
		border-radius: 18vw;
		padding: 2vw 0;
		text-align: center;
		font-size: 4.3vw;
		font-weight: 400;
		line-height: 1.6;
		margin: 0 auto;
	}
	.mainNavBottom > li > a span {
		display: block;
		font-size: 3vw;
		color: #ff9c00;
		font-family: 'Work sans';
	}
	



	/* メニューを閉じる時のスタイル
	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;
	}

}