@charset "utf-8";
/* ------------------------------
メイン画像
------------------------------ */
@media screen and (max-width: 768px) {
	.mainimg{
		height: 150px;
		background: url(../../img/movies_main.jpg) no-repeat;
		background-size: auto 150px;
		background-position: -29% 0;
	}
}
/* ------------------------------
 タブ
------------------------------ */

.tab{
	border-bottom: solid 3px #B7D100;
}
.tab:after{
	content: "";
	clear: both;
	display: block;
}
.tab li {
	text-align: center;
}
.tab li {
	float: left;
	margin-right: 3px;
}
.tab li a{
	width: 242.75px;
	display: block;
	background: #E6E6E6;
	line-height: 37px;
	color: #B2B2B2;
	font-weight: bold;
	text-decoration: none;
}
.tab li a:hover{
	background: #B7D100;
	-webkit-transition: 0.4s ease-in-out;
	-moz-transition: 0.4s ease-in-out;
	-o-transition: 0.4s ease-in-out;
	transition: 0.4s ease-in-out;
	color: #fff;
}
.tab li.on a{
	background: #B7D100;
	color: #fff;
}
.tab li:last-child {
	margin-right: 0;
}
.tab li:last-child a{
	width: 242.75px;
}

.m_tab{
	margin-bottom:40px;
	}

.movies .cms_image{
	width: 310px;
	float: left;
	margin-right: 25px;
}

.movies .cms_image .m_img::before{
    content: url("../../jp/img/play.png");
    left: 50%;
    margin-left: -22px;
    margin-top: -25px;
    position: absolute;
    top: 50%;
    z-index: 5;
}

.movies .cms_image .m_img{
	display:block;
}


.movies .cms_image:nth-of-type(3n){
	margin-right: 0;
}
.movies .cms_image:nth-of-type(3n+1){
	clear: both;
}
.movies .cms_caption_b {
	font-size: 1.6rem;
	line-height: 1.4;
	margin-top: 10px;
	text-align: center;
}
.movies .cms_caption_b a{
	text-decoration: none;
}

.movies .cms_image .m_img{
	position:relative;
	}

.movies .cms_image .m_img::after {
	content: none;
}

@media screen and (max-width: 768px) {
	.tab {
	  padding-right: 2px;
	}
	.tab li{
		width: 50%;
		margin-right: 2px;
	}

	.tab li:nth-child(1),
	.tab li:nth-child(2){
		margin-bottom: 2px;
	}
	.tab li:nth-child(even){
 		 margin-right: -2px;
	}
	.tab li a,
	.tab li:last-child a{
		width: 100%;
	}
	.m_tab{
	margin-bottom:20px;
	}

	.movies .cms_image{
		width: 100%;
		float: left;
		margin-right: 0;
	}
	.movies .cms_caption_b {
		font-size: 1.2rem;
		line-height: 1.4;
		margin-top: 10px;
		text-align: center;
	}
	
	.movies .cms_image:nth-of-type(3n){
		margin-bottom:20px;!important
		}
	
}