@charset "utf-8";

.movModal {
	overflow: hidden;
	position: fixed;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	display: none;
 background-color: rgba(0,0,0,0.7) 
}
.movModal .backArea {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.movModalIn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 90%;
	max-width: 700px;
	background-color: #fff;
	-webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
	-moz-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
.movModalIn_if {
	position: relative;
}
.movModalIn_if .poster{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 99;
}
.movModalIn_if .poster img{
  width: 100%;
}
.movModalIn_if .poster.hide{
  display: none;
}
.movModalIn_if .boxTxt {
  padding: 10px;
}
.movModal .modalClose {
  float: right;
  display: inline-block;
	cursor: pointer;
	z-index: 8040;
  margin-top: -55px;
  margin-right: -10px;
  line-height: 1;
  text-align: right;
}
#mainContents .movModal .modalClose{
  padding-top: 0;
}
.movModal .modalClose a {
  display: block;
  color: #fff;
  font-size: 55px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s linear;
}
.movModal .modalClose a:hover{
  color: #fff;
}
.movModal .modalClose a:after {
  content: "×";
}
/*mp4*/
.movieBox {
	width: 100%;
	padding-bottom: 56.25%;
	overflow: hidden;
	cursor: pointer;
}
.movie {
	width: 100%;
	height: 100%;
	margin: 0 auto;
	position: relative;
}
.movie .poster {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9;
	width: 100%;
	height: auto;
}
.movie video {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: auto;
}
/*youtube*/
.movModalIn_if .boxYoutube {
	width: 100%;
	margin-top: 0;
	padding-bottom: 56.25%;
	position: relative;
}
.movModalIn_if iframe {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
}