html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

/* remember to define focus styles! */
:focus {
  outline: 0;
}

body {
  line-height: 1;
  color: #333333;
  /* background: #ffffff; */
  font-family: "", "PingFang TC", "Heiti TC", "Microsoft JhengHei",
    "Microsoft YaHei", sans-serif;
  font-size: 16px;
}

ol,
ul {
  list-style: none;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
  border-collapse: separate;
  border-spacing: 0;
}

caption,
th,
td {
  text-align: left;
  font-weight: normal;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
}

blockquote,
q {
  quotes: "" "";
}

a {
  color: #2f80ed;
}

/* nav */

#TopNum {
  display: none;
}

#kuai3header {
  width: 100%;
  box-sizing: border-box;
  background: #494949;
  height: 45px;
  line-height: 45px;
}

#kuai3header .words {
  margin: 0 auto;
  max-width: 1144px;
}

#kuai3header .words h1.logo {
  background: url(https://events.tkec.com.tw/events_net/events_net/top/images/header-home-new.svg?2) no-repeat;
  width: 219px;
  height: 35px;
  display: inline-block;
  text-indent: -9999px;
  white-space: nowrap;
  overflow: hidden;
  float: left;
  margin: 5px 10px;
}

#kuai3header .words ul.font {
  /*float: right;*/
  line-height: 45px;
  display: block;
  z-index: 99999;
  list-style: none;
  margin: 0;
  height: 45px;
  padding: 0;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
}

#kuai3header .words ul.font li {
  width: auto;
  margin: 0;
  padding: 0;
  height: 40px;
  display: inline-block;
  text-align: right;
  overflow: hidden;
  flex-shrink: 0;
}

#kuai3header .words ul.font li>a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  border-right: 1px solid #fff;
  padding: 0 8px;
  letter-spacing: 1px;
  width: auto;
}

li.newsale a {
  color: #fdff00 !important;
  line-height: 40px;
}

li.newsale a>b {
  background: #fdff00;
  color: #494949;
  border-radius: 5px;
  padding: 0 2%;
  font-size: 10px;
  margin-right: 5px;
}

li.newsale a:after {
  content: "▶";
  margin-left: 5px;
  font-size: 80%;
}

@media (max-width: 750px) {
  .TkecTop .menu {
    width: 100%;
    background: #494949;
    background: rgba(73, 73, 73, 0.95);
    float: none;
    overflow: hidden;
    z-index: 99999;
    max-height: 0;
    position: absolute;
    top: 44px;
    right: 0;
    left: 0;
    -webkit-transition: max-height 1s;
    -o-transition: max-height 1s;
    transition: max-height 1s;
  }

  .TkecTop .menu li {
    float: none;
  }

  .TkecTop .menu li:active {
    background: rgba(120, 120, 120, 0.4);
  }

  .TkecTop .menu a {
    height: 45px;
    border: 0;
    width: 100%;
    display: block;
  }
}

.menu-show .menu {
  max-height: 480px;
}

#showmenu {
  color: #fff;
  position: absolute;
  top: 8px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  display: none;
  width: 30px;
  height: 30px;
}

#showmenu span {
  position: absolute;
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  top: 50%;
  margin-top: -1px;
  left: 50%;
  margin-left: -10px;
  -webkit-transition: background 0.3s;
  -o-transition: background 0.3s;
  transition: background 0.3s;
}

#showmenu span:before,
#showmenu span:after {
  content: "";
  position: absolute;
  left: 0;
  background: inherit;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: -webkit-transform 0.3s, background 0s;
  -webkit-transition: background 0s, -webkit-transform 0.3s;
  transition: background 0s, -webkit-transform 0.3s;
  -o-transition: transform 0.3s, background 0s;
  transition: transform 0.3s, background 0s;
  transition: transform 0.3s, background 0s, -webkit-transform 0.3s;
}

#showmenu span:before {
  top: -6px;
}

#showmenu span:after {
  bottom: -6px;
}

img {
  height: auto;
  object-fit: cover;
  width: 100%;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/*瀏覽區域的寬度小於750像素*/
@media screen and (min-width: 320px) and (max-width: 750px) {
  #showmenu {
    display: block;
  }

  #kuai3header .words ul.font li {
    width: 100%;
    display: block;
    text-align: left;
  }

  #kuai3header .words ul.font li>a {
    border-right: 0px solid #fff;
    font-size: 90%;
  }

  li.newsale a>b {
    padding: 0.5% 2%;
  }

  #kuai3header .words .font {
    display: block !important;
  }

  #kuai3header .words ul.font {
    height: auto;
  }
}

/* nav */

/* .banner {
  height: 538px;
} */

.banner img {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.group {
  background-image: url(../image/bluebg-pc.png);
  overflow: hidden;
  position: relative;
  background-repeat: no-repeat;
  user-select: none;
  padding: 12% 0 2% 0;
  background-size: 100% 100%;
}

.bg {
  background-image: url(../image/bg-pc.png);
  background-repeat: no-repeat;
  /* background-position: center center; */
  background-color: #ed5dcf;
  top: -2px;
  background-size: 100%;
  position: relative;
  overflow: hidden;
  user-select: none;
  display: block;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2% 1rem;
  box-sizing: border-box;
  width: 80%;
}

/* 每日簽到 */

.img-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 10%;
  justify-content: center;
}

.img-container img {
  max-width: 100%;
  height: auto;
}

.automation {
  position: relative;
}

.automation .list_F ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.automation .list_F ul li {
  width: calc(25% - 20px);
  margin-bottom: 1.5%;
  text-align: center;
}

.automation.list_F ul li a {
  display: block;
  width: 100%;
}

