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

/* ハンバーガーボタン
-------------------------------------------------------- */
.toggle {
	display: block;
	background: #fafcff;
	color: #0e749a;
	text-align: center;
	width: 4.6vw;
	height: 4.6vw;
	position: fixed;
	margin-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: 99999;
}
.trigger,
.trigger span {
	display: inline-block;
	-webkit-transition: all .4s;
	transition: all .4s;
}
.trigger {
	position: relative;
	width: 2.5vw;
	height: 1.5vw;
}
.trigger span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 0.15vw;
	background-color: #0e749a;
	border-radius: 4px;
}
.trigger span:nth-of-type(1) {
	top: 0;
}
.trigger span:nth-of-type(2) {
	top: 0.7vw;
}
.trigger span:nth-of-type(2)::after {
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	width: 100%;
	height: 0.15vw;
	background-color: #0e749a;
	border-radius: 4px;
	-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);
}







/* メニュー画面
-------------------------------------------------------- */
.toggleWrap {
	background: url(../img/) center top repeat;
	background-size: 100% auto;
	background-position: fixed;
	background-color: rgba(51,51,51,0.9);
	padding: 4vw 5.5vw 0;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow-y:auto;
	z-index: 9999;
	opacity: 0;
}
.animation {
	opacity: 1;
}


 ul.mainNav{
	font-size:0;
	text-align:center;
}
 ul.mainNav li{
	display:inline-block;
	vertical-align: top;
	padding: 0 0.5vw;
}
ul.mainNav li img{
	width: 12vw;
}
.mainNav a {
	display: block;
	text-decoration: none;
	color: #ffffff;
	/*padding: 1.7vmin 0;*/
	text-align: center;
	font-size: 3.7vmin;
	margin-bottom: 1px;
	/*background-color: rgba(0,0,0,0.9);*/
}


/* 電話・地図ボタン */
.mainNavBottom {
	margin-top: 21px;
	width: 77vw;
	background-color: #0e749a;
	text-align: center;
	margin-left: 6vw;
}

.mainNavBottom a {
	display: block;
	text-decoration: none;
	color: #ffffff;
	padding: 1.7vmin 0;
	text-align: center;
	font-size: 3.7vmin;
	margin-bottom: 1px;
	/*background-color: rgba(40,40,48,0.9);*/
	width: 76.5vw !important;
}

.mainNavBottom a:nth-of-type(1) {
	float: left;
}

.mainNavBottom a:nth-of-type(2) {
	float: right;
}










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

}



/* SP設定
------------------------------------------- */
@media (max-width: 767px) {
	/* ハンバーガーボタン
-------------------------------------------------------- */
.toggle {
	display: block;
	background: #fdff4f;
	color: #0e749a;
	text-align: center;
	width: 50px;
	height: 50px;
	position: fixed;
	margin-top: 10px;
	right: 10px;
	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: 99999;
}
.trigger,
.trigger span {
	display: inline-block;
	-webkit-transition: all .4s;
	transition: all .4s;
}
.trigger {
	position: relative;
	width: 28px;
	height: 19px;
}
.trigger span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 1px;
	background-color: #0e749a;
	border-radius: 4px;
}
.trigger span:nth-of-type(1) {
	top: 0;
}
.trigger span:nth-of-type(2) {
	top: 9px;
}
.trigger span:nth-of-type(2)::after {
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	width: 100%;
	height: 1px;
	background-color: #0e749a;
	border-radius: 4px;
	-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);
}







/* メニュー画面
-------------------------------------------------------- */
.toggleWrap {
	background: url(../img/) center top repeat;
	background-size: 100% auto;
	background-position: fixed;
	background-color: rgba(51,51,51,0.9);
	padding: 27vw 10.3vw 0;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow-y:auto;
	z-index: 9999;
	opacity: 0;
}
.animation {
	opacity: 1;
}

	
.mainNav li{
	padding-bottom: 2vw;
}	
.mainNav a img{
		width: 79.6vw;
	}
.mainNav a {
	display: block;
	text-decoration: none;
	color: #ffffff;
	text-align: center;
	font-size: 3.7vmin;
	margin-bottom: 1px;
	background-color: rgba(0,0,0,0.9);
}


/* 電話・地図ボタン */
.mainNavBottom {
	margin-top: 8px;
}

.mainNavBottom a {
	display: block;
	text-decoration: none;
	color: #ffffff;
	padding: 1.7vmin 0;
	text-align: center;
	font-size: 3.7vmin;
	margin-bottom: 1px;
	background-color: #0e749a;
	width: 49.8%;
}

.mainNavBottom a:nth-of-type(1) {
	float: left;
}

.mainNavBottom a:nth-of-type(2) {
	float: right;
}










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

}
