* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  object-fit: cover;
  font-family: 'Noto Sans TC', sans-serif;
}

html,
body {
  position: relative;
  height: 100%;
}


/**menu**/


.NAV_btn_wrap {
  display: none;
  position: fixed;
  width: 60px;
  top: 30px;
  right: 20px;
  z-index: 4;
}

#nav-icon3 {
  width: 30px;
  height: 30px;
  position: relative;
  margin: 0px auto;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

#nav-icon3 span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon3.light span {
  background: #707070;
}

#nav-icon3.dark span {
  background: #707070;
}


#nav-icon3 span:nth-child(1) {
  top: 0px;
}

#nav-icon3 span:nth-child(2),
#nav-icon3 span:nth-child(3) {
  top: 7px;
}

#nav-icon3 span:nth-child(2) {
  display: none;
  top: 7px;
}

#nav-icon3 span:nth-child(4) {
  top: 14px;
}

#nav-icon3.open span {
  background: #707070;
}

#nav-icon3.open span:nth-child(1) {
  top: 18px;
  width: 0%;
  left: 50%;
}

#nav-icon3.open span:nth-child(2) {
  display: block;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon3.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-icon3.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}

.container {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.box {
  width: 1366px;
}

.PB110 {
  padding-bottom: 110px;
}

.PT110 {
  padding-top: 110px;
}

:root {
  --mainColor: #f2eee9;
  --supColor: #ce9371;
  --textColor: #864915;
}


/* key visual  */

#keyVisualBg {

  background-image: url(../img/bannerBg.png);
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  position: relative;
}

#keyVisual {
  height: 772px;
  position: relative;
  padding-top: 80px;
}

#ribbon {
  position: absolute;
  bottom: 0;
  left: 20px;
  width: 16px;
}

#topBarContainer {
  display: flex;
  width: 100%;
  justify-content: end;
  padding: 0 80px 80px 0;
}

#topBar {
  width: 610px;
  height: 50px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-radius: 50px;
  border: 1px solid #333;
}

.topBarBtn {
  font-size: 16px;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  font-family: helvetica, Arial, sans-serif;
}

#logoContainer {
  width: 40%;
  padding-left: 90px;
}

#logo1Container {
  width: 100%;
  padding: 0 20px 10px;
}

#logo1 {
  width: 100%;
}

#logo2 {
  position: absolute;
  right: 80px;
  top: 183px;
  width: 55%;
}

#logo3 {
  width: 100%;
}

#bottomSymbol {
  position: absolute;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
}

/* info */
#info {
  background-color: var(--supColor);
}

#info .box {
  height: 353px;
  font-size: 18px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

#infoContainer {
  text-align: center;
  width: 700px;
}

/* serve */
#serve {
  background-color: var(--mainColor);
}

#serve .box {
  padding: 110px;
}

.serveCard {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  margin-bottom: 80px;
}

.serveCard:nth-child(even) {
  flex-direction: row-reverse;
}

.serveImgContainer {
  width: 50%;
  position: relative;
}

.serveImg {
  width: 100%;
  height: auto;
}

.seveImgText {
  position: absolute;
  height: 42px;
  top: 30px;
  right: 30px;
}

.serveTextCard {
  width: 50%;
  padding: 50px 80px;
  background-color: #fff;
}

.serveHash {
  color: #7c7c7c;
  font-size: 14px;
  font-weight: 300;
  margin-bottom: 5px;
}

.serveTitle {
  font-size: 26px;
  font-weight: 500;
  color: #864915;
  margin-bottom: 15px;
}

.serveDescription {
  height: 124px;
  font-size: 16px;
  font-weight: 400;
}

.moreBtn {
  display: block;
  margin-bottom: 25px;
}

.moreBtn img {
  height: 37px;
}

.moreBtn:hover img {
  -moz-transition: ease-in-out 0.3s;
  -o-transition: ease-in-out 0.3s;
  -webkit-transition: ease-in-out 0.3s;
  transition: ease-in-out 0.3s;
  filter: brightness(40%);
}



.TextCardImgContainer {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.textCardImg {
  width: 48%;
}

.serveIcon {
  position: absolute;
  /* transform: translate(50%, -50%); */
  top: -50px;
  right: -50px;
}

@-webkit-keyframes rotating {
  from {
    -webkit-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
  }
}

.rotating {
  -webkit-animation: rotating 10s linear infinite;
}

/* product */

#product {
  padding: 30px 30px 50px;
  background-color: #fff;
}

#productInfoContainer {
  width: 100%;
  padding: 50px 0;
  background-color: #f1f1f1;
  border-bottom: 3px solid var(--textColor);
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

#PITitle {
  font-size: 26px;
  font-weight: 600;
  color: var(--textColor);
}

#PIDescription {
  font-size: 23px;
  font-weight: 200;
  color: #4b4b4b;
}

#PIFlavorBox {
  display: flex;
  gap: 20px;
}

.PIFlavor {
  border-radius: 30px;
  background-color: var(--supColor);
  color: #fff;
  padding: 5px 15px;
  font-size: 20px;
}

