@charset "utf-8";

/* --- 基礎變數與重置 --- */
:root {
  --color-primary: #ff3737;
  --color-accent: #f0ff17;
  --color-text: #333333;
  --white: #ffffff;
  --font-main: "Noto Sans TC", sans-serif;
  --transition-smooth: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.color-red {
  color: #ff3737 !important;
}
.bg-pink {
  background-color: #ffa4e8 !important;
}
.bg-orange {
  background-color: #ffbc6f !important;
}
.bg-purple {
  background-color: #d39dff !important;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body::-webkit-scrollbar {
    display: none;
}
html, body {
  width: 100%;
  height: 100%;
  background: linear-gradient(-20deg, #fc7276, #ffb3a0,#fcbebe, #ffd0c5, #fce4b2, #eb7175);
  background-attachment: fixed;
  background-size: 400% 400%;
  animation: irregularFlow 20s ease-in-out infinite;
}

@keyframes irregularFlow {
    0% {
        background-position: 0% 50%; /* 起點：左中 */
    }
    25% {
        background-position: 50% 100%; /* 飄移到：下中 */
    }
    50% {
        background-position: 100% 50%; /* 飄移到：右中 */
    }
    75% {
        background-position: 50% 0%; /* 飄移到：上中 */
    }
    100% {
        background-position: 0% 50%; /* 回到起點 */
    }
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: url(#grainy);
  opacity: 0.75;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
  animation: grainy 8s infinite;
}
@keyframes grainy {
  0% {
    opacity: 0.75;
  }
  50% {
    opacity: 0.45;
  }
  100% {
    opacity: 0.65;
  }
}
.banner-ani1 {
  animation: bannerShine1 3s infinite;
}
@keyframes bannerShine1 {
  0% {
    opacity: 1;
  }
  50% {
    opacity:  0.15;
  }
  100% {
    opacity: 1;
  }
}

.banner-ani2 {
  animation: bannerShine2 3s infinite;
}
@keyframes bannerShine2 {
  0% {
    opacity: 0.15;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.15;
  }
}
/* --- 全域元件 --- */
a { 
  text-decoration: none; 
  color: inherit; 
}
ul { 
  list-style: none; 
}

/* --- NAVBAR 導覽列 --- */
.navbar-custom {
  height: 72px;
  z-index: 1001;
  /* background: rgba(255, 255, 255, 0.61); */
  /* backdrop-filter: blur(8px); */
  padding: 0 40px;
  border-radius: 0 0 40px 40px;
  transition: 0.3s;
}

.navbar-custom.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.navbar-brand img { 
  height: 28px; 
}

.nav-link {
  color: #333333;
  font-weight: 600;
  font-size: 20px;
  margin: 0 15px;
  transition: 0.3s;
  font-family: "Noto Serif JP", serif;
}

.nav-link:hover { 
  color: #000; 
  transform: scale(1.05); 
}

/* --- 語系切換 --- */
.googleBox {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.translate-wrapper {
  position: relative;
  cursor: pointer;
}
.translate-wrapper:hover .googleBox { 
  display: block; 
}

/* --- 手機版 Navbar 優化 --- */
@media (max-width: 991px) {
  .navbar-custom:has(.navbar-collapse.show),
  .navbar-custom:has(.navbar-collapse.collapsing),
  .navbar-custom.menu-opened {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 0 !important;
  }
  .navbar-custom {
    padding: 0 20px;
    border-radius: 0 0 20px 20px;
  }
  .navbar-toggler {
    border: none;
    box-shadow: none;
  }
  .navbar-toggler:focus {
    box-shadow: none;
  }
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 0 0 20px 20px;
    padding: 10px 20px 20px;
    margin-top: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }
  .navbar-nav {
    align-items: center;
  }
  .nav-link {
    padding: 12px 0;
    /* width: 100%; */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  .nav-item:last-child .nav-link {
    border-bottom: none;
  }
  .translate-wrapper {
    display: flex;
    margin-top: 10px;
    justify-content: center;
    width: 100%;
  }
  .googleBox {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

/* --- SIDEMENU 側邊報名 --- */
/* .side-registration-menu {
  position: fixed;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10000;
  width: 56px;
  background: #000;
  padding: 40px 0 15px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition-smooth);
  box-shadow: -2px 5px 20px rgba(0,0,0,0.3);
}

.reg-text {
  writing-mode: vertical-rl;
  color: #fff;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 18px;
}

.side-registration-menu:hover { 
  background: var(--color-accent); 
}
.side-registration-menu:hover .reg-text { 
  color: #000; 
}

@media (max-width: 575px) {
  .side-registration-menu {
    top: auto; bottom: 80px; left: 50%; right: auto;
    transform: translateX(-50%);
    width: 150px; height: 45px;
    padding: 0; justify-content: center;
    writing-mode: horizontal-tb;
    border-radius: 25px;
  }
  .reg-text { 
    writing-mode: horizontal-tb; 
  }
}  */



/* 裝飾與標題 */
.maintitle-box{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  width: 480px;
  height: 100vh;
  transition: transform 0.2s ease-out; /* 讓移動看起來絲滑 */
  will-change: transform;
  cursor: pointer;
}
.maintitle-box img { 
  width: 600px;
  height: auto;
}

.side img {
    width: 420px;
  height: auto;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.cta-btn {
  margin-top: 1rem;
  width: 50px; height: 50px;
  border: 1px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.4s;
}
.side:hover .cta-btn { 
  background: #fff; 
  color: #000; 
  transform: scale(1.1) rotate(360deg); 
}


/* --------------------------- */
/* SIDEMENU */
/* --------------------------- */
.side-ws-menu {
  position: fixed;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 72px 27px 2px 30px;
  background-color: #ffffffd8;
}
.side-dec-box {
  position: relative;
}

.side-dec-box img {
  position: absolute;
  top: -68px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
}

/* 文字樣式 */
.reg-text {
  writing-mode: vertical-rl; /* 直打文字更有設計感 */
  color: #2785dd;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 20px;
  padding: 10px 0;
}

/* Hover 效果：按鈕向左滑出並發光 */
.side-ws-menu:hover {
  animation: sideWsAni 0.8s ease-in-out;
}

.side-ws-menu:hover .reg-text {
  font-weight: 800;
}

@keyframes sideWsAni {
  0% {
    transform: translateY(-50%) scale3d(1, 1, 1);
  }
  30% {
    /* 壓扁變寬 */
    transform: translateY(-50%) scale3d(1.2, 0.8, 1);
  }
  40% {
    /* 拉長變窄 */
    transform: translateY(-50%) scale3d(0.85, 1.15, 1);
  }
  50% {
    /* 稍微壓扁 */
    transform: translateY(-50%) scale3d(1.1, 0.9, 1);
  }
  65% {
    /* 稍微拉長 */
    transform: translateY(-50%) scale3d(0.95, 1.05, 1);
  }
  75% {
    /* 極細微壓扁 */
    transform: translateY(-50%) scale3d(1.02, 0.98, 1);
  }
  100% {
    /* 回到原狀 */
    transform: translateY(-50%) scale3d(1, 1, 1);
  }
}

@media (max-width: 575px) {
  @keyframes sideWsAni {
    0% {
      transform: translateX(-50%) scale3d(1, 1, 1);
    }
    30% {
      /* 壓扁變寬 */
      transform: translateX(-50%) scale3d(1.2, 0.8, 1);
    }
    40% {
      /* 拉長變窄 */
      transform: translateX(-50%) scale3d(0.85, 1.15, 1);
    }
    50% {
      /* 稍微壓扁 */
      transform: translateX(-50%) scale3d(1.1, 0.9, 1);
    }
    65% {
      /* 稍微拉長 */
      transform: translateX(-50%) scale3d(0.95, 1.05, 1);
    }
    75% {
      /* 極細微壓扁 */
      transform: translateX(-50%) scale3d(1.02, 0.98, 1);
    }
    100% {
      /* 回到原狀 */
      transform: translateX(-50%) scale3d(1, 1, 1);
    }
  }
}

.side-registration-menu {
    position: fixed;
    bottom: 25px;
    right: 15px;
    color: #000000;
    font-size: 22px;
    font-weight: 800;
    line-height: 26px;
    text-align: center;
    padding: 74px 32px 32px 32px;
    z-index: 999;
    background-image: url(../img/lecture-img5.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    animation-name: cta-ani;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    -webkit-transition: all .1s linear;
    -moz-transition: all .1s linear;
}
@keyframes cta-ani {
  0% {
    transform: translateY(-3px);
  }

  50% {
      transform: translateY(3px);
  }
  100% {
      transform: translateY(-3px);
  }
}

.side-registration-menu:hover {
  animation: sideRegistrationAni 0.8s ease-in-out;
}

@keyframes sideRegistrationAni {
  0% {
    transform: scale3d(1, 1, 1);
  }
  30% {
    /* 壓扁變寬 */
    transform: scale3d(1.2, 0.8, 1);
  }
  40% {
    /* 拉長變窄 */
    transform: scale3d(0.85, 1.15, 1);
  }
  50% {
    /* 稍微壓扁 */
    transform: scale3d(1.1, 0.9, 1);
  }
  65% {
    /* 稍微拉長 */
    transform: scale3d(0.95, 1.05, 1);
  }
  75% {
    /* 極細微壓扁 */
    transform: scale3d(1.02, 0.98, 1);
  }
  100% {
    /* 回到原狀 */
    transform: scale3d(1, 1, 1);
  }
}
/* --------------------------- */
/* SIDEMENU */
/* --------------------------- */

@media (max-width: 767px) {
  .side-ws-menu .side-dec-box {
    display: none;
  }
  .side-ws-menu {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: auto;
    transform: none;
    width: 50%;
    height: 60px;
    padding: 0;
    background: linear-gradient(-20deg, #37d4e9, #5ca5e0, #6ae6db);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: none;
  }
  .side-ws-menu:hover {
    animation: none;
    transform: none;
  }
  .side-ws-menu .reg-text {
    writing-mode: horizontal-tb;
    font-size: 18px;
    font-weight: 800;
    padding: 0;
    letter-spacing: 1.2px;
    color:#ffffff;
  }
  .side-registration-menu-anchor {
    position: fixed;
    bottom: 0;
    right: 0;
    left: auto;
    width: 50%;
    height: 60px;
    z-index: 10000;
    display: block;
  }
  .side-registration-menu {
    position: static;
    width: 100%;
    height: 100%;
    padding: 0;
    background-image: none;
    background-color: #ff3737;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: none;
    transform: none;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
  }
  .side-registration-menu:hover {
    animation: none;
    transform: none;
  }
}

/* --------------------------- */
/* STUDY/WORK 分頁  */
/* --------------------------- */
.chapter-title-box {
  font-family: "Noto Serif JP", serif;
  text-align: center;
}
.chapter-title {
  position: relative;
  display: inline-block;
  margin: 2rem 0;
  padding: 25px 40px;
  text-align: center;
}

.chapter-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1a1a1a; 
  clip-path: polygon(
    0% 20%,
    10% 0%,
    90% 0%,
    100% 20%,
    100% 80%,
    90% 100%,
    
    /* 對話框小尾巴部分 */
    30% 100%,
    25% 115%,
    20% 100%,
    
    0% 100%,
    0% 80% 
  );
}

/* 標題文字樣式 */
.chapter-title h2 {
  margin: 0;
  color: #ffffff;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 4px;
  position: relative;
}

/* BANNER */

.banner-area {
    position: relative;
    margin-top: 80px;
    overflow: hidden;
    z-index: 99;
}

@media (max-width:991px) {
    .banner-area {
        margin-top: 60px;
    }
}

.banner-inner {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
}

.banner-inner img {
    max-width: 1440px;
    width: 100%;
}

.p-absolute {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}
/* BANNER */

.scroll-down {
  position: absolute;
  bottom: 30px; /* 距離底部的位置 */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  cursor: pointer;
}



.scroll-down span {
  display: block;
  width: 20px;
  height: 20px;
  /* 畫出向下的 V 型箭頭（只給下和右邊框，然後旋轉 45 度） */
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg);
  margin: -10px; /* 讓箭頭緊湊重疊 */
  
  /* 綁定閃爍動畫 */
  animation: scrollDownAnim 2s infinite;
  opacity: 0;
}

/* 依序設定每個箭頭的延遲時間 */
.scroll-down span:nth-child(1) {
  animation-delay: 0s;
}

.scroll-down span:nth-child(2) {
  animation-delay: 0.2s;
}

.scroll-down span:nth-child(3) {
  animation-delay: 0.4s;
}

/* 定義閃爍並向下移動的動畫 */
@keyframes scrollDownAnim {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-30px, -30px);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(10px, 10px);
  }
}

/* EXHIBITORS INTRO */
.exhibitors-intro-area {
    padding: 80px 0 60px 0;
    position: relative;
    z-index: 3;
}

/* @media (max-width:767px) {
    .exhibitors-intro-area {
        padding: 80px 0 0 0;
    }
} */
.exhibitors-intro-content {
  margin-top: 16px;
}
.exhibitors-card-box {
  cursor: pointer;
}
.exhibitors-card-box h3 {
  text-align: center;
  font-weight: 800;
  font-size: 24px;
}
.exhibitors-card-box div {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}
.exhibitors-card1, .exhibitors-card2, .exhibitors-card3, .exhibitors-card4 {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.exhibitors-card1:hover, .exhibitors-card2:hover, .exhibitors-card3:hover, .exhibitors-card4:hover,
.exhibitors-card-box a.active > div {
  transform: translateY(-10px);
  filter: brightness(1.05);
}
.exhibitors-card1 {
  background-image: url(../img/study/s-card-1.png);
}
.exhibitors-card2 {
  background-image: url(../img/study/s-card-2.png);
}
.exhibitors-card3 {
  background-image: url(../img/study/s-card-3.png);
}
.exhibitors-card4 {
  background-image: url(../img/study/s-card-4.png);
}

/* EXHIBITORS INTRO */

/* EXHIBITORS LIST */
.exhibitors-list-area {
  background-color: #ffffff9C;
  padding: 8PX 0 40PX 0;
}

/* .exhibitors-list-area::after {
  content: '';
  width: 100%;
  height: 100px;
  background-color: #ffffff9C;
  position: absolute;
  top: -44px;
  left: 0;
  z-index: -1;
  border-radius: 50%;
}
.exhibitors-list-area::before {
  content: '';
  width: 100%;
  height: 200px;
  background-color: #ffffff9C;
  position: absolute;
  bottom: -94px;
  left: 0;
  z-index: -1;
  border-radius: 50%;
} */

.exhibitors-list-content {
  display: flex;
  justify-content: flex-start;
  margin-top: 32PX;
}

.exhibitors-list-card {
  display: flex;
  align-items: center;
}
.exhibitors-list-card img {
  width: 80px;
  height: 80px;
  margin-right: 24px;
}
.exhibitors-list-card-textbox h4{
  font-size: 12px;
  font-weight: 600;
  background-color: #f0ff17;
  color: #000000;
  padding: 6px 8px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 0;
}
.exhibitors-list-card-textbox h3 {
  font-size: 18px;
  font-weight: 800;
  color: #000000;
  margin: 6px 0;
  min-width: 182px;
}
.exhibitors-list-card-textbox p {
  font-size: 12px;
  color: #333333;
  margin-bottom: 0px;
}

@media (max-width:767px) {
    .exhibitors-list-card img {
      display: none;
    }
}
@media (max-width:575px) {
  .exhibitors-list-content {
    padding: 0px 20px;
  }
    .exhibitors-list-card img {
      display: block;
      width: 50px;
      height: 50px;
      margin-right: 12px;
    }
}


/* EXHIBITORS LIST */

/* 參展單位樣式調整 */
/* 參展單位卡片 - 整個按鈕容器樣式 */
      .multi-toggle-btn {
        display: block;
        max-width: 280px;
        margin: 0 auto;
        transition: all 0.3s ease;
        border-radius: 15px; /* 微圓角方形 */
        padding: 15px 10px !important; /* 讓背景包覆圖片與文字 */
      }

      /* 選取狀態下，整個按鈕壓上半透明白底 */
      /* .multi-toggle-btn.active {
        background-color: #ffffff9C;
      } */

      /* 參展單位卡片 - 複選狀態樣式 */
      .multi-toggle-btn .exhibitors-card1,
      .multi-toggle-btn .exhibitors-card2,
      .multi-toggle-btn .exhibitors-card3,
      .multi-toggle-btn .exhibitors-card4 {
        transition: all 0.3s ease;
        transform: scale(0.7); /* 圖片整體縮小 */
        opacity: 0.5; /* 未選取時降低透明度 */
        filter: grayscale(80%); /* 未選取時加上灰階效果 */
        margin-bottom: -15px; /* 利用負邊距抵銷 scale 縮小的視覺空白，縮減圖文間距 */
      }

      /* 選取狀態 (Active) */
      .multi-toggle-btn.active .exhibitors-card1,
      .multi-toggle-btn.active .exhibitors-card2,
      .multi-toggle-btn.active .exhibitors-card3,
      .multi-toggle-btn.active .exhibitors-card4 {
        transform: scale(0.85); /* 選取時微放大，但還是比原圖小 */
        opacity: 1; /* 恢復透明度 */
        filter: grayscale(0%); /* 恢復彩色 */
        margin-bottom: -5px; /* 微調選取時抵銷的邊距 */
      }

      /* 選項文字狀態連動 */
      .multi-toggle-btn h3 {
        transition: all 0.3s ease;
        opacity: 0.5;
        margin-bottom: 0;
      }
      .multi-toggle-btn.active h3 {
        opacity: 1;
      }

      /* 手機版精簡顯示 (高度限制在 300px 內) */
      @media (max-width: 767px) {
        .multi-toggle-btn {
          padding: 8px 2px !important; /* 縮減內留白，將空間留給圖片與文字 */
        }
        .multi-toggle-btn .exhibitors-card1,
        .multi-toggle-btn .exhibitors-card2,
        .multi-toggle-btn .exhibitors-card3,
        .multi-toggle-btn .exhibitors-card4 {
          transform: scale(0.85); /* 因為欄位變窄，相對縮放比例需調大 */
          margin-top: -5px; 
          margin-bottom: -10px; 
        }
        .multi-toggle-btn.active .exhibitors-card1,
        .multi-toggle-btn.active .exhibitors-card2,
        .multi-toggle-btn.active .exhibitors-card3,
        .multi-toggle-btn.active .exhibitors-card4 {
          transform: scale(0.95);
          margin-bottom: -5px; 
        }
        .multi-toggle-btn h3 {
          font-size: 12px; /* 縮小字級以適應一列四個的寬度 */
          letter-spacing: -0.5px;
          margin-top: 0;
          margin-bottom: 5px;
        }

        /* 參展單位列表 - 手機版雙排與圖文顯示優化 (767px以下) */
        #exhibitors-list .row {
          --bs-gutter-x: 10px; /* 縮小左右間距 */
          --bs-gutter-y: 10px; /* 縮小上下間距 */
        }
        #exhibitors-list .col-sm-6 {
          flex: 0 0 auto;
          width: 50%;
        }
        .exhibitors-list-card {
          flex-direction: column !important; /* 改為垂直排列 */
          justify-content: center;
          text-align: center;
          /* padding: 10px 5px !important;  */
        }
        .exhibitors-list-card img {
          display: block !important; /* 確保顯示圖片 (覆蓋原CSS隱藏設定) */
          width: 45px !important; /* 圖片縮小 */
          height: 45px !important; /* 圖片縮小 */
          margin: 0 auto 5px auto !important; /* 縮小圖片與文字的距離 */
        }
        .exhibitors-list-card-textbox h4,
        .exhibitors-list-card-textbox p {
          display: none !important; /* 隱藏類別與地區，只保留名稱 */
        }
        .exhibitors-list-card-textbox h3 {
          font-size: 14px !important; /* 配合縮小空間，字級微調 */
          min-width: auto !important;
          margin: 0 !important;
          line-height: 1.3;
        }
      }

      /* 列表顯示時的進場動畫 */
      @keyframes fadeInUp {
        from {
          opacity: 0;
          transform: translateY(20px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
      .fade-in-up {
        animation: fadeInUp 0.5s ease-out forwards;
      }

      /* 無法取消時的錯誤提示動畫 (左右震動) */
      @keyframes shake {
        0%, 100% { transform: translateX(0); }
        20%, 60% { transform: translateX(-5px); }
        40%, 80% { transform: translateX(5px); }
      }
      .shake-anim {
        animation: shake 0.4s ease-in-out;
      }
/* --------------------------- */
/* LECTURES */
/* --------------------------- */
.lectures-area {
  padding: 120px 0 60px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.lectures-content {
  position: relative;
  margin: 150px 0 0 0;
  z-index: 10;
}

.lecture-timeBox {
  position: relative;
}

.lecture-timeBox ul::before,
.lecture-timeBox ul::after {
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  top: 0;
  background: #ffffff;
}

.lecture-timeBox ul::before {
  width: 4px;
  left: 60px;
  z-index: 1;
}

.lecture-timeBox ul {
  padding-left: 0;
}

.lecture-timeBox li {
  display: flex;
  align-items: center;
  width: 100%;
  height: 42px;
}

.lecture-timeBox li:not(:last-child) {
  margin-bottom: 60px;
}

.lecture-timeBox li:nth-child(odd) {
  opacity: 0.45;
}

.lecture-timeBox li span {
  width: 53px;
  line-height: 1;
  color: #ffffff;
}

.lecture-timeBox li::after {
  content: "";
  display: block;
  flex-grow: 1;
  height: 2px;
  background: #ffffff5e;
}

.lecture-events {
  display: flex;
  position: absolute;
  top: -88px;
  left: 0;
  padding: 0 0 0 60px;
  width: 100%;
}

.lecture-eventsTP,
.lecture-eventsTK {
  width: 50%;
  display: block;
  padding: 0 72px;
}

.lecture-eventsTP {
  border-right: 2px solid #ffffff5e;
}

.lecture-date {
  text-align: center;
}

.lecture-date h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 0;
}

.lecture-date span {
  font-size: 18px;
  color: #444444;
  display: block;
  letter-spacing: 1.6px;
  margin-top: 12px;
}

.lecture-space-1,
.lecture-space-7 {
  height: 42px;
}
.lecture-space-2,
.lecture-space-8,
.lecture-space-10 {
  height: 2px;
}

.lecture-space-3 {
  height: 8px;
}

.lecture-space-9 {
  height: 27px;
}
.lecture-space-4 {
    height: 54px;
}
.lecture-space-5 {
  height: 74px;
}

.lecture-space-6 {
  height: 56px;
}

.lecture-space-11 {
  height: 104px;
}

.lecture-space-12 {
  height: 61px;
}

.lecture-event-3 .lecture-event-card {
  height: 130px;
}

.lecture-event-4 .lecture-event-card {
  height: 150px;
}


.lecture-event-5 .lecture-event-card {
  height: 202px;
}

.lecture-event-6 .lecture-event-card {
  height: 136px;
}
.lecture-event-9 .lecture-event-card,
.lecture-event-10 .lecture-event-card {
  height: 100px;
}
.lecture-event-11 .lecture-event-card {
  height: 202px;
}
.lecture-event-12 .lecture-event-card {
  height: 143px;
}

.lecture-event-card {
  display: flex;
  align-items: center;
  background-color: #ffffffe0;
  padding: 6px;
  color: #000000;
  position: relative;
  cursor: pointer;
}

/* .bg-lightyellow {
  background-color: #feffddd3;
} */

.lecture-event-card img {
  position: absolute;
  top: 50%;
  left: -28px;
  transform: translateY(-50%);
  width: 80px;
  height: 80px;
}

.lectures-info {
  margin-left: 64px;
}

.lecture-event-card h4,
.lecture-event-card h5 {
  margin-bottom: 6px;
  letter-spacing: 1.1px;
}

.lecture-event-card p {
  margin-bottom: 2px;
  color: #303030;
  font-size: 14px;
}

.lecture-event-card h4 {
  font-size: 20px;
  font-weight: 600;
}

.lecture-event-card h5 {
  font-size: 14px;
}

.lectures-Cbtn {
  position: absolute;
  top: 50%;
  right: -12px;
  transform: translateY(-50%);
  color: #ffffff;
  background-color: #000000;
  padding: 4px 12px;
  letter-spacing: 1.2px;
  font-size: 14px;
}

.lectures-time-info p {
  color: #4e4e4e;
  position: relative;
  z-index: 10;
  text-align: center;
  font-weight:800;
  font-family: "Noto Serif JP", serif;
}
/* 桌機版維持原樣，僅隱藏按鈕 */
.lecture-tabs {
  display: none;
}

@media (max-width: 1199px) {
  .lecture-eventsTP,
  .lecture-eventsTK {
    padding: 0 32px;
  }
}

.lectures-area .chapter-title-box p {
  display: none;
}

@media (max-width: 991px) {
  .lectures-area .chapter-title-box p {
    display: block;
    color: #ffffff;
    margin: 32px 0 0 0;
  }
  .lectures-content {
    margin: 12px 0 0 0;
  }
  /* 1. 顯示按鈕並置中 */
  .lecture-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
    z-index: 20;
  }

  .tab-btn {
    padding: 8px 25px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    width: 220px;
  }

  .tab-btn.active {
    background: #f0ff17;
    color: #000;
    border-color: #f0ff17;
  }

  /* 2. 保留你的絕對定位屬性，但確保寬度一致 */
  .lecture-events {
    position: absolute;
    top: 84px;
    left: 10px;
    padding: 0 32px 0 80px;
    width: 100%;
    display: block; /* 取消桌機版的 flex */
  }

  .lecture-eventsTP,
  .lecture-eventsTK {
    /* 核心：兩者寬度強制設為 100% */
    width: 100% !important;
    padding: 0;
    border-right: none;
    display: none; /* 預設先全部隱藏 */
  }

  /* 3. 切換顯示邏輯 */
  .lecture-events.show-TP .lecture-eventsTP {
    display: block;
  }

  .lecture-events.show-TK .lecture-eventsTK {
    display: block;
  }

  /* 調整手機版卡片內容縮排，確保兩邊一致 */
  .lectures-info {
    margin-left: 64px;
  }
  .lecture-date {
    display: none;
  }

  .lecture-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    position: relative;
    z-index: 20;
    width: fit-content; /* 讓容器寬度隨按鈕而定，定位更準確 */
    margin-left: auto;
    margin-right: auto;
  }

  .click-decoration {
    opacity: 0;
  }

  .active .click-decoration {
    opacity: 1;
    position: absolute;
    top: -40px;
    left: 36%;
    width: 58px;
    height: 58px;
    background-image: url(../img/click.svg);
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* 防止擋住按鈕點擊 */
    z-index: 12; /* 放在按鈕下方 */

    /* 旋轉動畫 */
    animation: windmill 4s linear infinite;
  }
}

/* 定義風車旋轉動畫 */
@keyframes windmill {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 479px) {
  .lecture-events {
    top: 84px;
    padding: 0 14px 0 40px;
  }
  .lectures-info {
    margin-left: 32px;
  }
  .lecture-event-card img {
    width: 60px;
    height: 60px;
  }
  .lecture-timeBox ul::before {
    left: 42px;
  }
  .lecture-timeBox li span {
    font-size: 14px;
  }
  .lecture-event-card h4 {
    font-size: 18px;
    letter-spacing: 0;
  }
  .lectures-Cbtn {
    font-size: 12px;
  }
}

@media (max-width: 339px) {
  .lecture-events {
    top: 172px;
  }
}

/* 按鈕樣式 (可視需求調整顏色) */
.tab-btn {
  padding: 12px 36px;
  color: #fff;
  border: none;
  cursor: pointer;
}
.tab-btn.active {
  background: #000000;
  color: #f0ff17;
}

/* 講座談窗 */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

/* 彈窗內容盒 */
.modal-content-l {
  background: white;
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: fadeIn 0.3s;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 內容排版樣式 */
#modalBody h3 {
  color: #000000;
  font-size: 1.5rem;
  margin-bottom: 10px;
  border-left: 5px solid #ff5ad6; /* 質感左標籤線 */
  padding-left: 15px;
  font-weight: 800;
}

#modalBody .modal-sub-title {
  font-size: 22px;
  font-weight: 600;
  color: #242424;
  margin: 8px 0;
}

#modalBody .time-tag {
  display: inline-block;
  background: #f1f1f1;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
}

#modalBody .desc-text {
  line-height: 1.8;
  color: #444;
  white-space: pre-line; /* 保留換行符號 */
}

.modal-place {
  text-align: center;
  margin: 12px auto 0 auto;
  color: #dd0000;
  font-weight: 500;
  display: block;
}
@media (max-width: 479px) {
  .tab-btn {
    padding: 12px;
    width: 150px;
  }
}

@media (max-width: 339px) {
  .lecture-tabs {
    flex-direction: column;
  }
}

/* --------------------------- */
/* LECTURES */
/* --------------------------- */

/* --------------------------- */
/* REGISTRATION */
/* --------------------------- */

/* --------------------------- */
/* REGISTRATION */
/* --------------------------- */
.registration-area {
  padding: 80px 0;
  background-color: #1a1a1a;
}
.registration-area .chapter-title h2 {
  font-size: 32px;
}
.registration-info p {
  margin-bottom: 0px;
  font-size: 16px;
  line-height: 28px;
  color: #ffffff;
}
.registration-stepBox h3 {
  font-family: "Noto Serif JP", serif;
  color: #daff0a;
  text-align: center;
  font-size: 20px;
  margin: 24px 0;
}

.registration-place {
  --bs-btn-padding-x: 0;
  --bs-btn-padding-y: 0;
  --bs-btn-border-radius: 12px;
  --bs-btn-border-color: transparent;
  --bs-btn-hover-border-color: #fff;
  --bs-btn-active-border-color: #fff;
  --bs-btn-color: transparent;
  --bs-btn-hover-color: transparent;
  --bs-btn-active-color: transparent;

  display: flex;
  padding: 20px 32px;
  align-items: center;
  justify-content: center;
  text-align: left;
  background-color: transparent;
  border: 2px solid transparent;
  border-radius: 12px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.registration-place:hover {
  border: 2px solid #ffffff;
  transform: translateY(-5px);
}
#venue-selection .btn-check:checked + .registration-place {
  background-color: #ffffff;
}
.registration-placeimgTp {
  position: relative;
  width: 60px;
  height: 60px;
  background: url(../img/r-tp.png);
  background-size: contain;
  background-repeat: no-repeat;
}
.registration-placeimgTc {
  position: relative;
  width: 60px;
  height: 60px;
  background: url(../img/r-tc.png);
  background-size: contain;
  background-repeat: no-repeat;
}
.registration-placeimgKh {
  position: relative;
  width: 60px;
  height: 60px;
  background: url(../img/r-kh.png);
  background-size: contain;
  background-repeat: no-repeat;
}
.eyes-box {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}
.registration-placeimgTc .eyes-box {
  top: 5px;
}
 .eyes-box {
    position: absolute;
    display: flex;
    gap: 4px;
}
/* 
.tp .eyes-box { top: 25px; left: 70%; }
.tc .eyes-box { top: 20px; left: 30%; }
.kh .eyes-box { top: 15px; left: 50%; transform: translateX(-50%); } */

.eye {
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.pupil {
    width: 7px;
    height: 7px;
    background: #000;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    will-change: transform;
    pointer-events: none;
    transition: transform 0.1s ease-out;
}
.registration-place-info {
  margin: 0 24px;
}
.registration-place-info h4 {
  margin-bottom: 4px;
  font-size: 24px;
  font-weight: 800;
  color: #d3d1d1;
}
.registration-place-info p {
  margin-bottom: 0px;
  font-size: 20px;
  font-weight: 800;
  line-height: 28px;
  color: #8f8f8f;
}
.btn-check:checked + .registration-place .registration-place-info h4 {
  color: #000000;
}
/* 表單 */

.form-outer-container {
    margin: 0 auto;
    padding: 15px;
    border-radius: 25px;
    text-align: left;
    transition: background-color 0.5s ease;
}

/* 表單背景變換 */
.form-outer-container.bg-tp { background-color: #22D37F; }
.form-outer-container.bg-tc { background-color: #17DBE5; }
.form-outer-container.bg-kh { background-color: #FF6F3E; }

.form-header {
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    transition: opacity 0.3s ease;
    text-align: center;
}

.form-white-content {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    min-height: 400px;
    margin-top: 10px;
    color: #333;
}

.form-control {
  background-color: #efefef;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  font-size: 14px;
  color: #333;
  transition: background 0.3s;
}

.form-control:focus {
  background-color: #e5e5e5;
  box-shadow: none;
}

.form-label {
  font-weight: bold;
  color: #333;
  margin-bottom: .5rem;
}

.btn-group .btn {
  background: #efefef;
  color: #333;
  padding: 8px 18px;
  border-radius: 50px !important;
  margin-right: 10px;
  margin-bottom: 10px;
  border: 1px solid #efefef;
  font-size: 14px;
  transition: all 0.2s;
}
.btn-group .btn:hover {
  background: #ddd;
}
.btn-check:checked + .btn {
  background: #333;
  color: #fff;
  border-color: #333;
}

.other-input-group {
  margin-bottom: 10px;
}
.other-input-group .btn {
  border-radius: 50px 0 0 50px !important;
  margin-right: 0 !important;
  margin-bottom: 0;
}
#howToKnowOtherInput {
  flex-grow: 1;
  max-width: 180px;
  margin-left: 0;
  border-radius: 0 50px 50px 0;
  padding: 8px 18px;
  border-left: 1px solid #d2d2d2;
}
#howToKnowOtherInput:disabled {
  background-color: #f4f4f4;
  cursor: not-allowed;
}

.basicInfo-line {
  border-bottom: 1.5px solid #d2d2d2;
  padding-bottom: 20px;
  margin-bottom: 40px;
}

.btn-submit {
  background-color: #ff6f3e;
  color: white;
  font-weight: bold;
  padding: 12px;
  border-radius: 50px;
  border: none;
  transition: background-color 0.3s;
}
.btn-submit:hover {
  background-color: #e65c2a;
  color: white;
}

@media (max-width: 767px) {
  .registration-place {
    padding: 15px;
    justify-content: center;
  }
  .form-white-content {
    padding: 20px;
  }
}


/* --------------------------- */
/* Location */
/* --------------------------- */
.location-area {
  position: relative;
  padding: 120px 0 60px 0;
  z-index: 10;
}

.location-area::before {
  content: "";
  position: absolute;
  inset: 0;
}

.location-content {
  display: flex;
  z-index: 10;
  position: relative;
}

.location-content p {
  margin-bottom: 0;
}

.location-boxTaipei {
  width: 50%;
  padding: 60px;
}

.location-date {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.location-date h5 {
  color: #290f0b;
  font-size: 36px;
  font-weight: 800;
  font-family: "Noto Serif JP", serif;
}

.location-date h6 {
  padding: 2px 8px;
  background-color: #290f0b;
  color: #ffffff;
  font-size: 20px;
  margin: 0 12px;
  font-weight: 600;
}

.location-date p {
  color: #290f0b;
  font-size: 24px;
  font-weight: 600;
}

.info-map {
  height: 450px;
  overflow: hidden;
  padding: 8px;
  border: 2px solid #ffffff;
  margin: 12px auto;
}

.info-map2 {
  height: 300px;
  overflow: hidden;
  padding: 8px;
  border: 2px solid #ffffff;
  margin: 12px auto;
}

.location-info {
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 12px;
  position: relative;
  font-weight: 800;
}

@media (max-width: 1199px) {
  .location-boxTaipei .location-info::after {
    opacity: 0.3;
  }
}

.location-name p {
  font-size: 20px;
  letter-spacing: 1.2px;
  font-weight: 600;
  margin-left: 12px;
  font-family: "Noto Serif JP", serif;
  color: #290f0b;
}

.location-imgBox img {
  width: 100%;
  border: 2px solid #929292;
}

.location-name {
  display: flex;
  align-items: center;
  color: #020202;
}

.location-name h4 {
  font-size: 36px;
  letter-spacing: 8px;
  text-align: center;
  font-weight: 800;
  font-family: "Noto Serif JP", serif;
  color: #290f0b;
}

.location-place {
  margin: 32px 0;
}

.location-place p:nth-child(1) {
  padding-left: 24px;
  border-left: #daff0a 4px solid;
}

.location-place p:nth-child(2) {
  padding-left: 28px;
  margin-top: 12px;
}

.location-tips {
  color: #daff0a;
}

.location-border {
  margin: 60px 12px;
  border-right: 2px solid #ffffff;
}

.phone-link {
  color: #000000 !important;
  text-decoration: none;
  font-weight: 600;
}

.phone-link:hover {
  color: #daff0a !important;
}

/* 台中/高雄 */
.location-boxTK {
  color: #ffffff;
  width: 50%;
  padding: 60px;
}

.location-boxTK .location-boxTK-inner:nth-child(2) {
  margin: 24px 0 0 0;
  border-top: #ffffff 2px solid;
  padding: 32px 0 0 0;
}

.location-boxTK .location-place {
  margin: 12px 0;
}

@media (max-width: 1199px) {
  .location-content {
    flex-wrap: wrap;
  }
  .location-boxTaipei,
  .location-boxTK {
    width: 100%;
    padding: 32px 0;
  }
  .location-border {
    margin: 32px 0 12px 0;
    border-right: 0px;
    border-top: 2px solid #fff604;
    display: block;
    width: 100%;
  }
  .infoBox-inner {
    display: flex;
    align-items: center;
  }
  .info-map2 {
    margin: 12px 32px 12px 0;
  }
}

@media (max-width: 575px) {
  .location-area {
    padding: 60px 0;
  }
  .location-boxTaipei,
  .location-boxTK {
    padding: 0;
  }
  .location-boxTaipei .location-place {
    margin: 12px 0;
  }
  .location-border {
    margin: 16px 0;
  }
  .infoBox-inner {
    flex-direction: column;
    align-items: start;
    display: block;
  }
  .info-map {
    height: 300px;
  }
  .info-map2 {
    margin: 12px auto;
  }
  .location-name p {
    margin-left: 0;
  }
  .location-boxTK .location-boxTK-inner:nth-child(2) {
    margin: 16px 0 0 0;
    padding: 16px 0 0 0;
  }
  .location-place p:nth-child(1) {
    padding-left: 14px;
  }
}
@media (max-width: 434px) {
  .location-date h5 {
    font-size: 28px;
  }
  .location-date h6 {
    font-size: 18px;
  }
  .location-date p {
    font-size: 18px;
  }
}

@media (max-width: 375px) {
  .location-name h4 {
    font-size: 28px;
  }
  .location-name p {
    font-size: 18px;
  }
}
/* --------------------------- */
/* Location */
/* --------------------------- */
/* --------------------------- */
/* FOOTER */
/* --------------------------- */

/* --------------------------- */
/* 全站 RWD 字級與排版優化 */
/* --------------------------- */
@media (max-width: 991px) {
  .chapter-title h2, .chapter-title-box h2 {
    font-size: 30px;
  }
  .location-date h5, .location-name h4 {
    font-size: 30px;
  }
}

@media (max-width: 767px) {
  .chapter-title h2, .chapter-title-box h2 {
    font-size: 26px;
    letter-spacing: 2px;
  }
  .chapter-title-box h3 {
    font-size: 16px;
  }
  .chapter-title {
    padding: 15px 25px;
  }
  .registration-area .chapter-title h2 {
    font-size: 24px;
  }
  .lecture-date h3 {
    font-size: 24px;
  }
  .lecture-date span {
    font-size: 16px;
  }
  .registration-stepBox h3 {
    font-size: 18px;
  }
  .registration-place-info h4 {
    font-size: 20px;
  }
  .registration-place-info p {
    font-size: 16px;
  }
  .form-header {
    font-size: 15px;
    padding: 10px;
  }
  .location-date h5 {
    font-size: 26px;
  }
  .location-date p {
    font-size: 20px;
  }
  .location-name h4 {
    font-size: 26px;
  }
  .location-name p {
    font-size: 16px;
  }
  .exhibitors-list-card-textbox h3 {
    font-size: 16px;
    min-width: unset;
  }
}

@media (max-width: 575px) {
  .chapter-title h2, .chapter-title-box h2 {
    font-size: 22px;
  }
  .registration-area .chapter-title h2 {
    font-size: 20px;
  }
  .lecture-date h3 { font-size: 20px; }
  .location-date h5 { font-size: 22px; }
  .location-date h6 { font-size: 16px; }
  .location-date p { font-size: 18px; }
  .location-name h4 { font-size: 22px; }
  .footer-label { font-size: 13px; }
  #modalBody h3, #exhibitorModalBody h3 { font-size: 1.2rem; }
  #modalBody .modal-sub-title, #exhibitorModalBody .modal-sub-title { font-size: 18px; }
  .reg-text { font-size: 16px; }
  .exhibitors-card-info p { font-size: 14px; }
}
#footer {
  width: 100%;
  position: relative;
}

.footer-area {
  position: relative;
  z-index: 10;
  padding: 80px 0;
  overflow: hidden;
}

/* 內容容器排版 */
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Logo 樣式 */
.globalLogo {
  position: relative; /* 改為相對定位，避免壓到上方 */
  margin-bottom: 40px;
  z-index: 999;
}

.globalLogo__mask--wrapper {
  position: relative;
  display: flex;
  align-items: center;
  height: 80px;
  overflow: hidden;
  padding-right: 20px;
}

.globalLogo__mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--main-red);
  z-index: 5;
}

.char {
  display: inline-block;
  font-family: sans-serif;
  font-size: 55px;
  font-weight: 900;
  color: #ffffff;
  transform: translateY(110%);
  opacity: 0;
  margin-right: 5px;
}

/* SVG 字母樣式 */
.char-svg {
  height: 60px; /* 控制字母大小 */
  width: auto;
  opacity: 0;
  transform: translateY(110%);
  display: inline-block;
  margin-right: -3.5px;
}
.char-svg:last-child {
  margin-right: 0;
}
/* 內容區 RWD 設定 */
.footer-col {
  opacity: 0;
  transform: translateY(20px);
}

.footer-content-row > div {
  opacity: 0;
  transform: translateY(30px);
}
@media (max-width: 991px) {
  .footer-area {
    text-align: center;
  }
  .globalLogo,
  .sns-box {
    justify-content: center;
  }
  .char-svg {
    height: 45px;
  } /* 手機版縮小 SVG */
  .footer-link-box a {
    display: block;
    margin: 10px 0;
  }
}
/* 內容文字樣式 */
.footer-label {
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.9;
  color: #000000;
  font-weight: 800;
}

.footer-wsij {
  height: 60px;
  width: auto;
}

.footer-link-box {
  margin-bottom: 20px;
}

.footer-link-box a {
  color: var(--link-yellow);
  text-decoration: none;
  font-weight: 700;
  margin: 5px 0;
  display: inline-block;
}

.footer-link-box a:hover {
  text-decoration: underline;
}

.sns-box {
  display: flex;
  gap: 12px;
}

.sns-box img {
  width: 35px;
  height: 35px;
  transition: transform 0.3s ease;
}

.sns-box img:hover {
  transform: translateY(-5px);
}

/* 初始隱藏內容動畫用 */
.footer-col {
  opacity: 0;
  transform: translateY(30px);
}

/* --- RWD 排版調整 --- */
@media (min-width: 1200px) {
  .footer-inner {
    flex-direction: row; /* 寬螢幕時 Logo 與內容橫向排列 */
    align-items: flex-start;
    gap: 80px;
  }
}

@media (max-width: 991px) {
  .footer-area {
    padding: 60px 20px;
    text-align: center; /* 中螢幕以下置中 */
  }
  .footer-inner,
  .globalLogo,
  .sns-box {
    align-items: center;
    justify-content: center;
  }
  .char {
    font-size: 45px;
  }
  .footer-link-box a {
    display: block; /* 手機版連結垂直排列 */
  }
}

@media (max-width: 575px) {
  .footer-area {
    padding: 60px 20px 160px 20px;
  }
}

/* 電腦版 (991px 以上) 強制排在同一列 */
@media (min-width: 992px) {
  .footer-link-box {
    display: flex; /* 使用 Flex 佈局 */
    flex-direction: row; /* 強制橫向排列 */
    align-items: center; /* 垂直置中 */
    flex-wrap: nowrap; /* 關鍵：強制不換行 */
    gap: 5px; /* 連結與分隔線之間的微調間距 */
    color: #6b6b6b;
  }

  .footer-link-box a {
    white-space: nowrap; /* 防止文字內容本身換行 */
  }
}

/* 保持原有連結樣式 */
.footer-link-box a {
  color: var(--link-yellow);
  text-decoration: none;
  font-weight: 700;
}

/* --------------------------- */
/* FOOTER */
/* --------------------------- */

  .footer-link-box a {
    white-space: nowrap; /* 防止文字內容本身換行 */
  }

/* 保持原有連結樣式 */
.footer-link-box a {
  color: var(--link-yellow);
  text-decoration: none;
  font-weight: 700;
}

/* --------------------------- */
/* FOOTER */
/* --------------------------- */
