.c-popup {
	display: inline-block;
	position: fixed;
	bottom: 5.3rem;
	right: 1rem;
	z-index: 20;
	width: 55%;
	border-radius: 0.5rem;
	box-shadow: 0.2rem 0.2rem 1rem rgba(0, 0, 0, 0.2);
	opacity: 1;
	transition: opacity 0.3s ease-out, transform 0.3s ease-out;
	transform: translateY(0);
}

@media screen and (min-width: 768px) {
	.c-popup {
		bottom: 3rem;
		width: 21.875rem;
		border-radius: 0.75rem;
	}
}

.c-popup__inner {
	position: relative;
	padding: 0.65rem 0.75rem;
	background: #fff;
	border-radius: 0.4375rem;
}

@media screen and (min-width: 768px) {
	.c-popup__inner {
		padding-inline: 1rem;
		border-radius: 0.6875rem;
	}
}

.c-popup__inner::before {
	position: absolute;
	inset: -0.0625rem;
	z-index: -1;
	background: linear-gradient(to Bottom, #ed1d2f 0%, #ff4639 100%);
	border-radius: 0.5rem;
	content: '';
}

@media screen and (min-width: 768px) {
	.c-popup__inner::before {
		border-radius: 0.75rem;
	}
}

.c-popup__heading {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.c-popup__title {
	font-weight: 700;
	font-size: 0.875rem;
	background: linear-gradient(to Bottom, #ed1d2f 0%, #ff4639 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

@media screen and (min-width: 768px) {
	.c-popup__title {
		font-size: 1rem;
	}
}

.c-popup__close {
	position: relative;
	width: 1.25rem;
	aspect-ratio: 1 / 1;
}

.c-popup__close::before,
.c-popup__close::after {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
	width: 100%;
	height: 0.125rem;
	border-radius: 100rem;
	background: linear-gradient(to Bottom, #ed1d2f 0%, #ff4639 100%);
	content: '';
}

.c-popup__close::before {
	rotate: 45deg;
}

.c-popup__close::after {
	rotate: -45deg;
}

.c-popup__link {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	margin-block-start: 0.5rem;
	overflow: hidden;
	font-size: 1rem;
	line-height: 1.6875;
	font-weight: 700;
}

@media screen and (min-width: 768px) {
	.c-popup__link {
		font-size: 1.2rem;
		line-height: 1.5;
	}
}

/* JS用 */
/* フェードアウト時のスタイル */
.c-popup--fadeout {
	opacity: 0;
}

/* 完全に非表示にするクラス */
.c-popup--hidden {
	display: none;
	visibility: hidden;
}
