.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 2s ease, transform 2s ease;
}

.fade-in-right.show {
  opacity: 2;
  transform: translateX(0);
}

.fade-in-right.delay-0 { transition-delay: 0s; }
.fade-in-right.delay-1 { transition-delay: 0.3s; }
.fade-in-right.delay-2 { transition-delay: 0.6s; }
.fade-in-right.delay-3 { transition-delay: 0.9s; }
.fade-in-right.delay-4 { transition-delay: 1.2s; }
.fade-in-right.delay-5 { transition-delay: 1.5s; }
.fade-in-right.delay-6 { transition-delay: 1.8s; }
.fade-in-right.delay-7 { transition-delay: 2.1s; }
.fade-in-right.delay-8 { transition-delay: 2.4s; }
.fade-in-right.delay-9 { transition-delay: 2.7s; }


.fade-in-delay {
  opacity: 0;
  transform: translateY(20px);  /* 加入下方位移 */
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-delay.show {
  opacity: 1;
  transform: translateY(0);     /* 回到原位 */
}

.fade-in-delay.delay-0 { transition-delay: 0s; }
.fade-in-delay.delay-1 { transition-delay: 0.5s; }
.fade-in-delay.delay-2 { transition-delay: 1s; }
.fade-in-delay.delay-3 { transition-delay: 1.5s; }
.fade-in-delay.delay-4 { transition-delay: 2s; }


.fade-in-delay-0 {
  opacity: 0;
  transform: translateY(0);  /* 加入下方位移 */
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-delay-0.show {
  opacity: 1;
  transform: translateY(0);     /* 回到原位 */
}

/* 依序延遲出現 */
.fade-in-delay-0.delay-0 { transition-delay: 0s; }
.fade-in-delay-0.delay-1 { transition-delay: 0.3s; }
.fade-in-delay-0.delay-2 { transition-delay: 0.6s; }
.fade-in-delay-0.delay-3 { transition-delay: 0.9s; }
.fade-in-delay-0.delay-4 { transition-delay: 1.2s; }
.fade-in-delay-0.delay-5 { transition-delay: 1.5s; }
.fade-in-delay-0.delay-6 { transition-delay: 1.8s; }
.fade-in-delay-0.delay-7 { transition-delay: 2.1s; }


.index {
  background-color: transparent;
  display: flex;
  flex-direction: row;
  justify-content: center;
  min-height: 100vh;
}

.index .div {
  width: 1440px;
  height: auto; 
  position: relative;
}

@media (min-width: 768px) and (max-width: 1399px) {
.index .scale-wrapper {
  transform: scale(0.9);
  transform-origin: top center;
  display: inline-block;
  position: relative;
  }
}

@media (max-width: 768px) {
  .index .div {
    width: 100% !important;
    max-width: 100% !important; /* 防止超過螢幕 */
    position: relative !important;
  }

  html, body {
  overflow-x: hidden;
  min-height: 100vh;
}
}

.index .overlap {
  position: relative;
  width: 100%;
  height: auto;  
  top: 80px;
  left: 0;
  background-color: #ffffff;
  z-index: 0;
}

/* DOWN開始 */
.index .DOWN {
  position: absolute;
  width: 1440px;
  height: 320px;
  top: 4700px;
  left: 0;
}
.index .DOWN .bg-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;       /* 等同 background-size: cover */
  object-position: 50% 50%; /* 等同 background-position: 50% 50% */
  z-index: 0;              /* 確保在最底層 */
}

.index .overlap-group {
  position: relative;
  height: 320px;
  background-color: #18366ccc;
  z-index: 1;              /* 在圖片上方 */
}

.index .text-wrapper {
  position: absolute;
  top: 283px;
  left: 386px;
  font-family: "DFPHeiLight-B5-Regular", Helvetica;
  font-weight: 400;
  color: #58d2ff;
  font-size: 16px;
  text-align: center;
  letter-spacing: 1.6px;
  line-height: normal;
  white-space: nowrap;
}

.index .LOGO {
  position: absolute;
  width: 434px;
  height: 66px;
  top: 69px;
  left: 125px;
  object-fit: cover;
}

.index .overlap-2 {
  position: absolute;
  width: 361px;
  height: 47px;
  top: 71px;
  left: 562px;
}

.index .text-wrapper-2 {
  position: absolute;
  top: 0;
  left: 0;
  font-family: "DFPHeiUBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 22px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .text-wrapper-3 {
  position: absolute;
  top: 23px;
  left: 0;
  font-family: "DFPHeiUBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 22px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .text-wrapper-4-1 {
  position: absolute;
  top: 34px;
  left: 129px;
  font-family: "DFPNHeiXBold-B5-Regular", Helvetica;
  font-size: 26px;
  letter-spacing: 5.2px;
  line-height: normal;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
}

.index  .text-wrapper-5-1 {
  position: absolute;
  top: 34px;
  left: 398px;
  font-family: "DFPNHeiXBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 26px;
  text-align: center;
  letter-spacing: 5.2px;
  line-height: normal;
  white-space: nowrap;
}

.index .line {
  position: absolute;
  width: 808px;
  height: 1px;
  top: 148px;
  left: 122px;
  object-fit: cover;
  background-color:#ffffff;
}

.index .group,
.index .group-2,
.index .group-3 {
  position: absolute;
  left: 125px;
  display: flex;
  align-items: center; /* 垂直置中 */
  height: auto;
}

.index .group {
  top: 243px;
  width: 667px;
}

.index .group-2 {
  top: 202px;
  width: 505px;
}

.index .group-3 {
  top: 160px;
  width: 270px;
}

/* icon 統一大小與間距，取消絕對定位讓 flex 生效 */
.index .house,
.index .phone-call,
.index .printer {
  position: static;
  width: 25px;
  height: 25px;
  margin-right: 10px; /* icon 與標題間距 */
  object-fit: cover;
}

/* 標題文字 固定寬度，與 icon 右側間距 */
.index .text-wrapper-7-1 {
  width: 80px;
  font-family: "DFPNHeiXBold-B5-Regular", Helvetica;
  font-weight: 400;
  margin-right: 10px;
  white-space: nowrap;
  text-align: left;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: 4px;
  line-height: normal;
}

/* 內容文字 撐滿剩餘空間 */
.index .text-wrapper-6-1 {
  flex: 1;
  white-space: nowrap;
  text-align: left;
  font-family: "DFPHeiMedium-B5-Regular", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: 4px;
  line-height: normal;
  margin: 0;
}

.index .text-wrapper-9 {
  position: absolute;
  width: 80px;
  top: 41px;
  left: 1225px;
  font-family: "DFPHeiMedium-B5-Regular", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 18px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .text-wrapper-10 {
  position: absolute;
  width: 80px;
  top: 121px;
  left: 1225px;
  font-family: "DFPHeiMedium-B5-Regular", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 18px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .text-wrapper-11 {
  position: absolute;
  width: 80px;
  top: 240px;
  left: 1225px;
  font-family: "DFPHeiMedium-B5-Regular", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 18px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .text-wrapper-12 {
  position: absolute;
  width: 80px;
  top: 160px;
  left: 1225px;
  font-family: "DFPHeiMedium-B5-Regular", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 18px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .text-wrapper-13 {
  position: absolute;
  width: 80px;
  top: 81px;
  left: 1225px;
  font-family: "DFPHeiMedium-B5-Regular", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 18px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .text-wrapper-14 {
  position: absolute;
  width: 80px;
  top: 200px;
  left: 1225px;
  font-family: "DFPHeiMedium-B5-Regular", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 18px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .line-1 {
  position: absolute;
  width: 3px;
  height: 20px;
  top: 45px;
  left: 1218px;
  background-color:#ffffff;
}

.index .line-2 {
  position: absolute;
  width: 3px;
  height: 20px;
  top: 85px;
  left: 1218px;
  background-color:#ffffff;
}

.index .line-3 {
  position: absolute;
  width: 3px;
  height: 20px;
  top: 125px;
  left: 1218px;
  background-color:#ffffff;
}

.index .line-4 {
  position: absolute;
  width: 3px;
  height: 20px;
  top: 164px;
  left: 1218px;
  background-color:#ffffff;
}
.index .line-5 {
  position: absolute;
  width: 3px;
  height: 20px;
  top: 204px;
  left: 1218px;
  background-color:#ffffff;
}
.index .line-6 {
  position: absolute;
  width: 3px;
  height: 20px;
  top: 244px;
  left: 1218px;
  background-color:#ffffff;
}
/* DOWN結束 */

@media (max-width: 768px) {

    /* 隱藏圖示 */
  .index .printer,
  .index .phone-call,
  .index .house {
    display: none;
  }

  .index .DOWN {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    top: auto !important;
    left: auto !important;
    margin-top: 20px !important;
  }

  .index .overlap-group {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    height: auto;
    background-color: rgba(24, 54, 108, 0.8);
  }

  /* LOGO 縮小並置中 */
  .index .LOGO {
    position: static;
    width: 70%;
    max-width: 300px;
    height: auto;
    margin-bottom: 1rem;
  }

  /* 公司名稱文字調整，置中且間距縮小 */
  .index .text-wrapper-4-1,
  .index .text-wrapper-5-1 {
    position: static;
    text-align: center;
    white-space: normal;
    letter-spacing: 2px;
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }

  /* 隱藏 text-wrapper-2 和 text-wrapper-3 */
  .index .text-wrapper-2,
  .index .text-wrapper-3 {
    display: none;
  }

  /* 中間的分隔線改寬度並置中 */
  .index .line {
    position: static;
    width: 80%;
    margin: 1rem auto;
  }

  /* 聯絡資訊群組直排，靠左對齊 */
  .index .group,
  .index .group-2,
  .index .group-3 {
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0rem;
    width: 100%;
    padding-left: 1rem;
    box-sizing: border-box;
    margin-top: 10px; /* 加上 margin-top 往下移 */
  }

 .index .text-wrapper-6-1 {
  position: static;
  font-size: 0.9rem;
  letter-spacing: 1px;
  white-space: normal;   /* 允許換行 */
}

 .index .text-wrapper-7-1 {
  position: static;
  font-size: 1rem;
  letter-spacing: 1px;
  margin-right: -10px; /* 加間距 */
}

  /* 導覽連結改成直排，置中對齊 */
  .index .text-wrapper-9,
  .index .text-wrapper-10,
  .index .text-wrapper-11,
  .index .text-wrapper-12,
  .index .text-wrapper-13,
  .index .text-wrapper-14 {
    position: static;
    display: block;
    margin: 0.3rem 0;
    text-align: center;
    font-size: 1rem;
    width: 100%;
    padding-right: 1rem;
    box-sizing: border-box;
  }

  /* 桌機版的小直線在手機隱藏 */
  .index .line-1,
  .index .line-2,
  .index .line-3,
  .index .line-4,
  .index .line-5,
  .index .line-6 {
    display: none;
  }

  /* 版權文字放最下面一列，斷行置中 */
  .index .text-wrapper {
    position: static;
    width: 100%;
    margin-top: 1.5rem;
    white-space: normal;
    text-align: center;
    font-size: 0.8rem;
  }
}

.index .view {
  position: absolute;
  width: 1200px;
  height: 400px;
  top: 4113px;
  left: 120px;
}

.index .read-more {
  top: 368px;
  left: 1080px;
  position: absolute;
  width: 122px;
  height: 32px;
}

.index .div-wrapper {
  position: relative;
  height: 34px;
  top: -1px;
  left: -1px;
  border: 1px solid;
  border-color: #5c5c5c;
}

.index .text-wrapper-15 {
  position: absolute;
  width: 120px;
  top: 8px;
  left: 0;
  font-family: "DFPHeiMedium-B5-Regular", Helvetica;
  font-weight: 400;
  color: #5c5c5c;
  font-size: 16px;
  text-align: center;
  letter-spacing: 3.20px;
  line-height: normal;
  white-space: nowrap;
}

.index .image-block {
  position: absolute;
  overflow: hidden;
}

.index .image-block img.hover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
  display: block;
}


.index .view-2 {
  display: flex;
  flex-direction: column;
  width: 250px;
  align-items: center;
  gap: 16px;
  position: absolute;
  top: 4007px;
  left: 620px;
}

@media (max-width: 768px) {
  /* view-2 置中 */
  .index .view-2 {
    position: relative;   /* 不要用 absolute，改回正常流排版 */
    top: auto;
    left: auto;
    margin: 0 auto;       /* 置中 */
    width: 100%;          /* 滿版 */
    max-width: 300px;     /* 可選，避免太大 */
    text-align: center;   /* 文字置中 */
    padding: 20px 10px;
    margin-top: 50px;    /* 上方間距 */
  }

  .index .view {
    position: relative;      /* 取消桌機版 absolute，改為自然排版 */
    top: auto;
    left: auto ;
    width: 100%;
    height: auto;            /* 高度自動撐開 */
    display: flex;
    flex-direction: column;  /* 垂直排列 */
    margin: 0 auto;       /* 置中 */
    gap: 30px;               /* 元素之間間距 */
    padding: 20px 0;
  }

  /* 預設隱藏所有 image-block */
  .index .view .image-block {
    display: none;
  }

  /* 只顯示 mobile-show 的五張 */
  .index .view .image-block.mobile-show {
    display: block;
    position: static !important;  /* 🔑 取消 inline 的 absolute、top、left */
    margin: 0 auto;               /* 讓圖片自己置中 */
    width: 100%;                   /* RWD 縮放 */
    max-width: 250px;
    height: auto;
  }

  .index .view .image-block.mobile-show img {
    width: 100%;
    height: auto;        /* 保持比例縮放 */
    object-fit: contain;
  }

  .index .read-more {
    position: relative;   /* 不要絕對定位 */
    top: auto;
    left: auto;
    margin: 0 auto;    /* 置中 */
    text-align: center;
    z-index: 1;
  }
  }  
  
.index .line-7 {
  position: relative;
  width: 80px;
  height: 5px;
  background-color:#0167b5
}

.index .view-3 {
  position: absolute;
  width: 1280px;
  height: 400px;
  top: 3439px;
  left: 79px;
  overflow: hidden;
}

.index .overlap-group-wrapper {
  top: 367px;
  left: 1159px;
  position: absolute;
  width: 122px;
  height: 32px;
}

.index .frame-wrapper {
  position: absolute;
  width: 400px;
  height: 300px;
  top: 50px;
  left: 0;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}

.index .frame-wrapper .frame-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

/* 讓圖片 hover 時放大 */
.index .frame-wrapper:hover .frame-image {
  transform: scale(1.1); /* 放大 10% */
}

.index .frame-wrapper .frame {
  position: relative;
  z-index: 1; /* 讓文字在圖片上層 */
}


.index .frame {
  flex-direction: column;
  width: 207px;
  gap: 4px;
  top: 133px;
  left: 20px;
  display: flex;
  align-items: flex-start;
  position: relative;
}

.index .text-wrapper-17 {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  text-shadow: 0px 0px 5px #00000040;
  font-family: "DFPNHeiXBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 30px;
  letter-spacing: 3.00px;
  line-height: normal;
}

.index .text-wrapper-18 {
  position: relative;
  align-self: stretch;
  text-shadow: 0px 0px 5px #00000040;
  font-family: "DFPNHeiXBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: 0;
  line-height: normal;
}

.index .view-4 {
  position: absolute;
  width: 400px;
  height: 300px;
  top: 50px;
  left: 440px;
  border-radius: 15px;
  overflow: hidden;
}

.index .view-4 .view4-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 1s ease-in-out;
  z-index: 0; /* 確保圖片在文字下方 */
}

.index .view-4:hover .view4-bg {
  transform: scale(1.1); /* 放大圖片 */
}

.index .view-4 .frame-2 {
  position: relative;
  z-index: 1; /* 確保文字在圖片上層 */
}


.index .frame-2 {
  flex-direction: column;
  width: 182px;
  gap: 4px;
  top: 133px;
  left: 22px;
  display: flex;
  align-items: flex-start;
  position: relative;
}

.index .text-wrapper-19 {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  text-shadow: 0px 0px 5px #00000040;
  font-size: 30px;
  letter-spacing: 6.00px;
  font-family: "DFPNHeiXBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #ffffff;
  line-height: normal;
}

.index .view-5 {
  position: absolute;
  width: 400px;
  height: 300px;
  top: 50px;
  left: 880px;
  border-radius: 15px;
  overflow: hidden;
}

.index .view-5 .view5-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 1s ease-in-out;
  z-index: 0;
}

.index .view-5:hover .view5-bg {
  transform: scale(1.1);
}

.index .view-5 .frame-3 {
  position: relative;
  z-index: 1;
}

.index .frame-3 {
  flex-direction: column;
  width: 190px;
  gap: 4px;
  top: 133px;
  left: 22px;
  display: flex;
  align-items: flex-start;
  position: relative;
}

.index .view-6 {
  display: flex;
  flex-direction: column;
  width: 250px;
  align-items: center;
  gap: 16px;
  position: absolute;
  top: 3333px;
  left: 620px;
}

@media (max-width: 768px) {

  /* view-6 置中 */
  .index .view-6 {
    position: relative;   /* 不要用 absolute，改回正常流排版 */
    top: auto;
    left: auto;
    margin: 0 auto;       /* 置中 */
    width: 100%;          /* 滿版 */
    max-width: 300px;     /* 可選，避免太大 */
    text-align: center;   /* 文字置中 */
    padding: 20px 10px;
    margin-top: 50px;    /* 上方間距 */
  }

  /* --- 整體容器 view-3 --- */
  .index .view-3 {
    position: relative ;
    top: auto ;
    left: auto ;
    width: 100% ;
    max-width: 95% ;
    margin: 0 auto ;
    padding: 10px ;
    height: auto  ; 
    overflow: visible ;
    display: block;      /* 確保換行 */
    margin-bottom: 20px; /* 下方間距，避免緊貼 */
    margin-top: -20px; 
  }

  /* --- 單張卡片 (frame-wrapper, view-4, view-5) --- */
  .index .frame-wrapper,
  .index .view-4,
  .index .view-5 {
    position: relative ;
    top: auto;
    left: auto;    
    width: 100%;  
    max-width: 350px;    
    max-height: 250px; /* 最大高度 */
    margin: 20px auto;
    border-radius: 15px;
    overflow: hidden;
    z-index: 0;         /* 圖片在底層 */
  }

  /* --- 圖片設定：維持比例，不壓縮 --- */
  .index .frame-image,
  .index .view4-bg,
  .index .view5-bg {
    width: 100%;
    height: auto; 
    display: block;
    object-fit: cover;    /* 如果希望超出部分裁切，可以保留 */
    position: relative !important;
    z-index: 0;         /* 圖片在底層 */
  }

  /* --- 文字區塊設定 --- */
  .index .frame,
  .index .frame-2,
  .index .frame-3 {
    position: static;          /* 取消 absolute */
    top: 0%;        /* 控制文字靠上 */        
    left: 50%;          
    transform: translate(-50%, -120%);
    z-index: 1;         /* 高於圖片 */
    text-align: left;
    padding: 10px;
    width: 100%;         /* 可以限制文字區域寬度 */
  }

  /* --- Read More 按鈕區塊 --- */
  .index .overlap-group-wrapper {
    position: relative;   /* 不要絕對定位 */
    top: auto;
    left: auto;
    margin: 0 auto; 
    text-align: center;
    z-index: 1;
}
 }


.index .view-7 {
  position: absolute;
  width: 1200px;
  height: 448px;
  top: 2720px;
  left: 120px;
}

.index .news-1 {
  display: flex;
  flex-direction: column;
  width: 652px;
  align-items: flex-start;
  gap: 8px;
  position: absolute;
  top: 20px;
  left: 548px;
}

.index .text-wrapper-21 {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "DFPHeiUBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #0167b5;
  font-size: 16px;
  letter-spacing: 3px;
  line-height: normal;
}

.index .text-wrapper-22 {
  position: relative;
  align-self: stretch;
  font-family: "DFPHeiMedium-B5-Regular", Helvetica;
  font-weight: bold; /* 或 700 */
  color: #6b6b6b;
  font-size: 20px;
  letter-spacing: 2.00px;
  line-height: normal;
}

.index .text-wrapper-23 {
  position: relative;
  align-self: stretch;
  font-family: "DFPHeiMedium-B5-Regular", Helvetica;
  font-weight: 400;
  color: #8a8a8a;
  font-size: 12px;
  letter-spacing: 0.9px;
  line-height: normal;
}

.index .line-9 {
  position: relative;
  align-self: stretch;
  width: 100%;
  height: 1px;
  background-color:#c5c5c5;
}

.index .news-2 {
  display: flex;
  flex-direction: column;
  width: 652px;
  align-items: flex-start;
  gap: 8px;
  position: absolute;
  top: 150px;
  left: 548px;
}

.index .news-3 {
  display: flex;
  flex-direction: column;
  width: 652px;
  align-items: flex-start;
  gap: 8px;
  position: absolute;
  top: 280px;
  left: 548px;
}

.index .rectangle-2 {
  position: absolute;
  width: 520px;
  height: 448px;
  top: 0;
  left: 0;
}

.index .read-more-2 {
  top: 440px;
  left: 1080px;
  position: absolute;
  width: 122px;
  height: 32px;
}

.index .view-8 {
  display: flex;
  flex-direction: column;
  width: 250px;
  align-items: center;
  gap: 16px;
  position: absolute;
  top: 2601px;
  left: 620px;
}

.index .text-wrapper-24 {
  position: relative;
  align-self: stretch;
  font-family: "DFPHeiBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #0167b5;
  font-size: 24px;
  text-align: center;
  letter-spacing: 4px;
  line-height: 1;
}

.index .text-wrapper-16 {
  position: relative;
  align-self: stretch;
  font-family: "DFPNHeiXBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 40px;
  text-align: center;
  letter-spacing: 0;
  line-height: 1;
}

@media (max-width: 768px) {
  /* view-8 置中 */
  .index .view-8 {
    position: relative;   /* 不要用 absolute，改回正常流排版 */
    top: auto;
    left: auto;
    margin: 0 auto;       /* 置中 */
    width: 100%;          /* 滿版 */
    height: auto;
    max-width: 300px;     /* 可選，避免太大 */
    text-align: center;   /* 文字置中 */
    padding: 20px 10px;
    margin-top: 50px; 
  }

  /* view-7 靠左並縮小 */
  .index .view-7 {
    position: relative;   /* 解除 absolute，跟隨正常流 */
    top: auto;
    left: auto;
    width: 100%;          /* 滿版 */
    height: auto;
    max-width: 95%;       /* 依比例縮小 */
    margin: 0 auto;       /* 置中或改成 margin-left: 0 就靠左 */
    padding: 10px;
  }

  /* 內部的 news 卡片改成直向堆疊 */
  .index .news-1,
  .index .news-2,
  .index .news-3 {
    position: relative;   /* 不要 absolute */
    top: auto;
    left: auto;
    width: 100%;
    margin-bottom: 40px;  /* 分隔 */
  }

  /* rectangle-2 在手機版隱藏 */
  .index .rectangle-2 {
    display: none;
  }

  /* read more 位置修正 */
  .index .read-more-2 {
    position: relative;   /* 不要絕對定位 */
    top: auto;
    left: auto;
    margin: 0 auto;    /* 置中 */
    text-align: center;
    z-index: 1;
  }
}

.index .view-10 {
  display: flex;
  flex-direction: column;
  width: 200px;
  align-items: center;
  gap: 16px;
  position: absolute;
  top: 1958px;
  left: 620px;
  z-index: 10; /* 加上這行，層級比 image 高 */
}

.index .image {
  position: absolute;
  width: 1440px;
  height: 530px;
  top: 1930px;
  left: 0;
  object-fit: cover;
  z-index: 0; /* 或依你設計調整 */
}

.index .line-10 {
  position: absolute;
  width: 1130px;
  height: 1px;
  top: 2135px;
  left: 155px;
  z-index: 1; /* 蓋在圖片上面 */
  background-color:#8a8a8a
}

.index .view-9 {
  position: absolute;
  width: 1200px; /* 可視區域寬度 */
  height: 400px;
  top: 2050px;
  left: 120px;
  overflow-x: scroll; /* 允許水平滾動 */
  overflow-y: hidden; /* 隱藏垂直滾動條 */
  white-space: nowrap; /* 確保內容水平排列 */
  z-index: 1; /* 蓋在圖片上面 */
}

.index .view-9 {
  scrollbar-width: none; /* Firefox 隱藏滾動條 */
  -ms-overflow-style: none; /* Edge 隱藏滾動條 */
}
.index .view-9::-webkit-scrollbar {
  display: none; /* Chrome/Safari 隱藏滾動條 */
}

.index .frame-4 {
  display: inline-block;
  width: 7500px;
  height: 100%;
  background-image: url(./img/Myears-01.png); 
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1; /* 蓋在圖片上面 */
}

.index .caret-circle-left {
  left: 118px;
  position: absolute;
  width: 40px;
  height: 40px;
  top: 2115px;
  z-index: 1; /* 蓋在圖片上面 */
}

.index .caret-circle-right {
  left: 1282px;
  position: absolute;
  width: 40px;
  height: 40px;
  top: 2115px;
  z-index: 1; /* 蓋在圖片上面 */
}

.index .caret-circle-left,
.index.caret-circle-right {
  transition: opacity 0.5s ease;
}

.index .caret-circle-left[style*="display: none"],
.index.caret-circle-right[style*="display: none"] {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 768px) {

  .index .image-wrapper {
    position: relative; /* 讓子元素可以用絕對定位參考這個容器 */
    width: 100%;
    height: auto; /* 可自行調整 */
  }

  .index .view-10 {
  position: absolute;
    top: 0%;       /* 往下 20%（以圖片高度為基準） */
    left: 50%;      /* 水平置中 */
    transform: translateX(-50%); /* 僅水平修正 */
    z-index: 1; /* 疊在圖片上 */
    width: 100%;
    height: auto;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* line-10 線條 */
.image-wrapper .line-10 {
  position: absolute;
  top: 41%;      /* 調整垂直位置 */
  left: 50%;
  transform: translateX(-47%);
  width: 76%;    /* 調整長度 */
  z-index: 1; /* 疊在圖片上 */
}

/* view-9 滾動區塊 */
.image-wrapper .view-9 {
  position: absolute;
  top: 24%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 400px; /* 可自行調整 */
  overflow-x: scroll;
  white-space: nowrap;
  z-index: 1; /* 疊在圖片上 */
}

/* 左右箭頭 */
.image-wrapper .caret-circle-left,
.image-wrapper .caret-circle-right {
  position: absolute;
  top: 41%;  /* 調整垂直位置 */
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  z-index: 1; /* 疊在圖片上 */
}

.image-wrapper .caret-circle-left {
  left: 5%;  /* 調整水平位置 */
}

.image-wrapper .caret-circle-right {
  left: 90%; /* 調整水平位置 */
}

/* 背景圖固定高度，左右裁切 */
.index .image {
  position: relative;
  top: auto;
  left: auto;
  margin-top: 50px; /* 跟上方的距離 */
  width: 100%;
  height: 500px; /* 可自行調整 */
  object-fit: cover;
  object-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 0;         /* 最底層 */
  }
}

.index .element-3 {
  position: relative;
  width: 137px;
  height: 122px;
}

.index .m {
  left: 59px;
  position: absolute;
  width: 24px;
  height: 47px;
  top: 0;
}

.index .overlap-group-2 {
  position: relative;
  height: 47px;
}

.index .line-11 {
  position: absolute;
  width: 1px;
  height: 24px;
  top: 23px;
  left: 12px;
  object-fit: cover;
}

.index .ellipse {
  position: absolute;
  width: 24px;
  height: 24px;
  top: 0;
  left: 0;
  background-color: #0167b5;
  border-radius: 12px;
}

.index .ellipse-2 {
  position: absolute;
  width: 10px;
  height: 10px;
  top: 7px;
  left: 7px;
  background-color: #ffffff;
  border-radius: 5px;
}

.index .text-wrapper-25 {
  position: absolute;
  top: 88px;
  left: 11px;
  font-family: "DFPHeiBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #6a6a6a;
  font-size: 12px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .text-wrapper-26 {
  position: absolute;
  top: 109px;
  left: 11px;
  font-family: "DFPHeiBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #6a6a6a;
  font-size: 12px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .text-wrapper-27 {
  left: 50px;
  position: absolute;
  top: 64px;
  font-family: "DFPNHeiXBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .line-12 {
  position: absolute;
  width: 1px;
  height: 21px;
  top: 95px;
  left: 0;
  object-fit: cover;
}

.index .element-4 {
  position: relative;
  width: 164px;
  height: 101px;
}

.index .m-2 {
  left: 68px;
  position: absolute;
  width: 24px;
  height: 47px;
  top: 0;
}

.index .text-wrapper-28 {
  top: 88px;
  left: 0;
  font-family: "DFPHeiBold-B5-Regular", Helvetica;
  color: #6a6a6a;
  font-size: 12px;
  letter-spacing: 0;
  position: absolute;
  font-weight: 400;
  text-align: center;
  line-height: normal;
  white-space: nowrap;
}

.index .text-wrapper-29 {
  left: 59px;
  position: absolute;
  top: 64px;
  font-family: "DFPNHeiXBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .element-5 {
  position: relative;
  width: 140px;
  height: 101px;
}

.index .m-3 {
  left: 56px;
  position: absolute;
  width: 24px;
  height: 47px;
  top: 0;
}

.index .text-wrapper-30 {
  left: 47px;
  position: absolute;
  top: 64px;
  font-family: "DFPNHeiXBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .element-6 {
  position: relative;
  width: 210px;
  height: 203px;
}

.index .m-4 {
  left: 88px;
  position: absolute;
  width: 24px;
  height: 47px;
  top: 0;
}

.index .text-wrapper-31 {
  position: absolute;
  top: 88px;
  left: 16px;
  font-family: "DFPHeiBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #6a6a6a;
  font-size: 12px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .text-wrapper-32 {
  position: absolute;
  top: 109px;
  left: 16px;
  font-family: "DFPHeiBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #6a6a6a;
  font-size: 12px;
  letter-spacing: 0;
  line-height: normal;
}

.index .text-wrapper-33 {
  position: absolute;
  top: 143px;
  left: 16px;
  font-family: "DFPHeiBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #6a6a6a;
  font-size: 12px;
  letter-spacing: 0;
  line-height: normal;
}

.index .text-wrapper-34 {
  position: absolute;
  top: 177px;
  left: 16px;
  font-family: "DFPHeiBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #6a6a6a;
  font-size: 12px;
  letter-spacing: 0;
  line-height: normal;
}

.index .text-wrapper-35 {
  left: 80px;
  position: absolute;
  top: 64px;
  font-family: "DFPNHeiXBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .overlap-wrapper {
  position: absolute;
  width: 6px;
  height: 95px;
  top: 95px;
  left: 0;
}

.index .overlap-3 {
  position: relative;
  height: 95px;
}

.index .line-13 {
  position: absolute;
  width: 1px;
  height: 95px;
  top: 0;
  left: 3px;
  object-fit: cover;
}

.index .ellipse-4 {
  position: absolute;
  width: 6px;
  height: 6px;
  top: 58px;
  left: 0;
  background-color: #0167b5;
  border-radius: 3px;
}

.index .element-7 {
  position: relative;
  width: 172px;
  height: 143px;
}

.index .m-5 {
  left: 70px;
  position: absolute;
  width: 24px;
  height: 47px;
  top: 0;
}

.index .text-wrapper-36::before {
  content: "";
  display: inline-block;
  width: 8px; /* 設定圓點寬度 */
  height: 8px; /* 設定圓點高度 */
  background-color: #0167b5; /* 設定藍色 */
  border-radius: 50%; /* 讓它變成圓形 */
  margin-right: 8px; /* 調整圓點與文字間距 */
  vertical-align: middle; /* 垂直置中對齊 */
}
.index .text-wrapper-36 {
  position: absolute;
  top: 88px;
  left: 12px;
  font-family: "DFPHeiBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #6a6a6a;
  font-size: 12px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .text-wrapper-38 {
  top: 130px;
  position: absolute;
  left: 12px;
  font-family: "DFPHeiBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #6a6a6a;
  font-size: 12px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .text-wrapper-39 {
  left: 61px;
  position: absolute;
  top: 64px;
  font-family: "DFPNHeiXBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .group-4 {
  position: absolute;
  width: 6px;
  height: 42px;
  top: 95px;
  left: 0;
}

.index .overlap-4 {
  position: relative;
  height: 42px;
}

.index .line-14 {
  position: absolute;
  width: 1px;
  height: 42px;
  top: 0;
  left: 3px;
  object-fit: cover;
}

.index .ellipse-5 {
  position: absolute;
  width: 6px;
  height: 6px;
  top: 18px;
  left: 0;
  background-color: #0167b5;
  border-radius: 3px;
}

.index .element-8 {
  position: relative;
  width: 213px;
  height: 156px;
}

.index .m-6 {
  left: 91px;
  position: absolute;
  width: 24px;
  height: 47px;
  top: 0;
}

.index .text-wrapper-40 {
  position: absolute;
  top: 130px;
  left: 12px;
  font-family: "DFPHeiBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #6a6a6a;
  font-size: 12px;
  letter-spacing: 0;
  line-height: normal;
}

.index .text-wrapper-41 {
  left: 82px;
  position: absolute;
  top: 64px;
  font-family: "DFPNHeiXBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .group-5 {
  position: absolute;
  width: 6px;
  height: 48px;
  top: 95px;
  left: 0;
}

.index .overlap-5 {
  position: relative;
  height: 48px;
}

.index .line-15 {
  position: absolute;
  width: 1px;
  height: 48px;
  top: 0;
  left: 3px;
  object-fit: cover;
}

.index .element-9 {
  position: relative;
  width: 124px;
  height: 114px;
}

.index .m-7 {
  left: 48px;
  position: absolute;
  width: 24px;
  height: 47px;
  top: 0;
}

.index .text-wrapper-42 {
  position: absolute;
  top: 88px;
  left: 0;
  font-family: "DFPHeiBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #6a6a6a;
  font-size: 12px;
  letter-spacing: 0;
  line-height: normal;
}

.index .text-wrapper-43 {
  left: 40px;
  position: absolute;
  top: 64px;
  font-family: "DFPNHeiXBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .element-10 {
  position: relative;
  width: 218px;
  height: 142px;
}

.index .m-8 {
  left: 94px;
  position: absolute;
  width: 24px;
  height: 47px;
  top: 0;
}

.index .text-wrapper-44 {
  position: absolute;
  top: 116px;
  left: 9px;
  font-family: "DFPHeiBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #6a6a6a;
  font-size: 12px;
  letter-spacing: 0;
  line-height: normal;
}

.index .text-wrapper-45 {
  position: absolute;
  top: 94px;
  left: 9px;
  font-family: "DFPHeiBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #6a6a6a;
  font-size: 12px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .text-wrapper-46 {
  left: 85px;
  position: absolute;
  top: 64px;
  font-family: "DFPNHeiXBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .line-16 {
  position: absolute;
  width: 1px;
  height: 28px;
  top: 101px;
  left: 0;
  object-fit: cover;
}

.index .element-11 {
  position: relative;
  width: 187px;
  height: 101px;
}

.index .m-9 {
  left: 80px;
  position: absolute;
  width: 24px;
  height: 47px;
  top: 0;
}

.index .text-wrapper-48 {
  left: 71px;
  position: absolute;
  top: 64px;
  font-family: "DFPNHeiXBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .element-12 {
  position: relative;
  width: 216px;
  height: 211px;
}

.index .m-10 {
  left: 86px;
  position: absolute;
  width: 24px;
  height: 47px;
  top: 0;
}

.index .text-wrapper-49 {
  position: absolute;
  top: 151px;
  left: 12px;
  font-family: "DFPHeiBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #6a6a6a;
  font-size: 12px;
  letter-spacing: 0;
  line-height: normal;
}

.index .text-wrapper-50 {
  position: absolute;
  top: 185px;
  left: 12px;
  font-family: "DFPHeiBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #6a6a6a;
  font-size: 12px;
  letter-spacing: 0;
  line-height: normal;
}

.index .text-wrapper-51 {
  left: 77px;
  position: absolute;
  top: 64px;
  font-family: "DFPNHeiXBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .group-6 {
  height: 103px;
  position: absolute;
  width: 6px;
  top: 95px;
  left: 0;
}

.index .overlap-6 {
  position: relative;
  height: 103px;
}

.index .line-17 {
  height: 103px;
  position: absolute;
  width: 1px;
  top: 0;
  left: 3px;
  object-fit: cover;
}

.index .ellipse-6 {
  position: absolute;
  width: 6px;
  height: 6px;
  top: 39px;
  left: 0;
  background-color: #0167b5;
  border-radius: 3px;
}

.index .ellipse-7 {
  position: absolute;
  width: 6px;
  height: 6px;
  top: 66px;
  left: 0;
  background-color: #0167b5;
  border-radius: 3px;
}

.index .element-13 {
  position: relative;
  width: 262px;
  height: 164px;
}

.index .m-11 {
  left: 114px;
  position: absolute;
  width: 24px;
  height: 47px;
  top: 0;
}

.index .text-wrapper-52 {
  position: absolute;
  top: 151px;
  left: 12px;
  font-family: "DFPHeiBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #6a6a6a;
  font-size: 12px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .text-wrapper-53 {
  left: 105px;
  position: absolute;
  top: 64px;
  font-family: "DFPNHeiXBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .group-7 {
  height: 63px;
  position: absolute;
  width: 6px;
  top: 95px;
  left: 0;
}

.index .overlap-7 {
  position: relative;
  height: 63px;
}

.index .line-18 {
  height: 63px;
  position: absolute;
  width: 1px;
  top: 0;
  left: 3px;
  object-fit: cover;
}

.index .element-14 {
  position: relative;
  width: 250px;
  height: 169px;
}

.index .m-12 {
  left: 100px;
  position: absolute;
  width: 24px;
  height: 47px;
  top: 0;
}

.index .text-wrapper-54::before {
  content: "";
  display: inline-block;
  width: 8px; /* 設定圓點寬度 */
  height: 8px; /* 設定圓點高度 */
  background-color: #0167b5; /* 設定藍色 */
  border-radius: 50%; /* 讓它變成圓形 */
  margin-right: 8px; /* 調整圓點與文字間距 */
  vertical-align: middle; /* 垂直置中對齊 */
}

.index .text-wrapper-54 {
  text-indent: -2em;  /* 讓第二行回到對齊句首 */
  padding-left: 2em;  /* 整體往右移，維持對齊 */
}

.index .text-wrapper-54 {
  position: absolute;
  top: 112px;
  left: 12px;
  font-family: "DFPHeiBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #6a6a6a;
  font-size: 12px;
  letter-spacing: 0;
  line-height: normal;
}

.index .AI::before {
  content: "";
  display: inline-block;
  width: 8px; /* 設定圓點寬度 */
  height: 8px; /* 設定圓點高度 */
  background-color: #0167b5; /* 設定藍色 */
  border-radius: 50%; /* 讓它變成圓形 */
  margin-right: 8px; /* 調整圓點與文字間距 */
  vertical-align: middle; /* 垂直置中對齊 */
}

.index .AI {
  text-indent: -2em;  /* 讓第二行回到對齊句首 */
  padding-left: 2em;  /* 整體往右移，維持對齊 */
}

.index .AI {
  top: 150px;
  position: absolute;
  left: 12px;
  font-family: "DFPHeiBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #6a6a6a;
  font-size: 12px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;/* 避免換行 */
}

.index .text-wrapper-55 {
  left: 91px;
  position: absolute;
  top: 64px;
  font-family: "DFPNHeiXBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .overlap-8 {
  position: relative;
  height: 61px;
}

.index .line-19 {
  height: 61px;
  position: absolute;
  width: 1px;
  top: 0;
  left: 3px;
  object-fit: cover;
}

.index .element-15 {
  position: relative;
  width: 231px;
  height: 156px;
}


.index .group-9 {
  height: 55px;
  position: absolute;
  width: 6px;
  top: 95px;
  left: 0;
}

.index .overlap-9 {
  position: relative;
  height: 55px;
}

.index .element-16 {
  position: relative;
  width: 208px;
  height: 101px;
}

.index .m-13 {
  left: 90px;
  position: absolute;
  width: 24px;
  height: 47px;
  top: 0;
}

.index .element-17 {
  position: relative;
  width: 267px;
  height: 122px;
}

.index .m-14 {
  left: 119px;
  position: absolute;
  width: 24px;
  height: 47px;
  top: 0;
}

.index .text-wrapper-57 {
  position: absolute;
  top: 88px;
  left: 9px;
  font-family: "DFPHeiBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #6a6a6a;
  font-size: 12px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .text-wrapper-58 {
  position: absolute;
  top: 109px;
  left: 9px;
  font-family: "DFPHeiBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #6a6a6a;
  font-size: 12px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .text-wrapper-59 {
  left: 110px;
  position: absolute;
  top: 64px;
  font-family: "DFPNHeiXBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.index .overlap-10 {
  position: relative;
  width: 32px;
  height: 32px;
  top: 4px;
  left: 4px;
}

.index .ellipse-8 {
  position: absolute;
  width: 32px;
  height: 32px;
  top: 0;
  left: 0;
  background-color: #ffffff;
  border-radius: 16px;
}

.index .vector {
  width: 32px;
  height: 32px;
  position: absolute;
  top: 0;
  left: 0;
}

.index .view-11 {
  position: absolute;
  width: 1200px;
  height: 750px;
  top: 1050px;
  left: 120px;
  background-color: #ffffff;
}

/* 讓關於我們背景先出現 */
.index .overlap-11 {
  position: relative;
  height: 750px;
  overflow: hidden; /* 如果有動畫可加這行避免跑版 */
}

.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0; /* 或依你設計調整 */
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
}

.bg-image.show {
  opacity: 1;
  transform: translateX(0);
}
/* 讓關於我們背景先出現結束 */

.index .halftone-circle {
  position: absolute;
  width: 580px;
  height: 580px;
  top: 90px;
  left: 300px;
  object-fit: cover;
}

.index .view-11-5 {
  position: relative;
  width: 250px;
  height: 250px;
  top: 255px;
  left: 470px;
  background-image: url(./img/w1.gif);
  background-size: cover;
  background-position: 50% 50%;
}

.index .view-12 {
  position: absolute;
  width: 172px;
  height: 170px;
  top: 302px;
  left: 234px;
}

.index .overlap-group-3 {
  position: relative;
  width: 170px;
  height: 170px;
  background-image: url(./img/b1-1-3.gif);
  background-size: cover;
  background-position: 50% 50%;
}

.index .exclude {
  position: absolute;
  width: 141px;
  height: 141px;
  top: 14px;
  left: 14px;
}

.overlap-group-2-5 {
  position: relative;
  width: 250px;
  height: 250px;
  background-size: cover;
  background-position: center;
}

.index .exclude-1 {
  position: absolute;
  width: 200px;
  height: 200px;
  top: 25px;
  left: 25px;
  opacity: 0.5; /* 透明度 50% */
}
.index .text-wrapper-60-5 {
  position: absolute;
  top: 90px;
  left: 85px;
  font-family: "DFPNHeiXBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: rgb(1, 103, 181);
  font-size: 20px;
  text-align: center;
  letter-spacing: 0;
  line-height: 30px;
  font-weight: bold; /* 設定為粗體 */
  white-space: nowrap;         /* 不允許自動換行 */
  width: max-content;          /* 寬度根據內容自動撐開 */
  max-width: 100%;             /* 避免超出容器 */
}
.index .text-wrapper-60-6 {
  position: absolute;
  top: 120px;
  left: 65px;
  font-family: "DFPNHeiXBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #0167b5;
  font-size: 30px;
  text-align: center;
  letter-spacing: 0;
  line-height: 30px;
  font-weight: bold; /* 設定為粗體 */
  white-space: nowrap;         /* 不允許自動換行 */
  width: max-content;          /* 寬度根據內容自動撐開 */
  max-width: 100%;             /* 避免超出容器 */
}

.index .text-wrapper-60 {
  position: absolute;
  width: 150px;
  height: 60px;
  top: 55px;
  left: 10px;
  font-family: "DFPNHeiXBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 20px;
  text-align: center;
  letter-spacing: 0;
  line-height: 30px;
}

.index .view-13 {
  position: absolute;
  width: 172px;
  height: 170px;
  top: 546px;
  left: 409px;
}

.index .text-wrapper-61 {
  position: absolute;
  top: 55px;
  left: 35px;
  font-family: "DFPNHeiXBold-B5-Regular", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 20px;
  text-align: center;
  letter-spacing: 0;
  line-height: 30px;
}

.index .view-14 {
  position: absolute;
  width: 172px;
  height: 170px;
  top: 457px;
  left: 735px;
}

.index .view-14-5 {
  position: absolute;
  width: 170px;
  height: 170px;
  top: 125px;
  left: 735px;
}

.index .view-15 {
  position: absolute;
  width: 172px;
  height: 170px;
  top: 38px;
  left: 416px;
}

@media (max-width: 768px) {
  /* view-11 區塊全寬，取消固定位置 */
  .index .view-11 {
    position: relative; /* 或 static */
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    margin-top: 50px; /* 跟上方的距離 */
  }

  /* 背景圖置中縮放 */
  .index .overlap-11 {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* 背景圖固定高度，左右裁切 */
  .bg-image {
    position: relative;
    width: 100%;
    height: 500px; /* 可以改成需要的高度 */
    object-fit: cover;
    object-position: center;
  }

  /* 隱藏半色調圓 */
  .halftone-circle {
    display: none;
  }

  .index .view-11-5 {
  position: absolute;
  top: 30%;   
  left: 50%;  
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;  /* 垂直置中 */
  align-items: center;      /* 水平置中 */
  gap: 4px;                 /* 英文與中文文字間距 */
  z-index: 2;
}

  /* exclude-1 縮小置中 */
  .index .exclude-1 {
  position: absolute;  /* 疊在容器正中間 */
  width: 120px;
  height: 120px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;  /* 在文字下方 */
}

  .index .text-wrapper-60-5,
  .index .text-wrapper-60-6 {
  position: relative;  /* 不要用 absolute 或 top */
  text-align: center;
  z-index: 2;
  width: 100%;         /* 讓文字跟父容器同寬，便於置中 */
}
.index .text-wrapper-60-5 {
  top: 45px;
  left: 0%; 
  font-size: 14px;  ; 
}
.index .text-wrapper-60-6 {
  top: 35px;
  left: 0%; 
  font-size: 20px; 
}

  /* icon-row 變成橫向排列容器 */
  .index .icon-row {
    position: absolute !important;
    width: 500px;
    height: 50px;
    bottom: 75%;              /* 如果要往上移，就用 bottom 改 */
    left: 50%;      /* 父層一半 */
    transform: translateX(-50%) scale(0.8); /* 真正置中 + 縮小 */
  }



  /* 調整每個 icon 的位置，浮在背景圖上 */
  .index .view-12 { top: 200px; left: 0%; }
  .index .view-13 { top: 200px; left: 20%; }
  .index .view-14 { top: 200px; left: 40%; }
  .index .view-14-5 { top: 200px; left: 60%; }
  .index .view-15 { top: 200px; left: 80%; }
  
  /* 調整整個 overlap-group-3 尺寸 */
  .index .overlap-group-3 {
    width: 100px;             /* 手機版縮小 */
    height: 100px;
    position: relative;       /* 子元素 absolute 參考點 */
    background-size: cover;
    background-position: center;
  }

    /* 縮小 exclude 圖片並置中 */
  .index .overlap-group-3 .exclude {
    width: 80%;               /* 相對 overlap-group-3 */
    height: auto;
    position: absolute;
    top: 50%;                 /* 垂直置中 */
    left: 50%;                /* 水平置中 */
    transform: translate(-50%, -50%); /* 完全置中 */
    opacity: 0.8;
  }

  /* text-wrapper-60 文字置中重疊在圖片上 */
  .index .overlap-group-3 .text-wrapper-60 {
    position: absolute;
    top: 35%;               /* 調整文字垂直位置 */
    left: 50%;                /* 水平置中 */
    transform: translateX(-50%);
    width: 90%;
    text-align: center;
    font-size: 11px;          /* 手機版文字縮小 */
    line-height: 16px;
    color: #ffffff;
  }

  /* text-wrapper-61 文字置中重疊在圖片上 */
  .index .overlap-group-3 .text-wrapper-61 {
    position: absolute;
    top: 35%;              /* 調整文字垂直位置 */
    left: 50%;                /* 水平置中 */
    transform: translateX(-50%);
    width: 90%;
    text-align: center;
    font-size: 12px;          /* 手機版文字縮小 */
    line-height: 16px;
    color: #ffffff;
  }
}

.index .image-4-wrapper {
  position: relative; /* 讓子元素絕對定位依附在這個容器 */
}

.index .image-4 {
  position: relative;
  width: 1440px;
  height: 400px;
  top: 0;
  left: 0;
}

.index .view-count {
  position: absolute;
  top: 360px;         /* 根據需求調整垂直位置 */
  right: 20px;  /* 圖片右側往左 20px */
  font-family: "DFLiHeiBold(P)-Regular", Helvetica; /* 自訂字體（可改） */
  font-size: 18px;
  color: rgb(255, 255, 255);
  padding: 6px 12px;
  border-radius: 5px;
  background-color: rgba(1, 103, 181, 0.3); /* 半透明底色讓文字更清楚 */
}

@media (max-width: 768px) {
  .index .image-4 {
    width: 180%;
    height: auto;
    display: block;
  }

  .index .image-4-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: inline-block; /* 確保高度跟圖片一致 */
  }

  .index .view-count {
    top: 150px;     /* 調整這個數值往下移 */
    font-size: 12px;
    z-index: 10;
}
}

.index .view-16 {
  position: absolute;
  width: 1440px;
  height: 530px;
  top: 399px;
  left: 0;
  background-color: #f0f3f8;
}

.index .view-17 {
  display: flex;
  flex-direction: column;
  width: 250px;
  align-items: center;
  gap: 16px;
  position: absolute;
  top: 112px;
  left: 620px;
}


.index .text-wrapper-63 {
  position: absolute;
  width: 147px;
  height: 64px;
  top: 399px;
  left: 365px;
  font-family: "DFLiHeiBold(P)-Regular", Helvetica;
  font-weight: 400;
  color: #004f8a;
  font-size: 24px;
  text-align: center;
  letter-spacing: 0.50px;
  line-height: 32px;
}

.index .rectangle-wrapper {
  position: absolute;
  width: 110px;
  height: 110px;
  top: 260px;
  left: 383px;
  background-color: #d8e5f2;
}

.index .rectangle-3 {
  position: absolute;
  width: 80px;
  height: 80px;
  top: 15px;
  left: 15px;
  transition: all 0.3s ease;
}

/* 新增 hover 效果：設定 .hover-block 作為父層 */
.index .hover-block:hover .rectangle-3 {
  content: url("img/rectangle-1443-01.png");
}

.index .hover-block:hover .text-wrapper-63 {
  color: rgba(43, 161, 211, 1);
}

.index .img-wrapper {
  position: absolute;
  width: 110px;
  height: 110px;
  top: 260px;
  left: 150px;
  background-color: #d8e5f2;
}

.index .rectangle-4 {
  position: absolute;
  width: 80px;
  height: 100px;
  top: 5px;
  left: 15px;
  transition: all 0.3s ease;
}

.index .text-wrapper-64 {
  position: absolute;
  width: 147px;
  height: 64px;
  top: 399px;
  left: 132px;
  font-family: "DFLiHeiBold(P)-Regular", Helvetica;
  font-weight: 400;
  color: #004f8a;
  font-size: 24px;
  text-align: center;
  letter-spacing: 0.50px;
  line-height: 32px;
}

/*  新增 hover 效果：設定 .hover-block 作為父層 */
.index .hover-block-1:hover .rectangle-4 {
  content: url("img/rectangle-1443-1-01.png");
}

.index .hover-block-1:hover .text-wrapper-64 {
  color: rgba(43, 161, 211, 1);
}

.index .group-10 {
  position: absolute;
  width: 110px;
  height: 110px;
  top: 260px;
  left: 640px;
  background-color: #d8e5f2;
}

.index .rectangle-5 {
  position: absolute;
  width: 88px;
  height: 88px;
  top: 11px;
  left: 10px;
  transition: color 0.3s ease;
}

.index .text-wrapper-65 {
  position: absolute;
  width: 230px;
  height: 64px;
  top: 399px;
  left: 580px;
  font-family: "DFLiHeiBold(P)-Regular", Helvetica;
  font-weight: 400;
  color: #004f8a;
  font-size: 24px;
  text-align: center;
  letter-spacing: 0.50px;
  line-height: 32px;
}

/*  新增 hover 效果：設定 .hover-block 作為父層 */
.index .hover-block-2:hover .rectangle-5 {
  content: url("img/rectangle-1443-2-01.png");
}

.index .hover-block-2:hover .text-wrapper-65 {
  color: rgba(43, 161, 211, 1);
}

.index .group-11 {
  position: absolute;
  width: 110px;
  height: 110px;
  top: 260px;
  left: 912px;
  background-color: #d8e5f2;
}

.index .rectangle-6 {
  position: absolute;
  width: 85px;
  height: 85px;
  top: 15px;
  left: 12px;
  transition: color 0.3s ease;
}

.index .text-wrapper-66 {
  position: absolute;
  width: 230px;
  height: 64px;
  top: 399px;
  left: 857px;
  font-family: "DFLiHeiBold(P)-Regular", Helvetica;
  font-weight: 400;
  color: #004f8a;
  font-size: 24px;
  text-align: center;
  letter-spacing: 0.50px;
  line-height: 32px;
}

/*  新增 hover 效果：設定 .hover-block 作為父層 */
.index .hover-block-3:hover .rectangle-6 {
  content: url("img/rectangle-1443-3-01.png");
}

.index .hover-block-3:hover .text-wrapper-66 {
  color: rgba(43, 161, 211, 1);
}

.index .group-12 {
  position: absolute;
  width: 110px;
  height: 110px;
  top: 260px;
  left: 1184px;
  background-color: #d8e5f2;
}

.index .rectangle-7 {
  position: absolute;
  width: 90px;
  height: 90px;
  top: 10px;
  left: 10px;
  transition: color 0.3s ease;
}

.index .text-wrapper-68 {
  position: absolute;
  width: 147px;
  height: 64px;
  top: 399px;
  left: 1165px;
  font-family: "DFLiHeiBold(P)-Regular", Helvetica;
  font-weight: 400;
  color: #004f8a;
  font-size: 24px;
  text-align: center;
  letter-spacing: 0.50px;
  line-height: 32px;
}

/*  新增 hover 效果：設定 .hover-block 作為父層 */
.index .hover-block-4:hover .rectangle-7 {
  content: url("img/rectangle-1443-4-01.png");
}

.index .hover-block-4:hover .text-wrapper-68 {
  color: rgba(43, 161, 211, 1);
}

.index .line-21 {
  position: absolute;
  width: 1px;
  height: 195px;
  background-color:#0167b5;
  top: 260px;
  left: 320px;
  object-fit: cover;
}

.index .line-22 {
  position: absolute;
  width: 1px;
  height: 195px;
  background-color:#0167b5;
  top: 260px;
  left: 560px;
  object-fit: cover;
}

.index .line-23 {
  position: absolute;
  width: 1px;
  height: 195px;
  background-color:#0167b5;
  top: 260px;
  left: 820px;
  object-fit: cover;
}

.index .line-24 {
  position: absolute;
  width: 1px;
  height: 195px;
  background-color:#0167b5;
  top: 260px;
  left: 1125px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .index .view-16 {
    position: relative; /* 或 static */
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* view-17 置中 */
  .index .view-17 {
    position: static;
    align-items: center;
    margin-bottom: 20px;

  }

  /* 清除原本 absolute，改用 flex 流式排列 */
  .hover-block-1,
  .hover-block,
  .hover-block-2,
  .hover-block-3,
  .hover-block-4 {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center; /* 預設置中 */
    margin-bottom: 15px;
  }

  /* 尺寸縮小 */
  /* 外框：flex 置中 */
  .index .img-wrapper,
  .index .rectangle-wrapper,
  .index .group-10,
  .index .group-11,
  .index .group-12 {
    position: static;
    display: flex;
    align-items: center;   /* 垂直置中 */
    justify-content: center; /* 水平置中 */
    margin-top: 10px;
    width: 80px;           /* 手機版固定尺寸 */
    height: 80px;
    background-color: #d8e5f2;
    margin-left: auto;
    margin-right: auto;    /* 外框本身也置中 */
  }

  /* 內圖：保持比例縮放 */
  .index .rectangle-3,
  .index .rectangle-4,
  .index .rectangle-5,
  .index .rectangle-6,
  .index .rectangle-7 {
    position: static;
    width: 60px;
    height: auto;
  }

  .index .text-wrapper-64,
  .index .text-wrapper-63,
  .index .text-wrapper-65,
  .index .text-wrapper-66,
  .index .text-wrapper-68 {
    position: static;
    width: auto;
    font-size: 18px;
    text-align: center;
    margin-top: 10px;
  }

  .index .hover-block-2:hover .rectangle-5,
  .index .hover-block-1:hover .rectangle-4,
  .index .hover-block:hover .rectangle-3,
  .index .hover-block-3:hover .rectangle-6,
  .index .hover-block-4:hover .rectangle-7 {
    content: none;
  }

  /* 隱藏線條 */
  .line-21,
  .line-22,
  .line-23,
  .line-24 {
    display: none;
  }
}

.index .many-splendid {
  position: absolute;
  width: 361px;
  height: 56px;
  top: 12px;
  left: 27px;
  object-fit: cover;
}

/* 下拉選單的容器 */
.index .dropdown {
  position: relative;
  display: inline-block;
}

/* 下拉選單內容（預設隱藏） */
.index .dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.9); /* 白色帶 10% 透明 */
  min-width: 120px; /* 最小寬度 */
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2); /* 陰影效果 */
  z-index: 1; /* 確保選單浮在最上層 */
  top: 55px; /* 從上方偏移，使選單出現在主選項下方 */
  left: 60%;
  transform: translateX(-50%);
  border-radius: 4px; /* 圓角邊框 */
  padding: 8px 0; /* 上下內距 */
}

/* 下拉選單中的每個選項 */
.index .dropdown-item {
  padding: 10px 20px; /* 內距設定 */
  font-size: 16px; /* 字體大小 */
  color: #004f8a; /* 字體顏色 */
  cursor: pointer; /* 滑鼠游標改為手指形狀 */
  white-space: nowrap; /* 不換行 */
  text-align: center; /* 加這一行讓文字置中 */
  transition: all 0.3s ease
}

/* 滑鼠滑過下拉選項時的背景效果 */
.index .dropdown-item:hover {
  background-color: #004f8a; /* 背景變深藍 */
  color: white;              /* 字變白色 */
}

/* 滑鼠移到主選單項目時顯示下拉內容 */
.index .dropdown:hover .dropdown-content {
  display: block;
}

/* 平滑滾動 */
html, body {
  scroll-behavior: smooth;
}

.index .dropdown-item,
.index .dropdown-item:link,
.index .dropdown-item:visited {
  display: block;           /* 讓 <a> 像區塊一樣佔滿整行 */
  padding: 10px 20px;       /* 設定內距，保持你原本的設計 */
  font-size: 16px;
  color: #004f8a;           /* 字體顏色 */
  text-decoration: none;    /* 移除超連結底線 */
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  transition: all 0.3s ease;
}
.index .dropdown-item:hover {
  background-color: #004f8a; /* 背景變深藍 */
  color: white;              /* 字變白色 */
}

/* 固定標題列 */
.index .title {
  position: fixed;
  width: 1440px;
  height: 80px;
  background-color: #ffffff;
  z-index: 10; /* 確保蓋在最上層 */
}

.index .head-rectangle {
  position: absolute;
  width: 100%;
  height: 2px;
  top: 80px;
  left: 0;
  box-shadow: 0px 2px 3px 1px #00000040;
}

/* 漢堡按鈕 */
.index .hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10000;
}

.index .navbar {
  display: flex;
  width: 750px;
  height: 50px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 8px;
  position: absolute;
  top: 15px;
  left: 580px;
}

/* 預設隱藏（桌機版不顯示） */
.index .navbar .nav-logo {
  display: none;
}

.index .text-wrapper-67 {
  position: relative;
  width: 80px;
  height: 20px;
  font-family: "DFPHeiMedium-B5-Regular", Helvetica;
  font-weight: 400;
  color: #173268;
  font-size: 18px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

/* title語言選擇對齊 */
.index .group-13 {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px; /* 圖與字的間距，可依需要調整 */
}

.index .group-13 .icon {
  width: 20px;
  height: 20px;
}

.index .group-13 .text {
  font-family: "DFPHeiMedium-B5-Regular", Helvetica;
  font-weight: 400;
  color: #173268;
  font-size: 18px;
  white-space: nowrap;
}

.index .dropdown-arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 10px solid #173268; /* 三角形朝下 */
}

@media (min-width: 768px) and (max-width: 1399px) {
.index .title {
    position: fixed;
    zoom: 0.9;
    left: 50%;
    transform: translateX(-50%);
    width: 1440px; /* 保持原寬度方便置中 */
}
}

@media (max-width: 768px) {
/* 漢堡按鈕基礎樣式 */
.index .hamburger {
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
  left: auto;
  z-index: 10000;
}

.index .hamburger span {
  display: block;
  height: 2px;         /* 線條變細 */
  width: 100%;
  background-color: #173268;
  border-radius: 2px;
  transition: all 0.4s ease;
  position: absolute;       /* 改成 absolute，方便控制位置 */
  left: 0;
}

.index .hamburger span:nth-child(1) { top: 0; }
.index .hamburger span:nth-child(2) { top: 9px; }
.index .hamburger span:nth-child(3) { top: 18px; }

/* 點擊後變成 X */
.index .hamburger.active span:nth-child(1) {
  top: 9px;                 /* 移到中間 */
  transform: rotate(45deg); /* 旋轉 */
}

.index .hamburger.active span:nth-child(2) {
  opacity: 0; /* 中間線消失 */
}

.index .hamburger.active span:nth-child(3) {
  top: 9px;                  /* 也移到中間 */
  transform: rotate(-45deg); /* 旋轉 */
}

  .index .title {
    width: 100%;          /* 讓寬度自動撐滿螢幕 */
    max-width: 100%;      /* 避免超過螢幕 */
    left: 0;              /* 靠左 */
    right: 0;             /* 靠右 */
    margin: 0 auto;       /* 自動置中 */
  }

  .index .head-rectangle {
    width: 100%;          /* 下方橫線跟著縮小 */
    left: 0;
  }

  .index .navbar {
  display: none; /* 預設隱藏 */
  flex-direction: column;
  position: fixed;      /* 改成固定覆蓋螢幕 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;        /* 高度覆蓋整個視窗 */
  justify-content: flex-start; /* 靠上 */
  align-items: center;  /* 水平垂直置中 */
  background-color: white;
  padding: 30px;
  box-shadow: 0px 2px 5px rgba(152, 152, 152, 0.2);
  z-index: 9999;        /* 蓋在最上層 */
  text-align: center;  /* 讓裡面元素置中 */
}

  .index .navbar.active {
    display: flex; /* 點擊漢堡後展開 */
  }
  
  .index .navbar .nav-logo {
    display: block;
    text-align: center;
    margin-bottom: 15px; /* 與選單文字保持距離 */
  }

  .index .navbar .nav-logo img {
    max-width: 200px; /* 縮小圖片，依需求調整 */
    height: auto;
  }

  .index .navbar a,
  .index .dropdown {
    display: inline-block;  /* 讓選項水平排列 */
    margin: 5px 10px;
  }

  .index .dropdown {
    position: relative; /* 父容器相對定位，子元素才能依附它 */
  }

  /* 手機版 dropdown：點擊展開，不要絕對定位 */
  .index .dropdown-content {
  position: absolute;
  top: 100%;   /* 剛好緊貼「關於我們」區塊的底部 */
  margin-top: 10px;    /* 往下移 5px，製造間距 */
  left: 50%;     /* 與父層左邊對齊 */
  width: 150px; /* 可依需求調整 */
  border: 1px solid #8a8a8a;
  box-shadow: none; /* 移除陰影 */
  background: rgba(249, 249, 249, 0.9); /* #f9f9f9 90%透明 */
  display: none;
  z-index: 10001;
}

  .index .dropdown.active .dropdown-content {
    display: block;
  }

    /* 子選單內項目 */
  .index .dropdown-content a {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
  }

  .index .many-splendid {
    max-width: 200px;   /* 控制最大寬度 (依需求調整) */
    height: auto;       /* 保持比例 */
    margin: 10px auto 0; /* 上方空間 10px，可自行調整 */
  }

  /* 手機版不顯示 dropdown-arrow */
  .index .dropdown-arrow {
    display: none;
  }
}

/* 回到頂端懸浮按鈕 */
  .index .backToTopBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 999;
  width: 50px;
  height: 50px;
  border-radius: 30%;
  background-color: rgba(255, 255, 255, 0.6); /* 半透明白色 */
  border: 1.5px solid rgba(150, 150, 150, 0.8); /* ✅ 灰色邊框線 */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    transform 0.2s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}

/* 三角形箭頭 */
  .index .backToTopBtn::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 15px solid #666666; /* 灰色箭頭 */
  transition: border-bottom-color 0.3s ease;
}

/* 顯示狀態 */
  .index .backToTopBtn.show {
  opacity: 1;
  pointer-events: auto;
}

/* 滑鼠懸停效果 */
  .index .backToTopBtn:hover {
  background-color: rgba(150, 150, 150, 0.4); /* 半透明灰底 */
  border-color: rgba(180, 180, 180, 0.8);     /* ✅ hover 時邊框稍淺 */
  transform: scale(1.1);
  border-radius: 50%;
}

/* 滑鼠懸停時箭頭變白 */
  .index .backToTopBtn:hover::before {
  border-bottom-color: white;
}


/* 瀏覽舊網站 */
  .index .old-site-wrapper {
  text-align: center;          /* 置中 */
  padding: 30px 0;             /* 與上方內容留點距離 */
  background-color: #f5f5f5;   /* 可視需要，跟你 footer 顏色搭配 */
}

  .index .old-site-btn {
  display: inline-block;
  padding: 10px 24px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 2px;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid #0167b5;
  color: #0167b5;
  background-color: #ffffff;
  transition: background-color 0.2s ease, color 0.2s ease;
}

  .index .old-site-btn:hover {
  background-color: #0167b5;
  color: #ffffff;
}

/* 讓按鈕定位到 view 和 DOWN 之間 */
.index .old-site-wrapper {
  position: absolute;
  width: 100%;
  top: 4550px;  /* 你要自己調整這個數字 */
  left: 0;
  padding: 20px 0; /* 這個 padding 可以保留 */
  background-color: transparent; /* 如果不需要灰色背景 */
  z-index: 10;
}

@media (max-width: 768px) {
.index .old-site-wrapper {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100%;
  padding: 20px 0;
  margin: 10px 0 20px;
  background-color: #f5f5f5;
  text-align: center;
}

.index .old-site-btn {
  padding: 10px 20px;
  font-size: 16px;
}
}
