@charset "utf-8";

/* CSS Document */
@import url('reset.min.1.2.css');
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Noto+Sans+TC:wght@100;300;400;500;700;900&family=Noto+Serif+TC:wght@200..900&display=swap');

html {
  font-size: 15px;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0 !important;
  background: rgba(0, 0, 0, 1) !important;
  font-family: 'Noto San TC', 'serif;', 'Maven Pro', 'Droid Sans', 'Myriad Pro', Helvetica, Verdana, Geneva, sans-serif !important;
  color: #345477;
  position: relative;
}

/* 隱藏 scrollbar，但允許滾動（背景還是會滑動） */
body {
  overflow: auto;
  scrollbar-width: none !important;
}
::-webkit-scrollbar {
  display: none !important;
}

* {
  -webkit-box-sizing: border-box; /*firefox*/
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*:focus {
  outline: none; /*去除藍框*/
}
input,
button,
select,
textarea {
  outline: none; /*去除藍框*/
}
span {
  display: inline-block;
}

ol,
ul {
  padding-left: 1rem !important;
}

/* 回到頂部 */
.bnt_top {
  position: fixed;
  bottom: 2.5%;
  right: 6.5vh;
  width: 10%;
  max-width: 50px;
  background-image: url(../images/btn_top.webp);
  background-repeat: no-repeat;
  background-size: 100% auto;
  display: none;
  opacity: 0.7;
  z-index: 999;
}
.bnt_top a {
  background-image: url(../images/btn_top_ov.webp);
  background-repeat: no-repeat;
  background-size: 100% auto;
  image-rendering: -webkit-optimize-contrast;
  opacity: 0.01;
  transition: opacity 0.5s;
}
.bnt_top a:hover {
  opacity: 1;
  filter: brightness(150%);
}

.container {
  position: relative;
  overflow: hidden;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
}
.modal-open {
  padding-right: 0 !important;
}
/*像素比例尺*/

.btn-check:focus + .btn,
.btn:focus {
  outline: 0;
  box-shadow: none !important;
}

img {
  width: 100%;
  height: auto;
}
.l {
  display: block;
}
.m {
  display: none;
}
.s {
  display: none;
}

a {
  z-index: 100;
  display: inline-block;
  width: auto;
  height: auto;
  text-decoration: none !important;
}
a:hover {
  cursor: pointer !important;
}

/*去藍框*/
.btn-check:focus + .btn,
.btn:focus {
  box-shadow: none;
}

/** 動態效果 **/
@keyframes fadeout {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes fadein {
  0% {
    transform: scale(1.5);
  }
  60% {
    transform: scale(0.98);
  }
  100% {
    transform: scale(1);
  }
}

.wrapper {
  width: 100%;
  max-width: 1920px;
  height: 100%;
  margin: 0 auto;
  position: relative;
  /* background: url(../images/bg.webp) no-repeat center top; */
  /* background: #000;
  background-size: 100% auto; */
}

/** 共用 **/
.content {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0%;
}

/** 文字設定 共用 **/
h2 {
  font-size: 2.5rem !important;
}

.sec_txt,
.txt_y,
.txt_g,
.txt_s,
.txt_wy,
.txt_go {
  /* font-family: 'Noto Serif TC', 'serif;', 'Maven Pro', 'Droid Sans', 'Myriad Pro', Helvetica, Verdana, Geneva, sans-serif; */
}

.sec_txt {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/** 文字漸層色 共用 **/
/*黃色*/
.txt_y {
  background: linear-gradient(to bottom, #fce7ae 10%, #f6d306 55%, #f09304 95%);
  background-clip: text;
  font-weight: bold;
  color: #fdfdfd87;
  filter: drop-shadow(2px 3px 0px #000);
}

/*金色*/
.txt_g {
  background: linear-gradient(to bottom, #faeece 30%, #f1b100 75%);
  background-clip: text;
  color: #fdfdfd96;
  filter: drop-shadow(2px 3px 0px #000);
}

/*銀色*/
.txt_s {
  background: linear-gradient(to bottom, #ffffff 20%, #e1e1e1 100%);
  background-clip: text;
  color: #fdfdfd8f;
  filter: drop-shadow(2px 3px 0px #000);
}
/*白微黃*/
.txt_wy {
  background: linear-gradient(to top, #ffffff 30%, #f5c802 100%);
  background-clip: text;
  color: #fdfdfd8f;
  filter: drop-shadow(2px 3px 0px #000);
}

/*//////////////////////////////////////////////////////////*/
/*Button 共用*/
/* Button 共用 */
.btn {
  padding: 0rem !important;
  transform: scale(1);
  transition: filter 0.3s ease-in-out;
}
.btn:hover {
  filter: brightness(120%);
  transform: scale(1);
  transition: filter 0.2s ease-in-out;
}
.btn:active {
  transform: scale(0.95);
  transition: transform 0s ease-in-out;
}

.btn_l {
  width: 100%;
  height: auto;
  max-width: 500px;
  margin-bottom: 1rem;
}

.btn_l img {
  width: 100% !important;
}
.btn_m {
  width: 100%;
  max-width: 250px;
  margin: auto;
  /* margin-bottom: 1rem; */
  animation: btn_m 0.8s infinite alternate;
}
@keyframes btn_m {
  from {
    filter: brightness(100%);
    transform: scale(1);
  }
  to {
    filter: brightness(140%);
    transform: scale(1.05);
  }
}
.btn_m img {
  width: 100% !important;
}

.btn_s {
  width: 100%;
  max-width: 130px;
  padding: 0rem 0 !important;
}

.btn_xs {
  width: 100%;
  max-width: 100px;
  padding: 0rem 0 !important;
}

/* ////////////////// 區塊設定共用 //////////////////  */

#cover,
#section01,
#section02,
#section03,
#section04,
#section05,
#section06 {
  position: relative;
  width: 100%;
  min-height: 100vh;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

/*///////////// section背景 /////////////*/

#cover {
  background: url(../images/bg_cover.webp);
  background-position: center top;
  background-size: auto 100%;
}

#section01 {
  background: url(../images/bg_sec01.webp);
}
#section02 {
  background: url(../images/bg_sec02.webp);
}
#section03 {
  background: url(../images/bg_sec03.webp);
}
#section04 {
  background: url(../images/bg_sec04.webp);
}
#section05 {
  background: url(../images/bg_sec05.webp);
}

#section01,
#section02,
#section03,
#section04,
#section05 {
  width: 100vw;
  background-position: center top;
  background-size: auto 100%;
  background-size: 100% 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* overflow: visible; */
}

.sec_content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.sec_title {
  margin: 2rem 0rem 0rem 0rem;
  width: 20%;
}

/* //////////////////////////////////// 各專區 //////////////////////////////////// */
/* //////////////////////////////////// 各專區 //////////////////////////////////// */
/* //////////////////////////////////// 各專區 //////////////////////////////////// */
/* //////////////////////////////////// 各專區 //////////////////////////////////// */
/* //////////////////////////////////// 各專區 //////////////////////////////////// */

/* ////////////////// 00_cover首頁 //////////////////  */

.slogan_block {
  position: absolute;
  width: 50%;
  top: 20%;
  right: 0%;
  z-index: 10;
}

.slogan {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.slogan img:nth-child(1) {
  width: 50%;
  margin-bottom: -13%;
}
.slogan img:nth-child(2) {
  width: 80%;
  margin-bottom: -11%;
}
.slogan img:nth-child(3) {
  width: 55%;
  margin-bottom: 2%;
}
.slogan a {
  width: 35%;
}

.btn03 {
  display: block;
  width: auto;
  height: 90px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  animation: glowUpImg 1s linear infinite;
}

@keyframes glowUpImg {
  0% {
    filter: brightness(1.1);
  }
  50% {
    filter: brightness(1.2);
    transform: scale(1.03);
  }
  100% {
    filter: brightness(1);
  }
}

.ch {
  position: relative;
  width: 100%;
  height: 100%;
}
.ch img {
  position: absolute;
  width: auto;
  height: 100%;
  top: 0;
  /* left: -6.5%; */
}

.ch01 {
  z-index: 9;
}
.ch02 {
  z-index: 8;
}

.ch {
  position: relative;
}
.ch img {
  display: block;
  height: 100vh;
}

/* ch01 main hero */
.ch01 {
  position: absolute;
  bottom: 0;
  opacity: 0;
  transform: scale(0.85);
  will-change: transform, opacity, filter;

  animation: heroMain 1.4s ease-out forwards;
  animation-delay: 0.1s;
}

@keyframes heroMain {
  0% {
    opacity: 0;
    transform: translateX(200px) scale(1.5);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* ch02 heroes */
.ch02 {
  position: absolute;
  bottom: 0;
  opacity: 0;
  transform: scale(0.85);
  will-change: transform, opacity, filter;

  animation: heroesIn 1.4s ease-out forwards;
  animation-delay: 0.1s;
}

@keyframes heroesIn {
  0% {
    opacity: 0;
    transform: translateX(0px) scale(0.8);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

#cover .bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.ch_video {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* 粒子層：滿版覆蓋 cover */
#particles-js {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

/* ////////////////// #section01 //////////////////  */

:root {
  --frame-url: url('../images/swiper_frame.png');
  --arrow-left: url('../images/swiper_l.png');
  --arrow-right: url('../images/swiper_r.png');
}

.movie_slide {
  position: relative;
  width: min(880px, 92vw);
  margin: 0 auto;
  overflow: visible;
}

.movie_slide-mask {
  position: relative;
  overflow: visible;
  padding: 4rem 0;
}

/* swiper 露出設定 */
.movie_swiper {
  overflow: visible;
  padding: 18px 0 70px;
}

.movie_swiper .swiper-wrapper {
  align-items: center;
}

/* slide 寬度決定「中間卡大小」 */
.movie_swiper .swiper-slide {
  width: clamp(280px, 58vw, 760px);
  position: relative;
  transform-origin: center center;
}

/* 圖片容器 */
.movie_swiper .swiper-slide .img {
  margin: 0;
  position: relative;
  overflow: hidden;
}

/* 金框 */
.movie_swiper .swiper-slide .img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--frame-url) center/100% 100% no-repeat;
  pointer-events: none;
  z-index: 2;
}

/* 圖片 */
.movie_swiper .swiper-slide .img {
  position: relative;
  aspect-ratio: 925 / 520;
}

/* 金框 */
.movie_swiper .swiper-slide .img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--frame-url) center/100% 100% no-repeat;
  pointer-events: none;
  z-index: 2;
}

/* 圖片貼在框內 */
.movie_swiper .swiper-slide img {
  position: absolute;
  top: 3.55%;
  left: 2.98%;
  width: 94.04%;
  height: 92.89%;
  object-fit: cover;
  z-index: 1;
  border-radius: 12px;
}

/* 底下標籤 */
.movie_swiper .swiper-slide h3 {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 135%);
  margin: 0;
  z-index: 3;
}

.movie_swiper .swiper-slide h3 span {
  display: inline-block;

  padding: 10px 32px;

  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.05em;
  color: #f3e3cb;
  background: linear-gradient(
    90deg,
    rgba(120, 70, 20, 0) 0%,
    rgba(120, 70, 20, 0.65) 15%,
    rgba(150, 94, 35, 0.9) 50%,
    rgba(120, 70, 20, 0.65) 85%,
    rgba(120, 70, 20, 0) 100%
  );

  white-space: nowrap;
  /* 質感 */
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);

  /* border-top: 1px solid rgba(255, 220, 150, 0.35); */
  /* border-bottom: 1px solid rgba(255, 220, 150, 0.25); */
}

/* 箭頭 */
.swiper-button-prev,
.swiper-button-next {
  width: 72px;
  height: 72px;
  margin-top: -36px;
  top: 50%;
  background: transparent;
  cursor: pointer;

  transition:
    transform 0.2s ease,
    filter 0.2s ease,
    opacity 0.2s ease;
}

.swiper-button-prev {
  left: -6px;
  background: var(--arrow-left) center/contain no-repeat;
}

.swiper-button-next {
  right: -6px;
  background: var(--arrow-right) center/contain no-repeat;
}

/* hover 效果*/
.swiper-button-prev:hover,
.swiper-button-next:hover {
  transform: scale(1.15);
  filter: brightness(1.2);
}

.swiper-button-prev:active,
.swiper-button-next:active {
  transform: scale(0.92);
  filter: brightness(0.9);
}

/*  Swiper 預設箭頭 icon 移除 */
.swiper-button-prev::after,
.swiper-button-next::after {
  content: '';
}

/* ////////////////// #section02 //////////////////  */

#section02 {
  position: relative;
  overflow: hidden;
}

/* section02 */

.sec02_wrap {
  width: 100%;
  max-width: 1600px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4vw;
}

/* 左邊影片 */
.sec02_video {
  flex: 0 0 48%;
}

.video_box {
  position: absolute;
  width: 58%;
  height: 100%;
  left: 0;
  top: 0;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.video_link {
  position: relative;
  display: block;
  width: 100%;
  /* height: 100%; */
  overflow: hidden;
  text-decoration: none;
}

.video_cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image:
    linear-gradient(to right, transparent, black 10%, black 90%, transparent), linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  -webkit-mask-composite: intersect;
  mask-composite: intersect;
}

/* 播放按鈕 */
.play_btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110px;
  height: 110px;
  transform: translate(-50%, -50%);
  border: 6px solid #d8b56a;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease;
  box-sizing: border-box;
  /* background: url(../images/sec02_Play.png) center/contain no-repeat; */
  /* background-size: 100% auto; */
}

.play_icon {
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 28px solid #d8b56a;
}

.video_link:hover .play_btn,
.video_box:hover .play_btn {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 20px rgba(216, 181, 106, 0.5);
}

/* 右邊文字 */
.sec02_text {
  flex: 0 0 42%;
  color: #b8a292;
  text-align: center;
  font-family: 'Noto Serif TC', serif;
}

.sec02_text .sec_title {
  width: 60%;
  max-width: 320px;
  margin: 0 auto 2rem;
}

.sec02_text .sec_title img {
  width: 100%;
  height: auto;
  display: block;
}

.story_text {
  position: relative;
  font-size: 1.2rem;
  line-height: 1.8;
  font-weight: 700;
  font-style: italic;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);

  overflow-y: auto;
  max-height: 60vh;
  /* scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  scroll-behavior: smooth; */

  /* 底部 fade 提示還有內容 */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 82%, rgba(0, 0, 0, 0.75) 90%, rgba(0, 0, 0, 0.35) 96%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 82%, rgba(0, 0, 0, 0.75) 90%, rgba(0, 0, 0, 0.35) 96%, rgba(0, 0, 0, 0) 100%);
  z-index: 9;

  mask-image: none;
}

