/* エリア・駅ページの地図 */
.gym-map { margin: 0 0 32px; }
.gym-map__canvas { width: 100%; height: 420px; border: 1px solid #ddd; border-radius: 8px; z-index: 0; }
.gym-map__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.gym-map__btn { padding: 10px 18px; border: 0; border-radius: 6px; background: #e8582c; color: #fff; font-weight: 700; cursor: pointer; }
.gym-map__btn--sub { background: #fff; color: #333; border: 1px solid #ccc; }
.gym-map__btn[hidden] { display: none; }
.gym-map__btn:disabled { opacity: .5; cursor: default; }
.gym-map__canvas { display: flex; align-items: center; justify-content: center; background: #f4f5f6; }
.gym-map__canvas.leaflet-container { display: block; }
.gym-map__loading { margin: 0; font-size: 13px; color: #666; }
.gym-map__note { font-size: 12px; color: #666; }
.gym-map .leaflet-popup-content { font-size: 13px; line-height: 1.6; }
@media (max-width: 767px) {
    .gym-map__canvas { height: 320px; }
    .gym-map__btn { flex: 1; }
}

/* 一覧のページ送り */
.gym-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 28px 0 8px; }
.gym-pager__item { min-width: 40px; padding: 8px 12px; border: 1px solid #ccc; border-radius: 6px; background: #fff; color: #333; text-align: center; text-decoration: none; font-size: 14px; cursor: pointer; }
.gym-pager__item.is-current { background: #e8582c; border-color: #e8582c; color: #fff; font-weight: 700; }
.gym-pager__gap { padding: 8px 4px; color: #999; }

/* 一覧カードの口コミ評価（inc/gym-reviews.php） */
.gym-review-badge { display: inline-block; font-size: 13px; margin-top: 2px; }
.gym-review-badge strong { color: #e8582c; }
.gym-stars { position: relative; display: inline-block; width: 5.5em; height: 1.1em; line-height: 1; vertical-align: -0.15em; font-size: 13px; }
.gym-stars::before, .gym-stars__fill::before { content: "★★★★★"; position: absolute; left: 0; top: 0; letter-spacing: 0.1em; }
.gym-stars::before { color: #ddd; }
.gym-stars__fill { position: absolute; left: 0; top: 0; height: 100%; overflow: hidden; }
.gym-stars__fill::before { color: #f5a623; }

/* 下の階層のエリア（市区町村・駅）リンク */
.gym-area-children { margin: 40px 0 0; }
.gym-area-children__title { font-size: 1.15rem; margin: 0 0 12px; padding-left: 10px; border-left: 4px solid #2f6fdf; }
.gym-area-children__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 12px; list-style: none; margin: 0; padding: 0; }
.gym-area-children__list a { display: block; padding: 8px 10px; border: 1px solid #e3e6ea; border-radius: 6px; text-decoration: none; color: inherit; font-size: .95rem; }
.gym-area-children__list a:hover { border-color: #2f6fdf; color: #2f6fdf; }
.gym-area-children__list span { color: #666; font-size: .85em; }
.gym-area-children__list--small a { padding: 4px 8px; font-size: .85rem; }
.gym-area-children__sub { margin: 16px 0 6px; font-size: .9rem; color: #555; }
.gym-area-children__note { margin: 8px 0 0; font-size: .8rem; color: #777; }
