nav {
                                z-index: 9999;
                               font-family: "Sawarabi Gothic" sans-serif;
                                font-weight: normal;
                                font-size: 13px;
}

#nav {
	margin: 0;
	padding: 0;
	display: block;
	position: absolute;
	position: fixed;
	top: 0; left: 0;
	width: 100%;
	text-align: left;
                                z-index: 9999;
                                background:  url("../images/header_bg.gif") center top;
                                background-size: 1287px;
}
#nav ul {
	display: none;
}
#nav.active {
	height: 100%;
	background: #ac3a94;
}

/* menu icon */
#menu-icon {
	color: #fff;
	width: 35px;
	height: 35px;
	background: url(../images/menu-icon.png) no-repeat center center;
                                background-size: 45px;
	padding: 0;
	margin: 5px 5px 0;
	cursor: pointer;
	display: block; /* show menu icon */
}
#menu-icon.active {
	background: url(../images/menu-close.png) no-repeat center center;
                                background-size: 45px;
}

#nav ul {
	height: 80%;
	padding: 1em 0;
}
ul#menu li {
	text-align: center;
	padding: 5px 10%;
                                border-bottom: double 3px #870536
}


#nav a {
	display: inline-block;
	width:100%;
                                color: #fff;
                                font-size: 16px;
                                font-weight: bold;
	padding: 6px 0;
	text-decoration: none;
}
#nav a:hover {
                                color: #383022;
	text-decoration: none;
}
ul#menu li.nav_off {
                                font-size: 14px;
	color: #666;
	padding: 16px 10%;
}




/*980px以上 ----------------------------------------*/

@media screen and (min-width:980px){

#nav {
	position: fixed;
	width: 100%;
                                background:  url("../images/header_bg.gif") center top;
                                background-size: 1387px;
	text-align: center;
                                box-shadow: 0 0 5px rgba(0,0,0,0.5)
}

#menu-icon {
	display: none;
}
#menu {
	background: none;
	margin: 0 auto;
	padding: 0;
	width: 100%;
	height: 53px;
	width: 980px;
}
#nav ul {
	display: block;
	margin: 0 auto;
                                width: auto;
	padding:  0;
}
#nav ul li {
	display: inline-block;
                                width: auto;
	padding: 0;
                                border: none;
                                margin: 0 10px;
	height: 53px;

}
div.navcontents {
	margin: 0 auto;
	padding: 0 ;
}
#nav a {
	padding: 15px 10px 10px;

}
#nav a:hover {
	background: rgba(0,0,0,0.3);
                                color: #fff;
}

}