@charset "utf-8";

/*-----------------------------------------------
    secEstateMap
-----------------------------------------------*/
.secEstateMap{
    margin-top: 6rem;
}
/* 物件0件時は estate_map.js で付与 */

.secEstateMap .secMap{
    display: flex;
    margin-top: 4rem;
}
.secEstateMap .boxMap{
    position: relative;
    width: 70.932%;
    background-color: var(--gray_lightColor);
}
.secEstateMap .boxMapSearch{
    width: 29.0699%;
    background-color: var(--whiteColor);
    border-radius: 0 2rem 2rem 0;
    padding: 5rem;
    box-shadow: 0 0 1.5rem var(--blackColor_6);
}
/* トップ地図ウィジェット内の絞り込み */
.boxSearch_mapIndex{
    display: flex;
    flex-direction: column;
    gap: 2.8rem;
}
.mapIndexSummary{
    margin: 0;
    padding: 1.5rem 1.6rem;
    font-size: var(--pcFS14);
    letter-spacing: var(--pcLS14);
    line-height: var(--pcLH14_21);
    background-color: var(--gray_lightColor_2);
    border-radius: 9.9rem;
    text-align: center;
}
.mapIndexSummary_num{
    font-weight: bold;
    font-size: var(--pcFS20);
}
.mapIndexSummary_member{
    color: var(--memberColor);
}
.mapIndexField{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.mapIndexLabel{
    margin: 0;
    font-size: var(--pcFS14);
    font-weight: bold;
}
.mapIndexAreaChecks{
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
}
.mapIndexAreaCheck{
    flex: 1;
    min-width: 0;
    cursor: pointer;
}
.mapIndexAreaCheck_input{
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.mapIndexAreaCheck_txt{
    display: block;
    width: 100%;
    padding: 2.3rem 0.2rem;
    font-size: var(--pcFS14);
    line-height: var(--pcLH14_21);
    border-radius: 1rem;
    background: var(--whiteColor);
    color: var(--blackColor);
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.mapIndexAreaCheck:hover .mapIndexAreaCheck_txt{
    border-color: var(--gray_darkColor);
}
.mapIndexAreaCheck.is_active .mapIndexAreaCheck_txt{
    background: var(--blackColor_333);
    color: var(--whiteColor);
}
.mapIndexRangeRow{
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.mapIndexTilde{
    flex-shrink: 0;
    font-size: var(--pcFS14);
    color: var(--gray_darkColor);
}
.mapIndexSelectWrap{
    flex: 1;
    min-width: 0;
}
.mapIndexSelect{
    width: 100%;
    padding: 1.8rem 3rem 1.8rem 1.2rem;
    font-size: var(--pcFS16);
    border: none;
    border-radius: 1rem;
    background-color: var(--gray_lightColor_2);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.8rem 0.6rem;
    cursor: pointer;
    font-family: inherit;
}
.mapIndexSearchBtnWrap{
    margin-top: 0.4rem;
}
.mapIndexSearchBtn{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 30rem;
    margin: 0 auto;
    padding: 1.9rem 1.6rem;
    font-size: var(--pcFS14);
    font-weight: bold;
    border: 1px solid var(--blackColor_333);
    border-radius: 2rem;
    background: var(--whiteColor);
    cursor: pointer;
    transition: .2s ease-out;
    overflow: hidden;
    z-index: 1;
}
.mapIndexSearchBtn:before{
    position: absolute;
    content: '';
    margin: auto;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--formBtnColor);
    background: var(--formBtnColor_gradient);
    transition: .3s ease-out;
    z-index: -1;
    opacity: 0;
}
.mapIndexSearchBtn.mapIndexSearchBtnVendor:before{
    background: var(--loginBtnColor);
    background: var(--loginBtnColor_gradient);
}
.mapIndexSearchBtn:hover{
    color: var(--whiteColor);
    border-color: var(--whiteColor);
    background: inherit;
}
.mapIndexSearchBtn:hover:before{
    opacity: 1;
}
.mapIndexSearchBtn_icon{
    width: 1.8rem;
    height: 1.8rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: .2s ease-out;
}
.mapIndexSearchBtnVendor:hover .mapIndexSearchBtn_icon,
.mapIndexSearchBtn:hover .mapIndexSearchBtn_icon{
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23fff' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mapIndexMapLink{
    margin-top: 0.4rem;
}
.mapIndexMapLink .cmnBtn{
    width: 20rem;
    background-color: var(--gray_lightColor_2);
}
/* 絞り込みアコーディオン（PCは常時表示） */
.mapIndexFilterAccordion{
    display: contents;
}
.mapIndexFilterHead{
    display: none;
}
.mapIndexFilterBody{
    display: contents;
}
@media only screen and (max-width:1215px){
    .secEstateMap{
        margin-top: 5rem;
    }
    .secEstateMap .secMap{
        position: relative;
        margin-top: 2rem;
        flex-direction: column-reverse;
    }
    .secEstateMap .boxMap{
        width: 100%;
    }
    .secEstateMap .boxMapSearch{
        box-shadow: none;
        width: 100%;
        border-radius: 0;
        padding: 0;
        background-color: transparent;
    }
    .mapIndexAreaCheck{
        flex: none;
        width: 100%;
    }
    .boxSearch_mapIndex{
        gap: 1.5rem;
    }
    .mapIndexSummary{
        padding: 0.8rem 1.6rem;
        font-size: var(--spFS12);
        line-height: var(--spLH12_20);
        border-radius: 2.2rem;
    }
    .mapIndexSummary_num{
        font-size: var(--spFS18);
    }
    .mapIndexField{
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .mapIndexLabel{
        margin: 0;
        font-size: var(--pcFS12);
        font-weight: bold;
    }
    .mapIndexAreaChecks{
        justify-content: space-between;
        gap: 0;
    }
    .mapIndexAreaCheck{
        flex: none;
        width: 31.015%;
    }
    .mapIndexAreaCheck_txt{
        padding: 1.3rem 0.8rem;
        font-size: var(--spFS12);
        border-radius: 0.5rem;
        border: 0.1rem solid var(--gray_lightColor);
    }
    .mapIndexAreaCheck.is_active .mapIndexAreaCheck_txt{
        border-color: var(--blackColor_333);
    }
    .mapIndexTilde{
        font-size: var(--spFS12);
    }
    .mapIndexSelect{
        padding: 1.3rem 2rem 1.3rem 1rem;
        font-size: var(--spFS16);
        background-color: var(--whiteColor);
    }
    .mapIndexSearchBtnWrap{
        margin-top: 0.4rem;
    }
    .mapIndexSearchBtn{
        width: 70%;
        padding: 1.4rem 1.6rem;
        font-size: var(--spFS12);
        border-radius: 3rem;
        gap: 0.3rem;
    }
    .mapIndexMapLink{
        margin-top: 0.4rem;
        position: absolute;
        bottom: 1rem;
        left: 0;
        right: 0;
        z-index: 999;
    }
    .mapIndexMapLink .cmnBtn{
        width: 20rem;
        background-color: var(--gray_lightColor_2);
    }
    .mapIndexFilterAccordion{
        display: flex;
        flex-direction: column;
        gap: 1.8rem;
        margin-bottom: 2rem;
    }
    .mapIndexFilterHead{
        display: flex;
        align-items: center;
        gap: 0.8rem;
        width: 100%;
        margin: 0;
        padding: 1.5rem 4rem 1.5rem 1.6rem;
        font-size: var(--spFS12);
        font-weight: bold;
        line-height: var(--spLH12_20);
        color: var(--blackColor);
        background: var(--whiteColor);
        border: none;
        border-radius: 1rem;
        box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
        cursor: pointer;
        font-family: inherit;
        text-align: left;
        position: relative;
    }
    .mapIndexFilterHead_icon{
        flex-shrink: 0;
        width: 1.6rem;
        height: 1.7rem;
        background: url(../img/estate/iconWord.png) center top / cover no-repeat;
    }
    .mapIndexFilterHead_txt{
        flex: 1;
        min-width: 0;
    }
    .mapIndexFilterHead_toggle::before,
    .mapIndexFilterHead_toggle::after{
        position: absolute;
        content: "";
        width: 1.2rem;
        height: 0.2rem;
        right: 2rem;
        top: calc(50% - 0.1rem);
        background: var(--textColor);
    }
    .mapIndexFilterHead_toggle::before{
        transform: rotate(90deg);
    }
    .mapIndexFilterAccordion.is_open .mapIndexFilterHead_toggle::before{
        display: none;
    }
    .mapIndexFilterBody{
        display: none;
        flex-direction: column;
        gap: 1.5rem;
    }
    .mapIndexFilterAccordion.is_open .mapIndexFilterBody{
        display: flex;
    }
}


/*-----------------------------------------------
    wrapperMap
-----------------------------------------------*/
.wrapperMap{
    padding: 2rem 2rem 0;
}
/* map */
#map {
    width: 100%;
    min-height: 70rem;
    height: 100%;
    font-family: inherit;
}
#map .marker-cluster{
    background: none;
}
#map .marker-cluster div,
#map .myicon-one{
    background: none;
    position: relative;
    width: 4.6rem !important;
    height: 6.7rem !important;
    background: url(../img/common/icoMapPin.png) center top / cover no-repeat;
    display: block;
    position: absolute;
    margin-top: -6.4rem !important;
    margin-left: -2.5rem !important;
}
#map .marker-cluster.is_active div,
#map .myicon-one.is_active{
    background-image: url(../img/common/icoMapPin.png);
}
#map .marker-cluster span{
    position: absolute;
    right: -0.5rem;
    top: -0.5rem;
    z-index: 10;
    background: var(--whiteColor);
    border: 1px solid var(--greenColor);
    border-radius: 2rem;
    line-height: 1;
    padding: 0.4rem 0.7rem;
    font-size: var(--pcFS11);
}
#map .marker-cluster.is_active span{
    border-color: var(--isLand_color);
}
#map.leaflet-container a{
    color: inherit;
}
#map.leaflet-touch .leaflet-bar a{
    width: 4.2rem;
    height: 4.2rem;
    line-height: 4.2rem;
    color: var(--black_000_Color);
}
#map .leaflet-popup-content{
    margin: 0;
    width: auto !important;
}
#map .leaflet-popup-content-wrapper{
    padding: 0;
    border-radius: 0 1rem 1rem 1rem;
}
#map.leaflet-container a.leaflet-popup-close-button{
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 50%;
    background-color: var(--gray_darkColor);
    position: absolute;
    top: -1.5rem;
    right: -1rem;
    z-index: 9;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 0.4rem;
}
#map.leaflet-container a.leaflet-popup-close-button span{
    font-size: var(--pcFS18);
    color: var(--whiteColor);
}
#map .leaflet-popup-content p{
    margin: 0;
}
#map .leaflet-popup-tip-container{
    left: 25%;
}
#map .leaflet-popup-tip{
    width: 1.2rem;
    height: 0.9rem;
    transform: none;
    margin: 0;
    background: var(--whiteColor);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.leaflet-container:after,
