a:link{color:#0000FF;font-weight:bold}
a:visited{color:#0000FF;font-weight:bold}
a:hover{text-decoration:none}
img{padding:5px 8px;text-decoration:none}
dl img{padding:5px 0 5px 3px}
table{margin:0 0 0 20px;padding:0}
ul,ol{margin:-10px 0 0 0}
li{margin-left:10px;line-height:150%}
dl{margin:0 0 0 20px}
dt{font-weight:bold;color:#000;margin:20px 0 5px 0;}
dd{margin-left:20px;line-height:150%}
hr{margin:0 0 0 15px}
div.content p,div.content-wide-main p,div.content-wide2 p,div.content-wide3 p{padding:0 0 0 20px;line-height:150%}
h1{font-size:0.8em;font-weight:normal;margin-top:0;padding:10px 0 0 10px}
h2{font-size:1.3em;font-weight:bold;padding:8px 10px 10px 20px;color:#3F3F3F;margin:0 10px 10px 10px;background-image:url(img/titlebar.jpg);background-repeat:no-repeat}
h3,.h0{font-size:1.3em;font-weight:bold;padding:8px 10px 10px 20px;color:#3F3F3F;margin:30px 10px 10px 10px;background-image:url(img/titlebar.jpg);background-repeat:no-repeat}
h4,h5,h6,h7,.h00{font-size:1.2em;font-weight:bold;padding:4px 5px 4px 10px;color:#fff;margin:10px 15px 10px 20px;background-color:#F70;border-left:8px solid #F30;}
body{margin:0;padding:0;font-size:0.9em;background-color:#FFC}
div.main{margin:0 auto;padding:0;max-width:1024px;border-left:2px #999 solid;border-right:4px #999 solid;background-color:#fff}
div.main2{margin:0 auto;padding:0;max-width:1164px;border-left:2px #999 solid;border-right:4px #999 solid;background-color:#fff}
div.main3{margin:0 auto;padding:0;max-width:1280px;border-left:2px #999 solid;border-right:4px #999 solid;background-color:#fff}
header{margin:0 auto}
header img{margin:0;padding:0;max-width:100%;height:auto}
div.pr_header{width:800px;float:left}
div.topmenu{margin:0;padding:0}
div.topmenu img{float:left;margin:0;padding:0;border-style:none}
div.pankuzu{font-weight:bold;margin:10px}
div.leftbox{width:854px;float:left}
div.content{float:left;width:100%;margin-right:-310px}
div.content-main{position:relative;margin:0 310px 0 320px}
div.content-wide{float:right;margin:0;width:100%;margin-left:-330px}
div.content-wide-main{position:relative;margin:0 10px 0 320px}
div.content-wide2{float:left;margin:0;width:100%;margin-right:-210px}
div.content-wide-main2{position:relative;margin:0 200px 0 10px}
div.content-wide3{width:690px;float:left;margin:0}
div.subcontents0{width:275px;height:175px;float:left;margin:10px 0px 10px 20px;padding:0 5px 5px 5px;line-height:130%;border:1px solid}
div.subcontents0-title{width:275px;height:26px;background-image:url(img/sub-title.jpg);color:#FFF;font-weight:bold;text-align:center;line-height:190%;margin:5px 0}
div.subcontents0-img{width:275px;height:80px;margin-bottom:5px}
.subcontents0 a{color:#FFF}
.subcontents0 img{padding:0}
div.subcontents-title{width:180px;font-size:0.9em;text-align:center;font-weight:bold;line-height:140%;margin:20px 0px 5px 20px;padding:0;float:left}
div.subcontents{width:180px;height:180px;margin:0;padding:0;border:1px solid;}
div.subcontents img{margin:0;padding:0;}
div.subcontents table{height:180px;width:180px;margin:0;padding:0;text-align:center;vertical-align:middle}
div.subcontents2{width:275px;height:245px;float:left;margin:10px 0px 10px 20px;padding:0 5px 5px 5px;line-height:130%;border:1px solid}
div.subcontents2-title{width:275px;height:30px;background-image:url(img/sub-title2.jpg);color:#FFF;font-size:1.2em;font-weight:bold;text-align:center;line-height:170%;margin:5px 0}
div.subcontents2-img{width:275px;height:80px;margin-bottom:10px}
.subcontents2 a{color:#000}
.subcontents2 img{padding:0}
div.subcontents3{width:380px;height:110px;float:left;margin:10px 0px 10px 15px;padding:0 5px 5px 5px;line-height:130%;border:1px solid}
div.subcontents3-title{width:380px;height:20px;background-image:url(img/sub-title2.jpg);color:#FFF;font-size:1.0em;font-weight:bold;text-align:center;line-height:130%;margin:5px 0;float:left}
div.subcontents3-img{width:140px;height:80px;margin-bottom:10px;float:left}
div.subcontents3-word{width:230px;height:80px;margin:0 0 10px 10px;float:left}
.subcontents3 a{color:#000}
.subcontents3 img{padding:0}
div.menu{width:305px;margin:0 0 0 5px;float:left}
div.menu-title{width:305px;height:30px;color:#FFFFFF;font-size:1.2em;font-weight:bold;line-height:170%;text-align:center;background-color:#F33;border:1px #000 solid}
div.menu ul{margin:0px;list-style:none}
div.menu li{width:305px;margin-left:-40px;background-image:url(img/li.gif);background-repeat:no-repeat;background-color:#FFE3C8;background-position:3px;border-left:solid 1px #948C74;border-right:solid 1px #948C74;border-bottom:solid 1px #948C74}
div.menu li a{display:block;font-size:1em;color:#000;line-height:150%;padding:5px 5px 5px 20px;margin-left:0px;text-decoration:none}
div.menu li a:hover{background-color:#FCF9E4;color:#000000;background-position:8px}
div.rightbox{float:right;margin:0;width:100%;margin-left:-320px}
div.rightmenu{width:310px;float:right;text-align:center}
div.rightmenu2{margin:0;float:right}
div.rightmenu2 img{margin:0}
div.pr{font-size:0.8em;margin:5px auto;padding:0}
div.pr-l{font-size:0.8em;margin:10px 0 10px 10px;padding:0;float:left;text-align:center}
div.pr-t{float:right;margin:0 0 5px 5px}
#footer{color:#FFFFFF;text-align:center;background-color:#F60;padding:10px}
.b{font-weight:bold;font-size:1.2em}
.red{color:red}
.b_red{font-weight:bold;color:red}
.big_red{font-weight:bold;font-size:1.2em;color:red}
.big_red2{font-weight:bold;font-size:1.2em;padding:3px;color:#FFF;background-color:#FF4A1E}
.title{font-weight:bold;font-size:1.2em;padding:3px;background-color:#CCC;border-left:5px solid #666;border-bottom:1px solid #666}
.line{color:red;background-color:#FF0;font-weight:bold}
.sotowaku{border:solid;border-width:1px}
.left{float:left;margin:10px}
.left2{margin:0 10px 10px 10px;padding:0 0 0 10px;line-height:150%}
.left2 li{margin-left:-10px}
.left3{float:left;margin:0 0 0 20px;padding:0}
.right{float:right}
.center{text-align:center}
.border{margin:0 10px 15px 20px;padding:5px;border:solid 1px;background-color:#FC9}
div.sample{margin-top:15px;margin-right:0;margin-bottom:0;margin-left:100px}
div.sample img{width:400px}
div.chushaku{font-size:0.9em;margin:8px 0;padding:5px;line-height:150%;border:solid 1px #FCF;background-color:#FFECFF}
div.chushaku2{font-size:0.9em;margin:8px 0 20px 20px;padding:5px;line-height:150%;border:solid 1px #FCF;background-color:#FFECFF}
div.link{margin:15px 10px 30px 180px}
div.link2{float:left;font-size:1.8em;padding:8px;margin:2px;border-style:solid;border-width:0.1em;background-color:#FF9933}
div.sitemap{float:left;margin:15px;padding-right:50px;border-right:double #000000}
div.sitemap ol{margin:5px 0 5px 0}
div.sitemap ol ul{margin:10px 0 10px 0}
div.sitemap ul li{margin:5px 0 5px 0}
.no-ad4{font-size:0.8em}
#scroll-to-top{position:fixed;z-index:2147483647;bottom:40px;right:20px;background:rgba(0,0,0,0.75);color:#fff;font-size:12px;font-family:sans-serif;text-decoration:none;padding:10px 10px;border-radius:2px}
********************************************************************************
@media only screen and (max-width:1280px){div.main3{width:100%}
img{max-width:100%}
}
@media only screen and (max-width:1164px){div.pr_header{width:auto;float:none}
div.main2, div.subcontent, div.box, div.box4, div.box5{width:100%}
div.main2, div.main3{max-width:1024px}
div.content{float:left;width:100%;margin-right:-180px}
div.content-main{position:relative;margin:0 180px 0 200px}
div.rightbox{margin-left:-200px}
div.content-wide{margin-left:-210px}
div.content-wide-main{margin-left:200px}
div.menu, div.menu-title, div.menu li{width:190px}
div.menu li a{font-size:0.9em}
div.rightmenu{width:180px}
div.pr-t{float:none;margin:5px auto;text-align:center}
}
@media only screen and (max-width:1024px){div.subcontents-title{margin:10px 0px 5px 10px}
div.content-wide3{width:100%}
div.rightmenu2{float:none;text-align:center}
}
@media only screen and (max-width:960px){div.content{float:none}
div.content-main, div.content-wide-main, div.content-wide-main2{margin:0 10px 0 0}
div.content-wide, div.content-wide2{float:none;margin:0}
div.menu{clear:both}
div.menu, div.menu li, div.menu-title{width:auto}
div.rightmenu{margin:0 0 10px 10px;float:none}
div.link{margin:15px 10px 30px 10px}
.no-ad3, .no-ad4{display:none}
div.sample{margin-left:0}
}
@media only screen and (max-width:740px){h2,h3,.h0{padding:5px 7px;margin:0 10px 10px 10px;border:double 7px #F70;background-color:#fff;background-image:none}
div.sample img{width:250px}
}
@media only screen and (max-width:640px){div.topmenu img{max-width:50%}
.no-ad{display:none}
div.subcontents-title{width:130px;font-size:0.7em}
div.subcontents{width:130px;height:130px}
div.subcontents img{max-width:110px;max-height:110px;margin-top:-50px;margin-left:-50px}
}
@media only screen and (max-width:420px){div.subcontents3,div.subcontents3-title,div.subcontents3-word{width:330px;height:auto}
.non{display:none}
div.rightmenu{margin:0 0 10px 0}
div.pr-l{margin:10px 0;float:none}
}
@media only screen and (max-width:350px){div.subcontents3-title{width:auto;height:auto;padding:3px;float:none;background-color:#FC9;background-image:none;line-height:120%}
}
@media only screen and (min-width:640px){.no-ad2{display:none}
}