/* 47都道府県ハブ導線（[hmd_prefecture_map]） */
.hmd-pref-map__title {
	margin: 0 0 0.35rem;
	font-size: calc(1.15rem * 0.85);
	font-weight: 700;
	line-height: 1.4;
}

.hmd-pref-map__lead {
	margin: 0 0 0.85rem;
	font-size: 0.88rem;
	line-height: 1.65;
	color: color-mix(in srgb, var(--ark-color--text, #24303a) 75%, #666);
}

.hmd-pref-map__panel {
	padding: 0.75rem;
	border-radius: 12px;
	background: color-mix(in srgb, var(--ark-color--gray, #f4f1e8) 65%, #fff);
	border: 1px solid color-mix(in srgb, var(--ark-color--main, #c48a2c) 16%, #e8e4dc);
}

.hmd-pref-map__grid {
	display: grid;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 560px) {
	.hmd-pref-map__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {
	.hmd-pref-map__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.hmd-pref-map__card {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.55rem;
	min-height: 3.5rem;
	padding: 0.45rem 0.55rem 0.45rem 0.45rem;
	text-decoration: none !important;
	background: #fff;
	border: 1px solid color-mix(in srgb, var(--ark-color--main, #c48a2c) 20%, #e8e4dc);
	border-radius: 10px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.hmd-pref-map__card:hover,
.hmd-pref-map__card:focus-visible {
	border-color: var(--ark-color--main, #c48a2c);
	box-shadow: 0 4px 14px color-mix(in srgb, #24303a 8%, transparent);
	transform: translateY(-1px);
}

.hmd-pref-map__icon {
	position: relative;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 10px;
	border: 1px solid color-mix(in srgb, var(--ark-color--main, #c48a2c) 22%, #e8e4dc);
	background: var(--ark-color--gray, #f4f1e8);
	color: var(--ark-color--main, #c48a2c);
}

.hmd-pref-map__glyph {
	position: relative;
	z-index: 1;
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1;
}

.hmd-pref-map__pin {
	position: absolute;
	right: 3px;
	bottom: 2px;
	opacity: 0.42;
}

.hmd-pref-map__icon--hokkaido {
	background: color-mix(in srgb, #4a6f8c 12%, #fff);
	color: #3d5f78;
	border-color: color-mix(in srgb, #4a6f8c 22%, #e0e6ec);
}

.hmd-pref-map__icon--tohoku {
	background: color-mix(in srgb, #3b7a72 10%, #fff);
	color: #2e6860;
	border-color: color-mix(in srgb, #3b7a72 22%, #dce8e6);
}

.hmd-pref-map__icon--kanto {
	background: color-mix(in srgb, var(--ark-color--main, #c48a2c) 12%, #fff);
	color: var(--ark-color--main, #c48a2c);
}

.hmd-pref-map__icon--chubu {
	background: color-mix(in srgb, var(--ark-color--text, #24303a) 8%, #fff);
	color: color-mix(in srgb, var(--ark-color--text, #24303a) 88%, #000);
	border-color: color-mix(in srgb, var(--ark-color--text, #24303a) 15%, #e4e6e8);
}

.hmd-pref-map__icon--kinki {
	background: color-mix(in srgb, #6a4f8c 10%, #fff);
	color: #5a4180;
	border-color: color-mix(in srgb, #6a4f8c 20%, #e6e0ec);
}

.hmd-pref-map__icon--chugoku {
	background: color-mix(in srgb, #7a6a52 10%, #fff);
	color: #6a5a44;
	border-color: color-mix(in srgb, #7a6a52 22%, #ebe6dc);
}

.hmd-pref-map__icon--shikoku {
	background: color-mix(in srgb, #5a7a52 10%, #fff);
	color: #4a6b44;
	border-color: color-mix(in srgb, #5a7a52 22%, #e0e8dc);
}

.hmd-pref-map__icon--kyushu {
	background: color-mix(in srgb, #c56a3a 10%, #fff);
	color: #b55e32;
	border-color: color-mix(in srgb, #c56a3a 22%, #f0e4dc);
}

.hmd-pref-map__icon--okinawa {
	background: color-mix(in srgb, #3aa0a8 10%, #fff);
	color: #2e8a92;
	border-color: color-mix(in srgb, #3aa0a8 22%, #dceef0);
}

.hmd-pref-map__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.05rem;
	min-width: 0;
}

.hmd-pref-map__name {
	font-size: 0.86rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ark-color--text, #24303a);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hmd-pref-map__meta {
	font-size: 0.7rem;
	line-height: 1.35;
	color: color-mix(in srgb, var(--ark-color--text, #24303a) 68%, #666);
}

.hmd-pref-map__count {
	margin-right: 0.1rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	color: var(--ark-color--main, #c48a2c);
}

.hmd-pref-map__chevron {
	flex: none;
	color: color-mix(in srgb, var(--ark-color--main, #c48a2c) 70%, #999);
	opacity: 0.85;
	transition: transform 0.12s ease, opacity 0.12s ease;
}

.hmd-pref-map__card:hover .hmd-pref-map__chevron,
.hmd-pref-map__card:focus-visible .hmd-pref-map__chevron {
	opacity: 1;
	transform: translateX(2px);
}

.hmd-pref-map__foot {
	margin: 0.85rem 0 0;
	text-align: center;
}

.hmd-pref-map__method {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.45rem 0.95rem;
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none !important;
	color: var(--ark-color--text, #24303a) !important;
	background: #fff;
	border: 1px solid color-mix(in srgb, var(--ark-color--main, #c48a2c) 28%, #e8e4dc);
	border-radius: 999px;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.hmd-pref-map__method:hover,
.hmd-pref-map__method:focus-visible {
	border-color: var(--ark-color--main, #c48a2c);
	background: color-mix(in srgb, var(--ark-color--main, #c48a2c) 8%, #fff);
}