@charset "utf-8";

/****************** 基本 ******************/
* {
    font-family: "微軟正黑體", "Microsoft JhengHei", Arial, Geneva, sans-serif;
    /* outline: 1px solid red; */
}

body {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.8;
    color: #777777;
    color: #323232;
    /* background-color: #fff; */
    /* background-color: #faffc328; */
    height: 100%;
    position: relative;
    /*padding-top: 70px;*/
    /* background-color: #ffffff00; */
    font-family: Helvetica, Arial, sans-serif;
    /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
    
}

@media screen and (max-width: 1400px) {
    body {
        padding-top: 60px;
    }
}

hr {
    border-top: 1.5px solid #7a7a7a;
}

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;
}

.LINETypeFont {
    /* font-family: LINESeedSans; */
}

/*
--- 按鈕 btn ---*/
.btn:hover,
.btn:active,
.btn:focus {
    background: #393e46 !important;
    color: #fff;
    outline: none !important;
}

.btn {
    border-radius: 0px;
}

.btn.btn-primary {
    background: #0a72b7;
    color: #fff;
    border: none !important;
    border: 2px solid transparent !important;
    display: inline-block;
    /* margin-top: 5px; */
}

@media screen and (max-width: 576px) {
    .btn.btn-lg {
        padding-top: 10px;
        padding-right: 8px;
        padding-left: 8px;
        padding-bottom: 10px;
        font-size: 16px;
        margin-bottom: 5px;
    }
}

/*
--- 切換裝置顯示項目 ---*/
#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;
}

@media screen and (max-width: 1200px) {
    .navbar .navbar-brand {
        width: 180px;
        height: 60px;
        margin-left: 10px;
        margin-right: 10px;
    }
}


.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;
}

/* :hover */
.navbar-nav>li>a:after {
    content: '';
    display: block;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    background: #009999;
    z-index: -1;
    transition: all .5s;
}

.navbar-nav>li:hover>a:after {
    transform: scaleX(1);
}

/*--- 導覽列下拉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;
}

/****************** 輪播 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;
}

/*
--- 主視覺 ---*/
.topMain {
    background-image: url(../images/top.jpg) !important;
}

.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;
}

.topimg-Half-ckeck {
    background-image: url(../images/topHalf_check.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;
    }

    .topimg-Half-ckeck {
        background-image: url(../images/topHalf_check_m.jpg) !important;
    }
}

/****************** 版面 Container ******************/
.gridContainer {
    width: 100%;
    clear: none;
    float: none;
    margin-left: auto;
    margin-right: auto;
    background-size: cover;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
}

@media only screen and (max-width: 768px) {
    .gridContainer {
        width: 100%;
        margin: auto;
        clear: none;
        float: none;
        margin-left: auto;
        background-size: cover;
    }
}


/*--- 活動主版 mainArea ---*/

.mainArea{
    /* background-image: linear-gradient(to bottom, #f9f9f9, #fff);  */
    background-color: #f9f9f9;   
}


.mainArea h2 {
    /* 活動主標 */
    color: #14377e;
    font-size: 1.85rem;
    margin: 0 10px 10px;
    padding: 5px;
    line-height: 28pt;
    text-align: center;
    font-weight: 550;
    display: inline-block;
    /* position: relative; */
    /* border-radius: 50px; */
    /* max-width: 260px; */
}

.mainArea h2::before {
    /* 畫線 */
    /* content: '';
    position: absolute;
    left: 50%;
    bottom: 0%;
    transform: translate(-50%);
    width: 100%;
    height: 50%;
    background-color: #075ac036; */
}

.mainArea h2 small {
    color: #333333;
    font-size: 0.7em;
}

.mainArea h3.date {
    /* 活動起訖日+對象 */
    line-height: 1.5;
    font-size: 1.4rem;
    padding-bottom: 2rem;
    padding-top: 2rem;
    font-weight: 550;
    color: #353535;
    /* text-align: center; */
}

@media screen and (max-width: 576px) {
    .mainArea h3.date {
        /* 活動起訖日+對象 */
        padding-bottom: 0.2rem;
        padding-top: 2rem;
        text-align: center;
    }

}


