#hd{
    position: fixed;
    top: 0;
    left: 0;
    height: 80px;
    width: 100%;
    text-align: center;
    z-index: 1000;
}

#hd .btn-menu,
#hd .func,
#logo{
    z-index: 10;
}

#logo img{
    width: 200px;
}

#hd .btn-menu{
    width: 100px;
    height: 100%;
    background: #000;
    color: #fff;
    text-align: center;
    line-height: 80px;
    padding-top: 0 !important;
    cursor: pointer;
    visibility: collapse;
}

#hd .func{
    text-align: center;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    font-size: 11px;
    font-family: 'Montserrat', sans-serif;
    width: 100px;
}

#hd .func a{
    position: absolute;
    width: 100%;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

#hd .func i{
    margin-bottom: 3px;
    display: block;
}

#logo{
    position: absolute;
    left: 50%;
    top: 5px;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
}

#wrap.sub .contents{
    padding-left: 0 !important;
}

#wrap.room .roomview .js_row.no04,
#wrap.about .js_row.no04{
    margin: auto !important;
    max-width: 1658px;
}


/* 큰 기기들 (큰 데스크탑, 1200px 이상) */
@media (min-width: 1600px) {
    #gnb{
        position: absolute;
        top: 0;
        margin: auto;
        padding: 0 60px;
        width: 100%;
        text-align: center;
        background: none;
    }

    #gnb #gnb_1dul{
        max-width: 1658px;
        display: inline-block;
        margin-left: 100px;
        /* padding-top: 45px; */
        line-height: 80px;
    }

    #gnb .gnb_1dli{
        height: 80px;
        padding: 0 40px;
        float: left;
        position: relative;
    }

    #gnb .gnb_1dli.no2{
        margin-right: 300px;
    }

    #gnb .gnb_1da{
        font-size: 14px;
        transition: 0.5s ease;
        -webkit-transition: 0.5s ease;
    }

    #hd.down #gnb .gnb_1da{
        font-size: 12px;
    }

    #hd.down #gnb .gnb_2dul{
        font-size: 12px;
    }

    #gnb .gnb_2dul{
        position: absolute;
        top: 0;
        text-align: left;
        width: 200px;
        left: 0;
        padding: 20px 15px 40px 40px;
        visibility: collapse;
        opacity: 0;
        transition: 0.5s ease;
        -webkit-transition: 0.5s ease;
        background-color: rgba(31, 31, 31, 0.80);
    }

    #gnb .gnb_1dli:hover .gnb_2dul{
        opacity: 1;
        visibility: visible;
        top: 60px;
    }

    #gnb .gnb_2dul li{
        margin-bottom: 3px;
        line-height: 1.4;
    }

    #hd.down {
        height: 60px;
    }

    #hd.down #gnb .gnb_1dli,
    #hd.down .btn-menu{
        line-height: 60px;
    }

    #hd.down #gnb #gnb_1dul{
        padding-top: 0
    }

    #hd.down #logo img{
        width: 130px;
    }

    #hd,
    #hd #gnb .gnb_1dli,
    #hd .btn-menu,
    #hd #gnb #gnb_1dul,
    #hd #logo img{
        transition: 0.5s ease;
        -webkit-transition: 0.5s ease;
    }
}

@media (max-width: 1599px) {
    #hd{
        height: 100px;
    }

    #hd .btn-menu{
        visibility: visible;
        line-height: 100px;
    }

    #logo img{
        width: 240px;
    }

    #gnb{
        padding: 250px 90px 20px 70px;
        position: fixed;
        left: -500px;
        transition: 0.5s ease;
        -webkit-transition: 0.5s ease;
        top: 0;
        bottom: 0;
        text-align: left;
        z-index: -1;
    }

    #gnb .gnb_1dli{
        margin-bottom: 30px;
    }

    #gnb .gnb_1da{
        font-family: 'Heebo', sans-serif;
        font-size: 19px;
        margin-bottom: 30px;
        font-weight: bold;
    }

    #gnb .gnb_2dul{
        font-size: 14px;
        font-family: 'Noto Sans KR', sans-serif;
        padding-left: 10px;
        max-height: 0;
        transition: 0.5s ease;
        -webkit-transition: 0.5s ease;
        overflow: hidden;
    }

    #gnb .gnb_1dli:hover .gnb_2dul{
        max-height: 1000px;
        padding-top: 30px;
    }

    #hd.on #gnb{
        left: 0;
    }
}

@media (max-width: 992px) {

}

@media (max-width: 768px) {
    #logo img{
        width: 130px;
    }

    #hd .btn-menu{
        line-height: 65px;
        width: 70px;
        font-size: 14px;
    }

    #hd_wrapper .func a{
        margin-top: 0 !important;
    }

    #gnb {
        padding: 100px 20px 20px 40px;
    }
}

@media (max-width: 520px) {

}
