body {
    font-family: Microsoft JhengHei;
    background-color: #F0EAEA;
}

@font-face {
    font-family: Gentium;
    src: url(../font-face/KouzanGyousho.ttf);
    font-dispaly: swap;
}

.font-family-Gentium {
    font-family: Gentium;
}

.list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.font-family-Gentium-style-xl {
    color: #7A5F1F;
    font-weight: 700;
    font-family: Gentium;
    text-align: center;
    font-size: 50px;
}

.font-family-Gentium-style-s {
    color: #7A5F1F;
    font-weight: 700;
    font-family: Gentium;
    text-align: center;
    font-size: 30px;
}

table {
    border-collapse: separate;
    border-spacing: 0;
}

.all_bg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: -1;
}

a:hover {
    color: initial;
    text-decoration: none;
}

.white-space-nowrap {
    white-space: nowrap;
}

.only-one-line {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.only-two-line {
    overflow: hidden;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hover_big {
    transition: .3s;
}

.hover_big:hover {
    transform: scale(1.04);
    transition: .3s;
}

.g-bg-logoyellow {
    background: #F1D246 !important;
}

/*直書*/
.writing-mode-vertical-lr {
    writing-mode: vertical-lr;
}

.flex-direction-column {
    flex-direction: column;
}



/*RWD Youtube 以及 Vimeo*/
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*top鍵*/
.toTop-arrow {
    width: 3rem;
    height: 3rem;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    opacity: 0.6;
    background: #000;
    cursor: pointer;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    display: none;
}

.toTop-arrow::before {
    transform: rotate(-4180deg) translate(0, -50%);
    left: 0.5rem;
}

.toTop-arrow::after {
    transform: rotate(4180deg) translate(0, -50%);
    right: 0.5rem;
}

.toTop-arrow:focus {
    outline: none;
}

/*top鍵*/

input[type="checkbox"],
input[type="radio"]:checked {
    width: 14px;
    height: 14px;
    border-radius: 2px;
    border: rgb(175, 175, 175) solid 1px;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
    background: #5b8ff1;
}

input[type="checkbox"]:focus,
input[type="radio"]:focus {
    outline: none;
}

input[type=checkbox]:checked::after,
input[type=radio]:checked::after {
    content: '';
    top: 1.3px;
    left: 1px;
    position: absolute;
    border: 2px #fff solid;
    border-top: none;
    border-right: none;
    height: 6px;
    width: 10px;
    -moz-transform: rotate(-50deg);
    -ms-transform: rotate(-50deg);
    -webkit-transform: rotate(-50deg);
    transform: rotate(-50deg);
}

input[type="radio"] {
    width: 14px;
    height: 14px;
    border-radius: 2px;
    border: rgb(175, 175, 175) solid 1px;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}

.page_start {
    max-width: 800px;
    margin: auto;
}

.min-height-100vh-hdft {
    min-height: calc(100vh - 127px);
}

.min-height-100vh-hdft2 {
    min-height: calc(100vh - 77px);
}

.header {
    background: #95531c;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-size: 14px;
}

.header a {
    display: inline-block;
    color: #fff;
    font-size: 14px;
}

.header a:hover {
    background: #5a3a06;
    color: #fff;
}

.text_orange {
    color: #D96310;
    font-weight: 700;
    font-size: 24px;
    padding: 0 10px;
}

.three_news {
    display: inline-block;
    color: #555;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.8);
    width: 100%;
    text-align: center;
    padding: 10px;
}

.three_news img {
    width: 100%;
    padding-bottom: 10px;
}

.footer_copyright {
    background: #95531c;
    color: #fff;
    padding: 8px;
    text-align: center;
}

.all_shadow {
    box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.8);
}

.pi_one,
.pi_two,
.pi_three,
.li,
.money,
.free {
    color: #fff;
    border-radius: 10px;
    text-align: center;
    padding: 25% 0;
    font-size: 30px;
    font-weight: 700;
    display: block;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.pi_one:hover,
.pi_two:hover,
.pi_three:hover,
.li:hover,
.money:hover,
.free:hover {
    color: #fff;
    transition: 1s;
}

.pi_one {
    background-image: url(../images/bg_1.jpg);
    border: 5px #500000 solid;
}

.pi_two,
.li {
    background-image: url(../images/bg_4.jpg);
    border: 5px #da4786 solid;
}

.pi_three {
    background-image: url(../images/bg_3.jpg);
    border: 5px #c2800e solid;
}

.money {
    background-image: url(../images/bg_5.jpg);
    border: 5px #0000ff solid;
}

.free {
    background-image: url(../images/bg_6.jpg);
    border: 5px #007d0f solid;
}

.pi_one:hover {
    background: #690000;
}

.pi_two:hover,
.li:hover {
    background: #ff6bab;
}

.pi_three:hover {
    background: #dd900d;
}

.money:hover {
    background: #3f43ff;
}

.free:hover {
    background: #0ab11d;
}

.signin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../images/bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 0 15px;
    width: 100%;
}


/*內頁*/
.palace_name {
    padding: 6px 2px;
    background: #95531c;
    position: relative;
    top: -2px;
    border-radius: 6px;
    color: #fff;
    white-space: nowrap;
}

.deteil_text {
    border-radius: 6px;
    background: rgb(253, 253, 253);
    border-left: 1px #0000001e solid;
    border-right: 4px #0000001e solid;
    border-bottom: 4px #0000001e solid;
    color: rgb(55, 55, 55);
    font-weight: 700;
}

.deteil_text_2 {
    color: #fff;
    border-radius: 6px;
    margin: 10px;
    padding: 20px 10px;
    font-size: 26px;
    background-image: url(../images/all_bg2.jpg);
    background-attachment: fixed;
    background-size: contain;
    background-size: cover;
    background-repeat: no-repeat;
    font-weight: 700;
}

.deteil_text_2>div {
    width: 442px;
    margin: auto;
}

.select_gender {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

.select_date {
    display: flex;
    align-items: center;
    width: 20%;
}

.select_date:nth-of-type(4) {
    width: 40%;
}

.all_btn {
    padding: 8px 10px;
    margin: 0 10px;
    border-radius: 2px;
    border: 0;
    color: #fff;
    background: #0067c2;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 1px 1px 2px 0px rgba(0, 0, 0);
    transition: all 0.3s;
    cursor: pointer;
}

.all_btn:hover {
    color: #fff;
    transform: scale(1.1);
    transition: all 0.3s;
}

.no_list {
    list-style: none;
}

.detail_title {
    padding: 8px 0;
    border-radius: 6px 6px 0 0;
    color: #fff;
    text-align: center;
    font-size: 20px;
}

.color_darkbrown {
    color: #B96D2D;
}

.bg_brown {
    background: #D79B1B;
}

.bg_brown2 {
    background: #95531c;
}

.bg_brown__hover:hover {
    background: #D79B1B;
}

.bg_darkbrown {
    background: #B96D2D;
}

.bg_pink {
    background: #FF5FA4;
}

.bg_brown {
    background: #DD900E;
}

.bg_darkblue {
    background: #0000FD;
}

.bg_green {
    background: #017C10;
}

.btn-outline-brown {
    color: #B96D2D;
    background-color: transparent;
    background-image: none;
    border-color: #B96D2D;
}

.btn-outline-warning:hover {
    color: #212529;
    background-color: #B96D2D;
    border-color: #B96D2D;
}

.btn-outline-warning:focus,
.btn-outline-warning.focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}

.btn-outline-warning.disabled,
.btn-outline-warning:disabled {
    color: #B96D2D;
    background-color: transparent;
}

.btn-brown {
    color: #fff;
    background-color: #B96D2D;
    border-color: #B96D2D;
}

.btn-brown:hover {
    color: #fff;
    background-color: #D79B1B;
    border-color: #D79B1B;
}

.btn-brown:focus,
.btn-brown.focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}

