/* 피시 화면 크기 (992px 이상) */
@media (min-width: 768px) {
    .menu-button{
        display: none;
    }
    .login-button{
        display: none;
    }
    .m_total_txt{
        display: none;
    }
    .mark_btn_1_m{
        display: none;
    }
    .footer_m{
        display: none;
    }
}

/* 모바일 화면 크기 (767px 이하) */
@media (max-width: 767px) {
    /* 여기에 모바일에 대한 스타일을 추가하세요 */
    .pc_w{
        max-width: 100%;
    }
    *{
        font-size: 1rem;
    }
    .wrapper{
        padding-bottom: 140px;
    }
    .head_con_box {
        width: 100%;
        padding: 0 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }
    .head_con_box .menu-button, .head_con_box .login-button{
        font-size: 2rem;
        padding-top:8px;
    }

    .aaa{
        width:100%;
        margin:0px auto;
    }
    .main-header {
        height: auto;
        padding: 10px 0;
        margin-bottom: 60px;
    }

    .h_logo {
        order: 2;
        margin: 10px 0;
    }

    .h_menu {
        display: none; /* Hide menu on mobile */
    }

    .h_search {
        position: absolute;
        bottom: -70px;
        width: 100%;
    }

    .h_search div {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .h_search input[type="text"] {
        width: calc(100% - 70px); /* Adjust width to fit the button */
    }

    .h_search button {
        width: 60px;
        border-left: 0px;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
    }

    .menu-button, .login-button {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: transparent;
        border: none;
        color: #fff;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .menu-button {
        order: 1;
        position: absolute;
        left: 10px;
        top: 10px;
    }

    .login-button {
        order: 4;
        position: absolute;
        right: 10px;
        top: 10px;
    }

    .h_menu{
        display: block;
        width: 270px;
        height: 100vh;
        background-color: #161922;
        position: absolute;
        transition: all 0.5s ease;
        left: -270px;
        top:80px;
        z-index: 99;
        margin-left:0px;
        padding-left:5px;
    }
    .show_m_menu{

        left: 0px;
        z-index: 99;
        transition: all 0.5s ease;
    }
    .h_menu div a{
        height: 50px;
        padding:12px 0;
    }

    .notice_alert {
        width: 100%;
        padding:0px 4px;
    }
    .notice_alert > div {
        display: flex;
        align-items: center;
        padding: 6px 10px;
        font-size: 1rem;
    }
    .notice_1 div:first-child, .notice_2 div:first-child, .notice_3 div:first-child {
        display: flex;
        align-items: center;
    }
    .notice_alert img{
        width: 24px;
    }
    .notice_text{
        font-size: 1rem;
    }

    .notice_text {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1;
        display: flex;
        align-items: center;
    }
    .del_img_btn {
        cursor: pointer;
        margin-left: auto;
    }

    .del_img_btn{
        display: none;
    }
    .tit_icon{
        margin-right: 5px;
    }


    .day_category > button {
        padding: 0px;
        font-size: 1rem;
    }

    .mark_category{
        display: block;
        padding: 7px 10px;
    }
    .mark_category a{
        display: inline-block;
        margin-right:10px;
        margin-bottom: 5px;
    }
    .style_category{
        display: block;
        padding:15px 5px;
        background-color: #333543;
    }
    .style_category button{
        margin: 0px 10px 5px 0px;
    }

    .list_item > div.item_box{
        height: auto;
        padding: 0px;
        font-size: .8rem;
    }
    
    
    .item_box > div.ovh{
    height:80px;
    overflow: hidden;
}


    .item_cnt{
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding:1px 4px;
    }
    .item_cnt > p > font{
        font-size:.9em;
        
    }
    .list_item > div.item_box > p.item_title{
        padding: 4px;
        font-size:1em;
        aposition:relative;
        
    }
    .list_item > div.item_box > p.item_title > span.it_today{
        font-size: 1em;
         adisplay: block;
         aposition: absolute;
         aright: 5px;
         atop: -20px;
        
    }
    .item_category p {
        padding:0px 4px;
        font-size:0.9em;
    }
    .toon_list_page .row{
        margin:0px;
    }
    .toon_detail_data{
        padding: 0px;
    }
    .toon_list_title {
        text-align: center;
        padding: 20px 0px;
    }

    .center-content {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .mark_btn{
        font-size: .9rem;
        padding: 7px 10px;
    }
    .list_data ul li {
        height: 50px;
        line-height: 50px;
    }
    .mark_btn_0, .mark_btn_box{
        font-size: 1rem;
        display: flex;
        justify-content: space-between;
    }

    .mark_btn_1{
        font-size: .9rem;
        padding: 7px 10px;
        width: 49%;
    }

    .m_total_txt_box{
        display: none;

    }

    .mark_btn_1_m{

        text-align: center;
        background-color: #242736;
        color: #959aa6;
        font-size: 1rem;
        border-radius: 7px;
        cursor: pointer;
        border:0px;
    }
    .mark_btn_1_m img {
        margin-right: 10px;
        width: 20px;
        height: 20px;
    }
    .detail_total_txt{
        display: flex;
        width: 100%;
        justify-content: space-between;
        margin-bottom: 10px;

    }
    .detail_total_txt img{
        width:24px;
        height:24px;
    }

    .btns_4,.btns_6 {
        width: 100%;
    }
    .view_page_foot_btn {
        position: static;
                bottom: auto;
       flex-direction: row;
       margin-top:20px;
    }
    .view_page_foot_btn button {
       flex: 1 1 50%;
    }
    .view_page_foot_btn button:nth-child(1),
    .view_page_foot_btn button:nth-child(4) {
       background-color: #131417;
    }
    .view_page_foot_btn button:nth-child(3){
        background-color: #1c1e28;
    }
    .notice_list_day, .m_notice_day{
        display: none;

    }
    .table tbody td {
        border-bottom: 1px solid #565969;
    }
    .table thead th {
        border-top: 0px;
    }
    .notice_tail {
        padding:0 8px;
    }
    .notice_tail button {
        padding: 2px 22px;
        color: #9899a0;
        font-size: 1rem;
        margin-top: 8px;
        border: 2px solid #6a6d7b;
        border-radius: 7px;
        background-color: #242735;
        margin-right: 16px;
    }
    .notice_tail button img{
        width: 18px;
        height: 18px;
    }
    .footer{
        display: none;
    }
    .footer_m{
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #fff;
        /* margin-top: 70px; */
        width: 100%;
        border:2px solid #fff;
        padding: 10px;
        background-color: #242736;
        position: fixed;
        bottom: 0px;

    }
    .footer_m img{
        width: 50px;
        height: 50px;
    }
    .footer_m > div > font{
        font-size: 1.3rem;
        height: 50px;
        line-height: 50px;
    }
    .footer_m > div:last-child{
        font-size: 1.5rem;
        color: #5fe6ff;
    }
    .footer_m > div:first-child{
        border-right: 3px solid #565656;
        padding-right: 10px;
    }

}
