@charset "UTF-8";

.movie-wrap {
	background: url("../img/index_movie.png");
	background-position: center;
	background-size: cover;
	display: flex;
	padding: 1em;
	width: calc(100% - 2em);
}

.movie-group {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: left;
	width: calc(50% - 0.5em);
	height: 100%;
}

.movie-group:nth-child(1) {
	margin-right: 1em;
}

.movie-text {
	position: relative;
	border: solid 1px rgba(180,180,180,0.5);
	box-shadow: 6px 6px 1px rgba(80,80,80,0.6);
	display: flex;
	justify-content: center;
	align-items: center;
	width: calc(50% - 2px);
	height: calc(2.0em - 2px);
	font-size: 1.5em;
	font-weight: bold;
	text-shadow: 2px 2px 1px rgb(80,80,80);
	color: white;
	transform: skew(-10deg);
	z-index: 1;
}

.movie-text::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(255,255,255,0.7);
	backdrop-filter: blur(2px);
	width: 100%;
	height: 100%;
	z-index: -1;
}

.movie-item {
	border: solid 1px rgb(160,160,160,0.5);
	display: flex;
	align-items: center;
	margin: 1em 0em 0em 0em;
	width: calc(100% - 2px);
	height: calc(2em - 2px);
	color: white;
	transition: all 0.3s;
}

.movie-item span {
	position: relative;
	padding-left: 0.5em;
	width: 5.5em;
	height: 100%;
	line-height: calc(2em - 2px);
	color: white;
	z-index: 1;
}

.movie-item span::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(255,165,0,0.7);
	backdrop-filter: blur(2px);
	width: 100%;
	height: 100%;
	z-index: -1;
}

.movie-item p {
	position: relative;
	padding-left: 0.5em;
	width: calc(100% - 6.0em);
	height: calc(2em - 2px);
	line-height: calc(2em - 2px);
	color: white;
	z-index: 1;
}

.movie-item p::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(55,55,55,0.7);
	backdrop-filter: blur(2px);
	width: 100%;
	height: 100%;
	z-index: -1;
}

.movie-item:hover {
	border: solid 1px white;
}

.movie-item:hover span {
	background-color: rgba(255,165,0,0.7);
}

/*modal*/
.my-modalmv {
	background-color: rgba(10,10,10,0.7);
	display: none; /*初期値*/
	flex-flow: column;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	color: white;
	z-index: 10;
}

.movie-modal {
	background-color: rgb(10,10,10);
	border-radius: 0.5em;
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	padding: 1em;
	width: 720px;
	height: 480px;
}

.movie-modal h4 {
	background: linear-gradient(to bottom, transparent 60%, rgb(30,120,160) 40%);
	transform: skew(-16deg);
	margin-bottom: 1em;
	padding-left: 1em;
	width: calc(100% - 1em);
	text-shadow: 3px 3px 0px rgba(10,10,10,0.5);
}

.movie-modal iframe {
	width: calc(100% - 2em);
	object-fit: contain;
}
/*modal*/

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

.movie-wrap {
	display: block;
	font-size: 0.7rem;
}

.movie-group {
	width: 100%;
}

.movie-item {
	margin-top: 2em; /*押しやすい間隔*/
	width: 100%;
}

/*modal*/
.movie-modal {
	width: 80vw;
	height: 60vw;
}
/*modal*/

}
/*------------------------------------------------*/


