@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;
}
.main {
  font-family: "Noto Sans TC", sans-serif;
}
.main-container {
  max-width: 120rem;
  padding: 0 4.6rem;
  margin: 0 auto;
  letter-spacing: 0.2rem;
  text-align: center;
  font-size: 2rem;
  line-height: 1.7;
  color: #1d1d1d;
}
.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);
}
.translated {
  transition: all 0.7s;
  cursor: pointer;
}
.translated:hover,
.translated:active {
  transform: translateX(20px);
}
.underline {
  transition: all 0.3s;
  cursor: pointer;
  color: #232423;
}
.underline:hover,
.underline:active {
  text-decoration: underline;
  text-underline-offset: 12px;
  text-decoration-thickness: 1px;
}

/*****************************/
/* 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: #fdf4f0; */
  background-position: center top;
  background-repeat: no-repeat;
  position: relative;
  padding: 8rem 0 12rem 0;
}
.hero-container {
  max-width: 120rem;
  position: relative;
  letter-spacing: 0.2rem;
  font-size: 2rem;
  line-height: 1.7;
}
.hero-flex {
  display: flex;
  justify-content: start;
  margin-left: 2.4rem;
}
.hero {
  text-align: left;
}
.hero-title-img {
  width: 20rem;
}
.hero-dialogue-box {
  max-width: 57rem;
  transform: translateX(40%);
  margin-bottom: 8rem;
}
.hero-dialogue-flex {
  display: flex;
  flex-wrap: nowrap;
  align-items: start;
  gap: 2.4rem;
}
.hero-profile-img {
  width: 12rem;
}
.hero-text-box {
  display: inline-block;
  position: relative;
  background-color: #f9f4da;
  border-radius: 2rem;
  font-weight: bold;
  padding: 2.4rem;
  text-align: justify;
}
.triangle {
  position: absolute;
  font-size: 2.4rem;
  top: 1rem;
  left: -2rem;
  color: #f9f4da;
}
.hero-profile-margin-bottom {
  margin-bottom: 3.2rem;
}
.hero-subtitle {
  max-width: 60rem;
  margin: 0 auto;
  background-color: rgba(23, 23, 23, 0.8);
  color: #f9f4da;
  padding: 2.4rem;
  margin-bottom: 8rem;
}
.hero-usedbook-discount-box {
  background-color: rgba(254, 5, 125, 0.9);
  border-radius: 9rem;
  max-width: 70rem;
  margin: 0 auto;
  padding: 3.2rem;
}
.hero-usedbook-discount-flex {
  display: flex;
  flex-wrap: nowrap;
  gap: 3.2rem;
  align-items: center;
}
.hero-usedbook-discount-pic-img {
  width: 17rem;
}
.hero-usedbook-discount-content {
  text-align: justify;
  color: #f9f4da;
}
.hero-usedbook-discount-q {
  display: inline-block;
  background-color: #171717;
  padding: 0 1.2rem;
  margin-bottom: 2rem;
}
.hero-usedbook-discount-text-flex {
  display: flex;
  align-items: end;
  font-weight: bold;
}
.hero-usedbook-discount-text {
  margin-left: 1rem;
}
.hero-usedbook-discount-text-yw {
  color: #fffc00;
}
.hero-uedbook-discount-text-bg {
  font-size: 3rem;
  font-weight: bold;
}
.hero-arrow-flex {
  display: flex;
  flex-wrap: nowrap;
  align-items: end;
}
.offsetr {
  animation: 0.5s infinite alternate offsetr-move;
  margin-bottom: 0.4rem;
}
@keyframes offsetr-move {
  from {
    transform: translateX(-6rem);
  }
  to {
    transform: translateX(-5rem);
  }
}

