@charset "utf-8";
/*==================================================
  スマホ時のメニュー（ハンバーガーメニュー）
==================================================*/
@media only screen and (max-width: 1100px) {
	#menu {
		display: none;
	}
	#menuOverlay {
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0,0,0,0.6);
		display: none;
		position: fixed;
		z-index: 9997;
	}
	#switchBtnArea {
		width: 100%;
		position: relative;
	}
	#switchBtnArea,
	#switchBtnArea * {
		box-sizing: border-box;
	}
	/**/
	#switchBtnArea #switchBtn {
		position: fixed;
		top: 0;
		right: 0;
		display: block;
		width: 55px;
		height: 55px;
		background: #333;
		z-index: 9998;
	}
	#switchBtnArea #switchBtn:after {
		position: absolute;
		bottom: 5px;
		left: 0;
		display: block;
		width: 100%;
		color: #fff;
		font-size: 10px;
		text-align: center;
		content: "メニュー";
	}
	#switchBtnArea #switchBtn span {
		right: 25%;
		width: 50%;
		height: 2px;
		display: block;
		position: absolute;
		background-color: #fff;
		border-radius: 5px;
		transition: all 0.2s linear;
	}
	#switchBtnArea #switchBtn span:nth-of-type(1) {
		top: 13px;
		-webkit-transform: rotate(0);
		transform: rotate(0);
	}
	#switchBtnArea #switchBtn span:nth-of-type(2) {
		top: 21px;
		-webkit-transform: scale(1);
		transform: scale(1);
	}
	#switchBtnArea #switchBtn span:nth-of-type(3) {
		bottom: 24px;
		-webkit-transform: rotate(0);
		transform: rotate(0);
	}
	/**/
	#switchBtnArea #switchBtn.btnClose {
		background: transparent;
		z-index: 99999;
	}
	#switchBtnArea #switchBtn.btnClose:after {
		content: "閉じる";
	}
	#switchBtnArea #switchBtn.btnClose span:nth-of-type(1) {
		top: 21px;
		-webkit-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}
	#switchBtnArea #switchBtn.btnClose span:nth-of-type(2) {
		-webkit-transform: scale(0);
		transform: scale(0);
	}
	#switchBtnArea #switchBtn.btnClose span:nth-of-type(3) {
		bottom: 32px;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	/**/
	#rwdMenuWrap {
		top: 0;
		right: -100%;
		width: 100%;
		height: 100%;
		padding: 20px;
		background: rgba(0,0,0,0.8);
		overflow: auto;
		position: fixed;
		z-index: 9999;
	}
	#rwdMenuWrap nav {
		height: 100%;
	}
	#rwdMenuWrap ul {
		padding-top: 75px;
		background: url("../img/title-sp.png") no-repeat left top / 250px auto;
		/* フレックス */
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 10px;
	}
	#rwdMenuWrap ul li {
		width: calc(50% - 5px);
		color: #fff;
		text-align: center;
	}
	#rwdMenuWrap ul li:first-child {
		width: 100%;
	}
	#rwdMenuWrap ul li a {
		position: relative;
		display: block;
		padding: 15px 0;
		background: #333;
		text-align: center;
		text-decoration: none;
		color: #fff;
		font-size: 16px;
	}
	#rwdMenuWrap ul li.current_page_item a,
	#rwdMenuWrap ul li.on a {
		background: #ff0008 !important;
		color: #fff !important;
	}
	#rwdMenuWrap ul li:not(.current_page_item) a::after,
	#rwdMenuWrap ul li:not(.on) a:after {
		position: absolute;
		right: 0;
		bottom: 0;
		border-style: solid;
		border-width: 0 0 15px 15px;
		border-color: transparent transparent #a79118 transparent;
		content: "";
	}
	#rwdMenuWrap ul li.join a {
		background: #ccc;
		color: #333;
	}
	#rwdMenuWrap ul li.sub,
	#rwdMenuWrap ul li.bana {
		width: 100%;
	}
	#rwdMenuWrap ul li.bana a {
		display: block;
		padding: 12px 15px;
		background: #333 url("../img/menu/bg_contact_off.jpg") no-repeat right bottom / auto 100%;
		color: #fff;
		font-size: 18px;
		text-align: left;
	}
	#rwdMenuWrap ul li.bana a::after {
		display: none;
	}
	#rwdMenuWrap ul li.bana.current_page_item a,
	#rwdMenuWrap ul li.bana.on a {
		background: #ff0008 url("../img/menu/bg_contact_on.jpg") no-repeat right bottom /auto 100%;
		color: #fff;
	}
}
@media only screen and (max-width: 640px){ /* スマホ用 */
	#rwdMenuWrap ul li a {
		font-size: 90%;
	}
}
