@charset "UTF-8";
/*
Color
Pink: #f6bed3
Blue: #172a88
*/
html,body {
	height: 100%;
}

body {
	margin: 0;
	padding: 0;
}
p,h1,h2,h3,h4,h5,h6,ul,ol,dl,dt,dd,div,section,iframe {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
li {
	list-style-type: none;
}
img {
	width: 100%;
	height: auto;
	vertical-align: bottom;
}
a {
	text-decoration: none;
}

body {
	background: #FFF;
}
#container {
	height: 100%;
}
.popup-iframe {
	width: 100%;
	height: 100%;
	border: none;
}

.popup-inner {
	width: 100vw;
	height: 100%;
	min-height: 680px;
	display: flex;
}

.popup-title {
	width: 136px;
	position: absolute;
	top: 0;
	left: 0;
}
.popup-videos {
	max-width: 1600px;
	margin: auto auto;
	padding: 50px 1%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}
.popup-videos li {
	width: 32%;
	margin: 10px 0;
	background: #CCC;
	transition: all 0.3s cubic-bezier(0.33, 1, 0.68, 1);
	overflow: hidden;
	border-radius: 25px;
	position: relative;
	z-index: 1;
}
.popup-videos li::after {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	overflow: hidden;
	border-radius: 25px;
}
.popup-videos li:nth-child(1)::after {
	background: url("../images/tieup/thumb_t1.png") no-repeat center center;
	background-size: cover;
}
.popup-videos li:nth-child(2)::after {
	background: url("../images/tieup/thumb_t2.png") no-repeat center center;
	background-size: cover;
}
.popup-videos li:nth-child(3)::after {
	background: url("../images/tieup/thumb_t3.png") no-repeat center center;
	background-size: cover;
}
.popup-videos li:nth-child(4)::after {
	background: url("../images/tieup/thumb_t4.png") no-repeat center center;
	background-size: cover;
}
.popup-videos li:nth-child(5)::after {
	background: url("../images/tieup/thumb_t5.png") no-repeat center center;
	background-size: cover;
}
.popup-videos li:nth-child(6)::after {
	background: url("../images/tieup/thumb_t6.png") no-repeat center center;
	background-size: cover;
}
.popup-videos li:hover {
	/*transform: scale(1.07);*/
	cursor: pointer;
	border-radius: 25px;
	overflow: hidden;
	z-index: 1;
}
.popup-videos li img {
	display: block;
	transition: all 0.3s ease-out;
}
.popup-videos li:hover img {
	transform: scale(1.2);
}
.popup-videos li::before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url("../images/tieup/btn_play.png") no-repeat center center;
	background-size: cover;
	transition: all 0.3s ease-out;
	z-index: 2;
}
.popup-videos li:hover::before {
	transform: scale(1.2);
}

.popup-player {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0,0,0,0.9);
	z-index: 1001;
	display: none;
	transition: all 0.4s;
}
.popup-player-inner {
	width: 80%;
	height: 86%;
	padding-bottom: 35px;
	margin: 7% auto;
	position: relative;
}
.popup-player-inner iframe {
	width: 100%;
	height: 100%;
}
.btn-close-player {
	position: absolute;
	top: -35px;
	right: -35px;;
	width: 35px;
	height: 35px;
	z-index: 1002;
	transition: opacity 0.3s;
}
.btn-close-player:hover {
	opacity: 0.8;
	cursor: pointer;
}

.popup-player #player.active {
  -webkit-animation-name: scalePlayer;
  animation-name: scalePlayer;
  -webkit-animation-duration: 0.6s;
  animation-duration: 0.6s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@media screen and (max-width: 820px) {
	.popup-inner {
		min-height: auto;
		display: block;
		overflow-y: auto;
		padding-bottom: 15px;
	}
	.popup-title {
		width: 136px;
		position: static;
	}
	.popup-videos {
		margin: auto auto;
		padding: 0 20px;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-around;
	}
	.popup-videos li {
		width: 100%;
		margin: 10px 0;
		border-radius: 15px;
		position: relative;
	}
	.popup-videos li:hover img {
		transform: scale(1);
	}
	.popup-videos li:hover::before {
		transform: scale(1);
	}
	.popup-player {
		position: fixed;
		top: 0;
		left: 0;
		padding-top: 50vh;
		width: 100vw;
		height: 100vh;
		background: rgba(0,0,0,0.9);
		z-index: 1001;
		display: none;
		transition: all 0.4s;
	}
	.popup-player-inner {
		width: 100vw;
		height: 75vw;
		padding: 0;
		margin: 0 auto;
		margin-top: -37.5vw;
		position: static;
	}
	.btn-close-player {
		position: absolute;
		top: 0;
		right: 0;
		width: 60px;
		height: 60px;
		text-align: right;
		z-index: 1002;
		transition: opacity 0.3s;
	}
	.btn-close-player img {
		width: 35px;
		height: 35px;
	}
	.btn-close-player:hover {
		opacity: 1;
	}

}

@keyframes scalePlayer {
  from {transform: scale(0.4); opacity: 0;}
  to {transform: scaleY(1); opacity: 1;}
}
@-webkit-keyframes scalePlayer {
  from {transform: scale(0.4); opacity: 0;}
  to {transform: scaleY(1); opacity: 1;}
}