/*****************************/
/* SECTION CHAP 01 */
/*****************************/
.section-chap-01 {
  width: 100%;
  /* background-image: url(images/bg-01.jpg);
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover; */
  /* background-color: rgba(0, 0, 0, 0.8); */
  background-position: center top;
  background-repeat: repeat-y;
  position: relative;
  padding: 9rem 0;
  z-index: 0;
}
.navi-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 4.6rem;
  z-index: 2;
}
.navi-img {
  width: 27rem;
}
.chap-content-box {
  position: relative;
  width: 100%;
  background-color: rgba(23, 23, 23, 0.8);
  border-radius: 9rem;
  padding: 8rem 3.2rem;
  color: #faf4da;
  letter-spacing: 0.2rem;
  font-size: 2rem;
  line-height: 1.7;
  z-index: 0;
}
.chap-content-box-w {
  background-color: rgba(250, 244, 218, 0.9);
  color: #171717;
}
.chap-content-box-b {
  background-color: rgba(57, 59, 74, 0.9);
}
.chap-content-box-bl {
  background-color: rgba(12, 57, 89, 0.9);
}
.chap-content-box-gr {
  background-color: rgba(55, 77, 49, 0.9);
}
.chap-content-box-top5 {
  padding: 6.4rem 3.2rem;
}
.margin-bottom {
  margin-bottom: 8rem;
}
.chap-01-pic {
  position: absolute;
  top: 6.4rem;
  left: 1%;
  z-index: -1;
}
.chap-02-pic {
  top: -9rem;
  left: 2%;
}
.chap-03-pic {
  top: 6.4rem;
  left: 8%;
}
.chap-04-pic {
  top: -7rem;
  left: 5%;
}
.chap-01-pic-img {
  width: 53rem;
}
.chap-02-pic-img {
  width: 63rem;
}
.chap-03-pic-img {
  width: 55rem;
}
.chap-title-box {
  margin-left: 48%;
  font-family: "Noto Serif TC", serif;
  text-align: left;
  margin-bottom: 2rem;
}
.chap-title-box-02 {
  margin-left: 65%;
}
.chap-title-box-03 {
  margin-left: 55%;
}
.chap-title {
  font-family: "Noto Serif TC", serif;
  font-size: 5.5rem;
  font-weight: bolder;
}
.chap-title-big {
  font-size: 7.2rem;
  line-height: 1;
}
.chap-title-line-height {
  line-height: 1.2;
}
.chap-subtitle {
  font-size: 3.2rem;
  font-weight: bold;
}
.chap-title-04 {
  font-size: 3.2rem;
  color: #f9c769;
}
.chap-subtitle-sm {
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.4;
}
.more-img {
  width: 12.8rem;
}
.more02-img {
  width: 23.4rem;
}
.book-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4.6rem;
  row-gap: 4.6rem;
  text-align: center;
  justify-content: center;
  align-items: center;
}
.book-grid-2 {
  max-width: 70rem;
  grid-template-columns: repeat(2, 1fr);
  margin: 0 auto;
}
.book-set {
  max-width: 23rem;
  justify-self: center;
}
.book {
  position: relative;
}
.book-img {
  height: 28rem;
}
.good-img {
  height: 24rem;
}
.book-prize {
  position: absolute;
  bottom: -10rem;
}
.book-prize-img {
  width: 22rem;
}
.book-prize-title {
  margin-top: 10rem;
}
.line-img {
  width: 84rem;
  margin-top: 6.4rem;
  margin-bottom: 6.4rem;
}
.top5-title-flex {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 2.4rem;
  margin-bottom: 2rem;
}
.top5-01-pic-img {
  width: 14.7rem;
}
.top5-02-pic-img {
  width: 19rem;
}
.top5-03-pic-img {
  width: 20rem;
}
.top5-04-pic-img {
  width: 17.4rem;
}
.top5-title-box {
  font-family: "Noto Serif TC", serif;
  text-align: center;
}
.top5-title {
  font-size: 5.5rem;
  font-weight: bolder;
  color: #fffc00;
}
.top5-subtitle {
  font-size: 2.4rem;
  font-weight: bold;
}
.top5-book-rank-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 6.4rem;
  align-items: center;
  justify-content: center;
}
.top10-book-rank-flex {
  align-items: start;
}
.top5-book-img {
  height: 41rem;
}
.top5-rank-grid {
  max-width: 50rem;
  display: grid;
  grid-template-columns: repeat(2, auto);
  align-items: center;
  justify-content: center;
  gap: 2rem;
  row-gap: 1rem;
}
.top5-no1-img {
  width: 8rem;
}
.top10-no1-img {
  width: 7rem;
}
.top5-book-title {
  font-size: 3rem;
  font-weight: bold;
  font-family: "Noto Serif TC", serif;
  color: #faf4da;
  justify-self: start;
  text-align: left;
}
.top5-book-title-no1 {
  /* display: inline-block; */
  margin-bottom: 1rem;
  border-bottom: solid 0.7rem #fffc00;
  text-align: left;
}
.top5-number {
  width: 4rem;
  height: 4rem;
  font-size: 2.4rem;
  font-family: "Noto Serif TC", serif;
  font-weight: bolder;
  line-height: 3.7rem;
  background-color: #f9f4da;
  color: #171717;
  border-radius: 5rem;
  padding-left: 0.3rem;
  justify-self: center;
}
.author-flex-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 4.6rem;
  row-gap: 3.2rem;
  align-items: center;
  justify-content: center;
  margin: 0 3.2rem;
}
.author-flex-wrap-02 {
  margin-left: 0;
  margin-right: 0;
}
.author-flex-wrap-03 {
  gap: 5.2rem;
  row-gap: 5.2rem;
  margin: 0 4.6rem;
}
.author-set-link {
  text-decoration: none;
}
.author-descrip {
  font-size: 2.2rem;
  font-weight: bold;
  color: #171717;
  margin-bottom: 1rem;
}
.author-descrip-w {
  font-weight: normal;
  color: #f9f4da;
}
.author {
  display: inline-block;
  font-family: "Noto Serif TC", serif;
  font-weight: bolder;
  font-size: 3.3rem;
  color: #f9f4da;
  background-color: #171717;
  padding: 0 3.2rem 0.2rem 3.2rem;
  border-radius: 5rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.author-w {
  color: #171717;
  background-color: #f9f4da;
}
.author::before {
  content: "";
  position: absolute;
  color: #f9f4da;
  z-index: 3;
  transition: all 0.5s;
}
.author-w::before {
  content: "";
  position: absolute;
  color: #171717;
}
.author-01::before {
  content: "J.K羅琳";
}
.author-02::before {
  content: "東野圭吾";
}
.author-03::before {
  content: "泰絲．格里森";
}
.author-04::before {
  content: "丹．布朗";
}
.author-05::before {
  content: "雷克．萊爾頓";
}
.author-06::before {
  content: "笭菁";
}
.author-07::before {
  content: "宮部美幸";
}
.author-08::before {
  content: "布蘭登．山德森";
}
.author-09::before {
  content: "加布列．賈西亞．馬奎斯";
}
.author-10::before {
  content: "保羅．科爾賀";
}
.author-11::before {
  content: "丹尼爾．凱斯";
}
.author-12::before {
  content: "赫曼．赫塞";
}
.author-13::before {
  content: "米蘭．昆德拉";
}
.author-14::before {
  content: "卡勒德．胡賽尼";
}
.author-15::before {
  content: "卡洛斯．魯依斯．薩豐";
}
.author-16::before {
  content: "茱迪．皮考特";
}
.author-17::before {
  content: "伊莉莎白．吉兒伯特";
}
.author-18::before {
  content: "莎莉．魯尼";
}
.author-19::before {
  content: "村上春樹";
}
.author-20::before {
  content: "三浦紫苑";
}
.author-21::before {
  content: "小川糸";
}
.author-22::before {
  content: "吳明益";
}
.author-23::before {
  content: "侯文詠";
}
.author-24::before {
  content: "蔣勳";
}
.author-25::before {
  content: "龍應台";
}
.author-26::before {
  content: "張曼娟";
}
.author-27::before {
  content: "張西";
}
.author-28::before {
  content: "李維菁";
}
.author-29::before {
  content: "不朽";
}
.author-30::before {
  content: "任明信";
}
.author-31::before {
  content: "黃山料";
}
.author-32::before {
  content: "高木直子";
}
.author-33::before {
  content: "安倍夜郎";
}
.author-34::before {
  content: "幾米";
}
.author-35::before {
  content: "朵朵";
}
.author-36::before {
  content: "朴東宣";
}
.author-37::before {
  content: "黃阿瑪";
}
.author-38::before {
  content: "RINGRING";
}
.author-39::before {
  content: "Aida";
}
.author-40::before {
  content: "橫溝由里";
}
.author-41::before {
  content: "吉竹伸介";
}
.author::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #e3007f;
  transform: translateX(-100%);
  z-index: 2;
  transition: all 0.5s;
}
.author:hover::before {
  color: #fffc00;
}
.author:hover::after {
  transform: translateX(0);
}
.profile-intro-box {
  font-family: "Noto Serif TC", serif;
  text-align: left;
}
.profile-subtitle {
  font-size: 2.6rem;
  font-weight: bolder;
}
.profile-info-box {
  background-color: rgba(23, 23, 23, 0.9);
  border-radius: 1rem;
  padding: 1rem 2rem;
  font-family: "Noto Sans TC", sans-serif;
  font-weight: bold;
  color: #f9f4da;
  margin-top: 2.4rem;
}
.profile-info-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 4.6rem;
  row-gap: 0.4rem;
  justify-content: flex-start;
}
.profile-img {
  width: 30rem;
}
.profile-info-name {
  color: #afafaf;
}
.profile-book-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4.6rem;
  align-items: center;
  justify-content: center;
  margin: 0 5.2rem;
  margin-bottom: 2.4rem;
}
.profile-book-set-flex {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}
.profile-book-intro {
  max-width: 23rem;
}
.profile-book-title {
  font-family: "Noto Serif TC", serif;
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.4;
  color: #a58241;
  text-align: left;
  margin-bottom: 1.6rem;
}
.profile-book-title-y {
  color: #f9c769;
}
.profile-book-reflection {
  text-align: justify;
}
.profile-no-book {
  max-width: 33rem;
  justify-self: center;
}

