@charset "UTF-8";

#rhythmGame{
    background-image: url(../images/common/content_bg02.png),url(../images/common/content_bg01.png),url(../images/common/content_bg04.png);
    background-position: center bottom,center top,left top;
    background-repeat: no-repeat,no-repeat,repeat;
    background-size: 100%,100%,37px;
    padding:5px 0 60px 0;
}
#rhythmGame h2{margin-bottom:15px;}
#rhythmGame h1,#rhythmGame h2{width:320px;margin:0 auto;}

.content_wrap{
    width:310px;
    margin: 0 auto;
    position: relative;
}
.content_wrap .contents_box{
    width:306px;
    background-color:#FFFFFF; 
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    -webkit-border-left-radius: 15px;
    -webkit-border-right-radius: 15px;
    border:solid 2px #279dd8; 
    border-top:none;    
}
.content_wrap .contents_box h4.moving{
    position: relative;
    top:-10px;
    line-height: 0;
    z-index: 2;
}
.movie1,.movie2{
    width:279px;
    position: relative;
    background: url(../images/games/movie_bg.png) no-repeat center top;
    padding:27px 0 16px;
	background-size:100%;
}
.movie1{
    margin: -25px auto 0;
}

.movie2{
    margin:0 auto;
}

.movie1 ul,.movie2 ul{
    width:228px;
    margin: 0 auto;
    margin-top:5px;
}
.movie1 ul li,.movie2 ul li{
    display: inline-block;
    margin-right:3px;
}
.movie1 ul li:last-child,
.movie2 ul li:last-child{
    margin-right:0px;
}

/*--------タブ--------*/
#tab-box div,
#tab-box2 div {  
display:none;    
}  

.gallery {
    margin:10px 0 5px 0
}
.gallery ul li{
    display: inline-block;
    margin:0 5px 5px 0;
}
.gallery ul li:nth-child(even){
margin:0 0 5px 0;
}
.gallery ul{
    width:279px;
    margin:0 auto;
}

.youtube1{
	position:absolute;
	height:100%;
    min-height:100%;
    width:100%;
	background:#000000;
	z-index:99;
}

.youtube1 div.wrap{
	position:fixed;
	top:50%;
	left:50%;
	width:300px;
	max-width:300px;
	height:300px;
	margin-top: -150px;
  	margin-left: -150px;
	text-align:right;
}


.video-container iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video-container{
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.youtubewrap{
	width:300px;
	max-width: 100%;
	mex-height:400px;
	overflow:hidden;
}

@media screen and (min-width:480px) { 
.youtube1 div.wrap{
	position:fixed;
	top:0;
	left:0;
	width:300px;
	max-width:300px;
	min-height:300px;
	text-align:right;
	margin:0;
}

.video-container iframe{
	position: absolute;
	top: 0;
	left: 0;
	width:100%;
	height: 100%;
}

.video-container{
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}


}