/*
 * 現行サイトにない要素の表示（テーマの style.css の後に読み込む）。
 */

/* 緊急告知（site/alert.md、指示書 5章）。現行にデザインがないため暫定（未決事項 B17）。
   テーマのヘッダーは画面上部に浮いた固定表示のため、重ならないよう画面下部に固定する */
.c-site-alert {
	align-items: center;
	bottom: 0;
	box-sizing: border-box;
	color: #222;
	display: flex;
	flex-wrap: wrap;
	font-size: 14px;
	gap: 0.5em 1em;
	justify-content: center;
	left: 0;
	line-height: 1.6;
	padding: 12px 5vw;
	position: fixed;
	right: 0;
	z-index: 110;
}
/* 期限を過ぎた告知を表示時の JS が隠す（src/scripts/schedule.ts）。上の display:flex が [hidden] に勝つため */
.c-site-alert[hidden] {
	display: none;
}
.c-site-alert--info {
	background: #e8f4ff;
}
.c-site-alert--warning {
	background: #fff4cc;
}
.c-site-alert--critical {
	background: #c62828;
	color: #fff;
}
.c-site-alert__body p {
	margin: 0;
}
.c-site-alert__link {
	color: inherit;
	font-weight: 700;
	text-decoration: underline;
}
