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

	PCハンバーガーボタン

================================================================================ */
@media print, screen and (min-width: 768px) {

	/* ログイン対策 */
	body.customize-support .toggle,
	body.customize-support .toggleWrap {
		margin-top: 32px;
	}


	/* ハンバーガーボタン
	-------------------------------------------------------- */
	.toggle {
		display: block;
		color: #37414f;
		text-align: center;
		width: 60px;
		height: 60px;
		position: absolute;
		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;
		background: #21397e;
		transition-property: all;
		transition-duration: 0.3s;
		transition-timing-function: ease-in-out;
		transition-delay: 0s;
		z-index: 10000000;
		margin: -10px 0 0 -20px;
	}
	.toggle:hover {
		opacity: 0.6;
	}

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




	/* スクロール後
	-------------------------------------------------------- */
	.toggle.scroll {
		width: 6vw;
		height: 4vw;
		transition-property: all;
		transition-duration: 0.3s;
		transition-timing-function: ease-in-out;
		transition-delay: 0s;
	}



	/* ハンバーガーボタンのアニメーション
	-------------------------------------------------------- */

	.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 {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		overflow: hidden;
		z-index: 9999;
		opacity: 0;

	}
	.toggleWrap_in {
		width: 100%;
		height: 100%;
		margin: 0 0 0 auto;
		transform: translateX(0px);
		-webkit-transform: translateX(0px);
		-ms-transform: translateX(0px);
		transition-property: all;
		transition-duration: 0.3s;
		transition-timing-function: ease-in-out;
		transition-delay: 0s;
		color: #FFF;
		background: #21397e;
	}
	.toggleWrap_in a{
		color:#FFF;
	}
	.toggleWrap_in a:hover{
		color:#FFF!important;
	}
	.toggleWrap.hide .toggleWrap_in {
		transform: translateY(-100%);
		-webkit-transform: translateY(-100%);
		-ms-transform: translateY(-100%);
		transition-property: all;
		transition-duration: 0.3s;
		transition-timing-function: ease-in-out;
		transition-delay: 0s;
	}
	.toggleWrap_in_in {
		position: absolute;
		width: 100%;
		top: 42%;
		left: 50%;
		transform: translateY(-50%) translateX(-50%);
		text-align: center;
	}
	.toggleWrap_in_in_in {
		display: inline-block;
		text-align: left;
	}

	.animation {
		opacity: 1;
	}
	.mainNav{
		font-size: 0;
		letter-spacing: -.4em; /* 文字間を詰めて隙間をなくす */
	}
	.mainNav > li {
		display: inline-block;
		vertical-align: top;
		text-align: left;
		padding: 0 2.3vw;
		border-right: 1px solid #2F4C91;
		font-size: 1.8vw;
		letter-spacing: normal; /* 文字間を元に戻す */
	}
	/* 1段目 */
	.mainNav:nth-of-type(1) > li {
		height: 16.5vw;
	}
	/* 2段目 */
	.mainNav:nth-of-type(2) {
		margin-top: 3vw;
	}
	.mainNav:nth-of-type(2) > li {
		height: 11vw;
	}


	.mainNav > li:first-child{
		border-left: 1px solid #2F4C91;
	}
	.mainNav > li:first-of-type {
	}
	.mainNav > li.pushy-submenu > button {
		font-family: inherit; /* buttonバグ対策 */
	}
	.mainNav > li > a,
	.mainNav .nav_index,
	.mainNav .nav_index a {
		display: block;
		color: #FFF;
		font-weight: 400;
	}
	ul.nav_list{
		margin-top: 0.6vw;
	}
	ul.nav_list a{
		color: #FFF;
	}

	.mainNav > li > a:hover {
		opacity: 1;
		color: #FFF;
	}
	.mainNav > li > ul > li {
		line-height: 1.3;
	}
	.mainNav > li > ul > li a {
		font-size: 0.7em;
		line-height: 2;
	}




	/* メニューを閉じる時のスタイル
	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 only screen and (max-width: 767px) {

	/* ログイン対策 */
	body.customize-support .toggle,
	body.customize-support .toggleWrap {
		margin-top: 46px;
	}


	/* ハンバーガーボタン
	-------------------------------------------------------- */
	.toggle {
		display: block;
		background-color: transparent;
		color: #fff;
		text-align: center;
		width: 58px;
		height: 58px;
		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: 99999;
		background: #1f328c;
	}

	.trigger,
	.trigger span {
		display: inline-block;
		-webkit-transition: all .4s;
		transition: all .4s;
	}
	.trigger {
		position: relative;
		width: 30px;
		height: 23px;
		margin-left: 2px;
	}
	.trigger span {
		position: absolute;
		left: 0;
		width: 100%;
		height: 3px;
		background-color: #FFF;
	}
	.trigger span:nth-of-type(1) {
		top: 0;
	}
	.trigger span:nth-of-type(2) {
		top: 10px;
	}
	.trigger span:nth-of-type(2)::after {
		position: absolute;
		top: 0;
		left: 0;
		content: '';
		width: 100%;
		height: 3px;
		background-color: #FFF;
		-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 {
		position: fixed;
		background: #1f328c;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		overflow-y:auto;
		z-index: 9999;
		opacity: 0;
	}
	.toggleWrap_in {
		background: #FFF;
	}

	.animation {
		opacity: 1;
	}

	.mainNav > li {
	border-bottom: 1px solid #DCDCDC;
	}
	.mainNav > li:first-of-type {
	}
	.mainNav > li.pushy-submenu > button {
		font-family: inherit; /* buttonバグ対策 */
	}
	.mainNav > li > a,
	.mainNav > li.pushy-submenu > button {
		display: block;
		text-decoration: none;
		color: #000;
		padding: 3vw 0;
		text-align: center;
		font-size: 4vw;
		font-weight: 300;
	}

	/* 現在いるページ */
	.mainNav > li.current > a {
		color: #006cc6;
	}
	.mainNav > li > a:hover {
		opacity: 1;
		color: #006cc6;
	}




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

	}
	.pushy-submenu > button {
		position: relative;
		width: 100%;
		padding: 2vw 0;
		text-align: left;
		background: transparent;
		border: 0;
		cursor: pointer;
	}
	.pushy-submenu > button::after {
		content: '';
		display: block;
		position: absolute;
		margin: 1vw 0 0 0;
		top: 50%;
		right: 12px;
		content: "\f132";
		font-size: 4vw;
		font-family: "dashicons";
		-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 #eee;
	}
	.pushy-submenu ul li {
		transition: all 0.2s 0.2s ease-in-out;
		padding: 0;
		text-align: center;
		margin: 0 0 1px 0;
	}
	.pushy-submenu ul li:last-of-type {
		margin: 0 0 0 0;
	}
	.pushy-submenu ul li a {
		display: block;
		background-color: #d9e1f0;
		color: #000000;
		font-size: 3.5vw;
		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: 400px;
		visibility: visible;
	}
	.pushy-submenu-open li {
		opacity: 1;
	}
	.pushy-submenu-open > a::after,
	.pushy-submenu-open > button::after {
		content: "\f460";
	}




	/* メニューを閉じる時のスタイル
	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-color: transparent;
		color: #fff;
		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: 99999;
		background: transparent;
	}
	.toggleWrap_in {
		width: 100%;
		height: 100%;
		margin: 0 0 0 auto;
		transform: translateX(0px);
		-webkit-transform: translateX(0px);
		-ms-transform: translateX(0px);
		transition-property: all;
		transition-duration: 0.3s;
		transition-timing-function: ease-in-out;
		transition-delay: 0s;
		color: #FFF;
		background: #21397e;
	}
	.toggleWrap_in_in_in ul{
		margin:0!important;
		margin-left: -11vw !important;
		text-align: left;
	}
	.nav_index{
		font-weight:600;
		margin-left: 4vw;
	}
	.nav_list{
		text-indent: 9vw;
		font-size: 4vw;
	}
	.mainNav > li {
	    border-bottom: 1px solid #576FB7;
	    padding: 5vw!important;
	}
	li.home{
		display:none;
	}
}