/* .story_text::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 999px;
} */
/* 
.story_text:hover {
  scrollbar-color: rgba(255, 220, 150, 0.25) transparent;
} */

/* 手機 */
@media (max-width: 768px) {
  #section02 {
    padding: 60px 20px;
    min-height: auto;
  }

  .sec02_wrap {
    flex-direction: column;
    gap: 2rem;
  }

  .sec02_video,
  .sec02_text {
    flex: none;
    width: 100%;
    z-index: 2;
  }

  .sec02_text .sec_title {
    margin-bottom: 1.5rem;
  }

  .story_text {
    font-size: 1rem;
    line-height: 1.8;
  }

  .play_btn {
    width: 72px;
    height: 72px;
    border-width: 4px;
  }

  .play_icon {
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid #d8b56a;
  }
}

/* ////////////////// #section03 角色介紹 ////////////////// */

#section03 {
  position: relative;
  overflow: hidden;
}

#section03 .sec_title {
  position: relative;
  z-index: 20;
  text-align: center;
  margin-bottom: 1.5rem;
}

#section03 .sec_title img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

.hero_section {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

.hero_swiper {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* padding: 1rem 0 2rem; */
}

.hero_swiper::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  background: url('../images/hero/box_bg.png') no-repeat center/contain;
}

.hero_slide {
  width: 100%;
}

