header h1{
	background-color: rgba(255,255,255,0.7);
	display: inline-block;
	color: red;
	padding: 1ex 1em 0;
	box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
	line-height:2em;
  }

h2 {
	background: #EDEDFF;
	border: 5px double #d1d1ff;
	padding: 0.5ex 1em 0 ;
	margin: 1em 0 0.5ex;
	display: table;
}

h3 {
	display: table;
	border-right: 3px solid #424280;
	border-bottom: 3px solid #424280;
	padding: 0 0.5em;
	margin-top: 1em;
	margin-bottom: 0.5ex;
	clear:both;
}

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

#main p {
	text-indent: 0.5em;

}

figure {
	text-align: center;
	margin-bottom: 1em;

}

figure img{
	max-width: 100%;
}


figcaption {
	line-height: 1em;
	text-align: center;
}

section#chousya figure{
	width: 40%;
	float: right;
	margin-left: 5px;
}

section#chousya::after {
	content: " ";
	clear: both;
}

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

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

dt {
	margin-left: 1em;
	font-weight: bold;
}

dd{
	margin-left: 2em;
}

@media screen and (max-width: 499px) {
	
	section#chousya figure{
		width: 100%;
		clear: both;
		text-align: center;
		margin-left: 0;
	}

	section#chousya figure img{
		width: 100%;
	}
}
