@media (max-width: 640px) {
    .top_con{
        min-width: auto;
        width: 100%;
        padding: 0 20px;
        height: 56px;
        border-bottom: var(--main_border);
        justify-content: space-between;
    }
    .inner{
        width: 100%;
        padding: 0 20px;
    }
    #wrap #header{
        position: fixed;
        top: 0;
        right: 0;
        height: 100%;
        width: 100%;
        z-index: -1;
        transition: all .2s;
    }
    #wrap #header.open{
        z-index: 9;
        margin-right: 0;
    }
    #wrap #header .hd_wrap{
        background: #fff;
        position: absolute;
        z-index: 99;
        width: 438px;
        top: 0;
        height: 100%;
        border-radius: 0;
        border: 0;
        right: -600px;
        transition: ease-in-out .3s;
    }
    #wrap #header.open .hd_wrap{
        right: 0;
    }
    #wrap #header.open::before{
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: #00000099;
    }
    #header .hd_wrap .gnb{padding: 0;}
    

    #header .hd_wrap .gnb .nav_tit.main{
        padding: 16px 30px; 
        border-bottom: var(--main_border);
    }

    .top_con h1{margin-right: 0; flex-grow: 2;}
    .top_con .menu_btn{
        display: block;
        margin-left: 24px;
        min-width: 24px;
    }
    .search_wrap{max-width: 240px; height: 36px;}
    .search_wrap button {
        background: var(--dark_blue) url(/asset/img/common/ico_search.png) no-repeat center;
        min-width: auto;
    }
    .search_wrap button span{display: none;}
    .search_wrap .search_select{display: none;}
    #container.contents{
        width: 100%;
    
    }
    .hot_cont{
        margin-top: 30px;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
    }
    .hot_cont .hc_inner{
        min-width: 1150px;
        width: auto;        
    }
    .main_cont .best_list li .site_tit{order: 2; word-break: keep-all; margin-left: 10px; justify-content: end; flex: 1;}
    .main_cont .best_list li a{padding: 3px 0;}
    .main_cont .best_list_thumb {line-height: 1; margin-right: 25px;}
    .main_cont .best_list_thumb img{width: 52px; height: 35px; max-width: unset;}
    
    .contents .main_cont{
        flex-wrap: wrap;
        max-height: unset;
        height: auto;
    }
    .main_cont .tab_container{
        width: 100%;
        min-height: 600px;
        margin-bottom: 30px;
    }
    .main_cont .tab_container .tabs li a{font-size: 15px !important;}
    .main_cont .box_cont{
        width: 100%; 
        flex-wrap: wrap; 
        position: relative;
    }
    .main_cont .box_cont .item{
        height: auto; 
        height: 182px; 
        width: calc(65% - 15px);
    }
    .main_cont .box_cont .item:first-child{margin-bottom: 30px;}
    .main_cont .box_cont .item:last-child{
        position: absolute;
        right: 0;
        top: 0;
        height: auto;
        width: calc(35% - 15px);
    }

    .main_cont .box_cont .swiper-slide{min-height: 182px;}
    .main_cont .box_cont .swiper-slide a{
        width: 100%;
        height: 100%;
    }
    .main_cont .box_cont .item .swiper .img_wrap::after{
        transform: translate(-50%, -50%);
    }
    .main_cont .box_cont .item .swiper .img_wrap{
        width: 100%;
        height: 182px;
    }
    .main_cont .box_cont .item .swiper .img_wrap img,
    .main_cont .box_cont .item:nth-child(2) a,
    .main_cont .box_cont .item:nth-child(2) a img{
        width: 100%;
        height: 100%;
    }
    .main_cont .box_cont .trend_body ul{
        flex-direction: column;
        justify-content: center;
        padding: 0 12px;

    }
    .main_cont .box_cont .trend_body li{
        width: 100%;
        margin-right: 0;
        max-width: unset;
    }
    .main_cont .box_cont .trend_body li a{
        line-height: 1;
        padding: 13px 0;
        margin-bottom: 16px;
    }
    .main_cont .box_cont .trend_body li:nth-child(5) a{
        margin-bottom: 16px;
    }

    #container .tb_wrap{margin-top: 30px;}
    .tb_wrap .tb_type1 .tbody a{flex-wrap: wrap; padding: 10px 0;}
    .tb_wrap .tb_type1 .mb_ico_pic{
        margin-left: 10px; 
        line-height: 1;
        width: 17px;
        height: 14px;
        background: transparent url(/asset/img/mb_ico_pic.png) no-repeat center;
    }
    .tb_wrap .tb_type1 .thead .writer,
    .tb_wrap .tb_type1 .thead .date,
    .tb_wrap .tb_type1 .thead .views{display: none;}
    .tb_wrap .tb_type1 .website{width: 26%;}
    .tb_wrap .tb_type1 .title {width: 74%;}
    .tb_wrap .tb_type1 .td:nth-child(n+3){
        width: auto; 
        padding-right: 20px; 
        margin-top: 8px; 
        color: var(--grey); 
        position: relative;
        font-size: 12px;
    }
    .tb_wrap .tb_type1 .td:nth-child(n+3)::after{
        content: '';
        position: absolute;
        width: 1px; 
        height: 10px; 
        background: var(--grey); 
        top: 50%; 
        right: 10px; 
        transform: translate(0, -50%);
    }
    .tb_wrap .tb_type1 .td:last-child::after{display: none;}
    .tb_wrap .tb_type1 .td.writer{margin-left: 26%;width: 15%;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
    .pc_hide{display: block !important;}
    .tb_wrap .tb_type1 .tb_thumb_img{display: none;}
    .bottom_con{display: none;}
    .btn_wrap{margin: 25px 0;}

    .view_wrap {margin-top: 30px;}
    .tb_wrap .tb_type1 .td.views{display: inline-flex; align-items: center;}
    

    #footer .inner{padding: 46px 0px;}
    #footer .ft_link{flex-wrap: wrap;}
    #footer .ft_link li{padding: 0 24px;}
    #footer .ft_link li::after{background: #d9d9d9;}
    #footer .ft_info_wrap{width: 100%;}
    #footer .ft_info{flex-direction: column;}
    #footer .ft_info li{padding: 0 12px;}
    #footer .ft_info li::after{display: none;}
    #footer .ft_link .darkmode_btn{margin-top: 20px;}
    
    .pop_cont .pop_box{
        width: calc(100% - 60px);
    }
    .pop_cont .pop_box .pop_tit{font-size: 16px;}
    .pop_cont .pop_box .inp_cont .inp_wrap{width: 100%;}
    .pop_cont .pop_box .inp_cont select,
    .pop_cont .pop_box .inp_cont .inp_wrap input{
        min-width: unset;
        width: 100%;
    }
    .pop_cont .pop_box .inp_cont .flex.as{
        flex-direction: column;
    }
    .pop_cont .pop_box.notice .pop_con_inner{
        padding: 25px 0;
    }
    .pop_cont .pop_box.notice .pop_tit{min-width: 100px;}

}



