@font-face {
    font-family: 'Noto Sans';
    src: url('/assets/fonts/NotoSans-Bold.ttf');
}
/*#region common*/
.popup {
    position: absolute;
    display: none;
    width: 100%;
    height: 100%;
    font-family: 'Noto Sans', sans-serif;
}

.popup-background {
    position: absolute;
    display: none;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0.7;
}

.popup .close {
    position: absolute;
    display: block;
    width: 120px;
    height: 40px;
    right: 5%;
    bottom: 30px;
}

.popup .close img{
    width: 100%;
    cursor: pointer;
}

.popup .popup-background .popup-background-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.popup .menu {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
}

.popup .tunnel-menu {
    position: absolute;
    display: none;
    width: 100%;
    height: 100%;
}

.popup .menu-background {
    position: absolute;
    width: 100%;
    height: 100%;
}

.popup .menu-background .menu-background-img {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    position: absolute;
    top: 0; bottom: 0;
    left: 0; right: 0;
}

.popup .menu-btn-container {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-left: 60px;
    margin-right: 60px;
}

.popup .menu-btn-container .row {
    display: flex;
    gap: 40px;                      /* 버튼 사이 간격 */
}

.popup .menu-btn-container .btn {
    width: 50%;
    cursor: pointer;
}

.popup .menu-btn-container .btn img{
    width: 100%;
}

.popup .left-photo {
    position: absolute;
    display: none;
    width: 120px;
    height: 120px;
    left: 0;
    top: 50%;
    cursor: pointer;
}
.popup .left-photo img {
    width: 100%;
    height: auto;
    transform: rotateY(180deg);
}

.popup .right-photo {
    position: absolute;
    display: none;
    width: 120px;
    height: 120px;
    right: 0px;
    top: 50%;
    cursor: pointer;
}

.popup .right-photo img {
    width: 100%;
    height: auto;
}

.popup .monitor-contain .menu-background {
    position: absolute;
    width: calc(100% - 120px);
    height: 100%;
    margin-right: 60px;
    margin-left: 60px;
}

.popup .monitor-contain .menu-background .menu-background-img {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    position: absolute;
    top: 0; bottom: 0;
    left: 0; right: 0;
}

.popup .monitor-contain {
    position: absolute;
    display: none;
    width: 100%;
    height: 100%;
}

/*#endregion*/

/*#region safety */

#safety-corner {
    overflow: hidden;
    height: 90%;
    width: 90%;
    top :5%;
    left: 5%;

}

#safety-corner .safety-menu {
    position: relative;
    margin : 0;
    display: block;
    width: 100%;
    height: 100%;

}

#safety-corner .safety-header {
    width: auto;
    height: 60px;
    margin-bottom: 10px;
}

#safety-corner .safety-header img {
    height: 100%;
}

#safety-corner .safety-header img:nth-child(2) {
    float: right;
}

#safety-corner .safety-menu .safety-background {
    float: right;
    width: calc(100% - 130px);
    max-height: 80%;
    overflow-y: auto;
}

#safety-corner .safety-menu .safety-background img {
   width: 100%;
}

#safety-corner .safety-menu .safety-menu-content {
    float: left;
    width: 120px;
    height: 80%;
    overflow-y: auto;
    overflow-x: hidden;
}

#safety-corner .safety-menu .safety-menu-content .btn {
    width: 120px;
    background: #90C640;
    border-radius: 5px;
    margin-bottom: 5px;
}

#safety-corner .safety-menu .safety-menu-content .btn img {
    width: 100%;
    object-fit: contain;
    margin-top: 2px ;
}

#safety-corner .safety-menu .safety-menu-content .btn.active{
    background: #18732F;
}