.hero_card {
  width: 100%;
  height: 760px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 左側資訊卡 */

.hero_info {
  position: absolute;
  left: 19%;
  width: 40%;
  z-index: 999;
}

/* 底板 */

.hero_info_inner {
  position: relative;
}

.hero_name {
  max-width: 250px;
  margin-bottom: 1rem;
  height: 50px;
}

.hero_name img {
  display: block;
  height: 100%;
  width: auto;
}

.hero_job {
  max-width: 300px;
  margin-bottom: 0.5rem;
}

.hero_job img {
  display: block;
  width: 100%;
  height: auto;
}

.hero_divider {
  width: 350px;
  margin-bottom: 0.5rem;
}

.hero_divider img {
  display: block;
  width: 100%;
  height: auto;
}

.hero_desc {
  max-width: 65%;
  max-height: 140px; /* 控制可見高度，可自行調整 */
  min-height: 140px; /* 控制可見高度，可自行調整 */

  overflow-y: auto;
  padding-right: 8px;

  font-family: 'Noto Serif TC', serif;
  font-size: 1.1rem;
  line-height: 2;
  font-style: italic;
  color: #f3e7db;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  text-align: left;

  /* 滑動更順 */
  -webkit-overflow-scrolling: touch;

  /* 底部 fade 提示還有內容 */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 82%, rgba(0, 0, 0, 0.75) 90%, rgba(0, 0, 0, 0.35) 96%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 82%, rgba(0, 0, 0, 0.75) 90%, rgba(0, 0, 0, 0.35) 96%, rgba(0, 0, 0, 0) 100%);

  /* display: -webkit-box; */
  /* -webkit-line-clamp: 3; */
  /* -webkit-box-orient: vertical; */
  /* overflow: hidden; */
}

