* {
  margin: 0;
  padding: 0;
}

html {
	background-color: #035; 
/* url("img/seigaihablue.png") center top repeat; */
}

body {
	color: #000; 
	font: 14px Verdana, "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	margin: 0; 
	text-align: center; 
}
#outerwrap{
	background: #fff url(img/pattern.gif) repeat; 
}
img{
	border: 0; 
}
a{
	color: #07f; 
	text-decoration: none; 
}


#header{
	background: #035 url(img/headerback.gif) center top repeat-x; 
	font-size: 14px; 
	color: #abc; 
	padding: 10px 0 4px; 
}
.subtitle{
	text-align: center; 
	padding: 0; 
	margin: 0 auto; 
}
#header img{
	margin: 0; 
	max-width: 420px; 
}

.bar {
	text-align: center; 
	background-color: transparent; 
}
.barmenu{
	max-width: 940px; 
	text-align: left; 
	margin: 0 auto; 
	padding: 0; 
}
.main{
	max-width: 940px; 
	text-align: left; 
	line-height: 1.5em; 
	margin: 0 auto; 
	padding: 0 8px; 
}
.main img {
	width: 100%; 
	height: auto; 
	margin: 0; 
	padding: 0; 
}
img.thumnail {
	width: 250px; 
	height: auto; 
	float: left; 
	margin: 0 .75em .75em 0; 
}

.center {
	text-align: center; 
	margin: 1em 0; 
}
.centre {
	text-align: center; 
	margin: .5em 0; 
}
.centre img {
	width: 33%; 
	height: auto; 
	margin: .5em auto 0; 
	padding: 0; 
}
.caption {
	font-size: .75em; 
	margin: 0 auto 1em; 
}
.righter {
	text-align: right; 
	margin: .25em 0; 
}
.right {
	font-size: 1.2em; 
	font-weight: bold; 
	text-align: right; 
	margin: 0 3em 1em; 
}


h1 {
	font-size: 2.25em; 
	padding: 5px 0 10px 0; 
	margin-bottom: .25em; 
	border-bottom: solid 1px #ccd; 
	text-align: left; 
}
h2 {
	font-size: 1.75em; 
	padding: 10px 0 5px 0; 
	margin-bottom: .25em; 
	border-bottom: solid 1px #ccd; 
	text-align: center; 
}
h3 {
	font-size: 1.75em; 
	margin-bottom: .25em; 
	line-height: 1.5em; 
	border-bottom: solid 1px #ccd; 
	text-align: center; 
}
h4{
	font-size: 1.5em; 
	line-height: 1.5em; 
	text-align: center; 
	border-bottom: solid 1px #ccd; 
}
h4.lefter {
	font-size: 1.5em; 
	line-height: 1.5em; 
	text-align: left; 
	border-bottom: solid 1px #ccd; 
}
h5 {
	text-align: center; 
	font-size: 1.2em; 
	line-height: 2em; 
	background-color: #e0e9ff; 
	margin: 0 auto; 
	padding: 0; 
}
h6 {
	text-align: center; 
	font-size: 1.2em; 
	margin: 0 auto .25em; 
	padding: 0; 
}

table {
	border: solid 2px #9cf; 
	border-collapse: collapse; 
	width: 100%; 
	min-width: 440px; 
}
td {
	border: solid 2px #9cf; 
	border-collapse: collapse; 
	line-height: 1.5em; 
	padding: 6px; 
	vertical-align: top; 
}
th {
	text-align: center; 
	font-size: 1.2em; 
	font-weight: bold; 
	border: solid 2px #9cf; 
	border-collapse: collapse; 
	line-height: 1.5em; 
	padding: 6px; 
	vertical-align: top; 
}

.box{
	color: #035; 
	background-color: #ced; 
	padding: .75em 1.5em 1.5em; 
	border-radius: 1em; 
}
#footer {
	clear: both; 
	color: #abc; 
	text-align: center; 
	font-size: 14px; 
	padding: 1em 0; 
	line-height: 1.5em; 
}

ul.rslides {
	margin-top: 0; 
}
.rslides {
	margin: 0 auto 10px; 
}

.trio{
	float: left; 
	width: 32%; 
	margin: 0 2% 0 0; 
}
.trioe{
	float: left; 
	width: 32%; 
	margin: 0; 
}
.duo{
	float: left; 
	width: 49%; 
	margin-right: 2%; 
}
.duor{
	float: left; 
	width: 49%; 
	margin-right: 0; 
}

.balon {
	text-align: left; 
	width: 40%; 
	padding: .5em .75em; 
	margin: 0 auto; 
	border: solid 1px #ccc; 
	border-radius: 10px; 
}



@media screen and (max-width: 900px) {

#header img{
	width: 70%; 
}

ul.rslides{
	margin-top: 0; 
}
.note{
	padding-top: 1em;
}

#footer {
	padding-top: 1em; 
}
body {
	font-size: 16px; 
}

.trio{
	margin-right: 15px; 
}
.trioe{
	margin-right: 0; 
}
.centre img {
	width: 50%; 
}

}

@media screen and (max-width: 766px) {

#header img{
	max-width: 75%; 
}
.trio{
	float: left; 
	width: 100%; 
	margin: 0 0 2em 0; 
}
.trioe{
	float: left; 
	width: 100%; 
	margin: 0 0 2em 0; 
}
.duo{
	float: left; 
	width: 100%; 
	margin-right: 0; 
	margin-bottom: 2em; 
}
.duor{
	float: left; 
	width: 100%; 
	margin-right: 0; 
	margin-bottom: 2em; 
}
img.thumnail {
	width: 180px; 
}

.balon {
	width: 80%; 
}


}