#safety-corner .safety-menu .safety-menu-content .btn:nth-child(2),
#safety-corner .safety-menu .safety-menu-content .btn:nth-child(3),
#safety-corner .safety-menu .safety-menu-content .btn:nth-child(4),
#safety-corner .safety-menu .safety-menu-content .btn:nth-child(5)
{
    display: none;

}
#safety-corner .safety-close {
    position: relative;
    display: block;
    width: 120px;
    height: auto;
    margin-top: 5px;
    float: right;
}

#safety-corner .safety-close img {
    width: 100%;
}

/*.popup .safety-menu .safety-background {
    position: relative;
    float: right;
    display: flex;
    justify-content: center;
    width: 60%;
    height: auto;
    margin-bottom: 60px;
}

.popup .safety-menu .safety-background .safety-background-img {
    width: 120px;
    object-fit: contain;
    height: 100%;
}*/

/*
.popup .safety-menu .safety-menu-content {
    position: relative;
    width: 30%;
    float: left;
    display: flex;
    flex-wrap: wrap;
    align-items: center;            !* ✅ 수직 중심 정렬 *!
    justify-content: flex-start;
    gap: 10px;
}
*/

/*
.popup .safety-menu .safety-menu-content .btn{
    cursor:pointer;
    width: 100%;
    background: #90C640;
    border-radius: 5px;
}

.popup .safety-menu .safety-menu-content .btn.active{
    background: #18732F;
}

.popup .safety-menu .safety-menu-content .btn img {
    width: 100%;
    object-fit: contain;
    margin : auto;
}
*/

/*#endregion*/

/*#region Instrument Monitoring*/

#instruments-monitoring {
    overflow: hidden;
    height: 90%;
    width: 90%;
    top :5%;
    left: 5%;

}

#instruments-monitoring .instruments-menu {
    position: relative;
    margin : 0;
    display: block;
    width: 100%;
    height: 100%;

}

#instruments-monitoring .instruments-header {
    width: auto;
    height: 60px;
    margin-bottom: 10px;
}

#instruments-monitoring .instruments-header img {
    height: 100%;
}

#instruments-monitoring .instruments-header img:nth-child(2) {
    float: right;
}

#instruments-monitoring .instruments-menu .instruments-background {
    float: right;
    width: calc(100% - 130px);
    max-height: 80%;
    overflow-y: auto;
}

#instruments-monitoring .instruments-menu .instruments-background img {
    width: 100%;
}

#instruments-monitoring .instruments-menu .instruments-content {
    float: left;
    width: 120px;
    height: 80%;
    overflow-y: auto;
    overflow-x: hidden;
}

#instruments-monitoring .instruments-menu .instruments-content .btn {
    width: 120px;
    background: #90C640;
    border-radius: 5px;
    margin-bottom: 5px;
}

#instruments-monitoring .instruments-menu .instruments-content .btn img {
    width: 100%;
    object-fit: contain;
    margin-top: 2px ;
}

#instruments-monitoring .instruments-menu .instruments-content .btn.active{
    background: #18732F;
}

#instruments-monitoring .instruments-close {
    position: relative;
    display: block;
    width: 120px;
    height: auto;
    margin-top: 5px;
    float: right;
}

#instruments-monitoring .instruments-close img {
    width: 100%;
}

/*#endregion*/

/*#region exit*/

#exit {
    overflow: hidden;
    height: 90%;
    width: 90%;
    top :5%;
    left: 5%;

}

#exit .exit-menu {
    position: relative;
    margin : 0;
    display: block;
    width: 100%;
    height: 100%;

}

#exit .exit-header {
    width: auto;
    height: 60px;
    margin-bottom: 10px;
}

#exit .exit-header img {
    height: 100%;
}

#exit .exit-header img:nth-child(2) {
    float: right;
}

#exit .exit-menu .exit-background {
    float: right;
    width: calc(100% - 200px);
    max-height: 80%;
    overflow-y: auto;
}

#exit .exit-menu .exit-background img {
    width: 100%;
}

#exit .exit-menu .exit-content {
    float: left;
    width: 180px;
    height: 80%;
    overflow-y: auto;
    overflow-x: hidden;
}

