/*================================================*/
/*공통 style*/
.ccRstr-container{
    margin-top: 24vh;
    padding-bottom: 20vh;
}
.display-none{
    display: none;
}
.display-block{
    display: block;
}
/*메인 페이지 style*/
.ccRstr .ccRstr-img{
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    text-align: center;
    /*padding-bottom: 80px;*/
    padding-top: 20px;
}
.ccRstr .ccRstr-img .img-wrap{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    /*width: 100%;*/
    /*overflow: hidden;*/
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: left 0.5s;
}
.ccRstr .ccRstr-img .img-wrap li{
    width: 100%;
    text-align: center;

}
.ccRstr .ccRstr-img li img{
    width: 300px;
    height: 200px;
    object-fit: fill;
    margin: 5px auto;
    /*width: 80vw;*/
}
.ccRstr-info>div{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 5px 0;
}
.ccRstr-info div:last-of-type{
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    margin-left: auto;
    margin-right: auto;
}
.ccRstr-info div img{
    width: 20px;
    object-fit: cover;
    margin: 0 15px auto 15px;
}
.ccRstr-info div p{
    font-size: 12px;
    /*margin: 5px 0;*/
}
.ccRstr-info div .ccRstr-info-subFunc{
    /*background-color: rgb(236, 222, 198);*/
    background-color: var(--main-color);
    color: white;
    border-radius: 5px;
    padding: 0px 5px;
    margin-left: auto;
    height: 20px;
    line-height: 20px;
    min-width: 55px;
}

.ccRstr .ccRstr-title{
    display: flex;
}
.ccRstr .ccRstr-title img{
    width: 30px;
    margin-right: 15px;
}
.ccRstr .ccRstr-title>h1{
    font-size: 18px;
}
.ccRstr .ccRstr-title h1 img{
    width: 30px;
}
.ccRstr .ccRstr-title h1>span{
    color: grey;
    font-size: 15px;
    font-weight: normal
}
.ccRstr .ccRstr-title .review-box{
    margin-left: auto;
    font-size: 15px;
    height: 20px;
    line-height: 20px;
    background-color: var(--main-color);
    color: white;
    border-radius: 5px;
    padding: 0px 5px;
}
.list-index-container{
    position: absolute;
    width: 100%;
    bottom: 5%;
    height: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}
