@import url(https://fonts.googleapis.com/css?family=Pacifico);
@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css?family=Josefin+Sans);

/* reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;}
ul{list-style:none;}
table{border-collapse:collapse;border-spacing:0;}
caption,th{text-align:left;}
q:before,q:after{content:'';}
object,embed{vertical-align:top;}
legend{display:none;}
h1,h2,h3,h4,h5,h6{font-size:100%;}
img,abbr,acronym,fieldset{border:0;}

body {
	font-family: Verdana, Helvetica, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
	font-weight: 300;
	-webkit-text-size-adjust:100%;
    word-wrap: break-word;
    overflow-wrap: break-word;

	width: 100%; /* コンテンツの横幅を指定する */
	overflow: auto; /* コンテンツの表示を自動に設定（スクロール） */

	color: #fff;
	background: #000;
	line-height:150%;
	font-size: 100%;
	
}
table{table-layout: fixed;}
td {word-wrap: break-word;}

a{
	color: #0066ff;
	text-decoration: none;
}

a:hover, .active{
  text-decoration: underline;
}

a:active, a:focus,input:active, input:focus{outline:0;}


section{clear:both;}

img{
	max-width:100%;	
	height: auto;
}

h1{
	font-size:130%;
	text-align: center;
	font-weight:bold;
}

h2{
	font-size:130%;
	text-align: center;
	font-weight:bold;
	padding:15px 0px 15px 0px;
}

h3{
	font-size: 120%;
	font-weight:bold;
	text-align: left;
}

h4{
	text-align:center;
}


.messagebox{
	max-width:600px;
	margin:0 auto;
}

.message{
	margin:30px 0px;
	padding:20px 30px;
    background-color: rgba( 0, 0, 0, 0.70 );
    text-align: left;
}

.date{
	font-size:130%;
	padding:5px 0 10px 0;
	text-align: left;
	font-weight:bold;
}


header, #logo, #sec02, #sec03 img{
	width:100%;	
}

.leftbox img{
	width:100%;	
}
.rightbox img{
	width:100%;	
}
.logobox img{
	width:100%;	
}


.inner{

	margin: 0 auto;

	padding-top:0px;
}



/* メニュー
------------------------------------------------------------*/

	a#menu{
		display:none;
	}	

	.panel{
		display:block !important;
	}

	#mainnav{
		display: block;
		position:fixed;
		top: 0;
		width:100%;
		z-index:9999;
	}

	#mainnav ul{
		text-align: right;
		padding-right: 54px;
	}

	#mainnav li{
		display: inline-block;
		padding: 15px 10px;
		font-size: 120%;
		font-weight: 300;
	}
	#mainnav img{
		position: absolute;
		margin-left: auto;
		margin-right:5px;
	}
	
	#mainnav a{
		color: #55d1ff;
		font-weight:bold;
		opacity:0;
	}

	#mainnav.changeNav a{
		opacity:1.0;
	}
	
	#mainnav.changeNav{
		background-color: rgba(0,0,0,0.65);
		border-bottom: 1px solid #55d1ff;
	}




/* SEC02 recent game
------------------------------------------------------------*/
.wrap{
	clear: both;
	width: 100%;
	height:100%;

	position:relative;
	top:0;
    left:0;
	}

.wrap0{
	clear: both;
	width: 100%;
	height:100%;
	position:relative;
	top:0;
    left:0;
	height:40px;
}

#sec02 img:hover{
    opacity: 0.6;
}


.leftbox{
	line-height:0%;
	background: #9CFFFF url(images/download_back2.png) no-repeat scroll center center;
	background-size: 100% auto;
}

.rightbox{
		height:auto;
}
.rightbox2{
		clear:both;
		
}
.rightlogo{
line-height:0%;
font-size:0px;
	background: #9CFFFF url(images/download_back2.png) no-repeat scroll center center;
	background-size: 100% auto;

}



/* SEC03 過去ゲーム

------------------------------------------------------------*/
#sec03{
	padding-top:30px;
	font-size:100%;
}

#sec03,#sec07{
	position:relative;
	background-color:black;
}


#sec07{
	font-size:92%;
	line-height:135%;
}

#sec07 a{
	color:#55d1ff;
}

#sec02 a{
	color:#55d1ff;
}



#sec03 a{
	color:#fff;
}



#description a{
	color:#55d1ff;
}

#sec03 a:hover,#sec07 a:hover{
	text-decoration:underline;
}

.col3 img{
	display: block;
	    padding:0;
	    margin:0;
}

