body {
  min-width: 1050px;
  color: #333;
  font: 13px/1.6em "Century Gothic", Arial, 'Microsoft JhengHei', "蘋果儷中黑", "儷黑 Pro", "新細明體", "sans-serif";
  background: url(../images/main_bg.png) no-repeat fixed bottom;
}
a {
  display: block;
  text-decoration: none;
}
:focus {
  outline: none;
}
i {
  font-style: normal;
}
.pc_mode {
  display: block;
}
.m_mode {
  display: none
}
.header, .footer {
  margin: auto;
  width: 100%;
}
.hd_pc {
  width: 100%;
}
.hd_m {
  display: none;
}
.M_menu_wrap {
  display: none;
}

.gotop {
  display: none;
}
/**main_wrapper**/
.main_wrapper {
  margin: auto;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: url(../images/rule_kv_bg.png) no-repeat top center;

  /*background: url(../images/kv_bg.png) no-repeat top center, url(../images/main_bg.png) no-repeat fixed bottom;*/
}
/**kv**/
.kv_pez {
  position: absolute;
  left: 95px;
  top: 0;
  z-index: 3;
}
.kv_pez:hover {
  filter: brightness(110%);
  transform: translateY(-3px);
}
.kv_wrapper {
  overflow-x: hidden;
  overflow-y: hidden;
  position: relative;
}

.kv_container {
  position: relative;
  z-index: 1;
  margin: auto;
  width: 1200px;
  height: 610px;
}
.kv_slogan {
  position: absolute;
  left: 13px;
  top: 95px;
  margin: auto;
  z-index: 6;
}
.kv_clown {
  position: absolute;
  right: -30px;
  top: 60px;
  margin: auto;
  z-index: 3;
}
.kv_girl {
  position: absolute;
  left: -30px;
  top: 0;
  margin: auto;
  width: 394px;
  z-index: 3;
}
.kv_event {
  position: absolute;
  right: -115px;
  top: 415px;
  margin: auto;
  width: 637px;
  z-index: 5;
  transition: linear .2s;
}
.kv_event:hover, .kv_event:focus, .kv_event:active {
  transform: translateY(-5%);
}
.prod_rota {
  position: absolute;
  z-index: 2;
  right: 280px;
  top: 60px;
  width: 380px;
  height: 430px;
  overflow: hidden;
}
.swiper-wrapper {
  text-align: center;
}

/**prod**/
.prod_wrapper {
  position: relative;
  margin-top: -10px
}
.prod_container {
  position: relative;
  z-index: 100;
  /**overflow: hidden;**/
  /**margin-top: -50px;**/
}
.ProductList {
  position: relative;
  z-index: 500;
  margin: auto;
  width: 1200px;
  /*overflow: hidden;*/
  top: 0px;
  right: -33px;
}
.ProductList:after {
  clear: both;
  display: table;
  content: '';
}
.ProductList .item {
  position: relative;
  float: left;
  width: 285px;/**4-items**/
  margin-left: 4px;
  margin-right: 4px;
  margin-top: 10px;
  margin-bottom: 0px;
  text-align: center;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow:0px 0px 4px rgba(192,144,94,0.8); 	
}


