@charset "utf-8";

/****************** 基本 ******************/
* {
    font-family: "微軟正黑體", "Microsoft JhengHei", Arial, Geneva, sans-serif;
}

body {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.8;
    color: #777777;
    color: #323232;
    background-color: #fff;
    height: 100%;
    position: relative;
}

@media screen and (max-width: 1400px) {
    body {
        padding-top: 60px;
    }
}

hr {
    border-top: 1px solid #afafaf;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #000;
    font-weight: 400;
}

p {
    margin-bottom: 1.5em;
}

a {
    color: #009999;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

a:hover,
a:active,
a:focus,
a:visited {
    color: #006464;
    outline: none;
    text-decoration: none;
}

img,
object,
embed,
video {
    max-width: 100%;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: #000;
    opacity: .2;
}

/*
--- 按鈕 btn ---*/
.btn:hover,
.btn:active,
.btn:focus {
    background: #796335 !important;
    color: #fff !important;
    outline: none !important;
}

.btn {
    border-radius: 0px;
}

.btn.btn-primary {
    background: #be8e28;
    color: #fff;
    border: none !important;
    border: 2px solid transparent !important;
    display: inline-block;
    margin-top: 28px;
}


.btn.btn-notice {
    background: #be8e28;
    color: #fff;
    border: none !important;
    border: 2px solid transparent !important;
    display: inline-block;
    margin-top: -60px;
}

@media screen and (max-width: 576px) {
    .btn.btn-lg {
        padding-top: 10px;
        padding-right: 8px;
        padding-left: 8px;
        padding-bottom: 10px;
        font-size: 16px;
    }
}

/*
--- 切換裝置顯示項目 ---*/
#line {
    display: block;
}

#line_m {
    display: none;
}

@media screen and (max-width: 576px) {
    #line {
        display: none;
    }

    #line_m {
        display: block;
    }
}

/****************** 導覽列 navbar ******************/
.navbar {
    background-color: #f8f8f8;
    border-bottom: 1px solid #e8e8e8;
    padding: 0;
}

/*
--- 聯邦LOGO navbar-brand ---*/
.navbar-brand {
    padding-right: 0;
}

.navbar .navbar-brand {
    margin-right: 50px;
    margin-left: 20px;
    width: 250px;
    height: 70px;
    background: url(../../../../include/images/UBLogo.png) no-repeat 0 50%;
    background-size: contain;
}

.navbar-header .navbar-brand img {
    width: 90%;
}

