body {
    font: 13px/1.6em "Century Gothic", Arial, 'Microsoft JhengHei', "蘋果儷中黑", "儷黑 Pro", "新細明體", "sans-serif";
    color: white;
    background: url(../images/main_bg.png) fixed bottom;
}

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

:focus {
    outline: none;
}

i {
    font-style: normal;
}

.header,
.footer {
    width: 100%;
    background: #fff;
    ;
}

.hd_pc {
    width: 100%;
}

.hd_m {
    display: none;
}

.m_mode {
    display: none;
}

.pc_mode {}

.M_menu_wrap {
    display: none;
}

.vipEventMenu {
    width: 1200px;
    height: 70px;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
}

/**main_wrapper**/
.main_wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    /**background: url(../images/kv_bg.png) no-repeat top center, url(../images/main_bg.png) fixed bottom;**/
    background: url(../images/kv_bg.png) no-repeat top center;
    /* background: url(../images/pez.jpg) no-repeat top center; */
    padding-bottom: 30px;
}

/**kv_wrapper**/
.kv_wrapper {
    overflow-x: hidden;
    overflow-y: hidden;
    position: relative;
}

/**kv_container**/
.kv_container {
    width: 98%;
    max-width: 1600px;
    height: 640px;
    margin: auto;
    position: relative;
    z-index: 1;
}

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

.kv_logo {
    position: absolute;
    left: 120px;
    top: 30px;
    transition: .2s ease-in-out;
    z-index: 1;
}

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

/**標題**/
.kv_slogan {
    text-align: center;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    /* width: 40%; */
    width: 38%;
    padding: 3% 6.5% 0 0;
    margin: auto;
    position: absolute;
    top: 0; bottom: 0;
    left: 0; right: 0;
    z-index: 3;
}

.kv_gift {
    margin: auto;
    position: absolute;
    left: 0; right: 0;
    bottom: 0;
    z-index: 1;
    -webkit-animation: uptodown-play 1.5s ease-in-out infinite alternate;
    animation: uptodown-play 1.5s ease-in-out infinite alternate;
    pointer-events: none;
}

@-webkit-keyframes uptodown-play {
    0% {
        -webkit-transform: translate(0, -20px);
    }

    100% {
        -webkit-transform: translate(0, 0);
    }
}

@keyframes uptodown-play {
    0% {
        -webkit-transform: translate(0, -20px);
        transform: translate(0, -20px);
    }

    100% {
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
    }
}


.kv_left {
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    width: 20%;
    margin: auto;
    position: absolute;
    /* left: 0;
    top: 0; bottom: 0; */
    left: 20%; bottom: 0;
    z-index: 2;
    transition: .2s ease-in-out;
}

.kv_right {
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    width: 35.5%;
    margin: auto;
    position: absolute;
    right: 5%;
    top: 0; bottom: 0;
    z-index: 2;
    transition: .2s ease-in-out;
}


/**event**/
.event_wrapper {
    box-sizing: border-box;
    background: url('../images/bn_bg.png') no-repeat center;
    background-size: 100% 100%;
    width: 75%;
    max-width: 1422px;
    margin: auto;
    /* padding: 145px 0 70px; */
    padding: 10% 5% 5%;
    z-index: 99;
}

.event_container {
    width: 98%;
    max-width: 1200px;
    margin: auto;
}

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

.event_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event_item li {
    cursor: pointer;
}

.event_item li a {
    transition: .2s ease-in-out;
}

.event_item li a:hover {
    filter: brightness(110%);
    transform: scale(.97);
}


.bn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("../images/bn_border.png") no-repeat center;
    /* margin-top: 20px; margin-bottom: 35px; */
    margin-top: 1.8%; margin-bottom: 3.2%;
}

.bn a {
    transition: .2s ease-in-out;
}

.bn a:hover {
    transform: scale(.97);
    filter: brightness(110%);
}