/*****************************/
/* SECTION CHAP 02 */
/*****************************/
.section-chap-02 {
  width: 100%;
  background-image: url(images/bg-01.jpg);
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-color: #fdf4f0;
  background-position: center top;
  background-repeat: repeat-y;
  position: relative;
  padding: 16rem 0 9rem 0;
  z-index: 0;
}
.quote {
  margin-bottom: 3.2rem;
}
.quote-gr {
  display: inline-block;
  background-color: rgba(55, 72, 30, 0.7);
  padding: 2.4rem;
}
.quote-b {
  display: inline-block;
  background-color: rgba(23, 23, 23, 0.5);
  border-radius: 1rem;
  padding: 2.4rem;
}
.quote-br {
  display: inline-block;
  background-color: rgba(76, 46, 35, 0.6);
  border-radius: 1rem;
  padding: 2.4rem;
}
.quote-pk {
  display: inline-block;
  background-color: rgba(188, 50, 45, 0.6);
  /* color: #171717; */
  border-radius: 1rem;
  padding: 2.4rem;
  margin-top: 2.4rem;
}
.quote-lg {
  display: inline-block;
  background-color: rgba(157, 179, 142, 1);
  color: #171717;
  border-radius: 1rem;
  padding: 2.4rem;
  margin-top: 2.4rem;
}
.book-grid-margin-bottom {
  margin-bottom: 3.2rem;
}
.top10-quote {
  display: inline-block;
  position: relative;
  max-width: 36rem;
  background-color: #dcac6a;
  color: #171717;
  border-radius: 2rem;
  font-weight: bold;
  padding: 2.4rem;
  text-align: justify;
}
.triangle-top10 {
  position: absolute;
  color: #dcac6a;
  font-size: 3rem;
  bottom: -3rem;
  left: 50%;
  transform: translateX(-50%);
}
.top10-pic-img-01 {
  width: 42rem;
  margin-top: 3.2rem;
}
.top10-pic-img-02 {
  width: 36rem;
  margin-top: 3.2rem;
}