/* 頭像區 */
.hero_thumbs {
  display: flex;
  gap: 0rem;
  align-items: center;
  margin-top: 1rem;
  justify-content: left;
  z-index: 999;
}

.hero_thumb {
  width: 120px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  filter: grayscale(1) brightness(0.9);
  opacity: 0.7;
  transform: scale(1);
  transition: all 0.3s ease;
}

.hero_thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.hero_thumb:hover,
.hero_thumb.is-active {
  opacity: 1;
  filter: grayscale(0) brightness(1.08);
  transform: scale(1.15);
}

/* 右側角色視覺 */
.hero_visual {
  position: relative;
  right: 0%;
  top: 0%;
  width: 100%;
  /* height: 760px; */
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

/* 右邊斜切背景 */
.hero_visual_bg {
  position: absolute;
  right: 0%;
  top: 0;
  width: 100%;
  z-index: 1;
  opacity: 0.82;
}

.hero_visual_bg img {
  display: block;
  width: 100%;
  height: auto;
}

/* 角色 */
.hero_visual_char {
  position: absolute;
  right: 0%;
  bottom: 0%;
  width: 100%;
  height: 760px;
  height: 100%;

  z-index: 2;
}

.hero_visual_char img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.35));
}
/* 左右箭頭 */
.hero_nav {
  position: absolute;
  top: 50%;
  width: 64px;
  height: 64px;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  transition: 0.25s ease;
}

