header {
	display: flex;
	justify-content: space-between;
	height: 60px;
	background: #004098;
	z-index: 99;
}
h2 {
	position:  relative;
	font-size: 1.8em;
	font-weight: bolder;
	text-align: center;
	padding: 20px 0;
	border-top: solid 1px #000;
	border-bottom:  solid 1px #000;
	width:  96%;
	margin: 20px auto;
}
header h1 a img {
	margin-left: 10px;
	width: 40px;
	height: 40px;
	position: relative;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
}
header nav {
	margin: 0 auto;
}
.hmenu {
	padding: 40px;
	text-align: center;
	display: flex;
	justify-content: space-between;
	z-index: 99;
}
.hmenu li a {
	display: block;
	width: 200px;
	padding: 40px 20px;
	color: #fff;
}
.hmenu li span {
	color: #fff;
}
.smenu {
	display: none;
	position: absolute;
	background: #004098;
	top: 118px;
	padding: 10px 20px;
}
ul.smenu li {
	float: none;
	border-bottom: 0.01em solid #666;
}
ul.smenu li a {
	display: block;
	width: 180px;
	padding: 15px 0;
	color: #fff;
	text-align: center;
	font-size: 0.8em;
	font-weight: bold;
}
section.contents {
    box-shadow: 5px 0 0 0 #dcd9d9;
    height: 720px;
}
ul.smenu li:last-child {
	border-bottom: none;
}
ul.sword li {
	display: flex;
}
ul.sword li a,ul.sword li span {
	font-size: 1em;
	width: 15%;
	padding: 15px;
}
ul.dpp li {
	display: flex;
}
ul.dpp li a {
	width: 100px;
	padding: 10px 0;
}
.smp-button {
	display: none;
}
.fixed {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	animation-name: fadedown;
	animation-duration: 1s;
	animation-iteration-count: 1;
}

/*	keyframes	*/
@keyframes fadedown {
	from {
		opacity: 0;
		transform: translateY(-40px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media screen and (max-width: 960px) {
	header h1 a img {
		position: absolute;
		top: 2%;
		transform: none;
	}
	h2 {
		font-size: 1em;
	}
	ul.hmenu {
		display: none;
		position: absolute;
		width: 100%;
		height: auto;
		background: #004098;
		text-align: left;
		top: 899px;
		padding: 20px 40px;
		overscroll-y: auto;
		overscroll-behavior-y: contain;
	}
	ul.hmenu li {
		margin: 0 10px;
		width: 300px;
		border-bottom: 1px solid rgba(255,255,255,0.2);	#“§–¾
	}
	ul.hmenu li a,ul.hmenu li span {
		color: #fff;
		width: auto;
		padding: 12px 0 12px 30px;
	}
	ul.smenu {
		display: inline-block;
		position: relative;
		top: 0;
		padding: 0 20px;
	}
	.smp-button {
		display: block;
		position: relative;
		cursor: pointer;
		width: 60px;
		height:60px;
	}
	.smp-button span {
		display: inline-block;
		transition: all .4s;
		position: absolute;
		left: 17px;
		height: 2px;
		border-radius: 5px;
		background: #fff;
		width: 100%;
	}
	.smp-button span:nth-of-type(1) {
		top:18px; 
	}
	.smp-button span:nth-of-type(2) {
		top:28px;
	}
	.smp-button span:nth-of-type(3) {
		top:38px;
	}
	.smp-button.active span:nth-of-type(1) {
		top: 20px;
		left: 5px;
		transform: translateY(10px) rotate(-45deg);
		width: 90%;
	}
	.smp-button.active span:nth-of-type(2) {
		opacity: 0;
	}
	.smp-button.active span:nth-of-type(3){
		top: 20px;
		left: 5px;
		transform: translateY(10px) rotate(45deg);
		width: 90%;
	}
}
