/* 全網頁只要滑鼠滑到連結就變手指 */
a:hover {
  cursor: pointer !important;
}
/* 反白顏色 */
::selection {
  background: #ffcc00;
  /* color: 文字顏色值; */
}
::-moz-selection {
  background: #ffcc00;
  /* color: 文字顏色值; */
}
.loader-inner {
  width: 100vw;
  height: 100vh;
  margin: 0;
  position: fixed;
  z-index: 9999;
}
/* 這行是最上面的板頭 */
header > .inner {
  background-color: rgba(255, 255, 255, 0);
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

#wrap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  overflow: hidden;
}
#wrap canvas {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 500px;
  height: 500px;
  margin: -250px 0 0 -250px;
  -outline: 1px solid #fff;
}

/* hoho的logo */
header > .inner a.logo {
  background: url(../images/icon_hoho-02.svg) no-repeat center;
  background-size: cover;
  width: 200px;
  height: 140px;
  left: -15px;
}
/* hoho的logo滑鼠移過去後 */
header > .inner a.logo:hover {
  filter: brightness(1.1);
  transition: 0.2s;
}
/* 右上的icon */
header ul.wrap-link li i[class*="icon-"],
header ul.wrap-link li a[class*="icon-"] {
  background-color: #ffcc00;
  color: #ffffff;
  transition: 0.2s;
}
/* 右上的icon滑鼠移過去後 */
header ul.wrap-link li i[class*="icon-"]:hover,
header ul.wrap-link li a[class*="icon-"]:hover {
  background-color: #222222;
  transition: 0.2s;
}
/* icon旁邊的文字 */
header ul.wrap-link li span {
  color: #222222;
  margin-right: 10px;
  transition: 0.2s;
}

/* 從這邊開始是內容大框架 */
.container {
  background-color: #fffae2;
  background-image: radial-gradient(#ffcc00 1px, #ffffff 1px),
    radial-gradient(#ffcc00 1px, #ffffff 1px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  -webkit-animation: bgscroll 25s linear infinite;
  animation: bgscroll 25s linear infinite;
  overflow: hidden;
  transition: 0.2s;
}
@-webkit-keyframes bgscroll {
  0% {
    background-position: 0 0;
    transition: 0.2s;
  }
  100% {
    background-position: -800px 500px;
    transition: 0.2s;
  }
}

/* 主視覺 */
main.kv-bg {
  background: url(../images/index.jpg) repeat top center;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  overflow: hidden;
  height: auto;
  min-height: 700px !important;
  padding: 60px 0 0 0 !important;
  position: relative;
  /* animation: bgscroll 25s linear infinite; */
  transition: 0.2s;
}
#countdown {
  position: absolute;
  bottom: 30px;
  text-align: center;
  transition: 0.2s;
}
#countdown ul {
  background-color: transparent;
  transition: 0.2s;
}
#countdown li {
  text-align: center;
  display: inline-block;
  font-size: 1.5em;
  list-style-type: none;
  padding: 0.5em;
  border: 5px solid #222222;
  background-color: #ffffff;
  border-radius: 15px;
  color: #222222;
  min-width: 137px;
  text-transform: uppercase;
  transition: 0.2s;
}
#countdown li span {
  display: block;
  font-size: 4.5rem;
  transition: 0.2s;
}
#countdown li span.redyear {
  display: block;
  font-size: 3rem;
  background-color: red;
  color: #ffffff;
  border-radius: 30px;
  width: 100%;
  transition: 0.2s;
}

@media all and (max-width: 768px) {
  h1 {
    font-size: calc(1.5rem * var(--smaller));
  }

  li {
    font-size: calc(1.125rem * var(--smaller));
  }

  li span {
    font-size: calc(3.375rem * var(--smaller));
  }
}

/* 主視覺下面的券大框架 */
section#coupon {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  flex-direction: column;
}

/* 主視覺下面的券-大標 */

#headtitle-one {
  margin: 60px auto 30px auto;
  text-align: center;
}

.headtitle {
  display: block;
  margin: 15px auto 15px auto;
  font-size: 45px;
  line-height: 60px;
  font-weight: bold;
  color: #222222 !important;
  display: block;
}

/* 主視覺下面的券-包三個券的框架 */
section#coupon .coupon-main {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto 40px auto;
  z-index: 3;
  position: relative;
}

