@charset "UTF-8";
/* http://meyerweb.com/eric/tools/css/reset/ 
v2.0 | 20110126
License: none (public domain)
*/
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@200;300;400;500;600;700;900&family=Noto+Sans+KR:wght@200;300;400;500;600;700;900&family=Noto+Sans+SC:wght@200;300;400;500;600;700;900&family=Noto+Sans+TC:wght@200;300;400;500;600;700;900&family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@200;300;400;500;600;700;900&family=Noto+Sans+KR:wght@200;300;400;500;600;700;900&family=Noto+Sans+SC:wght@200;300;400;500;600;700;900&family=Noto+Sans+TC:wght@200;300;400;500;600;700;900&family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@200;300;400;500;600;700;900&family=Noto+Sans+KR:wght@200;300;400;500;600;700;900&family=Noto+Sans+SC:wght@200;300;400;500;600;700;900&family=Noto+Sans+TC:wght@200;300;400;500;600;700;900&family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@200;300;400;500;600;700;900&family=Noto+Sans+KR:wght@200;300;400;500;600;700;900&family=Noto+Sans+SC:wght@200;300;400;500;600;700;900&family=Noto+Sans+TC:wght@200;300;400;500;600;700;900&family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap");
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  font-family: "Noto Sans", "Noto Sans JP", "Noto Sans KR", "Noto Sans SC", "Noto Sans TC", Sans !important;
}

/* 底色 */
body {
  background-color: rgb(245, 245, 245);
}

/* 所有圖片設定 */
img {
  width: 100%;
  vertical-align: bottom;
}

/* 所有連結裝飾消失 */
a {
  text-decoration: none;
}

/* 所有按鈕樣式 */
.btn {
  width: 200px;
  line-height: 44px;
  text-align: center;
  display: block;
  color: rgb(237, 109, 0);
  border: 1px solid rgb(237, 109, 0);
  border-radius: 44px;
  transition: 0.25s linear;
}

.btn:hover {
  color: rgb(245, 245, 245);
  background-color: rgb(237, 109, 0);
}

h2.titleh2 {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 32px;
  margin-top: 32px;
  color: rgb(38, 38, 38);
}

h2.titleh2::before,
h2.titleh2::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: rgb(196, 196, 196);
}

h2.titleh2::before {
  margin-right: 15px;
}

h2.titleh2::after {
  margin-left: 15px;
}

/* wrap部分置中 */
.wrap {
  width: 80%;
  margin: auto;
  max-width: 1320px;
}

.PC {
  display: none !important;
}

@media (min-width: 1024px) {
  .PC {
    display: block !important;
  }
  .mobile {
    display: none !important;
  }
}
body {
  background-color: rgb(245, 245, 245);
}

.icon {
  width: 32px;
  aspect-ratio: 1/1;
}

.event-content {
  padding: 24px 0;
  height: 100%;
  width: 100%;
  display: flex;
  background-color: rgba(0, 0, 0, 0.8);
  overflow-y: auto;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  box-sizing: border-box;
}

.event-content-area {
  padding: 24px;
  max-width: 600px;
  min-width: 280px;
  margin: auto;
  border-radius: 8px;
  background-color: rgb(245, 245, 245);
  box-sizing: border-box;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.24);
}

.event-content-area-title {
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: end;
}

.event-content-area-title img {
  cursor: pointer;
}

.event-content-area h3 p {
  margin-right: auto;
  font-size: 24px;
  font-weight: bold;
}

.owl-carousel {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: grab;
}

.event-more-open {
  padding: 24px 8px;
  height: -moz-fit-content;
  height: fit-content;
  margin: auto;
  color: rgb(245, 245, 245);
  background-color: #ED6D00;
  font-size: 16px;
  line-height: 24px;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  text-align: center;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 9;
  opacity: 0.64;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.56);
  box-sizing: border-box;
  writing-mode: vertical-lr;
  font-size: 18px;
  font-family: Noto Sans TC;
  font-weight: 400;
  font-style: normal;
  line-height: 180%;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: none;
}

.event-more-open:hover {
  opacity: 1;
}

