/* Y'S GEAR : /mc/chemical/css/movie.css */

/*======================================================================*
 *  [ メイン画像 ] 
 *======================================================================*/

.movieMain {
	margin-bottom: 30px;
}

@media screen and (max-width: 980px) {
	.movieMain {
		margin-right: -20px;
		margin-left: -20px;
	}
} /* */

@media screen and (max-width: 568px) {
	.movieMain {
		margin-right: -10px;
		margin-left: -10px;
	}
} /* */


/*======================================================================*
 *  [ ナビ ] 
 *======================================================================*/

.movieNav {
	margin-bottom: 100px;
}
.movieNav h2 {
	margin: 20px 0 10px;
}
.movieNav h2:first-child {
	margin-top: 0;
}

 /* [ ボタン ] */
.movieNav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	font-size: 1.4rem;
}
.movieNav li {
	display: flex;
	width: calc(25% - 15px);
	padding: 3px;
	background: #000;
	clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 15px), calc(50% + 10px) calc(100% - 15px), 50% 100%, calc(50% - 10px) calc(100% - 15px), 0% calc(100% - 15px));
	transition: all 0.3s ease; 
}
.movieNav li a {
	display: flex;
	flex-direction: column;
	position: relative;
	width: 100%;
	min-height: 85px;
	padding: 7px 7px calc(15px + 7px) 7px;
	background: #ffF;
	clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 15px), calc(50% + 8px) calc(100% - 15px), 50% calc(100% - 3px), calc(50% - 8px) calc(100% - 15px), 0% calc(100% - 15px));
}
.movieNav li p {
	flex: 1;
	position: relative;
	margin-bottom: 15px;
	color: #000;
	font-weight: bold;
	z-index: 2;
}
.movieNav li b {
	display: block;
	width: fit-content;
	margin-right: 44px;
	padding: 2px;
	background: #000;
	color: #fff;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1;
}
.movieNav li img {
	position: absolute;
	right: 7px;
	bottom: calc(15px + 7px);
	opacity: 1 !important;
}

/* [ ボタン：ホバー ] */
.movieNav li:hover {
	transform: translateY(-5px);
}
.movieNav li a:hover,
.movieNav li a:active {
	background: #ffcc00;
}

@media screen and (max-width: 840px) {
	/* [ ボタン ] */
	.movieNav li {
		width: calc(33.33% - 13.33px);
	}
} /* */

@media screen and (max-width: 568px) {
	.movieNav {
		margin-bottom: 50px;
	}

	/* [ ボタン ] */
	.movieNav ul {
		gap: 10px;
	}
	.movieNav li {
		width: calc(50% - 5px);
	}
	.movieNav li b {
		margin-right: 37px;
	}
	.movieNav li img {
		width: 32px;
		height: 32px;
	}
} /* */


/*======================================================================*
 *  [ カテゴリ ] 
 *======================================================================*/

.movieCat h2 {
	margin-bottom: 50px;
	text-align: center;
}

@media screen and (max-width: 568px) {
	.movieCat h2 {
		margin-bottom: 40px;
	}
} /* */


/*======================================================================*
 *  [ 詳細 ] 
 *======================================================================*/

.movieDetail {
	position: relative;
	margin-bottom: 50px;
}

/* [ タイトル ] */
.movieDetail h3 {
	position: absolute;
	top: 31px;
	/* top: 0; */
	left: 50%;
	width: min(560px, calc(100% - 80px));
	padding: 5px;
	font-size: 2.4rem;
	text-align: center;
	/* transform: translateX(-50%); */
	transform: translate(-50%, -50%);
	z-index: 1;
}
.movieDetail h3::before {
	position: absolute;
	top: 5px;
	left: 5px;
	width: 100%;
	height: 100%;
	background: #000;
	transform: skewX(-15deg);
	z-index: -1;
	content: "";
}
.movieDetail h3::after {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 5px solid #000;
	background: #fff;
	transform: skewX(-15deg);
	z-index: -1;
	content: "";
}
.movieDetail h3 img {
	width: 24px;
	flex-shrink: 0;
}
.movieDetail h3 span {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	min-height: 52px;
	padding: 10px 20px;
}