#sec03 img:hover, #sec07 img:hover, #banner img:hover{
	opacity: 0.6;
}

#sec03 .imgbox{
	background: #9CFFFF url(images/download_back3.png) no-repeat scroll center center;
	background-size: 100% auto;
	padding:0;
	margin:0;
}

#sec07 .imgbox{
	background: #9CFFFF url(images/download_back3.png) no-repeat scroll center center;
}


#sec03 p{
	margin-bottom:4px;
}

#sec07 p{
	margin-bottom:8px;
}

#sec07 a{
	color:#fff;
}


.col3 li{
padding-bottom: 20px;
padding-top: 30px;
}

#banner{
text-align: center;
padding: 0;
clear: both;
width: 100%;
height: 100%;

}

.imgbox2{
margin: 0 auto;
padding: 0;
max-width: 559px;
max-height: 80px;
}

.imgbox3{
margin: 0 auto;
padding: 0;
max-width: 936px;
max-height: 312px;
}



/* SEC04 PROFILE

------------------------------------------------------------*/
	#sec04{
	background:#000 url(images/bgSec04.jpg) no-repeat center center;
	background-size:auto 100%;
	}
	
#sec04{
	color: #fff;
	padding-top:20px;
}

#sec04 a{
	color:#55d1ff;
}
#sec04 a:hover{
	text-decoration:underline;
}



/* SEC05 MESSAGE
------------------------------------------------------------*/
#sec05{
text-align:center;

}

#contact{
	text-align:center;
	margin: 0 auto;
	clear:both;
	width:100%;
	}


#sec05 dl{

}

#sec05 dt{
	clear: left;
	float: left;
	display: block;
	width: 30%;
	margin-right: 10%;
	margin-bottom: 20px;
	text-align: right;
}

#sec05 dd{
	width: 60%;
	float: left;
	text-align: left;
	margin-bottom: 15px;
}

#sec05 header{
	display: none;
}

#map{
	position: relative;
	padding-bottom: 75%;
	height: 0;
	overflow: hidden;
}

#map iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
}


/* フッター
------------------------------------------------------------*/
#footer{
	clear: both;
	padding: 40px 10px 40px 0;
	text-align: center;

}



/* RESPONSIVE 設定
------------------------------------------------------------*/


@media only screen and (max-width: 1199px){
 /*1199px以下で適用する内容*/
	section h3{
		padding: 10px 0 13px 0;
	}
	#sec01 h3{
		padding: 20px 0 20px;
	}

}


@media only screen and (max-width: 759px){
 /*759px以下で適用する内容*/

	body{
 	font-size:93%;
 	}
 	
 	#sec02{
 	font-size:100%;
	line-height:135%;
 	}
 	
 	#sec07{
 	line-height:125%;
	}
	.col2 li{
     	display: inline-block;
	}

}


@media only screen and (min-width: 640px){
 /*640px以上で適用する内容*/
 
	#logo h3{
		font-size:100%;
	}
	
	.inner{
		padding-top:5px;
	}

	.wrap{
	margin-top:15px;
	}


	/* SEC02 最新作
	-----------------*/
	
	#sec02{
		position:relative;
	}
	
	#sec02 h3{
		font-size:160%;
		line-height:130%;
	}
	
	.righttext{
		padding-left:20px;
		padding-top:15px;
	}
	
	.rightbox, .leftbox{
		width: 50%;
		float: left;
		display: table;
	    position:relative;
	}
	
	#sec02_02 .rightbox, #sec02_02 .leftbox{
		float: right;
	}

	.rightbox2{
		display: table-cell;
		padding: 0;
		vertical-align: middle;
	}

	
	/* SEC03 過去作
		-----------------*/
	#sec03{
	font-size:93%;
	line-height:145%;
	}
	.col3{
		text-align: center;
	}
	
	.col3 li{
		display: inline-block;
		width: 30%;
		padding: 0 1%;
		padding-bottom: 20px;
		vertical-align: top;
		text-align: left;
	}
	
	/* SEC04 プロフ
		-----------------*/

	
	.col2 li{
		width: 100%;
		width: 43%;
		padding: 0 3%;
		margin: 20px 0 30px 0;
		display: inline-block;
		vertical-align: top;
		font-size:96%;
		line-height:150%;
	}
	
	/* SEC05 
		-----------------*/
	
  #footer{
		padding: 30px 10px 30px 0;
	}
}


