@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: #fbf7e6;
}
.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.3rem;
  text-align: center;
  font-size: 2rem;
  line-height: 1.5;
  color: #000001;
}
.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 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: #3000f0; */
  /* background-position: center top;
  /* background-repeat: repeat; */
  position: relative;
  padding: 9rem 0;
}
.hero {
  position: relative;
  text-align: left;
  letter-spacing: 0.5rem;
  font-size: 2rem;
  line-height: 1.7;
  margin-left: 10%;
}
.hero-title-img {
  width: 63rem;
  margin-bottom: 1rem;
}
.hero-book-grid {
  max-width: 40rem;
  display: grid;
  grid-template-columns: auto auto;
  gap: 3.2rem;
  margin-left: 5%;
  margin-bottom: 2.4rem;
}
.hero-subtitle {
  display: inline-block;
  writing-mode: vertical-rl;
  vertical-align: text-top;
  font-family: "Noto Serif TC", serif;
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 1.8px;
  line-height: 2;
}
.hero-book-img {
  padding-top: 9rem;
}
.hero-intro {
  max-width: 70rem;
  text-align: left;
  background-color: rgba(253, 250, 234, 0.9);
  padding: 2.4rem 4.6rem;
  margin-bottom: 3.2rem;
}
.promotion-box {
  max-width: 63rem;
  margin-left: 3%;
  border-radius: 1rem;
  background-image: url("images/bg-promotion.jpg");
  overflow: hidden;
  color: #fff;
  font-size: 1.8rem;
  padding: 4.6rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
  letter-spacing: 0.2rem;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}
.promotion-flex {
  display: flex;
  align-items: start;
  gap: 2rem;
}
.promotion-date {
  font-family: "Noto Serif TC", serif;
  font-weight: bolder;
  font-size: 2.2rem;
  color: #fee000;
}
.dot-img {
  width: 4rem;
}

.promotion-dollar-sign {
  color: #fee000;
}
.promotion-text-big {
  color: #fee000;
  font-size: 3rem;
  font-weight: 900;
}

/*****************************/
/* 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;
}
.chapter {
  margin-bottom: 6.4rem;
}
.chapter-title-flex {
  background-image: url("images/bg-title.jpg");
  display: flex;
  align-items: center;
  justify-content: center;
  height: 15rem;
  gap: 2.4rem;
}
.chapter-title {
  font-family: "Noto Serif TC", serif;
  font-weight: bolder;
  font-size: 4.8rem;
  color: #fbf7e6;
  line-height: 1.2;
}
.chapter-title-num {
  font-size: 6.4rem;
  color: #fee000;
}
.more-img {
  width: 9rem;
}
.bn-box {
  width: 100rem;
  border-radius: 1rem;
  margin: 0 auto;
  margin-top: 5.6rem;
  overflow: hidden;
}
.bn-box-mb {
  display: none;
  width: 32rem;
  border-radius: 1rem;
  margin: 0 auto;
  margin-top: 4.6rem;
  overflow: hidden;
}
.bn-img {
  width: 100%;
}
.chapter-book-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 2.4rem;
  margin: 2.4rem 4.6rem;
}
.book-box {
  width: 25rem;
  padding: 2rem 0;
  justify-self: center;
}
.book-box-lg {
  width: 30rem;
}
.book-img {
  height: 28rem;
}
.book-img-hor {
  height: 26rem;
}
.book-text-content {
  text-align: left;
  letter-spacing: 0.1rem;
  margin-top: 1rem;
  padding-left: 2rem;
  padding-right: 2rem;
}
.book-title-sm {
  font-size: 1.6rem;
  color: #555;
}
.book-author {
  font-size: 1.6rem;
  color: #555;
}
.book-price-ori {
  font-size: 1.8rem;
  color: #555;
}
.book-price-dis {
  font-size: 2.4rem;
  font-weight: 700;
  color: #d50000;
}

.bn-grid-4 {
  gap: 3.2rem;
  margin-top: 4.6rem;
  padding-bottom: 3.2rem;
}
.bn-square-img,
.bn-square-pic-img {
  width: 100%;
}
.row-span {
  grid-row: 1 / 3;
}

/*****************************/
/* SECTION ACTIVITY*/
/*****************************/
.activity {
  padding: 2.4rem;
  padding-top: 8rem;
  margin: 0 auto;
  margin-top: 9rem;
  margin-bottom: 12rem;
  border-top: dashed 1px #283140;
}
.activity-header {
  font-weight: 700;
  text-align: center;
  margin-bottom: 3.2rem;
  color: #283140;
}
.activity-part {
  list-style: none;
  padding-bottom: 5rem;
  text-align: justify;
}
.activity-date {
  color: #ab0706;
  margin-bottom: 2rem;
  font-weight: 700;
}
.activity_item {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 1.6;
  margin-bottom: 2rem;
  padding: 0 16px;
  background-color: #fee000;
  /* border: solid 1px #283140; */
  color: #283140;
  font-size: 1.8rem;
}
.activity-item-context {
  margin-left: 4.4rem;
  font-size: 1.8rem;
}
.activity_list {
  font-size: 1.8rem;
  line-height: 1.6;
  letter-spacing: 1.6;
  color: #283140;
}
.activity_link {
  color: #eae1c9;
}
.activity-letter-space {
  letter-spacing: 0;
}
.text-align {
  text-align: left;
}

/*****************************/
/* TOP */
/*****************************/
.top {
  position: fixed;
  bottom: 0;
  right: 1rem;
  cursor: pointer;
  z-index: 999;
}
.top-img {
  width: 5rem;
}