.hero_prev {
  left: 2rem;
  background: url('../images/swiper_l.png') center / contain no-repeat;
}

.hero_next {
  right: 2rem;
  background: url('../images/swiper_r.png') center / contain no-repeat;
}

.hero_nav:hover {
  transform: translateY(-50%) scale(1.08);
  filter: brightness(1.15);
}

/* 進場動畫 */
.hero_slide .hero_info,
.hero_slide .hero_visual_box,
.hero_slide .hero_visual_bg,
.hero_slide .hero_visual_char {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.hero_slide.swiper-slide-active .hero_info,
.hero_slide.swiper-slide-active .hero_visual_box,
.hero_slide.swiper-slide-active .hero_visual_bg,
.hero_slide.swiper-slide-active .hero_visual_char {
  opacity: 1;
  transform: translateY(0);
}

.hero_slide.swiper-slide-active .hero_visual_box {
  transition-delay: 0.05s;
}

.hero_slide.swiper-slide-active .hero_visual_bg {
  transition-delay: 0.15s;
}

.hero_slide.swiper-slide-active .hero_visual_char {
  transition-delay: 0.25s;
}

.sticky_word_wrap {
  position: absolute;
  left: 0;
  top: 0;
  width: 100px;
  pointer-events: none;
  z-index: 0;
  transition: top 0.1s linear;
}

.sticky_word_wrap_r {
  position: absolute;
  right: 1rem;
  top: 0;
  width: 100px;
  pointer-events: none;
  z-index: 0;
  transition: top 0.1s linear;
}

.sticky_word {
  writing-mode: vertical-rl;
  text-orientation: mixed;

  font-size: 12rem;
  line-height: 1;
  font-weight: 700;

  color: rgba(53, 43, 29, 0.7);
  text-shadow: 0 0 12px rgba(31, 18, 0, 0.15);

  user-select: none;
  white-space: nowrap;
  font-family: 'Noto Serif TC';
  z-index: 0;
}

.sticky_word_wrap,
.sticky_word_wrap_r {
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: none;
}

/* ////////////////// #section04 系統 ////////////////// */

#section04 {
  position: relative;
  overflow: hidden;
}

#section04 .sec_content {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  z-index: 1;
}

.system_wrap {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.system_side_word {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 10rem;
  line-height: 1;
  font-weight: 700;
  color: rgba(53, 43, 29, 0.45);
  text-shadow: 0 0 12px rgba(31, 18, 0, 0.15);
  user-select: none;
  pointer-events: none;
  font-family: 'Noto Serif TC', serif;
}

.system_box {
  position: relative;
  width: 72%;
  max-width: 1050px;
  padding: 2rem 0 0;
}

/* 主圖 */
.system_visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
}

.system_visual::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.system_visual {
  position: relative;
}

/* 每一張圖 */
.system_visual_item {
  position: absolute;
  inset: 0;

  opacity: 0;
  visibility: hidden;
  transform: scale(0.98);

  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    visibility 0.45s;
}

/* 顯示中的圖 */
.system_visual_item.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* Tab */
.system_tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: -12rem;
}

/* 按鈕 */
.system_tab {
  position: relative;
  width: 170px;
  height: 60px;

  padding: 0;
  border: none;
  background: none;
  cursor: pointer;

  opacity: 1;
  filter: grayscale(1) brightness(0.9);
  transform: scale(1);

  transition:
    transform 0.3s ease,
    filter 0.3s ease,
    opacity 0.3s ease;
  z-index: 10;
}

/* 按鈕圖片 */
.system_tab img {
  width: 100%;
  height: 100%;
  display: block;
}

/* 按鈕文字 */
.system_tab span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  font-size: 20px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #3b2a18;
  font-family: 'Noto Serif TC', serif;

  pointer-events: none;
}

/* hover */
/* hover & active */
.system_tab:hover,
.system_tab.active {
  opacity: 1;
  filter: grayscale(0) brightness(1.1);
  transform: scale(1.15);
}

/* 文字框 */
.system_desc {
  width: 700px;
  height: 320px; /* 固定高度 */

  margin: auto;

  background: url('../images/system_frame.png') no-repeat center;
  background-size: 100% 100%;

  position: relative;
  text-align: left;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-family: 'Noto Serif TC', serif;
  font-size: 1.1rem;
  line-height: 2;
  font-style: italic;

  margin-bottom: 1rem;
}

/* 文字 */
.system_desc_item {
  position: absolute;
  top: 32px;
  left: 32px;
  right: 32px;
  bottom: 32px;
  padding: 0 1rem;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    visibility 0.4s ease;

  font-size: 1rem;
  line-height: 2;

  overflow-y: auto;

  font-family: 'Noto Serif TC', serif;
  font-size: 1.1rem;
  line-height: 2;
  font-style: italic;
  color: #f3e7db;

  /* 滑動更順 */
  -webkit-overflow-scrolling: touch;

  /* 底部 fade 提示還有內容 */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 82%, rgba(0, 0, 0, 0.75) 90%, rgba(0, 0, 0, 0.35) 96%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 82%, rgba(0, 0, 0, 0.75) 90%, rgba(0, 0, 0, 0.35) 96%, rgba(0, 0, 0, 0) 100%);
}

