@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%;
}
body {
  margin: 0px;
  padding: 0px;
  background: url("images/bg-hero.jpg") top fixed;
  /* 　//設定背景圖片的呈現方式.jpg */
  -moz-background-size: cover;
  background-size: cover;
  background-color: #fdf4f0;
}
.main {
  font-family: "Noto Sans TC", sans-serif;
}
.main-container {
  max-width: 120rem;
  padding: 0 4.6rem;
  margin: 0 auto;
  letter-spacing: 0.3rem;
  text-align: center;
  font-size: 2rem;
  line-height: 1.6;
  color: #423429;
}
.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.03);
}

/*****************************/
/* SECTION HERO */
/*****************************/
.section-hero {
  padding-top: 9rem;
  padding-bottom: 9rem;
}
.hero {
  max-width: 120rem;
}
.hero-title-flex {
  display: flex;
  justify-content: start;
}
.hero-title-img {
  height: 60rem;
}
.hero-title-img-sm {
  display: none;
}

/*****************************/
/* SECTION CONTENT */
/*****************************/
.section-box {
  background-color: rgba(210, 216, 193, 0.7);
  max-width: 100rem;
  border-radius: 1rem;
  padding: 6.4rem;
  padding-top: 12rem;
  position: relative;
  margin-bottom: 15rem;
}
.section-box-y {
  background-color: rgba(244, 234, 218, 0.7);
  padding-top: 5.2rem;
}
.section-box-sm {
  background-color: rgba(210, 216, 193, 0.7);
  border-radius: 1rem;
  padding: 3.2rem;
  position: relative;
  padding-bottom: 5.2rem;
}
.section-box-sm-pk {
  background-color: rgba(238, 217, 194, 0.7);
}
.chapter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  max-width: 100rem;
  gap: 9rem;
  margin-bottom: 15rem;
}
.chapter-tag {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -3rem;
  z-index: 999;
}
.chapter-tag-img {
  height: 5.2rem;
}
.chapter-tag-img-01 {
  transform: rotate(6deg);
}
.chapter-tag-img-02 {
  transform: rotate(-6deg);
}
.chapter-title-01 {
  position: absolute;
  left: 6%;
  top: 0;
}
.chapter-title-01-img {
  width: 44rem;
}
.chapter-title-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
}
.chapter-title-02 {
  justify-self: start;
  padding-top: 6.4rem;
}
.chapter-title-02-img {
  height: 25rem;
}
.chapter-title-pic-02-img {
  height: 45rem;
}
.chapter-title-03-img {
  height: 44rem;
  margin-top: 3.2rem;
  margin-bottom: 4.6rem;
}
.chapter-title-pic-05-img {
  height: 39rem;
}
.chapter-title-05-img {
  height: 30rem;
}
.book-flex-end {
  display: flex;
  justify-content: end;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: space-between;
}
.grid-1 {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 4.6rem;
}
.book-grid {
  max-width: 90rem;
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  row-gap: 6.4rem;
  margin-top: 3.2rem;
}
.book-grid-gap {
  gap: 5.2rem;
}
.book-grid-2 {
  margin-top: 4.6rem;
}
.book-lg-img {
  height: 50rem;
}
.book-lg-img-2 {
  height: 48rem;
}
.book-horizontal-img {
  height: 28rem;
}
.book-descrip {
  font-size: 2rem;
  font-weight: 500;
  padding-top: 2rem;
}
.margin-top-md {
  margin-top: 8rem;
}
.chapter-pic {
  justify-self: center;
}
.chapter-pic-img {
  height: 44rem;
}

/*****************************/
/* TOP */
/*****************************/
.top {
  position: fixed;
  bottom: 0;
  right: 2rem;
  cursor: pointer;
}