.btn-brown.disabled,
.btn-brown:disabled {
    color: #fff;
    background-color: #B96D2D;
    border-color: #B96D2D;
}


.g-min-width-288 {
    min-width: 288px;
}

.bg_yellow {
    background: rgb(255, 236, 194);
}

.box-shadow-yellow {
    box-shadow: 2px 2px 2px 1px rgb(248, 200, 95);
}

.brd-yellow {
    border: 8px rgb(255, 236, 194) solid;
}

.g-pos-abs-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 50%;
    padding: 5px;
}

.g-pos-abs-center2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
}

.satisfaction_survey {
    padding: 10px;
    background: #ffffff;
}

.menu_flex {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: initial;
}

.menu_bg_hover img {
    transition: .3s;
}

.menu_bg_hover:hover img {
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
    transition: .3s;
}

.look_all_btn {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, 0);
    display: block;
    z-index: 999;
    padding: 15px 20px;
    background: #95531c;
    color: #fff;
    font-weight: 700;
    font-size: 36px;
    width: 90%;
    text-align: center;
    box-shadow: 3px 3px 4px #252525;
    border-radius: 3px;
    transition: .3s;
}

.look_all_btn:hover {
    top: calc(15% - 10px);
    color: #fff;
    transition: .3s;
}

/*遮罩------------------*/
.mask {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    min-height: 350px;
    /* display: flex;
    align-items: center; */
    font-weight: 700;
    padding: 10px;
    position: relative;
}

