/* 反白顏色 */
::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(0px);
  backdrop-filter: blur(0px);
}

#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: #ffcd00;
  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: #3d3935;
  transition: 0.2s;
}
/* icon旁邊的文字 */
header ul.wrap-link li span {
  color: #222222;
  margin-right: 10px;
  transition: 0.2s;
}

/* 從這邊開始是內容大框架 */
.container {
  background-color: #ffd3d4;
  background-image: radial-gradient(#ffd3d4 1px, #ffffff 1px),
    radial-gradient(#ffd3d4 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/banner-1920x700.jpg) no-repeat center center;
  background-color: rgba(255, 211, 212, 0);
  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;
  /* animation: bgscroll 25s linear infinite; */
  transition: 0.2s;
}
#main-title {
  position: absolute;
  z-index: 99;
  bottom: 20%;
}


/*frame*/
.st2 {
  fill: transparent;
  stroke: #ffcc00;
  stroke-dasharray: 1500;
  stroke-dashoffset: 0;
  stroke-width: 0;
  animation: hello 2s ease-in 1.2s;
  transform: rotate(0.75turn);
}
@keyframes hello {
  0% {
    stroke-dashoffset: 1500;
    stroke-width: 1;
    fill: #ffcc00;
  }
  100% {
    stroke-dashoffset: 0;
    stroke-width: 1;
    fill: transparent;
  }
  /* 100% {
    stroke-dashoffset: 0;
    stroke-width: 1;
    fill: transparent;
  } */
}
.mainbutton {
  background-color: #ff51a7;
  color: #ffffff;
  width: 250px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  letter-spacing: 2px;
  position: absolute;
  z-index: 99;
  bottom: 50px;
  left: calc(50% - 125px);
  transition: 0.2s;
}
.mainbutton:hover {
  bottom: 45px;
  transition: 0.2s;
  background-color: #ffcc00;
  /* filter: brightness(1.2); */
  cursor: pointer !important;
}
#O-G,
#O-L,
#O-CR,
#O-R {
  position: absolute;
  z-index: 5;
}
#O-G {
  left: 20%;
  bottom: 5%;
  width: 12.44vw;
}
#O-L {
  left: 0%;
  bottom: 5%;
  width: 18.28vw;
}
#O-R {
  right: 3%;
  bottom: 5%;
  width: 12.39vw;
}
#O-CR {
  right: 13%;
  bottom: 5%;
  width: 26.51vw;
}

#pic-1,
#pic-2,
#pic-3,
#pic-4,
#pic-5 {
  position: absolute;
  animation: hello2 infinite ease-in;
}
@keyframes hello2 {
  0% {
    -webkit-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
  }
  50% {
    -webkit-transform: translateY(-20px);
    -ms-transform: translateY(-20px);
    transform: translateY(-20px);
  }
  100% {
    -webkit-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
  }
}

#pic-38 {
  position: absolute;
  z-index: 2;
  left: 31%;
  width: 5vw;
  top: 20%;
}
#pic-pig {
  position: absolute;
  z-index: 2;
  transition: 0.2s;
  animation-name: fIDB, hello2;
  -webkit-animation-name: fIDB, hello2;
  animation-duration: 0s, 3s;
  -webkit-animation-duration: 0s, 3s;
  animation-timing-function: ease-in, ease-in;
  -webkit-animation-timing-function: ease-in, ease-in;
  animation-delay: 0s, 3s;
  -webkit-animation-delay: 0s, 3s;
  animation-iteration-count: 1, infinite;
  -webkit-animation-iteration-count: 1, infinite;
}
@-webkit-keyframes fIDB {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-2000px);
    transform: translateY(-2000px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

#pic-pig {
  left: calc(50% - 200px);
  z-index: 5;
}
#Object {
  position: absolute;
  z-index: 2;
  bottom: 0;
}
#pic-1 {
  z-index: 1;
  top: 8%;
  right: 25%;
  width: 11.93vw;
}
#pic-2 {
  z-index: 1;
  top: 35%;
  right: 15%;
  width: 11.97vw;
}
#pic-3 {
  z-index: 1;
  top: 20%;
  left: 13%;
  width: 15.2vw;
}
#pic-4 {
  z-index: 1;
  top: 20%;
  right: 0%;
  width: 14.06vw;
}
#pic-5 {
  z-index: 1;
  top: 15%;
  left: 0%;
  width: 11.97vw;
}