.system_desc_item_title {
  font-size: 1.4rem;
  color: #e7d5ac;
  font-weight: 700;
}

.system_desc_item.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.system_visual_item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.system_visual_item video {
  -webkit-mask-image:
    linear-gradient(to right, transparent, black 10%, black 90%, transparent), linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);

  -webkit-mask-composite: intersect;
  mask-composite: intersect;
}

.system_visual {
  -webkit-mask-image: radial-gradient(circle, black 70%, transparent 100%);
}

/* RWD */
@media screen and (max-width: 1200px) {
  .system_box {
    width: 85%;
  }

  .system_side_word {
    font-size: 7rem;
    opacity: 0.45;
  }

  .system_desc {
    width: 90%;
  }
}

@media screen and (max-width: 768px) {
  .system_side_word {
    display: none;
  }

  .system_box {
    width: 92%;
  }

  .system_tabs {
    gap: 0rem;
    flex-wrap: nowrap;
    margin-top: 0rem;
  }

  .system_tab {
    min-width: 100px;
    padding: 0.7rem 0.5rem;
  }

  .system_desc {
    width: 80%;
    min-height: 180px;
    padding: 1.4rem 1.2rem;
  }

  .system_desc_item {
    font-size: 1rem;
    line-height: 1.8;
  }

  .system_tab span {
    font-size: 16px;
  }
}

/* ////////////////// #section05 SPEC ////////////////// */

.sec05_wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4vw;
  margin: 5%;
}

/* 左邊人物 */
.sec05_character {
  position: absolute;
  bottom: -15%;
  left: 12%;
  width: 44%;
}

.sec05_character img {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  object-fit: contain;
}

/* 右邊文字 */
.sec05_info {
  flex: 0 1 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: left;
  margin-left: 40%;
}

.sec05_list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2.5rem;
}

.sec05_item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: 'Noto Serif TC', serif;
  color: #e7d5ac;

  font-style: italic;
}

.sec05_item .label {
  flex: 0 0 140px;
  position: relative;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1rem;
  color: #bda06a;
  padding: 0rem 0;
  text-align: center;
  margin: 0.5rem 0;

  text-shadow:
    0 0 6px rgba(255, 220, 140, 0.18),
    0 0 12px rgba(255, 220, 140, 0.08);
  transition: all 0.3s ease;
}

/* 上線 */
.sec05_item .label::before {
  content: '';
  position: absolute;
  left: -20px;
  right: -20px;
  top: -6px;
  height: 1px;

  background: linear-gradient(
    to right,
    rgba(231, 213, 172, 0),
    rgba(231, 213, 172, 0.12) 12%,
    rgba(231, 213, 172, 0.72) 50%,
    rgba(231, 213, 172, 0.12) 88%,
    rgba(231, 213, 172, 0)
  );
  box-shadow: 0 0 6px rgba(255, 214, 120, 0.18);
}

/* 下線 */
.sec05_item .label::after {
  content: '';
  position: absolute;
  left: -20px;
  right: -20px;
  bottom: -6px;
  height: 1px;

  background: linear-gradient(
    to right,
    rgba(231, 213, 172, 0),
    rgba(231, 213, 172, 0.12) 12%,
    rgba(231, 213, 172, 0.72) 50%,
    rgba(231, 213, 172, 0.12) 88%,
    rgba(231, 213, 172, 0)
  );
  box-shadow: 0 0 6px rgba(255, 214, 120, 0.18);
}

/* hover 微亮 */
.sec05_item:hover .label {
  color: #e3c68f;
  text-shadow:
    0 0 8px rgba(255, 226, 150, 0.35),
    0 0 14px rgba(255, 226, 150, 0.12);
}

.sec05_item:hover .value {
  color: #fff3df;
  text-shadow:
    0 0 10px rgba(255, 236, 180, 0.16),
    0 2px 10px rgba(0, 0, 0, 0.35);
}