/**** 活動敘述文 ****/
.mainArea h4 {
    color: #2E2E2E;
    font-size: 1.6rem;
    line-height: 1.5;
    padding-top: 10px;
    padding-bottom: 3px;
    font-weight: 550;
    /* position: relative;
    display: inline; */
    /* text-align: justify; */
}

/* 畫中重點 */
.mainArea h4 span.highlight {
    background-image: linear-gradient(to top, #f0ff189e 50%, rgba(0, 0, 0, 0) 50.1%);
    padding: 0px 4.5px 1px 4.5px;
    color: #0a3691;
    font-size: 1.68rem;

}

@media screen and (max-width: 576px) {
    .mainArea h4 span.highlight {
        font-size: 1.3rem;
    }
}

.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 {
    margin: 0px auto;
}

@media screen and (max-width: 576px) {
    .mainArea {
        padding-top: 0px;
        padding-bottom: 30x;
    }

    .mainArea h3.date {
        /* 活動起訖日+對象 */
        font-size: 1rem;
    }

    .mainArea h4 {
        /* 活動敘述文 */
        font-size: 14pt;
        line-height: 1.5;
    }
}

/*--- 活動內文區塊 mainText ---*/

/* 樣式1 */
.mainText1 {
    font-size: 24px;
    color: #545559;
    margin-top: 15px;
    margin-bottom: 15px;
    line-height: 50px;
    line-height: 50px;
    border-radius: 30px;
    padding: 30px 0px 0px 0px;
    text-align: center;
}

@media screen and (max-width: 576px) {
    .mainText1 {
        font-size: 24px;
        color: #545559;
        margin-top: 15px;
        margin-bottom: 15px;
        line-height: 50px;
        line-height: 50px;
        border-radius: 30px;
        padding: 30px 0px 0px 0px;
        text-align: center;
    }
}

/* <!--區塊2_調整上方距--> */
.mainText1.secondPd {
    padding: 30px 0px 30px 0px;
}


/* 樣式2 */
.mainText2 {
    font-size: 24px;
    color: #545559;
    margin-top: 50px;
    margin-bottom: 15px;
    line-height: 50px;
    border: 1px solid #009999;
    padding: 30px 20px;
    text-align: center;
}

.mainText1 h2 {
    text-align: center;
}

.mainText2 h2 {
    width: 300px;
    margin-top: -50px;
    background-color: #009999;
    border: 1px solid #009999;
}

.mainText1 .title,
.mainText2 .title {
    text-align: center;
    font-weight: bold;
    color: #007986;
    padding-left: 16px;
    padding-right: 16px;
}

@media screen and (max-width: 576px) {

    .mainText1 .title,
    .mainText2 .title {
        font-size: 1.5rem;
    }

    .mainText2 h2 {
        width: 200px;
    }
}

/* 圖標 */
.titleIcon {
    min-width: 65px;
    height: 70px;
    object-fit: contain;
}




.flex-container {
    flex-direction: row;
}

.flexBox {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

@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;
    }
}



/* 活動內容區_giftbox樣式 */

.giftPointBox {
    margin-bottom: 2rem;
    /* margin-top: 2rem; */
    padding: 0;
}

/* <!--手機板giftbox第2個_調整上方距--> */
@media screen and (max-width: 768px) {
    .giftPointBox .secondbox {
        margin-top: 2rem;
    }
}

.giftcontent {
    font-size: 1.5rem;
    font-weight: 550;
    border-radius: 20px;
    /* filter: drop-shadow(0 0px 7px #075ac041);#efdc9c99*/
    background-color: #ffffff;
    /* filter: drop-shadow(2px 2px 15px #c9c9c970); */
    padding: 25px;
    margin-right: 0.5rem;
    margin-left: 0.5rem;
    margin-bottom: 1rem;
    /* margin-top: 2.5rem; */
    height: 100%;
    border: 2px solid #cdcdcd;
}


.discount-item {
    --frontColor: white;
    --width: 10em;
    --inlineP: 0.5rem;
    --borderR: 2rem;
    /* --arrowW: 2rem; */
    /* --arrowH: 1.5rem; */
    counter-increment: cardnr;
    width: 96%;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-inline: var(--inlineP);
    margin-bottom: calc(var(--borderR));
    position: relative;
}

