/* 駐車場の番号付き地図 [hb_parking_map](2026-10-19。とめナビのガイドの地図と同じ作り。枠は以前のマイマップの埋め込み .hb-map-embed に合わせる) */
.hb-parking-map-wrap {
	margin: 0 0 1.5em;
}

.hb-parking-map {
	width: 100%;
	height: 460px;
	max-width: 100%;
	background: #f4f5f6;
	border: 1px solid #d8d8d8;
	border-radius: 14px;
	overflow: hidden;
}

.hb-parking-map-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: #666;
}

.hb-parking-map-note {
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 1.7;
	color: #555;
}

/* 番号の印は駐車場しらべ(.lmpin)と同じ形: 高さ22pxの角丸の札で、2桁以上は横に伸びて改行しない(2026-10-24 ユーザー指示) */
.hb-parking-map-pin {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 5px;
	box-sizing: border-box;
	border: 2px solid #fff;
	border-radius: 11px;
	background: #1565c0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .45);
	color: #fff;
	font: 700 12px/1 system-ui, sans-serif;
	white-space: nowrap;
}

.hb-parking-map-pin-stack {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	padding: 4px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .4);
}

.hb-parking-map-pin-stack-position {
	display: inline-block;
	transform: translate(-50%, calc(-100% - 7px));
}

.hb-parking-map-pin-tip {
	position: absolute;
	bottom: -7px;
	left: 50%;
	margin-left: -7px;
	border: 7px solid transparent;
	border-top-color: #fff;
	border-bottom: 0;
}

.hb-parking-map-popup-rule {
	margin: 6px 0;
	border: 0;
	border-top: 1px solid #ddd;
}

@media screen and (max-width: 600px) {
	.hb-parking-map {
		height: 360px;
	}
}

/* 駐車場の記事の地図(OpenStreetMap)と入口ごとのナビのボタン(2026-10-20。記事に「地図をOSMにする」の印があるときだけ) */
.hb-article-map-wrap {
	margin: 0 0 .5em;
}

.hb-entrance-pin {
	position: absolute;
	left: 0;
	top: 0;
	transform: translate(-50%, calc(-100% - 8px));
	display: inline-flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
	padding: 3px 9px 3px 3px;
	border: 2px solid #fff;
	border-radius: 16px;
	background: #1565c0;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .4);
	color: #fff;
	font: 700 14px/1.2 sans-serif;
}

.hb-entrance-pin b {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	color: #1565c0;
	font-size: 14px;
}

.hb-entrance-pin::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -9px;
	margin-left: -7px;
	border: 7px solid transparent;
	border-top-color: #1565c0;
	border-bottom: 0;
}

.hb-nav-btns {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 10px;
	margin: 14px 0 6px;
}

.entry-content a.hb-nav-btn,
a.hb-nav-btn {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 14px;
	border: 2px solid #1a73e8;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 2px 0 rgba(26, 115, 232, .25);
	color: #1a73e8;
	text-decoration: none;
}

.hb-nav-ic {
	flex: 0 0 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #1a73e8;
}

.hb-nav-ic svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: #fff;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hb-nav-tx {
	flex: 1;
	min-width: 0;
	line-height: 1.35;
}

.hb-nav-l {
	display: block;
	color: #1a1a1a;
	font-weight: bold;
	font-size: 16px;
}

.hb-nav-sub {
	display: block;
	color: #1a73e8;
	font-size: 12px;
}

.hb-nav-ar {
	font-size: 20px;
	font-weight: 700;
}


/* 徒歩距離の施設ごとの徒歩ナビ(OSMの地図の記事。2026-10-24 案A)。車のナビ(青)と分けて緑にする */
.entry-content a.hb-nav-btn.hb-nav-walk,
a.hb-nav-btn.hb-nav-walk,
.hb-nav-btn.hb-nav-walk {
	border-color: #188038;
	box-shadow: 0 2px 0 rgba(24, 128, 56, .25);
	color: #188038;
}

.hb-nav-walk .hb-nav-ic {
	background: #188038;
}

.hb-nav-walk .hb-nav-sub {
	color: #188038;
}

.hb-nav-d {
	display: block;
	color: #3c4043;
	font-size: 13px;
}

/* 行き先の場所のIDが無い施設は、リンクの無い枠(距離と時間だけ) */
div.hb-nav-btn.hb-nav-nolink {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 14px;
	border: 2px solid #dadce0;
	border-radius: 12px;
	background: #fff;
	box-shadow: none;
}

.hb-nav-nolink .hb-nav-ic {
	background: #80868b;
}

/* 地図の車のナビの下に続ける徒歩ナビの小見出し(2026-10-24 ユーザー指示) */
.hb-walk-caption {
	margin: 16px 0 0;
	color: #188038;
	font-size: 14px;
	font-weight: 700;
}

.hb-walk-caption + .hb-walk-btns {
	margin-top: 8px;
}
