@media screen and (max-width: 500px){
    .pc{
        display: none !important;
    }
    .ta{
        display: none !important;
    }
    .mo{
        display: block;
    }
    #logo {
        padding: 4vw 0;
        width: 50vw;
    }
    #gnb{
        width: auto !important;
    }
    #gnb .gnb_menu_btn{
        padding-top: 3vw;
    }
    #hd_wrapper{
        width: 88vw;
    }
    #mainWrap #mainBanner{
        height: 145vw;
    }
    #mainWrap #mainBanner {
        background-size: 285%;
        background-position-x: -32vw;
        padding: 67vw 6vw 0 6vw;
    }
    #mainWrap #mainBanner h3{
        font-size: 12vw;
        line-height: 16vw;
    }
    #mainWrap #sec01{
        padding: 32vw 6vw 0 6vw;
        background-size: 284.5%;
        background-position: 6.5vw -5vw;
        background-repeat: repeat-y;
        margin-top: -11.167vw;
    }
    #mainWrap #sec01 p{
        font-size: 4vw;
        line-height: 6.8vw;
    }
    #mainWrap #sec01 p::before{
        font-size: 14vw !important;
        line-height: 12vw !important;
        margin-top: -18.667vw;
    }
    h3.secTit::before{
        font-size: 2.8vw;
    }
    #mainWrap h3{
        font-size: 5.6vw;
        line-height: 5.6vw;
    }
    #mainWrap #sec02 ul li::after{
        display: none !important;
    }
    #mainWrap #sec02 ul li::before{
        display: none !important;
    }
    #mainWrap #sec02 ul li{
        width: 70vw;
        height: 45vw;
        margin: 4vw auto !important;
        border-radius: 20px;
        padding: 6vw 5vw;
        background-size: 14vw !important;
    }
    #mainWrap #sec02 ul li:last-child{
        margin-bottom: 0 !important;
    }
    #mainWrap #sec02 ul li p{
        font-size: 4vw;
        line-height: 5.6vw;
    }
    #mainWrap #sec03{
        padding: 16vw 6vw 6vw 6vw;
        overflow: hidden;
    }
    #mainWrap #sec03 ul {
        transform: translateX(10vw);

    }

    #mainWrap #sec03 ul li{
        width: 60vw;
        height: 75vw;
    }
    #mainWrap #sec03 ul li p{
        font-size: 4vw;
        line-height: 6.8vw;
        display: table-cell;
        vertical-align: middle;
        margin-top: none;
    }
    #ft{
        height: 50vw;
        padding: 10vw 0;
    }
    #ft img {
        width: 40vw;
        margin-bottom: 4vw;
    }
    #ft_wr{
        max-width: 90vw;
        width: 90vw;
    }
    #ft_wr p{
        font-size: 3.2vw;
        line-height: 5vw;
    }

    #mainWrap #sec04{
        padding: 16vw 6vw 40vw 6vw;
        overflow: hidden;
    }
    #mainWrap #sec04 ul{
        display: block;
    }
    #mainWrap #sec04 ul li{
        margin: 4vw auto;
    }
    #mainWrap #sec04 ul li{
        width: 36vw;
        height: 36vw;
        box-shadow: 0 0 1.5vw rgba(0, 0, 0, 0.3);
    }
    #mainWrap #sec04 ul li:nth-child(2){
        width: 40vw;
        height: 40vw;
    }
    #mainWrap #sec04 ul li p{
        font-size: 4vw;
        line-height: 6.8vw;
    }
    #mainWrap #sec04::after{
        content: "DLG Tax \A Corporation";
        white-space:pre;
        font-size: 16vw;
        line-height: 16vw;
        text-align: center;
        right: 11vw;
        bottom: 15.5vw;
    }
    #mainWrap #sec04::before {
        width: 250vw;
        height: 250vw;
        border-radius: 100%;
        left: -70vw;
        bottom: 66.875vw;
    }
    #gnb_all {
        left: -70.2vw;
        width: 102vw;
        top: 15vw;
    }
    #gnb_all .gnb_al_li{
        float: none;
        width: 100%;
        min-height: auto;
        padding: 3vw 20px;
    }
    #gnb_all .gnb_al_li .gnb_al_a{
        font-size: 4vw;
    }
    #subWrap #banner{
        width: 88vw !important;
        height: 46vw !important;
        background-size: 180vw;
        border-radius: 5vw;
    }
    #subWrap #banner h3{
        font-size: 7vw;
    }
    #subWrap .subTit::before{
        font-size: 14vw;
        line-height: 12vw;
    }
    #subWrap .subTit{
        font-size: 5.6vw;
        line-height: 5.6vw;
    }
    #subWrap p{
        font-size: 4vw;
        line-height: 6.8vw;
        margin-top: 6vw;
    }
    .root_daum_roughmap{
        width: 88vw !important;
    }
    .wrap_map{
        height: 40vw !important;
    }
    .sub01 #sec02 ul{
        flex-wrap: wrap;
        flex-direction: column;
        margin-top: 0;
    }
    .sub01 #sec02 ul li{
        width: 100%;
        border-radius: 3vw;
        padding: 5vw;
    }
    .sub01 #sec02 ul li:first-child{
        margin-top: 10vw;
    }
    .sub01 #sec02 ul li:nth-child(n+2){
        margin-top: 4vw;
    }
    .sub01 #sec02 ul li div{
        font-size: 4vw;
        line-height: 6.8vw;
    }
    .sub01 #sec02 ul li div h4{
        font-size: 4vw;
        line-height: 6.8vw;
    }
    #subWrap section:nth-child(3){
        padding: 26vw 6vw 0vw 6vw !important;
    }
    #subWrap section:last-child{
        padding: 14vw 6vw 26vw 6vw;
    }
    #subWrap .subTit::before {
        margin-top: -19.5vw
    }
    .sub02 #sec02 ul li{
        margin-top: 8vw;
    }
    .sub02 #sec02 ul li img{
        width: 100%;
    }
    .sub02 #sec02 ul li dl dt{
        font-size: 4vw;
        line-height: 6.5vw;
        text-align: center;
    }
    .sub02 #sec02 ul li dl dd{
        font-size: 4vw;
        line-height: 6.5vw;
        margin-top: 2vw;
        padding-left: 4vw;
    }
    .sub02 #sec02 ul li div:first-child{
        margin: 4vw auto !important;
    }
    .sub02 #sec02 ul li:first-child div:first-child{
        margin-bottom: 4vw !important;
    }
    .sub03 #sec01 .subTit{
        /*margin-top: 10vw !important;*/
    }

    .gall_img {
        height: 54vw !important;
        max-height: 54vw !important;
    }
    #bo_gall .gall_text_href a{
        font-size: 4vw;
        margin-top: 2vw;
    }
    .posit{
        font-size: 2.5vw;
        margin-top: 1vw;
    }
    #proSec01{
        display: block;
    }
    #bo_v_con{
        width: 80%;
        margin: 0 auto !important;
    }
    .proInfo01{
        position: relative;
        width: 100%;
        margin-top: 2vw;
        font-size: 4vw;
        line-height: 6vw;
        text-align: left;
        padding-left: 8vw;
        left: 0;
    }
    #proSec01 header{
        justify-content: center;
    }
    #bo_v_title .bo_v_tit{
        font-size: 6vw;
    }
    #proSec01 header div{
        font-size: 4vw;
        padding-top: 2vw;
    }
    #proInfo02 ul:first-child{
        display: none;
    }
    #proInfo02 > ul:last-child{
        width: 100%;
    }
    #proInfo02 ul:last-child li{
        font-size: 4vw;
        line-height: 8vw;
    }
    #proInfo02{
        padding: 0 0 20vw 0 !important;
    }
    #proInfo02 ul:last-child li h4{
        font-size: 4vw;
        line-height: 8vw;
    }
    #proInfo02 .expert div div{
        font-size: 4vw;
        line-height: 8vw;
    }
    #bo_v_atc{
        padding: 0 !important;
    }

}