.list-index-container p{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: white;
    /*border: 1px solid black;*/
    transition: all 0.5s;
}
.list-index-container p.on{
    width: 30px;
    border-radius: 50px;
    transition: all 0.5s;
    /*background-color: black;*/
    /*border: 1px solid black;*/
}
.open-review-button {
    width: 80vw;
    height: 10px;
    background-color: white;
    border: 1px solid var(--main-color);
    border-radius: 30px;
    color:var(--main-color);
}
/*================================================*/
/*검색*/
.ccRstr-ccSech{
    position:relative;
    text-align: center;
}
.ccRstr-ccSech div{background-color: white;z-index: 2;}
.ccRstr-ccSech>div:last-of-type{
    position:fixed;
    top:calc(env(safe-area-inset-top) + 17vh);
    left: 0;
    right: 0;
    /*z-index: 2;*/
    height: 6vh;
}
.ccRstr-ccSech-List-box{
    display: none;
    position: absolute;
    left: 3.5%;
    top: 300%;
    transform: translate(0%, -50%);
    height: 200px;
    width: 92vw;
    font-size: 18px;
    background-color: white;
    border: 1px solid grey;
    overflow: scroll;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    text-align: left;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.ccRstr-ccSech-List-box>li{
    font-size: 13px;
    width: 80vw;
    margin: 20px auto;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(222, 222, 222, 0.56);
}
.ccRstr-ccSech img{
    position: absolute;
    right: 3%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
}
.ccRstr-ccSech input{
    position: absolute;
    left: 2.5%;
    top: 50%;
    transform: translate(0%, -50%);
    height: 30px;
    width: 88%;
    border-radius: 5px;
    font-size: 14px;
    padding: 0 10px;
    border: 1px solid black;
}
.ccRstr-ccSech>div:first-of-type{
    position:fixed;
    top:calc(env(safe-area-inset-top) + 23vh);
    /*left: 50%;*/
    /*top: 75%;*/
    /*transform: translate(-50%, -50%);*/
    left: 0;
    right: 0;
    /*height: 40px;*/
    width: 100vw;
    /*text-align: left;*/
    /*z-index: 2;*/
}
.ccRstr-ccSech .filter-btn {
    padding: 6px 12px;
    margin-right: 5px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}

.ccRstr-ccSech .filter-btn.active {
    background: var(--main-color);
    color: white;
    border-color: var(--main-color);
}

/*버튼형식
/*.ccRstr-ccSech>div:last-of-type>button{*/
/*    height: 30px;*/
/*    width: 70px;*/
/*    border: 1px solid black;*/
/*    border-radius: 10px;*/
/*    color: black;*/
/*    background-color: white;*/
/*    font-size: 13px;*/
/*}*/
/*해시태그형식*/
.ccRstr-ccSech>div:first-of-type>button{
    height: 30px;
    /*width: 70px;*/
    color: #2A9A68;
    font-size: 12px;
    background-color: white;
    border: 1px solid #2A9A68;
    border-radius: 10px;
    margin-bottom: 13px;
}
/*.ccRstr-ccSech>div:last-of-type>.on{*/
/*    border: 1px solid var(--main-color);*/
/*    color: white;*/
/*    background-color: var(--main-color);*/
/*}*/
/*별점순,거리순 셀렉 박스*/
.sortSelect {
    border: 1px solid #2A9A68;
    border-radius: 10px;
    height: 30px;
    width: 70px;
    background: white;
    margin-left: 7px;
    color: #2A9A68;
}
/*맛집 후기 페이지*/
.ccRstr-container-revw{
    bottom: calc(7vh);
    left: 0;
    position: fixed;
    right: 0;
    height: 100vh;
    background-color: rgba(59, 59, 59, 0.6);
    margin: 0 auto;
    z-index: 999;
    overflow: hidden;
    transform : translateY(1000px);
    transition: all .5s;
}
.show-revw{
    transform : translateY(0px);
    transition: all .5s;
}
.review-container{
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: white;
    margin: 0 auto;
    height: 400px;
    width: 100vw;
    padding-bottom: calc(25vw);
}
.review-container>.review-title-area{
    margin: 20px 20px;
    display: flex;
    justify-content: start;
    align-items: center;
}
.review-container>.review-title-area img{
    width: 20px;
    margin-left: 5px;
}
.review-container>.review-title-area>div:last-of-type{
    margin-left: auto;
}
/*.review-title-area>.review-btn{*/
/*    width: 60px;*/
/*    height: 20px;*/
/*    color: white;*/
/*    text-align: center;*/
/*    font-size: 13px;*/
/*    line-height: 20px;*/
/*    border-radius: 10px;*/
/*    margin-right: 10px;*/
/*}*/
/*.review-title-area>div>p{*/
/*    margin-left: 10px;*/
/*    font-size: 15px;*/
/*    font-weight: bolder;*/
/*}*/
.review-update{
    background-color: var(--main-color);
}
.review-cncl{
    background-color: red;
}

.ccRstr-container-revw textarea{
    width: 90vw;
    height: 50px;
    max-height: 200px;
}
.other-review-list{
    margin: 10px 0px;
    padding: 10px;
}
.other-review-list:first-of-type{
    border-top: 2px solid grey;
}
.other-review-list:not(:last-of-type){
    border-bottom: 2px solid grey;
}
.other-review-list p{
    font-size: 15px;
}
.other-review-list .review-list-title{
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}
.other-review-list .review-list-title p{
    font-weight: bolder;
    line-height: 20px;
}
.other-review-list .review-list-title>div {
    display: flex;
    justify-content: flex-start
}
.other-review-list .review-list-title>div>img {
    width: 20px;
    margin: 0px 5px;
}
.other-review-list .review-list-title>div>.icon-review-edit {
    margin-left: 20px;
}
.other-review-list .review-list-title>div>img:last-of-type {
    margin-left: 3px;
}

.review-textarea-box{
    position: relative;
    height: 50px;
    margin: auto;
    transition: all 0.5s;
    text-align: center;
    padding-bottom: 50px;
}
.review-textarea-box>textarea{
    height: 100%;
    font-size: 11px;
}
.review-textarea-box>.review-btn{
    position: absolute;
    bottom: 3%;
    right: 5%;
    width: 80px;
    height: 30px;
    background-color: var(--main-color);
    color: white;
    text-align: center;
    font-size: 15px;
    line-height: 30px;
    border-radius: 20px;
}
.review-textarea-box>.review-btn.cncl{
    right: 30%;
    background-color: white;
    border: 1px solid var(--main-color);
    color: var(--main-color);
}
.review-textarea-box>.textarea-review-count{
    position: absolute;
    bottom: 3%;
    left: 5%;
    color: black;
    font-size: 12px;
}
#ccRstrRevw-container{
    width: 95vw;
    margin: 0 auto;
    display: flex;
    border-top: 2px solid grey;
    padding-bottom: 20vh;
}
/*골프장 맛집 리스트*/
#ccRstr-List-box{
    /*margin-top: 35vh;해쉬태그반영ㅇ*/
    /*margin-top: 30vh;*/
}
#ccRstr-List-box>p{
    font-size: 22px;
    color: dimgrey;
    text-align: center;
    line-height: 60px;
}
#ccRstr-List-box>.ccRstr {
    height: 100%;
    /*border-radius: 15px;*/
    padding: 5px 10px;
    width: 90vw;
    font-size: 13px;
    /*margin: 20px auto;*/
}
#ccRstr-List-box>.ccRstr:nth-of-type(odd) {
    /*background-color: #afe3c5;*/
    border-bottom: 1.5px solid var(--main-color);
}
#ccRstr-List-box>.ccRstr:nth-of-type(even) {
    /*background-color: #daf7f0;*/
    border-bottom: 1.5px solid var(--main-color);
}
#ccRstr-List-box>.endLi {
    background-color: red;
}
/*골프장 맛집 리스트(간단히)*/
.rstr-info-list{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 10px auto;
    width: 90vw;
    font-size: 13px;
}
.rstr-naver{
    color: green;
}
.rstr-right{
    justify-content: flex-end;
    width: 87vw;
    margin-top: 15px;
    align-items: center;
}
.rstr-info{
    display: flex;
    margin: 5px 0;
    width: 200px;
}
.rstr-info>ul{
    display: flex;
    flex-direction: column;
    align-items: start;
    line-height: 140%;
    justify-content: start
}
.rstr-info img{
    width: 15px;
    height: 15px;
    object-fit: cover;
    margin-right: 3px;
    /*align-self: anchor-center;*/
}
.rstr-info p.rstr-icon{
    width: 40px;
    height: 15px;
    color:white;
    background-color: var(--main-color);
    font-weight: bold;
    text-align: center;
    border-radius: 20px;
    margin-left: auto;
    font-size: 10px;
}
.ccRstr-info .rstr-icon{
    margin-left: auto;
    width: 30px;
}
.rstr-info-list .rstr-info p{
    line-height: 20px;
    font-size: 12px;
}
.rstr-info-list p, .ccRstr-title h1{
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.rstr-info-list .ccRstr-img-info {
    width: 30vw;
    height: 100px;
    overflow: hidden;
    text-align: center;
    border-radius: 5px;
}
.rstr-info-list .ccRstr-img-info img{
    width: 100%;
    height: 100px;
    border-radius: 10px;
}
.rstr-info-list>div:first-of-type{
    width: 50vw;
}
.close-detail{
    margin: 10px 0;
    text-align: center;
    width: 100%;
}
.ccrstr-type>p:after{
    content:'/';
}
.ccrstr-type>p:last-of-type:after{
    content:"";
}
/*!*네이버지도*!*/
/*.ccRstr-map{*/
/*    !*width: 90%;*!*/
/*    height: 430px;*/
/*    border: 1px solid green;*/
/*    background-color: green;*/
/*    margin: 35vh 10px 10px 10px;*/
/*}*/
/*네이버 지도 없으면 이거 써야함*/
.ccRstr-sort-box{
    margin-top: 35vh;
}
/*더보기 버튼*/
.ccrstr-more-button {
    display: block;          /* 블록 요소로 변경하여 margin 자동 적용 가능 */
    width: 70vw;             /* 화면 너비(viewport width)의 70% */
    max-width: 600px;        /* 최대 너비 제한 (선택사항) */
    margin: 20px auto;       /* 상하 20px 여백, 좌우 자동 중앙 정렬 */
    padding: 12px 0;         /* 위아래 패딩 12px, 좌우 0 */
    font-size: 16px;         /* 텍스트 크기 */
    font-weight: 600;        /* 약간 두껍게 */
    color: #fff;             /* 글자색 흰색 */
    background-color: var(--main-color); /* 파란색 배경 */
    border: none;            /* 테두리 없음 */
    border-radius: 6px;      /* 모서리 둥글게 */
    cursor: pointer;         /* 마우스 커서 포인터 */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* 살짝 그림자 효과 */
    transition: background-color 0.3s ease;
}