@charset "utf-8";

div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p{
	margin:0;
	padding:0;
}
td{
	padding:3px;
}
fieldset,img{border:0;}


ul,li{list-style:none;}caption,th{text-align:left;}

/* clearfix */
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	font-size:0;
	clear: both;
	visibility:hidden;
}
.clearfix {
	display: inline-block;
}
/* Hides from IE Mac \*/
* html .clearfix {height: 1%;}
.clearfix{display:block;}
/* End Hack */

body {
	font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
	font-size: 87%;
	margin: 0px;
	padding: 0px;
	text-align: center;
	background-image: url(../../image/bg.jpg);
	background-repeat: repeat-x;
	line-height: 150%;
}



a:link {  color: #0066CC}
a:active {  color: #FF9933}
a:visited {  color: #0066CC}
a:hover {  color: #FF9933}
a:hover img 
{
	border: none;
	opacity:0.7;
	filter: alpha(opacity=70);
	-ms-filter: "alpha( opacity=70 )";
}
/*
--------------------------------------------------*/

object {outline: none;}


form {
	margin: 0px;
	padding: 0px
}


/*
 * font
--------------------------------------------------*/
.font_b {
	font-size: 118%;
	font-weight: bold;
}

.font_s {
	font-size: 87%;
	line-height: 130%;
}
.font_red {
	color: #F00;
}
.font_ye {
	color: #FFCC00;
}

h1 {
	margin: 0px;
	font-size: 118%;
	font-weight: bold;
}
/* header
--------------------------------------------------*/

#container {
	max-width: 960px;
	margin: 0px auto;
	background: #fff;
}

#header {
	min-height:60px;
	clear: both;
	border-bottom-width: 6px;
	border-bottom-style: solid;
	border-bottom-color: #099;
	margin: 0 auto;
	background-color: #FFF;
}

#contents {
	clear: both;
	margin: 0 auto;
	background-color: #FFF;
}

#footer {
	margin: 0 auto;
	border-top-style: solid;
	border-top-width: 2px;
	border-top-color: #000;
	font-size: 87%;
	background-color: #FFF;
	text-align: left;
	text-indent: 1em;
	padding: 10px 0;
}

#sidebar {
	margin:15px 15px 0 0;
	float:right;
	width:300px;
	padding:0;
}

#main {
	margin:15px;
	padding:0;
	float:left;
	text-align: left;
	width:560px;
}
#main2 {
	margin:0 0 0 15px;
	padding:0;
	float:left;
	text-align: left;
	width: 560px;
}

/* contents
--------------------------------------------------*/
#logo
{
	float: left;
	margin: 5px 15px;
}


#game_wap {
	width: 100%;
	margin:0;
	padding:0;
	height: 368px;
	text-align: left;
}

#flashPlaceHolder {
	margin:0;
	padding:0;
	width:560px;
	height:368px;
	text-align: left;
}

#iine {
	width:128px;
	float: left;
	clear: both;
}
.midashi {
	width:250px;
	font-size: 112%;
	font-weight: bold;
	float: left;
	margin-bottom: 20px;
	clear: both;
}

.sub_midashi {
	text-indent: 3px;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #000000;
	padding-bottom: 5px;
	font-size: 112%;
	color: #F00;
	font-weight: bold;
	margin-bottom: 15px;
}

.sub_midashi_s {
	width: 100%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #000000;
	margin:0px auto;
}

.btn {
	visibility:visible;
}

.form_btn {
	padding: 3px 15px;
	margin:0px auto;
}

.ad300 {
	float: left;
	height: 250px;
	width: 300px;
	margin: 0 0 15px 0;
	text-align: center;
}
.ad300_2 {
	float: left;
	height: 250px;
	width: 300px;
	margin: 3px 0 0 3px;
	text-align: center;
}
#for_sp_area{
	float: right;
	width: 48%;
	margin: 0;
	display:none;
}
.for_sp{
	position: relative;
	margin: 5px 2px 0 0;
	height: 50px;
	width: 100%;
	background-color: #099;
	font-size: 108%;
	text-align: center;
	line-height: 180%;
	float: right;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}
.for_sp a{
	display:block;
	position: absolute;
	top: 0;
	left: 0;
	height: 38px;
	padding:12px 0 0 0;
	width: 100%;
	color: #FFF;
	text-decoration: none;
	line-height: 180%;
}

/* =====================
	1040px以下
======================= */
@media screen and (max-width: 959px) {

#header,#contents,#footer {
	float:left;
	min-width:100%;
}
#main {
	float:none;
	width:96%;
	margin:15px 0;
}

#main2 {
	float:left;
	width:96%;
	margin:15px;
}
.midashi {
	margin-left: 10px;
}
#btn {
	visibility:hidden;
}

#flashPlaceHolder {
	width:100%;
	height:100%;
	text-align: center;
}
#sidebar {
	width:100%;
	text-align: center;
	margin:0;
}
.ad300 {
	margin: 5px;
	text-align: center;
	background-color: #996;
}
}