.navbar-light .navbar-toggler {
    border: none;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 153, 153, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar-light .navbar-toggle .icon-bar {
    background-color: #009999;
}

.navbar-light .navbar-nav .nav-link {
    color: rgba(0, 0, 0, .9);
}

.navbar-light .navbar-toggle:hover,
.navbar-light .navbar-toggle:focus {
    background-color: #f8f8f8;
}

.navbar-nav>li>a {
    margin-left: 15px;
    margin-top: 10px;
    display: block;
}

.navbar-light .navbar-nav>li>a:hover,
.navbar-light .navbar-nav>li>a:focus {
    color: #009999;
    background-color: transparent;
}

.navbar-light .navbar-nav>.active>a,
.navbar-light .navbar-nav>.active>a:hover,
.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav>.active>a:focus {
    color: #009999;
}

.navbar-toggle {
    margin-top: 13px;
    margin-bottom: 15px;
    border: 0px;
    border-radius: 0px;
}

/*
--- 導覽列下拉dropdown-menu ---*/
.dropdown-menu {
    background-color: rgba(255, 255, 255, 0.8);
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: #009999;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #eaeaea;
}

@media screen and (max-width: 1200px) {
    .navbar .navbar-brand {
        margin-right: 0px;
        margin-left: 20px;
        width: 180px;
        height: 60px;
        /* 60 only*/
    }
}

@media screen and (max-width: 576px) {
    .navbar .navbar-brand {
        margin-right: 15px;
        margin-left: 15px;
    }
}

/****************** 輪播 carousel  ******************/
.carousel-indicators li {
    width: 10px;
    height: 10px;
    opacity: .8;
    border-radius: 50px;
    border: 1px solid #dedede;
    background-color: #bbbbbb;
}

.carousel-indicators .active {
    background-color: #009999;
}

/*
--- 主視覺 ---*/
.topimg1 {
    background-image: url(../images/top.jpg) !important;
}

.topimg2 {
    background-image: url(../images/top_2.jpg) !important;
}

.topimg3 {
    background-image: url(../images/top_3.jpg) !important;
}

@media screen and (max-width: 1400px) {
    .topimg2 {
        background-image: url(../images/top_2_1400.jpg) !important;
    }
}

@media screen and (max-width: 576px) {
    .topimg1 {
        background-image: url(../images/top_m.jpg) !important;
    }

    .topimg2 {
        background-image: url(../images/top_2m.jpg) !important;
    }

    .topimg3 {
        background-image: url(../images/top_3m.jpg) !important;
    }

}

/****************** 版面 Container ******************/
.gridContainer {
    width: 100%;
    clear: none;
    float: none;
    margin-left: auto;
    margin-right: auto;
    background-size: cover;
}

@media only screen and (max-width: 768px) {
    .gridContainer {
        width: 100%;
        margin: auto;
        clear: none;
        float: none;
        margin-left: auto;
        background-size: cover;
    }
}

.breezeFood,
.breezeCoffee,
.cardFriend,
.breezeGift,
.breezeApply {
    background-color: #f8f4ec;
}

/*
--- 活動主版 mainArea ---*/
.mainArea {
    padding-top: 50px;
    padding-bottom: 100px;
}

.mainArea h2 {
    /* 活動主標 */
    color: #be8f28;
    font-weight: 600;
    font-size: 19pt;
    margin: 0 auto 10px;
    width: 380px;
    max-width: 100%;
    padding-top: 10px;
    padding-bottom: 5px;
    line-height: 28pt;
    text-align: center;
}

.mainArea h2 small {
    color: #333333;
}

.mainArea h3.date {
    /* 活動起訖日+對象 */
    line-height: 1.5;
    font-size: 1.5rem;
}

.mainArea h4 {
    /* 活動敘述文 */
    color: #2E2E2E;
    font-size: 15pt;
    line-height: 1.5;
    padding-top: 10px;
    text-align: center;
}

.mainArea h5 {
    /* 內文區塊下方備註 */
    color: #2A2A2A;
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
    padding-left: 10px;
    padding-right: 10px;
}

.mainArea p {
    color: #000000;
    font-size: 13pt;
    text-align: center;
    margin-bottom: 0px;
}

.mainArea img {
    display: block;
    margin: 0px auto;
    text-align: center;
}

@media screen and (max-width: 576px) {
    .mainArea {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .mainArea h3.date {
        /* 活動起訖日+對象 */
        font-size: 1rem;
    }

    .mainArea h4 {
        /* 活動敘述文 */
        font-size: 14pt;
        line-height: 1.5;
    }
}

/*
--- 活動內文區塊 mainText ---*/
.mainText {
    width: 100%;
    font-size: 24px;
    color: #545559;
    margin-top: 38px;
    margin-bottom: 15px;
    line-height: 50px;
    padding: 30px 20px;
    text-align: center;
}

.mainText h3 {
    background-color: #5f3362;
    width: 320px;
    max-width: 100%;
    margin: -50px auto 0;
    padding: 5px;
    color: #fff;
    font-weight: 600;
}

.mainTextBorder {
    border: 1px solid #5f3362;
    border-radius: 15px;
}

/* 兩格框間距 */
.dualCard {
  padding: 28px 25px;
}

@media (min-width: 1024px) {
  .dualCard {
    padding: 28px 110px;
  }
}


.actBox {
    width: 100%;
    display: flex;
    margin: 30px auto 30px;
    justify-content: space-evenly;
}

/* 針對ie 沒有space-evenly屬性調整 */
@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
    .actBox {
        justify-content: center;
    }
}

.actBox ul {
    text-align: left;
    font-size: 20px;
    margin-top: 20px;
    list-style-type: square
}

.actBox h4 {
    text-align: left;
}

/* 左右框格一樣大小 */
@media (min-width: 768px) {
  .row.equalCards > [class*="col-"] {
    display: flex;
  }
  .row.equalCards > [class*="col-"] > .mainText.mainTextBorder {
    width: 100%;
    height: 90%;
  }
}


.bonusCtn {
    width: 680px;
    max-width: 100%;
}

.movieactBox {
    width: 100%;
    display: flex;
    margin: 30px auto 30px;
    justify-content: space-evenly;
    align-items: center;
    justify-content: center; 
}

.movieBox {
    /* margin-top: 20px; (兩格的時候) */
    margin-top: 40px;
    margin-bottom: 20px;
}

.movieBox .smallTitle {
    display: block;
    /* width: 200px; (兩格的時候)*/
    width: 370px;
    /*(一格的時候)*/
    margin: 0px auto 0;
    border-radius: 10px 10px 0 0;
}

.movieBox h4 {
    color: #5f3362;
    text-align: center;
}

.giftArea {
    padding: 30px 5px;
}

.giftArea h5 {
    text-align: center;
}

.giftBox {
    width: 100%;
    display: flex;
    margin: 30px auto 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.giftUp {
    width: 1000px;
    max-width: 100%;
    margin: 20px auto;
    padding-top: 50px;
    padding-bottom: 20px;
    border-top: 1px solid #cfbbd1;
    /* border-bottom: 1px solid #cfbbd1; */
}

.giftUpCtn {
    padding-top: 20px;
}

h5.giftUpMemo {
    width: 1000px;
    max-width: 100%;
    text-align: left;
    margin: 10px auto;
}

.cardFriendCtn {
    cursor: pointer;
    padding: 10px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.cardFriendCtn p {
    font-size: 20px;
    font-weight: 600;
    color: #525252;
}

.cardFriendCtn img {
    border: #be8f28 2px solid;
    border-radius: 15px;
}

.otherBox {
    margin-top: 20px;
    margin-bottom: 20px;
}

.otherBox p {
    font-size: 20px;
    font-weight: 600;
    color: #525252;
    line-height: 1.2;
    margin-top: 5px;
}

.breezeAppImg {
    margin-bottom: 20px;
}

.breezeAppImg img {
    border-radius: 15px;
}

.applyArea {
    display: flex;
    justify-content: center;
    margin-top: 0;
}

.applyBoxCtn {
    width: 100%;
    display: flex;
    margin: 20px auto 0;
}

.applyBoxBtn {
    display: flex;
    justify-content: center;
}

.applyBox h5 {
    text-align: center;
}


.saleBox h3 {
    text-align: left;
    background-color: #fff;
    width: 400px;
    max-width: 100%;
    margin: 20px 0 5px;
    padding: 0;
    color: #5f3362;
    font-weight: 600;
    padding-left: 10px;
}

.saleBox h4 {
    line-height: 2;
    text-align: left;
    padding-left: 10px;
}

.saleBox h5 {
    margin-top: 25px;
}

.saleBox img {
    margin: 0;
}

.icon01::before {
    content: url(../images/icon_01.png);
    position: relative;
    top: 10px;
}

.icon02::before {
    content: url(../images/icon_02.png);
    position: relative;
    top: 10px;
}

.icon03::before {
    content: url(../images/icon_03.png);
    position: relative;
    top: 10px;
}

.icon04::before {
    content: url(../images/icon_04.png);
    position: relative;
    top: 10px;
}


@media screen and (max-width: 768px) {
    .movie {
        padding: 0 100px;
    }

    .movieactBox {
        display: block;
    }

    .movieBox .smallTitle {
        width: 475px;
        /*(一格的時候)*/
    }
}

@media screen and (max-width: 576px) {
    .movie {
        padding: 0;
    }

    .actBox {
        flex-wrap: wrap;
    }

    .actBox ul {
        font-size: 18px;
        line-height: 30px;
    }

    .giftBox {
        flex-wrap: wrap;
    }

    .applyArea {
        flex-wrap: wrap;
    }

    .saleBox h3 {
        font-size: 22px;
    }
}

/* 文字特殊狀態(紅字、變大、粗體等) */
.reward {
    font-size: 24px;
    color: #d60000;
    font-weight: 600;
    margin-right: 2px;
    margin-left: 2px;
}



.bigSale {
    font-size: 32px;
    font-weight: 800;
}

h4.wordCenter {
    text-align: center;
}

.purple {
    color: #5f3362;
    font-weight: 600;
}

.textR {
    color: #d60000;
}

.shoppingGift {
    cursor: pointer;
}

.flex-container {
    flex-direction: row;
}

.flexBox {
    display: flex;
    justify-content: space-between;
    align-content: stretch;
}

.modal-header {
    background: #be8e28;
}

.modal-header h5 {
    color: #fff;
    font-weight: 600;
}

.modal-dialog {
    width: 950px;
    max-width: 100%;
}

@media screen and (max-width: 991px) {
    .flexBox {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;

    }
}

@media screen and (max-width: 576px) {
    .mainText .title {
        font-size: 1.5rem;
    }

    .reward {
        font-size: 20px;
    }

    h4.wordLeftPhone {
        text-align: left;
    }

}

/*
--- 備註文字 ---*/
.memoTable {
    font-size: 15px;
}

.memoTable td {
    vertical-align: top;
}

/*
--- 活動表格 ---*/
.mainArea .table {
    margin-top: 20px;
}

.mainArea .table thead th {
    height: 15px;
    background-color: #5f3362;
    color: #fff;
}

.mainArea .table-bordered th,
.mainArea .table-bordered td {
    padding: 3px;
    border: 1px solid #cfbbd1;
    vertical-align: middle;
    background-color: #fff;
}

.mainArea .table-bordered {
    text-align: center;
    line-height: 2;
    vertical-align: middle;
    border-width: 1px;
    border-color: #ddd;
    padding: 10px;
}

@media screen and (max-width: 576px) {
    .mainArea .table thead th {
        font-size: 17px;
    }

    .mainArea .table-bordered td {
        font-size: 17px;
    }

    .mainArea .table-bordered {
        line-height: 1.5;
    }
}

/* 新戶首刷分頁籤 */
.breezeTab {
    margin-top: 20px;
    width: 50%;
    text-align: center;
    color: #5f3362;
    font-size: 20px;
    font-weight: 600;
    border-radius: 10px 10px 0 0;

}

a.breezeTab {
    color: #5f3362;
}

.breezeTab.active {
    background-color: #5f3362;
    color: #fff;
}

.tab-pane {
    background: #ffff;
    border-radius: 15px;
    margin-top: 10px;
    padding-top: 25px;
}

@media screen and (max-width: 576px) {
    .breezeTab {
        font-size: 18px;
    }
}



/*
--- 注意事項 ---*/
.noticeDesc h4 {
    text-align: left;
    font-size: 1.3rem;
    font-weight: 600;
}

ul.list-style {
    margin-bottom: .3rem;
    padding: 0 0 0 20px;
}

/*
--- 注意事項表格 exTable ---*/

#exTable table th,
#exTable table td {
    text-align: center;
    font-size: 16px;
    border: 1px solid #ccc;
    vertical-align: inherit;
}

#exTable table th {
    color: #fff;
    background-color: #5f3362;
}

#exTable .wordLeft {
    text-align: left;
}

