/* おんどり庵様 トップページの店舗マップ 2026-10-26 アンダーアップ（効く範囲は #storemap の中だけ） */
#storemap {
  --sm-ink: #1f1a17;
  --sm-sub: #6b6459;
  --sm-accent: #a3192b;
  --sm-line: #e2dbcf;
  padding: 0 0 120px;
  color: var(--sm-ink);
}
#storemap .sm-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
#storemap .sm-head { text-align: center; margin-bottom: 28px; }
#storemap .sm-title {
  margin: 0; font-family: "Noto Serif JP", serif; font-weight: 200; font-size: 30px; letter-spacing: .2em;
}
#storemap .sm-en { margin: 6px 0 14px; font-size: 12px; letter-spacing: .3em; color: var(--sm-sub); }
#storemap .sm-lead { margin: 0; font-size: 14px; line-height: 1.9; color: var(--sm-sub); }

#storemap .sm-map {
  position: relative; height: 560px; border: 1px solid #968c6f; background: #eee;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .08); z-index: 0;
}

/* 写真付きのピン（点の真上に吹き出し。is-down は点の真下） */
#storemap .sm-pin-wrap { background: none; border: 0; }
#storemap .sm-pin {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -100%); padding-bottom: 12px;
  display: flex; flex-direction: column; align-items: center; cursor: pointer; transition: transform .15s;
}
#storemap .sm-pin.is-down { transform: translate(-50%, 0); padding: 12px 0 0; flex-direction: column-reverse; }
#storemap .sm-pin::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 0; margin-left: -8px;
  border: 8px solid transparent; border-top: 12px solid var(--sm-accent); border-bottom: 0;
}
#storemap .sm-pin.is-down::after { top: 0; bottom: auto; border-top: 0; border-bottom: 12px solid var(--sm-accent); border-top-color: transparent; }
#storemap .sm-pin-photo {
  display: block; width: 64px; height: 64px; border-radius: 50%; overflow: hidden;
  border: 3px solid var(--sm-accent); background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}
#storemap .sm-pin-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
#storemap .sm-pin-name {
  margin: 4px 0 0; padding: 2px 9px; border-radius: 999px; background: #1f1a17; color: #fff;
  font-size: 12px; font-weight: 700; line-height: 1.6; white-space: nowrap; box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}
#storemap .sm-pin.is-down .sm-pin-name { margin: 0 0 4px; }
#storemap .leaflet-marker-icon:hover .sm-pin,
#storemap .leaflet-marker-icon:focus .sm-pin { transform: translate(-50%, -100%) scale(1.08); }
#storemap .leaflet-marker-icon:hover .sm-pin.is-down,
#storemap .leaflet-marker-icon:focus .sm-pin.is-down { transform: translate(-50%, 0) scale(1.08); }

/* 案内（吹き出し） */
#storemap .sm-popup .leaflet-popup-content-wrapper { padding: 0; border-radius: 12px; overflow: hidden; }
#storemap .sm-popup .leaflet-popup-content { margin: 0; width: 240px !important; font-size: 13px; line-height: 1.6; }
#storemap .sm-pop-img { display: block; width: 100%; height: 130px; object-fit: cover; }
#storemap .sm-pop-body { padding: 12px 14px 14px; }
#storemap .sm-pop-body p { margin: 0; }
#storemap .sm-pop-name { font-family: "Noto Serif JP", serif; font-size: 16px; font-weight: 700; letter-spacing: .05em; }
#storemap .sm-pop-access { color: var(--sm-accent); font-size: 12px; font-weight: 700; margin-top: 2px !important; }
#storemap .sm-pop-addr { color: var(--sm-sub); font-size: 12px; margin-top: 6px !important; }
#storemap .sm-pop-tel { margin-top: 2px !important; }
#storemap .sm-pop-tel a { color: var(--sm-ink); font-weight: 700; text-decoration: none; }
#storemap .sm-pop-btns { display: flex; gap: 6px; margin-top: 10px; }
#storemap .sm-btn {
  flex: 1; display: block; padding: 8px 4px; border-radius: 999px; border: 1px solid var(--sm-line);
  color: var(--sm-ink) !important; background: #fff; font-size: 12px; font-weight: 700; text-align: center; text-decoration: none;
}
#storemap .sm-btn.is-main { background: var(--sm-accent); border-color: var(--sm-accent); color: #fff !important; }
#storemap .sm-btn:hover { opacity: .85; }
#storemap .leaflet-popup-close-button { color: #fff; text-shadow: 0 0 4px rgba(0, 0, 0, .7); font-size: 22px; top: 4px; right: 4px; }

