﻿#main{
        margin-top: 32px;
}
#header{
	display: none;
}
h1{
	font-size: large;
	color: #ffffff;
	background-color: #7da5a6;
	text-align: center;
}
h2, h3, h4{
	color: #006600;
}
h3{
	border-bottom: 1px solid #006600;
}
dl{
	margin-left: 1em;
}
dt{
	font-weight: bold;
	text-decoration: underline;
}
dd{
	margin-top: 0.3em;
	margin-bottom: 0.3em;
}
table{
	white-space: nowrap;
	margin: 0em 1em;
	border: 1px solid #006600;
	padding: 0em;
}
tr{
	margin: 0em;
	border: 0em;
	padding: 0em;
}
th{
	margin: 0em;
	color: #ffffff;
	background-color: #7da5a6;
	border: 1px solid #006600;
	padding: 0.2em 0.5em;
}
td{
	margin: 0em;
	background-color: #fcfffc;
	border: 1px solid #006600;
	padding: 0.2em 0.5em;
}
img{
	max-width: 95%;
	height: auto;
}
a{
	text-decoration: none;
	color: #33cc00;
}
a:visited{
	color: #009933;
}
a:hover{
	color: #ff0000;
	text-decoration: underline;
}
a:active{
	color: #ff0000;
}
address{
	text-align: right;
}
.kakomi{
	border: 1px solid #006600;
}
th > a{
	color: #ccffff;
}
th > a:visited{
	color: #ffffcc;
}
blockquote{
	color: #0033cc;
	quotes: "「" "」" "『" "』";
	margin: 0.4em;
	border: 1px solid #000099;
	padding: 0.3em;
}
blockquote p{
	margin: 0em;
	border: 0em;
	padding: 0em;
}
blockquote[cite]{
	word-wrap: break-word;
}
blockquote[cite]:after{
	font-size: x-small;
	text-align: right;
	display: block;
	content: open-quote attr(title) close-quote "<" attr(cite) ">";
}
q{
	color: #0033cc;
	quotes: "「" "」" "『" "』";
}
q[cite]{
	word-wrap: break-word;
}
q[cite]:before{
	content: open-quote;
}
q[cite]:after{
	display: inline;
	content: close-quote "(" attr(title) "<" attr(cite) ">)";
}
input.nav-btn{
	display: none;
}

@media (-webkit-min-device-pixel-ratio:0){
/* header */
#header{
	display: block;
	position: fixed;
	top: 0;
	left: 0px;
	width: 100%;
	height: 30px;
	background-color: #728784;
	text-align: center;
}
#header a{
	font-size: 24px;
	font-weight: bold;
	text-decoration: none;
	color: #ffffff;
}
/* drawer-menu */
#contents{
	position: fixed;
	top: 30px;
	left: 0;
	width: 300px;
	height: 100vh;
	background: #ffffff;
	opacity: 0;
	transition: .3s ease-in-out;
	-webkit-transform: translateX(-350px);
	-ms-transform: translateX(-350px);
	transform: translateX(-350px);
}
#contents ul, #contents ol{
	margin: 0;
	padding: 0 0 0 1.2em;
	height: 100%;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}
input[type="checkbox"].nav-btn:checked ~ #contents{
	-webkit-transform: none;
	-ms-transform: none;
	transform: none;
	opacity: 1;
}
.menu-trigger, .menu-trigger span {
  display: inline-block;
  transition: all .3s;
  box-sizing: border-box;
}
.menu-trigger {
	top: 0;
	left: 0;
	position: fixed;
	width: 30px;
	height: 30px;
	background-color: #728784;
}
.menu-trigger span {
	position: absolute;
	left: 4px;
	right: 4px;
	height: 4px;
	margin: 0;
	background-color: #ffffff;

}
.menu-trigger span:nth-of-type(1) {
	top: 6px;
}
.menu-trigger span:nth-of-type(2) {
	top: 13px;
}
.menu-trigger span:nth-of-type(3) {
	bottom: 6px;
}
input[type="checkbox"].nav-btn:checked ~ .menu-trigger span:nth-of-type(1) {
  -webkit-transform: translateY(7px) rotate(-315deg);
  transform: translateY(7px) rotate(-315deg);
}
input[type="checkbox"].nav-btn:checked ~ .menu-trigger span:nth-of-type(2) {
  opacity: 0;
}
input[type="checkbox"].nav-btn:checked ~ .menu-trigger span:nth-of-type(3) {
  -webkit-transform: translateY(-7px) rotate(315deg);
  transform: translateY(-7px) rotate(315deg);
}
.close-menu {
	position: fixed;
	top: 30px;
	left: 300px;
	width: 100%;
	height: 100vh;
	visibility: hidden;
	opacity: 0;
}
input[type="checkbox"].nav-btn:checked ~ .close-menu {
	visibility: visible;
	opacity: 1;
	z-index: 3;
}
input[type="button"].nav-btn{
	display: block;
}
/* table */
.hscroll{
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}
}

@media (min-width:480px){
#header, label.menu-trigger, a.nav-btn{
	display: none;
}
#contents{
	position: initial;
	width: initial;
	height: initial;
	background: initial;
	opacity: 1;
	transition: initial;
	-webkit-transform: initial;
	-ms-transform: initial;
	transform: initial;
}
.float-left{
	margin: 0em 1em;
	float: left;
}
.float-right{
	margin: 0em 1em;
	float: right;
}
.clear{
	clear: both;
}
}