/*
--- 館內折扣櫃位 exTableA ---*/
#exTableA {
    margin: 0 50px;
}

#exTableA table th,
#exTableA table td {
    text-align: center;
    font-size: 16px;
    border: 1px solid #ccc;
    vertical-align: inherit;
    padding: 0 20px;
}

#exTableA table th {
    color: #fff;
    background-color: #5f3362;
}

#exTableA .wordLeft {
    text-align: left;
}

@media screen and (max-width: 576px) {
    #exTableA {
        margin: 0;
    }
}

/*
--- 版權宣告footer ---*/
#footer {
    background-color: #eeeeee;
}

/* .copyright {} */

.copyright a {
    color: #7f7f7f;
    outline: none;
    text-decoration: none;
}

.copyright h4,
.copyright h5 {
    margin-top: 15px;
}

.copyright h4 {
    font-size: 26px;
    text-align: right;
}

.copyright h5 {
    font-size: 12px;
    text-align: left;
    color: #777;
    margin-left: 70px;
}

.copyright p {
    font-size: 16px;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
}

.copyright .list-inline {
    margin-bottom: 0;
}

@media screen and (max-width: 992px) {
    .copyright h4 {
        font-size: 20px;
        text-align: center;
    }

    .copyright h5 {
        font-size: 12px;
        margin-left: auto;
    }

    .copyright p {
        font-size: 12px;
        text-align: center;
    }
}

