@charset "utf-8";
/* ぐるぐるMAP */

.ggr-map {
    width: 100%;
}

/* 旧Google埋め込み用の指定を打ち消す（ポップアップが切れないように） */
.map_area {
    overflow: visible;
}

/* 絞り込み */
.ggr-map__filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 16px;
    padding: 0 16px;
}

.ggr-map__filter_btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid #d5d5d5;
    border-radius: 999px;
    background: #fff;
    color: #999;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    transition: color .2s, border-color .2s, background-color .2s;
}

.ggr-map__filter_btn.is-active {
    border-color: #333;
    background: #fff;
    color: #333;
}

.ggr-map__dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    opacity: .3;
    transition: opacity .2s;
}

.ggr-map__filter_btn.is-active .ggr-map__dot {
    opacity: 1;
}

.ggr-map__count {
    font-size: 10px;
    opacity: .6;
}

/* 地図本体 */
.ggr-map__canvas {
    width: 100%;
    height: 500px;
    background: #eef2f4;
    z-index: 0;
}

.ggr-map__empty {
    padding: 40px 16px;
    color: #888;
    font-size: 13px;
    text-align: center;
}

/* ピン */
.ggr-pin-wrap {
    background: none;
    border: 0;
}

.ggr-pin {
    display: block;
    width: 18px;
    height: 18px;
    margin: 2px;
    border: 2px solid #fff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, .3);
}

.leaflet-marker-icon:hover .ggr-pin {
    filter: brightness(1.15);
}

/* ポップアップ */
.leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .2);
}

.leaflet-popup-content {
    margin: 0;
    line-height: inherit;
}

/* 閉じるボタンが画像に重なるので見えるようにする */
.leaflet-container a.leaflet-popup-close-button {
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
    color: #555;
    font-size: 16px;
    line-height: 22px;
}

.ggr-popup {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
}

.ggr-popup__img {
    display: block;
    width: 100%;
    height: 150px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.ggr-popup__body {
    display: block;
    padding: 14px 16px 16px;
}

.ggr-popup__meta {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .02em;
}

.ggr-popup__ttl {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
}

.ggr-popup__date {
    display: block;
    margin-top: 6px;
    color: #999;
    font-size: 12px;
}

.ggr-popup__more {
    display: inline-block;
    margin-top: 12px;
    padding-bottom: 3px;
    border-bottom: 1px solid #333;
    font-size: 12px;
}

@media screen and (min-width: 768px) {
    .ggr-map__filter {
        gap: 10px;
        margin-bottom: 24px;
    }

    .ggr-map__filter_btn {
        padding: 9px 18px;
        font-size: 13px;
    }

    .ggr-map__canvas {
        height: 680px;
    }

    .ggr-popup__img {
        height: 170px;
    }

    .ggr-popup__body {
        padding: 16px 18px 18px;
    }

    .ggr-popup__ttl {
        font-size: 17px;
    }
}
