/* ******************************************************************************
動画（モーダルタイプ）用
****************************************************************************** */
/*動画サムネイル*/
.movie_img {
  position: relative;
}
.movie_img:before {
  position: absolute;
  content: "";
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background-color: rgba(0,0,0,0.5);
  width: calc((88/401)*100%);
  height: calc((88/226)*100%);
	z-index: 5;
}
 
.movie_img:after {
  position: absolute;
  content: "";
  display: block;
  top: calc((98/226)*100%);
  left: calc((191/401)*100%);
	background-color: #fff;
  width: calc((22/401)*100%);
  height: calc((29/226)*100%);
  clip-path: polygon(0 0, 0% 100%, 100% 50%);
	-webkit-clip-path: polygon(0 0, 0% 100%, 100% 50%);
	z-index: 5;
}
@media only screen and (min-width:768px) {
	.movie_img img{
		transition: opacity .25s ease-out;
	}
	.movie_img:hover img{
		background: #fff;
		opacity: 0.7;
	}
}
@media only screen and (max-width:767px) {
	.movie_img:before {
		width: 100px;
		height: 100px;
		z-index: 5;
	}
	.movie_img:after {
		top: calc(50% - 16px);
		left: calc(50% - 10px);
		width: 25px;
		height: 32px;
	}
}
/*モーダル*/
.modal_bg {
	background-color: rgba(0, 0, 0, 0.8);
	display: none;
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100vh;
	z-index: 200;
}
.modal {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	display: none;
	position: absolute;
	top: 0px;
	left: 0px;
	width: calc(100% - 26px);
	max-width: 954px;
	z-index: 210;
}
.modal .modal_block {
	padding: 35px 0 0;
}
.modal .modal_close {
	cursor: pointer;
	font-size: 0;
	line-height: 0;
	position: absolute;
	top: 0;
	right: 0px;
	filter: alpha(Opacity=70);
	opacity: .7;
	-webkit-transition: opacity .2s;
	-moz-transition: opacity .2s;
	-o-transition: opacity .2s;
	transition: opacity .2s
}
.modal .modal_close img {
	width: 30px;
}
.modal .movie_video .movie_inner {
	padding-bottom: 56.267%;
	position: relative;
}
.modal .movie_video .movie_inner > * {
	position: absolute;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
}
@media only screen and (min-width:768px) {
	.modal .modal_close:hover {
		cursor: pointer;
		filter: alpha(Opacity=100);
		opacity: 1
	}
}
@media only screen and (max-width:767px) {
	.modal {
		width: calc(100% - 40px);
	}
	.modal .modal_block {
		padding: 25px 0 0;
	}
	.modal .modal_close img {
		width: 20px;
	}
}