/* 主視覺下面的券-三張券的個別框架 */
section#coupon .coupon-main .coupon-1 {
  /* background: url(../images/300x320-1.png) no-repeat; */
  background-size: cover;
  background-color: #fff;
  width: 480px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  border-radius: 15px;
}
section#coupon .coupon-main .coupon-1:hover {
  /* background: url(../images/300x320-1-hover.png) no-repeat; */
  transition: 0.3s;
}

section#coupon .coupon-main .coupon-2 {
  /* background: url(../images/300x320-1.png) no-repeat; */
  background-size: cover;
  background-color: #fff;
  width: 480px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  border-radius: 15px;
}
section#coupon .coupon-main .coupon-2:hover {
  /* background: url(../images/300x320-2-hover.png) no-repeat; */
  transition: 0.3s;
}

/* 選單 */
nav {
  position: relative;
  z-index: 999;
  background-color: transparent;
  transition: 0.2s;
}
nav .inner {
  margin-top: 60px;
  background-color: transparent;
  transition: 0.2s;
}
nav .inner a {
  background-color: #222222;
  color: #fff;
  width: 25%;
  text-align: center;
  transition: 0.2s;
  font-size: 21px;
  transition: 0.2s;
}
nav .inner a:hover {
  background-color: #ffcc00;
  transition: 0.2s;
  color: #444;
  transition: 0.2s;
}

/* 開始商品列表 */
section .sec-inner {
  padding: 30px 0 !important;
}
section .sec-inner .sec-head .headtitle {
  color: #444444;
  letter-spacing: 0.5vh;
}

section .sec-inner .sec-head .text {
  color: #222222;
  background-color: #ffcc00;
  font-size: 2em;
  letter-spacing: 0.2vh;
  border-radius: 30px;
  width: 90%;
  margin: 0 auto;
}

.wrap-item .item {
  -webkit-box-shadow: 0 0 7px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 0 7px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.3);
}

.wrap-item .item .item-bottom .text {
  background-color: #fff;
}

.wrap-item.item-card .item .item-img {
  border: none;
}
.wrap-item.item-card .item {
  transition: 0.2s;
}
.wrap-item.item-card .item:hover {
  transform: scale(0.95);
  transition: 0.2s;
}

.wrap-item.item-card .item .item-bottom .text .discount-price {
  color: red;
  text-align: right;
}

/* 回到上方 */
a#backTop {
  background-color: #444;
}

/* 注意事項 */
section#notice ul.list-num {
  background-color: rgba(68, 68, 68, 0.7);
  line-height: 1.8rem;
  color: rgb(255, 255, 255);
}

@media (max-width: 1440px) {
}
@media (max-width: 1210px) {
}

@media (max-width: 1030px) {
}

