@charset "utf-8";

.m-tab {
    display: none;
}

.top-bt{
    display: none;
}

@media (max-width: 1900px) {

    nav {
        display: none;
    }

    header {
        justify-content: space-between;
    }

    .tab {
        padding-right: 0;
    }

    .tab-box {
        display: none !important;
    }

    .sub-menu {
        display: none !important;
    }

    .logo {
        padding: 0;
    }

    .breadcrumb {
        right: 40px;
    }

    .m-tab {
        display: none;
        position: fixed;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        left: 0;
        top: 0;
        z-index: 999;
    }

    .sidemenu {
        background: #fff;
        width: 260px;
        height: 100%;
        overflow-y: auto;
        padding: 20px;
        /* 슬라이드 애니메이션 */
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }


    /* 메뉴 오픈 상태 */
    .m-tab.active {
        display: block;
    }

    .m-tab.active .sidemenu {
        transform: translateX(0);
    }

    .menu-header .logo {
        width: 140px;
    }

    .menu-header button {
        margin-top: 7px;
    }

    .sidemenu h3 {
        border-top: 1px solid #e0ddde;
        font-size: 20px;
        padding-top: 20px;
        padding-bottom: 10px;
        margin-top: 10px;
    }


    .sidemenu h4 {
        font-size: 16px;
        line-height: 37px;
        font-weight: normal;
        margin-top: 10px;
    }

    .sidemenu li {
        font-size: 14px;
        color: #7d7d7d;
        padding-left: 10px;
        line-height: 35px;
    }

    .sidemenu .exp li {
        font-size: 16px;
        line-height: 37px;
        color: #000;
        padding-left: 0;
    }

.top-bt{
    width: 54px;
    height: 54px;
    position: fixed;
    background: #4c4c4c;
    border-radius: 50%;
    z-index: 100;
    right: 5%;
    bottom: 30%;
    text-align: center;
}

.top-bt img{
    margin-top: 2px;
}

}

@media (max-width: 1200px) {

    header {
        padding: 0 20px;
        height: 60px;
    }

    .logo img {
        width: 150px;
    }

    .tab-bt img {
        width: 20px;
    }


    .search-bar {
        margin: 15px 20px 20px 20px;
    }

    .search-bar input {
        width: 460px;
        height: 40px;
        padding: 17px 37px;
    }

    .search-bar button {
        width: 40px;
        height: 40px;
    }

    .search-bar button img {
        width: 100%;
        height: 100%;
    }

    .menu-grid {
        gap: 25px;
        margin-bottom: 25px;
    }

    .menu-item {
        width: 117px;
        height: 117px;
        padding: 26px 10px;
    }

    .menu-item img {
        width: 40px;
        height: 40px;
    }

    .banner.sub {
        height: 40px;
    }

    .breadcrumb {
        right: unset;
        left: 20px;
        font-size: 14px;
    }

    .breadcrumb img {
        width: 20px;
    }

    .breadcrumb .arrow {
        margin: 0 10px;
    }

    .search-bar.sub {
        margin: 40px 20px;
    }

    .menu-grid.sub {
        width: 100%;
        padding: 0 20px;
    }

    .menu-grid.sub .menu-item span {
        font-size: 16px;
    }

    .menu-grid.sub .menu-item {
        width: 177px;
        height: 66px;
    }

    .bg5 {
        background: unset;
        margin-bottom: 60px;
    }

    .search-bar.sub input {
        width: calc(100% - 55px);
    }

}

@media (max-width: 960px) {
    .banner {
        background: url(../img/bg1t.png) center no-repeat;
        height: 170px;
        background-size: cover;
    }
}

@media (max-width: 720px) {

    .banner {
        object-fit: cover;
        background-size: auto;
    }

    .menu-grid {
        padding: 0 20px;
    }

    .search-bar input {
        padding: 17px 10px;
        width: calc(100% - 55px);
    }

    .footer-top {
        flex-wrap: wrap;
        padding: 7px 20px 15px;
    }

    .footer-top select {
        width: calc(100% - 50px);
        margin-left: 0;
    }

    .menu-grid.sub .menu-item {
        width: 143px;
        height: 53px;
        padding: 19px 10px;
    }



}


@media (max-width: 420px) {
    .banner {
        background: url(../img/bg1m.png) center no-repeat;
        height: 170px;
        background-size: cover;
    }

    .sort-wrap{
        width: 100%;
        margin-top: 15px;
    }

    .result-count{
        padding-bottom: 40px;
    }
}