.owl-nav {
  display: none;
}

.owl-dots {
  border-radius: 999px;
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
}

.owl-dot {
  width: 12px;
  aspect-ratio: 1/1;
  border-radius: 999px;
  margin: 0 8px;
  opacity: 0.3;
}

.owl-dot.active {
  background-color: #ED6D00;
  opacity: 1;
}

@media only screen and (max-width: 480px) {
  .event-more-open {
    font-size: 14px;
  }
  .event-content-area {
    padding: 16px 8px;
    width: 95%;
  }
  .owl-dot {
    width: 8px;
    aspect-ratio: 1/1;
  }
}
* {
  font-family: "Noto Sans", "Noto Sans JP", "Noto Sans KR", "Noto Sans SC", "Noto Sans TC", Sans !important;
}

/* 底色 */
body {
  background-color: rgb(245, 245, 245);
}

/* 所有圖片設定 */
img {
  width: 100%;
  vertical-align: bottom;
}

/* 所有連結裝飾消失 */
a {
  text-decoration: none;
}

/* 所有按鈕樣式 */
.btn {
  width: 200px;
  line-height: 44px;
  text-align: center;
  display: block;
  color: rgb(237, 109, 0);
  border: 1px solid rgb(237, 109, 0);
  border-radius: 44px;
  transition: 0.25s linear;
}

.btn:hover {
  color: rgb(245, 245, 245);
  background-color: rgb(237, 109, 0);
}

h2.titleh2 {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 32px;
  margin-top: 32px;
  color: rgb(38, 38, 38);
}

h2.titleh2::before,
h2.titleh2::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: rgb(196, 196, 196);
}

h2.titleh2::before {
  margin-right: 15px;
}

h2.titleh2::after {
  margin-left: 15px;
}

/* wrap部分置中 */
.wrap {
  width: 80%;
  margin: auto;
  max-width: 1320px;
}

.PC {
  display: none !important;
}

@media (min-width: 1024px) {
  .PC {
    display: block !important;
  }
  .mobile {
    display: none !important;
  }
}
/* <<<<<<<<<<< HEADER >>>>>>>>>>> */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  box-shadow: 0px 1px 8px -8px #292929;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 48px;
  box-sizing: border-box;
  /* --- Logo 區域 --- */
}
header .logo .pic {
  width: 100%;
  max-width: 180px;
  flex-shrink: 0;
}
header .logo .pic a {
  cursor: cursor;
}
@media (min-width: 768px) {
  header .logo .pic {
    max-width: 240px;
  }
}
header {
  /* --- 選單容器 --- */
}
header .wholemenu {
  display: flex;
  align-items: center;
  flex-shrink: 1;
}
header .wholemenu .hamburger {
  cursor: pointer;
  z-index: 1001;
  position: relative;
}
header .wholemenu .hamburger .pic {
  max-width: 36px;
}
header {
  /* --- 選單項目通用樣式 --- */
}
header .menu_item {
  list-style: none;
  display: flex;
  justify-content: center;
  position: relative;
  cursor: pointer;
}
header .menu_item a {
  display: flex;
  color: #292929;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}
header .menu_item:hover a.page {
  color: #f0a709;
}
header .menu_item {
  /* 箭頭旋轉動畫 */
}
header .menu_item .arrow {
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.3s;
  font-size: 12px;
  vertical-align: middle;
}
header .menu_item.open > .arrow, header .menu_item.open .dropdown-trigger .arrow {
  transform: rotate(180deg);
}
header {
  /* --- 子選單基礎樣式 (Reset) --- */
}
header .submenu {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
}
header .submenu li a {
  font-size: 16px;
  font-weight: 400;
  padding: 15px 20px;
  text-align: center;
  white-space: nowrap;
}
header .submenu li a:hover {
  background-color: #f0a709;
  color: #ffffff !important;
}
header {
  /* --- [PC 版樣式] --- */
}
header .PC.dropdown {
  margin-right: 16px;
  font-size: 18px;
  font-weight: 600;
}
header .PC.dropdown .submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  min-width: 120px;
  margin-top: 10px;
  z-index: 1010;
}
@media (min-width: 768px) {
  header .PC.dropdown {
    font-size: 20px;
  }
}
header {
  /* --- [手機漢堡選單樣式] --- */
}
header .menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  z-index: 999;
}
header .menu.open {
  display: block;
  height: calc(100vh - 100%);
  max-height: calc(100vh - 100%);
  overflow-y: auto;
  clip-path: inset(0 0 0 0);
  animation: slideDown 0.4s ease-out forwards;
}
header .menu.closing {
  display: block;
  animation: slideUp 0.4s ease-out forwards;
}
header .menu .menu_item {
  border-bottom: 1px solid rgb(221, 221, 221);
}
header .menu .menu_item > a {
  width: 100%;
  padding: 48px 0 48px 32px;
  font-size: 20px;
  font-weight: 700;
  color: #000000;
}
header .menu .menu_item {
  /* 手機下拉項目 */
}
header .menu .menu_item.mobile {
  flex-direction: column;
  padding: 0;
}
header .menu .menu_item.mobile .dropdown-trigger {
  width: 100%;
  padding: 48px 0 48px 32px;
  font-size: 20px;
  font-weight: 700;
  color: #000000;
}
header .menu .menu_item.mobile .submenu {
  position: static;
  transform: none;
  width: 100%;
  background-color: #f9f9f9;
  box-shadow: none;
}
header .menu .menu_item.mobile .submenu li {
  border-top: 1px solid #eeeeee;
}
header .menu .menu_item.mobile .submenu li a {
  padding: 24px 0 24px 32px;
  font-size: 18px;
}

