/* 피시 화면 크기 (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;
    }
    .m_menu_button{
        display: none;
    }
    .m_logo , .show_m{
        display: none;
    }
    .head_notice_box_m{
        display: none;
    }
}

/* 모바일 화면 크기 (767px 이하) */
@media (max-width: 767px) {
    /* 여기에 모바일에 대한 스타일을 추가하세요 */
    body{
        background-color: #0f0f10;
    }
    .container_full{
        padding-right: 5px;
        padding-left: 5px;
    }
    .pc_w{
        max-width: 100%;
    }
    .head_notice_box{
        display: none;
    }
    .head_notice_box_m{
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .head_menu_box{
        height: 60px;;
    }
    .h_logo{
        display: none;
    }

    *{
        font-size: 1rem;
    }
    .wrapper{
        padding-bottom: 140px;
    }
    .head_con_box {
        width: 100%;
        padding: 0 10px;

    }
    .head_con_box .menu-button, .head_con_box .login-button{
        font-size: 2rem;
    }
    .m_logo{
        height: 60px;
        display: block;
        display: flex;
        align-items: center;
    }
    .m_logo img{
        width: 70%;
    }
    .main-header {
        height: auto;
        padding: 0px;
        margin-bottom: 60px;
    }



    .h_logo {
        order: 2;
        margin: 10px 0;
    }

    .h_menu {
        display: none; /* Hide menu on mobile */
    }

    .h_search {
        position: absolute;
        top: 100px;
        left: 0px;
        width: 100%;
        padding:0px 5px;
    }

    .h_search div {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #131415;
        border:1px solid #d95f2c;
        border-radius: 4px;
    }

    .h_search input[type="text"] {
        width: calc(100% - 70px); /* Adjust width to fit the button */
        background-color: transparent;
    }

    .h_search button {
        width: 60px;
        border-left: 0px;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
        background-color: transparent;
    }

    .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;
        right: 10px;
        top: 10px;
    }

    .login-button {
        order: 4;
        position: absolute;
        right: 10px;
        top: 10px;
    }

    .h_menu{
        display: block;
        width: 270px;
        height: 100vh;
        background-color: #d95f2c;
        position: absolute;
        transition: all 0.5s ease;
        right: -270px;
        top:94px;
        z-index: 99;
        margin-left:0px;
        padding-left:5px;
    }
    .show_m_menu{

        right: 0px;
        z-index: 99;
        transition: all 0.5s ease;
    }
    .h_menu div a{
        height: 50px;
        padding:12px 0;
    }
    .type_category{
        padding-top: 10px;
        height: auto;
    }
    .type_category > div{
        height: auto;
    }
    .day_category{
        padding: 5px;
        height: auto;
    }
    .day_category > button{
        border:0px;
    }

    .day_category.wtc {
        flex-wrap: wrap;
        justify-content: flex-start;
        height: auto;
    }

    .day_category.wtc > button {
        margin-bottom: 7px;
        margin-right: 5px;
        padding:2px;
        white-space: nowrap;
    }

    .day_category.wtc > button:last-child {
        margin-right: 0; /* 마지막 버튼의 오른쪽 마진 제거 */
    }

    .style_category > button{
        font-size: 0.9rem;
        padding: 5px 4px;
    }
    .asc_desc > button{
        padding: 0px 30px;
        font-size: 1rem;
    }
    .notice_alert {
        width: 100%;
        padding:0px 4px;
    }
    .notice_alert > div {
        display: flex;
        align-items: center;
        padding: 6px 10px;
        font-size: .8rem;
    }
    .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: .8rem;
        text-align: center;
    }
    .notice_alert > div >div{
        display: flex;
    align-items: center;
    justify-content: center;
    }
    .notice_txt_tit{
        margin-right: 0px;
        display: none;
    }
    .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 {
        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:0px 5px;
        background-color: #333543;
    }
    .style_category button{
        margin: 0px 0px 5px 0px;
    }
    .list_item{
        width: 33%;
    }
    .list_item > div.item_box > p.item_title > span.it_today{
        font-size: .8rem;
    }

    .list_item > div.item_box{
        height: auto;
        padding: 0px;
        font-size: .8rem;
    }
    .item_cnt{
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding:1px 4px;
        font-size: .8rem;
    }
    .item_cnt > font{
        font-size: .8rem;
    }
    .list_item > div.item_box > p.item_title{
        padding: 4px;
        font-size: .8rem;
    }
    .item_category p {
        padding:0px 4px;
        font-size: .8rem;
    }
    .toon_list_page .row{
        margin:0px;
    }
    .toon_detail_data{
        padding: 0px;
    }
    .toon_list_title {
        text-align: center;
        padding: 20px 0px 5px 0px;
    }
    .toon_detail_data .toon_list_title{
        margin-bottom: 0px;
    }
    .toon_cates{
        margin-right: 5px;
    }
    .hn_m_col{
        padding-left: 0px;
        padding-right: 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: 100%;
        background-color: #5a94e4;
        margin-top:10px;
    }


    .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: center;
        margin-bottom: 10px;

    }
    .m_total_txt_box{
        display: flex;
        justify-content: center;
    }
    .show_pc{
        display: none;
    }
    .show_m{
        display: block;
    }
    .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%;
    }

    .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;
        display: flex;
        flex-direction: column;

    }
    .notice_tail button {
        padding: 2px 22px;
        color: #fff;
        font-size: 1rem;
        margin-top: 8px;
        border: 2px solid #0088f4;
        border-radius: 7px;
        background-color: #0088f4;
        margin-right: 0px;
        width: 100%;
        margin-bottom: 10px;
    }
    .notice_tail button img{
        width: 18px;
        height: 18px;
    }
    .footer{
        display: none;
    }
    .footer_m {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 0px solid #ccc; /* 푸터의 상단에 줄 추가 */
        padding: 10px 0; /* 푸터의 상하 패딩 */
        background-color: #000000; /* 푸터 배경색 */
        position: fixed;
        bottom: 0px;
        width: 100%;
        color:#fff;
        height: 90px;
    }

    .footer_item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 30%; /* 기본 div 너비 설정 */
        text-align: center;
        position: relative; /* ::after 가상 요소를 위해 position 설정 */
        border-right: 2px solid #0f0f10;
        height: 100%;
    }
    .footer_item img{
        height: 30px;
        margin-bottom: 6px;
    }
    .footer_item_center {
        width: 40%; /* 중간 div 너비 더 크게 설정 */
    }
    .footer_item:last-child{
        border-right: 0px;
    }

    .vp_b{
        margin-bottom: 70px;
    }
    .top_down_btn button{
        width: 60px;
    }
    .top_down_btn{
        position: fixed; /* 화면에 고정 위치 지정 */
        right: 20px; /* 오른쪽에서 50px 떨어지도록 설정 */
        bottom: 0px;; /* 화면의 수직 중앙에 배치 */
        transform: translateY(15%); /* 수직 중앙 맞춤 */

    }

    .sub_title_box {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        align-items: center;
    }
    .sub_title_box > div:first-child{
        padding-bottom: 5px;
    }
    .sub_title_box .title > img{
        display: none;
    }
    .main-header{
        /* margin-bottom: 0px; */
    }
    .sub_title_box > div:last-child button{
        padding: 10px 30px;
        font-weight: bold;
        font-size: 1.2rem;
    }
    .list_item > div.item_box > img{
        min-height: 0px;
    }
    .list_item > div.item_box{
        padding: 3px;
    }
    .view_page_foot_btn {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        flex-wrap: nowrap;
        position: fixed;
        bottom: 0px;
    }
    .view_page_foot_btn button{
        height: auto;
        font-size: 1rem;
    }
    .left_btns {
        right: 0px;
        align-items: center;
    }
    .left_btns > img{
        width: 50px;
    }
    .left_btns div{
        font-size: .8rem;
        color: white; /* 글자 색상 */
        text-shadow:
            -2px -2px 0 black,
             2px -2px 0 black,
            -2px  2px 0 black,
             2px  2px 0 black; /* 글자 테두리 (검은색, 2px) */
    }
    .list_page_head{
        flex-direction: column;
        align-items: center;
    }
    .list_page_head > img{
        margin-right: 0px !important;
        margin-bottom: 20px;
    }
    .list_page_head_content{
        display: flex;
        padding-right: 0px;
        flex-direction: column;

        align-items: center;
        margin-bottom: 20px;
    }
    .notice_head_bar {
        text-align: center;
    }
    .table thead th{
        border-top: 2px solid #797366 !important;
    }
    .notice_view_tit h1{
        font-size: 1.2rem;
    }
    .notice_tail > span font:first-child{
        display: none;
    }
    .notice_tail{

        display: flex;
        flex-direction: row;
    }
    .notice_tail span, .notice_tail a, .notice_tail a font{
        font-size: .8rem;
    }
    .notice_list_btn{
        padding: 10px 40px;
        font-size: 1.4rem;
        margin-top:30px;
    }
    .notice_list_btn img{
        width: 30px;
        margin-right: 3px;
        position: relative;
        top: -2px;
    }
}
