/* 광고 관련 css */
.scroll-follow-menu {
    position: absolute;
    width: 180px;
/*    top: 50px;*/
    left: -13%;
    z-index: 10;
    display: block;
    transition: top 0.3s ease;
    /*display: none;*/  /* 처음에는 숨겨진 상태로 시작 */
}
.ad_container::before {
    content: '';
    background-image: url(/theme/theme06/img/admenu/sidead_txt_support.png);
    position: absolute;
    top: -24px;
    width: 100%;
    height: 40px;
    background-size: 100%;
}
.ad_container_r::before {
    content: '';
    background-image: url(/theme/theme06/img/admenu/sidead_txt_sns.png);
    position: absolute;
    top: -24px;
    width: 100%;
    left: 37px;
    height: 40px;
    background-size: 60%;
    background-repeat: no-repeat;
}
.ad_menu_ul {
    /*background-color: #232323;*/ /*#2e40a6*/
    border-radius: 4px;
    padding-top: 5px;
    background: linear-gradient(45deg, #0c126c, #125ccd);
}
.ad_menu_li {
    padding: 4px 15px;
    margin: 10px;
}
.ad_img { width: 100%; }
.ad_container_r {
    left: auto;
    right: -15%;
/*    float: right;*/
/*    background-color: #2e40a6;*/
    border-radius: 4px;
}
.ad_div { cursor: pointer; }

.advertise_sec {  
    display: none;   
    margin-top: 45px; 
}
.advertise_sec_div, .advertise_sec_div_r { position: relative; }
.advertise_sec_div_r { margin-top: 45px; }
.advertise_sec_div .ad_menu_ul, .advertise_sec_div_r .ad_menu_ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.advertise_sec_div a {
    width: 100%;
    height: 50px;
}

.advertise_sec_div::before {
    content: '';
    background-image: url(/theme/theme06/img/admenu/sidead_txt_support.png);
    position: absolute;
    top: -30px;
    width: 220px;
    height: 50px;
    background-size: cover;
}
.advertise_sec_div_r::before {
    content: '';
    background-image: url(/theme/theme06/img/admenu/sidead_txt_sns.png);
    position: absolute;
    top: -35px;
    width: 220px;
    height: 60px;
    background-size: cover;
}

@media (max-width: 1380px) {
    .scroll-follow-menu { display: none; }
    .advertise_sec { display: block; }
}
@media (max-width: 650px) {
    .ad_menu_li { padding: 0; }
    .advertise_sec_div::before {
        content: '';
        background-image: url(/theme/theme06/img/admenu/sidead_txt_support.png);
        position: absolute;
        top: -25px;
        width: 180px;
        height: 45px;
        background-size: contain;
    }
    .advertise_sec_div_r::before {
        content: '';
        background-image: url(/theme/theme06/img/admenu/sidead_txt_sns.png);
        position: absolute;
        top: -25px;
        width: 180px;
        height: 45px;
        background-size: contain;
        background-repeat: no-repeat;
    }
}

/* 광고 관련 css */