.ProductList .item > a {
  position: relative;
  display: block;
  transform: scale(.95);	
}
.ProductList .ProductImg {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  width: 275px;/**4-items**/
  height: 275px;/**4 items**/
}
.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: 30px;
  /**background-color: #8a4242;**/
  background-image: repeating-linear-gradient(90deg, rgb(54, 168, 161) -1%, rgb(72, 185, 178) 101%);
  padding: 0 5px;
  height: 36px;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  line-height: 36px;
}
/**hotitem-color**/
/*.ProductList .item_0 .ProductDesc, .ProductList .item_1 .ProductDesc, .ProductList .item_2 .ProductDesc, .ProductList .item_3 .ProductDesc{
  background-image: repeating-linear-gradient(90deg, rgb(243, 141, 67) -1%, rgb(243, 141, 67) 101%);		
}*/
.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;
  text-align: center;

}
.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: 36px;
  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;
}
/**group**/
.group {
  position: relative;
  margin: 130px 0;
  padding-bottom: 20px;
}
.group:before {
  content: '';
  position: absolute;
  top: 70px;
  bottom: 0;
  left: -32px;
  right: 0;
  margin: auto;
  /**background-color: #719275;**/
  background-image: url("../images/border.png");
  width: 1230px;
  height: 965px !important;
  z-index: -1;
}
/**title***/
.tit {
  display: none;
  margin: auto;
}
.group .tit {
  display: block !important;
  width: 1050px;
  height: 140px;
  /**background: url("../images/title_bg.png") left 83px no-repeat;**/
}
.group .tit > div {
  font-size: 48px;
  font-weight: bold;
  width: 1050px;
  /*height: 138px;*/
  line-height: 145px;
  margin: auto;
  color: #fff;
  text-shadow: #53bdfc 0px 2px 1px;
  background: url("../images/title.png") center no-repeat;
  cursor: default;
  position: relative;
  box-sizing: border-box;
  text-align: center;
}
/**圖片寫法**/
.group .tit a {
  display: inline-block;
  position: absolute;
  margin-top: -55px;
  right: 130px;
  cursor: pointer;
}
/**可修改文字寫法
.group .tit a {
  display: inline-block;
  font-size: 20px;
  line-height: 37px;
  position: absolute;
  color: #fff;
  background-image: repeating-linear-gradient(90deg, rgb(253, 97, 255) -1%, rgb(57, 204, 252) 101%);
  border-radius: 30px;
  padding: 0 20px;
  margin-top: 55px;
  right: 310px;
  cursor: pointer;    
}**/
/**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);
}
/*bg_wrapper*/
.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;
}
/*float*/
.float_wrapper {
  position: fixed;
  top: 40px;
  right: 0;
  z-index: 250;
  display: none;
}
.float_main {
  width: 90px;
  background: rgba(101, 181, 164, 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.highlight0 {
  padding-top: 3px;
  background-color: #fff;
  border-radius: 3px;
  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 a {
  position: relative;
  z-index: 500;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  padding: 5px 0 5px;
}
.float_main li a:hover {
  color: yellow;
}
.float_main li a:after {
  position: absolute;
  right: 51%;
  bottom: 0;
  left: 51%;
  z-index: 1;
  height: 2px;
  background: yellow;
  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;
}
/**switch**/
.switch_wrapper {
  margin-bottom: 20px;
  position: relative;
  height: 585px;
}
.switch_block {
  position: absolute;
  width: 1050px;
  left: -25px;
}
.switch_17Life {
  position: absolute;
  left: 50px;
  top: 25px;
}
.switch_PChome {
  position: absolute;
  right: 50px;
  top: 25px;
}
.switch_item_wrapper {
  width: 1000px;
  left: 0;
  right: 0;
  margin: 0 auto;
  position: absolute;
  top: 220px;
}
.switch_item_wrapper li {
  float: left;
  margin: 0 10px;
}
.switch_item_wrapper a {
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.45);
}
.switch_item_wrapper:after {
  content: '';
  display: table;
  clear: both;
}
.switch_block a {
  transition: .1s linear;
}
.switch_block a:hover {
  transform: scale(0.95);
  filter: brightness(110%);
}
/**右側懸浮 float**/
@media screen and (min-width: 768px) {
  /** float **/
  .NavArea {
    display: none;
    width: 140px;
    position: fixed;
    top: 50px;
    right: 0;
    z-index: 250;
  }
  /**active 背景highlight**/
  .Nav-slide.active {
    background-color: #f7d7a9;
  }
  /**active highlight**/
  .Nav-slide.active a {
    color: #ff2e57;
  }
  .float_main {
    width: 138px;
    opacity: 0.9;
    filter: alpha(opacity=90);
  }
  .float_tit_2 {
    padding: 5px 7px 0 7px;
  }
  .go_top {
    display: block;
    cursor: pointer;
  }
  .Nav-wrapper {
    /* background: #4904dc; */
    background: rgba(246, 224, 193, 0.9); /*錨點背景色*/
    width: 100px;
    margin: -50px auto 0;
    padding-top: 40px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    overflow: hidden;
  }
  .Nav-wrapper li {
    font-size: 15px;
    text-align: center;
    background: transparent;
    margin: auto;
    padding: 5px 0 5px;
    position: relative;
  }
  .Nav-wrapper li.highlight0 {
    font-size: 15px;
    margin: 0 5px;
    border-radius: 20px 0 0 0;
    color: #fff;
    font-weight: bold;
  }
  .Nav-wrapper li.highlight1 {
    padding-left: 2px;
  }
  .Nav-wrapper li.highlight0 {
    /**padding-top: 3px;**/
    background-color: #ecc185;
    border-radius: 25px;
    margin-top: 5px;
  }
  .Nav-wrapperli.highlight0 > ul {
    border-top: 1px dotted;
  }
  /**TOP**/
  .Nav-wrapper li.highlight2 {
    font-size: 24px;
    border-radius: 0 0 20px 20px;
    padding-bottom: 20px;
    padding-left: 2px;
  }
  .Nav-wrapper li a {
    color: #7d2932;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    z-index: 500;
  }
  .Nav-wrapper li a:hover {
    color: #ff2e57; /*錨點文字色*/
    font-weight: 800;
    /**text-shadow: #000 0 0 1em;**/
  }
  .Nav-wrapper li:after {
    background: #ff2e57;
    /**box-shadow: #000 0 0 1em;**/
    height: 2px;
    position: absolute;
    right: 51%;
    left: 51%;
    bottom: 0;
    z-index: 1;
    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;
  }
  .Nav-wrapper li:hover:after {
    right: 10%;
    left: 10%;
  }
  .Nav-wrapper li.highlight0:after {
    background: transparent;
  }
}
@media screen and (max-width:768px) {
  body {
    width: 100vw;
    min-width: inherit;
    background: #ffe2b8;
  }
  * {
    box-sizing: border-box;
  }
  #doyoo_panel {
    display: none !important;
  }
  .header {
    width: 100vw;
  }
  .footer {
    display: none;
  }
  .hd_pc {
    display: none;
  }
  .hd_m {
    display: block;
  }
  .pc_mode {
    display: none;
  }
  .m_mode {
    display: block;
  }
  .main_wrapper {
    width: 100vw;
    background: url(../images/rule_kv_bg.png) no-repeat top center/*, url(../images/main_bg.png) no-repeat fixed bottom*/;
    background-size: 200vw;
    /**background-position: center 11vw !important;**/
  }
  .snow {
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 800;
    overflow: hidden;
    pointer-events: none;
  }
  .shareBtn_wrapper {
    position: fixed;
    left: auto;
    right: 10px;
    bottom: 110px;
    width: 40px;
    z-index: 200;
  }
  .shareBtn_wrapper ul li {
    width: 40px;
    height: 40px;
  }
  .shareBtn_wrapper.active .shareBtn_fb {
    left: auto;
    right: 135px;
  }
  .shareBtn_wrapper.active .shareBtn_line {
    left: auto;
    right: 90px;
  }
  .shareBtn_wrapper.active .shareBtn_url {
    left: auto;
    right: 45px;
  }
  .gotop {
    background: url(//www.payeasy.com.tw/pbenefit/in_other/pmedm/106/autumn/images/icon_top.png) no-repeat;
    height: 40px;
    position: fixed;
    right: 10px;
    width: 40px;
    bottom: 82px;
    z-index: 200;
    background-size: contain;
  }
  .gotop a {
    display: block;
    height: 40px;
  }
  .kv_wrapper img {
    width: 100%;
  }
  .kv_container {
    width: 100vw;
    height: 70vw;
  }
  .kv_bg {
    background-size: 245vw;
    background-position: center top;
    height: 100%
  }
  .kv_slogan img, .kv_clown img {
    width: 100%;
  }
  .kv_slogan {
    top: 11vw;
    left: 2vw;
    right: 8vw;
  }
  .kv_clown {
    display: none; /*top: 5vw;*/ /*width: 42vw;*/ /*left: -60vw;*/
  }
  .kv_girl {
    display: none;
  }
  .kv_event img {
    width: 80%;
  }
  .kv_event {
    width: 100vw;
    top: 44vw;
    left: 63vw;
  }
  .prod_rota {
    width: 40vw;
    top: 3vw;
    right: 5vw;
    height: auto;
  }
  .prod_rota img {
    width: 100%;
  }
  .gift {
    width: 95%;
  }
  .gift img {
    width: 100%;
  }
  /**prod_m**/
  .prod_wrapper {
    margin-top: 8vw;
  }
  .prod_container {}
  .ProductList {
    width: 100vw;
    right: 0;
  }
  .ProductList .item {
    width: 49vw;
    margin: 0 .5vw;
    margin-bottom: 10px;
  }
  .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;
  }
/**group**/
.group{
	margin: 0 auto;
	padding-bottom: 0;
}    
    
.group .tit {
    width: 100vw;
    height: 26vw;
    overflow: hidden;
    background-size: contain;
}

.group:before{
	top:calc(10vw - 8px);
    /*background-color: #9b58da; 手機版商品區塊背景色*/
    background-image: none;
    height: auto !important;
}
	
	
  .ProductList .item_ .ProducPrice {
    height: 40px;
  }
  .prod_wrapper_bg {
    width: 100vw;
  }
  .prod_bg_item {
    height: calc(494vw + 1319px);
    margin-top: 16vw;
  }
  .prod_bg_item.prod_bg_00 {
    margin-top: 18vw;
  }
  .bg_fly {
    display: none;
  }
  /**bestsale**/
  .content {
    display: none;
  }
  .category_container {
    width: 100%;
  }
  .category_item {
    top: 12vw;
  }
  .category_item li {
    display: inline;
    float: left;
    width: 49%;
    cursor: pointer;
    margin-left: 1vw;
  }
  .category_item li img {
    width: 100%
  }
  /**nav**/
  .NavArea {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: none;
  }
  .NavArea .Nav {
    position: relative;
    margin: 0;
    padding: 0;
    overflow-x: scroll;
    background-color: #000;
  }
  .NavArea .Nav ul {
    white-space: nowrap;
  }
  .NavArea .Nav li {
    z-index: 10;
    position: relative;
    display: inline-block;
    padding: 0;
    overflow: hidden;
    width: auto;
    font-weight: inherit;
    text-align: center;
  }
  .NavArea .Nav li:nth-child(odd) {
    background-color: #131313;
  }
  .NavArea .Nav a {
    color: #fff;
    text-decoration: none;
    position: relative;
    padding: 0 12px;
    height: 44px;
    line-height: 44px;
  }
  .Nav-slide.active a {
    color: #f7cd6e;
  }
  .float_tit_1, .float_tit_2, .go_top {
    display: none;
  }
  /**rule_container_m**/
  .rule_container {
    width: 100vw;
    margin-top: 8vh;
  }
  .rule_content {
    width: 98%;
  }
  .rule_wrapper h1 {
    font-size: 25px;
    padding: 15px 0;
  }
}