/* --------------------------------------------------------------------------------------
   ECリンク
--------------------------------------------------------------------------------------- */

.ec-sec .banner-eclink li {
	align-items: center;
	background-color: #e5007f;
	border: 1px solid #e5007f;
	border-radius: 4px;
	color: #fff;
	cursor: pointer;
	display: flex;
	font-size: 2rem;
	justify-content: center;
	list-style: none;
	margin: auto;
	max-width: 374px;
	min-height: 94px;
	padding: 16px 16px;
	transition: all .3s ease-in-out;
}

.popup-box {
	background-color: #fff;
	border-radius: 8px;
	display: none;
	left: 0;
	max-width: 900px;
	position: absolute;
	top: 0;
	z-index: 1000;
}

.popup-box .uc-carousel-content {
	display: flex;
	justify-content: space-between;
	padding: 64px 50px;
}

.popup-box .uc-carousel-content li {
	list-style: none;
	width: 24%;
}

.popup-box .uc-carousel-content li a .uc-object {
	align-items: center;
	border: 1px solid #a4a4a4;
	border-radius: 6px;
	display: flex;
	height: 90px;
	justify-content: center;
	padding: 20px 32px;
	width: 100%;
}

.popup-box .uc-carousel-content li a .uc-caption { margin-top: 6px; }

.ec-sec .overlay {
	background: rgba(0, 0, 0, .8);
	display: none;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 999;
}

.ec-sec .close-btn {
	cursor: pointer;
	overflow: inherit;
	position: absolute;
	right: 0;
	top: -999px;
	z-index: 1000;
}

.ec-sec .close-btn::before,
.ec-sec .close-btn::after {
	background-color: #a4a4a4;
	border-radius: 10px;
	content: '';
	display: block;
	height: 5px;
	position: relative;
	transform: rotate(45deg);
	width: 30px;
}

.ec-sec .close-btn::after  {
	top: -5px;
	transform: rotate(-45deg);
}


/* --------------------------------------------------------------------------------------
   Ios hover
--------------------------------------------------------------------------------------- */

@media (min-width: 980px) {

	.ec-sec .banner-eclink li:hover {
		background-color: #fff;
		color: #e5007f;
		text-decoration: none;
	}

}

/* --------------------------------------------------------------------------------------
   Tablet
--------------------------------------------------------------------------------------- */

@media (max-width: 979px) {

	.ec-sec { padding: 6% 0; }

	.ec-sec .banner-eclink li {
		font-size: 1.6rem;
		margin-bottom: 2%;
		max-width: inherit;
		min-height: auto;
		padding: 6% 2%;
		width: 88%;
	}

	.popup-box { width: 90%; }

	.popup-box .uc-carousel-content {
		display: block;
		padding: 16% 7% 7%;
	}

	.popup-box .uc-carousel-content li {
		margin-top: 7%;
		width: 100%;
	}

	.popup-box .uc-carousel-content li:first-child { margin-top: 0; }

	.popup-box .uc-carousel-content li a .uc-object {
		min-height: inherit;
		padding: 8% 0;
	}

	.popup-box .uc-carousel-content li img { max-height: 7.867vw; }

	.popup-box .uc-carousel-content .uc-mod-media-01 { display: block; }
}