@media only screen and (max-width: 768px) {
    #footer {
        padding: 10px 0;
        color: #7f7f7f;
        background-color: #eeeeee;
    }

    #footer .copyright {
        margin-bottom: 0px;
        padding-bottom: 0;
    }

    .copyright h5 {
        text-align: center;
    }

    .copyright a {
        color: #7f7f7f;
        outline: none;
        text-decoration: none;
    }
}

#footerStyle {
    width: 100%;
    background-color: #f4f4f4 !important;
}

.saleBox .marginCenter img {
    display: block;
    margin: auto;
}

/* ---- index 浮動按鈕 ---------------*/
#CusSer {
    display: block;
    position: fixed;
    right: 0;
    width: 55px;
    z-index: 20;
    top: 30%;
}

@media screen and (max-width: 768px) {
    #CusSer {
        display: none;
    }
}

.giftModalBox {
    max-width: 730px;
}

.loveBox {
    align-items: center;
}

.loveCtn {
    margin: 15px;
    width: 100%;
    max-width: 400px;
}

.loveCtn h4 {
    line-height: 2;
}

/* animate */
.js .to-animate,
.js .to-animate-2,
.js .single-animate .js .animate-single {
    opacity: 0;
}

.js .animate-box {
    opacity: 0;
}


.nav-tabs .nav-link {
    /* background-color: #fff; */
    color: #5f3362;
    /* border: #5f3362 1px; */
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    background-color: #5f3362;
    color: #fff;
}


