@charset "utf-8";

* {
    margin: 0;
    padding: 0;
}

ul,
li {
    list-style: none;
}

/*  슬라이드 메인 */
.slide {
    height: 400px;
    width: 90%;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    background-color: transparent;
}

.slideContents {
    width: 400%;
    height: 90%;
    transition: 1s;
}

.slide ul:after {
    content: "";
    display: block;
    clear: both;
}

.slide li {
    float: left;
    width: 25%;
    height: 100%;
}

.slide li:nth-child(1) {
    background: url("../img/652/m1.jpg") no-repeat center;
    background-size: contain;
}

.slide li:nth-child(2) {
    background: url("../img/652/m2.jpg") no-repeat center;
    background-size: contain;
}

.slide li:nth-child(3) {
    background: url("image/sub4_1_3_img3.png") no-repeat center;
    background-size: contain;
}

.slide li:nth-child(4) {
    background: url("image/sub4_1_3_img4.png") no-repeat center;
    background-size: contain;
}

.slide input {
    display: none;
}

.slide label {
    display: inline-block;
    vertical-align: middle;
    width: 10px;
    height: 10px;
    border: 2px solid #666;
    background: #fff;
    transition: 0.3s;
    border-radius: 50%;
    cursor: pointer;
}

.slide .pos {
    text-align: center;
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
}

#pos1:checked~ul {
    margin-left: 0%;
}

#pos2:checked~ul {
    margin-left: -100%;
}

#pos3:checked~ul {
    margin-left: -200%;
}

#pos4:checked~ul {
    margin-left: -300%;
}

#pos1:checked~.pos>label:nth-child(1) {
    background: #666;
}

#pos2:checked~.pos>label:nth-child(2) {
    background: #666;
}

#pos3:checked~.pos>label:nth-child(3) {
    background: #666;
}

#pos4:checked~.pos>label:nth-child(4) {
    background: #666;
}

.leftButton,
.rightButton {
    display: block;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
}

.leftButton {
    left: 0px;
}

.rightButton {
    right: 0px;
}


