@charset "utf-8";
/* CSS Document */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  /* outline: solid #f00 1px !important;
  background: #000 !important;
  color: #fff !important; */
}
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}
body {
  margin: 0px;
  padding: 0px;
  background: url("images/bg.jpg") top fixed;
  /* 　//設定背景圖片的呈現方式.jpg */
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center top;
  /* background-color: #fcf8ed; */
}

.main {
  font-family: "Noto Sans TC", sans-serif;
}
.main-container {
  position: relative;
  max-width: 120rem;
  padding: 0 3.2rem;
  margin: 0 auto;
  letter-spacing: 0.08rem;
  text-align: center;
  font-size: 2rem;
  line-height: 1.5;
  color: #080504;
}
.span-inline-block {
  display: inline-block;
}
.nowrap {
  white-space: nowrap;
}
.scaled {
  transition: all 0.3s;
  cursor: pointer;
}
.scaled:hover,
.scaled:active {
  transform: scale(1.1);
}
.scaled2 {
  transition: all 0.3s;
  cursor: pointer;
}
.scaled2:hover,
.scaled2:active {
  transform: scale(1.05);
}
.translate {
  transition: all 0.5s;
  cursor: pointer;
}
.translate:hover,
.translate:active {
  transform: translate(1rem, -2.4rem);
}

/*****************************/
/* SECTION HEADER */
/*****************************/
.section-header {
  width: 100%;
  height: 4.8rem;
  display: flex;
  align-items: center;
  background-color: #fff;
}
.header-logo-img {
  height: 2rem;
  margin-left: 3.2rem;
}

/*****************************/
/* SECTION HERO */
/*****************************/
.section-hero {
  width: 100%;
  /* background-image: url("images/bg-hero.jpg");
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover; */
  /* background-color: #4cb848; */
  background-color: rgba(76, 184, 72, 0.8);
  background-position: left top;
  /* background-repeat: repeat;*/
  position: relative;
  /* padding: 5.6rem 0 0 0; */
  padding-bottom: 6.4rem;
  overflow: hidden;
  border-bottom: #fff dashed 5px;
}
.hero {
  position: relative;
  text-align: center;
  letter-spacing: 0.3rem;
  font-size: 2rem;
  line-height: 1.7;
}
.hero-mobile {
  display: none;
}
.hero-logos {
  display: flex;
  justify-content: end;
}
.hero-logos-img {
  height: 2.5rem;
  margin: 2rem 3.2rem 3.2rem auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: auto auto auto;
  /* max-width: 140rem;
  margin: 0 auto; */
}
.hero-pic-img {
  height: 53rem;
}
.hero-title-img {
  width: 80rem;
}
.hero-date-box {
  text-align: center;
  max-width: 48rem;
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.3;
  /* background-color: #fff; */
  background-color: #fdee73;
  background-color: #ec7aa7;
  border-radius: 3rem;
  border: dashed 3px #fff;
  color: #fff;
  margin: 2.4rem auto;
  padding: 1rem;
}
.hero-num-big {
  font-size: 3.6rem;
  font-weight: bolder;
  color: #fdee73;
}
.ec {
  display: inline-block;
  background-color: #c84e4f;
  border-radius: 5rem;
  color: #fdee73;
  padding: 0 1rem;
}
.hero-promotion-grid {
  max-width: 70rem;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  margin: 0 auto;
  gap: 2.4rem;
}
.hero-promotion-text {
  text-align: justify;
  color: #080504;
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: 0.1rem;
  background-color: rgba(255, 226, 129, 0.9);
  /* background-color: #fdee73 */
  border-radius: 3rem;
  padding: 1rem 2rem 2rem;
}
.promotion-text-big {
  color: #c84e4f;
  font-size: 2.8rem;
  font-weight: bolder;
}
.promotion-text-sm {
  font-size: 1.6rem;
  margin-top: 1rem;
  display: table;
  border: solid 2px #8d7a6f;
  border-radius: 5rem;
  padding: 0 1.2rem;
  letter-spacing: 0.2rem;
  color: #8d7a6f;
}
.promotion-goods-img {
  width: 16.5rem;
}
.promotion-emphasize::before {
  content: "贈";
  font-size: 2rem;
  background-color: #c84e4f;
  border-radius: 10rem;
  width: 2rem;
  height: 2rem;
  padding: 0 0.3rem;
  /* margin-top: 10px; */
  color: #fff;
  /* font-weight: bold; */
  z-index: 999;
}
.hero-intro {
  position: relative;
  max-width: 110rem;
  border-radius: 3rem;
  background-color: #fff;
  text-align: left;
  padding: 2.4rem 4.8rem;
  margin: 0 auto;
  margin-top: 2.4rem;
}
.hero-intro-more {
  position: absolute;
  bottom: -4rem;
  right: -5rem;
}
.hero-intro-more-mig {
  height: 15rem;
}

