@charset "UTF-8";
/* ナビゲーションバーのCSS */
.navi {
	position: relative;
}
.navi.sticky {
	position: sticky;
	top: 0;
}
nav ul {
	overflow: hidden;
	list-style: none;
	margin: 3px auto 0;
	padding: 0;
}
nav li {
	box-sizing: border-box;
	float: left;
	border-right: 3px solid white;
	border-bottom:  3px solid white;
}
@media screen and (max-width: 599px) {
	/* 2行×2列のナビゲーションリスト */
	nav li {
		width: 50%;
	}
	nav li:nth-child(2n) {
		border-right: none;
	}
}
@media screen and (min-width: 600px) {
	/* 1行×4列のナビゲーションリスト */
	nav li {
		width: 25%;
	}
	nav li:nth-child(4n) {
		border-right: none;
	}
}
nav li a {
	display: block;
	padding: 6px 0;
	text-align: center;
	text-decoration: none;
	font-size: 13px;
	background: #2a6fb7;
	color: white;
	cursor: pointer;
}
nav li a:hover {
	background: #34589e;
}	