#exit .exit-menu .exit-content .btn{
    background: none;
    width: 180px;
    margin-bottom: 5px;
}

#exit .exit-menu .exit-content .btn img {
    width: 100%;
    object-fit: contain;
  /*  margin-top: 2px ;*/
}

#exit .exit-close {
    position: relative;
    display: block;
    width: 120px;
    height: auto;
    margin-top: 5px;
    float: right;
}

#exit .exit-close img {
    width: 100%;
}





/*#endregion*/

/*#region 4 set monitor */


.popup .map-menu{
    position: absolute;
    width: 90%;
    height: 90%;
    top: 5%;
    left: 5%;
    overflow: auto;
}

.popup .map-menu .map-background{
    position: absolute;
    width: 854px;
    height: 480px;
    top: calc(50% - 240px);
    left: calc(50% - 427px);
}

.popup .map-menu .menu-background-img {
    width: 100%;
    height: 100%;
}

.popup .map-menu .btn {
    position: absolute;
    cursor: pointer;
    width: 60px;
    height: 100px;
}

.popup .map-menu .btn:nth-child(1) {
    top: calc(50% - 30px);
    left: calc(50% - 330px);
    width: 80px;
    height: 80px;
}
.popup .map-menu .btn:nth-child(2) {
    top: calc(50% + 0px);
    left: calc(50% - 230px);
    width: 60px;
    height: 60px;
}
.popup .map-menu .btn:nth-child(3) {
    top: calc(50% + 80px);
    left: calc(50% - 200px);
    width: 90px;
    height: 70px;
}
.popup .map-menu .btn:nth-child(4) {
    top: calc(50% + 50px);
    left: calc(50% - 110px);
    width: 150px;
    height: 80px;
}
.popup .map-menu .btn:nth-child(5){
    top: calc(50% + 15px);
    left: calc(50% - 85px);
    width: 40px;
    height: 35px;
}
.popup .map-menu .btn:nth-child(6) {
    top: calc(50% - 35px);
    left: calc(50% - 120px);
    width: 90px;
    height: 40px;
}

.popup .map-menu .btn:nth-child(7) {
    top: calc(50% - 60px);
    left: calc(50% - 10px);
    width: 160px;
    height: 70px;
}

.popup .map-menu .btn:nth-child(8) {
    top: calc(50% - 130px);
    left: calc(50% + 30px);
    width: 60px;
    height: 70px;
}
.popup .map-menu .btn:nth-child(9)
{
    top: calc(50% - 215px);
    left: calc(50% + 190px);
    width: 50px;
    height: 50px;
}

.popup .four-monitor-contain {
    position: relative;
    margin : 0;
    display: block;
    width: 90%;
    height: 85%;
    top : 5%;
    left : 5%;
    overflow-y: auto;
    background: white;
    border-radius: 10px;
}

