/* sheep.jp 飲食店マップ */
:root {
	--sjr-green: #1b7c5a;
	--sjr-green-dark: #146347;
	--sjr-red-btn: #cc4540;
	--sjr-text: #222;
	--sjr-sub: #666;
	--sjr-line: #e5e5e5;
	--sjr-footer-h: 28px;
	--sjr-card-w: 340px;
	--sjr-sheet-h: 0px;
}

.sjr-sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

body.sjr-map-page { overflow: hidden; margin-bottom: 0; }

.sjr-app { position: relative; width: 100%; height: calc(100vh - 90px - var(--sjr-footer-h)); height: calc(100dvh - 90px - var(--sjr-footer-h)); background: #e8e4dc; overflow: hidden; }
.sjr-map { position: absolute; inset: 0; z-index: 0; font-family: inherit; }
.sjr-map.leaflet-container { font-family: inherit; background: #e8e4dc; }
.sjr-noscript { position: absolute; top: 40%; width: 100%; text-align: center; margin: 0; }

.sjr-ui { position: absolute; inset: 0; z-index: 500; pointer-events: none; }
.sjr-ui > * { pointer-events: auto; }
.sjr-ui button, .sjr-ui input { font-family: inherit; line-height: 1.2; }

/* アイコン(Material Design Icons / Apache-2.0)。色は color で指定 */
.sjr-ico { display: inline-block; width: 22px; height: 22px; flex: none; background-color: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }

/* ---------- 左上: 検索 + チップ ---------- */
.sjr-top { position: absolute; left: 16px; top: 16px; width: min(380px, calc(100% - 32px)); display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.sjr-top > * { pointer-events: auto; }
.sjr-search { position: relative; display: flex; align-items: center; height: 48px; background: #fff; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.22); padding: 0 8px 0 12px; gap: 8px; margin: 0; }
.sjr-search__icon { color: #333; }
.sjr-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; height: 100%; font-size: 16px; color: var(--sjr-text); padding: 0; box-shadow: none; }
.sjr-search input::placeholder { color: #6b6b6b; }
.sjr-search input::-webkit-search-cancel-button { display: none; }
.sjr-search:focus-within { box-shadow: 0 0 0 2px var(--sjr-green), 0 2px 8px rgba(0,0,0,.22); }
.sjr-search__clear { border: 0; background: transparent; font-size: 22px; line-height: 1; color: #555; width: 40px; height: 40px; cursor: pointer; border-radius: 50%; }
.sjr-search__clear:hover { background: #f0f0f0; }

.sjr-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 4px 0; list-style: none; background: #fff; border-radius: 10px; box-shadow: 0 4px 14px rgba(0,0,0,.25); max-height: 50vh; overflow: auto; z-index: 5; }
.sjr-suggest li { padding: 10px 14px; cursor: pointer; font-size: 14px; line-height: 1.35; }
.sjr-suggest li small { display: block; color: var(--sjr-sub); font-size: 12px; }
.sjr-suggest li:hover, .sjr-suggest li[aria-selected="true"] { background: #f1f7f4; }
.sjr-suggest li.is-all { color: var(--sjr-green); font-weight: 700; }

.sjr-chips { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sjr-chip-wrap { position: relative; }
.sjr-chip { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px 0 12px; background: #fff; border: 0; border-radius: 22px; box-shadow: 0 2px 8px rgba(0,0,0,.22); font-size: 15px; font-weight: 700; color: var(--sjr-text); cursor: pointer; white-space: nowrap; }
.sjr-chip .sjr-ico { width: 20px; height: 20px; }
.sjr-chip__caret { color: #555; width: 18px !important; height: 18px !important; }
.sjr-chip.is-on { background: #e7f3ed; box-shadow: 0 0 0 2px var(--sjr-green), 0 2px 8px rgba(0,0,0,.18); color: var(--sjr-green-dark); }
.sjr-chip:focus-visible, .sjr-ctrl__btn:focus-visible, .sjr-btn-search:focus-visible, .sjr-reserve:focus-visible { outline: 3px solid #1a73e8; outline-offset: 2px; }

.sjr-pop { position: absolute; left: 0; top: calc(100% + 8px); z-index: 20; min-width: 240px; max-width: min(320px, 86vw); background: #fff; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,.28); padding: 6px 0 8px; }
.sjr-pop__head { padding: 8px 16px 6px; font-size: 12px; color: var(--sjr-sub); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.sjr-pop__head button { border: 0; background: transparent; color: var(--sjr-green); font-weight: 700; cursor: pointer; padding: 0; font-size: 12px; }
.sjr-pop__list { list-style: none; margin: 0; padding: 0; max-height: min(52vh, 380px); overflow: auto; }
.sjr-pop__list li { margin: 0; }
.sjr-pop__list .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 10px 16px; background: transparent; border: 0; text-align: left; font-size: 15px; cursor: pointer; color: var(--sjr-text); }
.sjr-pop__list .row:hover { background: #f1f7f4; }
.sjr-pop__list .row small { color: var(--sjr-sub); font-size: 12px; }
.sjr-pop__list label.row { cursor: pointer; justify-content: flex-start; }
.sjr-pop__list input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--sjr-green); margin: 0; }
.sjr-pop__list .swatch { width: 14px; height: 18px; flex: none; }

.sjr-active { display: flex; flex-wrap: wrap; gap: 6px; }
.sjr-tag { display: inline-flex; align-items: center; gap: 6px; background: #fff; border-radius: 16px; padding: 4px 6px 4px 12px; font-size: 13px; box-shadow: 0 1px 5px rgba(0,0,0,.2); }
.sjr-tag button { border: 0; background: #eee; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; line-height: 1; }

/* ---------- 上中央: この範囲で検索 ---------- */
.sjr-center { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; }
.sjr-center > * { pointer-events: auto; }
.sjr-btn-search { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 22px; border: 0; border-radius: 22px; background: var(--sjr-green); color: #fff; font-size: 15px; font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.3); cursor: pointer; white-space: nowrap; }
.sjr-btn-search:hover { background: var(--sjr-green-dark); }
.sjr-btn-search.is-attention { animation: sjr-pulse 1.6s ease-in-out infinite; }
.sjr-btn-search--inline { display: none; }
.sjr-count { font-size: 12px; background: rgba(255,255,255,.92); border-radius: 12px; padding: 2px 10px; color: #333; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.sjr-count:empty { display: none; }
@keyframes sjr-pulse { 0%,100% { box-shadow: 0 2px 8px rgba(0,0,0,.3), 0 0 0 0 rgba(27,124,90,.55); } 50% { box-shadow: 0 2px 8px rgba(0,0,0,.3), 0 0 0 9px rgba(27,124,90,0); } }

/* ---------- 左下: 凡例 ---------- */
.sjr-legend { position: absolute; left: 16px; bottom: 26px; background: #fff; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.22); padding: 10px 14px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.sjr-legend div { display: flex; align-items: center; gap: 8px; }
.sjr-legend img { width: 20px; height: 26px; display: block; }

/* ---------- 右下: 現在地 / ズーム ---------- */
.sjr-ctrl { position: absolute; right: 16px; bottom: 34px; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.sjr-ctrl__btn { width: 48px; height: 48px; display: grid; place-items: center; background: #fff; border: 0; cursor: pointer; color: #222; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.sjr-ctrl > .sjr-ctrl__btn { border-radius: 50%; }
.sjr-ctrl__zoom { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.sjr-ctrl__zoom .sjr-ctrl__btn { box-shadow: none; border-radius: 0; }
.sjr-ctrl__zoom .sjr-ctrl__btn + .sjr-ctrl__btn { border-top: 1px solid var(--sjr-line); }
.sjr-ctrl__btn:hover { background: #f4f4f4; }
.sjr-ctrl__btn.is-busy .sjr-ico { animation: sjr-spin 1s linear infinite; }
@keyframes sjr-spin { to { transform: rotate(360deg); } }

/* attribution(OSMの表示義務)を右下の最下段に小さく */
.sjr-map .leaflet-control-attribution { font-size: 10px; background: rgba(255,255,255,.75); }

/* ---------- 簡易カード ---------- */
.sjr-card { position: absolute; right: 16px; top: 84px; width: var(--sjr-card-w); max-height: calc(100% - 100px); overflow: auto; background: #fff; border-radius: 14px; box-shadow: 0 4px 18px rgba(0,0,0,.3); padding: 0; }
.sjr-card[hidden], .sjr-toast[hidden], .sjr-pop[hidden], .sjr-suggest[hidden], .sjr-active[hidden] { display: none; }
.sjr-card__handle { display: none; }
.sjr-card__close { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.3); z-index: 2; }
.sjr-card__close .sjr-ico { width: 20px; height: 20px; }
.sjr-card__photo { width: 100%; aspect-ratio: 16 / 9; background: #f3f3f3; border-radius: 14px 14px 0 0; overflow: hidden; }
.sjr-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.sjr-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.sjr-card__name { margin: 0; font-size: 19px; line-height: 1.35; font-weight: 700; color: var(--sjr-text); padding: 0; word-break: break-word; }
.sjr-badge { display: inline-block; padding: 2px 12px; border-radius: 12px; font-size: 12px; font-weight: 700; color: #fff; background: #777; }
.sjr-badge--specialty { background: #E31C1C; color: #fff; }
.sjr-badge--serving { background: #FD7397; color: #3b0d1c; }
.sjr-badge--lamb { background: #FE7E01; color: #3b1d00; }
.sjr-card__addr { margin: 0; display: flex; gap: 6px; font-size: 14px; color: #444; line-height: 1.5; }
.sjr-card__addr .sjr-ico { width: 18px; height: 18px; margin-top: 2px; color: #777; }
.sjr-card__actions { width: 100%; display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }

.sjr-reserve { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 14px; border-radius: 8px; background: var(--sjr-red-btn); color: #fff !important; font-size: 15px; font-weight: 700; text-decoration: none !important; line-height: 1.2; }
.sjr-reserve:hover { filter: brightness(.94); }
.sjr-reserve .sjr-ico { width: 20px; height: 20px; }
.sjr-reserve .sjr-pr { font-size: 11px; font-weight: 700; border: 1px solid rgba(255,255,255,.85); border-radius: 3px; padding: 0 4px; line-height: 14px; letter-spacing: .02em; }
.sjr-reserve--sub { background: #fff; color: var(--sjr-text) !important; border: 1px solid #bbb; min-height: 40px; font-weight: 600; }
.sjr-reserve--sub .sjr-pr { border-color: #999; }

/* ---------- 位置のドット / クラスタ ---------- */
.sjr-here-dot { width: 48px; height: 48px; }
.sheep-pin-holder { background: transparent; border: 0; }
.sheep-pin-holder .sheep-pin { position: relative; width: 100%; height: 100%; }
.sjr-cluster-holder { background: transparent; border: 0; }
.sjr-cluster { width: 44px; height: 44px; border-radius: 50%; background: rgba(27,124,90,.28); display: grid; place-items: center; }
.sjr-cluster span { width: 32px; height: 32px; border-radius: 50%; background: var(--sjr-green); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.leaflet-marker-icon:focus-visible { outline: 3px solid #1a73e8; outline-offset: 2px; border-radius: 6px; }

/* ---------- トースト ---------- */
.sjr-toast { position: absolute; left: 50%; bottom: 60px; transform: translateX(-50%); background: rgba(34,34,34,.92); color: #fff; padding: 10px 16px; border-radius: 20px; font-size: 14px; max-width: calc(100% - 40px); text-align: center; z-index: 30; }

/* ---------- 最下段の1行フッター ---------- */
.sjr-footer { position: fixed; left: 0; right: 0; bottom: 0; height: var(--sjr-footer-h); line-height: var(--sjr-footer-h); background: #f0f0f0; color: #555; text-align: center; font-size: 12px; z-index: 600; border-top: 1px solid #e2e2e2; padding: 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ======== 追加(r7): 店舗一覧 / 経路ボタン / アクセシビリティ ======== */
:root { --sjr-list-w: 380px; --sjr-top-h: 0px; }

/* 一覧パネル(PC=左の固定パネル。地図と操作部品は右側に寄せる) */
.sjr-list { position: absolute; left: 0; top: 0; bottom: 0; width: var(--sjr-list-w); z-index: 400; display: flex; flex-direction: column; background: #fff; box-shadow: 2px 0 10px rgba(0,0,0,.15); box-sizing: border-box; }
.sjr-list button { font-family: inherit; margin: 0; text-transform: none; letter-spacing: normal; box-shadow: none; }
.sjr-list__head { padding: 14px 16px 10px; border-bottom: 1px solid var(--sjr-line); background: #fff; flex: none; }
.sjr-list__title { margin: 0; padding: 0; font-size: 16px; line-height: 1.4; font-weight: 700; color: var(--sjr-text); }
.sjr-list__title:focus { outline: none; }
.sjr-list__title:focus-visible { outline: 3px solid #1a73e8; outline-offset: 2px; }
.sjr-list__count { color: var(--sjr-green-dark); }
.sjr-list__sub { margin: 2px 0 0; font-size: 12px; color: var(--sjr-sub); line-height: 1.4; }
.sjr-seg { display: inline-flex; margin-top: 8px; border: 1px solid #aaa; border-radius: 18px; overflow: hidden; }
.sjr-seg button { border: 0; background: #fff; color: var(--sjr-text); font-size: 13px; font-weight: 700; min-height: 36px; padding: 0 16px; cursor: pointer; }
.sjr-seg button + button { border-left: 1px solid #aaa; }
.sjr-seg button.is-on { background: var(--sjr-green); color: #fff; }
.sjr-list__ul { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.sjr-list__li { margin: 0; padding: 0; }
.sjr-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: start; width: 100%; box-sizing: border-box; padding: 12px 16px; margin: 0; border: 0; border-bottom: 1px solid var(--sjr-line); border-radius: 0; background: #fff; color: var(--sjr-text); text-align: left; font-size: 14px; line-height: 1.4; cursor: pointer; }
.sjr-item:hover { background: #f6faf8; }
.sjr-item.is-on { background: #eef7f2; box-shadow: inset 4px 0 0 var(--sjr-green); }
.sjr-item__ph { display: block; width: 76px; height: 76px; border-radius: 8px; border: 1px solid var(--sjr-line); background: #f3f3f3; overflow: hidden; }
.sjr-item__ph img { display: block; width: 76px; height: 76px; object-fit: cover; }
.sjr-item__body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.sjr-item__name { font-size: 15px; font-weight: 700; line-height: 1.35; word-break: break-word; }
.sjr-item__addr { font-size: 12.5px; color: #444; line-height: 1.4; word-break: break-word; }
.sjr-item__addr:empty { display: none; }
.sjr-item__dist { font-size: 13px; font-weight: 700; color: var(--sjr-green-dark); white-space: nowrap; padding-top: 2px; }
.sjr-list__more { padding: 12px 16px; list-style: none; }
.sjr-list__more button { width: 100%; min-height: 44px; border: 1px solid var(--sjr-green); border-radius: 22px; background: #fff; color: var(--sjr-green-dark); font-size: 14px; font-weight: 700; cursor: pointer; }
.sjr-list__more button:hover { background: #eef7f2; }
.sjr-list__empty { list-style: none; padding: 24px 16px; color: var(--sjr-sub); font-size: 14px; line-height: 1.6; }

/* 経路ボタン / 距離 */
.sjr-route { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 14px; border-radius: 8px; background: #fff; color: var(--sjr-green-dark) !important; border: 2px solid var(--sjr-green); box-sizing: border-box; font-size: 15px; font-weight: 700; text-decoration: none !important; line-height: 1.2; white-space: nowrap; }
.sjr-route:hover { background: #eef7f2; }
.sjr-route .sjr-ico { width: 20px; height: 20px; }
.sjr-route .sjr-ico:last-child { width: 18px; height: 18px; }
.sjr-card__dist { color: var(--sjr-green-dark); font-weight: 700; white-space: nowrap; }
.sjr-card:focus { outline: none; }
.sjr-card:focus-visible { outline: 3px solid #1a73e8; outline-offset: -3px; }

/* スキップリンク(キーボード操作で最初のTabに出る) */
.sjr-skip { position: absolute; left: 8px; top: -80px; z-index: 900; background: #fff; color: #0b57d0; padding: 10px 16px; border-radius: 0 0 8px 8px; font-weight: 700; font-size: 14px; box-shadow: 0 2px 8px rgba(0,0,0,.3); text-decoration: underline; }
.sjr-skip:focus { top: 0; }

/* キーボードのフォーカス表示(全操作部品) */
.sjr-ui button:focus-visible, .sjr-ui a:focus-visible, .sjr-list button:focus-visible, .sjr-skip:focus-visible { outline: 3px solid #1a73e8; outline-offset: 2px; }
.sjr-item:focus-visible, .sjr-pop__list .row:focus-visible, .sjr-suggest li:focus-visible { outline-offset: -3px; }
.sjr-pop__list input[type=checkbox]:focus-visible { outline: 3px solid #1a73e8; outline-offset: 2px; }

/* ======== スマホ ======== */
@media (max-width: 768px) {
	:root { --sjr-footer-h: 26px; }
	.sjr-top { left: 10px; top: 10px; width: calc(100% - 20px); gap: 8px; }
	.sjr-search { height: 46px; }
	.sjr-chips { flex-wrap: nowrap; }
	.sjr-chips { gap: 8px; }
	.sjr-chip { height: 40px; font-size: 13px; padding: 0 9px; gap: 4px; min-width: 0; }
	.sjr-chip .sjr-ico { width: 18px; height: 18px; }
	.sjr-chip__caret { width: 16px !important; height: 16px !important; }
	.sjr-btn-search--inline { display: inline-flex; height: 40px; padding: 0 12px; font-size: 13px; margin-left: auto; box-shadow: 0 2px 8px rgba(0,0,0,.3); gap: 4px; }
	.sjr-btn-search--inline .sjr-ico { width: 18px; height: 18px; }
	.sjr-center { display: none; }
	.sjr-count { display: none; }

	.sjr-legend { left: 10px; bottom: calc(var(--sjr-sheet-h) + 12px); padding: 8px 12px; font-size: 13px; gap: 4px; }
	.sjr-ctrl { right: 10px; bottom: calc(var(--sjr-sheet-h) + 12px); }
	.sjr-ctrl__btn { width: 46px; height: 46px; }
	.sjr-toast { bottom: calc(var(--sjr-sheet-h) + 70px); }
	.sjr-app:not(.has-card) .sjr-toast { bottom: 84px; }

	.sjr-card { left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: 62%; border-radius: 18px 18px 0 0; box-shadow: 0 -3px 14px rgba(0,0,0,.25); padding: 24px 14px 12px; display: grid; grid-template-columns: 36% 1fr; column-gap: 14px; row-gap: 6px; align-content: start; box-sizing: border-box; }
	.sjr-card[hidden] { display: none; }
	.sjr-card__handle { display: block; position: absolute; left: 50%; top: 8px; width: 48px; height: 6px; margin-left: -24px; border: 0; padding: 0; border-radius: 3px; background: #c9c9c9; cursor: pointer; }
	.sjr-card__handle::after { content: ""; position: absolute; inset: -10px -20px; }
	.sjr-card__close { top: 8px; right: 6px; }
	.sjr-card__photo { grid-column: 1; grid-row: 1 / span 3; aspect-ratio: 1 / 1; border-radius: 8px; border: 1px solid var(--sjr-line); }
	/* 本文の子要素を直接グリッドに載せる(予約ボタンは下段で全幅) */
	.sjr-card__body { display: contents; }
	.sjr-card__name { grid-column: 2; font-size: 17px; padding-right: 34px; align-self: start; }
	.sjr-badge { grid-column: 2; justify-self: start; align-self: start; }
	.sjr-card__addr { grid-column: 2; align-self: start; font-size: 13px; }
	.sjr-card__actions { grid-column: 1 / -1; margin-top: 8px; }
	.sjr-card.is-collapsed { max-height: 132px; overflow: hidden; }
	.sjr-card.is-collapsed .sjr-card__actions { display: none; }
	.sjr-reserve { white-space: nowrap; }
	.sjr-pop { position: fixed; left: 10px; right: 10px; top: auto; min-width: 0; max-width: none; }

	/* 一覧(スマホ): 地図の上に重ねて表示。検索欄とチップは上に残す */
	.sjr-list { display: none; left: 0; right: 0; width: auto; z-index: 400; box-shadow: none; padding-top: var(--sjr-top-h); }
	.sjr-app.is-list .sjr-list { display: flex; }
	.sjr-app.is-list .sjr-legend, .sjr-app.is-list .sjr-ctrl, .sjr-app.is-list .sjr-card, .sjr-app.is-list .sjr-btn-search--inline { display: none; }
	.sjr-app.is-list .sjr-search, .sjr-app.is-list .sjr-chip { box-shadow: none; border: 1px solid #ccc; }
	.sjr-list__ul { padding-bottom: 84px; }
	.sjr-item { grid-template-columns: 64px 1fr auto; padding: 12px; }
	.sjr-item__ph, .sjr-item__ph img { width: 64px; height: 64px; }
	.sjr-skip { display: none; }

	/* 地図 ⇔ 一覧 の切り替えボタン */
	.sjr-fab { display: inline-flex; align-items: center; gap: 8px; position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); height: 48px; padding: 0 22px; border: 0; border-radius: 24px; background: var(--sjr-green); color: #fff; font-size: 15px; font-weight: 700; box-shadow: 0 3px 10px rgba(0,0,0,.35); cursor: pointer; white-space: nowrap; z-index: 40; }
	.sjr-fab:hover { background: var(--sjr-green-dark); }
	.sjr-app.has-card .sjr-fab { display: none; }
	.sjr-app:not(.has-card) .sjr-legend, .sjr-app:not(.has-card) .sjr-ctrl { bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
	.sjr-btn-search.is-attention, .sjr-ctrl__btn.is-busy .sjr-ico { animation: none; }
}

/* PCでは地図と操作部品を一覧の右側に置く */
@media (min-width: 769px) {
	.sjr-map { left: var(--sjr-list-w); }
	.sjr-ui { left: var(--sjr-list-w); }
	.sjr-fab { display: none; }
	/* 店舗カードが開いている間は、現在地・ズームのボタンをカードの左へ避ける(重ならないように) */
	.sjr-app.has-card .sjr-ctrl { right: calc(var(--sjr-card-w) + 32px); }
}
@media (min-width: 769px) and (max-width: 1360px) {
	/* 一覧パネルのぶん地図が狭いので、「この範囲で検索」は右上へ寄せ、件数は一覧の見出しで確認する */
	.sjr-center { left: auto; right: 16px; transform: none; align-items: flex-end; }
	.sjr-count { display: none; }
}
@media (min-width: 769px) and (max-width: 1100px) {
	:root { --sjr-list-w: 320px; }
	.sjr-top { width: min(340px, calc(100% - 32px)); }
}
@media (min-width: 769px) and (max-width: 1000px) {
	/* タブレット縦持ち: 地図が狭いので、カードは検索欄・チップの下から出し、凡例はカード表示中だけ隠す */
	.sjr-top { width: calc(100% - 200px); }
	.sjr-card { top: 136px; max-height: calc(100% - 152px); }
	.sjr-app.has-card .sjr-legend { display: none; }
}