/* --- 優化後的動畫關鍵幀 --- */
@keyframes slideDown {
  from {
    clip-path: inset(0 0 100% 0);
    opacity: 0;
  }
  to {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
  to {
    clip-path: inset(0 0 100% 0);
    opacity: 0;
  }
}
@media (min-width: 1024px) {
  .PC {
    display: flex !important;
  }
  .mobile {
    display: none !important;
  }
}
@media (max-width: 1023px) {
  .PC {
    display: none !important;
  }
  header {
    padding: 16px 20px;
  }
}
/*<<<<<<<<<<< footer >>>>>>>>>>>>*/
footer {
  padding: 48px 0;
}

footer ul {
  display: flex;
  justify-content: center;
  padding: 0px 0 8px;
}

footer ul li {
  padding: 0 4px;
  transition: 0.5s linear;
}

footer ul li:hover {
  transform: translateY(-2px);
}

footer p {
  text-align: center;
  font-size: 14px;
}

* {
  font-family: "Noto Sans", "Noto Sans JP", "Noto Sans KR", "Noto Sans SC", "Noto Sans TC", Sans !important;
}

/* 底色 */
body {
  background-color: rgb(245, 245, 245);
}

/* 所有圖片設定 */
img {
  width: 100%;
  vertical-align: bottom;
}

/* 所有連結裝飾消失 */
a {
  text-decoration: none;
}

/* 所有按鈕樣式 */
.btn {
  width: 200px;
  line-height: 44px;
  text-align: center;
  display: block;
  color: rgb(237, 109, 0);
  border: 1px solid rgb(237, 109, 0);
  border-radius: 44px;
  transition: 0.25s linear;
}

.btn:hover {
  color: rgb(245, 245, 245);
  background-color: rgb(237, 109, 0);
}

h2.titleh2 {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 32px;
  margin-top: 32px;
  color: rgb(38, 38, 38);
}

h2.titleh2::before,
h2.titleh2::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: rgb(196, 196, 196);
}

h2.titleh2::before {
  margin-right: 15px;
}

h2.titleh2::after {
  margin-left: 15px;
}

/* wrap部分置中 */
.wrap {
  width: 80%;
  margin: auto;
  max-width: 1320px;
}

.PC {
  display: none !important;
}

@media (min-width: 1024px) {
  .PC {
    display: block !important;
  }
  .mobile {
    display: none !important;
  }
}
.index_header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

