#footer .footerLink a:nth-child(3){
    display: none;
}
h3{
    font-size: 40px; 
    margin: auto; 
    text-align: center;
    font-weight: 900;
}
h4{
    font-size: 18px; 
    margin:auto; 
    text-align: center; 
    font-weight: normal;
}
.pc_box{
    display: block;
    width: 500px;
    padding: 0;
    text-align: center;
    position: relative;
    margin: -180px auto 80px auto;
}
.pc_box img{
    display: block;
    margin: auto;
    padding: 0;
    width: 100%;
}
.sp_box{
    display: none;
}
/*
.m_bottom_20{
    margin-bottom: 20px !important;
}
.m_bottom_30{
    margin-bottom: 30px !important;
}
.qr-code{
    width: 240px; 
    margin: 20px auto 10px auto;
}
*/
.txt_content{
    display: block;
    margin:auto;
    position: relative;
    width: 100%;
}
.txt_content a{
    height: 80px;
    width: 100%;
    display: block;
    cursor: pointer;
    position: relative;
}
.txt_content a:hover{
    width: 100%;
    background-color: #fff;
    opacity: .15;
    color: #333;
}

#main_pict{
    margin-bottom: 0;
}
#entry_button_area, #guide_link, #cancel_button_area, #confirm_button_area{
    min-width: auto;
}
#footerIN {
    width: auto;
    max-width: 980px;
}
#an_headerIN, #testmodeIN, #adult_headerIN{
    width: auto;
    max-width: 940px;
}
/*
img.access{
    margin: 60px auto 30px auto !important;
    width: 70%;
    display: none !important;
}
.sms_cvs_title img{
    margin: auto auto 8vw auto;
    padding: 0;
    display: block;
    width: 80%;
}
.sms_cvs_button a img{
    margin: auto;
    padding: 0;
    display: block;
    width: 84%;
    border:1px solid #000;
    border-radius: 2vw;
    box-shadow: 2px 2px 0 0 #000;
}
*/

