* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-weight:normal;
}
html {
  scroll-behavior: smooth;
}
body {
  background-image: url("../include/images/bg/hiru.gif");
}
header {
  margin:0 auto 0;
}
header p {
  line-height:0;
}

nav {overflow:auto; white-space:nowrap;}
nav ul {border-collapse:collapse;width:1248px;margin:auto;}
nav li {border-right:1px solid #666666;width:77px;height:40px;display:inline-block;float:left;}
nav li:last-child {border-right:0px;}
nav li a {color:#ffffff;background-color:#000000;display:block;width:100%;height:100%;line-height:40px;text-align:center;}
nav li a:hover {background-color:#CCCC33;text-decoration:none;}

h1 {
  max-width:860px;
  margin:auto;
  text-shadow:1px 1px 1px #cccccc;
}
section {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 30px rgba(0,0,0,.1);
  padding:2em;
}
p#04 {
	background-color:#cc0000;
}
section ul {
  margin-left:1.4em;
}
section ul li {
  line-height:1.6em;
}
section ul li a:hover {
  background-color:#FFCC99;
}
.pagetop {
  font-size:small;
  text-align:right;
}
.pagetop a:before {
  content:"▲";
}
div#widget {display:none;}
a:link {
  text-decoration:none;
}
a:active {
  text-decoration:underline;
}
a:visited {
  text-decoration:none;
}
@media screen and (max-width:768px){
section {
  margin: 1em;
  background: #fff;
  box-shadow: 0 0 30px rgba(0,0,0,.1);
  padding:1em;
}
section ul {
	margin-left:0;
	list-style-type:none;
}
section li {
	min-height:40px;
	border-bottom:1px dashed #999999;
}
section li a {
	display:block;
	width:100%;
	height:100%;
	line-height:1.4em;
	padding:0.6em 0;
}
h2 {
	font-size:large;
	border-bottom:2px solid #c00;
	margin:1em 0;
}
h2 span {
	font-size:medium;
	position:relative;
	top:3px;
}
p.pagetop {
	line-height:2em;
}
footer {margin-bottom:52px;}
}
@media screen and (min-width:769px){
.ad01 {
  max-width:860px;
  margin:1em auto;
}
p.ad + section {
  margin-top: 40px;
  margin-bottom: 40px;
}
h2 {
  font-size:x-large;
  border-bottom:2px solid #c00;
  padding:3px 0;
  margin:0.5em auto;
  text-shadow:1px 1px 1px #cccccc;
}
}