/* 主視覺下面的優惠券 */
section #coupon {
  width: 90vw;
  background-color: #fff;
  color: #222;
  text-align: center;
  max-width: 1000px;
  height: auto;
  border-radius: 0vw;
  position: relative;
  margin: auto;
  padding: 20px 20px;
  border: 5px solid #ff51a7;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
section #coupon .coupon-m #coupon-title {
  font-size: 2.1rem;
  display: block;
}
section #coupon .coupon-m .coupon-smalltitle {
  width: 250px;
  height: auto;
  display: block;
  background-color: #ffcc00;
  font-size: 1.5rem;
  border-radius: 20px;
  margin: 20px auto;
}
section #coupon .coupon-m .coupon-main {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 1.5rem;
}
section #coupon .coupon-m .foodlogo {
  max-width: 180px;
  margin: 0 10px;
}

section #coupon .coupon-m .coupon-button {
  background-color: #ffffff;
  color: #ff51a7;
  border: solid 2px #ff51a7;
  width: 250px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  letter-spacing: 2px;
  transition: 0.2s;
  margin: 30px auto;
}

section #coupon .coupon-m .coupon-button:hover {
  bottom: 45px;
  transition: 0.2s;
  background-color: #ff51a7;
  color: #ffffff;
  /* filter: brightness(1.2); */
  cursor: pointer !important;
}

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

#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;
}

/* 選單 */
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: #9c7a5e;
  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: transparent;
  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(255, 211, 212, 0.5);
  line-height: 1.6rem;
  color: #222;
}

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

