@charset "utf-8";

/* CSS Document */
/* ---reset.css--- */
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,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

html {
  /* background: #f5f0e2; */
}
html:before {
  content: "";
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../images/bg_bottom.png") center 0 no-repeat;
  background-size: cover;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* PC */
.WRAPPER {
  position: relative;
  width: 100%;
  min-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

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

  .WRAPPER {
    min-width: 100%;
  }
}

.container {
  padding: 0 0 1px;
  margin: 0 auto;
  max-width: 1920px;
  background: url("../images/side_deco.png") top center no-repeat;
  background-size: contain;
}

.topbox {
  position: relative;
  width: 1200px;
  margin: auto;
  /*height:  ; parallax*/
}

.kv_pc {
  width: 100%;
  position: relative;
  text-align: center;
  display: flex;
  justify-content: center;
  max-width: 1920px;
  margin: auto;
  flex-wrap: wrap-reverse;
}

.kv_pc img {
  /*  display: block;*/
  text-align: center;
}

.kv_m {
  display: none;
}

/*.kv_m img { display: block; }*/
.kv_m a {
  font-size: 0;
  /* display: block; */
}

.for_pc {
  display: block;
}

.for_m {
  display: none;
}

/* m */
@media screen and (max-width: 991px) {
  .kv_m {
    display: block;
    width: 100%;
    position: relative;
    font-size: 0;
  }

  .kv_m img {
    width: 100%;
  }

  .kv_pc {
    display: none;
  }

  .container {
    width: 100%;
    min-width: auto;
    background: url("../images/side_deco_m.png") top center no-repeat;
    background-size: contain;
  }

  .for_pc {
    display: none;
  }

  .for_m {
    display: block;
  }

  .for_m img {
    width: 100%;
  }
}

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

.kvdeco {
  position: absolute;
}

.kv_btn {
  top: calc((1498 / 1920) * 100%);
  left: calc((656 / 1920) * 100%);
  width: calc((642 / 1920) * 100%);
  animation: pulse 1s infinite;
  animation-delay: 0s;
  animation-fill-mode: backwards;
}

@media screen and (max-width: 991px) {
  img.kv_btn {
    width: calc((686 / 991) * 100%);
    top: calc((833 / 991) * 100%);
    left: calc((157 / 991) * 100%);
  }
}

/*區塊*/
.blk {
  margin: 182px auto 220px;
  max-width: 1000px;
  background-size: contain;
  transform-style: preserve-3d;
}
.blk.block_cpn:nth-child(5) {
  margin-bottom: 80px;
}
.blk::before {
  content: "";
  width: 1000px;
  margin: 0 auto -250px;
  /* background: url("../images/blk_be_bl.png") center top no-repeat; */
  background-size: contain;
  display: flex;
  height: 92px;
  top: -42px;
  right: 0px;
  position: relative;
  pointer-events: none;
  transform: translateZ(-1px);
}
.blk::after {
  content: "";
  margin: 0 auto 0px;
  background: url("../images/bg_category_04.png") center top no-repeat;
  background-size: contain;
  height: 101px;
  display: block;
  top: 0px;
  right: 0px;
  position: relative;
  pointer-events: none;
}

@media screen and (max-width: 991px) {
  .blk {
    margin: 20vw auto;
  }
  .blk:nth-child(2) {
    margin: 22vw auto 12vw;
  }
  .blk.block_cpn:nth-child(5) {
    margin-bottom: 0vw;
  }

  .blk::before {
    content: "";
    width: 100%;
    margin: 0 auto -26vw;
    /* background: url("../images/blk_be_bl.png") center top no-repeat; */
    background-size: 100vw;
    height: 6vw;
    top: -4vw;
  }

  .blk::after {
    background-size: 130%;
    height: 58px;
  }
}

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

.btt {
  background: url("../images/bg_category_01.png") top center no-repeat;
  background-size: contain;
  width: 100%;
  margin: 4px auto 0;
  padding: 16px 0 53px;
}
.btt h2 {
  color: #252525;
  font-size: 3rem;
  letter-spacing: 2px;
  padding: 20px 0 0;
}
.warning {
  margin: 0px auto;
  padding: 0px 0 40px;
}

.warning p {
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
}

@media screen and (max-width: 991px) {
  .btt {
    background-size: 130%;
    padding: 4vw 0 3vw;
    margin: 0 auto;
  }
  .btt h2 {
    font-size: 2rem;
    letter-spacing: 1px;
    padding: 0.5vw 0 0;
  }

  .warning {
    margin: 0vw 2vw 1vw;
    padding: 10vw 0 0;
  }
  .warning p {
    text-align: center;
    line-height: 1.5;
    color: #440d10;
  }
}

/*券區*/
.coupon {
  width: 100%;
  margin: -1px auto 0;
  background: url("../images/bg_category_02.png") top center repeat-y;
  background-size: contain;
  padding: 4px 0 6px;
}

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

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

.coupon p {
  text-align: center;
  font-size: 13px;
  color: #252525;
  margin: 0 auto 10px;
}

.coupon p br {
  display: none;
}

@media screen and (max-width: 991px) {
  .coupon {
    margin: -0.5vw auto;
    background-size: 130%;
    padding: 3vw 0 1vw;
  }

  .coupon ul {
    width: 94%;
    margin: 0 auto;
  }

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

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

  .coupon p br {
    display: block;
  }
}

/*btn*/
.btn {
  position: relative;
  width: fit-content;
  margin: 20px auto 40px;
  padding: 12px 95px 18px;
  border-radius: 99rem;
  background: #2f6611;
}

.btn h2 {
  line-height: 60px;
  margin-left: -60px;
  letter-spacing: 2px;
  font-size: 3rem;
  color: #fff;
}

.btn span {
  font-size: 1.8rem;
  border-radius: 99em;
  background: #f9e362;
  padding: 18px 11px;
  position: absolute;
  right: 14px;
  top: 12px;
  animation: pulse 1s infinite;
  color: #2f6611;
}

.btn_s.btn {
  margin: 10px auto 30px;
  padding: 12px 30px 14px;
}

.btn_s.btn h2 {
  line-height: 1;
  margin-left: 0px;
  letter-spacing: 2px;
  font-size: 1.4rem;
  color: #fff;
}

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

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

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

  .btn_s.btn {
    margin: 1vw auto 3vw;
    padding: 2vw 6vw 2.5vw;
  }

  .btn_s.btn h2 {
    font-size: 1.2rem;
  }
}

