/*reCAPTCHA hidden*//**/
.grecaptcha-badge { visibility: hidden; }

/*html5*//**/
article,aside,canvas,details,figcaption,figure,
footer,header,hgroup,menu,nav,section,summary{display:block;}

* {margin:0;padding:0;}

body {
background:url(../img/common/bg.jpg) repeat;
margin:0;padding:0;
font-family:Meiryo, "ヒラギノ丸ゴ Pro W4", "ヒラギノ角ゴ Pro W3", Verdana, Arial;
color:#333333;
position:relative;
font-size:medium;
}

a{color:#0944BB;outline:none;text-decoration:none}
a:link,a:visited{color:#0944BB}
a:hover,a:active{color:#FFCE00}

p,li,dt,dl {line-height:1.6;}
li {list-style-type:none;}
img {border:0}
img.full{width:100%;height:auto}
address {font-style:normal;}
.caution{color:#FF0000;font-weight:bold}
.clear {clear:both;}

hr{background:url(../img/common/hr.png) 50% 0 no-repeat;height:3px;border:0;padding:10px 0;margin:50px 0 20px 0}


/*CONTAINER===========================================*//**/
#container{width:100%;height:auto}
#container article{margin-top:20px}
#container article p{padding:10px 4%}

/*pagenavi*//**/
#pagenav{border-top:1px solid #5e4f30;border-bottom:1px solid #5e4f30;padding:10px 0;text-align:center}
#pagenav img{max-width:100%;height:auto}

/*totop*//**/
.totop{margin-top:-80px;text-align:right}

/*Ul li a*//**/
ul li{position:relative}
dl dt ul li,
ul li a{display:block;width:82%;height:auto;padding:12px 14% 12px 4%;
background:url(../img/common/bg_button.jpg) repeat;
border-bottom:1px solid #DCDCDC;
text-decoration:none;
}
dl dt ul li:nth-child(1),
ul li:nth-child(1) a{border-top:1px solid #DCDCDC}
ul li a img{margin-top:5px}
ul li a:link,ul li a:visited{color:#fe9b00;font-size:large;font-weight:bold}
ul li a:hover,ul li a:active{color:#FFF500;font-size:large;font-weight:bold}
ul li a:after{
	position: absolute;
	top: 50%;
	right: 20px;
	margin-top:-15px;
	content:url(../img/common/right_orange.png);
}
ul li a span{display:block;font-size:small;color:#9b9b9b;font-weight:normal}

/*FOOTER===========================================*//**/
/*footer*//**/
footer{text-align:center}
footer ul{text-align:left}
footer section{min-height:210px;background:url(../img/common/bg_footer.jpg) center bottom no-repeat}
footer section p{font-size:small;color:#1c4694}
footer section p.copy{font-size:x-small;color:#1c4694}
footer section p:nth-child(1){padding-top:25px}
footer ul li:nth-child(1) a:after{content:url(../img/common/menu/right01.png);}
footer ul li:nth-child(2) a:after{content:url(../img/common/menu/right02.png);}
footer ul li:nth-child(3) a:after{content:url(../img/common/menu/right03.png);}
footer ul li:nth-child(4) a:after{content:url(../img/common/menu/right04.png);}
footer ul li:nth-child(5) a:after{content:url(../img/common/menu/right05.png);}
footer ul li:nth-child(6) a:after{content:url(../img/common/menu/right06.png);}
footer ul li:nth-child(7) a:after{content:url(../img/common/menu/right07.png);}
footer ul li:nth-child(8) a:after{content:url(../img/common/menu/right08.png);}
footer ul li img{max-width:95%}


/*INDEX========================================*//**/
#index header{background:#ffffff;margin:0}
#index header h1{padding:8px 0 0 1%}
#index header p{position:absolute;top:5px;right:1%}
#index article#topimage{position:relative;margin-top:-35px;padding:0}
#index article#topimage img.top{position:absolute;top:35px;}
#index article#topimage img.bottom{position:absolute;bottom:-1px;}

#index footer a img.link{width:90%;height:auto;margin:20px 5% 20px 5%}

/*SUB========================================*//**/
#sub header{text-align:center;background:#ffffff;margin:0}
#sub header h1{padding-top:12px;margin-bottom:-20px;}
#sub header h1 img{max-width:50%;margin:0 25%}
#sub header nav{width:100%;display:table;text-align:center;position:absolute;top:0}
#sub header nav a{display:table-cell;width:50%;text-align:left;height:auto;vertical-align:middle;padding:10px 5px 2px 5px}
#sub header nav a:nth-child(2){text-align:right}

#sub article p.center{text-align:center;margin:10px 0}
#sub article ul.list{padding:0 4%}
#sub article ul.list li{padding:0 0 10px 24px}
#sub article ul.list li:before{content:url(../img/common/mark1.png);position:absolute;left:0px}
#sub article ul.list li:nth-child(even):before{content:url(../img/common/mark2.png)}

/*aisatsu*//**/
#sub article p.border02{border:1px dashed #007CFF;margin:10px}

/*access*//**/
#sub article ul.access li:nth-child(1) a:after{content:url(../img/common/menu/right04.png);}
#sub article iframe{border:none;width:100%;height:360px}

/*bosyu*//**/
#sub article ul.bosyu li a:after{content:url(../img/common/down_orange.png)}

body.bosyu article table{width:96%;margin:10px 2%}
body.bosyu article table tr td{padding:5px;background:#ffffff}
body.bosyu article table tr td:nth-child(1){font-weight:bold;text-align:center;width:6em}
a.bosyubutton{display:block;width:94%;margin:10px 2%;padding:1%;text-align:center;border-radius:8px;background:#FFC600;font-weight:bold;color:#ffffff}

body.bosyu article dl{width:94%;margin:10px 3%}
body.bosyu article dl dt{padding-left:20px;}
body.bosyu article dl dt:before{content:url(../img/common/mark1.png);position:absolute;left:10px}
body.bosyu article dl dt:nth-child(even):before{content:url(../img/common/mark2.png)}
body.bosyu article dl dd{margin-bottom:15px}
body.bosyu article dl dd input,
body.bosyu article dl dd textarea{width:98%;padding:1%;font-size:large}
body.bosyu article h2{font-size:medium;padding-left:3%;margin-top:10px}
body.bosyu article h2:before{content:url(../img/common/mark2.png);position:relative;top:2px}

body.bosyu article.bosyu1 table tr td:nth-child(1){background:#FFCC4C}
body.bosyu article.bosyu1 input[type="submit"]{border:none;border-radius:8px;background:#DB4040;padding:2%;margin:3%;width:94%;font-weight:bold;color:#fff}

body.bosyu article.bosyu2 table.center tr td{text-align:center}
body.bosyu article.bosyu2 table tr td:nth-child(1){background:#FFBDBF}
body.bosyu article.bosyu2 table thead tr td,
body.bosyu article.bosyu2 table thead tr td:nth-child(1){background:#FF898B}

body.bosyu article.bosyu3 table.center tr td{text-align:center}
body.bosyu article.bosyu3 table tr td:nth-child(1){background:#B7E8B5}
body.bosyu article.bosyu3 table thead tr td,
body.bosyu article.bosyu3 table thead tr td:nth-child(1){background:#73C86D}

/*mail*//**/
#sub article ul.mail li:nth-child(1) a:after{content:url(../img/common/menu/right07.png);}

/*single*//**/
.single header h1{font-size:medium;color:#FF7C0A;width:56%;margin:0 22%;padding:10px 0}
.single header h1 span{font-size:small;color:#8B8B8B;font-weight:normal;display:block}
.single article.single img,
.single article.single figure img{width:100%;height:auto;margin:5px 0}
.single article.single figure{display:inline!important}
.single article.single figure figcaption{display:none}

.single article p.totop img{width:auto;height:auto;margin:0}
.single nav.single{display:table;width:94%;margin:0 3%;
position:relative;
border-radius: 8px;
}
.single nav.single .pre,
.single nav.single .next
{width:50%!important;display:table-cell!important;background:#FFFABD;text-align:center;color:#FFBA85}
.single nav.single .pre{
-moz-border-radius: 8px 0px 0px 8px;
-webkit-border-radius: 8px 0px 0px 8px;
border-radius: 8px 0px 0px 8px;
}
.single nav.single .next{
-moz-border-radius: 0px 8px 8px 0px;
-webkit-border-radius: 0px 8px 8px 0px;
border-radius: 0px 8px 8px 0px;
}

.single nav.single .pre a{width:50%!important;display:table-cell!important;background:#FFE955;text-align:center;color:#FF6E00;font-weight:bold;padding:10px}
.single nav.single .next a{width:50%!important;display:table-cell!important;background:#FFE955;text-align:center;color:#FF6E00;font-weight:bold;padding:10px}

.single nav.single .pre a:link,
.single nav.single .pre a:visited,
.single nav.single .pre a:hover,
.single nav.single .pre a:active
{
-moz-border-radius: 8px 0px 0px 8px;
-webkit-border-radius: 8px 0px 0px 8px;
border-radius: 8px 0px 0px 8px;
box-shadow:none;
border-right:1px solid #fff}
.single nav.single .next a:link,
.single nav.single .next a:visited,
.single nav.single .next a:hover,
.single nav.single .next a:active
{
-moz-border-radius: 0px 8px 8px 0px;
-webkit-border-radius: 0px 8px 8px 0px;
border-radius: 0px 8px 8px 0px;
box-shadow:none;
}

