@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: #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: left top;
  /* background-repeat: repeat;*/
  position: relative;
  padding: 5.6rem 0 0 0;
  overflow: hidden;
}
.hero {
  position: relative;
  text-align: left;
  letter-spacing: 0.3rem;
  font-size: 2rem;
  line-height: 1.7;
}
.hero-pic {
  position: absolute;
  top: -5rem;
  right: -5rem;
  z-index: 0;
}
.hero-pic-img {
  width: 118rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-around;
}
.hero-title-img {
  width: 60rem;
}
.hero-intro {
  /* font-family: "Noto Serif TC", serif; */
  display: inline-block;
  max-width: 62rem;
  font-size: 2rem;
  letter-spacing: 3px;
  text-align: left;
  color: #fff;
  background-color: rgba(25, 75, 116, 0.9);
  padding: 1rem 2.4rem;
  margin-top: 2.4rem;
}
.hero-tttb-box {
  /* display: flex; */
  /* gap: 1.6rem; */
  margin-top: 2.4rem;
  background-color: rgba(237, 218, 186, 0.9);
  align-items: center;
  max-width: 73rem;
  border-radius: 0 8px 8px 0;
  padding: 2rem;
}
.hero-tttb-img {
  width: 14rem;
}
.hero-tttb-books-grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
}
.hero-tttb-book-img {
  height: 24rem;
}
.promotion-box {
  display: grid;
  grid-template-columns: auto auto;
  gap: 1.6rem;
  row-gap: 0;
  max-width: 82rem;
  border-radius: 0 8px 8px 0;
  background-color: rgba(82, 104, 100, 0.9);
  overflow: hidden;
  color: #fff;
  /* font-family: "Noto Serif TC", serif; */
  font-size: 2rem;
  padding: 3.2rem 2rem;
  /* box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15); */
  letter-spacing: 0.2rem;
  line-height: 1.3;
  margin-top: 5.6rem;
  margin-bottom: 12rem;
}
.promotion-flexes {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  text-align: left;
}
.promotion-flex {
  display: flex;
  align-items: start;
  gap: 2rem;
}
.promotion-date {
  /* font-family: "Noto Serif TC", serif; */
  font-weight: bold;
  font-size: 2rem;
  color: #fdee73;
}
.dot-img {
  width: 4rem;
}

.promotion-dollar-sign {
  color: #fdee73;
}
.promotion-text-big {
  color: #fdee73;
  font-size: 2.8rem;
  font-weight: 900;
}
.promotion-tag {
  font-size: 1.8rem;
  background-color: #c84e4f;
  color: #fdee73;
  border-radius: 5rem;
  padding: 0.1rem 1rem;
}
.promotion-emphasize::before {
  content: "抽";
  font-size: 2rem;
  background-color: #fdee73;
  border-radius: 10rem;
  width: 2rem;
  height: 2rem;
  padding: 0 0.3rem;
  margin-top: 10px;
  color: #c84e4f;
  font-weight: bold;
}
.promotion-emphasize2::before {
  content: "送";
  font-size: 2rem;
  background-color: #fdee73;
  border-radius: 10rem;
  width: 2rem;
  height: 2rem;
  padding: 0 0.3rem;
  margin-top: 10px;
  color: #c84e4f;
  font-weight: bold;
}
.promotion-gifts {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}
.ipad {
  border-radius: 1rem;
  overflow: auto;
}
.ipad-img {
  width: 18rem;
}
.promotion-more-link {
  grid-column: 1 / -1;
  justify-self: flex-end;
}
.promotion-more {
  background-color: #fdee73;
  color: #c84e4f;
  border: solid 2px #c84e4f;
  border-radius: 50rem;
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 0.1rem;
  padding: 0.3rem 1.2rem;
}

/*****************************/
/* 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: 10rem;
  gap: 2.4rem;
}
.chapter-title-flex-top {
  background-image: url("images/bg-title-top.png");
}
.chapter-title {
  font-family: "Noto Serif TC", serif;
  font-weight: bolder;
  font-size: 3.6rem;
  color: #fcf8ed;
  line-height: 1.2;
  /* display: flex;
  align-items: center; */
}
.chapter-title-num {
  /* font-size: 6.4rem; */
  font-weight: bolder;
  color: #fee000;
}
.more-img {
  width: 12rem;
}
.bn-box {
  max-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 {
  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-author {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  font-size: 1.4rem;
  letter-spacing: 0.08rem;
  color: #555;
}
.book-price-ori {
  font-size: 1.4rem;
  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: 6.4rem;
  border-top: dashed 1px #283140;
}
.activity-header {
  font-weight: 700;
  text-align: center;
  margin-bottom: 3.2rem;
  color: #335072;
}
.activity-part {
  list-style: none;
  padding-bottom: 5rem;
  text-align: justify;
}
.activity-date {
  color: #335072;
  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: #f5c8c5;
  /* border: solid 1px #283140; */
  color: #335072;
  font-size: 1.8rem;
}
.activity_subitem {
  display: table;
  font-size: 1.6rem;
  letter-spacing: 1.6;
  background-color: #335072;
  color: #fff;
  padding: 1px 12px;
  border-radius: 5rem;
  margin-bottom: 1rem;
}
.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;
}
.activity_margin-top {
  margin-top: 3.2rem;
}

/*****************************/
/* TOP */
/*****************************/
.top {
  position: fixed;
  bottom: 0;
  right: 1rem;
  cursor: pointer;
  z-index: 999;
}
.top-img {
  width: 5rem;
}