.automation.list_F ul li a .itemF_img img {
  width: 100%;
  object-fit: contain;
  height: auto;
}

.text-container {
  position: absolute;
  max-width: 100%;
  z-index: 1;
  top: -5vw;
}

.text-container img {
  max-width: 100%;
  height: auto;
}

.ab-top {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  text-align: center;
  color: white;
  font-size: 5vw;
  white-space: nowrap;
  text-shadow: 0 0 5px black;
}

@media (min-width: 1400px) {
  .ab-top {
    font-size: 70px;
  }

  .text-container {
    top: -3vw;
  }
}

.container.hot-group-m {
  display: none;
}

@media (max-width: 768px) {
  .automation .list_F ul li {
    width: calc((100% / 2) - 8px);
  }
}

.img-content {
  position: absolute;
  top: 67%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88%;
}

.timeline {
  padding-top: 4rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.row img {
  width: 30%;
  height: auto;
  margin: 1%;
}

.top-row img {
  width: 17.5%;
  pointer-events: none;
}

.bottom-row img {
  width: 17.5%;
  pointer-events: none;
}

.button-container {
  display: flex;
  justify-content: center;
  margin-top: 3%;
}

.button-container img {
  width: 40%;
  cursor: pointer;
}

@media only screen and (max-width: 768px) {
  .group {
    background-image: url(../image/bluebg-m.png);
    padding: 4% 0;
    margin: 4% 0 0 0;
  }
}

@media only screen and (max-width: 576px) {
  .fixedbg img:nth-child(1) {
    display: none;
  }

  .sticky {
    display: none;
  }

  .container {
    width: 100%;
  }

  .banner-img {
    content: url("../image/KV_M.png");
    width: 100%;
  }

  .ab-top {
    font-size: 5vw;
    top: 47%;
    right: 14%;
  }

  .fixedbg img:nth-child(2) {
    display: none;
  }

  .button-container img {
    width: 50%;
  }

  .desktop-image {
    display: none;
  }

  .mobile-image {
    display: block;
  }
}

@media only screen and (max-width: 414px) {
  .bg {
    padding-bottom: 1% !important;
  }
}

/* 每日簽到 */

/* 每日強品 */
.title {
  margin: 0 auto 2%;
}

.title img {
  width: 100%;
}

.automation {
  width: 100%;
  padding: 2% 0 0 0;
  box-sizing: border-box;
  border-radius: 1rem;
}

@media only screen and (max-width: 414px) {
  .container {
    width: 100%;
  }

  .title {
    margin: 1rem auto;
    width: 100%;
  }

  .img-container.everyday {
    gap: 1rem;
  }
}

.desktop-image {
  display: block;
}

.mobile-image {
  display: none;
}


/* 每日強品 */

/* 說明 */
.text-bg {
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 1rem;
  margin: 1rem 0;
}

.p-text {
  margin: 1rem 0;
  line-height: 2rem;
}

/* 說明 */

/* 輪播 */

.splide__track {
  border-radius: 1rem;
  margin: 0 0 4% 0;
}

section {
  width: 100%;
}

@media only screen and (max-width: 768px) {
  .splide__track {
    border-radius: 0.5rem;
  }
}

/* 輪播 */

/* 樓梯 */
/* .fixed {
  position: fixed;
  top: -100%;
  transition: top 0.5s ease-in-out;
  z-index: 2;
  right: 0;
  text-align: center;
}

.fixed img {
  width: 80%;
}

.fixed .text {
  position: absolute;
  top: 68.5%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 80%;
}

.fixed .text p {
  font-size: 1rem;
  margin: 2rem 0;
  color: #ffffff;
}

@media only screen and (max-width: 768px) {
  .fixed {
    display: none;
  }
} */

.fixed01 {
  position: fixed;
  top: 10%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 2;
  right: 0;
  text-align: center;
}

.fixed01.show {
  top: 10%;
  opacity: 1;
}

.fixed01 .fixedimg img {
  display: block;
  margin: 0 auto;
}

.fixed01 .text {
  width: 50%;
  margin: 0 auto;
}

.fixed01 .ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.fixed01 .ul li {
  padding: 1rem 0;
  text-align: center;
  font-size: 0.875rem;
  font-weight: bold;
  background-color: #0072ff;
  margin: 1px 0;
}

.fixed01 li p {
  color: #ffffff;
}

@media only screen and (max-width: 768px) {
  .fixed01 {
    display: none;
  }
}

/* 樓梯 */

/* 雙品 */

.twoitems-group {
  position: relative;
}

.twoitems-group img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.twoitems-group .twoitems {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2%;
  position: absolute;
  top: -3%;
  left: -1.5%;
}

.twoitems-group .twoitems img {
  width: 45%;
  height: auto;
}

.twoitems {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.allforyou {
  padding: 2% 0;
  text-align: center;
}

.allforyou img {
  width: 72%;
}

/* 雙品 */

/* sp */


.sprow {
  display: flex;
  gap: 1%;
  justify-content: center;
  margin-bottom: 1%;

}

.sprow img {
  flex: 1;
  object-fit: contain;
  width: 50%;
  height: auto;
}

.sp {
  position: absolute;
  top:78%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.extracode {
    top:25%;
}
/* sp */
/* sticky */
.sticky {
    position: absolute;
    /* top: 0; */
}


.banner-title {
  display: block;
  position: absolute;
  top: 2.8rem;
  left: 16%;
}

.banner-title img {
  width: 80%;
  height: auto;
}

@media only screen and (max-width: 576px) {
  .banner-title {
    left: 1rem;
  }

  .banner-title img {
    width: 60%;
  }
}

/* sticky */