/* 地図の下の店名ボタン */
#storemap .sm-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
#storemap .sm-list li { list-style: none; margin: 0; }
#storemap .sm-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border: 1px solid var(--sm-line);
  border-radius: 999px; background: #fff; color: var(--sm-ink); font: inherit; font-size: 14px; cursor: pointer; transition: all .15s;
}
#storemap .sm-chip img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
#storemap .sm-chip:hover, #storemap .sm-chip.is-active { border-color: var(--sm-accent); color: var(--sm-accent); }
#storemap .sm-chip.is-active { background: #fbf1f1; font-weight: 700; }
#storemap .sm-chip.is-all { padding: 9px 16px; background: #1f1a17; border-color: #1f1a17; color: #fff; }
#storemap .sm-chip:focus-visible { outline: 3px solid rgba(163, 25, 43, .35); outline-offset: 2px; }

/* スマホで地図を動かす前の案内 */
#storemap .sm-hint {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 1000; pointer-events: none;
  padding: 6px 14px; border-radius: 999px; background: rgba(31, 26, 23, .78); color: #fff; font-size: 12px; white-space: nowrap;
}
#storemap .sm-map.is-active .sm-hint { display: none; }

/* 引いた地図（is-far）では写真だけの小さなピン */
#storemap .sm-map.is-far .sm-pin-photo { width: 40px; height: 40px; border-width: 2px; }
#storemap .sm-map.is-far .sm-pin-name { display: none; }

/* リニューアルオープン前の店（今津店）の印 */
#storemap .sm-pin-soon { margin-left: 5px; padding: 0 5px; border-radius: 3px; background: #d8a31a; color: #1f1a17; font-style: normal; font-size: 10px; }
#storemap .sm-pop-soon { display: inline-block; margin-bottom: 6px !important; padding: 2px 10px; border-radius: 999px; background: #d8a31a; color: #1f1a17; font-size: 12px; font-weight: 700; }
#storemap .sm-chip-soon { margin-left: -2px; padding: 1px 7px; border-radius: 999px; background: #d8a31a; color: #1f1a17; font-style: normal; font-size: 11px; font-weight: 700; }

@media screen and (max-width: 767px) {
  #storemap { padding-bottom: 72px; }
  #storemap .sm-inner { padding: 0 12px; }
  #storemap .sm-title { font-size: 22px; }
  #storemap .sm-lead { font-size: 13px; }
  #storemap .sm-map { height: 380px; }
  #storemap .sm-pop-img { height: 96px; }
  #storemap .sm-pin-photo { width: 48px; height: 48px; border-width: 2px; }
  #storemap .sm-pin-name { font-size: 11px; padding: 1px 7px; }
  #storemap .sm-chip { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  #storemap * { transition: none !important; }
}

/* 求人ページ（/LP/・/sp/LP/）に置いた時の余白と、ページ側の CSS に負けない文字の設定 2026-10-26 */
#storemap.lp-storemap { padding: 56px 0 24px; text-align: left; }
#storemap.lp-storemap .sm-inner { padding: 0; }
#storemap.lp-storemap .sm-title { font-size: 28px; line-height: 1.4; color: var(--sm-ink); }
#storemap.lp-storemap .sm-head, #storemap.lp-storemap .sm-head p, #storemap.lp-storemap .sm-head h2 { padding: 0; text-align: center; background: none; }
#storemap.lp-storemap .sm-lead { max-width: 640px; margin: 0 auto; }
#storemap.lp-storemap .sm-list li { padding: 0; background: none; border: 0; width: auto; float: none; }
@media screen and (max-width: 767px) {
  #storemap.lp-storemap { padding: 32px 10px 8px; }
  #storemap.lp-storemap .sm-title { font-size: 22px; }
}