.popup .four-monitor-contain .four-monitor-header {
    width: auto;
    height: 60px;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.popup .four-monitor-contain .four-monitor-header img {
    height: 100%;
}

.popup .four-monitor-contain .four-monitor-header img:nth-child(2) {
    float: right;
}


.popup .four-monitor-contain .menu-background{
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    height: calc(100% - 300px);
    /*max-height: 70%;*/
    margin-top: 10px;
    margin-bottom: 20px;
}

.popup .four-monitor-contain .menu-background .menu-background-img {
    width: 100%;
    object-fit: contain;
    height: 100%;
}

.popup .four-monitor-contain video {
   /* margin-top: 10%;*/
    display: none;
    z-index: 1;
}

.popup .four-monitor-contain .content-sub-menu {
    position: relative;
    width: 100%;

    left: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;            /* ✅ 수직 중심 정렬 */
    justify-content: center;
    gap: 0px;
    top: 2.5%;
}

.popup .four-monitor-contain .content-sub-menu .btn {
    cursor:pointer;
    width: calc(25% - 20px);
    height: 30px;
   /*     width: 220px;*/
}


.popup .four-monitor-contain .content-sub-menu .btn img {
    width: 100%;
    object-fit: contain;
    max-height: 60px;
}


.popup .four-monitor-contain .content-map-menu {
    position: relative;
    width: 98%;
    left: 1%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;            /* ✅ 수직 중심 정렬 */
    justify-content: flex-start;
    gap: 5px;
    top: 10%;
}

.popup .four-monitor-contain .content-map-menu .btn {
    cursor:pointer;
  /*  width: 200px;*/
    height: 50px;
}

.popup .four-monitor-contain .content-map-menu .btn:nth-child(2),
.popup .four-monitor-contain .content-map-menu .btn:nth-child(5),
.popup .four-monitor-contain .content-map-menu .btn:nth-child(9)
{
  /*  width: 120px;*/
}

.popup .four-monitor-contain .content-map-menu .btn:nth-child(4) {
   /* width: 220px;*/
}

.popup .four-monitor-contain .content-map-menu .btn:nth-child(6),
.popup .four-monitor-contain .content-map-menu .btn:nth-child(8)
{
 /*   width: 140px;*/
}

.popup .four-monitor-contain .content-map-menu .btn:nth-child(7) {
  /*  width: 230px;*/
}

.popup .four-monitor-contain .content-map-menu .btn img {
    width: 100%;
    object-fit: contain;
    max-height: 40px;
    margin : auto;
}

/*#endregion*/

/*#region hologram*/
#hologram video {
    width: 100%;
    height: 100%;
    z-index: 1;
    transform: rotateY(180deg);
}

/*#endregion*/

/*#region Guest-book write*/

#guest-book-write {
    overflow: hidden;
    height: 90%;
    width: 90%;
    top :5%;
    left: 5%;

    background: white;
    border-radius: 10px;
}

#guest-book-write .guest-book-write-contain {
    position: relative;
    width: 100%;
    height: 100%;
    margin : 0;
}

#guest-book-write .write-area .area-title {
    position: absolute;
    margin-left: 10px;
    margin-top: 10px;
    height: 60px;
}

#guest-book-write .area-title img{
    height: 100%;
}

#guest-book-write .write-area {
    position: relative;
    float: left;
    width: 50%;
    height: 90%;
    border-radius: 10px;
}

#guest-book-write .preview-note {
    position: relative;
    float: right;
    width: 50%;
    height: 90%;
    max-height: 90%;
}

#guest-book-write .write-area .memo-shape {
    justify-content: center;
    display: flex;
    margin-top:30px;
    gap: 10px;
    align-items: center;
}

#guest-book-write .write-area .shape-btn {
    width: 60px;
    height: 60px;
    cursor: pointer;
}

#guest-book-write .write-area .shape-btn img {
    width: 100%;
}

#guest-book-write .write-area .color-palette {
    justify-content: center;
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top:30px;
}

#guest-book-write .write-area .color-palette .color-btn {
    width: 60px;
    height: 60px;
    cursor: pointer;
    border-radius: 10px;

}

#guest-book-write .write-area .color-palette .color-btn:nth-child(1) {
    background: #FF5050;
}
#guest-book-write .write-area .color-palette .color-btn:nth-child(2) {
    background: #8ED973;

}
#guest-book-write .write-area .color-palette .color-btn:nth-child(3) {
    background: #A6CAEC;
}
#guest-book-write .write-area .color-palette .color-btn:nth-child(4) {
    background: #FCB6F4;
}
#guest-book-write .write-area .color-palette .color-btn:nth-child(5) {
    background: #D9D9D9;
}

#guest-book-write .preview-note .write-area-background {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;

}

#guest-book-write .write-area .write-area-input {

    margin-top: clamp(20px, 25%, 200px);;
    margin-left : 15%;
    width: 70%;
    height: 30%;
    overflow: hidden;
}

