html:has(.jquery-modal){
    overflow: hidden;
}

.concierge{
    padding-top: 40px;
    padding-bottom: 170px;
}

.concierge .head-btn{
    
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 400px;
    height: 60px;
    background: #009d85;
    border: solid 1px #009d85;
    color: #fff;
    border-radius: 1000px;
    margin: auto auto 0;
    color: #fff;
}
.concierge .head-btn.hover{
    background: #fff;
    color: #008e72;
}

@media screen and (max-width: 767px){
    
    .concierge{
    padding-top: 40px;
    padding-bottom: 100px;
}

.concierge .head-btn{
    
    font-size: 14px;
    max-width: 400px;
    
}

    
    
}
.concierge-sort{
    background: #eee;
    border-radius: 10px;
    margin-bottom: 40px;
    padding: 28px 40px;
    font-size: 14px;
    margin-top: 60px;
}
.concierge-sort dl{
    display: flex;
}
.concierge-sort dl:not(:last-child){
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: solid 1px #ddd;
}
.concierge-sort dt{
    width: 140px;
}
.concierge-sort dd{
    display: flex;
    flex-wrap: wrap;
    gap:8px;
}
.concierge-sort button{
    background: #ddd;
    padding: 0.05em 0.8em;
    border-radius: 1000px;
    color: #666;
}
.concierge-sort dl:nth-child(1) button.active{
    background: #f34c48;
    color:#fff;
}
.concierge-sort dl:nth-child(2) button.active{
    background: #ffa60b;
    color:#fff;
}
.concierge-sort dl:nth-child(3) button.active{
    background: #54cdee;
    color:#fff;
}
.concierge-sort dl:nth-child(4) button.active{
    background: #cd8cff;
    color:#fff;
}
.concierge-sort dl:nth-child(5) button.active{
    background: #444;
    color:#fff;
}

@media screen and (max-width: 767px){
    
    .concierge-sort{
    background: #eee;
    border-radius: 10px;
    margin-bottom: 40px;
    padding: 20px 20px;
    font-size: 13px;
        margin-top: 40px;
}
.concierge-sort dl{
    flex-flow: column;
}
.concierge-sort dl:not(:last-child){
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: solid 1px #ddd;
}
.concierge-sort dt{
    margin-bottom: 8px;
    font-size: 14px;
}

    
    
}
.concierge-list h3{
    text-align: center;
    font-size: 20px;
    margin-bottom: 28px;
    font-weight: bold;
    color: #008e72;
}
.concierge-list ul{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
}

.concierge-list li{
    border: solid 1px rgba(100, 100, 100, 0.59);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(204, 204, 204, 0.8);
    overflow: hidden;
    aspect-ratio: 4 / 5;
}
.concierge-list li a{
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
}
.concierge-list li a.hover img{
    opacity: 0.5;
    transform: scale(1.05);
}
.concierge-list li img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition-duration: 0.5s;
}
.concierge-list li a:after{
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
    opacity: 1;
    pointer-events: none;
}

.concierge-number{
    width: 36px;
    height: 36px;
    border-radius: 1000px;
    background: #008e72;
    position: absolute;
    top: 8px;
    left: 8px;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: -0.02em;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}


.concierge-number small{
    font-size: 70%;
}
.concierge-list li .text{
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    z-index: 4;
    padding: 16px 12px;
}
.concierge-category{
    display: flex;
    gap:4px;
    flex-wrap: wrap;
}


.concierge-category span{
    display: inline-block;
    font-size: 12px;
    border-radius: 1000px;
    padding: 0.05em 0.6em;
    font-weight: bold;
    color: #fff;
    
}

.concierge-category.category-lot span{
    font-size: 10px;
}
.concierge-category span.connect{
    background: #f34c48;
}
.concierge-category span.life{
    background: #ffa60b;
}
.concierge-category span.home{
    background: #54cdee;
}
.concierge-category span.work{
    background: #cd8cff;
}

