/*----------------------------------------------------------------
	ベース
----------------------------------------------------------------*/
html,
body {
	min-height: 100%;
}

body.popup-lock {
	overflow: hidden;
}

/*----------------------------------------------------------------
	body直下要素のアニメーション
----------------------------------------------------------------*/
body > * {
	transition: filter 0.25s ease, transform 0.25s ease;
}

/*----------------------------------------------------------------
	ポップアップ表示中の背景ぼかし
----------------------------------------------------------------*/
body.page-gate-active > *:not(#pageGateOverlay) {
	filter: blur(8px);
	transform: scale(1.01);
	pointer-events: none;
	user-select: none;
}

/*----------------------------------------------------------------
	確認ポップアップ背景
----------------------------------------------------------------*/
#pageGateOverlay {
	position: fixed;
	inset: 0;
	z-index: 20000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(0, 0, 0, 0.45);
}

#pageGateOverlay.is-visible {
	display: flex;
}

/*----------------------------------------------------------------
	確認ポップアップ本体
----------------------------------------------------------------*/
.page-gate-modal {
	width: 100%;
	max-width: 640px;
	background: rgba(255, 255, 255, 0.96);
	border-radius: 8px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	padding: 32px 24px 24px;
	text-align: center;
}

.page-gate-title {
	margin: 0 0 24px;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.5;
	color: #212529;
}

.page-gate-buttons {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 24px;
}

@media (min-width: 576px) {
	.page-gate-buttons {
		flex-direction: row;
		justify-content: center;
	}
}

.page-gate-buttons .btn {
	min-width: 190px;
}