/*! responsiv-nav.css | ナビゲーション用css */

/* 画面の横幅が641px以上（パソコン用）
   ========================================================================== */
@media screen and (min-width:641px){

.nav-collapse {
	width: 100%;
	height: 25px;
	margin: 0.8em auto 2.0em;
	background: url("../img/navi-base.gif") repeat-x;
	line-height: 25px;
}

.nav-collapse ul {
	width: 735px;
	margin: 0 auto;
}

.nav-collapse li {
	margin: 0 3px;
	list-style-type: none;
	float: left;
}

.nav-collapse li a,
.nav-collapse li a:hover {
	display: block;
	width: 120px;
	height: 25px;
	background-repeat: no-repeat;
	background-position: center center;
	text-indent: 100%;
	overflow: hidden;
	line-height: 25px;
}

.nav-collapse li:nth-child(1) a {
	background-image: url("../img/btn00.gif");
}

.nav-collapse li:nth-child(1) a:hover {
	background-image: url("../img/btn00.gif");
}

.nav-collapse li:nth-child(2) a {
	background-image: url("../img/btn01.gif");
}

.nav-collapse li:nth-child(2) a:hover {
	background-image: url("../img/btn01_.gif");
}

.nav-collapse li:nth-child(3) a {
	background-image: url("../img/btn02.gif");
}

.nav-collapse li:nth-child(3) a:hover {
	background-image: url("../img/btn02_.gif");
}

.nav-collapse li:nth-child(4) a {
	background-image: url("../img/btn03.gif");
}

.nav-collapse li:nth-child(4) a:hover {
	background-image: url("../img/btn03_.gif");
}

.nav-collapse li:nth-child(5) a {
	background-image: url("../img/btn04.gif");
}

.nav-collapse li:nth-child(5) a:hover {
	background-image: url("../img/btn04_.gif");
}

.nav-collapse li:nth-child(6) a {
	width: 99px;
	background-image: url("../img/btn-jomo.gif");
}

.nav-collapse li:nth-child(6) a:hover {
	width: 99px;
	background-image: url("../img/btn-jomo_.gif");
}

#nav-toggle {
	display: none;
}

}

/* 画面の横幅が640pxまで（スマホ用）
   ========================================================================== */
@media screen and (max-width:640px){

#nav {
	position: absolute;
	top: 1.75em;
	left: 0;
	width: 100%;
}


#nav-toggle {
	position: relative;
	display: block;
	width: 4.2em;
	height: 4.2em;
	float: right;
	background-color: #ffffff;;
	overflow: hidden;
	cursor: pointer;
	background: ;
}

#nav-toggle img {
	width: 4.2em;
	height: 4.2em;
	vertical-align: middle;
	background-color: #95c43b;
}

.nav-collapse,
.nav-collapse * {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.nav-collapse {
	clip: rect(0 0 0 0);
	width: 100%;
	max-height: 0;
	margin-bottom: 0.8em;
	position: absolute;
	overflow: hidden;
	zoom: 1;
}

.nav-collapse ul {
	float: left;
	width: 100%;
	margin: 0;
}

.nav-collapse li {
	width: 100%;
	list-style-type: none;

}

.nav-collapse li a {
	display: block;
	width: 100%;
	padding: 0.8em;
	background: #95c43b;
	border-bottom: 1px solid white;
	color: #fff;
	text-decoration: none;
}

.nav-collapse ul ul li a {
	background: #ca3716;
	padding-left: 2em;
}

.nav-collapse.opened {
	max-height: 9999px;
}

}