@media only screen and (max-width: 640px){
 /*640px以下で適用する内容*/

 
 	
	#mainnav li{
		padding: 8px 6px;
	}
	

	h1{
		font-size:120%;
	}
	
	#logo{
		padding:0 5px 0 5px;
		max-width:95%;
	}
	
	#map iframe{
		width: 96% !important;
		left: 2%;
	}

	/* SEC02 最新作
	-----------------*/
	.righttext{
		padding: 0 5%;
	}

	#sec02{
	position:relative;
	line-height:150%;
}
	
	.rightbox, .leftbox{
		width: 50%;
		float: left;
		display: table;
	    position:relative;
	}
	
	#sec02_02 .rightbox, #sec02_02 .leftbox{
		float: right;
	}

	.rightbox2{
		display: table-cell;
		padding: 0;
		vertical-align: middle;
	}
	
	.rightbox, .leftbox{
		width: 100%;
		display: block;
	    position:relative;
	}
	
	
	/* SEC03 過去作
	-----------------*/
	#sec03{
	font-size:84%;
	line-height:140%;
	}
	
	.col3{
		text-align: center;
	}
	
	.col3 li{

		}

	.col3 li{
		display: inline-block;
		width: 30%;
		padding:0px 2px 10px 2px;
		vertical-align: top;
		text-align: left;
	}
		
	/* SEC04 プロフ
	-----------------*/

	#sec04{
	padding-top:0;
	}
	

	.col2 li{
		display: inline-block;
		width: 95%;
		padding: 0 3%;
		font-size:95%;
		line-height:145%;
  		margin: 10px 0 10px 0;
	}

	/* SEC05 
		-----------------*/
		
	#sec05{
	padding:0 5%;
	}
	
	
}

@media only screen and (max-width: 565px){
 /*565px以下で適用する内容*/

#mainnav ul {
text-align: center;
}

#mainnav li{
		display: inline-block;
		font-size: 95%;
		font-weight: 300;
		padding: 3px 3px;
	}

	#mainnav img{
		position: absolute;
		margin-left: auto;
		margin-right:5px;
	}
	
	.inner{

	}

#sec07 p{
	margin-bottom:3px;
}


}


@media only screen and (max-width: 420px){
 /*420px以下で適用する内容*/
 
	#mainnav ul{
		padding-right: 25px;
	}
 
 #mainnav li{
		display: inline-block;
		font-size: 93%;
		font-weight: 300;
		padding: 3px 2px;
	}

	h2{
		font-size:130%;
	}	
	#sec07 {
		font-size:84%;
	}
	h3{
		font-size:120%;
	}
	
}

@media only screen and (min-width: 1200px){
 /*1200px以上で適用する内容*/
	.inner{
		width: 1200px;

	}
	section h3{
		padding: 10px 0 10px;
	}
	

	
	.rightbox h3{
		padding: 0 0 20px !important;
	}
	#logo h3{
	font-size:150%;
	}
	
	.righttext{
		padding-left:40px;
	}
	
	.col2 li{
		font-size:95%;
		line-height:150%;
	}
}


@media only screen and (min-width: 850px){
 /*850px以上で適用する内容*/
 
 /* ブラウザ幅が画像幅以上で、画像幅基準＆fixedに変更(画像の横幅は800。少し余裕を持たせること) */
 
	#sec04{
	min-width: 100%;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
	
	}


}






#mainnav.twitter li{
		padding: 0
	}


#kousin{
padding: 0px 0px 0px 0px;
color: #000;
font-size: 80%;
}
#kousin a{
text-decoration: underline;
color: #000;
font-size: 80%;
}
#kousin a:hover{
text-decoration: underline;
font-size: 80%;
font-weight: bold;
}
#mailf{
text-align:center;
padding: 0 5px 0 5px;
color: #fff;
max-width:520px;
margin: 0 auto;
}
#mailf a{
color: #fff;
font-size: 90%;
text-decoration: none;
}
#mailf a:hover{
color: #fff;
text-decoration: none;
font-weight: normal;
font-size: 90%;
}
textarea{
max-width: 300px;
width:100%;
height:100px;
padding: 0px;
margin:12px 12px 0 10px;
border: solid 1px #000;
overflow-y : auto;
overflow-x : hidden;
font-size: 100%;
line-height:100%;
}

input{
    padding: 12px 30px;
    margin: 5px 0 0 0;
    font-size: 120%;
    background-color: #fff;
    color: #000;
    border-style: none;
}


#syspom{
	padding: 0 0 15px 0;
}

@media only screen and (min-width: 800px){
textarea{
	overflow-y:scroll;
	max-width: 500px;
}


}