#guest-book-write .write-area .send-btn {
    position: absolute;
    top:0;
    right:0;
    width: 60px;
}

#guest-book-write .write-area .send-btn img {
   width: 100%;
}


#guest-book-write .write-area .write-area-input textarea {
    font-size: 100%;
    width: 100%;
    height: 42%;
    resize: none;
    font-family: 'Noto Sans', sans-serif;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    overflow: hidden;
}

#guest-book-write .preview-note .write-area-input textarea {
    position: absolute;
    background: none;
    border: none;
    width: 50%;
    max-width: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100%;
    text-align: center;
    overflow: hidden;
    resize: none;
    -webkit-user-drag: none;
    pointer-events: none;
    user-select: none;
    font-family: 'Noto Sans', sans-serif;
}

#guest-book-write .preview-note .write-area-input textarea:focus {
    border: none;
    outline: none;
}


#guest-book-write .preview-note .write-area-background img {
   position: relative;
    width: 50%;
    top: 50%;
    left: 50%;
    max-width: 400px;
    transform: translate(-50%, -50%);
}

#guest-book-write .btn-container {
    margin-top: 5px;
    float: right;
    display: flex;
    gap: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

#guest-book-write .btn-container .btn{
    width: 120px;
    height: auto;
    cursor: pointer;
}

#guest-book-write .btn-container img {
    width: 100%;
}

/*#guest-book-write .write-area {
    position: absolute;
    width: 90%;
    height: 90%;
    top:5%;
    left: 5%;
}

#guest-book-write .write-area .write-area-input {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); !* ✅ 정중앙 위치 *!
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1rem;
    width: 45%;
}

#guest-book-write .write-area .write-area-input textarea {
    background: none;
    border: none;
    width: 100%;
    font-size: 5vw;
    text-align: center;
    overflow: hidden;
    resize: none;
}

#guest-book-write .write-area .write-area-input textarea:focus {
    border: none;
    outline: none;
}

#guest-book-write .write-area .write-area-background {
    position: absolute;
    width: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: auto;
}

#guest-book-write .write-area img {
    width: 100%;
    height: auto;
    object-fit: contain;
}


#guest-book-write .send-btn {
    position: relative;
    display: block;
    width: 60px;
    height: auto;
    float: right;
}

#guest-book-write .send-btn img {
    width: 100%;
}


#guest-book-write .guest-book-write-close {
    position: relative;
    display: block;
    width: 120px;
    height: auto;
    margin-top: 5px;
    float: right;
}


#guest-book-write .guest-book-write-close img {
    width: 100%;
}
*/

/*#endregion*/

/*#region Guest-book read*/


#guest-book-read {
    overflow: hidden;
    height: 90%;
    width: 90%;
    top :5%;
    left: 5%;

  /*  background: white;
    border-radius: 10px;*/
}


#guest-book-read .guest-book-read-contain {
    position: relative;
    width: 100%;
    height: 100%;
    margin : 0;
}

#guest-book-read .guest-book-read-contain .read-area {
    position: relative;
    float: left;
    width: 100%;
    height: 90%;
    border-radius: 10px;
}

#guest-book-read .guest-book-read-contain .read-area .area-title {
    position: absolute;
    margin-left: 10px;
    margin-top: 10px;
    height: 60px;
}

#guest-book-read .guest-book-read-contain .read-area .area-title img{
    height: 100%;
}

#guest-book-read .guest-book-read-contain .read-area .read-area-background {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;

}

#guest-book-read .guest-book-read-contain .read-area .read-area-background img {
    position: relative;
    width: 50%;
    top: 50%;
    left: 50%;
    max-width: 400px;
    transform: translate(-50%, -50%);
}

#guest-book-read .guest-book-read-contain .read-area .read-area-text textarea {
    position: absolute;
    background: none;
    border: none;
    width: 50%;
    max-width: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100%;
    text-align: center;
    overflow: hidden;
    resize: none;
    -webkit-user-drag: none;
    pointer-events: none;
    user-select: none;
    font-family: 'Noto Sans', sans-serif;
}