/* 슬라이더 컨테이너 스타일 */
.slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

/* 슬라이더 영역 */
.slider {
    display: flex;
    width: 100%;
    height: 400px; /* 원하는 높이로 조정 */
    position: relative;
}

/* 개별 슬라이드 */
.slide {
    position: absolute;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    width: calc(100% - 8vw);  /* 양쪽에 4vw 여백 적용 */
    margin: 0 4vw;            /* 좌우 4vw 여백 */

}

/* 활성화된 슬라이드 */
.slide.active {
    z-index: 1;
}

/* 슬라이드 내부 이미지 */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 이전/다음 버튼 공통 스타일 */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.3s;
    height: 85vw;
    width: 30%;
}

.prev-btn:hover, .next-btn:hover {
    opacity: 1;
}

/* 이전 버튼 위치 */
.prev-btn {
    left: -7vw;
    background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}

/* 다음 버튼 위치 */
.next-btn {
    right: -7vw;
    background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}

/* 도트 네비게이션 컨테이너 */
.dots-container {
    position: absolute;
    bottom: -6vw;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

/* 개별 도트 */
.dot {
    width: 12px;
    height: 5px;
    background: #a7b8c5;
    cursor: pointer;
    transition: background 0.3s;
}

/* 활성화된 도트 */
.dot.active {
    background: #e32735;
}

.slide.active {
    z-index: 1;
    background-color: #e32735;
    transition: background-color 0.5s ease-in-out;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .slider {
        height: 80vw;
    }
    
    .prev-btn, .next-btn {
        font-size: 14px;
    }
    
    .dot {
        width: calc(100vw/3.5);
        height: 5px;
    }
}