* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    width: 100%;
    vertical-align: bottom;
    pointer-events: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

.pc {
    display: block;
}
.mo {
    display: none;
}

#wrap {
    /* width: 100%; */
}

.comm-btn {
    width: 503px;
    height: 72px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.share-btn {
    width: 60px;
    height: 60px;
    position: absolute;
    top: 55.7%;
    transform: translateY(-50%);
}

.inner {
    /* width: 1920px; */
    width: 100%;
    margin: 0 auto;
    position: relative;
}

body {
    overflow: visible;
}
body.h {
    overflow: hidden;
}

.section {
    width: 100%;
}
/* .section .inner {
    width: 668px;
} */
.contents-wrap {
    width: 1280px;
    margin: 0 auto;
    position: relative;
}

/* tab */
.tab-wrap {
    width: 100%;
    height: 85px;
    background: #b40a17;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
}
.tab-inner {
    width: 1000px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    overflow: hidden;
}
.tab-btn {
    width: calc(100% / 3);
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tab-btn img {
    width: auto;
    height: 30%;
    opacity: 0.7;
}

.tab-btn.active img {
    opacity: 1;
}

.tab-btn:not(:last-of-type)::after {
    content: '';
    display: block;
    width: 1px;
    height: 36px;
    background: #fff;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
}

/* drop down */
.dropdown-wrap {
    width: 100%;
    position: relative;
    /* position: absolute; */
    /* left: 0; */
    /* border: 1px solid #bbb; */
    /* border-right: 0; */
    /* border-left: 0; */
}

.dropdown-wrap::before,
.dropdown-wrap::after {
    content: '';
    display: block;
    width: 900px;
    height: 1px;
    position: absolute;
    background: #fff;
    left: 50%;
    transform: translateX(-50%);
}
.dropdown-wrap.hide::before {
    top: 0;
}
.dropdown-wrap.hide::after {
    bottom: -20px;
}
.dropdown-wrap::before {
    top: 0;
}
.dropdown-wrap::after {
    bottom: 0;
}

.dropdown-btn {
    position: absolute;
    top: 35px;
    right: 268px;
    width: 18px;
    transform: rotate(0deg);
}

.dropdown-text {
    overflow: hidden;
    transition: 0.3s;
}
.dropdown-wrap.hide .dropdown-btn {
    transform: rotate(180deg);
}
.dropdown-wrap.hide .dropdown-text {
    height: 58px;
}

/* main */
.main {
    width: 100%;
    overflow-x: hidden;
}
.main .inner {
    max-width: 100%;
    height: 500px;

    position: relative;
    /* margin: 0 auto; */
}
.main .contents-wrap {
    width: 1920px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 auto;
}

/* section1 */
.section1 {
    background: #060a14;
}

.section1 .join-btn {
    top: 723px;
}
.section1 .content-view-btn {
    bottom: 50px;
}

.section1 .dropdown-wrap {
    /* top: 1190px; */
}

.section1 .dropdown-text {
    /* height: 350px; */
}

/* section2 */
.section2 {
    background: #004249;
}
.section2 .kurley-btn {
    top: 726px;
}
.section2 .coupon-btn {
    bottom: 224px;
}

.footer {
}

.footer .link-btn {
    right: 204px;
}
.footer .kakao-btn {
    right: 392px;
}

/* 응모 팝업 */
.popup-wrap {
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup {
    min-width: 1200px;
    /* height: 826px; */
    height: 782px;
    margin: 0 auto;
    position: relative;
}

.popup > img {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.popup .close-btn,
.confirmPop .close-btn {
    position: absolute;
    right: 40px;
    top: 40px;
    z-index: 10;
    width: 40px;
    height: auto;
}

.popup .contents-wrap {
    width: 100%;
    height: 100%;
    text-align: center;
    padding-top: 204px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.popup .input-wrap {
    width: 566px;
    margin: 0 auto;
}

.popup .input-wrap input {
    width: 100%;
    height: 52px;
    /* background: #fff; */
    padding: 0 10px;
    background: none;
    border: none;
    font-size: 15px;
}

.popup .input-wrap input.active {
    background: #fff;
    border: 1px solid #707070;
}

.popup .input-wrap input:not(:last-of-type) {
    margin-bottom: 10px;
}

.popup .contents-wrap .bottom-cont {
    width: 100%;
}
.popup .contents-wrap .bottom-cont .desc {
    width: 320px;
    margin: 0 auto;
}
.popup .contents-wrap .bottom-cont .desc-wrap {
    width: 566px;
    height: 210px;
    margin: 0 auto;
    overflow-y: auto;
    margin-bottom: 30px;
}
.scrollBar {
    width: 200px;
    height: 200px;
    overflow-y: scroll;
}

/* 아래의 모든 코드는 영역::코드로 사용 */
.popup .contents-wrap .bottom-cont .desc-wrap::-webkit-scrollbar {
    width: 8px; /* 스크롤바의 너비 */
}

.popup .contents-wrap .bottom-cont .desc-wrap::-webkit-scrollbar-thumb {
    height: 30%; /* 스크롤바의 길이 */
    background: #b9b9b9; /* 스크롤바의 색상 */

    border-radius: 10px;
}

.popup .contents-wrap .bottom-cont .desc-wrap::-webkit-scrollbar-track {
    background: rgba(185, 185, 185, 0.2); /*스크롤바 뒷 배경 색상*/
}

.popup .contents-wrap .bottom-cont .check {
    width: 320px;
    margin: 0 auto;
    padding-left: 30px;
}

.popup .contents-wrap .bottom-cont input[type='checkbox'] {
    display: none;
}

.popup .contents-wrap .bottom-cont label {
    position: relative;
    display: flex;
    align-items: center;
}

.popup .contents-wrap .bottom-cont label img {
}

.popup .contents-wrap .bottom-cont label::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: -30px;
    width: 25px;
    height: 25px;
    background: url(./img/pc/check.png) no-repeat center/cover;
    transform: translateY(-50%);
}

.popup .contents-wrap .bottom-cont input[type='checkbox']:checked + label::before {
    background: url(./img/pc/check_active.png) no-repeat center/cover;
}

.popup .confirm-btn {
    width: 566px;
    margin: 0 auto;
    margin-top: 20px;
}

.popup-wrap .confirmPop {
    width: 566px;
    height: 306px;
    position: relative;
    padding-bottom: 30px;
}

.popup-wrap .confirmPop > img {
    position: absolute;
    top: 0;
    left: 0;
}

.popup-wrap .confirmPop .contents-wrap {
    width: 468px;
    height: 100%;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: flex-end;
}

@media screen and (max-width: 1200px) {
    .pc {
        display: none;
    }
    .mo {
        display: block;
    }

    .contents-wrap {
        width: 100%;
    }

    .comm-btn {
        width: 84%;
        height: 2.9%;
    }

    /* tab */
    .tab-wrap {
        width: 100%;
        height: 11.4vw;
    }
    .tab-inner {
        width: 100%;
        height: 100%;
        background: #b40a17;
    }
    .tab-btn {
        height: 100%;
    }
    .tab-btn img {
        width: auto;
        height: 30%;
    }
    .tab-btn:not(:last-of-type)::after {
        height: 30%;
    }

    /* drop down */

    .dropdown-btn {
        top: 6.8vw;
        right: 5%;
        width: 4%;
    }

    .dropdown-wrap::before,
    .dropdown-wrap::after {
        width: 95%;
    }
    .dropdown-wrap::before {
        top: 2vw;
    }
    .dropdown-wrap.hide::before {
        top: 2vw;
    }
    .dropdown-wrap::after {
        bottom: 1vw;
    }

    .dropdown-text {
        transition: none;
        height: 100%;
    }
    .dropdown-wrap.hide .dropdown-btn {
    }
    .dropdown-wrap.hide .dropdown-text {
        height: 11vw;
        /* animation: dropdown 0.5s forwards; */
    }

    /* main */
    .main {
        width: 100%;
        overflow: visible;
    }
    .main .inner {
        max-width: 100%;
        height: auto;
        position: relative;
    }
    .main .contents-wrap {
        width: 100%;
        position: relative;
        top: 0;
        left: 0%;
        transform: translateX(0%);
    }

    /* section1 */

    .section1 .join-btn {
        top: 33.4%;
    }
    .section1 .content-view-btn {
        bottom: 1.7%;
    }
    /* section2 */
    .section2 {
    }
    .section2 .kurley-btn {
        top: 32.4%;
    }
    .section2 .dropdown-wrap {
        /* top: 81%; */
        margin-bottom: 12%;
    }
    .section2 .dropdown-text {
        height: 100%;
    }
    .section2 .coupon-btn {
        bottom: 20.5%;
    }

    .section2 .share-wrap {
        position: absolute;
        bottom: 4.8%;
        left: 50%;
        transform: translateX(-50%);
        width: 40%;
        height: 3.9%;
        display: flex;
        justify-content: space-between;
    }

    .section2 .share-wrap button {
        width: 44%;
        height: 100%;
    }

    .section3 {
    }

    .footer {
        display: none;
    }

    /* 팝업 */
    .popup-wrap {
        padding: 5% 0;
        align-items: flex-start;
        overflow-y: scroll;
    }
    .popup,
    .popup-wrap .confirmPop {
        width: 86.7%;
        height: auto;
        max-width: 720px;
    }

    .popup {
        background: none;
        max-height: 850px;
        overflow: auto;
        min-width: 0;
    }
    .popup > img {
        position: relative;
    }

    .popup-wrap .close-btn {
        position: absolute;
        top: 3%;
        right: 5%;
        width: 3.8vw;
        height: 3.8vw;
    }

    .popup-wrap .contents-wrap {
        position: absolute;
        top: 0;
        left: 0;
        padding: 34.4% 6.4% 7% 6.4%;
        display: flex;
        flex-direction: column;
    }

    .popup-wrap .confirmPop {
        padding-bottom: 0;
    }
    .popup-wrap .confirmPop > img {
        position: relative;
    }
    .popup-wrap .confirmPop .contents-wrap {
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        padding: 0 10% 10% 10%;
        flex-direction: column;
        justify-content: flex-end;
    }
    .popup .input-wrap {
        width: 100%;
        height: 100%;
        margin-bottom: 5%;
    }

    .popup-wrap .input-wrap input {
        width: 100%;
        height: 11.2vw;
        max-height: 94.2px;
        background: none;
        position: relative;
        font-size: 3.3vw;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        border: 1px solid #777;
    }
    .popup-wrap .popup .input-wrap input[id='userName'] {
        background-image: url('./img/mo/name_input.png');
    }
    .popup-wrap .popup .input-wrap input[id='tvingId'] {
        background-image: url('./img/mo/id_input.png');
    }
    .popup-wrap .popup .input-wrap input[id='phoneNo'] {
        background-image: url('./img/mo/phone_input.png');
    }

    .popup-wrap .popup .input-wrap input[id='userName'].active,
    .popup-wrap .popup .input-wrap input[id='tvingId'].active,
    .popup-wrap .popup .input-wrap input[id='phoneNo'].active {
        background-image: none;
    }

    .popup .input-wrap input:not(:last-of-type) {
        margin-bottom: 4%;
    }

    .popup .contents-wrap .bottom-cont .desc {
        width: 80%;
    }
    .popup .contents-wrap .bottom-cont .desc-wrap {
        width: 100%;
        height: 62%;
        margin: 0 auto;
        overflow-y: auto;
        margin-bottom: 9%;
    }
    .scrollBar {
        width: 5%;
        height: 20%;
        overflow-y: scroll;
    }

    .popup .confirm-btn {
        width: 100%;
        margin-top: 7%;
    }

    .popup .contents-wrap .bottom-cont label::before {
        left: -5vw;
        width: 4vw;
        height: 4vw;
        max-width: 25px;
        max-height: 25px;
    }
    .popup .contents-wrap .bottom-cont input[type='checkbox']:checked + label::before {
        background: url(./img/pc/check_active.png) no-repeat center/cover;
    }

    .popup .contents-wrap .bottom-cont .check {
        width: 92%;
        padding-left: 3%;
    }
}