/* [ インナー ] */
.movieDetail .inner {
	display: flex;
	gap: 30px;
	position: relative;
	padding: min(calc(49px + 60px), calc(5vw + 60px)) 80px;
	background: #000;
	clip-path: polygon(0 0, 100% min(49px, 5vw), 100% 100%, 0 max(calc(100% - 49px), calc(100% - 5vw)));
}
.movieDetail .inner::before {
	position: absolute;
	top: 10px;
	right: 0;
	bottom: 10px;
	left: 0;
	border-right: 10px solid #000;
	border-left: 10px solid #000;
	background: #fff;
	clip-path: polygon(0 0, 100% min(49px, 5vw), 100% 100%, 0 max(calc(100% - 49px), calc(100% - 5vw)));
	content: "";
	z-index: -1;
}
.movieDetail .inner::after {
	position: absolute;
	top: 40px;
	right: 40px;
	bottom: 40px;
	left: 40px;
	clip-path: polygon(0 0, 100% min(49px, 5vw), 100% 100%, 0 max(calc(100% - 49px), calc(100% - 5vw)));
	content: "";
	z-index: -1;
}
.movieDetail:nth-of-type(3n+1) .inner::after { background: #FFDA48; }
.movieDetail:nth-of-type(3n+2) .inner::after { background: #44BBFF; }
.movieDetail:nth-of-type(3n+3) .inner::after { background: #00BD7E; }
.st-yl .movieDetail:nth-of-type(3n+1) .inner::after { background: #FFDA48; }
.st-yl .movieDetail:nth-of-type(3n+2) .inner::after { background: #44BBFF; }
.st-yl .movieDetail:nth-of-type(3n+3) .inner::after { background: #00BD7E; }
.st-bl .movieDetail:nth-of-type(3n+1) .inner::after { background: #44BBFF; }
.st-bl .movieDetail:nth-of-type(3n+2) .inner::after { background: #00BD7E; }
.st-bl .movieDetail:nth-of-type(3n+3) .inner::after { background: #FFDA48; }
.st-gn .movieDetail:nth-of-type(3n+1) .inner::after { background: #00BD7E; }
.st-gn .movieDetail:nth-of-type(3n+2) .inner::after { background: #FFDA48; }
.st-gn .movieDetail:nth-of-type(3n+3) .inner::after { background: #44BBFF; }

/* [ 準備 ] */
.movieDetail .ready {
	width: calc(40% - 30px);
}
.movieDetail .ready h4 {
	display: flex;
	align-items: center;
	gap: 10px;
	position: relative;
	width: fit-content;
	margin: 30px auto -22px;
	padding: 10px 20px;
	background: #eee8d0;
	/* transform: translateY(-50%); */
	z-index: 1;
}
.movieDetail .ready h4:first-child {
	margin-top: 0;
}
.movieDetail .ready h4 img {
	width: 24px;
	height: 24px;
}
.movieDetail .ready h4 + img {
	width: 30%;
}

/* [ 準備：リンク ] */
.movieDetail .ready .link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 32px 20px 20px;
	background: #fff;
	font-size: 1.4rem;
	font-weight: bold;
}
.movieDetail .ready .link img {
	width: min(100px, 40%);
	flex-shrink: 0; 
}
.movieDetail .ready .link ul {
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.movieDetail .ready .link a {
	display: inline-block;
	position: relative;
	padding-left: 0.8em;
}
.movieDetail .ready .link a::before {
	position: absolute;
	top: 0.4em;
	left: -0.2em;
	width: 0.6em;
	height: 0.6em;
	border-top: 2px solid #0066B7;
	border-right: 2px solid #0066B7;
	transform: rotate(45deg);
	content: "";
}
.movieDetail .ready .link a span {
	display: inline-block;
	font-size: calc(1em - 0.2rem);
}
.movieDetail .ready .link li > span {
	display: block;
	padding-left: 1em;
	text-indent: -1em;
	color: #ff0000;
	font-size: 1rem;
}
.movieDetail .ready .link li > span + span {
	margin-top: 5px;
}

/* [ 準備：リスト ] */
.movieDetail .ready .list {
	padding: 32px 20px 20px;
	background: #fff;
	font-size: 1.4rem;
	font-weight: bold;
}
.movieDetail .ready .list ul {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin-left: 1.5em;
}
.movieDetail .ready .list li {
	list-style-type: disc !important;
}
.movieDetail .ready .list span {
	display: block;
	font-size: calc(1em - 0.2rem);
	font-weight: 500;
}

/* [ トライ ] */
.movieDetail .try {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	gap: 30px;
	width: 60%;
}
.movieDetail .movie {
	position: relative;
	width: 100%;
	aspect-ratio: 16/9;
	background: #000;
}
.movieDetail .movie iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.movieDetail .point {
	/* margin-bottom: max(calc(-49px - 20px), calc(-5vw - 20px)); */
	/* margin-bottom: -20px; */
	margin-bottom: max(calc(-49px - 20px), calc(-5vw - 20px));
	text-align: center;
} 

@media screen and (max-width: 980px) {
	.movieDetail {
		margin-right: -20px;
		margin-left: -20px;
	}
} /* */

@media screen and (max-width: 840px) {
	/* [ タイトル ] */
	.movieDetail h3 {
		font-size: 2rem;
	}

	/* [ インナー ] */
	.movieDetail .inner {
		flex-direction: column;
		align-items: center;
	}

	/* [ 準備 ] */
	.movieDetail .ready {
		width: min(320px, 100%);
	}

	/* [ トライ ] */
	.movieDetail .try {
		width: 100%;
	}
} /* */


@media screen and (max-width: 568px) {
	.movieDetail {
		margin-right: -10px;
		margin-left: -10px;
		/* padding-top: 20px; */
	}

	/* [ タイトル ] */
	.movieDetail h3 {
		top: 7.5vw;
		width: calc(100% - 60px);
		font-size: 1.8rem;
		/* transform: translate(-50%, 0); */
	}
	.movieDetail h3 span {
		padding: 5px 20px;
	}

	/* [ インナー ] */
	.movieDetail .inner {
		padding: calc(15vw + 30px) 40px calc(15vw + 20px);
		clip-path: polygon(0 0, 100% 15vw, 100% 100%, 0 calc(100% - 15vw));
	}
	.movieDetail .inner::before {
		clip-path: polygon(0 0, 100% 15vw, 100% 100%, 0 calc(100% - 15vw));
	}
	.movieDetail .inner::after {
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		clip-path: polygon(20px 25px, calc(100% - 20px) calc(15vw + 20px), calc(100% - 20px) calc(100% - 25px), 20px calc(100% - 15vw - 20px));
	}

	/* [ トライ ] */
	.movieDetail .point {
		margin: 0 -10px;
	}
} /* */

