/* 市区町村ページのビル一覧地図（/scripts/maplist-leaflet.js）用 */

/* 高さ別のピンの色（地図検索と同じ6色） */
.bs-l1 { --bs-color: #e53935; }  /* 200m以上 */
.bs-l2 { --bs-color: #1e63d6; }  /* 150～200m */
.bs-l3 { --bs-color: #2e9d3a; }  /* 120～150m */
.bs-l4 { --bs-color: #29a8d8; }  /* 100～120m */
.bs-l5 { --bs-color: #e6b800; }  /* 80～100m */
.bs-l6 { --bs-color: #8e44ad; }  /* 80m未満、不明 */

.bs-pin-icon { background: none; border: 0; }
.bs-pin { display: block; width: 22px; height: 22px; margin: 1px 0 0 0;
	background: var(--bs-color); border: 2px solid #fff; border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg); box-shadow: 0 1px 4px rgba(0,0,0,.45); }

/* 凡例 */
.bs-legend { margin: 6px 0 4px; line-height: 2; }
.bs-legend span.bs-item { margin-right: 12px; white-space: nowrap; }
.bs-legend .bs-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%;
	background: var(--bs-color); margin: 0 4px 0 2px; vertical-align: -1px; border: 1px solid rgba(0,0,0,.2); }

/* 吹き出し・地図切り替えの文字（地図ライブラリの既定では約8pxになるため直接指定） */
.leaflet-popup-content { font-size: 15px; line-height: 1.6; margin: 12px 14px; }
.leaflet-popup-content div.mapwindow { width: auto; min-width: 220px; }
.leaflet-popup-content div.mapwindow p { margin: 0 0 4px; }
.leaflet-popup-content div.mapwindow p.mname { font-size: 17px; font-weight: bold; line-height: 1.4; }
.leaflet-popup-content div.mapwindow img { max-width: none; margin: 0 10px 4px 0; }
/* 写真（左に回り込み）より文章が短いときも、吹き出しの枠が写真の下端まで伸びるようにする */
.leaflet-popup-content div.mapwindow::after { content: ""; display: block; clear: both; }
.leaflet-control-layers-expanded { padding: 8px 12px 8px 8px; }
.leaflet-control-layers label { font-size: 15px; line-height: 1.8; font-weight: normal; margin: 0; cursor: pointer; }
.leaflet-control-layers input[type=radio] { margin: 0 6px 0 2px; vertical-align: -1px; }