.bn .bn-tit {
    width: 35%;
}

.bn ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    align-items: stretch;
    width: 65%;
}

.bn ul li {
    width: 50%;
}

.bn ul li:hover {
    transform: scale(.97);
    filter: brightness(110%);
}

/**輪播**/
.prod_rota {
    background-image: url("../images/but_03.png");
    width: 400px;
    height: 170px;
    position: relative;
    overflow: hidden;
}

/*設定swiper點點的位置*/
.prod_rota .swiper-pagination {
    margin: auto;
    left: 0;
    right: 0;
    bottom: 10px;
}

.swiper-pagination-bullet {
    background: #d21b1d;
}


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

.float_main {
    color: white;
    background: black;
    width: 90px;
    padding: 0 5px;
    border-radius: 10px 0 0 10px;
    box-shadow: -5px 5px 0 #2a0307;
}

.float_main img {
    border-radius: 10px 0 0 0;
}

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

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

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

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

.float_main li.highlight0 {
    background-color: #d21b1d;
    padding-top: 3px;
    border-radius: 30px;
}

.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: white;
}

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

.float_main li a:hover {
    color: white;
}

.float_main li a:after {
    position: absolute;
    right: 51%;
    bottom: 0;
    left: 51%;
    z-index: 1;
    height: 2px;
    background: #d21b1d;
    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 #d21b1d;
}

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

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

/**promotionBlock_forVIPday標籤**/
.promotionBlock {
    position: relative;
}

.promotionBlock .activity {
    left: 0px;
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 100;
    line-height: 0;
}

.promotionBlock .activity img {
    width: 100%;
}


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

/**prod**/
.prod_wrapper {
    position: relative;
    /* background: url(../images/) fixed bottom; */
}

.prod_container {
    position: relative;
    z-index: 998;
    /**overflow: hidden;**/
}

.ProductList {
    display: flex;
    flex-direction: row;
    align-content: stretch;
    justify-content: space-evenly;
    flex-wrap: wrap;
    width: 98%;
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 500;
    /*overflow: hidden;*/
}

.ProductList:after {
    clear: both;
    display: table;
    content: '';
}

.ProductList .item {
    position: relative;
    float: left;
    width: 265px;
    /* margin-left: 4px; margin-right: 4px; */
    margin-left: auto; margin-right: auto;
    margin-top: 10px;
    margin-bottom: 30px;
    text-align: center;
    background-color: #FFFFFF;
    border-radius: 5px;
    box-shadow: 0px 0px 5px rgba(0%, 0%, 10%, 0.4);
}

.ProductList .item>a {
    position: relative;
    display: block;
    transform: scale(.95);
}

.ProductList .ProductImg {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    width: 265px;
    height: 265px;
}

.ProductList .ProductImg img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
    -webkit-transition: ease-out .1s;
    transition: ease-out .1s;
}

.ProductList .item>a:hover .ProductImg img {
    transform: scale(1.05);
    filter: brightness(110%);
}