#PIDetail {
  font-size: 16px;
  font-weight: 300;
  width: 395px;
}

#triangle {
  position: absolute;
  transform: translate(-50%, 100%);
  bottom: 0;
  left: 50%;
}

#productImgContainer {
  width: 100%;
  height: 420px;
  margin-top: 40px;
  display: flex;
  align-items: end;
}

.PICard {
  width: calc(100% / 6);
  padding: 20px 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 10px;
  border-radius: 20px;
}

.PIClickBorder {
  border: 1px solid var(--textColor);
}

.PIImgBox {
  width: 100%;
  padding: 0 20px;
}

.PIClick {
  padding: unset !important;
}

.PIImg {
  width: 100%;
  display: block;
}

.PITitle {
  font-size: 21px;
  color: var(--textColor);
  font-weight: 500;
}

.PIDescription {
  font-size: 15px;
  font-weight: 300;
}

/* Advantage */

#advantage {
  background-color: var(--mainColor);
}

#advantage .box {
  padding: 50px;
  display: flex;
  height: 680px;
  justify-content: space-between;
}

.ACardContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: space-between;
}

.ACard {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.ACardImg {
  width: 80px;
  margin-bottom: 10px;
  position: relative;
}

.ACardTitle {
  font-size: 26px;
  text-align: center;
  font-weight: 700;
  color: var(--textColor);
  margin-bottom: 10px;
}

.ACDescription {
  font-weight: 300;
  font-size: 16px;
  text-align: center;
}

#ACardMain {
  height: 100%;
}

/* video */
.videoCardContainer {
  height: 500px;
  width: 100%;
  display: flex;
}

.videoCardContainer:nth-child(2) {
  flex-direction: row-reverse;
}

.VCText {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.VCRemark {
  font-size: 14px;
  color: #7c7c7c;
  width: 405px;
}

.VCTitle {
  font-size: 26px;
  color: var(--textColor);
  width: 405px;
  font-weight: 700;
  margin-bottom: 15px;
}

.VCDescription {
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: 300;
  width: 405px;
}

.VCImgContainer {
  width: 405px;
}

.VCLink {
  width: 150px;
}

.VCLink:hover {
  -moz-transition: ease-in-out 0.3s;
  -o-transition: ease-in-out 0.3s;
  -webkit-transition: ease-in-out 0.3s;
  transition: ease-in-out 0.3s;
  filter: brightness(40%);
}


.VCVideo {
  position: relative;
  width: 50%;
  height: 100%;
  height: 500px;
}

.VCVideo::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #1f0c0023;
}

.playBtn {
  position: absolute;
  width: 180px;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  z-index: 1;
}

.VCVideoImg {
  width: 100%;
  height: 100%;
}

/* video blockBox */

#blockBox1,
#blockBox2 {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.654);
  display: none;
  position: fixed;
  z-index: 30;
}

#videoBox1,
#videoBox2 {
  display: table-cell;
  width: 100%;
  height: 100%;
  text-align: center;
  vertical-align: middle;
}


.displayB {
  display: table !important;
}


.yt_wrap {
  display: inline-block;
  width: 70%;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}




.closeBtn {
  background-color: var(--mainColor);
  /* border: 3px solid #333; */
  border-radius: 2px;
  position: absolute;
  right: 30px;
  top: 30px;
  width: 30px;
  height: 30px;
}

.vjs-big-play-button {

  display: none !important;
}

/* last page */

#last {
  background-image: url(../img/foterBg.png);
  background-size: cover;
  overflow: initial;
}

#last .box {
  height: 430px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 80px;
}

#lastTextContainer {
  text-align: right;
}

#lastTextCard {
  display: flex;
  flex-direction: column;
  align-items: end;
  width: 50%;
}

.lastTextImg {
  width: 250px;
  margin-bottom: 20px;
}

.lastText {
  font-size: 26px;
}

.FW700 {
  font-weight: 700;
}

#lastRemark {
  font-size: 12px;
}

#lastImg {
  width: 50%;
  padding-left: 110px;
  position: relative;
}
.qrcode{
  position: absolute;
  top: -20%;
  right: 30%;
  width: 22%;
}

/* footer */
#footer .box {
  height: 183px;
  padding: 63px 0 46px;
  text-align: center;
  font-size: 14px;
  color: #707070;
  line-height: 27px;
}

.footerLink {
  display: block;
  font-size: 14px;
  color: #707070;
}

/* 跑馬燈 */
#productCarousel {
  width: 100%;
  height: 100%;
  display: none;
}

.swiperImg {
  width: 100%;
}

.PISwiperCard {
  width: 100%;
  padding: 20px 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 10px;
  border-radius: 20px;
  margin-bottom: 20px;
}

:root {
  --swiper-theme-color: var(--supColor) !important;
}