/*****************************/
/* SECTION NAVI BAR */
/*****************************/
.section-navi-bar {
  width: 100%;
  /* background-image: url("images/bg-hero.jpg");
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover; */
  /* background-color: #4cb848; */
  background-color: rgba(35, 144, 62, 0.9);
  background-position: left top;
  /* background-repeat: repeat;*/
  position: relative;
  /* padding: 5.6rem 0 0 0; */
  padding: 2.4rem 0;
  overflow: hidden;
  border-bottom: #fff dashed 5px;
}
.navi-bar-grid {
  max-width: 120rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, auto);
  gap: 2.4rem;
  overflow: auto;
  white-space: nowrap;
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;

  /* Hide scrollbar for Chrome, Safari, and Opera */
  &::-webkit-scrollbar {
    display: none;
  }

  /* Hide scrollbar for IE, Edge */
  -ms-overflow-style: none;
}
.navi-bar-img {
  height: 11rem;
}

/*****************************/
/* SECTION CHAPTERS */
/*****************************/
.section-chapters {
  width: 100%;
  /* background-image: url("images/bg.jpg"); */
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  /* background-color: #3000f0; */
  /* background-position: center top;
  /* background-repeat: repeat; */
  position: relative;
  /* padding-top: 43rem; */
  /* padding-bottom: 13rem; */
  letter-spacing: 0.3rem;
  text-align: center;
  font-size: 2rem;
  line-height: 1.5;
  padding-top: 12rem;
  padding-bottom: 12rem;
}
.chap-boxes {
  display: flex;
  flex-direction: column;
  gap: 12rem;
  /* align-items: center; */
  max-width: 120rem;
  margin: 0 auto;
}
.chap-box {
  position: relative;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 8rem;
  border: solid 2rem #1e953c;
  box-shadow: 0px 0px 3px #000000;
  /* margin: 0 auto; */
}
.chap-box-skin {
  background-color: rgba(253, 240, 221, 0.9);
  margin: 0 auto;
  margin-bottom: 9rem;
  max-width: 90rem;
}
.chap-pic {
  position: absolute;
  top: -3rem;
  left: 1rem;
}
.chap-pic-03 {
  top: -9rem;
}
.chap-pic-right {
  left: auto;
  right: 1rem;
}
.chap-pic-img {
  width: 38rem;
}
.chap-pic-img-05 {
  width: 50rem;
}
.chap-pic-featured-img {
  height: 20rem;
}
.chap-title-flex {
  display: flex;
  align-items: center;
  justify-content: end;
  /* gap: 2rem; */
  margin-right: 1rem;
  margin-top: 2rem;
}
.chap-title-flex-start {
  justify-content: start;
  margin-left: 2rem;
  align-items: end;
}
.chap-title-flex-featured {
  justify-content: center;
  /* position: absolute;
  top: -10rem;
  left: 50%;
  transform: translateX(-50%); */
}
.chap-title-mb {
  display: none;
}
.chap-title-img {
  height: 21rem;
}
.chap-title-featured-img {
  height: 12rem;
}
.chap-title-img-note {
  height: 16rem;
}
.more-img {
  width: 10rem;
}
.chapter-book-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.4rem;
  row-gap: 2.4rem;
  margin: 2.4rem 4.6rem;
}
.chapter-book-grid-5 {
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 1.6rem;
}

.chapter-book-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  padding-bottom: 6.4rem;
}
.book-box {
  padding: 2rem 0;
  justify-self: center;
}
.book-img {
  height: 26rem;
}
.book-img-hor {
  height: 22rem;
}
.classic-img {
  width: 24rem;
}
.book-text-content {
  text-align: left;
  letter-spacing: 0.1rem;
  margin-top: 1rem;
  padding-left: 2rem;
  padding-right: 2rem;
}
.book-title {
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 2.3rem;
  letter-spacing: 0.08rem;
  margin-bottom: 0.8rem;
}
.book-title-sm {
  font-size: 1.6rem;
  color: #555;
}
.book-price-ori {
  font-size: 1.4rem;
  color: #555;
}
.book-price-dis {
  font-size: 2.4rem;
  font-weight: 700;
  color: #d50000;
}
.row-span {
  grid-row: 1 / 3;
}

/*****************************/
/* SECTION discount*/
/*****************************/
.section-discount {
  width: 100%;
  /* background-image: url("images/bg.jpg"); */
  /* -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover; */
  background-color: rgba(253, 240, 221, 0.9);
  /* background-position: center top;
  /* background-repeat: repeat; */
  position: relative;
  /* padding-top: 43rem; */
  /* padding-bottom: 13rem; */
  letter-spacing: 0.3rem;
  text-align: center;
  font-size: 2rem;
  line-height: 1.5;
  padding-top: 7rem;
  padding-bottom: 4rem;
}

/*****************************/
/* SECTION 66*/
/*****************************/
.section-66 {
  width: 100%;
  /* background-image: url("images/bg.jpg"); */
  /* -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover; */
  background-color: rgba(33, 144, 60, 0.8);
  /* background-position: center top;
  /* background-repeat: repeat; */
  position: relative;
  /* padding-top: 43rem; */
  /* padding-bottom: 13rem; */
  letter-spacing: 0.3rem;
  text-align: center;
  font-size: 2rem;
  line-height: 1.5;
  padding-top: 9rem;
  padding-bottom: 4rem;
}
.circle-img {
  width: 27rem;
}

/*****************************/
/* TOP */
/*****************************/
.top {
  position: fixed;
  bottom: 0;
  right: 1rem;
  cursor: pointer;
  z-index: 999;
}
.top-img {
  width: 5rem;
}
