.bd-prefecture-hub__status {
	margin: 20px 0;
	padding: 18px 20px;
	border: 1px solid #cfdce2;
	border-radius: 10px;
	background: #f6f9fa;
}

.bd-prefecture-hub__status h2 {
	margin: 0 0 12px;
	font-size: 1.2em;
}

.bd-prefecture-hub__status dl {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: 0;
	background: #dce4e8;
	border: 1px solid #dce4e8;
}

.bd-prefecture-hub__status dl > div {
	display: grid;
	grid-template-columns: 7.5em 1fr;
	gap: 8px;
	padding: 10px 12px;
	background: #fff;
}

.bd-prefecture-hub__status dt {
	font-weight: 700;
}

.bd-prefecture-hub__status dd {
	margin: 0;
}

.bd-prefecture-hub__status .is-alert {
	background: #fff4e5;
}

.bd-prefecture-hub__status > p {
	margin: 10px 0 0;
	font-size: .88em;
	color: #536773;
}

.bd-prefecture-hub__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 18px 0 24px;
}

.bd-prefecture-hub__nav a {
	display: inline-block;
	padding: 7px 13px;
	border: 1px solid #cfdce2;
	border-radius: 20px;
	background: #f6f9fa;
	color: #315f76;
	font-size: .88em;
	font-weight: 700;
	text-decoration: none;
}

.bd-prefecture-hub__nav a:hover {
	background: #eaf1f4;
	text-decoration: underline;
}

.bd-prefecture-hub__nav a:focus-visible {
	outline: 3px solid #6b92a5;
	outline-offset: 2px;
}

.bd-prefecture-hub__anchor,
.bd-prefecture-hub__card {
	scroll-margin-top: 76px;
}

.bd-prefecture-hub__cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin: 20px 0;
}

.bd-prefecture-hub__card {
	margin: 0;
	padding: 20px;
	border: 1px solid #dce4e8;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(25, 54, 72, .06);
}

.bd-prefecture-hub__card h3 {
	margin: 0 0 16px;
	padding: 0 0 10px;
	border: 0;
	border-bottom: 3px solid #577785;
	font-size: 1.12em;
}

.bd-prefecture-hub__card p:last-child {
	margin-bottom: 0;
}

.bd-prefecture-hub__warning-list,
.bd-prefecture-hub__weather-list,
.bd-prefecture-hub__river-list {
	margin: 12px 0;
	padding: 0;
	list-style: none;
}

.bd-prefecture-hub__warning-list li,
.bd-prefecture-hub__weather-list li,
.bd-prefecture-hub__river-list li {
	margin: 0;
	padding: 10px 0;
	border-bottom: 1px solid #e7ecef;
}

.bd-prefecture-hub__warning-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.bd-prefecture-hub__warning-area {
	min-width: 0;
	font-weight: 700;
}

.bd-prefecture-hub__warning-badge {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	padding: 4px 8px;
	border-radius: 6px;
	font-size: .85rem;
	font-weight: 600;
	line-height: 1.2;
}

.bd-prefecture-hub__warning-badge.is-special {
	background: #000;
	color: #fff;
}

.bd-prefecture-hub__warning-badge.is-danger {
	background: #aa00aa;
	color: #fff;
}

.bd-prefecture-hub__warning-badge.is-warning {
	background: #d93025;
	color: #fff;
}

.bd-prefecture-hub__warning-badge.is-advisory {
	background: #ffe169;
	color: #222;
}

.bd-prefecture-hub__warning-badge.is-unknown {
	background: #e7ecef;
	color: #222;
}

.bd-prefecture-hub__warning-list li:first-child,
.bd-prefecture-hub__weather-list li:first-child,
.bd-prefecture-hub__river-list li:first-child {
	padding-top: 0;
}

.bd-prefecture-hub__warning-list li:last-child,
.bd-prefecture-hub__weather-list li:last-child,
.bd-prefecture-hub__river-list li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.bd-prefecture-hub__weather-list li > strong {
	display: block;
	margin-bottom: 5px;
	color: #18354b;
}

.bd-prefecture-hub__weather-forecast {
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 44px;
	line-height: 1.7;
}

.bd-prefecture-hub__weather-forecast > img {
	flex: 0 0 auto;
	object-fit: contain;
}

.bd-prefecture-hub__weather-forecast > span {
	display: block;
}

.bd-prefecture-hub__time,
.bd-prefecture-hub__note {
	font-size: .9em;
	line-height: 1.75;
	color: #536773;
}

.bd-prefecture-hub__tide-list {
	margin: 12px 0;
}

.bd-prefecture-hub__tide-list div {
	display: grid;
	grid-template-columns: 3.5em 1fr;
	gap: 8px;
	padding: 6px 0;
	border-bottom: 1px solid #e7ecef;
}