.ProductList .ProductDesc {
    overflow: hidden;
    margin: 0 3px;
    border-radius: 35px;
    background-image: repeating-linear-gradient(90deg, #9b6b40 0%, #dd9f67 100%);
    padding: 0 5px;
    height: 36px;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    line-height: 36px;
}

.item .ProductName {
    overflow: hidden;
    padding: 4px 5px;
    height: 38px;
    color: #000;
    text-align: center;
    font-size: 15px;
    line-height: 21px;
}

.item .ProducPrice,
.item .Event_Condition {
    padding: 3px 2px 7px 2px;
    height: 35px;
    color: #F00;
}

.item .ProducPrice label {
    cursor: pointer;
}

.item .ProducPrice i em span {
    margin: 0 10px 0 0;
    color: #747474;
    font-weight: 100;
    font-size: 13px;
}

.item .ProducPrice span,
.item .Event_Condition i span {
    margin: 0 2px 0 2px;
    font-weight: 500;
    font-size: 32px;
    line-height: 30px;
}

.item .ProducPrice i em {
    color: #747474;
    text-decoration: line-through;
    font-style: normal;
}

.item .ProducPrice .price_txt {
    color: #F00;
    font-size: 15px;
    line-height: 26px;
}

/** **/
.ProductList .item:nth-child(8n+1), .ProductList .item:nth-child(8n+2), .ProductList .item:nth-child(8n+3), .ProductList .item:nth-child(8n+4) {
    margin-top: 225px !important;
}

/**ProductListBG**/
.prod_container_bg {
    position: absolute;
    top: 0px;
    right: 0;
    left: 0;
    margin: auto;
    max-width: 1200px;
}

.prod_container_bg_01,
.prod_container_bg_02,
.prod_container_bg_03,
.prod_container_bg_04,
.prod_container_bg_05,
.prod_container_bg_06,
.prod_container_bg_07,
.prod_container_bg_08,
.prod_container_bg_09 {
    max-width: 1200px;
    left: 0;
    right: 0;
    margin: auto;
    height: 915px !important;
    margin-top: 165px;
    /* background-image: url("../images/border_02.png"); 1230 */
    background-image: url("../images/border_01.png"); /*1200*/
    /* background-image: url("../images/pid_bg.png"); 1177 */
    background-position: center;
    background-repeat: no-repeat;
}

/** title **/
.tit {
    display: none;
    margin: auto;
}

.ProductList .item .sub_tit {
    display: block;
    text-align: center;
    /* width: 1085px; */
    width: 1150px;
    position: absolute;
    left: 0; right: 0;
}
.ProductList .item .sub_tit .title_txt {
    z-index: 100;
}

.ProductList .item .sub_tit img {
    transition: .3s ease;
}

.ProductList .item .sub_tit a:hover img {
    filter: brightness(120%);
    margin-right: 10px;
}

.ProductList .item_0 .sub_tit,
.ProductList .item_8 .sub_tit,
.ProductList .item_20 .sub_tit,
.ProductList .item_32 .sub_tit,
.ProductList .item_44 .sub_tit,
.ProductList .item_56 .sub_tit,
.ProductList .item_68 .sub_tit,
.ProductList .item_72 .sub_tit,
.ProductList .item_80 .sub_tit,
.ProductList .item_92 .sub_tit {
}

.ProductList .item .sub_tit a { z-index: 9; }

.title_txt {
    font-size: 40px;
    /* line-height: 140px; */
    line-height: 124px;
    white-space: nowrap;
    background: url('../images/title.png') no-repeat top center;
    background-size: contain;
    max-width: 530px;
    margin: auto;
    padding-bottom: 16px;
    z-index: 9;
}

.title_txt a {
    color: white;
    font-weight: bold;
    text-align: center;
    display: flex;
    /* justify-content: space-evenly; */
    /* justify-content: space-around; */
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    /* width: 405px; */
    margin: auto;
    text-shadow: 0 1px 0 #735124, 0 2px 0 #735124, 0 4px 0px #8a6a39, 0 5px 0px #8a6a39, 0 6px 0px #906f3d, 0 7px 0px #906f3d;
    -webkit-text-shadow: 0 1px 0 #735124, 0 2px 0 #735124, 0 4px 0px #8a6a39, 0 5px 0px #8a6a39, 0 6px 0px #906f3d, 0 7px 0px #906f3d;
    -moz-text-shadow: 0 1px 0 #735124, 0 2px 0 #735124, 0 4px 0px #8a6a39, 0 5px 0px #8a6a39, 0 6px 0px #906f3d, 0 7px 0px #906f3d;
}

.title_txt a span {
    display: none;
    /* display: inline-block;
    background: url(../images/more.png) no-repeat center;
    background-size: contain;
    width: 80px;
    height: 68px; */
}

/**tag wfe******************/
.tag_wfe {
    width: 20px;
    height: 20px;
    background: url(//www.payeasy.com.tw/pezlib/images/tag_wfe_s.png) left;
    position: relative;
    display: inline-block;
    top: -5px;
    background-size: cover;
    vertical-align: middle
}

.tag_wfe.checked {
    background-position: right;
}

.tag_wfe .brief {
    position: absolute;
    background: #E36E1A;
    width: 64px;
    line-height: 16px !important;
    color: #f6f6f6 !important;
    display: none;
    z-index: 10;
    text-align: center;
    left: 25px;
    top: -5px;
    font-size: 12px !important;
}

.tag_wfe:hover .brief {
    display: block;
}

.tag_wfe.checked:hover .brief {
    display: none;
}

.tag_wfe .brief:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    line-height: 0;
    font-size: 0;
    left: -10px;
    top: 10px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent #E36E1A transparent transparent;
}

/**tag**/
.tag_wrapper {
    width: 900px;
    margin: 0 auto 20px;
    text-align: center;
    font-size: 18px;
}

.tag_wrapper:after {
    content: '';
    display: table;
    clear: both;
}

.tag_wrapper a {
    display: inline-block;
    margin: 8px;
    padding: 5px 10px;
    float: left;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    border-radius: 30px;
    transition: linear .2s;
}

.tag_wrapper a:hover {
    background: rgba(255, 255, 255, 0.6);
}

/**M版**/
.wrapper_M {
    display: none;
}


/**/
.bg_wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: -1;
}

