/* 公開アンケート回答フロー向けエラー・タイムアウト（テーマなし・白背景） */

body.survey-public-error-page {
	margin: 0;
	background: #fff;
	color: #1e293b;
	-webkit-font-smoothing: antialiased;
}

body.survey-public-error-page .main {
	display: block;
	box-sizing: border-box;
	min-width: 0;
	min-height: 100vh;
	padding: 32px 16px 56px;
	background: #fff;
}

body.survey-public-error-page .main__inner {
	width: 100%;
	max-width: 520px;
	margin: 0 auto;
	border-radius: 0;
}

.survey-public-error {
	padding: 24px 0 8px;
	text-align: center;
}

.survey-public-error__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: #fef2f2;
	color: #dc2626;
	font-size: 22px;
	line-height: 1;
}

.survey-public-error__heading {
	margin: 0 0 20px;
	color: #0f172a;
	font-weight: 700;
	font-size: clamp(1.2rem, 4.5vw, 1.45rem);
	line-height: 1.45;
	letter-spacing: 0.02em;
}

.survey-public-error__body {
	margin: 0;
	padding: 18px 20px;
	border-radius: 12px;
	background: #f8fafc;
	text-align: left;
}

.survey-public-error__message {
	margin: 0;
	color: #b91c1c;
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.8;
	word-break: break-word;
}

.survey-public-error__message + .survey-public-error__message {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #e2e8f0;
}

.survey-public-error__message--sub {
	color: #475569;
	font-weight: 500;
	font-size: 0.9rem;
}

.survey-public-error__hint {
	margin: 20px 0 0;
	color: #64748b;
	font-size: 0.82rem;
	line-height: 1.6;
	text-align: center;
}

@media (min-width: 561px) {
	body.survey-public-error-page .main {
		padding-top: 48px;
	}

	.survey-public-error {
		padding-top: 32px;
	}

	.survey-public-error__body {
		padding: 22px 24px;
	}
}