.horizontalscroll {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-wrap: nowrap;
  position: relative;
  overflow: hidden;
  background-color: #fff;
}
.horizontalscroll::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 25;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.horizontalscroll:has(.theme_item:not(.main):hover)::after {
  opacity: 1;
}

/* --- 車子設定 (解決白邊關鍵) --- */
.horizontalscroll .car {
  width: 120px;
  aspect-ratio: 1/1;
  z-index: 50;
  pointer-events: none;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
}
.horizontalscroll .car img {
  width: 100%;
  height: auto;
  display: block;
  backface-visibility: hidden;
  will-change: transform;
}

/* --- 手機版 (<= 1024px) 關鍵樣式 --- */
@media screen and (max-width: 1024px) {
  .horizontalscroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    /* 隱藏滾動條 */
  }
  .horizontalscroll::-webkit-scrollbar {
    display: none;
  }
  .horizontalscroll .car {
    /* 在原生滾動模式下，fixed 才能確保車子不被捲走且不產生白邊 */
    position: fixed;
    bottom: 10%;
  }
  .horizontalscroll .theme_item.main .theme_title {
    width: 80% !important;
  }
}
/* --- 桌機與中大螢幕尺寸微調 --- */
@media (min-width: 576px) {
  .horizontalscroll .car {
    width: 180px;
  }
}
@media (min-width: 1025px) {
  .horizontalscroll .car {
    position: absolute;
  }
}
.horizontalscroll .theme_item {
  flex-shrink: 0;
  width: 100vw;
  height: 100%;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 5;
}
.horizontalscroll .theme_item::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 120%;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.6) 30%, transparent 70%);
  z-index: 28;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.horizontalscroll .theme_item:hover:not(.main) {
  z-index: 30;
}
.horizontalscroll .theme_item:hover:not(.main)::before {
  opacity: 1;
}
.horizontalscroll .theme_item .theme_title {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 31;
  width: 100%;
}
.horizontalscroll .theme_item .theme_title img {
  width: 100%;
}
.horizontalscroll .theme_item .bgimg, .horizontalscroll .theme_item .bgimg_content, .horizontalscroll .theme_item picture {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: bottom;
     object-position: bottom;
}

.horizontalscroll .theme_item.main {
  width: 100vw !important;
  z-index: 20;
}
.horizontalscroll .theme_item.main .theme_title {
  width: 70%;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (min-width: 1024px) {
  .horizontalscroll .theme_item.main .theme_title {
    max-width: 450px;
  }
  .horizontalscroll .theme_item:not(.main) {
    width: 33.3333vw;
    cursor: pointer;
  }
}
.scroll_hint {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 70;
  color: #fff;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.scroll_hint span {
  font-size: 14px;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.scroll_hint .arrow {
  font-size: 24px;
}

@media (min-width: 1024px) {
  .scroll_hint {
    top: 50%;
    left: auto;
    right: 10%;
    transform: translate(0%, -50%);
  }
}
* {
  font-family: "Noto Sans", "Noto Sans JP", "Noto Sans KR", "Noto Sans SC", "Noto Sans TC", Sans !important;
}

/* 底色 */
body {
  background-color: rgb(245, 245, 245);
}

/* 所有圖片設定 */
img {
  width: 100%;
  vertical-align: bottom;
}

/* 所有連結裝飾消失 */
a {
  text-decoration: none;
}

/* 所有按鈕樣式 */
.btn {
  width: 200px;
  line-height: 44px;
  text-align: center;
  display: block;
  color: rgb(237, 109, 0);
  border: 1px solid rgb(237, 109, 0);
  border-radius: 44px;
  transition: 0.25s linear;
}

.btn:hover {
  color: rgb(245, 245, 245);
  background-color: rgb(237, 109, 0);
}

h2.titleh2 {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 32px;
  margin-top: 32px;
  color: rgb(38, 38, 38);
}

h2.titleh2::before,
h2.titleh2::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: rgb(196, 196, 196);
}

h2.titleh2::before {
  margin-right: 15px;
}

h2.titleh2::after {
  margin-left: 15px;
}

/* wrap部分置中 */
.wrap {
  width: 80%;
  margin: auto;
  max-width: 1320px;
}

.PC {
  display: none !important;
}

@media (min-width: 1024px) {
  .PC {
    display: block !important;
  }
  .mobile {
    display: none !important;
  }
}
/* BN-L隱藏 */
.banner-l {
  display: none;
}

/* 活動導讀 */
.guide {
  padding: 32px 0;
}

.guide p {
  margin: auto;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: rgb(34, 34, 34);
  width: -moz-fit-content;
  width: fit-content;
}

@media screen and (min-width: 768px) {
  .guide p {
    font-size: 20px;
  }
}
/* 書評 */
.review {
  position: relative;
}

/* 修正箭頭按鈕容器 */
.owl-carousel .owl-nav {
  display: block !important;
  /* 確保顯示 */
}

/* 箭頭按鈕共同樣式 */
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50% !important;
  background-color: rgb(237, 109, 0) !important;
  /* 強制背景橘色 */
  color: #fff !important;
  opacity: 0.6;
  transition: 0.3s;
  z-index: 10;
  margin: 0 !important;
}

