[genuitec-file-id="wc2-3499"],[genuitec-lp-path="/bsmiGIP/web/wSite/xslgip/chinese/css/styleNew.css"],[genuitec-lp-enabled=false]{
  /* for codelive */
}

@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Funnel+Sans:ital,wght@0,300..800;1,300..800&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Noto+Sans+JP:wght@100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
@import '../vendor/fancybox/fancybox.css';

img.img_rounded {
  border-radius: 10px;
}
img.img_circle {
  border-radius: 50%;
}
img:not([src]) {
  visibility: hidden;
  opacity: 0;
}
img.lazy {
  visibility: hidden;
}
img.loaded {
  visibility: visible;
  animation: lazy_animation 0.5s ease-out;
}

@keyframes lazy_animation {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/*for IE */
.img-container {
  width: 100%;
  position: relative;
  overflow: hidden;
}
.img-container:before {
  display: inline-block;
  content: "";
  padding-top: 75%;
}
.img-container img {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: auto;
}
.img-container {
  background: #f1f1f1;
}
.img-container a {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.img-container a .caption {
  position: absolute;
  width: 100%;
  height: 3em;
  line-height: 3em;
  background: rgba(0, 0, 0, 0.45);
  padding: 0 1em;
  font-size: 1.25em;
  color: #fff;
  margin: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  box-sizing: border-box;
}
@media screen and (max-width: 767px) {
  .img-container a .caption {
    width: 100%;
    height: 2em;
    line-height: 2em;
    left: 0;
    padding: 0 1em;
  }
}
.img-container a:focus:before {
  content: "";
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
.img-container a:focus-visible:before {
  box-shadow: 0 0px 0px 2px #ff3e4d inset;
}
.img-container img {
  position: absolute;
  width: 100% !important;
  height: 100% !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.img-container iframe {
  position: absolute;
  width: 100% !important;
  height: 100% !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
/* ---箭頭的樣式--- */
.slick-arrow::before {
  display: none;
}

.prevSlider,
.nextSlider {
  font-size: 0em;
  line-height: 0em;
  position: absolute;
  display: block;
  width: 48px !important;
  height: 48px !important;
  padding: 0 !important;
  min-width: auto;
  z-index: 2;
  top: 45%;
  cursor: pointer;
  border: solid 1px #8b8b8b;
  outline: none;
  box-shadow: none;
  transition: 0.3s ease-out;
  border-radius: 50%;
}
.prevSlider:hover,
.nextSlider:hover {
  border: solid 1px #814950;
}
.prevSlider:focus-visible,
.nextSlider:focus-visible {
  outline: dashed 2px #ff3e4d;
}

/* 上一則 位置 圖片*/
.prevSlider {
  left: 0;
  background: url("../images/slick/icon_arrow_left.svg") center center no-repeat RGBA(255, 255, 255, 0.9);
  background-size: 24px 24px;
  /* 箭頭 hover及focus 樣式 */
}
.prevSlider:hover, .prevSlider:focus-visible {
  background: #814950 url("../images/slick/icon_arrow_left_inverse.svg") center center no-repeat;
  background-size: 24px 24px;
}
.prevSlider:after {
  display: none;
}

/* 下一則 位置 圖片*/
.nextSlider {
  right: 0;
  background: url("../images/slick/icon_arrow_right.svg") center center no-repeat RGBA(255, 255, 255, 0.8);
  background-size: 24px 24px;
  /* 箭頭 hover及focus 樣式 */
}
.nextSlider:hover, .nextSlider:focus-visible {
  background: #814950 url("../images/slick/icon_arrow_right_inverse.svg") center center no-repeat;
  background-size: 24px 24px;
}
.nextSlider:after {
  display: none;
}

/* 沒有無限輪播時，滑到最兩邊資料時，箭頭暗掉 */
.slick-disabled {
  opacity: 0.25;
}

/* ---點的樣式---*/
.slick-dots {
  position: absolute;
  right: 0;
  left: 0;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0;
  margin: 0;
  z-index: 9;
  list-style: none;
  box-sizing: border-box;
}
.slick-dots li {
  position: relative;
  padding: 0;
  cursor: pointer;
}
.slick-dots li button {
  font-size: 0em;
  line-height: 0em;
  display: block;
  cursor: pointer;
  border: 0;
  outline: none;
}

/* ---點的位置、大小、顏色---*/
.slick-dots {
  /* 位置距離 */
  bottom: 20px;
}
.slick-dots li {
  /* 兩點的距離 */
  margin: 0 10px;
}
.slick-dots li button {
  /* 點的顏色 */
  background: #666;
  opacity: 0.4;
  width: 15px;
  height: 15px;
  border-radius: 50%;
}
.slick-dots li button:hover, .slick-dots li button:focus {
  opacity: 1;
  /* 點hover的顏色 */
  background: #21baff;
}
.slick-dots li button:focus {
  opacity: 1;
  /* 點focus的顏色 */
  background: #ff3e4d;
}
.slick-dots li.slick-active button {
  opacity: 1;
  /* 點 active 的顏色 */
  background: #814950;
}
.slick-dots li.slick-active button::before {
  display: none;
}
.slick-dots li.slick-active button:hover {
  /* 點 active  hover的顏色 */
  background: #ff3e4d;
}
.slick-dots li.slick-active button:focus {
  /* 點 active  focus的顏色 */
  background: #ff3e4d;
}

/* ======================================== */
/* Swiper 播放/暫停按鈕 (WCAG 優化)        */
/* ======================================== */
/* 確保 Swiper 容器是定位的基準 */
/* 按鈕基本樣式 */
.swiper-play-pause-btn {
  /* 定位：通常放在右下角，可以根據您的設計微調 */
  position: absolute;
  top: 12px;
  right: 15px;
  z-index: 10; /* 確保在分頁元件 (pagination) 之上 */
  /* 尺寸與外觀 */
  width: 32px;
  height: 32px;
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  cursor: pointer;
  /* 移除原生按鈕樣式 */
  padding: 0;
  outline: none;
  /* 過渡動畫 */
  transition: background-color 0.3s, transform 0.2s;
}

/* 滑鼠懸停效果 */
.swiper-play-pause-btn:hover {
  background-color: rgb(0, 0, 0);
}

/* WCAG: 鍵盤焦點樣式 */
.swiper-play-pause-btn:focus-visible {
  background-color: rgb(0, 0, 0);
  outline: 2px dashed #ff3e4d;
}

/* 使用 ::before 偽元素繪製圖示，無需圖片 */
.swiper-play-pause-btn::before {
  content: "";
  display: block;
  box-sizing: border-box;
  margin: auto;
  transition: all 0.2s ease-in-out;
}

/* 預設狀態 (暫停中)，顯示「播放」圖示 (三角形) */
.swiper-play-pause-btn::before {
  width: 0;
  height: 0;
  margin-left: 10px; /* 微調三角形使其視覺置中 */
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent white;
}

/* is-playing 狀態，顯示「暫停」圖示 (雙直線) */
.swiper-play-pause-btn.is-playing::before {
  width: 12px;
  height: 14px;
  margin-left: auto; /* 重置 margin */
  border-style: solid;
  border-width: 0 4px;
  border-color: white;
}

.cpSwiper .swiper-play-pause-btn {
  top: 3em;
  right: 0px;
}

.bookSwiper .swiper-play-pause-btn {
  top: 8em;
  right: -5px;
}

.spswiperBlock .swiper-play-pause-btn {
  top: -1em;
  right: 0px;
}

.eventsSwiper .swiper-play-pause-btn,
.collectionSwiper .swiper-play-pause-btn {
  right: 16%;
}
@media screen and (max-width: 1250px) {
  .eventsSwiper .swiper-play-pause-btn,
  .collectionSwiper .swiper-play-pause-btn {
    right: 18%;
  }
}
@media screen and (max-width: 991px) {
  .eventsSwiper .swiper-play-pause-btn,
  .collectionSwiper .swiper-play-pause-btn {
    right: 20%;
  }
}
@media screen and (max-width: 767px) {
  .eventsSwiper .swiper-play-pause-btn,
  .collectionSwiper .swiper-play-pause-btn {
    right: 5%;
  }
}
.eventsSwiper {
  margin: 1em 3% 1em;
  position: static;
}
.eventsSwiper .swiper-slide {
  width: 100%;
  background: rgba(255, 255, 255, 0);
  display: flex;
  justify-content: center;
  align-items: center;
}
.eventsSwiper .swiper-slide a {
  flex: 1 1 100%;
  padding: 1em;
}
.eventsSwiper .swiper-slide a:focus-visible {
  box-shadow: #ff3e4d 0 0 0 2px inset;
  outline: none;
}
.eventsSwiper .swiper-slide a:hover img {
  transform: scale(1.1);
}
.eventsSwiper .img-container {
  overflow: hidden;
}
.eventsSwiper .img-container:before {
  display: inline-block;
  content: "";
  padding-top: 100%;
}
.eventsSwiper .img-container img {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: auto;
}
.eventsSwiper .img-container {
  border-radius: 6px;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.2);
  margin-bottom: 1.5em;
}
.eventsSwiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: 0.3s;
}
.eventsSwiper .caption .sort1 {
  font-size: 1.25em;
  font-weight: bold;
  color: #814950;
  margin: 0.2em 0;
  padding-right: 1em;
  position: relative;
  display: inline-block;
}
.eventsSwiper .caption .sort1:before {
  content: "";
  width: 2px;
  height: 1em;
  background: rgb(161.5693069307, 91.4306930693, 100.198019802);
  position: absolute;
  top: 0.1em;
  right: 0;
}
.eventsSwiper .caption .sort2 {
  font-size: 1.25em;
  font-weight: bold;
  color: rgb(87.6327433628, 121.6548672566, 145.3672566372);
  margin: 0.2em 0;
  padding-right: 1em;
  position: relative;
  display: inline-block;
}
.eventsSwiper .caption .sort2:before {
  content: "";
  width: 2px;
  height: 1em;
  background: rgb(145.8185840708, 171.3716814159, 189.1814159292);
  position: absolute;
  top: 0.1em;
  right: 0;
}
.eventsSwiper .caption p {
  margin: 0.5em 0;
}
.eventsSwiper .caption h3 {
  margin: 0;
}
.eventsSwiper .caption .date {
  font-size: 1.25rem;
  font-weight: bold;
  color: #814950;
  margin: 0.2em 0;
  padding-right: 0.5em;
  position: relative;
  display: inline-block;
}
.eventsSwiper .caption .date:before {
  content: "";
  width: 2px;
  height: 1em;
  background: rgb(161.5693069307, 91.4306930693, 100.198019802);
  position: absolute;
  top: 0.1em;
  right: 0;
}
.eventsSwiper .caption .titlename {
  font-size: 1.25rem;
  font-weight: bold;
  color: #814950;
  display: inline-block;
  padding-left: 0.5em;
}
@media screen and (min-width: 768px) {
  .eventsSwiper .prevSlider {
    top: 30px;
    left: auto;
    right: calc(7% + 60px);
  }
  .eventsSwiper .nextSlider {
    top: 30px;
    right: 7%;
  }
}

.newsBlock2 .eventsSwiper {
  margin: 1em 3% 1em;
  position: static;
}
.newsBlock2 .eventsSwiper .swiper-slide {
  width: 100%;
  background: rgba(255, 255, 255, 0);
  display: flex;
  justify-content: center;
  align-items: center;
}
.newsBlock2 .eventsSwiper .swiper-slide a {
  flex: 1 1 100%;
  padding: 1em;
}
.newsBlock2 .eventsSwiper .swiper-slide a:focus-visible {
  box-shadow: #ff3e4d 0 0 0 2px inset;
  outline: none;
}
.newsBlock2 .eventsSwiper .swiper-slide a:hover img {
  transform: scale(1.1);
}

.mpSlider {
  width: 100%;
  padding-bottom: 3em;
  margin-bottom: 2em;
  position: static;
  position: relative;
  min-height: 1px;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}
@media screen and (max-width: 767px) {
  .mpSlider {
    margin-top: 1em;
  }
}
@media screen and (max-width: 575px) {
  .mpSlider {
    padding-bottom: 1em;
  }
}
.mpSlider .img-container {
  overflow: hidden;
}
.mpSlider .img-container:before {
  display: inline-block;
  content: "";
  padding-top: 44%;
}
.mpSlider .img-container img {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: auto;
}
.mpSlider .img-container {
  overflow: visible;
}
@media screen and (max-width: 991px) {
  .mpSlider .img-container {
    overflow: hidden;
  }
  .mpSlider .img-container:before {
    display: inline-block;
    content: "";
    padding-top: 44%;
  }
  .mpSlider .img-container img {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: auto;
  }
}
@media screen and (max-width: 767px) {
  .mpSlider .img-container {
    overflow: hidden;
  }
  .mpSlider .img-container:before {
    display: inline-block;
    content: "";
    padding-top: 44%;
  }
  .mpSlider .img-container img {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: auto;
  }
}
.mpSlider .img-container img {
  width: 100%;
  height: auto;
  -o-object-fit: fill;
     object-fit: fill;
}
.mpSlider .img-container .title {
  position: absolute;
  top: 19%;
  left: 5%;
  z-index: 1;
  font-size: 3em;
  font-weight: bold;
  letter-spacing: 5px;
  text-shadow: 1px 1px 2px rgb(255, 255, 255);
  display: none;
}
@media screen and (max-width: 767px) {
  .mpSlider .img-container .title {
    font-size: 2em;
    left: 10%;
  }
}
@media screen and (max-width: 575px) {
  .mpSlider .img-container .title {
    display: none;
  }
}
.mpSlider .img-container .inttxt {
  position: absolute;
  top: 24%;
  left: 5%;
  z-index: 1;
  font-size: 1.25em;
  line-height: 2em;
  font-weight: 500;
  text-shadow: 0px 0px 2px rgb(255, 255, 255);
  display: none;
}
@media screen and (max-width: 767px) {
  .mpSlider .img-container .inttxt {
    font-size: 1em;
    left: 10%;
  }
}
@media screen and (max-width: 575px) {
  .mpSlider .img-container .inttxt {
    display: none;
  }
}
.mpSlider .img-container .caption {
  position: absolute;
  width: 100%;
  height: 3em;
  line-height: 1.6em;
  background: rgb(255, 255, 255);
  padding: 0 1rem 0 0;
  font-size: 1.25em;
  font-weight: bold;
  color: #1a1a1a;
  margin: 0;
  bottom: 0em;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  box-sizing: border-box;
}
@media screen and (max-width: 991px) {
  .mpSlider .img-container .caption {
    width: 100%;
  }
}
@media screen and (max-width: 767px) {
  .mpSlider .img-container .caption {
    width: 100%;
    height: 3em;
    font-size: 1.125em;
    line-height: 2em;
    background: rgba(255, 255, 255, 0.8);
    left: 0;
    padding: 0 0.5em 0 1em;
  }
}
@media screen and (max-width: 575px) {
  .mpSlider .img-container .caption {
    height: 2em;
  }
}
.mpSlider .img-container .caption p {
  margin: 0.2rem 0 0 5rem;
  padding: 0 20px 0 0;
  position: relative;
  z-index: 2;
}
@media screen and (max-width: 767px) {
  .mpSlider .img-container .caption p {
    margin: 0.6rem 0 0 3rem;
    padding: 0 0.5rem 0 0;
  }
  .mpSlider .img-container .caption p:before {
    top: 0.3em;
    display: none;
  }
}
@media screen and (max-width: 575px) {
  .mpSlider .img-container .caption p {
    margin: 0.15rem 0 0 3rem;
  }
}
.mpSlider .prevSlider {
  border: none;
  left: 0;
  border-radius: 0;
  width: 40px !important;
  height: 60px !important;
  background: rgba(0, 0, 0, 0.6) none;
}
.mpSlider .prevSlider::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 15px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%) rotate(135deg);
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  pointer-events: none;
}
.mpSlider .prevSlider:hover, .mpSlider .prevSlider:focus-visible {
  background: rgba(0, 0, 0, 0.8) none;
}
@media screen and (max-width: 767px) {
  .mpSlider .prevSlider {
    width: 30px !important;
    height: 45px !important;
  }
  .mpSlider .prevSlider::before {
    width: 12px;
    height: 12px;
    right: auto;
    left: 10px;
  }
}
.mpSlider .nextSlider {
  border: none;
  right: 0;
  border-radius: 0;
  width: 40px !important;
  height: 60px !important;
  background: rgba(0, 0, 0, 0.6) none;
}
.mpSlider .nextSlider::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 15px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%) rotate(-45deg);
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  pointer-events: none;
}
.mpSlider .nextSlider:hover, .mpSlider .nextSlider:focus-visible {
  background: rgba(0, 0, 0, 0.8) none;
}
@media screen and (max-width: 767px) {
  .mpSlider .nextSlider {
    width: 30px !important;
    height: 45px !important;
  }
  .mpSlider .nextSlider::before {
    width: 12px;
    height: 12px;
    right: 10px;
    left: auto;
  }
}
.mpSlider .swiper-pagination {
  width: 6em;
  position: absolute;
  bottom: 0.3em;
  text-align: left;
  transition: 0.3s opacity;
  transform: translate3d(0, 0, 0);
  z-index: 1;
  font-size: 1.3em;
  font-weight: 400;
  color: #814950;
  font-family: "Funnel Sans", sans-serif;
}
.mpSlider .swiper-pagination .swiper-pagination-current {
  font-size: 1.25em;
}
@media screen and (max-width: 767px) {
  .mpSlider .swiper-pagination {
    bottom: 2.5em;
    left: 1rem;
    font-size: 1.125em;
  }
  .mpSlider .swiper-pagination .swiper-pagination-current {
    font-size: 1.125em;
  }
}
@media screen and (max-width: 575px) {
  .mpSlider .swiper-pagination {
    bottom: 1.15em;
  }
}
.opentoday {
  width: 7.5em;
  height: 7.5em;
  background: #814950;
  color: #fff;
  position: absolute;
  bottom: 100px;
  right: 0;
  z-index: 2;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.opentoday:hover {
  background: rgb(96.4306930693, 54.5693069307, 59.801980198);
}
.opentoday a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 1em;
}
.opentoday a:focus-visible {
  box-shadow: #ff3e4d 0 0 0 2px inset;
}
.opentoday .title {
  font-size: 1.25em;
  font-weight: bold;
  position: relative;
  padding-bottom: 0.5em;
  margin-bottom: 0.5em;
}
.opentoday .title:before {
  content: "";
  width: 1.5em;
  height: 1px;
  background: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
}
.opentoday ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.opentoday ul li {
  display: block;
  margin: 0;
}
@media screen and (max-width: 991px) {
  .opentoday {
    bottom: 80px;
  }
}
@media screen and (max-width: 767px) {
  .opentoday {
    width: 100px;
    height: 100px;
    bottom: auto;
    top: 0;
    display: none;
  }
  .opentoday a {
    padding: 0.5em;
  }
  .opentoday .title {
    font-size: 1em;
  }
  .opentoday ul {
    font-size: 0.875em;
  }
}
@media screen and (max-width: 575px) {
  .opentoday {
    top: 0;
    bottom: auto;
  }
  
}