@media (max-width: 500px) {
    .top_con h1 .logo{width: 90px; margin-right: 10px;}
    #wrap #header.open .hd_wrap{width: calc(100% - 70px); min-width: 280px;}
    .search_wrap{max-width: unset;}
    .top_con .menu_btn{margin-left: 10px;}

    .main_cont .box_cont .item{
        width: calc(65% - 10px);
    }
    .main_cont .box_cont .item:first-child{
        margin-bottom: 20px;
    }
    .main_cont .box_cont .item:last-child{
        min-width: 120px
    }
    .swiper.latest_video .video_desc {
        flex-direction: column;
        height: auto;
        padding: 5px 0;
    }
    .main_cont .box_cont .trend_body li a{
        padding: 12px 0;
    }

    .view_wrap .view_tit{
        padding: 8px; 
        flex-wrap: wrap;
        height: auto;
    }
    .view_wrap .view_tit li:last-child{
        width: 100%;
        text-align: right;
    }
    .view_wrap .view_group{padding: 8px;}
    .view_wrap .view_cont{min-height: 500px;}

    .btn_wrap {flex-wrap: wrap;}
    .btn_wrap .pagination{margin-bottom: 20px; width: 100%; justify-content: center;}
    .btn_wrap .list_btn{order: 2;}
    .btn_wrap .top_btn{order: 3;}

    #footer .ft_link li a{font-size: 12px;}
    #footer .ft_link li{padding: 0 10px;}
    #footer .ft_link li:nth-child(3):after{display: none;}
    #footer .ft_info li{font-size: 12px; text-align: center;}
}

@media (max-width: 360px) {
    html, body, .pop_cont{min-width: 360px; overflow-x: hidden;}
    .pop_cont .pop_box{min-width: 360px;}
}