body {
    font: 13px/1.6em "Century Gothic", Arial, 'Microsoft JhengHei', "蘋果儷中黑", "儷黑 Pro", "新細明體", "sans-serif";
    color: #000;
    /*min-width: 1050px;*/
}

a {
    text-decoration: none;
    display: inline-block
}

:focus {
    outline: none;
}

i {
    font-style: normal;
}

.header,
.footer {
    width: 100%;
    margin: auto
}

.hd_pc {
    width: 100%;
}

.hd_m {
    display: none;
}

.pc_mode {
    display: block
}

.m_mode {
    display: none
}

.display_pc {
    display: block;
}

.display_m {
    display: none;
}

.inline-block_m {
    display: none;
}

.M_menu_wrap {
    display: none;
}

/**main_wrapper**/
.wrapper {
    background: url("../images/kv_bg.png") top center no-repeat, url("../images/main_bg.png") no-repeat fixed bottom #c01f1d;
    /* background: url("../images/kv_bg.jpg") top center no-repeat, url("../images/bg.jpg") top center repeat-y #0a002c; */
    /* background: url("../images/bg.jpg") center 675px repeat-y #0a002c; */
    position: relative;
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
}

/* 內容區 - 背景漂浮 */
.all_bg_move {
    top: 0;
    width: 100%;
    height: 100%;
    background: url(../images/float.png) no-repeat center;
    position: fixed;
    pointer-events: none;
    z-index: 99;
}

.all_bg_move.animated {
    display: block;
    animation: flyItemfadeIn 0.5s linear backwards, upDown_animation 0.8s linear .3s infinite alternate;
}