#guest-book-read .guest-book-read-contain .read-area .read-area-text textarea:focus {
    border: none;
    outline: none;
}

#guest-book-read .guest-book-read-close{
    margin-top: 5px;
    float: right;
    margin-right: 10px;
    margin-bottom: 10px;
    width: 120px;
    height: auto;
    cursor: pointer;
}

#guest-book-read .guest-book-read-close img {
    width: 100%;
}


/*#endregion*/

.warning-msg {
    position: absolute;
    right: 3px;
    bottom: 3px;
    font-size: 15px;
    color: white;
}

#tbm video {
    display: block;
    width: 100%;
    height: 100%;
}

.scroll-area {
    background: transparent;
    scrollbar-width: none;       /* Firefox */
    -ms-overflow-style: none;    /* IE */
}

.scroll-area::-webkit-scrollbar {
    display: none;               /* Chrome, Safari */
}
/* 세로가 더 긴 화면일 때 */
@media (aspect-ratio < 1/1) {

    .popup .menu-background .menu-background-img {
        width: 85%;
    }

    .popup .seven-monitor-contain .menu-background .menu-background-img {
        height: 100%;
        width: auto;
    }


    .popup .menu-btn-container {
        height: 100%;
        top: 0%;
        left: 0%;

        transform: translate(0%, 0%);
        width: auto;
    }

    .popup .menu-btn-container .btn{
        width: 100%;
    }


    #guest-book-write {
        overflow-x: hidden;
        overflow-y: auto;
    }

    #guest-book-write .write-area {
        width: 100%;
        height: 50%;
    }

    #guest-book-write .write-area .write-area-input {
        margin-top : 100px;
    }

    #guest-book-write .preview-note {
        width: 100%;
        height: 50%;
    }

}
/* 가로가 더 긴 화면일 때 */
@media (aspect-ratio >= 1/1) {

    .popup .menu-background .menu-background-img {
        width: 85%;
        height: auto;
    }
    .popup .seven-monitor-contain .menu-background .menu-background-img {
        width: 85%;
        height: auto;
    }

    .popup .menu-btn-container {
        margin: 0;
    }
}

