/* 健康増進施設マップ（inc/shisetu-map.php の [ShisetuMap]。2026-11-04） */
/* style.css の「span は font-weight: normal; line-height: 1.1」に負けないよう、span は font: inherit から書く */
.shisetu-map {
	margin: 0 0 48px;
	font-size: 15px;
	color: #3b4246;
}
.shisetu-map span {
	font: inherit;
	line-height: inherit;
}
.shisetu-map__controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin-bottom: 12px;
}
.shisetu-map__locate {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, #004ea2, #1b8d9a);
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 78, 162, .25);
}
.shisetu-map__locate::before {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='7'/%3E%3Ccircle cx='12' cy='12' r='2.5' fill='%23000'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='7'/%3E%3Ccircle cx='12' cy='12' r='2.5' fill='%23000'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.shisetu-map__locate:hover { filter: brightness(1.08); }
.shisetu-map__locate:disabled { opacity: .6; cursor: wait; }
.shisetu-map__select select {
	padding: 10px 12px;
	border: 1px solid #b7c4d1;
	border-radius: 8px;
	font-size: 15px;
	background: #fff;
}
.shisetu-map__check {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
}
.shisetu-map__check input { width: 18px; height: 18px; margin: 0; }
.shisetu-map__status {
	min-height: 1.5em;
	margin: 0 0 8px;
	font-size: 13px;
	color: #5b6770;
}
.shisetu-map__canvas {
	height: 520px;
	border: 1px solid #c9d3dd;
	border-radius: 12px;
	overflow: hidden;
	z-index: 0;
}
.shisetu-map__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 10px 0 24px;
	padding: 0;
	list-style: none;
	font-size: 13px;
}
.shisetu-map__legend li { display: flex; align-items: center; gap: 6px; }
.shisetu-map .dot {
	display: inline-block;
	flex: none;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .2);
}
.shisetu-map .dot--undou { background: #1b7f8c; }
.shisetu-map .dot--base { background: #004ea2; }
.shisetu-map .dot--onsen { background: #e07a10; }
.shisetu-map__list-title {
	margin: 0 0 10px;
	font-size: 18px;
	font-weight: bold;
}
.shisetu-map__list-title:empty { display: none; }
.shisetu-map__list {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
	border-top: 1px solid #e1e7ed;
}
.shisetu-map__list li { border-bottom: 1px solid #e1e7ed; }
.shisetu-map__list button {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 2px 10px;
	align-items: center;
	width: 100%;
	padding: 12px 6px;
	border: 0;
	background: none;
	text-align: left;
	font: inherit;
	color: inherit;
	cursor: pointer;
}
.shisetu-map__list button:hover { background: #f3f7fa; }
.shisetu-map__list .name { font-weight: bold; color: #004ea2; }
.shisetu-map__list .km { font-weight: bold; color: #1b7f8c; white-space: nowrap; }
.shisetu-map__list .addr { grid-column: 2 / 4; font-size: 13px; color: #5b6770; }
.shisetu-map__note { font-size: 12px; color: #6b7780; }
.shisetu-map__pop { font-size: 13px; line-height: 1.6; }
.shisetu-map__pop strong { display: block; margin: 4px 0 2px; font-size: 15px; }
.shisetu-map__pop .tag {
	display: inline-block;
	padding: 1px 8px;
	border-radius: 999px;
	color: #fff;
	font-size: 11px;
	line-height: 1.6;
}
.shisetu-map__pop .tag--undou { background: #1b7f8c; }
.shisetu-map__pop .tag--base { background: #004ea2; }
.shisetu-map__pop .tag--onsen { background: #e07a10; }
.shisetu-map .leaflet-container { font-family: inherit; }
@media only screen and (max-width: 750px) {
	.shisetu-map__controls { gap: 10px; }
	.shisetu-map__locate { width: 100%; justify-content: center; }
	.shisetu-map__select { flex: 1; }
	.shisetu-map__select select { width: 100%; }
	.shisetu-map__canvas { height: 62vh; min-height: 360px; }
}
