.nav2{
    position: relative;
    z-index: 99;
    width: 100%;
    background: #ffffff;
    font-weight: 500;
}
.nav2 .wrapper{
    position: relative;
    max-width: 95%;
    padding: 0px 0;
    height: 100px;
    line-height: 100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.wrapper .nav-links{
    display: inline-flex;
    margin: 0 auto;
}
.nav-links li{
    list-style: none;
}
.nav-links li > a{
    color: #181818;
    text-decoration: none;
    font-size: 18px;
    line-height: 100px;
    display: block;
    padding: 0 25px;
}
.nav-links li > a:hover{
    background: #d12523;
    color: #ffffff;
}
.nav-links li:hover > a,
.nav-links li:has(.drop-menu:hover) > a {
    background: #d12523;
    color: #ffffff;
}
.nav-links .mobile-item{
    display: none;
}
.nav-links .drop-menu{
    position: absolute;
    background: #d12523;
    min-width: 180px;
    top: 100px;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}
.nav-links li:hover .drop-menu
{
    transition: all 0.3s ease;
    top: 100px;
    opacity: 1;
    visibility: visible;
}
.drop-menu li a{
    width: 100%;
    display: block;
    padding: 0 20px;
    color: #ffffff;
    font-weight: normal;
    line-height: 50px;
    font-size: 16px;
}
.drop-menu li a:hover{
    background: #b01917 !important;
}
.wrapper .btn{
    color: #181818;
    font-size: 40px;
    cursor: pointer;
    display: none;
    font-weight: 500;
}
.wrapper .btn.close-btn{
    position: absolute;
    right: 30px;
    font-size: 25px !important;
    top: 10px;
    color: #ffffff;
}
.mobile-logo {
    display: none;
}
.desktop-item::after{
    padding-left: 4px;
    content: ' ▾';
    transition: transform 0.3s ease;
    display: inline-block;
}
.nav-links > li:hover > .desktop-item::after {
    content: '▴';
}

.bt_brop{position: absolute; right: 0; top: 30px; background:#d12523; color: #ffffff; font-size: 16px; line-height: 40px; width: 150px; text-align: center; border-radius: 20px;}
.bt_brop img{margin:0 0 5px 2px;}
.bt_brom{background: #d12523; display: none;}
.bt_brom a{color:#ffffff !important;}
.bt_brom a:hover{ background: #b01917 !important;}
.cal{display: none; z-index: 9999 !important;}
@media screen and (max-width: 1144px) {
    .nav2 .wrapper{height: 80px;}
    .bt_brom{display: block;}
    .bt_brop{display: none;}
    .logo img{width: 80%; height: auto;}

    .mobile-item::after{
        padding-left: 4px;
        content: ' ▾';
    }
    .nav2{padding: 0 20px;}
    .mobile-logo {
        display: inline-block;
        position: absolute;
        padding: 0;
        top: 20px;
        left: 20px;
    }
    .mobile-logo img{
        width: 80%;
        height: auto;
    }
    .wrapper .btn{
        display: block;
    }
    .wrapper .nav-links{
        position: fixed;
        height: 100vh;
        width: 100%;
        max-width: 320px;
        top: 0;
        left: -100%;
        background: #bf1d1b;
        display: block;
        padding: 50px 0;
        line-height: 60px;
        overflow-y: auto;
        box-shadow: 0px 15px 15px rgba(0,0,0,0.18);
        transition: all 0.3s ease;
    }
    #menu-btn:checked ~ .nav-links{
        left: 0%;
    }
    #menu-btn:checked ~ .btn.menu-btn{
        /*display: none;*/
    }
    #close-btn:checked ~ .btn.menu-btn{
        display: block;
    }
    .nav-links li{
        /*margin-top: 15px;*/
    }
    .nav-links li > a{
        padding: 0 20px;
        display: block;
        font-size: 18px;
        line-height: 60px;
        color: #ffffff;
    }
    .nav-links li > a:hover{
        background: #d12523;
    }
    .nav-links .drop-menu{
        position: static;
        opacity: 1;
        top: 65px;
        visibility: visible;
        width: 100%;
        max-height: 0px;
        overflow: hidden;
        box-shadow: none;
        background: #b01719;
        transition: max-height 0.4s ease; /* 슬라이딩 효과 추가 */
    }
    #showDrop:checked ~ .drop-menu,
    #showDrop02:checked ~ .drop-menu,
    #showDrop03:checked ~ .drop-menu,
    #showDrop04:checked ~ .drop-menu{
        max-height: 500px;
    }
    .nav-links .desktop-item{
        display: none;
    }
    .nav-links .mobile-itemf{
        margin-top: 40px;
    }
    .nav-links .mobile-item{
        display: block;
        color: #f2f2f2;
        font-size: 18px;
        padding-left: 20px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    .nav-links .mobile-item:hover{
        background: #b01719;
    }
    .drop-menu li{
        margin: 0;
    }
    .drop-menu li a{
        font-size: 14px;
        line-height: 40px;
        font-weight: normal !important;
    }
    .drop-menu li a:hover{
        text-decoration: underline;
    }
    .cal{
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: block;
        position: fixed;
        bottom: 20px;
        right: 15px;
        z-index: 99999  !important;
        background: #d12523;
        opacity: 0.8;
    }
}
.nav2 input{
    display: none;
}