@media (pointer: coarse) {

    /*
    .popup .safety-menu .safety-menu-content .btn{
        width: 50px;
    }

    .popup .safety-menu {
        overflow: scroll;
    }

    .popup .safety-menu .safety-background {
        width: 65%;
        left: 17.5%;
        margin-bottom: 10px;
    }

    .popup .safety-menu .safety-menu-content {
        width: 65%;
        left: 17.5%;
        gap: 10px;
    }

    .popup .safety-menu .safety-menu-content .btn{
       width: 70px;
    }
    */

    .popup .map-menu .map-background {
        left: 0;
        top:0;
    }

    .popup .map-menu .btn:nth-child(1) {
        left: 93px;
        top: 210px;
    }

    .popup .map-menu .btn:nth-child(2) {
        left: 193px;
        top: 240px;
    }

    .popup .map-menu .btn:nth-child(3) {
        left: 227px;
        top: 320px;
    }

    .popup .map-menu .btn:nth-child(4) {
        left: 317px;
        top: 290px;
    }

    .popup .map-menu .btn:nth-child(5) {
        left: 342px;
        top: 255px;
    }

    .popup .map-menu .btn:nth-child(6) {
        left: 307px;
        top: 205px;
    }

    .popup .map-menu .btn:nth-child(7) {
        left: 417px;
        top: 180px;
    }

    .popup .map-menu .btn:nth-child(8) {
        left: 457px;
        top: 110px;
    }
    .popup .map-menu .btn:nth-child(9) {
        left: 617px;
        top: 25px;
    }

    .popup .four-monitor-contain .four-monitor-header {
        height: 30px;
    }
    .popup .four-monitor-contain {
        width: 90%;
        top : 0%;
        left: 5%;
        border-radius: 0;
    }

    .popup .four-monitor-contain .content-map-menu .btn {
        height: 20px;
    }

    .popup .four-monitor-contain .content-map-menu .btn img {
        height: 100%;
    }


    .popup .four-monitor-contain video {
       /* margin-top: 50px;*/
    }


    .popup .four-monitor-contain .menu-background{
        height: calc(100% - 150px);
        margin-bottom: 10px;
    }

    .popup .four-monitor-contain .content-sub-menu {
        top:0%;
        margin-bottom: 10px;
    }

    .popup .four-monitor-contain .content-sub-menu .btn img {
        max-height: 30px;
    }

    .popup .four-monitor-contain .content-map-menu {
        top:0%;
    }

    /*#region Safety*/
    #safety-corner {
        height: 100%;
    }

    #safety-corner .safety-header {
        height: 40px;
    }

    #safety-corner .safety-menu .safety-background {
        float: right;
        width: calc(98% - 22.1vw);
    }

    #safety-corner .safety-menu .safety-menu-content {
        float: left;
        width: 22vw;
    }

    #safety-corner .safety-menu .safety-menu-content .btn {
        width: 20vw;
        background: #90C640;
        margin-bottom: 5px;
        margin-right: 5px;
    }
    #safety-corner .safety-close {
       width: 70px;
    }
    /*#endregion*/

    /*#region Instruments*/
    #instruments-monitoring {
        height: 100%;
    }

    #instruments-monitoring .instruments-header {
        height: 40px;
    }

    #instruments-monitoring .instruments-menu .instruments-background {
        float: right;
        width: calc(98% - 22.1vw);
    }

    #instruments-monitoring .instruments-menu .instruments-content {
        float: left;
        width: 22vw;
    }

    #instruments-monitoring .instruments-menu .instruments-content .btn {
        width: 20vw;
        background: #90C640;
        margin-bottom: 5px;
        margin-right: 5px;
    }
    #instruments-monitoring .instruments-close {
        width: 70px;
    }
    /*#endregion*/

    /*#region EXIT*/
    #exit {
        height: 100%;
    }

    #exit .exit-header {
        height: 40px;
    }

    #exit .exit-menu .exit-background {
        float: right;
        width: calc(98% - 22.1vw);
    }

    #exit .exit-menu .exit-content {
        float: left;
        width: 22vw;
    }

    #exit .exit-menu .exit-content .btn {
        width: 20vw;
        margin-bottom: 5px;
        margin-right: 5px;
    }
    #exit .exit-close {
        width: 70px;
    }
    /*#endregion*/


    #guest-book-write .write-area .area-title {
        height: 30px;
    }


    #guest-book-write .guest-book-write-contain .write-area-input {
        margin-top: 60px;
    }

    #guest-book-write .preview-note {
        height: 80%;
        max-height: 80%;
    }

    #guest-book-read .guest-book-read-contain .read-area .area-title {
        height: 30px;
    }

    #guest-book-read .guest-book-read-contain .read-area {
        height: 80%;
        max-height: 80%;
    }

    #guest-book-read .guest-book-read-contain .read-area .read-area-background img {
        max-width: 200px;
    }

    #guest-book-read .guest-book-read-contain .read-area .read-area-text textarea {
        max-width: 200px;
    }


    .popup .left-photo {
        width: 60px;
        height: 60px;
    }

    .popup .right-photo {
        width: 60px;
        height: 60px;
    }

    .warning-msg {
        font-size: 10px;
    }
}

/* 세로가 더 긴 화면일 때 */