@media (max-width: 780px) {
  /* hoho的logo */
  /* header > .inner a.logo {
    background: url(../images/icon_hoho-02.svg) no-repeat center;
    background-size: contain;
    width: 150px;
    height: 105px;
    left: -15px;
    transition: 0.2s;
  } */

  /* 主視覺 */
  main.kv-bg {
    background: url(../images/index-768.jpg) repeat top center;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
    height: auto;
    min-height: 1024px !important;
    padding: 60px 0 0 0 !important;
    transition: 0.2s;
  }

  nav .inner a {
    width: 30%;
  }
  #countdown {
    position: absolute;
    bottom: 150px;
  }

  #countdown ul {
    background-color: transparent;
  }
  #countdown li {
    text-align: center;
    display: inline-block;
    font-size: 1.5em;
    list-style-type: none;
    padding: 0.5em;
    border: 5px solid #222222;
    background-color: #ffffff;
    border-radius: 15px;
    color: #222222;
    min-width: 137px;
    text-transform: uppercase;
  }
  #countdown li span {
    display: block;
    font-size: 4.5rem;
  }
}
@media (max-width: 550px) {
  /* hoho的logo */
  header > .inner a.logo {
    background: url(../images/icon_hoho-02.svg) no-repeat center;
    background-size: contain;
    width: 150px;
    height: 105px;
    left: -15px;
    transition: 0.2s;
  }

  /* 主視覺 */
  main.kv-bg {
    background: url(../images/index-768.jpg) no-repeat top center;
    background-size: contain;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
    height: auto;
    min-height: 733px !important;
    padding: 60px 0 0 0 !important;
    transition: 0.2s;
  }

  nav .inner a {
    width: 30%;
    transition: 0.2s;
  }
  #countdown {
    position: absolute;
    bottom: 100px;
    transition: 0.2s;
  }
  #countdown ul {
    background-color: transparent;
    transition: 0.2s;
  }
  #countdown li {
    text-align: center;
    display: inline-block;
    font-size: 1.5em;
    list-style-type: none;
    padding: 0.5em;
    border: 5px solid #222222;
    background-color: #ffffff;
    border-radius: 15px;
    color: #222222;
    min-width: 100px;
    text-transform: uppercase;
    transition: 0.2s;
  }
  #countdown li span {
    display: block;
    font-size: 3rem;
    transition: 0.2s;
  }
}
@media (max-width: 420px) {
  main.kv-bg {
    background: url(../images/index-414.jpg) no-repeat top center;
    background-size: cover;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
    height: auto;
    min-height: 736px !important;
    padding: 60px 0 0 0 !important;
    transition: 0.2s;
  }

  /* 選單 */
  section .sec-inner {
    padding: 10px 0 0 0 !important;
    transition: 0.2s;
  }
  section .sec-inner .sec-head .headtitle {
    color: #444444;
    letter-spacing: 0.5vh;
    line-height: 4.5vh;
    transition: 0.2s;
  }
  section .sec-inner .sec-head .text {
    color: #222222;
    background-color: #ffcc00;
    font-size: 1.2em;
    letter-spacing: 0.2vh;
    border-radius: 0px;
    padding: 0.5em;
    width: 90%;
    margin: 0 auto;
    transition: 0.2s;
  }
  nav.fixed.open .inner a {
    text-align: left;
    transition: 0.2s;
  }
  #countdown {
    position: absolute;
    bottom: 190px;
    transition: 0.2s;
  }
  #countdown ul {
    background-color: transparent;
    transition: 0.2s;
  }
  #countdown li {
    text-align: center;
    display: inline-block;
    font-size: 1.5em;
    list-style-type: none;
    padding: 0.3em;
    border: 3px solid #222222;
    background-color: #ffffff;
    border-radius: 15px;
    color: #222222;
    min-width: 80px;
    text-transform: uppercase;
    transition: 0.2s;
  }
  #countdown li span {
    display: block;
    font-size: 2.5rem;
    transition: 0.2s;
  }
  /* 右上的icon */
  header ul.wrap-link li i[class*="icon-"],
  header ul.wrap-link li a[class*="icon-"] {
    background-color: #222222;
    color: #ffffff;
    transition: 0.2s;
  }
  /* 右上的icon滑鼠移過去後 */
  header ul.wrap-link li i[class*="icon-"]:hover,
  header ul.wrap-link li a[class*="icon-"]:hover {
    background-color: #222222;
    transition: 0.2s;
  }
}
@media (max-width: 375px) {
  main.kv-bg {
    background: url(../images/index-375.jpg) no-repeat top center;
    background-size: cover;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
    height: auto;
    min-height: 812px !important;
    padding: 60px 0 0 0 !important;
    transition: 0.2s;
  }

  /* 選單 */
  section .sec-inner {
    padding: 10px 0 0 0 !important;
    transition: 0.2s;
  }
  section .sec-inner .sec-head .headtitle {
    color: #444444;
    letter-spacing: 0.5vh;
    line-height: 4.5vh;
    transition: 0.2s;
  }
  section .sec-inner .sec-head .text {
    color: #222222;
    background-color: #ffcc00;
    font-size: 1.2em;
    letter-spacing: 0.2vh;
    border-radius: 0px;
    padding: 0.5em;
    width: 90%;
    margin: 0 auto;
    transition: 0.2s;
  }
  nav.fixed.open .inner a {
    text-align: left;
    transition: 0.2s;
  }
  #countdown {
    position: absolute;
    bottom: 300px;
    transition: 0.2s;
  }
  #countdown ul {
    background-color: transparent;
    transition: 0.2s;
  }
  #countdown li {
    text-align: center;
    display: inline-block;
    font-size: 1.5em;
    list-style-type: none;
    padding: 0.3em;
    border: 3px solid #222222;
    background-color: #ffffff;
    border-radius: 15px;
    color: #222222;
    min-width: 80px;
    text-transform: uppercase;
    transition: 0.2s;
  }
  #countdown li span {
    display: block;
    font-size: 2.5rem;
    transition: 0.2s;
  }
}
