/* ==============================
   開店・閉店マップ（shop.php, inc/shops/）
============================== */
.kshop-filters { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 12px; }
.kshop-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.kshop-filter button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid #e0e0e0;
    border-radius: 999px;
    background: #fff;
    color: #444;
    font: inherit;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
}
.kshop-filter button span:not(.kshop-dot) { font-size: .7rem; color: #999; font-weight: 600; }
.kshop-filter button.is-active { background: #c62828; border-color: #c62828; color: #fff; }
.kshop-filter button.is-active span:not(.kshop-dot) { color: rgba(255,255,255,.85); }
.kshop-filter button:focus-visible { outline: 2px solid #c62828; outline-offset: 2px; }

.kshop-map {
    height: 360px;
    border-radius: 10px;
    overflow: hidden;
    background: #eef1f4;
    border: 1px solid #e6e6e6;
    z-index: 0;
    display: flex; align-items: center; justify-content: center; color: #888; font-size: .85rem;
}
@media (min-width: 960px) { .kshop-map { height: 460px; } }

.kshop-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: .72rem; color: #777; }
.kshop-legend > span { display: inline-flex; align-items: center; gap: 5px; }
.kshop-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #ddd; }
.kshop-dot--open     { background: #c62828; }
.kshop-dot--close    { background: #757575; }
.kshop-dot--relocate,
.kshop-dot--renewal  { background: #ef6c00; }
.kshop-dot--area     { background: #fff; border: 2px dashed #c62828; box-shadow: none; }

/* 一覧 */
.kshop-list { list-style: none; }
.kshop-item { padding: 14px 0; border-top: 1px solid #f1f1f1; scroll-margin-top: 110px; }
.kshop-item:first-child { border-top: none; padding-top: 4px; }
.kshop-item:target { background: #fff8e6; border-radius: 8px; padding-left: 8px; padding-right: 8px; }
.kshop-item-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.kshop-kind {
    display: inline-block;
    font-size: .7rem;
    font-weight: 800;
    padding: 1px 9px;
    border-radius: 999px;
    color: #fff;
    background: #c62828;
}
.kshop-kind--close { background: #757575; }
.kshop-kind--relocate, .kshop-kind--renewal { background: #ef6c00; }
.kshop-genre { font-size: .72rem; color: #8a4b00; background: #fff4e0; padding: 1px 8px; border-radius: 999px; font-weight: 700; }
.kshop-date  { font-size: .76rem; color: #666; }
.kshop-name  { font-size: 1rem; font-weight: 800; margin-top: 6px; line-height: 1.45; }
.kshop-place { font-size: .82rem; color: #555; margin-top: 2px; }
.kshop-approx { font-size: .72rem; color: #999; margin-left: 4px; }
.kshop-summary { font-size: .84rem; color: #444; line-height: 1.7; margin-top: 6px; }
.kshop-source { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: .76rem; }
.kshop-source a { color: #c62828; font-weight: 700; }
.kshop-source a:hover { text-decoration: underline; }

/* 地図のポップアップ */
.kshop-pop { display: flex; flex-direction: column; gap: 4px; max-width: 220px; font-size: .8rem; line-height: 1.5; }
.kshop-pop .kshop-kind { align-self: flex-start; }
.kshop-pop strong { font-size: .92rem; }
.kshop-pop-meta { color: #666; font-size: .74rem; }
.kshop-pop-sum { color: #444; }
.kshop-pop a { color: #c62828; font-weight: 700; }

/* カテゴリ一覧の上の入口 */
.kshop-entry {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: 680px;
    margin: 0 auto 8px;
    padding: 12px 14px;
    background: #fff;
    border-left: 4px solid #c62828;
}
.kshop-entry:hover { background: #fff8f8; }
.kshop-entry-title { font-size: .92rem; font-weight: 800; color: #1a1a1a; }
.kshop-entry-sub   { font-size: .76rem; color: #c62828; font-weight: 700; }
@media (min-width: 960px) {
    .kshop-entry { max-width: none; margin: 0 0 10px; border-radius: 0 12px 12px 0; }
}