@media screen and (max-width: 576px) {
    .navb {
        padding: 24px;
    }
}

.textRed,
.noticeRed {
    color: red;
}

/* btn_立即申辦 */

.btn_apply-card {
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem .5rem;
    text-align: center;
    line-height: 1.2;
    /* border-radius: 20px 0 0 20px; */
    border-top-left-radius: 20px;
    border: 2px solid #5f3462;
    color: #ffffff;
    background-color: #5f3462;
    position: fixed;
    right: 0;
    /* bottom: 20rem; */
    bottom: 38.5rem;
    width: 2.6rem;
    cursor: pointer;
    -webkit-transform: translateY(120px);
    transform: translateY(120px);
    -webkit-transition: .3s;
    transition: .3s;
    opacity: .8;
    z-index: 10;
}

.btn_apply-card.show {
    right: 120px;
    opacity: 1;
}

.btn_apply-card:after {
    content: "立即申辦";
}


.btn_apply-card:hover {
    background-color: #5f3462;
    color: #ffffff;
    opacity: 1;
}

.btn_apply-card:hover:before {
    transform: translateX(-15px) translateY(-10px);
    opacity: 1;
}

.btn_apply-card:focus {
    outline: none;
}

.btn_apply-card .dropdown-menu {
    display: block;
    height: 113px;
    top: -2px;
    left: auto;
    right: -161px;
    padding: 0;
    margin: 0;
    border: 1px solid #5f3462;
    border-radius: 0;
    opacity: 1;
}

.btn_apply-card .dropdown-item {
    padding: .75rem 1.5rem;
    line-height: 2;
}

.btn_apply-card .dropdown-item:hover,
.btn_apply-card .dropdown-item:focus {
    color: #ffffff;
    background-color: #5f3462;
}


/* btn 最新活動 */

.btn_new {
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    line-height: 1.2;
    color: #ffffff;
    border: 2px solid #ce9e5f;
    background-color: #ce9e5f;
    position: fixed;
    right: 0;
    bottom: 24rem;
    width: 2.6rem;
    opacity: 1;
    z-index: 10;
}

.btn_new:hover {
    border: 2px solid #ce9e5f;
    background-color: #ce9e5f;
    opacity: .8;
}

.btn_new a {
    display: block;
    padding: 1rem .5rem;
    text-decoration: none;
}

/* btn 微風黑鑽/晶鑽無限卡 */

.btn_Diamond {
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    line-height: 1.2;
    border-bottom-left-radius: 20px;
    color: #ffffff;
    border: 2px solid #0f1937;
    background-color: #0f1937;
    position: fixed;
    right: 0;
    bottom: 10rem;
    width: 2.6rem;
    opacity: 1;
    z-index: 10;
}

.btn_Diamond:hover {
    border: 2px solid #0f1937;
    background-color: #0f1937;
    opacity: .8;
}

.btn_Diamond a {
    display: block;
    padding: 1rem .5rem;
    text-decoration: none;
}

.Modalf {
    display: flex;
}

.Modalf img {
    width: 50%;
}

@media screen and (max-width: 576px) {
    .Modalf {
        display: flex;
        flex-direction: column;
        align-items: center
    }

    .Modalf img {
        width: 100%;
    }
}

.happybreeze {
    padding: 0 15px;
}
/*
--- 歡樂微風日表格 happyTable ---*/

#happyTable table th,
#happyTable table td {
    text-align: center;
    font-size: 16px;
    border: 1px solid #ccc;
    vertical-align: inherit;
}

#happyTable table th {
    color: #fff;
    background-color: #5f3362;
}

#happyTable .wordLeft {
    text-align: left;
}

@media (max-width: 768px) {
  #happyTable .table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

 #happyTable .table th,
 #happyTable .table td {
    min-width: 160px;
    white-space: normal;
    vertical-align: top;
  }

 #happyTable .table img {
    width: 100%;
    height: auto;
    display: block;
  }
}

/* 手機板滾輪 */
@media (max-width: 768px) {
  .table-wrap::before {
    content: "左右滑動查看更多";
    display: block;
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
  }
}

/*
--- 活動內文區塊 mainText ---*/

.mainText_Gift {
    width: 100%;
    font-size: 24px;
    color: #545559;
    margin-top: 56px;
    margin-bottom: 15px;
    /* line-height: 50px;
    padding: 30px 20px; */
    text-align: center;
}

