/* matchru（JIN）の matchru-plus.css から移植。 */

/* =========================================================
   CTA Callout Button [mp-cta-callout]
   ========================================================= */
.mp-cta-callout {
	display: block;
	max-width: 520px;
	margin: 28px auto 24px;
	padding-top: 18px;
	text-align: center;
	font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
}

.mp-cta-callout__link {
	position: relative;
	display: block;
	text-decoration: none !important;
	color: inherit;
	transition: transform 0.12s ease, filter 0.12s ease;
}

.mp-cta-callout__badge {
	position: absolute;
	top: -5px;
	left: 50%;
	z-index: 2;
	transform: translate(-50%, -50%);
	display: inline-block;
	padding: 8px 3rem;
	background: #fff;
	border: 3px solid #e60012;
	color: #e60012;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.3;
	white-space: nowrap;
	box-sizing: border-box;
}

.mp-cta-callout__body {
	position: relative;
	display: block;
	overflow: hidden;
	background: #e60012;
	color: #fff;
	padding: 28px 20px 22px;
	box-shadow: 3px 4px 0 rgba(0, 0, 0, 0.18);
	box-sizing: border-box;
	font-size: 30px;
}

.mp-cta-callout__text {
	position: relative;
	z-index: 1;
	display: block;
}

.mp-cta-callout__line {
	display: block;
	color: #fff !important;
	font-size: inherit;
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0.02em;
}

/* 常時光沢アニメーション */
.mp-cta-callout__shine {
	pointer-events: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 55%;
	height: 100%;
	background: linear-gradient(
		110deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0) 35%,
		rgba(255, 255, 255, 0.45) 50%,
		rgba(255, 255, 255, 0) 65%,
		rgba(255, 255, 255, 0) 100%
	);
	transform: translateX(-120%) skewX(-18deg);
	animation: mp-cta-shine 2.8s ease-in-out infinite;
}

@keyframes mp-cta-shine {
	0% {
		transform: translateX(-120%) skewX(-18deg);
	}
	35% {
		transform: translateX(220%) skewX(-18deg);
	}
	100% {
		transform: translateX(220%) skewX(-18deg);
	}
}

/* ホバー：押された感じ */
.mp-cta-callout__link:hover {
	transform: translateY(3px);
	filter: brightness(0.97);
}

.mp-cta-callout__link:hover .mp-cta-callout__body {
	box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.18);
}

.mp-cta-callout__link:active {
	transform: translateY(4px);
}

.mp-cta-callout__link:active .mp-cta-callout__body {
	box-shadow: 0 0 0 rgba(0, 0, 0, 0.18);
}

@media (max-width: 767px) {
	.mp-cta-callout {
		max-width: 100%;
		margin: 24px 10px 20px;
		padding-top: 16px;
	}
	
	.mp-cta-callout__body {
		padding: 24px 14px 18px;
		font-size: 24px;
	}

	.mp-cta-callout__badge {
		font-size: 22px;
	}
}
