/**
 * Design Shack Respnsive Menu
 */


* {
	padding: 0;
	margin: 0;
	
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

nav {
	width: 100%;
	margin: 0 auto;
	overflow: hidden;	
}

nav ul {
	list-style: none;
	overflow: hidden;
}
/*　border-right: 1px solid #fff;　6個トップリンク左右縦ライン　*/

nav li a {
	border: 2px solid #333;　/*6個トップリンク左右縦ライン　*/
	color: #fffff;    /*　6個トップリンク文字色　*/
	display: block;
	float: left;
	font: 400 14px/1.4 'Cutive', Helvetica, Verdana, Arial, sans-serif;
	padding: 3px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	width: 12.5%;
	/*TRANSISTIONS*/
	-webkit-transition: background 0.5s ease;
	-moz-transition: background 0.5s ease;
	-o-transition: background 0.5s ease;
	-ms-transition: background 0.5s ease;
	transition: background 0.5s ease;
	background-color: #012c83;
}

nav li:nth-child(1) a, nav li:nth-child(2) a, nav li:nth-child(3) a, nav li:nth-child(4) a, nav li:nth-child(5) a {
		　border: 1px solid #5F95B8;　 /*6個トップリンク枠消す　*/
		border-right: none;
	}

/*HOVER*/
nav li a:hover { background-color: #8e0125; }

/*SMALL*/
nav small {
	font: 100 11px/1 Helvetica, Verdana, Arial, sans-serif;
	text-transform: none;
	color: #aaa;
}

/*BORDER FIX
nav li:last-child a {
	border: 1px solid #5F95B8;
}
*/

/* MEDIA QUERIES*/
@media only screen and (max-width : 1220px),
only screen and (max-device-width : 1220px){
	nav li a {
		font: 400 14px/1.4 'Cutive', Helvetica, Verdana, Arial, sans-serif;
		/*　border: 1px solid #5F95B8;　 6個トップリンク枠消す　*/
	}
	
	nav small {
		font: 100 10px/1 Helvetica, Verdana, Arial, sans-serif;
	}
	
	nav li:nth-child(1) a, nav li:nth-child(2) a, nav li:nth-child(3) a {
	/*	border: 1px solid #5F95B8;　 6個トップリンク枠消す　*/
		border-right: none;
	}
}

@media only screen and (max-width : 930px),
only screen and (max-device-width : 930px){
	nav li a {
		width: 25%;
	 /*　border: 1px solid #5F95B8; 6個トップリンク枠消す　*/
		font: 400 14px/1.4 'Cutive', Helvetica, Verdana, Arial, sans-serif;
	}
	
	nav li:last-child a {
	 /*	border: 1px solid #5F95B8; 6個トップリンク枠消す　*/
	}
	
	nav li:nth-child(1) a, nav li:nth-child(2) a, nav li:nth-child(3) a {
	 /* border: 1px solid #5F95B8; 6個トップリンク枠消す　*/
		border-right: none;
	}
}

@media only screen and (max-width : 580px),
only screen and (max-device-width : 580px){
	nav li a {
		width: 50%;
		font: 400 12px/1.4 'Cutive', Helvetica, Verdana, Arial, sans-serif;
		
		}
	
	nav li:nth-child(even) a {
		border: 1px solid #5F95B8;
	}
	
	nav li:nth-child(1) a {
		border: 1px solid #5F95B8;
		border-right: none;
	}
	
	nav li:nth-child(2) a {
		border: 1px solid #5F95B8;
	}
	
	nav li:nth-child(3) a {
		border: 1px solid #5F95B8;
		
	}
	
	nav li:nth-child(4) a {
		border: 1px solid #5F95B8;
		
	}
	
	nav li:nth-child(5) a {
		border: 1px solid #5F95B8;
		
	}
	
}

@media only screen and (max-width : 320px),
only screen and (max-device-width : 320px){
	nav li a {
		width: 100%;
		font: 400 12px/1.4 'Cutive', Helvetica, Verdana, Arial, sans-serif;
		border: 1px solid #5F95B8;
	}
	nav li:nth-child(even) a {
		border: 1px solid #5F95B8;
	}
	
	nav li:nth-child(1) a {
		border: 1px solid #5F95B8;
		
	}
	
	nav li:nth-child(2) a {
		border: 1px solid #5F95B8;
		
	}
	
	nav li:nth-child(3) a {
		border: 1px solid #5F95B8;
		
	}
	
	nav li:nth-child(4) a {
		border: 1px solid #5F95B8;
		
	}
	
	nav li:nth-child(5) a {
		border: 1px solid #5F95B8;
	}
}