.giftcontent .giftitle {
    color: #000;
    /* background-color: #ffd101; */
    width: 100%;
    position: relative;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    font-size: 1.95rem;
    font-size: 2.5rem;
    font-weight: bold;
    padding-top: 3rem;
    /* padding-bottom: 8px; */
}

/* .giftcontent .giftitle:before {
    content: '';
    background-image: url(../images/deco.svg);
    position: absolute;
    top: -37px;
    left: calc(50% - 50px);
    height: 25px;
    width: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    transform: scale(2);
    filter: drop-shadow(2px 2px 1px #d0c8a3e8);
    z-index: -1;
} */

@media screen and (max-width: 992px) {
    .giftcontent .giftitle {
        /* font-size: 1.85rem; */
    }
}

@media screen and (max-width: 768px) {
    .giftcontent {
        /* border-radius: 10px; */
        margin-right: 0;
        margin-left: 0;
    }

    .giftcontent .giftitle {
        /* font-size: 1.7rem; */
        /* border-top-right-radius: 10px; */
        /* border-top-left-radius: 10px; */
    }

    .giftcontent .giftitle:before {
        top: -31px;
        /* transform: scale(1.5); */
    }
}

@media screen and (max-width: 576px) {
    .giftcontent .giftitle {
        padding-right: 20px;
        padding-left: 20px;
        padding: 20px;
        margin-bottom: 0;
    }
}

.giftcontent h4.content {
    /* padding: 25px 25px 20px 25px; */
    padding-top: 0;
    padding-bottom: 0;
}

@media screen and (max-width: 992px) {
    .giftcontent h4.content {
        /* padding: 18px 15px 20px 15px; */
    }
}


/* 贈點圈圈樣式 */
.rewardRoted {
    color: #fff;
    background-color: #0574be;
    padding: 1px 4px;
    border-radius: 5px;
    margin: 0px 2px;
    font-size: 1.7rem;
}

.reward {
    color: #d60000;
    /* margin-right: 3px; */
    /* margin-left: 3px; */
    padding: 5px;
    font-size: 3rem;
    color: #f7b900;
}

.redText {
    color: #d60000;
}



/*--- 備註文字 ---*/
.memoTable {
    font-size: 17px;
}

.memoTable td {
    vertical-align: top;
}

/*--- 活動表格 ---*/
.mainArea .table thead th {
    height: 30px;
    border-bottom: 1px;
}

.mainArea .table-bordered th,
.mainArea .table-bordered td {
    padding: 3px;
    border: 1px solid #a1bbbd;
    vertical-align: middle;
}

.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;
    }
}

/*--- 注意事項 ---*/
.noticeDesc h4 {
    font-size: 1.3rem;
}

.noticeDesc .table-bordered {}

ul.list-style {
    margin-bottom: .3rem;
    padding: 0 0 0 20px;
}

/*--- 注意事項表格 exTable ---*/
#exTable table th,
#exTable table td {
    text-align: center;
    font-size: 12px;
    border: 1px solid #ccc;
    vertical-align: inherit;
}

#exTable table th {
    color: #fff;
    background-color: #323232;
}

/*--- 分頁 tabs submenu ---*/
.tabs {
    margin-top: 50px;
    margin-bottom: 20px;
    padding-right: 0px;
    padding-left: 0px;
    border-bottom: 1px solid #00859a;
}

.submenu ul {
    list-style-type: none;
}

.submenu li {
    float: left;
    height: 30px;
    width: 33.333%;

    font-size: 13pt;
    font-weight: 500;
    line-height: 20px;
    color: #1c100b;
    text-align: center;
    padding: 0 24px;
    list-style-type: none;
}

.submenu li a {
    color: #a9a9a9;
    padding-bottom: 5px;
}

.submenu li a.active {
    color: #FFFFFF;
    font-size: 15pt;
    background: #00859a;
    padding: 10px 10% 8px;
    border-radius: 10px 10px 0 0;
}

