
#showimage1 {
    width: 35%;
    top: 180px;
    left: 5%;
}
.showimage {
    position: fixed;
    height: auto;
    max-height: calc(100vh - 40px); /* 뷰포트 높이에서 여유 공간을 뺀 값 */
    z-index: 9999;
    border: 1px solid #ccc;
    box-sizing: border-box;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#showimage1 {
    width: 35%;
    top: 20px;
    left: 5%;
}

.pop_inner {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    overflow-y: auto; /* 내용이 넘칠 경우 스크롤 추가 */
    max-height: calc(100vh - 80px); /* 뷰포트 높이에서 여유 공간을 더 뺀 값 */
}

.img_pop {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 90vw;
    overflow-y: auto;
}
.img_pop img {
    object-fit: contain; /* 이미지 비율 유지 */
    width: 100%;
    max-height: 100%;
}

.check_pop {
    background-color: transparent !important;
    width: 100%;
    font-size: 14px;
    padding-top: 15px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    position: sticky;
    bottom: 0;
    background-color: #fff !important;
}

.check_pop input {
    margin-right: 5px;
}

.check_pop label {
    cursor: pointer;
    color: #111;
    font-family: 'Pretendard-Regular', sans-serif;
    display: flex;
    align-items: center;
}

.check_pop label input {
    margin-right: 5px;
    cursor: pointer;
}

a.btn_close {
    cursor: pointer;
    color: #111;
    font-family: 'Pretendard-Regular', sans-serif;
}


































/* mobile */
@media screen and (max-width: 767px) {

    #showimage1 {
        width: 90%;
        top: 80px;
        left: 50%;
        transform: translateX(-50%);
    }

    .pop_inner {
        padding: 5px;
    }

    .check_pop {
        font-size: 12px;
        padding-top: 10px;
    }

    .check_pop label {
        cursor: inherit;
    }

    .check_pop label input {
        cursor: inherit;
    }

    a.btn_close {
        cursor: inherit;
    }

}























/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px) {

    #showimage1 {
        width: 55%;
        top: 80px;
        left: 5%;
    }

    .pop_inner {
        padding: 10px;
    }

    .check_pop {
        font-size: 12px;
        padding-top: 10px;
    }

    .check_pop label {
        cursor: inherit;
    }

    .check_pop label input {
        cursor: inherit;
    }

    a.btn_close {
        cursor: inherit;
    }

}