#main {
	background-color: #fff;
	padding :1em;
}

header h1{
  background-color: #ddffaa;
  display: inline-block;
  color: #007800;
  padding: 0.5ex 0.5em 0;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
  line-height:2em;
  font-size: xx-large;
  }

h3 {
	display: inline-block;
	border-bottom: 2px dashed #6666ff;
	padding : 0 0.5em;
	margin-top: 1em;
}

p {
	text-indent: 0.5em;
}

figure {
	text-align: center;
}

figure table {
	margin: 0 auto;
	border-collapse: collapse;
	border: 2px solid #696969;
}

figure th, td {
	border: 1px solid #696969;
	padding: 0 2px;
	color: gray;
}


figure img {
	max-width: 100%;
}

aside {
	min-width: 280px;
	max-width: 800px;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}

ul#pagelist li {
	list-style: none;
	margin-top: 1em;
	text-align: left;
}

ul#pagelist li::before {
	content: "　";
	display: inline-block;
	background: url(list.png) no-repeat;
	background-size: contain;
	vertical-align: middle;
	width: 50px;
	height: 50px;
}

p.goto {
	font-size: small;
	text-align: right;
}

p.goto::before {
	content: "▲";
}


section#sample {
	border: 3px dotted #9adbf9;
	border-radius: 20px;
	padding: 10px;
}

section#sample h3{
	margin: 0 0 .5em;
	display: inline-block;
	border-bottom: none;
	border-radius: 10px;
	padding: 0.5ex 5px 0;
	background: #3F5A66;
	color: #fff;
}

@media screen and (max-width: 500px) {
  table * { font-size: x-small; }
}