.sec05_item .value {
  flex: 1 1 auto;
  font-size: 1.2rem;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: #f3e7db;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* 按鈕用 btn03.png */
.sec05_btn {
  width: 80%;
  max-width: 250px;
  height: 90px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  animation: glowUpImg 1s linear infinite;
}

/* ===== 規格表：PC雙欄 / Mobile單欄 ===== */

.spec_wrap {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.spec_box {
  width: 100%;
  padding: 1rem 1.2rem;
  position: relative;

  background: rgba(20, 12, 5, 0.48);
  /* border: 1px solid rgba(231, 213, 172, 0.2); */

  box-shadow:
    0 0 16px rgba(0, 0, 0, 0.35),
    inset 0 0 16px rgba(231, 213, 172, 0.05);
}

.spec_box::before,
.spec_box::after {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  height: 1px;
  /* background: linear-gradient(to right, transparent, rgba(231, 213, 172, 0.55), transparent); */
}

.spec_box::before {
  top: 0;
}

.spec_box::after {
  bottom: 0;
}

.spec_title {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #e7d5ac;
  text-align: center;
  margin-bottom: 0.8rem;
  letter-spacing: 0.12em;
  text-shadow:
    0 0 6px rgba(255, 220, 140, 0.18),
    0 2px 6px rgba(0, 0, 0, 0.45);
}

.spec_table {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.spec_row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.32rem 0;
  border-bottom: 1px solid rgba(231, 213, 172, 0.12);

  font-family: 'Noto Serif TC', serif;
  font-style: italic;
}

.spec_row span {
  flex: 0 0 78px;
  color: #bda06a;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.spec_row p {
  margin: 0;
  flex: 1;
  color: #f3e7db;
  font-size: 0.92rem;
  line-height: 1.6;
  word-break: break-word;
}

.spec_row:hover span {
  color: #e3c68f;
}

.spec_row:hover p {
  color: #fff3df;
}

/* 平板以下：改單欄 */
@media screen and (max-width: 992px) {
  .spec_wrap {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero_desc {
    max-height: 150px;
    min-height: 150px;
  }
}

/* 手機再縮小一點 */
@media screen and (max-width: 576px) {
  .story_text {
    font-size: 1rem;
    line-height: 1.9;
    max-height: 80vh;
  }

  .spec_box {
    padding: 0.9rem 0.9rem;
  }

  .spec_title {
    font-size: 1.05rem;
    margin-bottom: 0.7rem;
  }

  .spec_row {
    gap: 0.55rem;
    padding: 0.28rem 0;
  }

  .spec_row span {
    flex: 0 0 68px;
    font-size: 0.82rem;
  }

  .spec_row p {
    font-size: 0.82rem;
    line-height: 1.5;
  }
}

/* 平板 */
@media screen and (max-width: 1200px) {
  .sec05_item .label {
    flex-basis: 120px;
    font-size: 1.6rem;
  }

  .sec05_item .value {
    font-size: 1.6rem;
  }
}

/* 992 以下隱藏左邊人物 */
@media screen and (max-width: 768px) {
  .sec05_wrap {
    justify-content: center;
  }

  .sec05_character {
    display: none;
  }

  .sec05_info {
    flex: 1 1 100%;
    max-width: 680px;
    align-items: center;
  }

  .sec05_list {
    width: 100%;
  }

  .sec05_item {
    justify-content: flex-start;
  }

  .sec05_info {
    margin: 2rem;
  }
}

/* 手機 */
@media screen and (max-width: 576px) {
  .sec05_content {
    padding: 3rem 1.25rem;
  }

  .sec05_item {
    gap: 0.8rem;
  }

  .sec05_item .label {
    flex: 0 0 92px;
    font-size: 1.1rem;
  }

  .sec05_item .value {
    font-size: 1.1rem;
  }

  .sec05_btn {
    max-width: 240px;
    height: 72px;
  }
}

/* 預設隱藏僅限特定語言的投影片 */
.lang-exclusive-slide {
  display: none;
}

/* 當 body class 為 .lang-ch (台灣繁體中文) 時，顯示該投影片 */
body.lang-ch .lang-exclusive-slide {
  display: block;
}

/* /////////////////////////////////////// RWD設定 /////////////////////////////////////// */
/* /////////////////////////////////////// RWD設定 /////////////////////////////////////// */
/* /////////////////////////////////////// RWD設定 /////////////////////////////////////// */
/* /////////////////////////////////////// RWD設定 /////////////////////////////////////// */
/* /////////////////////////////////////// RWD設定 /////////////////////////////////////// */
/* /////////////////////////////////////// RWD設定 /////////////////////////////////////// */

@media screen and (max-width: 1600px) {
  .hero_name {
    margin-bottom: 0.5rem;
  }

  .hero_job {
    max-width: 220px;
    margin-bottom: 0.5rem;
  }

  .hero_divider {
    width: 332px;
    margin-bottom: 0.5rem;
  }

  .hero_desc {
    font-size: 1rem;
  }

  .hero_thumbs {
    margin-top: 1rem;
  }

  .hero_thumb {
    width: 90px;
  }

  .hero_swiper::before {
    background-size: 95%;
  }

  .sticky_word {
    font-size: 8rem;
  }

  /* ////////////////// #section02 //////////////////  */

  .story_text {
    font-size: 1rem;
    line-height: 1.8;
    max-height: 80vh;
  }
}

@media screen and (max-width: 1400px) {
  /* ////////////////// Section背景 //////////////////  */
  #section01,
  #section02,
  #section03,
  #section04,
  #section05 {
    background-position: center top;
    background-size: 120% 100%;
  }

  /* ////////////////// #section03 //////////////////  */

  .hero_swiper::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    background: url('../images/hero/box_bg.png') no-repeat center/contain;
    background-size: 100% 85%;
  }

  .hero_visual {
    top: 10%;
  }
}

@media screen and (max-width: 1200px) {
  /* ////////////////// 共同使用 //////////////////  */

  #cover,
  #section01,
  #section02,
  #section03,
  #section04,
  #section05,
  #section06 {
    min-height: 100%;
  }

  .sec_title {
    margin: 1rem;
    width: 50%;
  }

  /* ////////////////// 00_cover首頁 //////////////////  */
  #cover {
    height: auto;
    min-height: fit-content;
  }

  .slogan_block {
    position: relative;
    width: 100%;
    right: 0;
    margin: auto;
    margin-top: 85%;
    margin-bottom: 15%;
  }
  .slogan img:nth-child(2) {
    width: 100%;
    margin-bottom: -13%;
  }
  /* 手機版暫時關閉中 */
  .slogan img:nth-child(3) {
    width: 100%;
    margin-bottom: 2%;
  }

  .slogan img:nth-child(4) {
    width: 80%;
    margin-bottom: 2%;
  }
  .slogan a {
    width: 50%;
  }

  /* ////////////////// #section02 //////////////////  */

  .story_text {
    font-size: 1.1rem;
    line-height: 1.9;
    max-height: 80vh;
  }

  .sec02_text {
    flex: 0 0 100%;
  }

  /* ////////////////// #section03 //////////////////  */

  .hero_visual {
    top: 19%;
  }

  .hero_info {
    left: 17%;
  }

  /* ////////////////// #section05 //////////////////  */

  .sec05_character {
    position: absolute;
    bottom: 0%;
    left: 5%;
  }
}