.mask_year {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 90px;
    color: #0079E2;
    -webkit-text-stroke: 3px #fff;
    font-family: sans-serif;
}

.mask_title {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translate(0, -50%);
    text-align: center;
    -webkit-text-stroke: 2px #fff;
    /* font-family: NSimSun; */
    font-size: 80px;
    color: #D89C1A;
    display: inline-flex;
}

.mask_title>span {
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;
}

.mask_content {
    position: absolute;
    left: 2%;
    bottom: 5%;
    font-size: 19px;
    color: #fff;
    width: 60%;
    overflow: hidden;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-family: NSimSun;
}


/*最新消息--------------*/
.news_box {
    display: flex;
    align-items: center;
    padding: 5px;
    background: #ffec98;
    color: #000;
    transition: .3s;
}

.news_box:hover {
    background: #F1D246;
    transition: .3s;
}


/*註冊頁---------------*/
.signup_input {
    padding: .375rem .75rem;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    width: 100%;
    max-width: 670px;
}

.enrollment_city_input {
    width: 100%;
    max-width: 548px;
    padding: .375rem .75rem;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

.signup_address {
    margin: 2px 0;
}

.terms_btn {
    border: 0;
    background: initial;
    padding: 0;
    cursor: pointer;
    margin-left: -4px;
    color: rgb(175, 0, 0);
    font-weight: 700;
    font-size: 17px;
}

/*會員中心--------------------*/
.member_btn {
    padding: 15px 8px;
    text-align: center;
    background: #fff491;
    color: #000;
    font-weight: 700;
    width: 25%;
    border-right: 1px #fff solid;
    ;
}

.member_btn:last-child {
    border: 0;
}

.member_btn:hover {
    color: #000;
}

/*會員購買紀錄----------------*/
.brd-darkred {
    border-left: 2px #a10f2b solid;
    border-right: 2px #a10f2b solid;
    border-bottom: 2px #a10f2b solid;
}

.consumption_remaining {
    width: 100%;
    margin: 10px 0;
    padding: 8px 0;
    font-weight: 700;
    font-size: 18px;
    background: #f5f5f5;
    border-bottom: 2px #ccc solid;
    display: flex;
    justify-content: center;
    align-items: center;
}

.consumption_date {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.consumption_detail {
    position: relative;
    padding: 2px 5px;
    border-radius: 6px;
    width: calc(100% - 92px);
    font-size: 17px;
    text-align: center;
}

/*---------------------------*/

/* -----------線上算命彈跳視窗----------- */
#hidebg {
    position: absolute;
    left: 0px;
    top: 0px;
    background-color: #002;
    width: 100%;
    /*寬度設定為100%，這樣才能使隱藏背景層覆蓋原頁面*/
    filter: alpha(opacity=30);
    /*設定透明度為60%*/
    opacity: 0.3;
    /*非IE瀏覽器下設定透明度為60%*/
    display: none;
    z-Index: 2;
}

/* 彈出視窗 */
#hidebox {
    position: fixed;

}

.modal-content .modal-title {}

.popup_close {
    transition: transform 0.8s ease;
}

.popup_close:hover {
    transform: scale(1.8);
}

.popup_close:active {
    outline: none;
}


/*縣市區---------------------*/
.county {
    background-color: #4169E1;
    color: #fff;
}