@media (max-width:670px) {
  .box {
    width: 100%;
  }

  .yt_wrap {
    display: inline-block;
    width: 90%;
  }

  #keyVisual {
    margin-bottom: 50px;
    height: unset;
    padding-top: unset;
  }

  #mobileBar {
    height: 50px;
    width: 100%;
    margin-bottom: 40px;
    /* background-color: #ffa; */
  }

  #topBarContainer {
    display: none;
  }

  #logoContainer {
    width: 100%;
    padding: 0 20px 0 50px;
  }

  #logo1Container {
    padding: 0 20px 30px;
  }

  #logo2 {
    position: unset;
    padding-bottom: 20px;
  }

  #logo2 {
    width: 100%;
    height: auto;
  }

  #bottomSymbol {
    display: none;
  }

  /* info */
  .PB110 {
    padding-bottom: 70px;
  }

  .PT110 {
    padding-top: 70px;
  }

  #info .box {
    width: 100%;
    padding: 0 20px;
    height: 380px;
  }

  #infoContainer {
    width: 100%;
    text-align: left;
    font-size: 16px;
    font-weight: 300;
  }

  /* serve */
  #serve .box {
    padding: 70px 20px;
  }

  .serveImg {
    display: block;
  }

  .serveImgContainer {
    width: 100%;
  }

  .serveTextCard {
    width: 100%;
    padding: 20px;
  }

  .serveTitle {
    font-size: 20px;
  }

  .serveDescription {
    font-size: 15px;
  }

  .serveIcon {
    width: 75px;
    right: 22px;
    top: -37px;
    right: -10px;
  }

  .TextCardImgContainer {
    display: none;
  }

  .serveCard:last-child {
    margin-bottom: unset;
  }

  /* product */

  #product {
    padding: 20px;
    padding-bottom: 70px;
  }

  #PIDetail {
    width: 100%;
  }

  #productInfoContainer {
    margin-bottom: 100px;
  }

  #productImgContainer {
    flex-wrap: wrap;
    height: auto;
  }

  .PICard {
    width: 50%;
  }

  #productCarousel {
    display: block;
  }

  .PICard {
    display: none;
  }

  /* advantage */

  #advantage .box {
    padding: 70px 10px;
    flex-direction: column;
    height: auto;
    align-items: center;
  }

  .ACardContainer {
    gap: 70px;
  }

  .ACardTitle {
    font-size: 20px;
    font-weight: 500;
  }

  #ACardMain {
    width: 146px;
    margin: 50px 0;
  }

  /* video  */

  .videoCardContainer {
    height: auto;
    flex-direction: column;
  }

  .videoCardContainer:nth-child(2) {
    flex-direction: column;
  }

  .VCText {
    width: 100%;
    padding: 70px 20px;
  }

  .VCVideo {
    width: 100%;
    height: auto;
  }

  .VCRemark,
  .VCTitle,
  .VCDescription,
  .VCImgContainer {
    width: 100%;
  }

  .playBtn {
    width: 70px;
  }

  .VCVideoImg {
    display: block;
  }

  /* #videoBox1,
  #videoBox2 {
    width: 90%;
  } */

  /* .closeBtn {
    width: 40px;
  } */

  /* last  */
  #last .box {
    padding: 70px 0;
    height: auto;
  }

  #lastTextCard {
    width: 100%;
    padding: 0 20px;
    align-items: center;
    margin-bottom: 50px;
  }

  #lastImg{
    position: relative;
    padding-left: 0;
    width: 100%;
    text-align: center;
  }

  #lastImg .coffeeCup{
    width: 60%;
  }

  .qrcode{
    top: -20%;
    right: 20%;
    width: 22%;
  }

  .lastText {
    width: 100%;
    font-size: 17px;
    text-align: right;
  }

  #lastRemark {
    font-size: 10px;
  }

  /* footer */
  #footer .box {
    padding: 70px 20px;
    height: auto;
  }

  .NAV_btn_wrap {
    display: block;
    position: fixed;
    width: 60px;
    top: 30px;
    right: 20px;
    z-index: 4;
  }


  #topBarContainer {
    display: inline-block;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 3;
    top: -100%;
    left: 0px;
    justify-content: end;
    padding: 0;
    text-align: center;
    background-color: #ffffff;
    -moz-transition: ease-in-out 0.3s;
    -o-transition: ease-in-out 0.3s;
    -webkit-transition: ease-in-out 0.3s;
    transition: ease-in-out 0.3s;
  }

  #topBarContainer.reveal {
    top: 0%;
    -moz-transition: ease-in-out 0.3s;
    -o-transition: ease-in-out 0.3s;
    -webkit-transition: ease-in-out 0.3s;
    transition: ease-in-out 0.3s;
  }

  #topBar {
    width: 90%;
    height: auto;
    display: inline-block;
    justify-content: space-around;
    align-items: center;
    border-radius: 50px;
    border: none;
    margin-top: 80px;
  }

  .topBarBtn {
    display: inline-block;
    width: 60%;
    height: 40px;
    border-radius: 50px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 10px;
    line-height: 40px;
    font-size: 16px;
    color: #ffffff;
    background-color: #864915;
    text-decoration: none;
    font-family: helvetica, Arial, sans-serif;
  }

  .seveImgText {
    position: absolute;
    height: 30px;
    top: 20px;
    right: 20px;
  }
}