@media screen and (max-width: 992px) {
  /* ////////////////// 00_cover首頁 //////////////////  */
  .slogan_block {
    position: relative;
    width: 100%;
    right: 0;
    margin: auto;
    margin-top: 90%;
    margin-bottom: 10%;
  }

  /* ////////////////// #section03 //////////////////  */
  .hero_swiper::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    background: url('../images/hero/box_bg.png') no-repeat center/contain;
    background-size: 110% 80%;
    background-position-x: -80px;
    transform: rotate(-90deg);
  }

  .hero_card {
    flex-direction: column;
    margin-bottom: 10rem;
  }

  .hero_info {
    position: relative;
    top: 18%;
    width: 45%;
    z-index: 3;
    left: 0;
    margin: auto;
  }

  .hero_visual {
    position: absolute;
    top: 0%;
    width: 140%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    left: -42%;
  }

  .hero_visual_bg {
    position: absolute;
    right: 0%;
    top: 0%;
    width: 100%;
    z-index: 1;
    opacity: 0.82;
    display: none;
  }

  .hero_visual_char {
    position: absolute;
    right: 2%;
    bottom: 0%;
    top: -7%;
    width: 100%;
    height: 100%;
    z-index: 2;
  }

  .hero_visual_char img {
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent);
    mask-image: linear-gradient(to bottom, black 70%, transparent);
  }

  .hero_divider {
    width: 100%;
  }

  .hero_thumbs {
    justify-content: left;
  }

  .hero_desc {
    max-width: 100%;
  }
}

@media screen and (max-width: 576px) {
  /* ////////////////// #section01 //////////////////  */

  .movie_slide {
    width: min(880px, 100vw);
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 60px;
    height: 60px;
    top: 45%;
  }

  .movie_swiper .swiper-slide h3 span {
    font-size: 1.1rem;
    min-width: 270px;
    text-wrap: wrap;
  }

  /* ////////////////// #section03 //////////////////  */

  .hero_info {
    top: 10%;
    width: 70%;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.9));
  }

  .hero_card {
    margin-bottom: 0rem;
  }

  .hero_visual_char {
    position: absolute;
    right: -18%;
    bottom: 0%;
    top: -4%;
    width: 150%;
    height: 100%;
    z-index: 2;
  }

  .hero_swiper::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    background: url('../images/hero/box_bg_md.png') no-repeat center/contain;
    background-size: 104% 88%;
    transform: rotate(-180deg);
    background-position-y: 10%;
  }

  .hero_prev {
    left: 0rem;
  }

  .hero_next {
    right: 0rem;
  }

  .hero_name {
    max-width: 100%;
  }

  .hero_name img {
    display: block;
    height: 100%;
    width: auto;
    max-width: 100%;
  }

  /* ////////////////// #section04 //////////////////  */

  .system_desc {
    width: 100%;
  }

  #section01,
  #section02,
  #section03,
  #section04,
  #section05 {
    background-position: center top;
    background-size: 450% 100%;
  }
}

@media screen and (max-width: 390px) {
}

@media screen and (max-width: 375px) {
}
