@charset "utf-8";

:root {
  --color-primary: #ca3d1d;
  --color-secondary: #fec200;
  --color-dark: #351400;
  --color-light: #f7edd2;
}

html {
  background: url("../images/bg.jpg");
}

body {
  background-color: transparent !important;
}

.container {
  background: url("../images/section-a-side-deco.png") top center repeat-y;
}

@media screen and (max-width: 991px) {
  html {
    background-size: 30%;
  }

  .container {
    background: none;
  }
}


/*主視覺動畫*/
.kv-bg {
  width: 100%;
}

.kvitem {
  position: absolute;
}

.kv-tt {
  width: calc((1920 / 1920)* 100%);
  top: calc((0 / 1920) * 100%);
  left: calc((0 / 1920) * 100%);
  pointer-events: none;
}

.kv-go {
  width: calc((708 / 1920)* 100%);
  top: calc((1253 / 1920) * 100%);
  left: calc((606 / 1920) * 100%);
}

.kv-go .kv-perspective {
  -webkit-perspective: 1500px;
  perspective: 1500px;
}

.kv-go img {
  width: 100%;
  -webkit-transform: rotateX(45deg);
  transform: rotateX(45deg);
  -webkit-transform-origin: center top;
  transform-origin: center top;
  -webkit-animation: anime1 2s -1s ease-in-out infinite alternate;
  animation: anime1 2s -1s ease-in-out infinite alternate;
}

@media screen and (max-width: 991px) {
  .kv_m {
    position: relative;
  }

  .kvm-tt {
    top: calc((0 / 991) * 100%);
    left: calc((0 / 991) * 100%);
    width: calc((991 / 991) * 100%);
    pointer-events: none;
  }

  .kv-go {
    top: calc((660 / 991) * 100%);
    left: calc((85 / 991) * 100%);
    width: calc((822 / 991) * 100%);
  }
}

@-webkit-keyframes anime1 {
  0% {
    -webkit-transform: rotateX(20deg);
    transform: rotateX(20deg);
  }

  100% {
    -webkit-transform: rotateX(-25deg);
    transform: rotateX(-25deg);
  }
}

@keyframes anime1 {
  0% {
    -webkit-transform: rotateX(20deg);
    transform: rotateX(20deg);
  }

  100% {
    -webkit-transform: rotateX(-25deg);
    transform: rotateX(-25deg);
  }
}


/*區塊*/
.blk {
  margin: 200px auto 330px;
  max-width: 1248px;
  background: url("../images/blk-bg-or.png") top center repeat-y;
  transform-style: preserve-3d;
}

.blk::before {
  content: '';
  width: 1248px;
  margin: 0 auto -320px;
  background: url("../images/blk-be-or.png")center top no-repeat;
  height: 127px;
  display: flex;
  top: -126px;
  right: 0px;
  position: relative;
  pointer-events: none;
  transform: translateZ(-1px);
}

.blk::after {
  content: '';
  width: 1248px;
  margin: -120px auto 0px;
  background: url("../images/blk-af-or.png")center top no-repeat;
  height: 85px;
  display: flex;
  top: 84px;
  right: 0px;
  position: relative;
  pointer-events: none;
  transform: translateZ(-1px);
}

.blk:nth-last-of-type(1) {
  margin: 200px auto 140px;
}

@media screen and (max-width: 991px) {
  .blk {
    margin: 22vw auto 122px;
    background: url("../images/blk-bg-or.png") top center repeat-y;
    background-size: 100vw;
    transform-style: preserve-3d;
  }

  .blk::before {
    content: '';
    width: 100%;
    display: flex;
    margin: 0 auto -31vw;
    background: url("../images/blk-be-or.png")center top no-repeat;
    background-size: 100vw;
    height: 10vw;
    top: -9.5vw;
    position: relative;
    pointer-events: none;
    transform: translateZ(-1px);
  }

  .blk::after {
    content: '';
    width: 100%;
    display: flex;
    margin: -10vw auto 0;
    background: url("../images/blk-af-or.png") center top no-repeat;
    background-size: 100vw;
    height: 8vw;
    top: 7.5vw;
    position: relative;
    pointer-events: none;
    transform: translateZ(-1px);
  }

  .blk:nth-last-of-type(1) {
    margin: 22vw auto 14vw;
  }
}


/*文字標題*/
h2,
h3,
.go-btn span {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 900;
}

