@charset "utf-8";
html {
    overflow-y:scroll;
}
*{
margin:0;
padding:0;
}
img{
vertical-align:top;
border:0px;
}
li{
list-style-type:none;
}
body {
font-size:90%;
position:relative;
	background-color: #666666;
	line-height:160%;
}
h1 {
	font-size:130%;
	margin-top:10px;
	margin-bottom:10px;
	color:#039;
}
.hdn {
	display:none;
}
/*
* html h1{
	font-size:120%;
}
*:first-child+html h1{
	font-size:120%;
}
*/
h2 {
	font-size:110%;
	margin-top:10px;
	margin-bottom:10px;
	color:#039;
}
h3 {
	font-size:110%;
	margin-top:10px;
	margin-bottom:10px;
}
/*ここからはレイアウトに関するスタイル*/
#main {
	position:relative;
	background-color: #FFFFFF;
	width:960px;
}


#sim_btn {
	float: right;
	padding-top: 38px;
	padding-right: 20px;
	padding-bottom: 0px;
	padding-left: 0px;
}
#side_menu {
	float: left;
	width: 150px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	list-style-type: none;
	margin-top: 20px;
	margin-right: 20px;
	margin-bottom: 20px;
	margin-left: 40px;
}
.osusume {
	border: 1px solid #666;
	line-height:120%;
	text-align:left;
	padding:3px;
	background-color:#ffa;
}
.nomal_btn {
	background-image: url(../images/btn.gif);
	background-repeat: no-repeat;
	height: 25px;
	width: 150px;
	list-style-type: none;
	text-align: left;
	margin: 0px;
}
.nomal_btn:hover {
	background-image: url(../images/btn_h.gif);
}
.sub_btn {
	background-image: url(../images/btn_sub.gif);
	background-repeat: no-repeat;
	height: 20px;
	width: 150px;
	list-style-type: none;
	text-align: left;
	text-indent:15px;
	margin: 0px;
}
.sub_btn:hover {
	background-image: url(../images/btn_sub_h.gif);
}
#contents {
	background-color: #FFFFFF;
	float: left;
	width: 540px;
	padding: 0px;
	margin-top: 20px;
	margin-bottom: 0px;
	margin-left: 0px;
	text-align: left;
}
#contents_main {
	width: 960px;
	clear: both;
}
#footer {
	background-color: #000099;
	color:#fff;
	margin: 0px;
	height: 40px;
	width: 960px;
	clear: both;
}
#side_menu ul {
	margin: 0px;
	padding: 0px;
}
#message {
	margin: 0px;
	clear: both;
	height: 20px;
	width: 760px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 40px;
	text-align: left;
}
.red {
    color:#ff0000;
}
.news{
	height:20px;
	background-color: #000099;
	color: #ffffff;
}
#newsarea{
	padding-left: 10px;
	height:200px;
	overflow:auto;
	border:solid;
	border-width:0px 1px 1px 1px;
	border-color:#999999;
}
#ninkiarea{
	padding-left: 10px;
	border:solid;
	border-width:0px 1px 1px 1px;
	border-color:#999999;
}
#header {
	background-image: url(../images/header_back960.gif);
	background-repeat: no-repeat;
	width:960px;
	height:90px;
	position:relative;
}
#main {
	background-image: url(../images/contents_back960.gif);
	background-repeat: repeat-y;
}
#contents_bottom {
	background-image: url(../images/buttom_back960.gif);
	clear: both;
	height: 20px;
	width: 960px;
}
#title {
	position:absolute;
	left:0px;
	top:0px;
}
#myheader_smp {
	display:none;
}
#cb {
	/*clear:both;*/
}
#kizishita {
	clear:both;
	margin-top:20px;
	width:336px;
	height:280px;
	margin-right:10px;
	background-color:#fff;
	margin-top:40px;
	margin-bottom:80px;
}
#g_ad01 {
	float:right;
	width:160px;
	height:600px;
	margin-right:30px;
	background-color:#fff;
}
#g_ad02 {
	float:right;
	margin-top:10px;
	width:160px;
	height:600px;
	margin-right:30px;
	background-color:#fff;
}
/* 1050px以下(960) */
@media screen and (max-width: 960px) {
#main {
	width:800px;
}
#header {
	background-image: url(../images/header_back.gif);
	width:800px;
}
#main {
	background-image: url(../images/contents_back.gif);
}
#contents_main {
	width: 800px;
	clear: both;
}
#footer {
	width: 800px;
}
#contents_bottom {
	background-image: url(../images/buttom_back.gif);
	width: 800px;
}
#kizishita {
	margin-bottom:20px;
}
#g_ad01 {
	float:left;
	margin-left:40px;
	width:336px;
	height:280px;
}
#g_ad02 {
	margin-top:0px;
	margin-right:40px;
	width:336px;
	height:280px;
}
}
/*★ 500px以下(500) */
@media screen and (max-width: 600px) {

body {
	font-size:95%;
	line-height:160%;
	text-align: left;
}
h1 {
	font-size:130%;
	margin-top:10px;
	margin-bottom:10px;
}
h2 {
	font-size:120%;
	margin-top:5px;
	margin-bottom:5px;
}
h3 {
	font-size:110%;
	margin-top:5px;
	margin-bottom:5px;
}


#header {
	display:none;
}
#myheader_smp {
	display:block;
	height:50px;
	background-color: #2D00AA;
}
#main {
	background-image: none;
	background-color: #FFFFFF;
	width:100%;
}
#side_menu {
	clear:both;
	position:absolute;
	top:30px;
	background-color: #DCF2FF;
	width:90%;
	margin-left:5%;
	margin-right:5%;
	padding-bottom:20px;
	text-align: left;
	display:none;
	z-index:100;
}
#side_menu ul {
	margin: 0px;
	padding: 0px;
}
#side_menu ul a {
	text-decoration:none;
}
#side_menu ul a:hover {
	text-decoration:none;
}
.nomal_btn {
	background-image: none;
	
	border: solid 1px #ccc;
	border-radius: 15px 15px 15px 15px;
	box-shadow: 1px 1px 3px rgba(0,0,0,0.4);
	height:30px;
	width:90%;
	margin-bottom:5px;
	margin-left:5%;
	/*margin:1%;*/
	font-size:16px;
	display: -moz-box;
	display: -webkit-box;
	-moz-box-align: center;
	-webkit-box-align: center;
	-moz-box-pack: center;
	-webkit-box-pack: center;
	line-height:30px;
	cursor:pointer;
	font-weight:bold;
	text-align:center;
	
	background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));
	background: -moz-linear-gradient(top, #ffffff, #eeeeee);
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#ffffff', endColorstr='#eeeeee');
}
.nomal_btn:hover {
	background-image: none;
}
.sub_btn {
	background-image: none;
	list-style-type: none;
	text-align: left;
	height: 20px;
	margin-left:2em;
	font-size:16px;
	font-weight:bold;
	width:90%;
	color:#000;
}
.sub_btn:hover {
	background-image: none;
}
#contents_main {
	width: 100%;
	clear: both;
}
#message {
	margin-top: 110px;
	padding-left: 5%;
	padding-right: 5%;
	width: 90%;
}
#contents {
	clear:both;
	width: 90%;
	margin-top: 10px;
	margin-bottom: 0px;
	margin-left: 5%;
	margin-right: 5%;
	text-align: left;
	/*background-color:#f00;*/
}
#footer {
	width: 100%;
}
#contents_bottom {
	background-image: none;
	width: 100%;
}
#kizishita {
	clear:both;
	margin-top:20px;
	width:300px;
	height:250px;
	margin-bottom:180px;
}
#g_ad01_o {
	position:absolute;
	top:50px;
	width:100%;
	height:100px;
}
#g_ad01 {
	float:none;
	margin:0px;
	top:50px;
	clear:both;
	width:320px;
	height:100px;
}
#g_ad02_o {
	position:absolute;
	bottom:50px;
	width:100%;
	height:100px;
}
#g_ad02 {
	float:none;
	margin:0px;
	width:320px;
	height:100px;
}
}