.district {
    background-color: #008000;
    color: #fff;
}

/*---------------------------*/



/*分享按鈕--------------------*/
.product-whatsapp-share {
    background-color: #1EBEA5;
    padding: 3px 6px;
    border-radius: 6px;
    color: #fff;
    font-size: 15px;
}

.product-mail-share {
    background-color: #DE5449;
    padding: 3px 6px;
    border-radius: 6px;
    color: #fff;
    font-size: 15px;
}

.product-whatsapp-share i,
.product-mail-share i {
    font-size: 18px;
}

.product-whatsapp-share:hover,
.product-mail-share:hover {
    color: #fff;
}

/*---------------------------*/




/*浮動LINE--------------------*/
.line_fix {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translate(0, -50%);
    text-align: center;
    background: #04c303;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    border-radius: 7px;
    padding-bottom: 5px;
    box-shadow: 3px 3px 2px #a8a8a8;
    transition: .3s;
}

.line_fix:hover {
    color: #fff;
    opacity: .8;
    transition: .3s;
}

.line_fix img {
    width: 40px;
}

.line_contact {
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;
}

/*---------------------------*/
@media (max-width:991px) {
    .line_fix {
        opacity: .5;
        font-size: 16px;
        right: 10px;
    }

    .line_fix img {
        width: 35px;
    }

    .line_fix:hover {
        opacity: 1;
    }

    .look_all_btn {
        font-size: 27px;
        top: 5%;
    }
}

@media(min-width:768px) {
    .w100-50--sm {
        width: calc(100% - 50px) !important;
    }

    .w100-109--sm {
        width: calc(100% - 109px) !important;
    }


    .singin_input {
        width: calc(100% - 104px);
    }

    .signup_address {
        width: calc(33.333333% - 0.35714rem);
    }

    input.signup_address {
        width: 33.333333%;
    }
}

@media (max-width:767px) {
    .font-family-Gentium-style-xl {
        font-size: 40px;
    }

    .font-family-Gentium-style-s {
        font-size: 22px;
    }

    .mask {
        min-height: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mask_content {
        display: none;
    }

    .mask_year {
        position: initial;
        top: auto;
        right: auto;
        left: auto;
        transform: initial;
        text-align: center;
        font-size: 50px;
        -webkit-text-stroke: 1px #fff;
    }

    .mask_title {
        display: block;
        position: initial;
        top: auto;
        right: auto;
        left: auto;
        transform: initial;
        font-size: 50px;
        -webkit-text-stroke: 1px #fff;
    }

    .mask_title>span {
        -webkit-writing-mode: initial;
        writing-mode: initial;
    }

    .select_date {
        width: 100% !important;
        padding-bottom: 4px;
    }
}

@media(max-width:575px) {

    /* 彈出視窗 */

    .modal-content .modal-title {
        font-size: 1.3rem;
    }

    .member_btn {
        width: 50%;
    }

    .member_btn:nth-child(1) {
        border-bottom: 1px #fff solid;
        ;
    }

    .member_btn:nth-child(2) {
        border-bottom: 1px #fff solid;
        ;
        border-right: 0;
    }

    .back_btn,
    .clear_btn,
    .send_out_btn {
        margin: 0 5px;
    }

    .deteil_text_2 {
        font-size: 16px;
    }

    .deteil_text_2>div {
        width: 272px;
    }

    .all_btn {
        width: 100%;
        margin: 4px 10px;
    }

    .pi_one,
    .pi_two,
    .pi_three,
    .li,
    .money,
    .free {
        font-size: 20px;
    }

    .header {
        display: block;
        text-align: center;
    }

    .news_box {
        display: block;
    }

    .font-family-Gentium-style-xl {
        font-size: 30px;
    }

    .font-family-Gentium-style-s {
        font-size: 20px;
    }

    .mask {
        min-height: 200px;
    }
}

@media(max-width:414px) {
    /* 彈出視窗 */

    .modal-content .modal-title {
        font-size: 1.05rem;
    }

    .font-family-Gentium-style-xl {
        font-size: 20px;
    }

    .font-family-Gentium-style-s {
        font-size: 12px;
    }

    .mask {
        min-height: 150px;
    }
}