﻿@charset "utf-8";
/* ------------------------------
   MEDIAQUERIES[SP]LAYOUT
------------------------------ */
@media only screen and (max-width: 768px) {
	#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 #switchBtn {
		top: 10px;
		right: 10px;
		width: 40px;
		height: 50px;
		display: block;
		background: #333333;
		position: fixed;
		border-radius: 5px;
		z-index: 9998;
	}
	#switchBtnArea #switchBtn:after {
		position: absolute;
		bottom: 2px;
		content: "MENU";
		color: #FFF;
		font-size: 10px;
		font-weight: bold;
		text-align:center;
		width: 40px;
		left: 0;
	}

	#switchBtnArea #switchBtn span {
		right: 20%;
		width: 60%;
		height: 4px;
		display: block;
		position: absolute;
		background-color: #fff;
		border-radius: 5px;
		transition: all 0.2s linear;
	}
	#switchBtnArea #switchBtn span:nth-of-type(1) {
		top: 10px;
		-webkit-transform: rotate(0);
		transform: rotate(0);
	}
	#switchBtnArea #switchBtn span:nth-of-type(2) {
		top: 18px;
		-webkit-transform: scale(1);
		transform: scale(1);
	}
	#switchBtnArea #switchBtn span:nth-of-type(3) {
		bottom: 20px;
		-webkit-transform: rotate(0);
		transform: rotate(0);
	}

	#switchBtnArea #switchBtn.btnClose {
		background: transparent;
		height: 40px;
	}
	#switchBtnArea #switchBtn.btnClose span:nth-of-type(1) {
		top: 18px;
		-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: 18px;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	#switchBtnArea #switchBtn.btnClose:after {
		display: none;
	}

	#rwdMenuWrap {
		top: 0;
		left: -200px;
		width: 200px;
		height: 100%;
		background: #333333;
		overflow: auto;
		position: fixed;
		z-index: 9999;
	}

	#rwdMenuWrap ul {
		width: 100%;
	}

	#rwdMenuWrap ul li {
		width: 100%;
		border-bottom: #DDDDDD 1px solid;
	}

	#rwdMenuWrap ul li a {
		position: relative;
		display: block;
		padding: 15px 20px;
		background: #FFFFFF;
		text-align: left;
		text-decoration: none;
	}

	#rwdMenuWrap ul li a:after {
		content: '';
		margin-top: -4px;
		top: 50%;
		right: 15px;
		width: 8px;
		height: 8px;
		color: #888;
		font-size: 1em;
		font-weight: bold;
		line-height: 1.2em;
		display: block;
		position: absolute;
		border-top: 2px solid #b0b0b0;
		border-right: 2px solid #b0b0b0;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}
}

/* ------------------------------
   CLEARFIX ELEMENTS
------------------------------ */
#menu > ul:before,
#menu > ul:after {
	content: " ";
	display: table;
}
#menu > ul:after {clear: both;}
#menu > ul {*zoom: 1;}