.leaflet-gesture-handling-scroll-warning:after,
.leaflet-control-attribution { display: none !important; }
@media only screen and (max-width:1215px){
    .wrapperMap{
        max-width: 40rem;
        margin: 0 auto;
        padding: 2.5rem 0 0;
    }
    #map .marker-cluster div,
    #map .myicon-one{
        width: 3.2rem !important;
        height: 4.1rem !important;
        margin-top: -4.1rem !important;
        margin-left: -1.6rem !important;
    }
    /* map */
    #mapWrap{
        position: relative;
        clip-path: polygon(0 0,100% 0, 100% 100%, 0 100%);
    }
    #map {
        height: 133.336vw;
        min-height: auto;
        max-height: 50rem;
    }
    .leaflet-popup {
        display: block !important;
        opacity: 1 !important;
        z-index: 9999 !important;
        margin-bottom: 0;
    }
}

/* secMapPopup */
.secMapPopupStack {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-height: min(70svh, 22rem);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.secMapPopupStack > .secMapPopup {
    flex-shrink: 0;
}
.secMapPopup {
    width: 28rem;
}
.secMapPopup .link{
    position: relative;
    height: 100%;
    box-shadow: 0 0 1.5rem var(--blackColor_6);
    padding: 2rem 1.5rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
}
.secMapPopup .link:hover{
    opacity: 1!important;
}
.secMapPopup .boxHead{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.5rem;
}
.secMapPopup .boxImg{
    position: relative;
    width: 4rem;
}
.secMapPopup .img{
    aspect-ratio: 80 / 80;
    border-radius: 100%;
    overflow: hidden;
}
/* boxTit */
.secMapPopup .boxTit{
    width: calc(100% - 5rem);
}
.secMapPopup .boxTit .tit{
    font-size: var(--pcFS14);
    line-height: var(--pcLH14_21);
}
.secMapPopup .boxTit .txt{
    font-size: var(--pcFS10);
    line-height: var(--pcLH10_15);
    color: var(--gray_darkColor);
}
.secMapPopup .boxTit .tit,
.secMapPopup .boxTit .txt{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
}
/* boxInfo */
.secMapPopup .boxInfo{
    position: relative;
    width: 100%;
    margin-top: 1.5rem;
}
.secMapPopup .boxInfoCard{
    display: flex;
    align-items: stretch;
}
.secMapPopup .bgInfo{
    background-color: var(--gray_lightColor_2);
    border-radius: 1rem;
    padding: 1.2rem 1rem;
}
.secMapPopup .boxInfoCol{
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 0;
}
.secMapPopup .boxInfoCol + .boxInfoCol{
    border-left: 1px solid var(--gray_darkColor_2);
}
.secMapPopup .boxInfo .iconPrice{
    position: absolute;
    top: -1.6rem;
    left: 0;
    right: 0;
    margin: auto;
    font-size: var(--pcFS10);
    color: var(--redColor);
}
.secMapPopup .boxInfo .numRow{
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.2rem 0.4rem;
    margin: 0;
}
.secMapPopup .boxInfo .num{
    font-size: var(--pcFS20);
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 7rem;
}
.secMapPopup .boxInfo .numUnit{
    font-size: var(--pcFS14);
}
.secMapPopup .boxInfo .unit{
    font-size: var(--pcFS11);
}
/* iconNew */
.secMapPopup .iconNew{
    position: absolute;
    top: 0;
    left: 0;
    width: 3.6rem;
    height: 1.8rem;
    font-size: var(--pcFS11);
    background-color: var(--yellowColor);
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 2px;
}
/* boxMember */
.secMapPopup .boxMember{
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.8rem 2rem;
}
.secMapPopup .boxMemberInner{
    display: flex;
    justify-content: space-between;
    text-align: center;
}
.secMapPopup .boxMember .boxBtn{
    width: 50%;
}
.secMapPopup .boxMember .memberBtn{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 3.4rem;
    font-size: var(--pcFS11);
}
.secMapPopup .boxMember .memberBtn:not(.txtBtn){
    background-color: var(--blackColor_333);
    color: var(--whiteColor);
    border-radius: 0.6rem;
}
.secMapPopup .boxMember .icon{
    position: relative;
    padding-left: 1.6rem;
}
.secMapPopup .boxMember .icon:before{
    position: absolute;
    content: '';
    margin: auto;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1rem;
    height: 1.3rem;
    background: right top / cover no-repeat url(../img/common/iconMember.png);
    opacity: 0.3;
}
.leaflet-top, .leaflet-bottom{
    z-index: 990;
}
@media only screen and (max-width:1215px){
    .secMapPopupStack {
        max-height: min(70svh, 24rem);
    }
    .secMapPopup {
        width: 26rem;
    }
    /* boxTit */
    .secMapPopup .boxTit{
        width: calc(100% - 5rem);
    }
    .secMapPopup .boxTit .tit{
        font-size: var(--spFS14);
        line-height: var(--spLH14_21);
    }
    .secMapPopup .boxTit .txt{
        font-size: var(--spFS10);
        line-height: var(--spLH10_15);
    }
    /* boxInfo */
    .secMapPopup .bgInfo{
        padding: 1.2rem 1rem;
    }
    .secMapPopup .boxInfo .iconPrice{
        top: -1.6rem;
        font-size: var(--spFS10);
    }
    .secMapPopup .boxInfo .numRow{
        gap: 0.2rem 0.4rem;
    }
    .secMapPopup .boxInfo .num{
        font-size: var(--spFS20);
        max-width: 7rem;
    }
    .secMapPopup .boxInfo .numUnit{
        font-size: var(--spFS14);
        font-size: var(--spFS11);
    }
    .secMapPopup .boxInfo .unit{
        font-size: var(--spFS11);
    }
    /* iconNew */
    .secMapPopup .iconNew{
        width: 2.6rem;
        height: 1.4rem;
        font-size: var(--spFS10);
    }
    /* boxMember */
    .secMapPopup .boxMember .memberBtn{
        font-size: var(--spFS11);
    }
}

.boxCategory{
    position: absolute;
    left: 0;
    top: -1.8rem;
    display: flex;
}
.iconPrice{
    min-width: 3.6rem;
    height: 1.8rem;
    font-size: var(--pcFS11);
    background-color: var(--yellowColor);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.2rem 0.4rem;
}
.iconPrice.icon01{
    background-color: var(--purpleColor);
    color: var(--whiteColor);
}
.iconPrice.icon02{
    background-color: var(--yellowColor);
}
.iconPrice.icon03{
    background-color: var(--redColor);
    color: var(--whiteColor);
}
.iconPrice.icon04{
    background-color: var(--orangeColor);
    color: var(--whiteColor);
}

/*-----------------------------------------------
    vendor 地図: ピン種別（estate_vendor_map.js の mapPinClass）
    画像: img/common/iconMap01.png 〜 iconMap04.png
-----------------------------------------------*/
#map .myicon-one.iconMap01,
#map .myicon-one.iconMap01.is_active{
    background-image: url(../img/vendor/estate/iconMap01.png);
}
#map .myicon-one.iconMap02,
#map .myicon-one.iconMap02.is_active{
    background-image: url(../img/vendor/estate/iconMap02.png);
}
#map .myicon-one.iconMap03,
#map .myicon-one.iconMap03.is_active{
    background-image: url(../img/vendor/estate/iconMap03.png);
}
#map .myicon-one.iconMap04,
#map .myicon-one.iconMap04.is_active{
    background-image: url(../img/vendor/estate/iconMap04.png);
}