/*****************************/
/* SECTION CHAP 03 */
/*****************************/
.section-chap-03 {
  width: 100%;
  background-image: url(images/bg-02.jpg);
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-color: #fdf4f0;
  background-position: center top;
  background-repeat: repeat-y;
  position: relative;
  padding: 16rem 0 9rem 0;
  z-index: 0;
}
/* .span-2 {
  grid-column: span 2;
} */

/*****************************/
/* SECTION CHAP 04 */
/*****************************/
.section-chap-04 {
  width: 100%;
  background-image: url(images/bg-03.jpg);
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-color: #fdf4f0;
  background-position: center top;
  background-repeat: repeat-y;
  position: relative;
  padding: 16rem 0 9rem 0;
  z-index: 0;
}

/*****************************/
/* SECTION ACTIVITY */
/*****************************/
.section-activity {
  width: 100%;
  /* background-image: url(images/bg-01.jpg);
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover; */
  background-color: rgba(23, 23, 23, 0.8);
  background-position: center top;
  background-repeat: repeat-y;
  position: relative;
  padding: 9rem 0;
  z-index: 0;
}
.activity {
  max-width: 90rem;
  text-align: justify;
  font-size: 1.8rem;
  color: #f9f4da;
  margin-top: 8rem;
  border-top: solid 0.1rem #777;
  padding-top: 4.6rem;
}
.activity-title {
  margin-bottom: 2rem;
  text-align: center;
  font-size: 2rem;
}
.activity-item {
  display: inline-block;
  background-color: rgba(232, 229, 215, 0.4);
  border-radius: 0.3rem;
  font-size: 2rem;
  font-weight: 500;
  text-align: left;
  padding: 0.2rem 1.2rem;
  margin-bottom: 1rem;
}
.activity-ordered-list {
  margin-left: 3.2rem;
}

/*****************************/
/* SIDE BAR */
/*****************************/
.side-bar {
  position: fixed;
  bottom: 8rem;
  right: 0rem;
  z-index: 999;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.2rem;
  width: 5rem;
  display: flex;
  flex-direction: column;
  align-items: end;
}
.sb {
  color: #f9f4da;
  background-color: #171717;
  border-radius: 0.3rem 0 0 0.3rem;
  /* border: dotted 0.2rem #f9f4da; */
  padding: 1rem 1rem 1rem 1rem;
  margin-bottom: 1rem;
  width: 4rem;
  transition: all 0.3s;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.sb:hover,
.sb:active {
  background-color: #ee5b4e;
  font-weight: bold;
  /* color: #04050d; */
  width: 5rem;
}

/*****************************/
/* HAMBURGER */
/*****************************/
.w3-button,
.w3-xxlarge {
  display: none;
}

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