@media screen and (max-width: 587px) {
    .submenu {
        padding: 0 0 0 0;
    }

    .submenu li {
        font-size: 12pt;
        padding: 0px;
    }

    .submenu li a {
        padding-bottom: 8px;
    }

    .submenu li a.active {
        font-size: 12pt;
        padding: 10px 10% 10px;
    }
}

@media screen and (max-width: 320px) {
    .submenu li {
        font-size: 10pt;
    }

    .submenu li a.active {
        font-size: 10pt;
        padding-bottom: 13px;
    }
}


/*
--- 版權宣告footer ---*/

footer {
    width: 100%;
    background-color: #f4f4f4;
}

#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;
    }
}


/* modal */
.leaveModal.modal .btn-close {
    background: url(https://activity.ubot.com.tw/eCardWeb/images/img/close.png) no-repeat;
    width: 2em;
    height: 2em;
    float: right;
}

.leaveModal .modal-header {
    background-color: #fff;
    border-radius: 30px 30px 0 0;
}

.leaveModal .modal-content {
    background-color: #fff;
    border: 5px solid rgba(26, 193, 220, 0.84);
    border-radius: 30px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    background-clip: padding-box;
    outline: 0;
}

.leaveModal .modal-body {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.8;
}

.leaveModal.modal .modal-title {
    color: #009999;
    font-weight: 600;
}

.btn.btn-primary {
    background: #009999;
    color: #fff;
    border: none !important;
    border: 2px solid transparent !important;
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 5px;
}


.btn.btn-primary2 {
    background: #0a72b7;
}


.w-100 {
    width: 100%;
}



/* animate */
.js .to-animate,
.js .to-animate-2,
.js .single-animate .js .animate-single {
    opacity: 0;
}

.js .animate-box {
    opacity: 0;
}

/* boxItem:hover 20200428 */
.boxItem {
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    max-width: 330px;
    border: 2px solid #e0e0e0;
}

.boxItem:hover {
    cursor: pointer;
    /* 滑鼠手指 */
    -webkit-transform: translateY(-4px);
    -ms-transform: translateY(-4px);
    transform: translateY(-4px);
    border: 2px solid #009999;
    box-shadow: 0px 4px 5px rgba(120, 120, 120, 0.3);
}

@media screen and (max-width: 991px) {
    .boxItem {
        max-width: none;
    }
}

/*--- Swiper -------------------*/
.swiper-wrapper {
    list-style: none;
    padding: 10px;
}

.swiper-slide {
    min-height: 300px;
    padding: 5px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #FFFFFF;
    text-align: center;
    /*display: flex;
      flex-direction: column;*/
}

.swiper-slide .btn {
    bottom: 0;
}

.swiper-button-next,
.swiper-button-prev {
    display: none;
}

@media screen and (max-width: 991px) {

    .swiper-button-next,
    .swiper-button-prev {
        display: block;
    }
}

.ubgreenLink {
    color: #009999;
    /* font-weight: 550; */
}

/* 跳轉提醒modal樣式*/

#noticeModal02 .modal-dialog .modal-content {

    background-color: #fff;
    border: 5px solid rgba(26, 193, 220, 0.84);
    border-radius: 30px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    background-clip: padding-box;
    outline: 0;

}

#noticeModal02.modal .modal-title {
    color: #009999;
    font-weight: 600;
}

#noticeModal02.modal .modal-content .btn-close {
    background: url(../images/close.png) no-repeat;
    width: 3em;
    height: 3em;
    float: right;
}

#noticeModal03 .modal-dialog .modal-content {

    background-color: #fff;
    border: 5px solid rgba(26, 193, 220, 0.84);
    border-radius: 30px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    background-clip: padding-box;
    outline: 0;

}

#noticeModal03.modal .modal-title {
    color: #009999;
    font-weight: 600;
}

#noticeModal03.modal .modal-content .btn-close {
    background: url(../images/close.png) no-repeat;
    width: 3em;
    height: 3em;
    float: right;
}



/* ----------
來自 LINE BANK 官網 -------------------------------------------------------------------------------------- */

/*-------往下跳拉出間距----------*/
.target-fix {
    position: relative;
    top: -68px;
    display: block;
    height: 0;
    overflow: hidden;
}

@media (max-width:768px) {
    .target-fix {
        top: -98px;
    }
}

