@charset "UTF-8";

/****c-lightbox****/
.c-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-items: center;
    justify-content: center;
    align-items: center;
    align-content: center;
    z-index: 1000;
    touch-action: auto;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity .4s ease-in-out;
}

.c-lightbox.active {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
}

/****背景****/
.c-lightbox__bg {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    transition: opacity .4s ease-in-out;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.c-lightbox.active .c-lightbox__bg {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
}

/****關閉紐****/
.c-lightbox__box__close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 17.5px;
    height: 17.5px;
}

/****訊息框****/
.c-lightbox__box {
    display: block;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    justify-items: center;
    justify-content: center;
    width: calc(100% - 60px);
    max-width: 560px;
    padding: 50px 20px 35px 20px;
    background: #fff;
    text-align: center;
}

/**標題**/
.c-lightbox__box__head {
    display: block;
    width: 100%;
}

.c-lightbox__box__head__title {
    display: block;
    width: 100%;
    font-size: 18px;
    line-height: 1;
    color: #26262d;
}

.c-lightbox__box__head__title::after {
    content: '';
    position: relative;
    display: block;
    width: 30px;
    height: 1px;
    margin: 25px auto 15px auto;
    background: rgba(0, 0, 0, .3);
}

.c-lightbox__box__head__title__acc {
    display: block;
    width: 100%;
    font-size: 40px;
    line-height: 1;
    color: #26262d;
    font-family: "Rallisaguen-B";
    margin: 0 0 10px 0;
}

.c-lightbox__box__head__text {
    display: block;
    width: 100%;
    font-size: 15px;
    line-height: 1.6;
    color: #26262d;
    opacity: .7;
}

/**訊息內容**/
.c-lightbox__box__body {
    display: block;
    width: 100%;
}

.c-lightbox__box__body__text {
    display: block;
    width: 100%;
    font-size: 18px;
    line-height: 2;
    color: #26262d;
}

.c-lightbox__box__body__btgroup {
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    justify-items: center;
    justify-content: center;
    width: 100%;
    margin: 45px auto 0 auto;
}

.c-lightbox__box__body__btgroup__bt {
    width: calc(50% - 30px);
    max-width: 160px;
    margin: 0 7.5px;
}

@media screen and (max-width: 991px) {}

@media screen and (max-width: 767px) {}

@media screen and (max-width: 575px) {

    /****關閉紐****/
    .c-lightbox__box__close {
        top: 15px;
        right: 15px;
    }

    /****訊息框****/
    .c-lightbox__box {
        width: calc(100% - 40px);
        padding: 35px 10px;
    }

    /**標題**/
    .c-lightbox__box__head__title {
        font-size: 16px;
    }

    .c-lightbox__box__head__title::after {
        width: 20px;
        margin: 15px auto 10px auto;
    }

    .c-lightbox__box__head__title__acc {
        font-size: 35px;
        margin: 0 0 5px 0;
    }

    /**訊息內容**/
    .c-lightbox__box__body__text {
        font-size: 15px;
    }

    .c-lightbox__box__body__btgroup {
        justify-content: space-between;
        margin: 25px auto 0 auto;
    }

    .c-lightbox__box__body__btgroup__bt {
        width: calc(50% - 10px);
        max-width: none;
        margin: 0 auto;
    }
}



/****IOS樣式****/
@supports (-webkit-touch-callout: none) {}