.bd-prefecture-hub__tide-list dt {
	font-weight: 700;
}

.bd-prefecture-hub__tide-list dd {
	margin: 0;
}

.bd-prefecture-index__region {
	margin: 22px 0;
}

.bd-prefecture-index__region h3 {
	margin: 0 0 10px;
	padding: 0 0 7px;
	border-bottom: 2px solid #577785;
	font-size: 1.05em;
}

.bd-prefecture-index__links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
	gap: 8px;
}

.bd-prefecture-index__links a {
	display: block;
	padding: 9px 11px;
	border: 1px solid #dce4e8;
	border-radius: 7px;
	background: #f6f9fa;
	color: #315f76;
	font-weight: 700;
	text-decoration: none;
}

.bd-prefecture-index__links a:hover,
.bd-prefecture-index__links a:focus-visible {
	background: #eaf1f4;
	text-decoration: underline;
}

.bd-prefecture-index__links a:focus-visible {
	outline: 3px solid #6b92a5;
	outline-offset: 2px;
}

/* テーマの日付を災害情報の発表日時と区別する。県別子ページと地震最新ページだけに限定する。 */
body.parent-pageid-16667 .date-tags .post-date::before,
body.page-id-16679 .date-tags .post-date::before,
body.page-id-16681 .date-tags .post-date::before,
body.bd-pref-child .date-tags .post-date::before,
body.bd-eq-latest .date-tags .post-date::before {
	content: "ページ公開：";
}

body.parent-pageid-16667 .date-tags .post-update::before,
body.page-id-16679 .date-tags .post-update::before,
body.page-id-16681 .date-tags .post-update::before,
body.bd-pref-child .date-tags .post-update::before,
body.bd-eq-latest .date-tags .post-update::before {
	content: "ページ更新：";
}

body.parent-pageid-16667 .date-tags.bd-date-labels-ready .post-date::before,
body.parent-pageid-16667 .date-tags.bd-date-labels-ready .post-update::before,
body.page-id-16679 .date-tags.bd-date-labels-ready .post-date::before,
body.page-id-16679 .date-tags.bd-date-labels-ready .post-update::before,
body.page-id-16681 .date-tags.bd-date-labels-ready .post-date::before,
body.page-id-16681 .date-tags.bd-date-labels-ready .post-update::before,
body.bd-pref-child .date-tags.bd-date-labels-ready .post-date::before,
body.bd-pref-child .date-tags.bd-date-labels-ready .post-update::before,
body.bd-eq-latest .date-tags.bd-date-labels-ready .post-date::before,
body.bd-eq-latest .date-tags.bd-date-labels-ready .post-update::before {
	content: none;
}

@media (max-width: 700px) {
	.bd-prefecture-hub__status {
		padding: 14px;
	}

	.bd-prefecture-hub__status dl {
		grid-template-columns: 1fr;
	}

	.bd-prefecture-hub__status dl > div {
		grid-template-columns: 6.5em 1fr;
	}

	.bd-prefecture-hub__cards {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.bd-prefecture-hub__card {
		padding: 16px;
	}

	.bd-prefecture-hub__nav {
		gap: 6px;
	}

	.bd-prefecture-hub__nav a {
		padding: 7px 11px;
		font-size: .82em;
	}

	.bd-prefecture-hub .bd-earthquake-list--prefecture .bd-earthquake-list__scroll,
	.bd-prefecture-hub .bd-earthquake-list--prefecture table,
	.bd-prefecture-hub .bd-earthquake-list--prefecture tbody,
	.bd-prefecture-hub .bd-earthquake-list--prefecture tr {
		display: block;
		width: 100%;
	}

	.bd-prefecture-hub .bd-earthquake-list--prefecture thead {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.bd-prefecture-hub .bd-earthquake-list--prefecture tbody tr {
		margin: 0 0 14px;
		border: 1px solid #dce4e8;
		border-radius: 8px;
		background: #fff;
		overflow: hidden;
	}

	.bd-prefecture-hub .bd-earthquake-list--prefecture tbody td {
		display: grid;
		grid-template-columns: 7.5em minmax(0, 1fr);
		gap: 10px;
		width: auto;
		padding: 9px 11px;
		border: 0;
		border-bottom: 1px solid #e7ecef;
		text-align: left;
		word-break: normal;
		overflow-wrap: anywhere;
	}

	.bd-prefecture-hub .bd-earthquake-list--prefecture tbody td:last-child {
		border-bottom: 0;
	}

	.bd-prefecture-hub .bd-earthquake-list--prefecture tbody td::before {
		content: attr(data-label);
		font-weight: 700;
		color: #18354b;
	}
}