@media (max-width:390px) {
    .target-fix {
        top: -118px;
    }
}


/* 各區背景底色
1.賺優惠Discount 2.刷回饋Return  3.拿好禮Gift 4.享權益EnjoyRights 
5.多活動MoreActivity 6.有服務Serve 7.Q&A問問題CustomerService 
*/

.Return,
.EnjoyRights,
.Serve {
    background-image: linear-gradient(to bottom, #f9f9f9, #fff);
}

.Return,
.Discount,
.Gift,
.EnjoyRights,
.MoreActivity,
.Serve {
    /* padding-top: 7rem; */
    /* padding-bottom: 7rem; */
}

/* Q&A問問題CustomerService */
.CustomerService {
    padding-bottom: 5rem;
}

@media screen and (max-width: 768px) {

    .Return,
    .Discount,
    .Gift,
    .EnjoyRights,
    .MoreActivity,
    .Serve {
        /* padding-top: 5rem; */
        /* padding-bottom: 5rem; */
    }
}

/* 各區大標題 h1 */
.main-title {
    color: #0a72b7;
    /* margin-bottom: 1.2rem; */
    font-size: 3rem;
    font-weight: bold;
    font-family: Helvetica, Arial, sans-serif;
}

@media screen and (min-width: 768px) and (max-width: 992px) {
    .main-title {
        padding-right: 70px;
        padding-left: 70px;
    }
}

@media screen and (max-width: 576px) {
    .main-title {
        font-size: 1.6rem;
        /* margin-bottom: 0; */
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* 各區副標題日期 h3 */
.main-date {
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
    color: #343335;
}

/* 各區敘述小標題 h4 */
.mainArea h4.narrative-subtitle {
    /* margin-top: 1.2rem; */
    margin-bottom: 1.2rem;
    line-height: 1.8;
    letter-spacing: 1px;
    color: #343335;
    font-size: 1.2rem;
    text-align: left;
    font-weight: normal;
    text-align: justify;
}

/* 2加優惠 自扣綁定禮、自扣成功禮標題 h2 */
.discount-title {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: bold;
    font-family: Helvetica, Arial, sans-serif;
}

/* 備註小字 h5 */
.main-remark {
    font-size: .8rem;
    line-height: 1.5rem;
    color: #6f6f6f;
}

@media screen and (max-width: 768px) {

    /* 各區副標題日期 h3 */
    .main-date {
        font-size: 1.2rem;
    }

    /* 各區敘述小標題 h4 */
    .mainArea h4.narrative-subtitle {
        font-size: 1rem;
        margin-top: 1.2rem;
    }
}


/******************** 賺優惠 *********************/
.Discount-box {
    margin-bottom: 0;
}

@media screen and (max-width: 992px) {
    .Discount-box {
        margin-bottom: 25px;
    }
}

.discount-item {
    --frontColor: white;
    --width: 10em;
    --inlineP: 0.5rem;
    --borderR: 2rem;
    /* --arrowW: 2rem; */
    /* --arrowH: 1.5rem; */

    counter-increment: cardnr;
    width: 96%;
    height: 100%;
    display: flex;
    flex-direction: column;
    /* display: grid;
    grid-template:
      "icon" var(--borderR)
      "title"
      "descr" 1fr; */
    margin-inline: var(--inlineP);
    margin-bottom: calc(var(--borderR));
    position: relative;
}

.discount-item .h2,
.discount-item .title,
.discount-item .descr {
    background: var(--frontColor);
    padding-inline: 1rem;
    padding-bottom: 1rem;

}

.discount-item .h2,
.discount-item .title {
    color: var(--accent-color);
    text-align: center;
    padding-bottom: 0.5rem;
    margin-bottom: 0rem;
}

.discount-item .title,
.discount-item .descr {
    filter: drop-shadow(0.125rem 0.125rem 0.075rem rgba(0, 0, 0, 0.25));
}

.discount-item .h2 {
    place-items: center;
    border-radius: var(--borderR) 0 0 0;
    position: relative;
    border-top: 2px solid #cdcdcd;
    border-right: 2px solid #cdcdcd;
    border-left: 2px solid #cdcdcd;
}

.discount-item .date {
    font-size: 1rem;
    font-weight: bold;
    background: var(--frontColor);
    padding-inline: 1rem;
    padding-bottom: .5rem;
    border-right: 2px solid #cdcdcd;
    border-left: 2px solid #cdcdcd;
    font-family: Helvetica, Arial, sans-serif;
}

.discount-item .title {
    font-size: 1.4rem;
    font-size: 1.1rem; /*LINE BANK 大小*/
    /* font-weight: 500; */
    border-right: 2px solid #cdcdcd;
    border-left: 2px solid #cdcdcd;
    padding-bottom: 10px;
    padding-top: 10px;
}

.discount-item .descr {
    font-size: 0.85rem;
    text-align: center;
    border-right: 2px solid #cdcdcd;
    border-left: 2px solid #cdcdcd;
    border-bottom: 2px solid #cdcdcd;
    padding-bottom: 50px;
}

.discount-item .box-txt {
    font-size: 2rem;
    color: #363636;
    letter-spacing: 0px;
    line-height: 1.2;
    font-weight: bold;
    padding-bottom: 20px;
    font-family: Helvetica, Arial, sans-serif;
}

.discount-item .box-txt span {
    font-size: 3rem;
    color: #0a72b7;
    font-family: Helvetica, Arial, sans-serif;
}

.discount-item .box-txt .small-number {
    font-size: 2rem;
    font-weight: bold;
}

.discount-item .box-txt-1 {
    font-size: 2rem;
    color: #363636;
    letter-spacing: 0px;
    line-height: 1.2;
    font-weight: bold;
}

.discount-item .box-txt-1 span {
    font-size: 2.5rem;
    color: #13cf36;
    font-weight: bold;
}


.discount-item::after {
    content: counter(cardnr, decimal-leading-zero);
    position: absolute;
    z-index: -1;

    left: calc(var(--inlineP) * -1);
    right: calc(var(--inlineP) * -1);
    top: var(--borderR);
    bottom: calc(var(--borderR) * -1);

    display: flex;
    align-items: flex-end;
    background-color: #ffd101;
    background-color: #0a72b7;
    background-image: linear-gradient(160deg,
            rgba(255, 255, 255, 0.25),
            transparent 25% 75%,
            rgba(0, 0, 0, 0.25));
    border-radius: 0 0 var(--borderR) 0;
    --pad: 1.2rem;
    padding: var(--pad);
    font-size: calc(var(--borderR) - var(--pad) * 2);
    color: white;
}

/* .coffee_full::before {
    content: '已額滿';
    border: 5px solid #dc3545;
    position: absolute;
    font-size: 1.7rem;
    width: 120px;
    height: 2.7rem;
    top: 11px;
    left: -16px;
    color: #dc3545;
    transform: rotate(-19deg);
} */
.btn.btn-primary.coffee_full_btn {
    background-color: #827f7f;
}

.btn.btn-primary.coffee_full_btn:hover {
    background: #827f7f !important;
    cursor: default;
}

.Discount h2 {
    /* color: #ffee00; */
}

.dotDescribe {
    text-align: justify;
}




.discount-title-1 {
    color: #000;
    /* margin-top: 2rem; */
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    /* font-weight: bold; */
    /* border-bottom: 1px dashed #666; */
    /* padding-bottom: 10px; */
}


.giftcontent .title {
    color: #323232;
    font-size: 1.4rem;
    font-size: 1.1rem;
    font-weight: 500;
    /* border-right: 2px solid #cdcdcd; */
    /* border-left: 2px solid #cdcdcd; */
    line-height: 1.8;
    padding-bottom: 10px;
    padding-top: 10px;
}

@media screen and (min-width: 1200px) and (max-width: 1400px) {
    .giftcontent .title {
        padding-right: 50px;
        padding-left: 50px;
    }
}

.giftcontent .date {
    font-size: 1rem;
    color: #000;
}

.giftcontent .small-number {
    font-size: 2rem;
    font-weight: bold;
}

.btnforpxpay {
    color: #FFFFFF;
    background-color: #0a72b7;
    border: 0;
    padding: 8px 20px;
    border-radius: 100px;
}


.onlyRed {
    color: #d60000;
}

.main-title i{
    transform: rotate(-15deg);
}



.giftcontent .descr {
    font-size: 0.85rem;
    text-align: center;
    border-right: 2px solid #cdcdcd;
    border-left: 2px solid #cdcdcd;
    border-bottom: 2px solid #cdcdcd;
}

.giftcontent .box-txt {
    font-size: 2rem;
    color: #363636;
    letter-spacing: 0px;
    line-height: 1.2;
    font-weight: bold;
}

.giftcontent .box-txt span {
    font-size: 3rem;
    color: #0a72b7;
    /* color: #ffd100; */
    /* padding-right: 8px;
    padding-left: 8px; */
}

.giftcontent .box-txt .small-number {
    font-size: 2rem;
    font-weight: bold;
}

.specFrontBack{
    padding-right: 5px;
    padding-left: 5px;
}

#forBgColorWhite{
    background-color: #fff;
}



/*2025NNB*/

/* .nnb .box {
    display: flex;
    flex-direction: row;
    padding: 0 2em;
}
.nnb .box-1 {
    margin: auto;
    width: 80%;
    padding: 0 20px;
} */

/* .nnb-title{
    color: #0a4994;
    font-size: 30pt;
    font-weight: 600;
    padding-bottom: 15px;
    text-align: center;
} */

/* .nnb-title::after {
    content: '';
    background: linear-gradient(to right, #fff, #41bcd7, #0a4994, #41bcd7, #fff);
    position: absolute;
    width: 100%;
    height: 2px;
    left: 50%;
    top: 75px;
    animation: lineWidth 3s;
    transform: translateX(-50%);
} */
.nnb-text{
    line-height: 3rem;
    padding:  5px 30px;
    font-size: 1.5rem;
}
@media screen and (max-width: 1400px) {
    .nnb-text{
        padding:  0px 25px;
        font-size: 1.4rem;
        line-height: 2.4rem;

    }
}
@media screen and (max-width: 1200px) {
    .nnb-text{
        padding:  0px 0px;
        font-size: 1.3rem;

    }
}

@media screen and (max-width: 992px) {
    .nnb .box {
        flex-direction: column;
    }
    .nnb-text{
        padding:  0 70px;
    }
}
@media screen and (max-width: 768px) {
    .nnb .box-1 {
        width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .nnb-text{
        line-height: 2rem;
        font-size: 1.1rem;
        padding:  0;
    }
}


.rewardnnb {
    color: #da4561;
    padding: 2px;
    font-weight: 600;
}
.rewardnnbRed{
    color: #da4561;
    font-style: italic;
    font-weight: 600;
    padding: 0;
}

.nnbNumber{
    font-size: 3.3rem;
    color: #da4561;
    font-style: italic;
}


.nnb h4{
    color: #595757;
    text-align: left;
    font-size: 13pt;
    line-height: 1.5;
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: 400;
    margin-bottom: 30px;
}

@media screen and (max-width: 576px) {
    .nnb h4{
        margin-bottom: 0px;
        font-size: 12pt;
    }
}


.imgnnb{
    width: 456px;
}

@media screen and (max-width: 992px) {
    .imgnnb{
        width: initial;
    }

} 




/*2025NNB*/
/* 
.nnb .box {
    display: flex;
    flex-direction: row;
    padding: 0 2em;
}
.nnb .box-1 {
    margin: auto;
    width: 80%;
    padding: 0 20px;
}

.nnb-text{
    font-size: 1.6rem;
    line-height: 3rem;
    padding:  0 50px;
}
@media screen and (max-width: 1200px) {
    .nnb-text{
        padding:  0 25px;
    }
}
@media screen and (max-width: 992px) {
    .nnb .box {
        flex-direction: column;
    }
    .nnb-text{
        line-height: 2rem;
        padding:  0 0;
    }
}
@media screen and (max-width: 768px) {
    .nnb .box-1 {
        width: 100%;
    }
}


.nnb h4 {
    color: #595757;
    text-align: left;
    font-size: 15pt;
    line-height: 1.5;
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: 400;
}

.rewardnnb {
    color: #ff1d45;
    padding: 2px;
    font-weight: 600;
} */