* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	color: #3D3D3D;
	font-size: 110%;
	font-family: sans-serif;
}
img {
	max-width: 100%;
	border: none;
}
a:link, a:visited {
	color: #03C;
	text-decoration: none;
}
a:hover, a:active {
	color: #060;
	text-decoration: underline;
}
#container {
	width: 960px;
	margin: 0 auto;
}
#header {
	height: 330px;
	padding-bottom: 20px;
	border-right: 1px solid #CCC;
	display: flex;
}
#header_title {
	width: 258px;
}
#nav_menu {
	display: none;
}
#nav_close {
	display: none;
}

#contents {
	width: 100%;
	display: flex;
}

#back_close {
	width: 258px;
	height: auto;
	padding: 30px 20px 0 0;	
	border-right: 1px solid #CCC;
}
#leftnavi {
	width: 238px;
}
#leftnavi h3 {
	padding: 5px 10px;
	color: white;
	font-size: 0.9em;
	font-weight: bold;
	background-color: #060;
}
#leftnavi ul {
	margin-top: 12px;
	padding-left: 25px;
	font-size: 0.9em;
	font-weight: bold;
	line-height: 1.4em;
	list-style-image: url(../images/list.gif);
}
#leftnavi ul li {
	margin-bottom: 12px;
}
#leftnavi ul ul {
	font-size: 100%;
	list-style-type: circle;
	list-style-image: none;
}

#main {
	border-right: 1px solid #CCC;
}
.niji {
	background: url(../images/niji.png) no-repeat top 0 right 20px;
}
.heart {
	background: url(../images/heart.png) no-repeat top 15px right 20px;
}
.yubi {
	background: url(../images/yubi.png) no-repeat top 15px right 20px;
}
.kenshu {
	background: url(../images/kenshu.png) no-repeat top 15px right 20px;
}
#main_inn {
	margin: 30px 20px 20px 20px;
}
#main_inn h1 {
	margin-bottom: 1.5em;
	color: #205867;
	font-size: 1.2em;
	line-height: 140%;
}
#main_inn h2 {
	margin: 1.5em 0 1em 0;
	color: #039;
	font-size: 0.9em;
}
#main_inn p, #main_inn div {
	margin-bottom: 1em;
	font-size: 0.9em;
	line-height: 1.6em;
}
#main_inn ul {
	margin-bottom: 1em;
	padding-left: 1.5em;
	list-style-type: disc;
}
#main_inn ol {
	margin-bottom: 1em;
	padding-left: 1.5em;
	list-style-type: decimal;
}
#main_inn li {
	font-size: 0.9em;
	line-height: 1.6em;
}
#main_inn .illustration {
	text-align: center;
}

#footer {
	width: 100%;
	margin: 10px auto;
	padding-top: 10px;
	border-top: 1px solid #999;
	text-align: right;
	color: #999;
	font-size: 0.8em;
}

#h1_home {
	font-size: 1.3em;
}
#h1_home span {
	margin-top: 0.4em;
	font-size: 85%;
	display: inline-block;
}
.newsdate {
	width: 7em;
	display: inline-block;
}
#tbl_kenshu {
	border: 1px solid gray;
	border-collapse: collapse;
	overflow-wrap: anywhere;
}
#tbl_kenshu th, #tbl_kenshu td {
	padding: 5px;
	border: 1px solid gray;
	font-size: 15px;
}
#tbl_kenshu th {
	min-width: 7em;
	font-weight: normal;
}
#link {
	font-weight: bold;
}
#link li {
	margin-top: 1.5em;
	padding-left: 0.2em;
}
.notice {
	color: red;
	font-weight: bold;
}

@media screen and (max-width: 800px) {
	#container {
		width: 100%;
	}
	#header {
		height: auto;
		padding: 0;
	}
	#header_title {
		width: 100%;
		height: 80px;
		background: white;
		position: fixed;
		top: 0;
		z-index: 99;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	#header_title img {
		width: auto;
		max-height: 70px;
		display: block;
	}
	#nav_menu, #nav_close {
		width: 45px;
		height: 45px;
		margin: 5px;
		cursor: pointer;
	}
	#nav_menu {
		display: block;
	}
	#nav_close {
		display: none;
	}
	#nav_menu hr, #nav_close hr{
		height: 5px;
		width: 37px;
		margin: 0 auto 5px auto;
		border-radius: 3px;
		background: #555;
	}
	#nav_menu p, #nav_close p {
		text-align: center;
		font-size: 10px;
	}
	#nav_close p {
		margin: 10px 0;
	}
	#topimg {
		width: 100%;
		height: auto;
		margin-top: 80px;
	}

	#main {
		background-image: none;
	}
	#main_inn h1 {
		margin-bottom: 0.5em;
	}
	
	#back_close {
		width: 100%;
		height: calc(100vh - 80px);
		margin: 0;
		padding: 0;
		border: 0;
		background-color: hsla(0,0%,0%,0.30);
		position: fixed;
		top: 80px;
		left: 0;
		z-index: 98;
		display: none;
	}
	#leftnavi {
		width: 80%;
		height: 100%;
		margin: 0 10%;
		background: white;
		overflow: auto;
	}
	#leftnavi ul {
		margin-right: 10px;
	}
	#leftnavi img {
		max-width: 300px;
		margin: 0 auto;
		display: block;
	}

	#nav_menu.on {
		display: none;
	}
	#nav_close.on {
		display: block;
	}
	#back_close.on {
		display: block;
	}
}