.mainText_Gift h3 {
    width: 420px;
    max-width: 100%;
    margin: -33px auto 0;
    padding: 5px;
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    font-size: 3rem;
    background: linear-gradient(35deg, #f9ecd1, #be8e28, #f6dca5, #be8e28);
    /* 需要光波效果的顏色過渡 */
    background-size: 400% 400%;
    /* 擴展背景範圍，讓動畫變化顯著 */
    animation: lightWave 10s ease-in-out infinite;
    /* 添加動畫 */
}

@keyframes lightWave {
    0% {
        background-position: 0% 0%;
    }

    25% {
        background-position: 100% 100%;
        /* 背景向對角線方向移動 */
    }

    50% {
        background-position: 0% 0%;
    }

    75% {
        background-position: 100% 100%;
        /* 背景向對角線方向移動 */
    }

    100% {
        background-position: 0% 0%;
    }
}

.mainTextBorder_Gift {
    border: 2px solid #be8e28;
    border-radius: 15px;
}

.actBox_Gift {
    width: 100%;
    display: flex;
    margin: 30px auto 30px;
    justify-content: space-evenly;
    align-items: center;
}

.giftBox {
    display: flex;

}

.giftBox2 {
    padding-right: 40px;
    width: 43%;
}

.giftBox h4 {
    color: #2E2E2E;
    font-size: 18pt;
    line-height: 2.2;
    text-align: left;
    padding: 30px 30px 30px 70px;

}

.reward3 {
    color: #5f3462;
    font-weight: 600;
}

@media screen and (max-width:1400px) {
    .actBox_Gift {
        margin: 10px auto 10px;
    }
}

@media screen and (max-width:1200px) {
    .actBox_Gift {
        margin: 10px auto 10px;
    }

    .giftBox2 {
        padding: 0 25px;
    }

    .giftBox h4 {
        line-height: 1.7;
        padding: 0px 30px;
    }
}

@media screen and (max-width:992px) {
    .giftBox2 {
        width: 80%;
    }

    .actBox_Gift {
        display: flex;
        margin: 30px auto 0px;
        justify-content: space-evenly;
        align-items: center;
        flex-direction: column-reverse
    }
}

@media screen and (max-width:576px) {
    .giftBox2 {
        width: 100%;
        padding: 0;
    }

    .giftBox h4 {
        font-size: 14pt;
        line-height: 2;
        padding: 0px 0px;
    }

    .mainText_Gift h3 {
        width: 320px;
        font-size: 2rem;
    }
}




/* 三欄表格 */
.discountBox{
  text-align: center;
}

.discountTop{
  font-size: 20px;
  line-height: 1.3;
  margin-top: 30px;
  margin-bottom: 12px;
}


.discountGrid{
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  align-items: center;
  gap: 0;
  margin: 25px auto 10px;
}

.discountDivider{
  width: 1px;
  height: 120px;
  background: #5f3362;
  opacity: 0.5;
}

.discountItem{
  padding: 10px 18px;
}

.discountIcon{
  width: auto;
  height: auto;
  display: inline-block;
  margin-bottom: 10px;
}

.discountTitle{
  font-size: 25px;
  line-height: 40px;
  margin-bottom: 4px;
  font-weight: 600;
}

.discountRate{
  line-height: 1;
}

.discountRate .reward{
  font-size: 56px;   /* 9 的大字 */
  color: #d40000;
  font-weight: 800;
}

.discountRate .rateText{
  font-size: 22px;
  margin-left: 4px;
}

.discountNote{
  color: #d40000;
  font-size: 14px;
  line-height: 22px;
  margin-top: 10px;
}

/* 手機：三欄改直排 */
@media (max-width: 767px){
  .discountGrid{
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .discountDivider{
    display: none;
  }
}


.giftImg{
  text-align: center;
  margin: 30px 0;
}

/*
  --- mainAct ---*/

.mainAct {
	padding-top: 14px;
	padding-bottom: 30px;
}

.mainAct a:hover {
	text-decoration: none;
}

.mainAct .list-group {
	flex-direction: row;
	justify-content: center;
}

.mainAct .list-group-item {
	border: 1px solid #FFFFFF;
	border-radius: 10px;
	color: #CA8314;
	font-weight: bold;
	text-align: center;
	max-width: 200px;
	margin: 10px 12px;
	padding: .25rem .75rem;
}

.mainAct .list-group-item.active {
	background-color: #CA8314;
	border-color: #CA8314;
	color: #FFFFFF;
}

.mainAct .list-group-item+.list-group-item.active {
	margin: 10px 12px;
}

.mainAct .list-group-item span {
	padding-left: 3px;
	padding-right: 3px;
	font-size: 1.3rem;
}

@media screen and (max-width: 560px) {
	.mainAct .list-group-item {
		margin: 10px 5px;
		padding: .25rem .75rem;
	}

	.mainAct .list-group-item+.list-group-item.active {
		margin: 10px 5px;
	}
}

/* 圖片切換 lg/sm */

.swiper-slide .img-lg {
	display: block!important;
}

.swiper-slide .img-sm {
	display: none!important;
}

@media screen and (max-width: 768px) {
	.mainAct .list-group {
		flex-wrap: wrap;
	}


	.swiper-button-prev,
	.swiper-button-next {
		height: auto;
		width: auto;
		background-color: transparent;
	}

	.swiper-button-prev {
		left: 10px;
	}

	.swiper-button-next {
		right: 10px;
	}
}

@media screen and (max-width: 768px) {

	/* 圖片切換 lg/sm */
	.swiper-slide .img-lg {
		display: none!important;
	}

	.swiper-slide .img-sm {
		display: block!important;
	}
}

@media screen and (max-width: 560px) {
	.mainAct {
		margin-bottom: 0;
	}
}

/*
  ----- Swiper -------------------------------*/
  /* 0908 微調.buttonforSW樣式/位置  */

.buttonforSW:active,
.buttonforSW:visited {
	/* color: #434343; */
}

.buttonforSW,
.buttonforSW:visited {
	color: #CA8314;
	border: 1px solid #CA8314;
	/* background-color: #f2feff; */
	padding: 0.25rem 0.5rem;
	font-size: 0.875rem;
	line-height: 1.5;
	/* border-radius: 0.2rem; */
}

.buttonforSW:hover,
.buttonforSW:focus,
.buttonforSW:active {
	background-color: #CA8314;
	color: #fff;
	border-color: #CA8314;
	border-width: thin;
}

/* .buttonforSW:active,.buttonforSW:visited{
    color: #434343;
    border-color: rgba(183,183,183,1.00);
    border-width: thin;
} */

@media screen and (max-width: 992px) {
	.buttonforSW {
		/* position: absolute; */
		margin-top: 30px;
		padding: 3px 10px;
		text-align: center;
		line-height: 24pt;
		font-size: 13px;
		font-weight: bold;
		/* border: 1px solid #ccc; */
		/* color: #434343; */
		background-color: #fff;
	}

	.buttonforV {
		padding: 8px 25px;
	}
}

@media screen and (max-width: 768px) {
	.buttonforSW {
		margin-top: 30px;
		padding: 10px 20px;
		text-align: center;
		line-height: 24pt;
		font-size: 14px;
		font-weight: bold;
		/* border: 1px solid #ccc; */
		/* color: #434343; */
		background-color: #fff;
	}
}

@media screen and (max-width: 575px) {
	.buttonforSW {
		padding: 3px 10px;
	}

	.buttonF {
		position: relative;
		top: -120px;
		margin-top: 30px;
		padding-top: 10px;
		padding-right: 10px;
		padding-left: 10px;
		padding-bottom: 10px;
		text-align: center;
		line-height: 24pt;
		font-size: 13px;
		color: #434343;
		background-color: #fff;
		border: 0px solid #ccc;
	}

	.buttonF:hover,
	.buttonF:focus {
		color: #009999;
		font-size: 14px;
	}
}

@media screen and (max-width: 360px) {

	.buttonG,
	.buttonforSW,
	.buttonforV {
		font-size: 12px;
	}
}

.swiper-container {
	padding: 0 4rem 1.25rem;
	/* padding: 0 40px; */
	/* 左右各留 40px 空間避免重疊 */
	/* position: relative; */
}

.swiper-container ul {
	list-style: none;
	padding-inline-start: 0;
}

/* 無滑動區塊 no-swiper-wrapper */

.no-swiper-wrapper {
	padding: 0 4rem 1.25rem;
	/* Center slide text vertically */
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}

.swiper-slide .item,
.no-swiper-wrapper {
	/*  outline: 1px solid red;*/
	text-align: center;
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

.swiper-wrapper .item img,
.no-swiper-wrapper img {
	width: 100%;
	flex-shrink: 0;
	/*for IE 不收縮*/
	position: relative;
}

/* 定位按鈕 item-btn */

.swiper-wrapper .item .item-btn,
.no-swiper-wrapper .item-btn {
	/*for IE 用定位*/
	position: absolute;
	/* left: 180px;
    top: 300px;
    bottom: 0; */
	left: 210px;
	bottom: 30px;
	margin: auto;
	width: 100%;
}

@media screen and (max-width: 1399px) {

	.swiper-wrapper .item .item-btn,
	.no-swiper-wrapper .item-btn {
		left: 180px;
		bottom: 26px;
	}
}
@media screen and (max-width: 1200px) {

	.swiper-wrapper .item .item-btn,
	.no-swiper-wrapper .item-btn {
		left: 180px;
		bottom: 26px;
	}
}

@media screen and (max-width: 992px) {

	.swiper-wrapper .item .item-btn,
	.no-swiper-wrapper .item-btn {
		left: 150px;
		bottom: 20px;
	}
}

@media screen and (max-width: 768px) {

	.swiper-wrapper .item .item-btn,
	.no-swiper-wrapper .item-btn {
		left: initial;
		bottom: 30px;
	}
}

@media screen and (max-width: 520px) {

	.swiper-wrapper .item .item-btn,
	.no-swiper-wrapper .item-btn {
		left: 0px;
		top: 485px;
	}
}

@media screen and (max-width: 480px) {

	.swiper-wrapper .item .item-btn,
	.no-swiper-wrapper .item-btn {
		left: 0px;
		top: 460px;
	}
}

@media screen and (max-width: 450px) {

	.swiper-wrapper .item .item-btn,
	.no-swiper-wrapper .item-btn {
		left: 0px;
		top: 420px;
	}
}

@media screen and (max-width: 435px) {

	.swiper-wrapper .item .item-btn,
	.no-swiper-wrapper .item-btn {
		left: 0px;
		top: 400px;
	}
}

@media screen and (max-width: 415px) {

	.swiper-wrapper .item .item-btn,
	.no-swiper-wrapper .item-btn {
		left: 0px;
		top: 370px;
	}
}

@media screen and (max-width: 400px) {

	.swiper-wrapper .item .item-btn,
	.no-swiper-wrapper .item-btn {
		left: 0px;
		top: 350px;
	}
}

@media screen and (max-width: 390px) {

	.swiper-wrapper .item .item-btn,
	.no-swiper-wrapper .item-btn {
		left: 0px;
		top: 340px;
	}
}

@media screen and (max-width: 375px) {

	.swiper-wrapper .item .item-btn,
	.no-swiper-wrapper .item-btn {
		left: 0px;
		top: 315px;
	}
}

@media screen and (max-width: 360px) {

	.swiper-wrapper .item .item-btn,
	.no-swiper-wrapper .item-btn {
		left: 0px;
		top: 300px;
	}
}

@media screen and (max-width: 345px) {

	.swiper-wrapper .item .item-btn,
	.no-swiper-wrapper .item-btn {
		/* bottom: 0; */
		margin: auto;
		width: 100%;
		top: 280px;
	}
}

@media screen and (max-width: 320px) {

	.swiper-wrapper .item .item-btn,
	.no-swiper-wrapper .item-btn {
		/* bottom: 0; */
		margin: auto;
		width: 100%;
		top: 250px;
	}
}

/* 無滑動區塊底部少了Pagination點點,定位按鈕需墊高 */

.no-swiper-wrapper .item-btn {
	bottom: 1rem;
}

.swiper-slide .btn,
.no-swiper-wrapper .btn {
	bottom: 0;
}

.swiper-button-prev,
.swiper-button-next {
	top: 0;
	font-weight: bold;
	height: 100%;
	width: 4rem;
	/* background-color: rgba(255, 255, 255, 0.8); */
}

.swiper-button-prev {
	left: 0;
}

.swiper-button-next {
	right: 0;
	text-align: right;
}

@media screen and (max-width: 991px) {
	.swiper-container {
		padding: .1rem 1.75rem 1.25rem;
	}

	.swiper-container ul {
		margin-bottom: 50px;
	}

	.no-swiper-wrapper {
		flex-wrap: wrap;
	}

	.no-swiper-wrapper .item {
		min-width: 280px;
		min-height: 100px;
	}

	.swiper-button-next,
	.swiper-button-prev {
		display: block;
		top: 45%;
		height: 5%;
		width: 1.75rem;
	}

	.swiper-button-prev:after,
	.swiper-button-next:after {
		font-size: 1.75rem;
	}
}

@media screen and (max-width: 768px) {
	.swiper-container {
		padding: .1rem 1.75rem 0rem;
	}

	.swiper-container ul {
		margin-bottom: 40px;
	}

	.no-swiper-wrapper li {
		margin-bottom: 60px;
	}
}

/*
    --- Swiper end -------------------------------*/