.owl-carousel .owl-nav button:hover {
  opacity: 1 !important;
}

/* 具體定位：將按鈕移至左右兩端 */
.owl-carousel .owl-nav button.owl-prev {
  left: 0%;
}

.owl-carousel .owl-nav button.owl-next {
  right: 0%;
}

/* 修正符號在按鈕內的大小與垂直居中 */
.owl-carousel .owl-nav button span {
  font-size: 45px;
  line-height: 42px;
  /* 調整行高讓符號置中 */
  display: block;
  padding-bottom: 8px;
}

/* 確保容器不會裁切掉按鈕 */
.review .wrap {
  position: relative;
  padding: 0 30px;
  /* 增加左右間距，給按鈕空間 */
}

@media screen and (min-width: 768px) {
  .review .wrap {
    padding: 0 60px;
    /* 電腦版空間更多 */
  }
}
.review .owl-carousel .item .pic {
  border-radius: 16px;
  overflow: hidden;
}

.review .owl-carousel .item {
  margin: 36px 24px;
}

.review .owl-carousel.single .item {
  margin: 0px;
}

.review .owl-carousel.single .item {
  display: flex;
  justify-content: center;
}

.review .owl-carousel.single .item a {
  width: 100%;
}

.owl-carousel.single .owl-nav {
  display: none !important;
  /* 確保顯示 */
}

@media screen and (min-width: 768px) {
  .review .owl-carousel.single .item a {
    width: 60%;
  }
}
.review .owl-carousel .item {
  padding-bottom: 36px;
  transition: 0.5s linear;
}

.review .owl-carousel .item:hover {
  transform: translateY(-4px);
  /* background-color: #f5f5f5; */
}

.review .txt p::after {
  content: "";
  height: 2px;
  width: 0px;
  background-color: rgb(237, 109, 0);
  position: absolute;
  bottom: 0;
  left: 0;
  transition: 0.5s linear;
}

.review .owl-carousel .item:hover .txt p {
  color: rgb(237, 109, 0);
}

.review .owl-carousel .item:hover .txt p::after {
  width: 100%;
}

.review .txt {
  padding: 0 16px;
}

.review .txt p {
  position: relative;
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  color: #000;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  box-sizing: border-box;
  padding: 4px 0;
}

.review .txt span {
  color: #424242;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  padding-top: 8px;
  box-sizing: border-box;
}

.review .txt span .highlight {
  color: #a0835a;
  font-weight: 600;
}

@media screen and (min-width: 768px) {
  .review .owl-carousel {
    margin: auto;
  }
  /* 控制中間圖片 */
  .owl-item.active.center {
    /* box-sizing: content-box; */
    transform: scale(1.1) !important;
    transition: 0.8s;
  }
  /* 更多的我們 */
  .review ul {
    display: flex;
    justify-content: space-between;
  }
}
/* 書展類別區域 */
#bookshelf {
  position: relative;
}

.tab {
  margin-bottom: 24px;
  position: sticky;
  top: 0;
  z-index: 3;
  background-color: #f5f5f5;
}

