﻿@charset "utf-8";


/* ------------------------------
   #navi
------------------------------ */
/*
#navi {
	width: 100%;
	height: 45px;
	border-top: #aaa 1px solid;
	border-bottom: #aaa 1px solid;
	position: relative;
	z-index: 10;
	background: #ebebeb;
}

#navi ul {
	margin: 0 auto;
	width: 800px;
	height: 45px;
	text-align: left;
}

#navi ul li {
	width: 160px;
	height: 45px;
	float: left;
	border-left: #aaa 1px solid;
	box-sizing: border-box;
}

#navi ul li:last-child {
	border-right: #aaa 1px solid;
}

#navi ul li a {
	height: 45px;
	font-weight: bold;
	line-height: 45px;
	display: block;
	text-align: center;
	transition: all 0.2s linear;
}

#navi ul li:hover > a {
	background: #fff;
}

#contents {
	margin: 0 auto;
	padding: 40px 0;
	width: 800px;
	text-align: left;
}

#contents p {
	padding-bottom: 2em;
	font-size: 1em;
	line-height: 2em;
}
*/

#navi ul li span{display:none;}


/* ------------------------------
   MEDIAQUERIES LAYOUT
------------------------------ */
@media only screen and (max-width: 768px) {
	#navi ul {
		width: 100%;
	}

	#navi ul li {
		width: 20%;
	}
}

/* ------------------------------
   MEDIAQUERIES[SP]LAYOUT
------------------------------ */
@media only screen and (max-width: 768px) {
	#navi {
		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%;
		height: 55px;
		background: #0095ea;
		border-bottom: #aaa 1px solid;
		position: relative;
	}

	#switchBtnArea #switchBtn {
		top: 5px;
		left: 10px;
		width: 40px;
		height: 40px;
		display: block;
		background: #3c3c3c;
		position: absolute;
		border-radius: 5px;
		z-index: 9998;
	}

	#switchBtnArea #switchBtn span {
		left: 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: 10px;
		-webkit-transform: rotate(0);
		transform: rotate(0);
	}

	#switchBtnArea #switchBtn.btnClose {
		background: transparent;
	}
	#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);
	}

	#rwdMenuWrap {
		top: 0;
		left: -70%;
		width: 70%;
		height: 100%;
		background: #3c3c3c;
		overflow: auto;
		position: fixed;
		z-index: 9999;
	}

	#rwdMenuWrap ul {
		width: 100%;
		font-size:13px;
		line-height:1.3em;
		border-bottom:#aaa 1px solid;
	}

	#rwdMenuWrap ul li {
		width: 100%;
		border-top:#aaa 1px solid;
/*		border-bottom: #aaa 1px solid; */
	}
	#navi ul li span{display: block;}
	#rwdMenuWrap ul li a img{display: none;}


	#rwdMenuWrap ul li a {
		padding: 10px 15px;
		text-align: left;
		display: block;
		background: #ebebeb;
		position: relative;
		color:#000;
	}

	#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);
	}

	#contents {
		width: 100%;
	}

	#contents p {
		padding: 0 20px 2em 20px;
	}
}

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