@media (max-width: 1030px) {
}
@media (max-width: 845px) {
  nav .inner a {
    width: 30%;
  }
  #main-title {
    position: absolute;
    z-index: 99;
    bottom: 20%;
  }

  /*frame*/
  .st2 {
    fill: transparent;
    stroke: #ffcc00;
    stroke-dasharray: 1500;
    stroke-dashoffset: 0;
    stroke-width: 0;
    animation: hello 2s ease-in 1.2s;
    transform: rotate(0.75turn);
  }
  @keyframes hello {
    0% {
      stroke-dashoffset: 1500;
      stroke-width: 1;
      fill: #ffcc00;
    }
    100% {
      stroke-dashoffset: 0;
      stroke-width: 1;
      fill: transparent;
    }
    /* 100% {
    stroke-dashoffset: 0;
    stroke-width: 1;
    fill: transparent;
  } */
  }
  .mainbutton {
    background-color: #ff51a7;
    color: #ffffff;
    width: 250px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    letter-spacing: 2px;
    position: absolute;
    z-index: 99;
    bottom: 50px;
    transition: 0.2s;
  }
  .mainbutton:hover {
    bottom: 45px;
    transition: 0.2s;
    background-color: #ffcc00;
    /* filter: brightness(1.2); */
    cursor: pointer !important;
  }
  #O-G,
  #O-L,
  #O-CR,
  #O-R {
    position: absolute;
    z-index: 5;
  }
  #O-G {
    left: 20%;
    bottom: 5%;
    width: 12.44vw;
  }
  #O-L {
    left: 0%;
    bottom: 5%;
    width: 18.28vw;
  }
  #O-R {
    right: 3%;
    bottom: 5%;
    width: 12.39vw;
  }
  #O-CR {
    right: 13%;
    bottom: 5%;
    width: 26.51vw;
  }

  #pic-1,
  #pic-2,
  #pic-3,
  #pic-4,
  #pic-5 {
    position: absolute;
    animation: hello2 infinite ease-in;
  }

  #pic-38 {
    position: absolute;
    z-index: 2;
    left: 30%;
    width: 5vw;
    top: 20%;
  }
  #pic-pig {
    left: calc(50% - 230px);
    z-index: 5;
  }
  #Object {
    position: absolute;
    z-index: 2;
    bottom: 0;
  }
  #pic-1 {
    z-index: 1;
    top: 8%;
    right: 25%;
    width: 11.93vw;
  }
  #pic-2 {
    z-index: 1;
    top: 35%;
    right: 15%;
    width: 11.97vw;
  }
  #pic-3 {
    z-index: 1;
    top: 20%;
    left: 13%;
    width: 15.2vw;
  }
  #pic-4 {
    z-index: 1;
    top: 20%;
    right: 0%;
    width: 14.06vw;
  }
  #pic-5 {
    z-index: 1;
    top: 15%;
    left: 0%;
    width: 11.97vw;
  }

  /* 主視覺下面的優惠券 */
  section #coupon {
    background-color: #fff;
    color: #222;
    text-align: center;
    max-width: 700px;
    height: auto;
    border-radius: 0vw;
    position: relative;
    margin: auto;
    padding: 20px 0;
    border: 5px solid #ff51a7;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  section #coupon .coupon-m .coupon-main:nth-child(n) {
    display: flex;
    align-items: center;
    justify-content: center;
    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;
  }
}
@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;
  }

  nav .inner a {
    width: 30%;
    transition: 0.2s;
  }
  /* 主視覺 */
  main.kv-bg {
    background: url(../images/index-2.jpg) no-repeat center center;
    background-color: rgba(255, 211, 212, 0);
    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;
    position: relative;
    /* animation: bgscroll 25s linear infinite; */
    transition: 0.2s;
  }
  #main-title {
    width: 90vw;
  }

  /*frame*/
  .st2 {
    margin: auto;
    position: absolute;
    left: 0px;
    fill: transparent;
    stroke-width: 10px;
    stroke: #ffcc00;
    stroke-dasharray: 1500;
    stroke-dashoffset: 0;
    stroke-width: 0;
    animation: hello 2s ease-in 1.2s;
    transform: rotate(0.75turn);
  }
  #O-G,
  #O-L,
  #O-CR,
  #O-R {
    position: absolute;
    z-index: 5;
  }
  #O-G {
    left: 65%;
    bottom: 36%;
    width: 35vw;
  }
  #O-L {
    left: -5%;
    bottom: 5%;
    width: 25vw;
  }
  #O-R {
    right: 0%;
    bottom: 5%;
    width: 25vw;
  }
  #O-CR {
    display: none;
  }

  #pic-1,
  #pic-2,
  #pic-3,
  #pic-4,
  #pic-5 {
    position: absolute;
    animation: hello2 infinite ease-in;
  }

  #pic-38 {
    position: absolute;
    z-index: 2;
    left: 45%;
    width: 8vw;
    top: 5%;
  }
  #pic-pig {
    left: calc(50% - 180px);
    z-index: 5;
  }
  #Object {
    position: absolute;
    width: 55vw;
    z-index: 2;
    bottom: 0;
  }
  #pic-1 {
    z-index: 1;
    top: 8%;
    right: 5%;
    width: 25vw;
  }
  #pic-2 {
    z-index: 1;
    top: 35%;
    right: 0%;
    width: 25vw;
  }
  #pic-3 {
    z-index: 1;
    top: 28%;
    left: 0%;
    width: 25vw;
  }
  #pic-4 {
    z-index: 1;
    top: 20%;
    right: 0%;
    width: 14.06vw;
  }
  #pic-5 {
    z-index: 1;
    top: 10%;
    left: 0%;
    width: 25vw;
  }

  /* 主視覺下面的優惠券 */
  section #coupon {
    width: 90vw;
    background-color: #fff;
    color: #222;
    text-align: center;
    max-width: 1000px;
    height: auto;
    border-radius: 0vw;
    position: relative;
    margin: auto;
    padding: 20px 0;
    border: 5px solid #ff51a7;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    justify-content: center;
    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;
  }
}
@media (max-width: 420px) {
  /* 選單 */
  section .sec-inner {
    padding: 10px 0 0 0 !important;
    transition: 0.2s;
  }
  .coupon-title {
    font-size: 2rem;
  }
  section #coupon {
    padding: 30px;
  }
  section #coupon .coupon-m #coupon-title {
    color: #444444;
    letter-spacing: 0;
    transition: 0.2s;
    font-size: 1.8rem;
  }
  section .sec-inner .sec-head .text {
    display: none;
  }
  nav.fixed.open .inner a {
    text-align: left;
    transition: 0.2s;
  }
  section .sec-inner .sec-head .headtitle {
    font-size: 30px;
    line-height: 2.5rem;
    letter-spacing: 0;
  }
  section#notice ul.list-num {
    padding: 50px 30px 50px 40px;
  }
}
@media (max-width: 375px) {
  /* 選單 */
  section .sec-inner {
    padding: 10px 0 0 0 !important;
    transition: 0.2s;
  }
  section #coupon .coupon-m .coupon-main {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
  }
  section .sec-inner .sec-head .text {
    display: none;
  }
  section .sec-inner .sec-head .headtitle {
    font-size: 30px;
    line-height: 2.5rem;
    letter-spacing: 0;
  }
  nav.fixed.open .inner a {
    text-align: left;
    transition: 0.2s;
  }
}
