/*------------------------------------------------------------
    POPUP BOX
------------------------------------------------------------*/
.popBox {
    width: 600px;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 1020;
}
.popBox .simplebar .simplebar-vertical {
    top: 20px;
    bottom: 20px;
}
@media all and (min-width: 897px) {
    .popBox {
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s;
    }
    .popBox.show {
        opacity: 1;
        visibility: visible;
    }
}
.popCover {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1005;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
}
.popCover.show {
    opacity: 1;
    visibility: visible;
}
.popInner {
    position: relative;
}
.popSub {
    z-index: 50;
    padding: 32px 32px 32px;
    max-height: calc(100vh - 80px);
    box-sizing: border-box;
    overflow-y: auto;
    border-radius: 32px;
    position: relative;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.16);
    text-align: center;
}
.spClose {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 60;
}
.popInner .popClose {
    position: absolute;
    top: 14px;
    right: 28px;
    z-index: 60;
}
.simplebar {
    height: 100%;
}
.popInner .popClose img {
    transition: none;
}
.popInner p {
    margin-bottom: 12px;
    line-height: 1.75;
    color: #000000;
}
.popInner p:last-child {
    margin-bottom: 0;
}
.popInner .centerTxt {
    margin-bottom: 38px;
    text-align: center;
}
.popInner .popTtl {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
}
.popInner .popTtl04 {
    color: #555555;
}
.popLink01 {
    max-width: 360px;
    margin: 0 auto 32px;
}
.popInner .comLink03 {
    margin: 2rem auto 0 auto;
}

.popInner .comLink03 a {
    margin: 0 auto;
    width: 12.6rem;
    height: 3.6rem;
    border: 1px solid #000;
    background-color: #F4F4F4;
    border-radius: 0.4rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
ul.cart_error_msg {
    margin: 10px auto 20px auto;
}
ul.cart_error_msg li {
    color: #FF0000;
}
.popJsBox {
    margin-bottom: 25px;
    padding: 10px 0 32px;
    background: url(../../assets/img/popup/line.png) repeat-x left bottom;
    background-size: auto 2px;
}
@media all and (min-width: 897px) {
    .popLink01 a:hover {
        background-color: #B50000;
    }
    .popInner .popClose a:hover {
        display: block;
        background: url(../../assets/img/popup/close_sp_over.png) no-repeat center;
        background-size: 39px auto;
    }
    .popInner .popClose a:hover img {
        visibility: hidden;
    }
}

@media all and (max-width: 896px) {
    .popBox {
        top: 50px;
        left: 0;
        bottom: 0;
        transform: translate(0,120%);
        transition: all 0.5s;
        max-height: calc(100% - 50px);
        width: 100%;
    }
    .popBox.show {
        transform: translateY(0);
    }
    .popInner {
        margin: 0;
    }
    .popSub {
        max-height: inherit;
        padding: 25px 20px 55px;
        box-sizing: border-box;
    }
    .popInner .popTtl {
        font-size: 2rem;
        font-weight: 900;
        color: #555555;
        line-height: 1.65;
    }
    .popInner .centerTxt {
        margin: 0 -15px 22px;
    }
    .popLink01 {
        max-width: 240px;
        margin-bottom: 25px;
    }
    .popLink01 a {
        min-height: 48px;
        font-size: 1.6rem;
        background-size: 26px auto;
    }
    .popInner .popClose {
        top: -44px;
        right: 8px;
        width: 33px;
    }
    .popInner .popTtl {
        margin-bottom: 14px;
    }
}
