.comparison {
    width:300px;
    height: 360px;
    max-width: 300px;
    max-height: 360px;
    position:relative;
    overflow: hidden;
    margin:0 auto;
    border-radius: 16px;
}

.data1_be {background-image: url("/barit/images/af.png");background-size: auto 360px; }
.data1_af {background-image: url("/barit/images/be.png"); background-size: auto 360px;  }




.data1_af:after {content:""; background:rgba(0,0,0,0.5); position:absolute; z-index:12; top:0; left:0; height:100%; width:100%;}
.comparison figure {
    background-size: cover;
    position: relative;
    font-size: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    z-index:1;
}
.comparison figure > img {
    position: relative;
    width: 100%;
}
.comparison figure div {
    position: absolute;
    width: 50%;
    box-shadow: 0 5px 10px -2px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    bottom: 0;
    height: 100%;
    z-index:10;
}

input[type="range"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    position: absolute;
    top: 50%;
    left: 0;

    z-index:10;
    background-color: rgba(255, 255, 255, 0.1);
    background:none;
    width: 102%;
    border:none;
}
input[type="range"]:focus {
    outline: none;
}
input[type="range"]:active {
    outline: none;
}

input[type="range"]::-moz-range-track {
    -moz-appearance: none;
    height: 15px;
    width: 100%;
    background-color:none;
    position: relative;
    outline: none;
    border:none !importnat;
}
input[type="range"]::active {
    border: none;
    outline: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 50px;
    height: 30px;
    background-size:cover;
    border-radius: 25px;
    background: rgba(0, 0, 0, 0.5);
    background-image: url('/barit/images/slider_button2.png');
    background-position: center;

    backdrop-filter:blur(10px);
}
input[type="range"]::-moz-range-thumb {
    -moz-appearance: none;
    width: 50px;
    height: 30px;
    border-radius: 25px;
    background: rgba(0, 0, 0, 0.5);
    background-image: url('/barit/images/slider_button2.png');
    background-position: center;
    backdrop-filter:blur(10px);
}
.intext_af {position:absolute; z-index:9;   top:15px; right:15px;  font-size:14px; color:#fff !important}
.intext_be {position:absolute; z-index:10;  top:15px; left:15px;  font-size:14px; color:#fff !important}



.comparison2 {
    width:360px;
    height: 680px;
    max-width: 360px;
    max-height: 680px;
    position:relative;
    overflow: hidden;
    margin:50px auto;
    border-radius: 40px;

}

.comparison2 figure {
    background-size: cover;
    position: relative;
    font-size: 0;
    width: 360px;
    height: 680px;
    margin: 0;
    z-index:1;
}
.comparison2 figure > img {
    position: relative;
    width: 100%;
}
.comparison2 figure div {
    position: absolute;
    width: 50%;
    box-shadow: 0 5px 10px -2px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    bottom: 0;
    height: 100%;
    z-index:10;
}
.data2_be {background-image: url("/barit/images/mobile_af.png"); background-size:360px 680px !important; }
.data2_af {background-image: url("/barit/images/mobile_be.png"); background-size:360px 680px !important;  }
.data2_af:after {content:""; background:rgba(0,0,0,0.3); position:absolute; z-index:12; top:0; left:0; height:100%; width:100%;}
.intext_af2 {position:absolute; z-index:9;   top:50%; right:15px;  font-size:14px; color:#fff !important}
.intext_be2 {position:absolute; z-index:9;  top:50%; left:15px;  font-size:14px; color:#fff !important}




.comparison3 {
    width:360px;
    height: 680px;
    max-width: 360px;
    max-height: 680px;
    position:relative;
    overflow: hidden;
    margin:50px auto;
    border-radius: 40px;
}
.comparison3 figure {
    background-size: cover;
    position: relative;
    font-size: 0;
    width: 360px;
    height: 680px;
    margin: 0;
    z-index:1;
}
.comparison3 figure > img {
    position: relative;
    width: 100%;
}
.comparison3 figure div {
    position: absolute;
    width: 50%;
    box-shadow: 0 5px 10px -2px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    bottom: 0;
    height: 100%;
    z-index:10;
}
.data3_be {background-image: url("/barit/images/mobile_af02.png"); background-size:360px 680px !important; }
.data3_af {background-image: url("/barit/images/mobile_be01.png"); background-size:360px 680px !important;  }
.data3_af:after {content:""; background:rgba(0,0,0,0.3); position:absolute; z-index:12; top:0; left:0; height:100%; width:100%;}
.intext_af3 {position:absolute; z-index:9;   top:50%; right:15px;  font-size:14px; color:#fff !important}
.intext_be3 {position:absolute; z-index:9;  top:50%; left:15px;  font-size:14px; color:#fff !important}





.comparison4 {
    width:260px;
    height: 360px;
    max-width: 260px;
    max-height: 360px;
    position:relative;
    overflow: hidden;
    margin:0px auto;
    border-radius:8px;
}
.comparison4 figure {
    background-size: cover;
    position: relative;
    font-size: 0;
    width: 260px;
    height: 360px;
    margin: 0;
    z-index:1;
}
.comparison4 figure > img {
    position: relative;
    width: 100%;
}
.comparison4 figure div {
    position: absolute;
    width: 50%;
    box-shadow: 0 5px 10px -2px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    bottom: 0;
    height: 100%;
    z-index:10;
}
.data4_be {background-image: url("/barit/images/popup/pop_p01.png"); background-size:260px 360px !important; }
.data4_af {background-image: url("/barit/images/popup/pop_p02.png"); background-size:260px 360px !important;  }
.data4_af:after {content:""; background:rgba(0,0,0,0.3); position:absolute; z-index:12; top:0; left:0; height:100%; width:100%;}
.intext_af4 {position:absolute; z-index:9;   top:50%; right:15px;  font-size:14px; color:#fff !important}
.intext_be4 {position:absolute; z-index:9;  top:50%; left:15px;  font-size:14px; color:#fff !important}






@media (max-width:768px){
    .comparison2 {
        width: 100%;
        height: 520px;
        width: 100%;
        max-width:280px;
        max-height: 520px;
        position:relative;
        overflow: hidden;
        margin:0px auto;
        border-radius: 40px;
    }
    .comparison2 figure {
        background-size: cover;
        position: relative;
        font-size: 0;
        width: 100%;
        max-width:280px;
        height: 520px;
        margin: 0;
        z-index:1;
    }
    .comparison2 figure > img {
        position: relative;
        width: 100%;
    }
    .comparison2 figure div {
        position: absolute;
        width: 50%;
        box-shadow: 0 5px 10px -2px rgba(0, 0, 0, 0.3);
        overflow: hidden;
        bottom: 0;
        height: 100%;
        z-index:10;
    }
    .data2_be {background-image: url("/barit/images/mobile_af.png"); background-size:280px 520px !important;  }
    .data2_af {background-image: url("/barit/images/mobile_be.png"); background-size:280px 520px !important;   }
    .data2_af:after {content:""; background:rgba(0,0,0,0.3); position:absolute; z-index:12; top:0; left:0; height:100%; width:100%;}
    .intext_af2 {position:absolute; z-index:9;   top:50%; right:15px;  font-size:14px; color:#fff !important}
    .intext_be2 {position:absolute; z-index:9;  top:50%; left:15px;  font-size:14px; color:#fff !important}


    .comparison3 {
        width: 100%;
        height: 520px;
        max-width:280px;
        position:relative;
        overflow: hidden;
        margin:0px auto;
        border-radius: 40px;
    }
    .comparison3 figure {
        background-size: cover;
        position: relative;
        font-size: 0;
        width: 100%;
        max-width:280px;
        height: 520px;
        margin: 0;
        z-index:1;
    }
    .comparison3 figure > img {
        position: relative;
        width: 100%;
        height: 100%;
        object-fit: cover; /* 이미지 비율 유지하면서 꽉 채우기 */
    }
    .comparison3 figure div {
        position: absolute;
        width: 50%;
        box-shadow: 0 5px 10px -2px rgba(0, 0, 0, 0.3);
        overflow: hidden;
        bottom: 0;
        height: 100%;
        z-index:10;
    }
    .data3_be {background-image: url("/barit/images/mobile_af02.png"); background-size:280px 520px !important;  }
    .data3_af {background-image: url("/barit/images/mobile_be01.png"); background-size:280px 520px !important;   }
    .data3_af:after {content:""; background:rgba(0,0,0,0.3); position:absolute; z-index:12; top:0; left:0; height:100%; width:100%;}
    .intext_af3 {position:absolute; z-index:9;   top:50%; right:15px;  font-size:14px; color:#fff !important}
    .intext_be3 {position:absolute; z-index:9;  top:50%; left:15px;  font-size:14px; color:#fff !important}


}