@charset "utf-8";

@media screen and (min-width:769px) , print{

}
@media screen and (max-width:1240px) and (min-width: 769px){

}
@media screen and (max-width:1100px) and (min-width: 769px){

}
@media screen and (max-width:960px) and (min-width: 769px){

}
@media screen and (max-width:768px){

	.main:has(.C-Category:first-child){
		padding-top: 14.5rem;
	}

}



/*-------------------------------
	動画ギャラリー一覧
-------------------------------*/

.Movie-block-wrap{
	width: 100%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-flow: dense;
	gap: .5rem;
	overflow: hidden;
}
.Movie-block{
	/* height: 50rem; */
	background: #fff;
}
.Movie-block a{
	width: 100%;
	height: 100%;
	aspect-ratio: 45.5 / 50;
	display: block;
	position: relative;
	opacity: 1 !important;
}
.Movie-block-gallery{
	width: 100%;
	/* height: calc(100% - 10rem); */
	height: 100%;
	position: relative;
	z-index: 4000;
}
.Movie-block-gallery__image{
	transition: var(--transition);
	width: 100%;
	height: calc(100% - 10rem);
	overflow: hidden;
}
.Movie-block-gallery__image.on{
	opacity: 0;
}
.Movie-block-gallery__image img{
	transition: var(--transition);
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: relative;
	z-index: 4000;
}
.Movie-block-gallery__frame{
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 6000;
	z-index: -1;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.Movie-block-gallery__frame iframe{
	width: 260%;
	height: 260%;
	object-fit: cover;
	flex-shrink: 0;
}
.Movie-block__body{
	transition: var(--transition);
	width: 100%;
	height: 10rem;
	padding: 1rem 2rem;
	background: #fff;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	position: absolute;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 6000;
}
.Movie-block__data{
	width: 100%;
	margin-bottom: 1.2rem;
	padding-left: 1.6rem;
    letter-spacing: .05em;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	position: relative;
}
.Movie-block__data::before{
	background: var(--maincolor);
	content: "";
	display: block;
	width: 1rem;
	height: 1rem;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}
.Movie-block__data-time{
	transition: var(--transition);
	font-size: 1.2rem;
	line-height: 1;
	padding-right: 1.4rem;
	margin-right: 1.4rem;
	font-weight: 400;
	position: relative;
}
.Movie-block__data-time::after{
	transition: var(--transition);
	background: var(--blackcolor);
	content: "";
	display: block;
	width: 1px;
	height: 100%;
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 5000;
}
.Movie-block__data-category{
	transition: var(--transition);
	font-size: 1.2rem;
	line-height: 1;
	font-weight: 400;
}
.Movie-block__title{
	transition: var(--transition);
	font-weight: 700;
	letter-spacing: .05em;
}
.Movie-block__title span{
	line-height: 1;
}

.Movie-block.play .Movie-block__body{
	background: transparent;
}
.Movie-block.play .Movie-block__data-time{
	color: #fff;
}
.Movie-block.play .Movie-block__data-time::after{
	background: #fff;
}
.Movie-block.play .Movie-block__data-category{
	color: #fff;
}
.Movie-block.play .Movie-block__title{
	color: #fff;
}

.Movie-back-wrap{
	margin-top: 10rem;
}
.Movie-back{
	margin-left: auto;
	margin-right: auto;
}

@media screen and (min-width:769px) , print{

	.Movie-block:nth-of-type(10n+1),
	.Movie-block:nth-of-type(10n+6){
		grid-column: span 2;
	}
	.Movie-block:nth-of-type(10n+1) a,
	.Movie-block:nth-of-type(10n+6) a{
		aspect-ratio: calc(45.5 * 2) / 50;
	}
	.Movie-block:nth-of-type(10n+6){
		grid-column: 2 / 4;
	}
	.Movie-block:nth-of-type(10n+7){
		grid-column: 1 / 2;
	}
	.Movie-block:nth-of-type(10n+1) .Movie-block-gallery,
	.Movie-block:nth-of-type(10n+6) .Movie-block-gallery{
		height: 100%;
	}
	/* .Movie-block:nth-of-type(10n+1) .Movie-block-gallery::before,
	.Movie-block:nth-of-type(10n+6) .Movie-block-gallery::before{
		content: "";
		display: block;
		width: 100%;
		height: 100%;
		position: absolute;
		left: 0;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 6000;
		background: rgba(0,0,0,.3);
	} */

	.Movie-block:nth-of-type(10n+1) .Movie-block-gallery__frame iframe,
	.Movie-block:nth-of-type(10n+6) .Movie-block-gallery__frame iframe{
		width: 110%;
		height: 110%;
	}

}
@media screen and (max-width:1240px) and (min-width: 769px){

}
@media screen and (max-width:1100px) and (min-width: 769px){

}
@media screen and (max-width:960px) and (min-width: 769px){

}
@media screen and (max-width:768px){

	.Movie-block-wrap{
		width: 100%;
		gap: .5rem;
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
		justify-content: space-between;
	}
	.Movie-block{
		width: calc((100% - .5rem) / 2);
	}
	.Movie-block a{
		aspect-ratio: auto;
	}
	.Movie-block-gallery{
		height: auto;
	}
	.Movie-block__body{
		height: auto;
		padding: 2.5rem 2rem;
		background: #fff;
		display: flex;
		align-items: flex-start;
		justify-content: center;
		flex-direction: column;
		position: static;
	}
	.Movie-block-gallery__image{
		height: 100%;
		aspect-ratio: 1 / 1;
	}
	.Movie-block__data{
		margin-bottom: 1.4rem;
		padding-left: 2.5rem;
	}
	.Movie-block__data::before{
		width: 1.6rem;
		height: 1.6rem;
	}
	.Movie-block__data-time{
		font-size: 2rem;
		padding-right: 2rem;
		margin-right: 2rem;
	}
	.Movie-block__data-category{
		font-size: 2rem;
	}
	.Movie-block__title span{
		line-height: calc(4 / 2.8);
	}

	.Movie-block:nth-of-type(3n+1){
		width: 100%;
	}
	.Movie-block:nth-of-type(3n+1) .Movie-block-gallery{
		height: calc(100% - 13rem);
	}
	.Movie-block:nth-of-type(3n+1) .Movie-block-gallery__image{
		aspect-ratio: auto;
	}
	.Movie-block:nth-of-type(3n+1) .Movie-block__body{
		height: 13rem;
	}

	.Movie-block:nth-of-type(3n+1) .Movie-block__title .trimming__inner--sp2{
		-webkit-line-clamp: 1;
	}

}