.btt {
  width: fit-content;
  height: 97px;
  position: relative;
  margin: 0px auto 60px;
  padding: 15px 20px 0;
  text-align: center;
  background: url("../images/btt-bg.png");
  background-position: top center;
  background-repeat: repeat-x;
  background-size: contain;
  color: var(--color-dark);
  font-size: 3.45rem;
  font-weight: 900;
  letter-spacing: 2px;
}

.btt span {
  color: var(--color-primary);
}

.btt::before {
  display: block;
  width: 100%;
  height: 97px;
  position: absolute;
  top: 0;
  left: 1px;
  background-image: url("../images/btt-be.png");
  background-position: right center;
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  content: "";
}

.btt::after {
  display: block;
  width: 100%;
  height: 97px;
  position: absolute;
  top: 0;
  right: 1px;
  background-image: url("../images/btt-af.png");
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  content: "";
}

.notice {
  color: var(--color-light);
  letter-spacing: 0.5px;
  padding-top: 0;
}

@media screen and (max-width: 991px) {
  .btt {
    height: 13vw;
    margin: 0 auto 6vw;
    padding: 2vw 4vw 0;
    font-size: 2rem;
    letter-spacing: 0;
  }

  .btt::before {
    height: 13vw;
  }

  .btt::after {
    height: 13vw;
  }
}


/*券區*/
.coupon {
  width: 100%;
  margin: 0 auto;
}

.coupon ul {
  width: 70%;
  margin: 0 auto;
  text-align: center;
}

.coupon li img {
  width: 100%;
  margin: 0 auto 10px;
}

.coupon p br {
  display: none;
}

@media screen and (max-width: 991px) {
  .coupon {
    margin: 0 auto;
  }

  .coupon ul {
    width: 100%;
    margin: 0 auto;
    padding: 1vw 4vw;
  }

  .coupon li {
    margin-bottom: 2vw;
  }

  .coupon li img {
    width: 100%;
    margin: 0 auto;
  }

  .coupon p br {
    display: block;
  }
}


/* 電子書 
ul.book {
  width: 100%;
  padding: 0 26px;
  display: flex;
  justify-content: space-around;
}
ul.book li {
  width: calc(100% / 2 - 8px);
  display: inline-block;
  background: #eecbb6;
  padding: 14px 12px 3px;
  border-radius: 1rem;
}
ul.book li.showByDate {
  display: none;
}
@media screen and (max-width: 991px) {
  ul.book {
    padding: 0 3vw;
    flex-wrap: wrap;
  }
  ul.book li {
    width: 100%;
    padding: 3vw 2vw 2vw;
  }
  ul.book li img {
    margin-bottom: 1vw;
  }
}*/


/* 兩張併排 */
ul.small {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  padding: 0 30px;
  flex-wrap: wrap;
}

ul.small li {
  width: 48%;
}

@media screen and (max-width: 991px) {
  ul.small {
    padding: 1vw 4vw;
  }

  ul.small li {
    width: auto;
  }
}


/* 單品券按鈕 */
.selected {
  position: relative;
}

.selected a {
  display: block;
  position: absolute;
  right: 32%;
  bottom: 12%;
  width: 15%;
}

.small .selected a {
  width: 22%;
  right: 29%;
  bottom: 11%;
}

@media screen and (max-width: 991px) {

  .selected a,
  .small .selected a {
    right: 26%;
    bottom: 6%;
    width: 26%;
  }
}

.selected a img {
  margin-bottom: 0;
  width: 100%;
}


/*btn*/
.go-btn {
  position: relative;
  width: fit-content;
  margin: 20px auto 50px;
  padding: 12px 95px 18px;
  border-radius: 99rem;
  background: var(--color-secondary);
}

.go-btn h2 {
  line-height: 60px;
  margin-left: -60px;
  letter-spacing: 2px;
  font-size: 3rem;
  color: var(--color-dark);
}

.go-btn span {
  font-size: 1.8rem;
  border-radius: 99em;
  background: var(--color-primary);
  padding: 18px 11px;
  position: absolute;
  right: 14px;
  top: 12px;
  animation: pulse 1s infinite;
  color: var(--color-light);
}


@media screen and (max-width: 991px) {
  .go-btn {
    margin: 5vw auto;
    padding: 3vw 15vw 4vw 20vw;
  }

  .go-btn h2 {
    line-height: 1.9rem;
    margin-left: -15vw;
    font-size: 2rem;
  }

  .go-btn span {
    font-size: 1.4rem;
    padding: 2.5vw 1.5vw;
    right: 1.8vw;
    top: 1.8vw;
  }
}