.concierge-list li .text h4{
    font-weight: bold;
    text-shadow: 0 0 1em #000;
    font-size: 16px;
}
.concierge-tag{
    font-size: 11px;
    display: flex;
    flex-wrap: wrap;
    gap:8px;
line-height:1.4;
}
.concierge-tag span{
    display: inline-block;
}

.concierge-empty{
    display: none;
    text-align: center;
    font-size: 14px;
}
@media screen and (max-width: 768px){
    .concierge-list ul{
    grid-template-columns: 1fr 1fr;
        gap: 12px;
}

.concierge-number{
    width: 28px;
    height: 28px;
    font-size: 10px;
    }

.concierge-category span{
    font-size: 10px;
    
}

.concierge-category.category-lot span{
    font-size: 8px;
}
.concierge-list li .text h4{
    font-weight: bold;
    text-shadow: 0 0 1em #000;
    font-size: 13px;
}
.concierge-tag{
    font-size: 9px;
    display: flex;
    flex-wrap: wrap;
    gap:8px;
}
    
}


.modal-inner{
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.modal-left{
    width: 50%;
    margin-right: 40px;
}
.modal-right{
    width: calc(50% - 40px);
}

.modal-right{
    display: flex;
    min-height: 0;
    
}

.recommend-txt{
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    background: #eee;
    padding: 28px 20px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.8;
}
.recommend-txt::-webkit-scrollbar {
    width: 8px;
}
.recommend-txt::-webkit-scrollbar-track {
    background-color: rgba(0,0,0,0);
}
.recommend-txt::-webkit-scrollbar-thumb { 
    background-color: #008e72;
    border-radius: 1000px;
}
.recommend-txt::-webkit-scrollbar-button {
    display: none;
}
.modal .concierge-category{
    margin-bottom: 12px;
}
.modal .concierge-category span{
    font-size: 14px;
}
.modal .concierge-number{
    top: 20px;
    left: 20px;
    width: 80px;
    height: 80px;
    font-size: 24px;
}
.modal h4{
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 12px;
}

.recommend-point{
    font-size: 14px;
    line-height: 1.4;
}

.close-modal{
    position: fixed;
    top: 20px;
    right: 28px;
    background: url(/img/close.svg) no-repeat;
    background-position: center;
    background-size: 60% 60%;
    width: 60px;
    height: 60px;
    font-size: 0;
}

.prev,.next{
    width: 60px;
    height: 60px;
    background: #008e72;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10000px;
    color: #fff;
}
.prev{
    position: absolute;
    top: 50%;
    left: -30px;
}

.next{
    position: absolute;
    top: 50%;
    right: -30px;
}

.modal-inner aside{
    width: 100%;
    text-align: center;
    display: block;
    font-size: 12px;
    padding-top: 40px;
}
@media screen and (max-width: 768px){
    
    .modal-inner{
    flex-flow: column;
}

.modal-left{
    width: 100%;
    margin-right: 0px;
    margin-bottom: 20px;
}
.modal-right{
    width: 100%;
}

.modal-right{
    display: flex;
    min-height: 0;
    height: auto !important;
    
}

.recommend-txt{
    padding: 24px 16px;
    font-size: 12px;
    
}

.modal .concierge-category{
    margin-bottom: 12px;
}
.modal .concierge-category span{
    font-size: 12px;
}
.modal .concierge-number{
    width: 48px;
    height: 48px;
    top: 12px;
    left: 12px;
        font-size: 16px;
}
.modal h4{
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 12px;
}

.recommend-point{
    font-size: 12px;
    
}

.close-modal{
    position: fixed;
    top: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    mix-blend-mode: difference;
}

.prev,.next{
    width: 40px;
    height: 40px;
    
}
.prev{
    position: fixed;
    top: calc(50% - 20px);
    left: 5px;
}

.next{
    position: fixed;
    top: calc(50% - 20px);
    right: 5px;
}
    
    
}