.bg_fly {
    top: 0;
    width: 100%;
    height: 100%;
    background: url("../images/float.png") repeat-y center;
    position: fixed;
}

@media screen and (max-width:1024px) {
    .kv_slogan {
        width: 50vw;
        padding: 3% 10% 0 0;
    }
    .kv_left {
        left: 3%;
        width: 30%;
    }
    .kv_right {
        width: 38%;
        right: 1%;
    }
    /**event**/
    .event_wrapper {
        width: 98%;
    }
    /**prod_m**/
    .prod_wrapper {
        width: 100vw;
    }
    .ProductList {
        width: 100vw;
        left: 0; right: 0;
    }
    .ProductList .item {
        width: 23%;
        margin-left: 1%;
        margin-right: 1%;
    }
    .ProductList .ProductImg {
        width: 100%;
    }
    /**title**/
    .ProductList .item .sub_tit {
        width: 100vw;
        left: -1%; right: -1%;
    }
}

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

    * {
        box-sizing: border-box;
    }

    .header {
        width: 100vw
    }

    .footer {
        display: none;
    }

    .hd_pc {
        display: none;
    }

    .hd_m {
        display: block;
    }

    .m_mode {
        display: block;
    }

    .pc_mode {
        display: none;
    }

    .main_wrapper {
        background-size: 205vw !important;
        /**background-position: center 11vw !important;**/
    }

    .kv_wrapper {}

    .kv_wrapper img {
        width: 100%;
    }

    .kv_container {
        width: 100vw;
        height: 80vw;
    }

    .kv_logo {
        display: none;
    }

    .kv_slogan {
        width: 86vw;
        padding: 0 5% 8% 0;
    }

    .kv_gift {
        background: url("../images/kv_gift1.png") no-repeat right bottom;
        background-size: contain;
        /* width: 100vw; */
        top: 35%;
        bottom: initial;
    }
    .kv_gift img {
        opacity: 0;
    }

    /* .kv_left a {
        width: 19vw;
        left: 1vw;
        top: 15.5vw;
    } */

    .kv_right {
        align-items: flex-end;
        width: 58%;
        right: 0;
    }

    /**event**/
    .event_wrapper {}
    .event_item.three-item {
        display: grid;
        grid-template-columns: 59% 41%;
        grid-template-rows: 50% 50%;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .three-item .three-item-2 {
        order: 3;
    }
    .three-item .three-item-3 {
        order: 2;
        grid-column-start: 2;
        grid-column-end: line3;
        grid-row-start: row1-start;
        grid-row-end: 1;
    }
    .bn {
        background: url("../images/coupon_title_M.png") no-repeat top center;
        background-size: contain;
        padding-top: 24%;
        margin-top: 2%;
    }
    .bn ul {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .bn .bn-tit { display: none; }

    /**float**/
    .float_wrapper {
        display: none !important;
    }

    /**prod_m**/
    .prod_wrapper {
        background: transparent;
        margin-bottom: 0;
        top: 0px;
    }

    .ProductList {}

    .ProductList .item {
        width: 49vw;
        margin: 0 .5vw;
        margin-bottom: 10px;
    }

    .prod_container {
        margin-bottom: 50px;
    }

    /*產品線間格_m*/
    .ProductList .item_0,
    .ProductList .item_1 {
        margin-top: 22vw !important;
    }

    .ProductList .item:nth-child(8n+3), .ProductList .item:nth-child(8n+4) {
        margin-top: 0vw !important;
    }

    .ProductList .item:nth-child(8n+1), .ProductList .item:nth-child(8n+2) {
        margin-top: 28vw !important;
    }

    .ProductList .ProductImg {
        width: 49vw;
        height: 49vw;
        border: 0;
    }

    .ProductList .ProductDesc {
        height: 36px;
        overflow: hidden;
        line-height: 36px;
        font-size: 14px;
        padding: 0 3px;
    }

    .item .ProductName {
        color: #000;
        height: 38px;
        overflow: hidden;
        font-size: 14px;
        text-align: center;
        padding: 4px 5px;
        line-height: 18px;
    }

    .item .ProducPrice span,
    .item .Event_Condition i span {
        font-size: 24px;
    }

    /**title**/
    .title_txt {
        /* line-height: 80px; */
        background-size: contain;
        /* width: 80%; */
    }

    .ProductList .item .sub_tit {
        height: 14vw;
        top: -16vw !important;
    }

    .ProductList .item .sub_tit img {
        width: 100%;
    }

    .ProductList .item .title_txt {}

    /**prod_container_bg**/
    .prod_container_bg_01,
    .prod_container_bg_02,
    .prod_container_bg_03,
    .prod_container_bg_04,
    .prod_container_bg_05,
    .prod_container_bg_06,
    .prod_container_bg_07,
    .prod_container_bg_08,
    .prod_container_bg_09,
    .prod_container_bg_10,
    .prod_container_bg_11,
    .prod_container_bg_12,
    .prod_container_bg_13,
    .prod_container_bg_14 {

        display: none;

        height: calc(245vw + 300px) !important;
        margin-top: 9vh;
        margin-bottom: 5vh;
        background-image: url("../images/pid_bg.jpg");
        background-repeat: repeat;
        background-position: center;
        background-size: cover;
        border-radius: 10px;
        border: 3px solid #c69c6d;
        box-shadow: 0 -30px 0 #996633;
    }



    /*M版按鈕&分會場*/
    .M_menu_wrap {
        display: block;
        position: absolute;
    }

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

    .M_menu_block ul li {
        width: 20vw;
        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: 20vw;
    }

    /**.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_filter {
        display: none;
        position: fixed;
        bottom: 60px;
        width: 95%;
        margin: auto;
        left: 0;
        right: 0;
        background: #fefefe;
        border-radius: 10px;
        z-index: 999;
    }

    .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: 998;
    }

}

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

    /** title **/
    .ProductList .item .sub_tit {
        top: -20vw !important;
    }
    .title_txt {
        font-size: 30px;
        line-height: 69px;
        background-size: contain;
        width: 80%;
    }

}

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

    .title_txt {
        font-size: 24px;
        line-height: 56px;
    }

}