@charset "utf-8";
/* CSS Document */

#mainNav {
	width:100%;
	margin:0;
	float:right;
}

/* PC用
------------------------------------------------------------*/
@media only screen and (min-width: 960px){

nav#mainNav{
	float:left;
	overflow:hidden;
	height:60px;
	width:600px;
	margin-top:10px;
	margin-right:20px;
	float:right;
}

nav#mainNav ul {
	margin:0;
	padding:0;
}

nav#mainNav ul li{
	float: left;
	position: relative;
	list-style:none;
	margin:0;
	width:140px;
	height:60px;
}

nav#mainNav ul li a{
	display: block;
	width:140px;
	height:60px;
	left:0;
	text-indent:-9999em;
	font-family: "Lato", sans-serif;
	font-weight: 400;
	transition: ease 0.5s all;
}
	
nav#mainNav ul li a span{
	color:#FFF;
	font-size:10px;
}

nav div.panel{
	display:block !important;
	float:left;
}

a#menu{display:none;}

nav#mainNav li.active a,nav#mainNav li a:hover{
	background-image:url(../imges/menu_top_act.gif) no-repeat;
	background-position:-0px 0px;
}

nav#mainNav ul li a.home { background-image:url(../imges/menu_home.jpg); }
nav#mainNav ul li a.web { background-image:url(../imges/menu_web.jpg); }
nav#mainNav ul li a.other { background-image:url(../imges/menu_other.jpg); }
nav#mainNav ul li a.contact { background-image:url(../imges/menu_contact.jpg); }

nav#mainNav ul li a.home:hover { background-image:url(../imges/menu_home_on.jpg); }
nav#mainNav ul li a.web:hover { background-image:url(../imges/menu_web_on.jpg); }
nav#mainNav ul li a.other:hover { background-image:url(../imges/menu_other_on.jpg); }
nav#mainNav ul li a.contact:hover { background-image:url(../imges/menu_contact_on.jpg); }

nav#mainNav ul li a.home_act { background-image:url(../imges/menu_home_act.jpg); }
nav#mainNav ul li a.web_act { background-image:url(../imges/menu_web_act.jpg); }
nav#mainNav ul li a.other_act { background-image:url(../imges/menu_other_act.jpg); }
nav#mainNav ul li a.contact_act { background-image:url(../imges/menu_contact_act.gif); }

}


/* Dispray W-size 940px */
@media only screen and (max-width:959px){
*{
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}

nav#mainNav{
	clear:both;
	width:100%;
	margin:0;
	padding:0;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1, #2a1d12), color-stop(0.00, #000));
	background: -webkit-linear-gradient(top, #777 0%, #777 100%);
	background: -moz-linear-gradient(top, #777 0%, #777 100%);
	background: -o-linear-gradient(top, #777 0%, #777 100%);
	background: -ms-linear-gradient(top, #777 0%, #777 100%);
	background: linear-gradient(top, #777 0%, #777 100%);
	border-top:#000 5px solid;
	border-bottom:#FFF 5px solid;
}

nav#mainNav a.menu{
	width:100%;
	display:block;
	height:40px;
	line-height:40px;
	font-weight: bold;
	text-align:left;
	color:#FFF;
}

nav#mainNav a#menu span{padding-left:10px; font-weight:bold; font-size:110%;}
nav#mainNav a.menu span:before{content: "→ ";}
nav#mainNav a.menuOpen span:before{content: "↓ ";}

nav#mainNav a#menu:hover{cursor:pointer;}

nav .panel{
	display: none;
	width:100%;
	position: relative;
	right: 0;
	top:0;
	z-index: 1;
}

nav#mainNav ul li{
	float: none;
	clear:both;
	width:95%;
	height:auto;
	line-height:1.2;
	list-style:none;
}

nav#mainNav ul li a,nav#mainNav ul li.current-menu-item li a{
	display: block;
	padding:15px 10px;
	text-align:left;
	text-decoration:none;
	border-bottom:5px solid #000;
	color:#000;
	background:#FFF;
	font-weight:bold;
}
	
nav#mainNav ul li a span{padding-left:10px; font-size:90%; letter-spacing:1px;}
	
nav#mainNav ul li:first-child a{border-top:1px dashed #000;}
	
nav#mainNav ul li:last-child a{border:0;}
	
nav#mainNav ul li.active a,nav#mainNav ul li a:hover{background-image:url(imges/bg.gif);}

nav div.panel{float:none;}


}


/* SmartPhone Wide(Land Scape) */
@media only screen and (max-width:640px){


}

/* Smart Phone Standard(Portlate) */
@media only screen and (max-width:480px){


}