/*--goto top--*/
#gotop {
  display: inline-block;
  background-color: #000;
  width: 40px;
  height: 40px;
  text-align: center;
  border-radius: 100%;
  position: fixed;
  bottom: 0px;
  right: 0px;
  transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  margin: 30px;
}

#gotop::after {
  position: absolute;
  display: block;
  font-family: FontAwesome;
  content: "　";
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
  opacity: 0.5;
  background: url("../images/top.png") center no-repeat;
  background-size: 50%;
  background-position: 85% 35%;
}

#gotop:hover {
  cursor: pointer;
  background-color: #666;
}

#gotop:active {
  background-color: #ccc;
}

#gotop.show {
  opacity: 0.4;
  visibility: visible;
}

@media screen and (max-width: 991px) {
  #gotop {
    bottom: 70px;
    right: 0;
    margin: 2vw;
  }
}

/* share url */
#share {
  display: inline-block;
  background-color: #000;
  opacity: 0.4;
  width: 40px;
  height: 40px;
  text-align: center;
  border-radius: 100%;
  position: fixed;
  bottom: 50px;
  right: 0px;
  transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
  z-index: 1000;
  margin: 30px;
}

#share::after {
  position: absolute;
  display: block;
  font-family: FontAwesome;
  content: "　";
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
  opacity: 0.5;
  background: url("../images/share.png") center no-repeat;
  background-size: 50%;
  background-position: 80% 35%;
}

#share:hover {
  cursor: pointer;
  background-color: #666;
}

#share:active {
  background-color: #666;
}

@media screen and (max-width: 991px) {
  #share {
    bottom: 115px;
    right: 0;
    margin: 2vw;
  }
}

@media screen and (max-width: 991px) {
  html {
    padding-bottom: 80px;
  }
}

/* 電子書 */
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: #b3d7be;
  padding: 14px 12px 3px;
  border: 1px solid #56a36c;
}
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 20px;
  flex-wrap: wrap;
}
ul.small li {
  width: 49%;
}
@media screen and (max-width: 991px) {
  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: 28%;
    bottom: 7%;
    width: 19%;
  }
}
.selected a img {
  margin-bottom: 0;
  width: 100%;
}
