.e_membership{
    --color-1: #CB5C5C;
    --color-2: #8B2121;
    --color-3: #530707;
    --color-4: #FFCBC8;
    /* font */
    @font-face {
        font-family: 'Pretendard Variable';
        font-weight: 45 920;
        font-style: normal;
        font-display: swap;
        src: local('Pretendard Variable'), url('/assets/font/PretendardVariable.woff2') format('woff2-variations');
    }
    *{
        font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    }

    /* common */
    .wrap{
        margin: 0 auto;
        background-color: var(--color-1);
    }
    .rel_wrap{
        padding: 0 50px;

    }

    h1{
        font-size: 30px;
        line-height: 1.3;
        font-weight: 700;
        color: #fff;
    }
    h2{
        color: #fff;
        margin-top: 5px;
        font-size: 28px;
        font-weight: 700;
    }
    h3{
        font-size: 18px;
        line-height: 1.5;
        font-weight: 600;
    }
    h4{
        font-size: 14px;
        font-weight: 600;
        line-height: 1.5;
        color: #111;
    }
    h5{
        font-size: 12px;
        font-weight: 700;
    }

    /* theme */
    button:not(.select *,.mpass_close *), .input_wrap a{
        display: block;
        padding: 12px 18px;
        font-weight: 400;
        font-size: 14px;
        border: unset;
        outline: unset;
        background-color: var(--color-2);
        border: 1px solid var(--color-2);
        border-radius: 6px;
        color: #fff;
        width: 88px;
        text-align: center;
    }
    :is(button:not(.select *,.mpass_close *), .input_wrap a):hover{
        border: 1px solid var(--color-3);
        transition: all .3s ease-out;
        background-color: var(--color-3);
    }
    /* visual */
    .visual{
        position: relative;
    }
    .visual .rel_wrap{
        padding-top: 80px;
        padding-bottom: 15px;
        background-color: var(--color-1);
        min-height: 360px;
    }
    .visual.s_join .rel_wrap{
        min-height: auto;
    }
    .visual::before{
        content: "";
        background: url(/assets/img/sub/pc_membership_insite_bg.png) no-repeat;
        background-size: cover;
        display: block;
        width: 753px;
        height: 463px;
        position: absolute;
        right: 0;
        top: 90px;
        right: 30px;
        z-index: 3;
    }
    .visual_txt_wrap{
        color: #fff;
    }
    .sub_title{
        font-size: 14px;
        line-height: 16px;
        font-weight: 700;
        color: var(--color-4);
        margin-bottom: 10px;
    }
    h1 .title_top_txt{
        font-size: 16px;
        font-weight: 700;
        line-height: 1.5;
    }
    .title_logo{
        display: inline-block;
        width: 105px;
        height: 35px;
        text-indent: -999px;
        overflow: hidden;
        background: url(/assets/img/event_membership/mvc.png) no-repeat;
        background-size: cover;
        margin-top: 10px;
    }
    h1 .title_reward{
        color: #FCDD15;
    }

    /* content */
    .content{
        background-color: var(--color-1);
        width: 100%;
        position: relative;
        padding-top: 80px;
    }
    .content::before{
        content: "";
        pointer-events: none;
        z-index: 2;
        width: 100%;
        height: 120px;
        display: block;
        position: absolute;
        top: -40px;
        clip-path: ellipse(50% 70% at 50% 100%);
        background-color: var(--color-2);
    }
    .content_inner{
        background-color: var(--color-2);
        padding-bottom: 50px;
    }

    /* content: 영화관 로고 */
    .movie_logo_wrap{
        position: relative;
        height: 85px;
    }
    .movie_logo_wrap::before{
        content: "";
        width: 50%;
        height: 2px;
        background-color: var(--color-1);
        position: absolute;
        top: 35%;
        left: 0%;
        transform: rotate(15deg);
    }
    .movie_logo_wrap::after{
        content: "";
        width: 30%;
        height: 2px;
        background-color: var(--color-1);
        position: absolute;
        top: 54%;
        right: 15%;
        transform: rotate(-11deg);
        z-index: 1;
    }
    .movie_logo_wrap div{
        background-color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 208px;
        height: 70px;
        border-radius: 15px;
        position: absolute;
        z-index: 2;
    }
    .movie_logo_wrap div::after{
        content: "";
        height: 100%;
        width: 100%;
        display: block;
        border-radius: 15px;
        background-color: #fff;
        position: absolute;
        z-index: -1;
    }
    .movie_logo_wrap div::before{
        content: "";
        height: 100%;
        width: 100%;
        display: block;
        border-radius: 15px;
        background-color: var(--color-1);
        position: absolute;
        top: 2px;
        left: 2px;
        z-index: -1;
    }
    .movie_logo_wrap img{
        width: 160px;
    }
    .movie_logo_wrap .cgv{
        left: 60px;
        top: -10px
    }
    .movie_logo_wrap .megabox{
        left: 50%;
        transform: translateX(-50%);
        top: 25px;
    }
    .movie_logo_wrap .lottecinema{
        right: 60px;
        top: -11px;
    }
    .content_visual{
        margin-top: 20px;
        text-align: center;
    }
    .content_visual_sub_txt{
        font-size: 16px;
        line-height: 21px;
        color: #FFF;
        font-weight: 400;
    }
    .content_visual_logo{
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 20px;
        padding-bottom: 50px;
        z-index: 1;
        width: 100%;
    }
    .content_visual_logo::before{
        position: absolute;
        top: -5%;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 290px;
        height: 106px;
        content: "";
        background: url(/assets/img/event_membership/content_logo_background.png) no-repeat center;
        background-size: cover;
        z-index: -1;
    }
    .content_visual_logo_img{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .content_visual_logo img{
        width: 100%;
        max-width: 180px;
    }
    .content_box_wrap{
        position: relative;
        z-index: 2;
        display: flex;
        gap: 50px;
        &.button_wrap{
            width: 100%;
        }
    }
    .content_inner_box{
        background-color: transparent;
        align-items: center;
        justify-content: center;
        border-radius: 15px;
        position: relative;
        padding: 20px 18px;
        text-align: center;
        &:not(.button){
            width: 420px;
        }
        &.button{
            margin-top: 50px;
            width: 100%;
        }
        &.content_inner_box{
            text-align: center;
            &.pay{
                text-align: left;
            }
        }
        &.pay{
            padding: 30px 70px;
        }
    }
    .content_inner_box::after{
        content: "";
        height: 100%;
        width: 100%;
        display: block;
        border-radius: 15px;
        background-color: #fff;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }
    .content_inner_box::before{
        content: "";
        height: 100%;
        width: 100%;
        display: block;
        border-radius: 15px;
        background-color: var(--color-1);
        position: absolute;
        top: 5px;
        left: 5px;
        z-index: -1;
    }
    .box_num{
        padding: 5px 15px;
        background-color: var(--color-2);
        border-radius: 15px;
        display: inline-flex;
        color: #fff;
        justify-content: center;
        align-items: center;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        margin-bottom: 10px;
    }
    .box_inner_txt{
        font-size: 18px;
        font-weight: 600;
        line-height: 24px;
    }
    .price_flex{
        display: flex;
        list-style-type: none;
        justify-content: center;
        align-self: center;
        gap: 36px;
        & li:nth-child(1){
            position: relative;
            &::after{
                background-image: url(/assets/img/event_membership/long_arrow_right.png);
                background-size: cover;
                content: "";
                width: 16px;
                height: 8px;
                display: block;
                top: calc(50% - 11px);
                right: -25px;
                position: absolute;
            }
        }
        & .p_sub{
            margin-bottom: 15px;
        }
    }
    .box_inner_sub_txt{
        & p{
            font-size: 14px;
            line-height: 1.5;
            font-weight: 600;
            &.sub{
                font-size: 12px;
                color: #999;
            }
        }
    }
    .members_price_txt{
        position: relative;
        margin-top: 23px;
        padding-top: 15px;
        &::after{
            content: "";
            position: absolute;
            left: 50%;
            top: -8px;
            width: 12px;
            height: 8px;
            background-image: url(/assets/img/event_membership/short_arrow_bottom.png);
            background-size: cover;
        }
        & b{
            color: var(--color-2);
            font-weight: 700;
        }
    }
    .price.month_price{
        gap: 5px;
    }
    .box_logo_wrap{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 20px;
    }
    .box_logo_wrap img{
        width: 160px;
    }
    .price{
        font-size: 24px;
        font-weight: 700;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 3px;
    }
    .price.sale{
        position: relative;
        color: #999;
    }
    .price span{
        font-size: 14px;
        font-weight: 400;
        line-height: 14px;
    }
    .price.sale::after{
        width: 4.5em;
        height: 1px;
        content: "";
        background-color: #999;
        top: 50%;
        left: 50%;
        display: block;
        transform: translateX(-50%) translateY(-50%);
        position: absolute;
    }
    .p_sub{
        font-size: 10px;
        font-weight: 400;
        color: #999;
        line-height: 12px;
        margin-bottom: 20px;
    }
    .box_logo{
        display: inline-block;
        width: 94px;
        height: 22px;
        text-indent: -999px;
        overflow: hidden;
        background: url(/assets/img/mpass_logo_color.svg) no-repeat;
        background-size: cover;
    }
    .join{
        padding: 16px;
        font-size: 20px;
        font-weight: 800;
        line-height: 22px;
        color: var(--color-2);
        width: calc(100% - 30px);
        height: 100%;
        display: block;
        line-height: 1.3;
    }
    .footer{
        background-color: var(--color-3);
        padding-top: 36px;
        padding-bottom: 36px;
    }
    .footer h3{
        color: #fff;
    }
    .footer ul{
        padding: 0 18px;
        margin-top: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        list-style-type: none;
        gap: 18px 29px;
    }
    .footer li{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    .footer li:not(:last-child):after{
        content: ">";
        position: absolute;
        right: -18px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--color-1);
    }
    .footer li p:nth-child(1){
        color: var(--color-1);
        font-size: 14px;
        line-height: 24px;
        font-weight: 600;
        text-align: center;
    }
    .footer li img{
        width: 28px;
        height: auto;
    }
    .footer li p:nth-child(3){
        color: #fff;
        font-size: 16px;
        line-height: 1.3;
        font-weight: 600;
        text-align: center;
        margin-top: 10px;
    }
    .inq_txt_wrap p{
        font-size: 14px;
        color: var(--color-4);
        font-weight: 400;
        margin-top: 20px;
    }
    .inq_txt_wrap h3{
        margin-top: 18px;
        margin-bottom: 10px;
    }
    .inq_txt_wrap a{
        color: #fff;
        font-weight: 600;
        text-decoration: underline;
    }
    .inq_txt_wrap a:hover{
        background-color: var(--color-1);
    }

    /* floating_button */
    .floating_button{
        width: 100%;
        height: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .content_inner_box.button{
        padding: 0;
        transition: unset;
    }
    .content_inner_box.button *{
        transition: unset;
    }
    .content_inner_box.button:hover::before{
        background-color: #fff;
    }
    .content_inner_box.button:hover::after{
        background-color: var(--color-1);
    }
    .content_inner_box.button:hover{
        background-color: transparent;
    }
    .content_inner_box.button:hover .join{
        color: #fff !important;
    }

    /* 체크박스.. 길다 */
    .check_wrap{
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        & p{
            width: 100%;
            font-size: 12px;
            line-height: 1.5;
            color: #888;
        }
    }
    input[type="checkbox"]{
        display: none;
        & + label{
            display: inline-block;
            width: 16px;
            height: 16px;
            border: 1px solid #ccc;
            background-color: #fff;
            border-radius: 5px;
            position: relative;
            cursor: pointer;
            & + label{
                margin-left: 5px;
                cursor: pointer;
                font-size: 14px;
                line-height: 1.5;
            }
        }
        &:checked + label::after{
            content: '';
            color: #fff;
            font-size: 12px;
            background: url(/assets/img/moviepass/check.svg) center center no-repeat var(--color-2);
            background-size: 9px 7px;
            width: 14px;
            height: 14px;
            border: 1px solid var(--color-4);
            text-align: center;
            position: absolute;
            left: -.5px;
            top: 0px;
            border-radius: 5px;
        }
    }
    .join_sucess a{
        margin-top: 15px;
        padding: 12px;
        width: 173px;
        color: #fff;
        font-weight: 400;
        font-size: 14px;
        text-align: center;
        display: block;
        background-color: var(--color-2);
        border-radius: 6px;
        &:hover{    
            transition: all .3s ease-out;
            background-color: var(--color-3);
            color: #fff !important;
        }
    }
    /* 결제수단선택 */
    .join_header{
        padding-bottom: 15px;
        margin-bottom: 15px;
        border-bottom: 1px solid #ddd;
        display: flex;
        align-items: center;
        justify-content: space-between;
        & h3 span{
            color: var(--color-3);
            font-weight: bold;
        }
        & .close{
            width: 14px;
            height: 14px;
            position: relative;
            cursor: pointer;
            & span{
                position: absolute;
                display: block;
                width: 100%;
                height: 2px;
                background-color: #000;
                top: 50%;
                transform: rotate(45deg);
                &:last-child{
                    transform: rotate(-45deg);
                }
            }
        }
    }
    .pay_modal{
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 99;
        & .pay_modal_bg{
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.16);
        }
        & .pay_modal_inner{
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translateX(-50%) translateY(-50%);
        }
        & .pay_modal_content{
            & p{
                font-size: 14px;
            }
        }
        & .pay_modal_button_wrap{
            display: flex;
            gap: 10px;
            margin-bottom: 10px;
            justify-content: center;
        }
        & .pay_modal_txt_wrap{
            margin-top: 15px;
            font-size: 12px;
            line-height: 1.5;
            color: #666;
            & b{
                font-weight: bold;
            }
        }
    }
    /* 로딩 */
    .loading_new{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0, 0.6);
        z-index: 999999;
        &::after{
            position: absolute;
            content: "";
            width: 180px;
            height: 180px;
            background-image: url(/assets/img/sub/Rolling-2s-200px.svg);
            background-size: cover;
            top: 50%;
            left: 50%;
            transform: translateX(-50%) translateY(calc(-50% - 50px));
        }
        &::before{
            position: absolute;
            content: "로딩 중입니다.";
            color: #fff;
            font-size: 18px;
            font-weight: bold;
            top: 50%;
            left: 50%;
            transform: translateX(-50%) translateY(calc(-50% + 70px));
        }
    }
}