@media screen and (max-width: 800px) {
    /*#testmode{
        position: absolute;
        opacity: .6;
    }*/
    .pc_box{
        display: none;
    }
    

    #main_pict{
        padding-bottom: 0 !important;
    }
    
    
    .sms_cvs_content{
        text-align: center; 
        padding:5px 10px 30px 10px;
    }
    .sms_cvs_content div{
        position: relative; 
        display: block; 
        margin-bottom: 12px;
    }
    .sms_cvs_content input[type=radio]{ 
        position: absolute; 
        top: 0; 
        left: 0; 
        opacity: 0; 
        width: 100%; 
        height: 100%; 
        padding: 0; 
        cursor: pointer;
    }
    .sms_cvs_content label{ 
        box-sizing: border-box; 
        -webkit-transition: background-color 0.2s linear; 
        transition: background-color 0.2s linear; 
        position: relative; 
        display: block; 
        margin: 0 20px; 
        padding: 15px 15px 15px 22px; 
        border-radius: 8px; 
        background-color:#fff; 
        vertical-align: middle; 
        cursor: pointer; 
        border: 2px solid #111;
        font-family: system-ui;
        font-weight: bold;
        font-size: 4vw;
    }
    .sms_cvs_content label:after { 
        -webkit-transition: border-color 0.2s linear; 
        transition: border-color 0.2s linear; 
        position: absolute; 
        top: 50%; 
        left: 15px; 
        display: block; 
        margin-top: -10px; 
        width: 16px; 
        height: 16px; 
        border: 2px solid #111; 
        border-radius: 6px; 
        content: '';
    }
    .sms_cvs_content label:before { 
        -webkit-transition: opacity 0.2s linear; 
        transition: opacity 0.2s linear; 
        position: absolute; 
        top: 50%; 
        left: 20px; 
        display: block; 
        margin-top: -5px; 
        width: 10px; 
        height: 10px; 
        border-radius: 50%; 
        background-color: #000; 
        content: ''; 
        opacity: 0;
    }
    .sms_cvs_content input[type=radio]:checked + label {
        background-color: #f5edd5;
    }
    .sms_cvs_content input[type=radio]:checked + label::before { 
        opacity: 1;
    }
    .sms_cvs_content input[type=radio]:checked + label:after { 
        border-color: #852114;
    }

    .sms_cvs_button{
        text-align: center; 
        margin: auto auto 60px auto;
    }
    .social_link{
        width: 90%; 
        margin: 0 auto 20px auto;
    }
    .note_agree_social{
        line-height: 1.3; 
        padding: 0 15px;
    }
    pre{
        padding:0 5vw;
    }
    
    .sms_cvs_content{
        display: block;
    }

    .sms_cvs_content{
        display: grid;
    }
    .sms_cvs_content div{
        display: block;
        width: 100%;
        text-align: left;
        text-indent: 7vw;
    }
    
    .sms_cvs_title{
        display: block;
        margin: auto auto 5vw auto;
        text-align: center;
        font-size: 6.0vw;
        width: 90%;
        font-family: _auto;
    }
    .sms_cvs_button a{
        font-size: 6vw;
        box-shadow: 1px 1px 0 0px #111;
        border: _1px solid #333;
        background-color: #f95a00;
        display: block;
        cursor: pointer;
        color: #fff;
        border-radius: 5px;
        padding: 2.8vw 0;
        line-height: 1;
        font-weight: bold;
        margin: 0 auto;
        width: 88%;
        font-family: serif;
    }


    /*
    .sms_cvs_btn{
        margin: 0 auto;
        text-align: center;
        width: 90%;
        position: absolute;
        _top: 112vw;
        aspect-ratio: 375 / 82;
        left: 5%;
    }
    .sms_cvs_btn a{
        font-size: 0;
        display: block;
        cursor: pointer;
        color: #fff;
        padding: 0;
        line-height: 1;
        margin: 0 auto;
        width: 100%;
        height: 22vw;
        font-family: serif;
        background-color: red;
        opacity: 0.5;
    }
    */

    .sp_box{
        display: block;
        margin:0 -28px;
        position: relative;
    }
    .sp_box img{
        display: block;
        margin: auto;
        padding: 0;
        width: 100%;
    }
/*
    .sms_cvs_btn{
      position: absolute;
      left: 5%;
      width: 90%;
      top: clamp(-380px, -60svh, -560px);
    }

    .sms_cvs_btn a{
        display:block;
        width:100%;
        aspect-ratio: 375 / 82;
        height:auto;
        font-size:0;
    }

*/


    /* 1) tạo hệ quy chiếu cho banner */
    #main_box{
      position: relative;
    }

    /* đảm bảo ảnh banner có kích thước chuẩn */
    #main_pict{
      position: relative;
    }
    /*
    #main_pict img{
      display:block;
      width:100%;
      height:auto;
    }
    */

    /* 2) biến .sp_box thành overlay phủ đúng vùng ảnh banner */
    #main_caption .sp_box{
      position: absolute !important;
      left: 28px;
      top: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;        /* overlay không chặn click ngoài nút */
      z-index: 5;

    }

    /* 3) nút hotspot canh theo % chiều cao ảnh */
    #main_caption .sms_cvs_btn{
        position: absolute;
        left: 5%;
        width: 90%;
        top: 36.5%;
        transform: translateY(-50%);
        pointer-events: auto;
    }

    /* 4) giữ tỷ lệ nút theo thiết kế */
    #main_caption .sms_cvs_btn a{
      display:block;
      width:100%;
      aspect-ratio: 375 / 82;      /* theo bạn đang dùng */
      height:auto;
      font-size:0;
      line-height:1;
      /*background-color: red;
      opacity: .5;*/
    }

    #sms_cvs_popup{
        position: fixed !important;
        top: 5% !important;
    }
    
}