.all_bg_move::before,
.all_bg_move::after {
    content: ' ';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

/* ================================================
- 主視覺 kv
================================================ */

.kv_bg {
    position: relative;
    z-index: 100;
    margin: auto;
    width: 1200px;
    height: 875px;
}

.kv_bg img {
    width: 100%;
    max-width: 100%;
}

.kv_logo {
    position: absolute;
    transition: .2s ease-in-out;
    z-index: 9;
}

.kv_logo:hover {
    filter: brightness(150%);
    transform: translateY(-5px);
}

.kv_slogan {
    position: absolute;
    right: 166px;
    top: 350px;
    margin: auto;
    z-index: 6;
}

.kv_light {
    position: absolute;
    right: 530px;
    top: 417px;
    margin: auto;
    z-index: 7;
    mix-blend-mode: screen;
}

.go-back-btn {
    text-align: center;
    /* padding-top: 35px; */
    padding-bottom: 35px;
    position: relative;
    z-index: 4;
}

.go-back-btn a,
.go-back-btn img {
    width: 80%;
    max-width: 315px;
    margin: auto;
}

/*heartbeat*/
.zoominzoomout-play {
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    animation-delay: -1s;
    -webkit-animation-name: zoominzoomout-play;
    animation-name: zoominzoomout-play;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-direction: alternate;
    animation-direction: alternate;
}


@-webkit-keyframes zoominzoomout-play {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    100% {
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
    }
}

@keyframes zoominzoomout-play {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    100% {
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
    }
}

.kv_gift a {
    position: absolute;
    right: 50px;
    top: -20px;
    z-index: 7;
    animation: swing2 ease-in-out 1s infinite alternate;
    transform-origin: center -20px;
    transition: .2s ease-in-out;
}

.kv_gift a:hover {
    filter: brightness(115%);
}

@keyframes swing2 {
    0% {
        transform: rotate(4deg);
    }

    100% {
        transform: rotate(-4deg);
    }
}

.kv_santa {
    position: absolute;
    left: -55px;
    top: 62px;
    z-index: 5;
}

.kv_product {
    position: absolute;
    left: 262px;
    top: -65px;
}

.kv_deco {
    position: absolute;
    right: 13px;
    top: 350px;
    z-index: 3;
}

.kv_left {
    position: absolute;
    left: -236px;
    top: 393px;
    z-index: 1;
}

.kv_right {
    position: absolute;
    right: -200px;
    top: 436px;
    z-index: 2;
}

.kv_swiper {
    max-width: 440px;
    margin: auto;
    position: absolute;
    top: 10%;
    bottom: 0;
    left: 38%;
    overflow: hidden;
}

/*浮動*/
    {
    top: 0;
    width: 100%;
    height: 100%;
    background: url("../images/float.png") no-repeat center;
    position: fixed;
    z-index: 99;
    display: none;
}

/*float*/
.float_wrapper {
    position: fixed;
    top: 40px;
    right: 0;
    z-index: 999;
    display: none;
}

.float_main {
    width: 90px;
    background: rgba(216, 216, 216, 0.9);
    border-radius: 10px 0 0 10px;
    padding: 0 5px;
}

.go_top {
    display: block;
    cursor: pointer;
}

.float_main li {
    position: relative;
    color: #fff;
    text-align: center;
    font-size: 15px;
}

.float_main li.highlight1 {
    font-size: 15px;
    line-height: 15px;
    border-radius: 20px 0 0 0;
    padding-top: 20px;
    padding-left: 2px;
    color: #fff;
    font-weight: bold;
}

.float_main li.highlight1:after {
    background: #fea099;
}

.float_main li.highlight0 {
    padding-top: 3px;
    margin-bottom: 5px;
    background-color: #fff;
    border-radius: 50px;
    color: #d73e29;
}

.float_main li.highlight0 > ul {
    border-top: 1px dotted;
}

.float_main li.highlight2 {
    font-size: 24px;
    padding-bottom: 20px;
    padding-left: 2px;
}

.float_main li.highlight2 a {
    color: #fff;
}

.float_main li a {
    position: relative;
    z-index: 500;
    color: #1f1f1f;
    cursor: pointer;
    font-weight: 600;
    padding: 5px 0 5px;
}

.float_main li a:hover {
    color: #cc1e1e;
}

.float_main li a:after {
    position: absolute;
    right: 51%;
    bottom: 0;
    left: 51%;
    z-index: 1;
    height: 2px;
    background: #cc1e1e;
    content: "";
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: left, right;
    transition-property: left, right;
}

.float_main a:hover:after {
    right: 10%;
    left: 10%;
}

.float_main li.catagory {
    width: 100%;
    float: left;
    border-bottom: 1px dotted #d73e29;
}

.float_main li.catagory.on {
    background-color: #fff95a;
}

/**.float_main li.catagory:nth-child(2n) {
  border-left: 1px dotted #d73e29;
}**/
.float_main li.catagory a {
    color: #d73e29;
}


/***prod***/
.prod_wrapper {
    position: relative;
    padding-bottom: 35px;
    background: url(../images/) no-repeat fixed top center;
    background-size: 100%;
    margin-top: -120px;
}

.prod_container {
    position: relative;
    z-index: 100;
    overflow: hidden;
}

/**rule**/
.prod_wrapper {}

.prod_wrapper td {
    padding: 10px 10px;
}

.rule_wrapper {
    margin: auto;
    padding: 20px;
    width: 1010px;
    border-radius: 20px;
    background: #fff;
    font-size: 15px;
    line-height: 26px;
}

.rule_wrapper a {
    color: dodgerblue;
    text-decoration: underline;
}

.rule_wrapper h2 {
    display: inline-block;
    margin: 10px 0;
    padding: 5px 20px;
    border-radius: 20px;
    background: #777070;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}

.rule_wrapper h2.gift,
.rule_wrapper h2.coupon,
.rule_wrapper h2.discount {
    display: inline-block;
    margin: 10px 0;
    padding: 5px 20px;
    border-radius: 20px;
    background: #169e59 !important;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 22px;
}

.rule_wrapper h3 {
    color: indianred;
    font-weight: bold;
    font-size: 18px;
}

.rule_wrapper li {
    margin-left: 25px;
    padding: 5px 0;
    list-style: decimal;
}

table th {
    color: #fff;
}

table strong {
    color: royalblue
}

a {
    display: inline-block;
}

a.btn_back {
    display: block;
    margin: auto;
    padding: 10px 20px;
    width: 100px;
    border-radius: 50px;
    background-color: darkred;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 24px;
    transition: linear .2s;
    cursor: pointer;
}

a.btn_back:hover,
a.btn_back:focus,
a.btn_back:active {
    background-color: tomato;
}

a.btn {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    background-color: #9c0108;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    transition: linear .2s;
    cursor: pointer;
    font-weight: bold;
    margin-top: 5px;
}

a.btn:hover,
a.btn:focus,
a.btn:active {
    background-color: #ffea00;
    color: #9c0108;
    transform: translateX(10px);
}

@media screen and (max-width:768px) {
    body {
        width: 100vw;
        min-width: inherit;
        background-color: #7c0107;
    }

    * {
        box-sizing: border-box;
    }

    #doyoo_panel {
        display: none !important;
    }

    .header {
        width: 100vw;
    }

    .footer,
    .drift {
        display: none;
    }

    .hd_pc {
        display: none;
    }

    .hd_m {
        display: block;
    }

    .main {
        padding-bottom: 65px;
        width: 100vw;
        background-size: 160vw !important;
    }

    .gotop {
        background: url(//www.payeasy.com.tw/pbenefit/in_other/pmedm/106/autumn/images/icon_top.png) no-repeat;
        height: 36px;
        position: fixed;
        right: 10px;
        width: 36px;
        bottom: 82px;
        z-index: 900;
        display: none;
    }

    .gotop a {
        display: block;
        width: 48px;
        height: 36px;
    }

    .wrapper {
        width: 100vw;
        background-size: 102vw !important;
    }

    .main {
        padding-bottom: 60px;
    }

    .kv_bg {
        width: 100vw;
        background-size: 160vw !important;
        height: 56.5vw;
    }

    .kv_logo,
    kv_light {
        display: none !important;
    }

    .kv_slogan {
        width: 68vw;
        top: 34vw;
        right: 17vw;
    }

    .kv_slogan img {
        width: 100%;
    }

    .kv_detail {
        width: 100vw;
        top: 42vw;
        left: 69vw;
    }

    .kv_detail img {
        width: 100%;
    }

    .kv_gift a {
        width: 30vw;
        top: -9.5vw;
        right: 0vw;
    }

    .kv_gift a img {
        width: 100%;
    }

    .kv_santa {
        width: 43vw;
        top: 3vw;
        left: -3.5vw;
    }

    .kv_santa img {
        width: 100%;
    }

    .kv_swiper {
        width: 40vw;
        top: 9.5vw;
        left: 32vw;
    }

    .kv_swiper img {
        width: 100%;
    }

    .kv_product {
        width: 62vw;
        top: -0.5vw;
        left: 17vw;
    }

    .kv_product img {
        width: 100%;
    }

    .kv_deco {
        width: 28vw;
        top: 27vw;
        right: 1vw;
    }

    .kv_deco img {
        width: 100%;
    }

    .kv_left {
        display: none;
    }

    .kv_right {
        display: none;
    }


    .bg_wrapper {
        width: 100vw;
    }

    .bg_kv {
        background-size: 200vw;
    }

    .bg_fly {
        display: none;
    }

    .M_menu_wrap {
        display: block;
        position: absolute;
    }

    .M_menu_block {
        position: fixed;
        bottom: 0;
        /**background: rgba(0,0,0,1)**/
        ;
        width: 100%;
        z-index: 200;
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #555), color-stop(100%, #111));
    }

    .M_menu_block ul li {
        width: 49.8vw;
        box-sizing: border-box;
        text-align: center;
        float: left;
        height: 50px;
        cursor: pointer;
        border-top: 1px solid #999;
        border-right: 1px solid #666;
        border-left: 1px solid #222;
    }

    .M_menu_block ul li.best {
        width: 33.333vw;
    }

    /**.M_menu_block ul li:last-child{border:none;}**/
    .M_menu_block ul li:before {
        content: '';
        display: inline-block;
        vertical-align: middle;
        height: 100%;
    }

    .M_menu_block ul li a {
        display: inline-block;
        width: 100%;
        color: #fff;
        font-size: 15px;
        line-height: 18px;
        vertical-align: middle;
    }

    .M_menu_block ul li.best a {
        color: yellow;
    }

    .M_menu_block ul li.best02 a {
        color: deeppink;
    }

    .M_menu_filter {
        display: none;
        position: fixed;
        bottom: 60px;
        width: 95%;
        margin: auto;
        left: 0;
        right: 0;
        background: #fefefe;
        border-radius: 10px;
        z-index: 200;
    }

    .M_menu_filter:after {
        content: '';
        display: inline-block;
        width: 0;
        height: 0;
        border-width: 7px;
        border-color: #fefefe transparent transparent transparent;
        border-style: solid;
        position: absolute;
        left: 0;
        right: 0;
        bottom: -14px;
        margin: auto;
    }

    .M_menu_filter ul li {
        width: 33.3%;
        box-sizing: border-box;
        text-align: center;
        float: left;
        height: 50px;
        padding: 5px;
    }

    .M_menu_filter ul li a {
        background: darkred;
        display: block;
        font-size: 14px;
        height: 35px;
        color: #fff;
        vertical-align: middle;
        border-radius: 20px;
    }

    .M_menu_filter ul li a:before {
        content: '';
        display: inline-block;
        vertical-align: middle;
        height: 100%;
    }

    .bk_mask {
        display: none;
        position: fixed;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, .8);
        top: 0;
        z-index: 100;
    }

    /**/
    .tag_wfe {
        top: auto;
    }

    /**/
    .rule_wrapper {
        padding: 10px;
        width: 98vw;
        border-radius: 15px;
        font-size: 14px;
        line-height: 24px;
    }

    .rule_wrapper h2 {
        font-size: 16px;
    }

    .rule_wrapper a {
        word-wrap: break-word;
    }

    .prod_wrapper td {
        padding: 5px 5px;
    }

    .prod_wrapper {
        margin-top: 23vw;
    }


}

@media screen and (max-width:320px) {
    .item .ProducPrice i em span {
        font-size: 11px;
    }

    .item .ProducPrice .price_txt {
        font-size: 13px;
    }

    .tag_wfe {
        width: 16px;
        height: 16px;
    }
}
