@charset "big5";
* {
  box-sizing: border-box;
}
.header,
.footer {
  text-align: center;
}
.header_m,
.footer_m {
  display: none;
}
/* CSS Document */
body {
  color: #333;
  font-family: "Roboto", "Noto Sans TC", sans-serif;
  line-height: 1.2;
}
a {
  display: block;
  text-decoration: none;
}
:focus {
  outline: none;
}
.header,
.footer {
  margin: auto;
  width: 100%;
}
.hd_pc {
  width: 100%;
  margin-bottom: 15px;
  -webkit-box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.3);
  box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.3);
}
.hd_m,
footer {
  display: none;
}
.tag_wfe {
  display: none;
}
.activity {
  display: none;
}
/* 背景 */
.main_wrapper {
  width: 100%;
  max-width: 1190px;
  height: max-content;
  margin: auto;
  position: relative;
  /* background: url(../images/kv_bg_index.jpg) top center no-repeat;
  background-size: 100% 100%; */
  padding: 50px 0;
  overflow: hidden;
  border-image-slice: 378 378 378 546 fill;
    border-image-width: 207px 207px 207px 300px;
    border-image-repeat: round;
    border-image-source: url(../images/kv_bg_index.jpg);
}
.com_logo_wrapper {
  width: 200px;
}
.com_logo_bg {
}
.com_logo {
  width: 100%;
}
.main_frame {
  width: 91%;
  margin: auto;
  z-index: 1;
  border-radius: 10px;
  /*background: url(../images/container_bg.png) no-repeat top center;*/
  background: linear-gradient(0deg, rgba(167, 216, 76, 0.8), rgba(255, 215, 150, 0.8));
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25);
  padding: 1em;
}
.main {
  position: relative;
}
.version {
  position: absolute;
  top: -3.5em;
  right: -8px;
  display: flex;
  align-items: baseline;
  z-index: 2;
  color: #FF8000;
  line-height: 1.3;
}
.version-volume {
  font-size: 20px;
  font-weight: 400;
}
.version-month {
  font-size: 28px;
  font-weight: 700;
  margin: 0 5px;
}
.version-month::after {
  content: ".";
}
.version-year {
  font-size: 24px;
  font-weight: 400;
}
.head_wrapper {
  font-family: "Noto Serif TC", serif;
  background-color: #fff;
  overflow: hidden;
  display: flex;
  padding: 0.5em;
  gap: 0.5em;
  border-radius: 0.5em 0.5em 0 0;
  justify-content: center;
}
/* 本月最有深度的折扣 */
.slogan {
  /*  flex: 1;*/
  display: flex;
  gap: 0.2em;
  flex-direction: column;
}
.main_slogan,
.slogan_desc {
  color: #FF8000;
  font-weight: 700;
}
.main_slogan {
  font-size: 30px;
}
.slogan_desc {
  font-size: 20px;
}
.main_slogan_en,
.slogan_desc_en {
  font-size: 16px;
  font-weight: 400;
}
.slogan_en {
  font-size: 14px;
  font-family: "Roboto", sans-serif;
}
.mobile_breakpoint {
  display: none;
}
.lottery_img {
  background: url(../images/bn_gift.png) no-repeat;
  background-size: contain;
  width: 230px;
  height: 100%;
}
.WelfareName {
  height: 24px;
}
/* .date_en::after {
  content: "th";
  font-size: 12px;
  position: relative;
  top: -5px;
} */
/* 精選-PDF */
.special {
  border-radius: 0 0 0.5em 0.5em;
  background: #698D49;
  position: relative;
  padding: 1em;
  display: flex;
}
.special_decorations {
  position: absolute;
  width: 70px;
}
.decoration_left {
  top: 0em;
  left: 0.2em;
}
.decoration_right {
  bottom: 0em;
  left: 3em;
}
.special .com_title {
  position: relative;
  font-family: "Noto Serif TC", serif;
  font-weight: bold;
  color: #fff0b6;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  padding: 0 10px;
  font-size: 32px;
  gap: 0.2em;
  writing-mode: vertical-rl;
}
.special_title_en {
  font-size: 50%;
}
.special_prod_wrapper {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 10px;
}
.special_prod_wrapper .ProductImg {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 10px;
}
.special_prod_wrapper .promotionImg {
  position: absolute;
  top: 0;
  left: 0;
}
.special_prod_wrapper .ProductImg .tab {
  position: absolute;
  top: 0;
  left: 10px;
  z-index: 4;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  display: inline-block;
  background-color: #e04d34;
  padding: 10px 20px;
  border-radius: 0 0 10px 10px;
  box-shadow: rgb(0 0 0 / 35%) 2px 2px 3px;
}
.special_prod_wrapper .item {
  font-size: 16px;
  border-radius: 10px;
  position: relative;
  box-sizing: border-box;
  text-align: center;
  flex: 1;
  padding-left: 0.3em;
  padding-right: 0.3em;
  margin-bottom: 0.6em;
}
.special_prod_wrapper .item > a {
  display: block;
  background: #fff;
  box-shadow: 0px 0 10px 0px rgba(0, 0, 0, 0.2);
  transition-timing-function: ease-out;
  transition-duration: 0.1s;
  overflow: hidden;
  border-radius: 10px;
}
@media (hover: hover) {
  .special_prod_wrapper .item > a:hover,
  .special_prod_wrapper .item > a:focus,
  .special_prod_wrapper .item > a:active {
    transform: translateY(-5px);
  }
}
.special_prod_wrapper .item .ProductImg {
  box-sizing: border-box;
  width: calc(100% - 20px);
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}
.special_prod_wrapper .item .ProductImg img {
  width: 100%;
}
.special_prod_wrapper .item .ProductDesc {
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  line-height: 36px;
  background: linear-gradient(90deg, #b08ee7 0%, #ff6e9f 100%);
  width: 90%;
  height: 36px;
  padding: 0 5px;
  margin: 2px auto;
  border-radius: 50px;
  overflow: hidden;
}
.special_prod_wrapper .item .ProductName {
  color: #000;
  font-size: 15px;
  line-height: 20px;
  text-align: center;
  height: 42px;
  padding: 4px 5px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.special_prod_wrapper .item .ProducPrice,
.special_prod_wrapper .item .Event_Condition {
  position: relative;
  color:  #ff57e9;
  line-height: 1.2;
  margin-top: 3px;
}
.special_prod_wrapper .item .ProducPrice label {
  cursor: pointer;
}
.special_prod_wrapper .item .ProducPrice i div span {
  font-size: 13px;
}
.special_prod_wrapper .item .ProducPrice i {
  display: flex;
  flex-direction: column-reverse;
}
.special_prod_wrapper .item .ProducPrice span {
  margin: 0 2px;
  font-weight: 500;
  font-size: 33px;
  font-style: normal;
}
.special_prod_wrapper .item .marketPrice i {
  color: #747474;
  font-style: normal;
  font-size: 13px;
  margin: 5px 0 10px;
  display: inline-block;
  text-decoration: line-through;
}
/*prod*/
.prod_wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 0.5em;
  margin: 20px 0;
}
.prod_container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}
.prod_title {
  color: #ff8000;
  font-weight: 700;
  font-family: "Noto Serif TC", serif;
  writing-mode: vertical-rl;
  position: relative;
background: linear-gradient(180deg, #ffe5c7, #d3ffdc);
  padding: 1em 0 1em 1em;
}
.prod_title::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0.5em 16.5em 0;
  border-color: transparent #fff transparent transparent;
}
.prod_title p {
  font-size: 32px;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  padding: 10px;
  gap: 0.2em;
}
.prod_title .decoration_1st {
  width: 4em;
  position: absolute;
  top: 0;
  left: 0.4em;
}
.prod_title .decoration_2nd {
  width: 3em;
  position: absolute;
  bottom: 0;
  right: 0.4em;
}
.prod_title .enTitle {
  font-size: 50%;
}
.ProductList {
  flex: 1;
  position: relative;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 1em;
  row-gap: 0.5em;
  background: #fff;
  padding: 1em;
}
.travel_wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 0.5em;
  margin: 20px 0;
}
.travel .ProductList {
  grid-template-columns: repeat(4, 1fr);
}
.travel .prod_title {
  background: linear-gradient(180deg, #eaf7f8 0%, #acdaff 100%);
  color: #4c67a3;
}
.travel .ProductList {
  background-color: #ffffff;
}
.travel .prod_title::after {
  border-color: transparent #ffffff transparent transparent;
}
.travel .ProductList .item > a {
  padding: 10px;
  border-radius: 10px;
}
.travel .ProductList .ProductImg {
  border: none;
  border-radius: 10px;
}
.ProductList .item {
  position: relative;
  display: flex;
  text-align: center;
}
.ProductList .item > a {
  position: relative;
  display: block;
  background: #fff;
  width: 100%;
}
.ProductList .ProductImg {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
  padding-bottom: 100%;
}
.ProductList .ProductImg img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: ease-out 0.1s;
  object-fit: cover;
  border: 1px solid #eee;
}
@media (hover: hover) {
  .ProductList .item > a:hover .ProductImg img {
    filter: brightness(110%);
  }
}
.ProductList .ProductDesc {
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  line-height: 36px;
  background: linear-gradient(90deg, #f0776d 0%, #a92426 100%);
  height: 36px;
  padding: 0 5px;
  margin: 2px auto;
  border-radius: 50px;
  overflow: hidden;
}
.ProductList .item .ProductName {
  overflow: hidden;
  padding: 6px 5px 0;
  max-height: 40px;
  color: #000;
  text-align: center;
  font-size: 14px;
  line-height: 1.2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.ProductList .item .ProducPrice,
.ProductList .item .Event_Condition {
  color: #c80018;
  font-size: 16px;
}
.ProductList .item .ProducPrice em span {
  font-size: 13px;
}
.ProductList label.prePrice {
  font-size: 16px;
  margin: 6px 0;
  display: inline-block;
}
.ProductList .marketPrice {
  font-size: 12px;
  color: #585858;
  text-decoration: line-through;
}
/* Banner */
.bn_main {
  overflow: hidden;
  text-align: center;
  display: flex;
  justify-content: center;
  width: 100%;
  padding-bottom: calc(100% * 66 / 533);
  background: url("../images/bn_wishpool.png") no-repeat;
  background-size: contain;
}
.bn_main img {
  width: 100%;
  object-fit: contain;
}
.top_txt {
  text-align: center;
}
/* 活動說明文字 */
.gift_wrapper {
  width: 91%;
  margin: 20px auto 0px;
  background: url(../images/container_bg.png) no-repeat top center;
  background-size: 100% 100%;
  background-color: #b4e5db;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
  padding: 1em;
  border-radius: 10px;
}
.gift_title {
  color: white;
  border-radius: 0.5em 0.5em 0px 0px;
  background: linear-gradient(270deg, #bfdaae 0%, #e3a4a5 100%);
  text-align: center;
  padding: 20px 0;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.4;
}
.gift_item_wrapper {
  border-radius: 0 0 0.5em 0.5em;
  line-height: 1.6;
  padding: 10px;
  background: #fff;
}
.gift_item_wrapper h3 {
  color: #ff6678;
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  margin-top: 10px;
}
.gift_item_wrapper p,
.gift_item_wrapper ul li {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}
.gift_item_wrapper ul li {
  position: relative;
  list-style: none;
  margin-left: 20px;
}
.gift_item_wrapper ul li:before {
  content: "·";
  position: absolute;
  font-size: 10px;
  top: 4px;
  left: -15px;
}
.wonLottery {
  display: inline-block;
  color: #333;
  text-decoration: underline;
}
@media screen and (max-width: 1200px) {
  .main_slogan {
    font-size: 27px;
  }
  .slogan_desc {
    font-size: 18px;
  }
  .slogan_en {
    font-size: 14px;
  }
}
@media screen and (max-width: 768px) {
  .slogan {
    /* width: 100%; */
  }
  .main_slogan {
    font-size: 22px;
    line-height: 1.4;
  }
  .main_slogan .mobile_breakpoint {
    display: block;
  }
  .com_logo_wrapper {
    width: 20vw;
  }
  .slogan_desc {
    font-size: 16px;
    line-height: 1.4;
  }
  .slogan_en {
    font-size: 12px;
    line-height: 1.4;
  }
  .lottery_img {
    background: url(../images/bn_gift_m.png) no-repeat right top;
    background-size: contain;
    width: 12vw;
  }
  .special .com_title {
    font-size: 28px;
  }
  .prod_title p {
    font-size: 28px;
  }
  .bn_main {
    width: 100%;
    padding-bottom: calc(100% * 165 / 379);
    background: url("../images/bn_wishpool_m.png") no-repeat;
    background-size: contain;
  }
  .gift_title {
    font-size: 20px;
  }
  .header_m,
  .footer_m {
    display: block;
  }
  .header_pc,
  .footer_pc,
  .side_qa {
    display: none !important;
  }
}
@media screen and (max-width: 576px) {
  .main_frame,
  .gift_wrapper {
    width: 96%;
    padding: 0.5em;
  }
  .version {
    top: -2.5em;
  }
  .version-month {
    font-size: 20px;
  }
  .head_wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
  }
  .head_wrapper a {
    grid-row: 1 / 3;
    grid-column: 2 / 3;
  }
  .com_logo_wrapper {
    width: 30vw;
  }
  .lottery_img {
    width: 100%;
  }
  .comName {
    display: inline-block;
  }
  .special {
    flex-direction: column;
    padding: 0.5em;
  }
  .decoration_right {
    bottom: inherit;
    top: 0;
    right: 0;
    left: inherit;
  }
  .special_prod_wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  .prod_container {
    flex-direction: column;
  }
  .prod_title {
    padding: 0;
    display: flex;
  }
  .prod_title:after {
    display: none;
  }
  .prod_title p,
  .special .com_title {
    font-size: 28px;
    writing-mode: horizontal-tb;
    flex-direction: column;
  }
  .ProductList {
    grid-template-columns: repeat(2, 1fr);
  }
  .travel .ProductList {
    grid-template-columns: repeat(2, 1fr);
  }
}