/* 書展類別分類區域 */
.tab_area {
  display: flex;
  padding: 12px 0;
  overflow: auto;
}

/* 書展類別分類按鈕 */
.tab_area a {
  flex-grow: 1;
  position: relative;
  padding: 12px;
  box-sizing: border-box;
  font-size: 20px;
  text-align: center;
  white-space: nowrap;
  color: rgb(65, 65, 65);
}

.tab_area a:not(:last-child) {
  border-right: 1px solid #cdcdcd;
}

/* 書展類別分類按鈕點選效果 */
.tab_area > .active {
  color: rgb(237, 109, 0);
  font-weight: 500;
}

.tab_area > .active::after {
  position: absolute;
  content: " ";
  width: 80%;
  height: 2px;
  background-color: rgb(237, 109, 0);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* 書架區域 */
.bookall .wrap .bookall_area {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.bookall .wrap .bookall_area.prizebooks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* 書展類別 */
.bookall_title {
  margin-bottom: 16px;
}

.bookall_title h3 {
  padding-top: 5%;
  box-sizing: border-box;
  font-size: 24px;
  line-height: 1.5;
  text-align: center;
  color: rgb(100, 100, 100);
}

/* 書展類別小標 */
.bookall_title p {
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  color: rgb(125, 125, 125);
}

.bookall_subtitle {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.bookall_subtitle h3 {
  width: 100%;
  align-items: center;
  margin: 0;
  display: flex;
  flex-grow: 1;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  padding: 8px 0;
  cursor: pointer;
  color: rgb(68, 68, 68);
}

.bookall_subtitle h3::before,
.bookall_subtitle h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: rgb(215, 215, 215);
}

.bookall_subtitle h3::before {
  margin-right: 15px;
}

.bookall_subtitle h3::after {
  margin-left: 15px;
}

/* 書架一行兩個 */
.bookall .wrap .bookall_area a {
  width: 50%;
  padding: 16px;
  box-sizing: border-box;
  transition: 0.25s linear;
}

/* 書架hover特效 */
.bookall .wrap .bookall_area a:hover {
  transform: translateY(-15px);
}

.bookall .wrap .bookall_area .pic {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  aspect-ratio: 5/6;
  position: relative;
  width: 100%;
  overflow: hidden;
  box-shadow: 2px 5px 10px -1px rgba(0, 0, 0, 0.15);
}

.bookall_area a .pic img {
  max-width: 100%;
  max-height: 100%;
  z-index: 2;
}

.bookall_area a .pic .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  opacity: 0.8;
  filter: brightness(105%) blur(10px);
  z-index: 1;
  transform: scale(2);
}

/* 書架書名 */
.bookall .wrap .bookall_area .txt p {
  font-size: 16px;
  line-height: 1.2;
  color: rgb(59, 59, 59);
  margin: 4px 0 8px;
  /* 書架書名兩行限制 */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* 行數 */
  -webkit-box-orient: vertical;
  white-space: normal;
}

.bookall .wrap .bookall_area .przietag span {
  display: block;
  font-size: 16px;
  font-weight: 300;
  padding: 4px 12px;
  border: 1px solid #c8c8c8;
  background-color: #f2f2f2;
  box-sizing: border-box;
  border-radius: 999px;
  color: #898989;
  margin-bottom: 4px;
  width: -moz-fit-content;
  width: fit-content;
  line-height: 140%;
  word-break: break-all;
}

/* 閱讀更多按鈕 */
.read_more {
  display: flex;
  justify-content: center;
  margin: 36px auto;
}

/* 圖書館連結跳窗樣式 */
.library-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.library-modal.show {
  display: flex;
}

.library-modal-content {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  max-width: 800px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.library-modal-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
  text-align: center;
}

.library-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.library-link {
  display: block;
  padding: 15px 20px;
  background: #f8f8f8;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
}

.library-link:hover {
  background: rgba(237, 111, 0, 0.238);
  border-color: rgb(237, 109, 0);
}

.library-close-btn {
  display: block;
  width: 100%;
  padding: 12px 30px;
  background: rgb(237, 109, 0);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.library-close-btn:hover {
  background: rgb(172, 81, 1);
}

@media (max-width: 768px) {
  .library-modal-content {
    padding: 30px 20px;
  }
  .library-modal-title {
    font-size: 20px;
  }
  .library-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .library-link {
    padding: 12px 15px;
    font-size: 16px;
  }
}
/* footer */
footer {
  padding: 10% 0;
  background-color: rgb(235, 235, 235);
}

footer p {
  text-align: center;
  font-size: 1em;
  line-height: 1.2;
  color: rgb(100, 100, 100);
}

@media screen and (min-width: 576px) {
  /* BN-L打開 */
  .banner-l {
    display: block;
  }
  /* BN-M隱藏 */
  .banner-m {
    display: none;
  }
  .tab {
    margin-bottom: 36px;
  }
  /* 書展類別 */
  .bookall_title h3 {
    font-size: 36px;
  }
  /* 書展類別小標 */
  .bookall_title p {
    font-size: 20px;
  }
  /* 書架一行四個 */
  .bookall .wrap .bookall_area a {
    width: 33.3333333333%;
  }
  /* 閱讀更多按鈕 */
  .read_more {
    margin: 2% auto 5%;
  }
  /* footer */
  footer {
    padding: 2% 0;
  }
}
@media screen and (min-width: 768px) {
  /* 書架一行四個 */
  .bookall .wrap .bookall_area a {
    width: 20%;
  }
}
.languageswitch .wrap {
  display: flex;
  flex-direction: column;
  margin-top: 32px;
}

.languageswitch .wrap a {
  display: flex;
  justify-content: center;
  flex-grow: 1;
  font-size: 20px;
  padding: 8px;
  color: #000;
  border: 1px solid #000;
  border-radius: 8px;
}

.languageswitch .wrap a:not(:first-child) {
  margin-top: 12px;
}

.languageswitch .wrap a.active {
  color: #fff;
  font-weight: 600;
  background-color: rgb(237, 109, 0);
  border: 1px solid rgb(237, 109, 0);
}

@media screen and (min-width: 768px) {
  .languageswitch .wrap {
    flex-direction: row;
    gap: 12px;
  }
  .languageswitch .wrap a {
    font-size: 24px;
  }
  .languageswitch .wrap a:not(:first-child) {
    margin-top: 0px;
  }
}
/* <<<<<<<<<<<活動資訊>>>>>>>>>>> */
.activity-info {
  padding: 32px 0 16px;
  background-color: #fff;
}

/* 活動概覽列 */
.activity-overview {
  display: grid;
  grid-template-columns: repeat(2fr, 1);
  grid-template-rows: 1fr auto;
  grid-auto-rows: auto;
  gap: 8px 48px;
  margin-bottom: 36px;
  padding: 16px 20px;
  background-color: #fff8f2;
  border-radius: 4px;
}

@media screen and (min-width: 768px) {
  .activity-overview {
    grid-template-columns: 1fr 1fr;
  }
}
.activity-meta {
  width: 100%;
  font-size: 16px;
  font-weight: 600;
  color: rgb(237, 109, 0);
  line-height: 1.6;
}

@media screen and (min-width: 768px) {
  .activity-meta {
    font-size: 17px;
  }
}
/* 活動大區塊 */
.activity-block {
  margin-bottom: 40px;
}

.activity-block-title {
  margin-bottom: 20px;
}

/* 副標 */
.activity-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: rgb(59, 59, 59);
  margin-bottom: 12px;
  line-height: 1.6;
}
.activity-subtitle.time {
  text-align: center;
}

/* 縣市標籤群 */
.library-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.library-tag {
  display: inline-block;
  padding: 6px 14px;
  background-color: #f2f2f2;
  border: 1px solid #c8c8c8;
  border-radius: 999px;
  font-size: 16px;
  color: #555;
  transition: all 0.25s;
  text-decoration: none;
}

.library-tag:hover {
  background-color: rgba(237, 109, 0, 0.1);
  border-color: rgb(237, 109, 0);
  color: rgb(237, 109, 0);
}

/* 備注文字 */
.activity-note {
  font-size: 13px;
  color: #898989;
  line-height: 1.7;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

@media screen and (min-width: 768px) {
  .activity-note {
    font-size: 16px;
  }
}
/* 辦證按鈕區 */
.activity-btn-wrap {
  margin-top: 16px;
}

.activity-btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  width: 100%;
}

/* 活動內容子區塊 */
.activity-content-block {
  padding: 24px;
  background-color: #fafafa;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid #ececec;
}

/* 活動編號標題 */
.activity-event-title {
  font-size: 18px;
  font-weight: 700;
  color: rgb(237, 109, 0);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(237, 109, 0, 0.2);
}

@media screen and (min-width: 768px) {
  .activity-event-title {
    font-size: 20px;
    color: #EF7F2E;
  }
}
/* 步驟條列 */
.activity-steps {
  list-style: decimal;
  padding-left: 1.2rem;
  margin-bottom: 12px;
}

ol.activity-steps li a {
  font-weight: 600;
  color: #fff;
  background-color: #EF7F2E;
  padding: 4px 4px;
  border-radius: 8px;
  margin-left: 4px;
}

.activity-steps li {
  font-size: 16px;
  color: rgb(59, 59, 59);
  line-height: 1.8;
  padding: 4px 0;
  letter-spacing: 0.5px;
}

@media screen and (min-width: 768px) {
  .activity-steps li {
    font-size: 16px;
  }
}
/* 活動說明段落 */
.activity-body {
  font-size: 16px;
  color: rgb(59, 59, 59);
  line-height: 1.8;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

@media screen and (min-width: 768px) {
  .activity-body {
    font-size: 16px;
  }
}
/* 獎項區 */
.prize-area {
  margin-top: 20px;
  padding: 16px 20px;
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #f0e0cc;
}

.prize-label {
  font-size: 16px;
  font-weight: 700;
  color: rgb(237, 109, 0);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

@media screen and (min-width: 768px) {
  .prize-label {
    font-size: 16px;
  }
}
/* 獎項清單 */
.prize-list {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.prize-list li {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-grow: 1;
}

/* 名次圓圈 */
.prize-rank {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: rgb(237, 109, 0);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.prize-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.prize-info strong {
  font-size: 16px;
  font-weight: 700;
  color: rgb(34, 34, 34);
  line-height: 1.5;
}

.prize-info .prize-desc {
  font-size: 13px;
  color: #898989;
  line-height: 1.5;
}

@media screen and (min-width: 768px) {
  .prize-info strong {
    font-size: 16px;
  }
  .prize-info .prize-desc {
    font-size: 16px;
  }
  .activity-content-block {
    padding: 28px 32px;
  }
}
/* <<<<<<<<<<<活動注意事項>>>>>>>>>>> */
.notice {
  margin-bottom: 32px;
}

.notice ol {
  list-style: decimal;
  padding-left: 1rem;
}

.notice ol li:first-child {
  padding-top: 0;
}

.notice ol li:not(:first-child) {
  padding-top: 16px;
}

.notice ol li:nth-child(1),
.notice ol li:nth-child(2),
.notice ol li:nth-child(3) {
  color: #ea8e05;
  font-weight: 400;
}

.notice ol li:nth-child(1) .txt p,
.notice ol li:nth-child(2) .txt p,
.notice ol li:nth-child(3) .txt p {
  color: #ea8e05;
  font-weight: 400;
}

.notice ol li .txt p {
  color: #000;
  font-size: 12px;
  font-weight: 300;
  line-height: 150%;
  letter-spacing: 1px;
}

@media (min-width: 768px) {
  .notice ol {
    width: 80%;
    margin: auto;
  }
  .notice ol li .txt p {
    font-size: 16px;
  }
}
.luckydraw .container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 177.78%;
}

@media (min-width: 768px) {
  .luckydraw .container {
    padding-top: 75%;
  }
}
.luckydraw .container .luckydraw-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.readingtogethercarousel .item {
  max-width: 60%;
  margin: auto !important;
}

.readingtogethercarousel .owl-item.active.center {
  transform: scale(1) !important;
}