/* -------------------------------------
	 ポップアップのCSS
------------------------------------- */
.yp-end-popup {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: .6s;
}
.yp-end-popup.is-show {
	opacity: 1;
	visibility: visible;
}
.black-background {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,.8);
	z-index: 1;
	cursor: pointer;
}
.yp-end-popup-inner {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	width: 90%;
	max-width: 600px;
	background-color: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 25px rgba(0,0,0,0.5);
	z-index: 2;
}
.close-btn {
	position: absolute;
	right: 0;
	top: 0;
	width: 50px;
	height: 50px;
	line-height: 50px;
	text-align: center;
	cursor: pointer;
	background-color: transparent;
	z-index: 3;
}
.close-btn i {
	font-size: 24px;
	color: #999;
	transition: 0.3s;
}
.close-btn:hover i {
	color: #333;
}
.yp-end-popup-content {
	padding: 40px 30px 30px;
	text-align: center;
}
.event-title {
	font-size: 14px;
	color: #888;
	margin-bottom: 5px;
	font-weight: bold;
}
.ended-message {
	font-size: 24px;
	color: #333;
	font-weight: bold;
	margin-bottom: 15px;
}
.thanks-message {
	font-size: 16px;
	color: #555;
	margin-bottom: 30px;
	line-height: 1.5;
}

/* 次回案内セクション */
.next-event-section {
	background-color: #f9f9f9;
	padding: 25px;
	border-radius: 8px;
}
.next-event-title {
	font-size: 18px;
	color: #e67e22; /* オレンジ */
	font-weight: bold;
	margin-bottom: 10px;
	margin-top: 0;
}
.next-event-title i {
	margin-right: 8px;
}
.cta-text {
	font-size: 14px;
	color: #333;
	margin-bottom: 15px;
}
.cta-button {
	display: inline-block;
	background-color: #e67e22;
	color: #fff;
	font-size: 14px;
	padding: 12px 30px;
	border-radius: 50px;
	font-weight: bold;
	text-decoration: none;
	transition: background-color 0.3s ease;
}
.cta-button:hover {
	background-color: #d35400;
}

/* スマホ向け調整 */
@media (max-width:767px) {
	.yp-end-popup-inner {
		width: 95%;
	}
	.ended-message {
		font-size: 20px;
	}
	.yp-end-popup-content {
		padding: 35px 20px 25px;
	}
}