@media (pointer: coarse) and (aspect-ratio < 1/1) {
   /* .popup {
        transform : rotate(-90deg);
        transform-origin: left top;
        width: 100vh;
        height: 85vw;
        top: 100%;
        left : 3.75%;
    }*/

 /*   .popup .close {
        width: 120px;
        height: 120px;
        bottom: 60px;
        right: 60px;
    }
*/

    .popup .menu-btn-container {
        top: 0%;
        left: 10%;
        width: 50%;
        transform: translate(0%, 0%);
    }

    .popup .four-monitor-contain {
        width: 90%;
        top : 15%;
        height: 70%;
        left: 5%;
        border-radius: 0;
    }

    /*#region Safety*/
    #safety-corner .safety-header {
        height: 40px;
    }

    #safety-corner .safety-menu {
        width: 100%;
    }

    #safety-corner .safety-menu .safety-menu-content{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        height: auto;
        gap: 5px;
        margin-bottom: 5px;
    }

    #safety-corner .safety-menu .safety-menu-content .btn {
        width: 80px;
        height: auto;
        margin: 0;
    }

    #safety-corner .safety-menu .safety-background{
        width: 100%;
    }

    #safety-corner .safety-menu-content .btn img {
        width: 100%;
        object-fit: contain;
    }

    #safety-corner .safety-close {
        position: relative;
        right: 0;
    }

    /*#endregion*/

    /*#region Instruments*/
    #instruments-monitoring .instruments-header {
        height: 40px;
    }

    #instruments-monitoring .instruments-menu {
        width: 100%;
    }

    #instruments-monitoring .instruments-menu .instruments-content{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        height: auto;
        gap: 5px;
        margin-bottom: 5px;
    }

    #instruments-monitoring .instruments-menu .instruments-content .btn {
        width: 80px;
        height: auto;
        margin: 0;
    }

    #instruments-monitoring .instruments-menu .instruments-background{
        width: 100%;
    }

    #instruments-monitoring .instruments-content .btn img {
        width: 100%;
        object-fit: contain;
    }

    #instruments-monitoring .instruments-close {
        position: relative;
        right: 0;
    }

    /*#endregion*/

    /*#region EXIT*/
    #exit .exit-header {
        height: 40px;
    }

    #exit .exit-menu {
        width: 100%;
    }

    #exit .exit-menu .exit-content{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        height: auto;
        gap: 5px;
        margin-bottom: 5px;
    }

    #exit .exit-menu .exit-content .btn {
        width: 80px;
        height: auto;
        margin: 0;
    }

    #exit .exit-menu .exit-background{
        width: 100%;
    }

    #exit .exit-menu .exit-content .btn img {
        width: 100%;
        object-fit: contain;
    }

    #exit .exit-close {
        position: relative;
        right: 0;
    }

    /*#endregion*/

    /*
    .popup .safety-menu .safety-background {
        width: 100%;
        left: 0%;
        top:30%;
        margin-bottom: 10px;

    }

    .popup .safety-menu .safety-menu-content {
        width: 100%;
        left: 0%;
        top:30%;
        gap: 5px;
    }

    */

    .popup .four-monitor-contain .menu-background {
        height: 50%;
    }


    #guest-book-write .write-area {
        width: 100%;
        height: 50%;
    }

    #guest-book-write .write-area .write-area-input {
        margin-top : 100px;
    }

    #guest-book-write .preview-note {
        width: 100%;
        height: 40%;
    }
}

@media (pointer: coarse) and (aspect-ratio < 1/1) and (max-width : 480px) {
    .popup .four-monitor-contain .content-map-menu {
        align-items: stretch;
    }
}

.viewer .scene {
    transition: none !important;
    opacity: 1 !important;
}

.black-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    pointer-events: none;
}

.black-container .black-left,
.black-container .black-right {
    position: absolute;
    top: 0;
    width: 50vw;
    height: 100%;
    background: black;
    transition: transform 3s ease-out;
}

.black-container .black-left {
    left: 0;
}

.black-container .black-right {
    right: 0;
}


.black-container.active .black-left {
    transform: translateX(-100%);
}

.black-container.active .black-right {
    transform: translateX(100%);
}

