@charset "UTF-8";
/* CSS Document */

/*--------Init----------*/
.clearfix:after {
  content: "　";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

.clearfix {
  min-height: 1px;
}

ul{
	margin:0;
	padding:0;
}

.sub{
	text-indent:-1em;
	margin-left:1em;
	font-size:90%;
}

.content_border{
	display:block;
	margin:0 auto;
	width:100%;
	margin-bottom:3%;
}

br.mobile{
	display:none;
}

html{ height:100%;}

*{
	box-sizing:border-box;
}

.mb{
  display:none;
}

/*-------Common--------*/

body{
	height:100%;
	margin:0;
	font-size:14px;
	line-height:1.8;
	background-color:#000;
	overflow-x:hidden;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}


#wrapper{
	width:100%;
	min-height:100%;
	overflow:hidden;
	position:relative;
	background-image:url(../images/common/site_bg.jpg);
	/*margin-left:70%;*/
	z-index:2;
}

#wrapper:after{
	content:"";
	display:block;
	height:250px;
}


header{
	width:100%;
	height:118px;
	background-image:url(../images/common/header_bg.jpg);
	background-repeat:repeat-x;
	position:relative;
	z-index:100001;
	box-shadow:0 5px 5px rgba(0,0,0,0.3);
}


header #anv30{
	display:block;
	margin:0 auto;
	padding-top:7px;
	background:none;
}

/*---sns---*/

header #snsapi{
	position:absolute;
	top:12px;
	left:0;
	width:100%;
}

header #snsapi #apis{
	width:100%;
	max-width:1000px;
	margin:0 auto;
}

header #snsapi .api{
	float:right;
	margin-right:1.5%;
}

header #snsapi iframe{
	width:100px !important;
	overflow:hidden;
}


/*---nav--*/
nav{
	width:100%;
	position:relative;
	margin-top:30px;
}

nav ul{
	list-style:none;
	width:100%;
	max-width:1000px;
	margin:0 auto;
	text-align:center;
}

nav li{
	display:inline-block;
	width:19.5%;/*24.5%;*/
	max-width:160px;
	padding:0.1% 1%;
	border:1px #9b8f5b solid;
	border-width:0 1px 0 0;
	margin-bottom:0.6%;
	position:relative;
}

nav li.update:before{
	content:"UPDATE";
	width:100px;
	position:absolute;
	top:-60%;
	left:50%;
	margin-left:-50px;
	color:#FFF;
	font-size:80%;
	background-color:#F00;
	border-radius:3px;
	font-weight:bold;
}



nav li#menu_home{
	border-width:0 1px 0 1px;
}

nav li img{
	width:100%;
	margin-top:2px;
}

nav li.inactive img{
	opacity:0.4;
}

#mobile_menu{
	position:fixed;
	top:0;
	left:0;
	z-index:1;
	width:70%;
}

#mobile_menu span,
#mobile_menu a{
	display:block;
	color:#CCC;
	text-decoration:none;
	font-size:130%;
	border:1px #222 solid;
	border-width:0 0 1px;
	padding:5px;
}

#mobile_menu span{
	color:#333;
}

#mobile_menu a b{
	background-color:#F00;
	color:#FFF;
	padding:2px 5px;
	font-size:60%;
	margin-left:3%;
	border-radius:3px;
	vertical-align:3px;
}

header #menu_openner{
	position:absolute;
	left:2px;
	bottom:14px;
	display:none;
	cursor:pointer;
}


/*----main----*/
#keyart{
	background-color:#000;
	text-align:center;
	position:relative;

}



#content{
	width:100%;
	max-width:1000px;
	margin:0 auto;
	background-image:url(../images/common/contents_bg.jpg);
	padding-bottom:50px;
	box-shadow:2px 0 2px rgba(0,0,0,0.3),-2px 0 2px rgba(0,0,0,0.3);

	padding-bottom: 32767px;
    margin-bottom: -32767px;
}

#content section#main img.full{
	width:100%;
}

footer{
	width:100%;
	position:absolute;
	left:0;
	bottom:0;
	background-image:url(../images/common/footer_bg.jpg);
	height:200px;
	box-shadow:0 -5px 5px rgba(0,0,0,0.3);
}



footer #footer_bg{
	text-align:center;
	padding-top:2%;
	padding-bottom:1%;
}


footer #banners{
	max-width:1000px;
	margin:0 auto;
}

footer #banners img{
	width:24%;
	max-width:242px;
}

footer img#copyright{
	display:block;
	margin:70px auto;
	margin-bottom:0;
}

#pagetop{
	position:fixed;
	bottom:10px;
	right:5px;
	cursor:pointer;
	z-index:101;
}


@media screen and (max-width:1024px) {
	nav li{
		width:16%;
		padding:0.1% 1%;
		margin-bottom:0.9%;
	}
	nav li img{
		width:95%;
	}

	footer #footer_bg{
		padding-top:3.7%;
	}

}

@media screen and (max-width:800px) {

	#wrapper:after{
		height:200px;
	}

	footer{
		height:160px;
	}

	footer #footer_bg{
		padding-top:5.7%;
	}

}

@media screen and (max-width:600px) {
	header{
		/*height:100px;*/
		position:fixed;
	}

	header #snsapi{
		top:auto;
		left:0;
		bottom:15px;
	}

	nav{
		display:none;
	}

	header #menu_openner{
		display:block;
	}
}

@media screen and (max-width:480px) {
	#wrapper:after{
		height:170px;
	}

}
