@charset "UTF-8";
/* 字體（Google Fonts 最好在 HTML 載入，而不是 SCSS @import） */
/* 全域 */
/* ---- external (若一定要用 @import url，放最上方) ---- */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap" rel="stylesheet');
@import url("https://fonts.googleapis.com/css2?family=Voces&display=swap");
/* ---- foundation ---- */
/* ---------------------------

            GSAP

--------------------------- */
html.has-custom-cursor,
html.has-custom-cursor body {
  cursor: none;
}

#custom-cursor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}
#custom-cursor .cursor-dot,
#custom-cursor .cursor-ring {
  opacity: 0;
  transition: opacity 0.2s ease;
  position: fixed;
  transform: translate(-50%, -50%);
  will-change: transform;
}
#custom-cursor .cursor-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #063E7F;
  border: 3px #063E7F solid;
}
#custom-cursor .cursor-ring {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #cccccc;
  opacity: 0;
  will-change: transform, opacity, border-color;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
#custom-cursor :root {
  --cursor-color: $primary;
  --cursor-hover-color: #00c4ff;
}
#custom-cursor #custom-cursor .cursor-dot {
  background: var(--cursor-color, #063E7F);
  border: 3px solid var(--cursor-color, #063E7F);
}
#custom-cursor #custom-cursor .cursor-ring {
  border: 2px solid var(--cursor-color, #063E7F);
}

/* ---- base ---- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Noto Sans TC", "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 1.125rem;
  background-color: #FEFEFE;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* iOS 更流暢 */
}

a {
  color: #333333;
  text-decoration: none;
}
a:hover {
  color: #1278D2;
  text-decoration: none;
}

.sp {
  display: none;
}

.pc {
  display: block;
}

@media screen and (min-width: 344px) and (max-width: 767px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
}
.nobr {
  white-space: nowrap;
}

.para {
  display: none;
}

ul {
  list-style: none;
  padding-left: 0;
}

ol.custom-list {
  list-style-type: decimal;
  padding-left: 1.5rem;
  font-weight: bold;
  font-size: 1.25rem;
}

body.zh {
  text-align: justify;
}

body.en {
  text-align: left;
}

.content-line-clamp {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.content-line-clamp-single {
  line-clamp: 1;
  -webkit-line-clamp: 1;
}

.no-break {
  white-space: nowrap;
  max-width: 100%;
}

#gototop {
  display: none; /* 由 JS 控制顯示 */
  position: fixed;
  right: -28px;
  bottom: 6rem;
  z-index: 99;
}
@media screen and (max-width: 576px) {
  #gototop {
    right: -54px;
  }
}
#gototop {
  /* 核心：旋轉 90 度並調整軸心 */
  transform: rotate(-90deg);
  transform-origin: bottom left;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}
#gototop span {
  display: block;
  position: relative;
  color: #2169B6;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  white-space: nowrap;
  padding-bottom: 8px;
}
#gototop span::after {
  content: "";
  position: absolute;
  left: 60px;
  bottom: 18px;
  width: 30px;
  height: 1px;
  background-color: #2169B6;
  transition: width 0.4s ease, background-color 0.4s ease;
}
#gototop:hover {
  /* Hover 時輕微向右偏移（視覺上的向上） */
  transform: rotate(-90deg) translateX(0.25rem);
}
#gototop:hover span {
  color: #c5dbf3;
}
#gototop:hover span::after {
  width: 200%;
  background-color: #c5dbf3;
}

.text-primary {
  color: #2169B6 !important;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  pointer-events: none; /* 避免 hover 時提前觸發 */
  background-color: transparent;
}

/* 顯示狀態 */
.dropdown-menu.show {
  visibility: visible;
  pointer-events: auto;
}
.dropdown-menu.show .dropdown-item:hover {
  background-color: #2169B6;
}

/* 下滑展開 */
.animate-slide-down {
  opacity: 1;
  transform: translateY(0);
}

/* 上滑收回 */
.animate-slide-up {
  opacity: 0;
  transform: translateY(-10px);
}

/* 子項目淡入效果（可選） */
.dropdown-menu.animate-slide-down .dropdown-item {
  opacity: 0;
  animation: dropdown-fadein 0.3s ease forwards;
}

.dropdown-menu.animate-slide-down .dropdown-item:nth-child(1) {
  animation-delay: 0.05s;
}

.dropdown-menu.animate-slide-down .dropdown-item:nth-child(2) {
  animation-delay: 0.1s;
}

.dropdown-menu.animate-slide-down .dropdown-item:nth-child(3) {
  animation-delay: 0.15s;
}

@keyframes dropdown-fadein {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 共用元件 */
@media (max-width: 1366px) {
  .navbar-expand-xl .offcanvas {
    width: 100% !important;
  }
}
@media (max-width: 1365.98px) {
  .navbar-expand-xl .offcanvas .offcanvas-header {
    display: flex;
  }
}
.navbar {
  z-index: 99;
  padding: 0;
  background-color: white;
  font-size: 1rem;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25);
  width: 100%;
  height: 94px;
  transition: height 0.3s ease-in-out;
}
@media screen and (max-width: 960px) {
  .navbar {
    height: 80px;
    overflow: hidden;
  }
}
.navbar .container-fluid {
  padding: 0;
}
.navbar .logo-block {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 376px;
  height: 150px;
  background: linear-gradient(90deg, #063E7F 0%, #1278D2 100%);
  box-shadow: -20px 0px 20px rgba(0, 0, 0, 0.25);
}
@media screen and (max-width: 1599px) {
  .navbar .logo-block {
    transform: scale(0.85);
    transform-origin: left top;
  }
}
.navbar .logo-block .logo {
  color: white;
}
.navbar .logo-block .logo .logo-img {
  width: 254px;
  height: 50px;
  background-color: white;
  -webkit-mask: url("../../assets/img/img-logo.svg") no-repeat center;
  mask: url("../../assets/img/img-logo.svg") no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.navbar .logo-block .logo .logo-text {
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.3em;
  margin-top: 12px;
}
@media screen and (max-width: 1500px) {
  .navbar .logo-block {
    transform: scale(0.8);
    transform-origin: top left;
  }
}
@media screen and (max-width: 1440px) {
  .navbar .logo-block {
    transform: scale(0.8);
    transform-origin: top left;
  }
}
@media screen and (max-width: 1365.98px) {
  .navbar .logo-block {
    transform: scale(0.9);
    width: auto;
    height: 104px;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 0px;
    border-bottom: none;
  }
  .navbar .logo-block .logo {
    transform: scale(0.85);
  }
}
@media screen and (max-width: 1024px) {
  .navbar .logo-block {
    width: 360px;
  }
}
@media screen and (max-width: 992px) {
  .navbar .logo-block {
    width: auto;
  }
  .navbar .logo-block .logo {
    transform: scale(0.75);
  }
}
@media screen and (max-width: 960px) {
  .navbar .logo-block {
    width: 160px;
    height: 88.3px;
  }
  .navbar .logo-block .logo {
    transform: scale(0.5);
    flex-direction: column;
  }
  .navbar .logo-block .logo .logo-text {
    font-size: 19.5px;
  }
}
@media screen and (max-width: 576px) {
  .navbar .logo-block {
    height: 89px;
  }
}
.navbar .function-block {
  position: fixed;
  top: 0;
  right: 30px;
  z-index: 1090;
  display: flex;
  align-items: center;
  height: 94px;
  transition: height 0.3s ease-in-out;
}
.navbar .function-block .search {
  position: relative;
  margin-right: 36px;
}
.navbar .function-block .search::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -18px;
  background-color: #8B95AE;
  height: 24px;
  width: 1px;
}
.navbar .function-block .search form {
  display: flex;
  align-items: center;
  gap: 8px; /* Space between the input and the icon */
}
.navbar .function-block .search .form-control {
  flex-grow: 1;
  border: 2px solid #b0b8c9; /* The cool-gray color from your image */
  border-radius: 999px; /* Creates the full rounded pill shape */
  padding: 4px 20px;
  font-size: 16px;
  outline: none;
  color: #555;
  transition: border-color 0.2s;
  width: 180px;
}
.navbar .function-block .search .form-control:focus {
  border-color: #7e8aab; /* Slightly darker on click */
}
.navbar .function-block .search .search-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  /* Nesting syntax (SCSS or Modern CSS) */
}
.navbar .function-block .search .search-btn .icon {
  width: 24px;
  height: 24px;
  display: block;
  /* CRITICAL CHANGE: Use background-color for masks */
  background-color: #8B95AE;
  /* Your Mask Settings */
  -webkit-mask: url("../../assets/img/img-search.svg") no-repeat center;
  mask: url("../../assets/img/img-search.svg") no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: background-color 0.2s ease;
}
.navbar .function-block .search .search-btn {
  /* Optional: Darken icon on hover */
}
.navbar .function-block .search .search-btn:hover .icon {
  background-color: #6a758f;
}
@media screen and (max-width: 1365.98px) {
  .navbar .function-block {
    position: fixed;
    left: 0;
    height: auto;
    padding: 0.5rem 102px 0.5rem 0;
    background-color: #063E7F;
    overflow: hidden;
    width: 100%;
  }
  .navbar .function-block .search {
    position: relative;
    margin-right: 0;
    border-bottom: 1px #DDDDDD solid;
    padding: 1rem 2rem 2rem 2rem;
    width: 100%;
  }
  .navbar .function-block .search::after {
    display: none;
  }
  .navbar .function-block .search form {
    display: flex;
    align-items: center;
    gap: 8px; /* Space between the input and the icon */
  }
  .navbar .function-block .search .form-control {
    font-size: 1.5rem;
    width: auto;
  }
  .navbar .function-block .search .search-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    /* Nesting syntax (SCSS or Modern CSS) */
  }
  .navbar .function-block .search .search-btn .icon {
    width: 2rem;
    height: 2rem;
  }
  .navbar .function-block .search .search-btn {
    /* Optional: Darken icon on hover */
  }
  .navbar .function-block .search .search-btn:hover .icon {
    background-color: #6a758f;
  }
}
@media screen and (max-width: 992px) {
  .navbar .function-block .search {
    padding: 0rem 2rem 1rem 2rem;
    width: 100%;
  }
  .navbar .function-block .search .form-control {
    font-size: 1.125rem;
    width: 50%;
  }
}
.navbar .offcanvas .logo .logo-text {
  color: #1A2545;
}
@media screen and (max-width: 1200px) {
  .navbar .offcanvas .logo {
    font-weight: bold;
  }
  .navbar .offcanvas .logo img {
    height: 2.25rem;
  }
}
@media screen and (max-width: 1200px) {
  .navbar .offcanvas .offcanvas-body {
    flex-grow: inherit;
  }
}
.navbar .offcanvas .offcanvas-body .navbar-nav {
  column-gap: 1.5rem;
  padding-right: 5%;
}
@media screen and (max-width: 1599px) {
  .navbar .offcanvas .offcanvas-body .navbar-nav {
    column-gap: 1rem;
  }
}
@media screen and (max-width: 1439.98px) {
  .navbar .offcanvas .offcanvas-body .navbar-nav {
    padding-right: 0;
  }
}
@media screen and (max-width: 1420px) {
  .navbar .offcanvas .offcanvas-body .navbar-nav {
    column-gap: 0.5rem;
  }
}
.navbar .nav-link {
  font-weight: 600;
  color: #8B95AE;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  padding: 0;
}
.navbar .nav-link.show, .navbar .nav-link.active, .navbar .nav-link:hover {
  color: #063E7F;
}
.navbar .nav-link.dropdown-toggle {
  position: relative;
}
@media screen and (max-width: 1365px) {
  .navbar .nav-link.dropdown-toggle {
    color: white;
  }
}
.navbar .nav-link.dropdown-toggle::before {
  position: absolute;
  top: 0;
  content: "";
  width: 96px;
  height: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.navbar .nav-link.dropdown-toggle i {
  margin-right: 0.25rem;
}
.navbar .dropdown-menu {
  min-width: 78px;
  padding: 0;
  z-index: 9;
}
.navbar .dropdown-menu.langswitch {
  min-width: 78px;
  background-color: rgba(34, 34, 34, 0.8);
}
@media (min-width: 992px) {
  .navbar .dropdown-menu .dropdown-item {
    justify-content: center;
    width: auto;
  }
}
.navbar .dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  height: 50px;
  color: white;
  background-color: rgba(34, 34, 34, 0.8);
}
.navbar .dropdown-menu .dropdown-item:hover {
  font-weight: bolder;
}
.navbar .nav-item {
  cursor: pointer;
}
.navbar .nav-item.dropdown .dropdown-menu {
  border-radius: 0;
  max-width: auto;
}
@media (min-width: 992px) {
  .navbar .nav-item.dropdown {
    display: flex;
    justify-content: center;
  }
  .navbar .nav-item.dropdown .dropdown-menu {
    margin-top: 32px;
  }
}

.en .navbar .function-block .search .form-control {
  width: 222px;
}
@media (max-width: 1365.98px) {
  .en .navbar .function-block .search .form-control {
    width: 100%;
    overflow-x: hidden;
  }
}

@media screen and (max-width: 1599px) {
  .en .navbar .offcanvas .offcanvas-body .navbar-nav {
    column-gap: 0.5rem;
  }
}
@media (max-width: 1365.98px) {
  .navbar .nav-item.dropdown {
    border-bottom: none;
    padding: 0.5rem 0;
  }
  .navbar .nav-item.dropdown:hover .dropdown-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: none !important;
  }
  .navbar .nav-item.dropdown .dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .navbar .nav-link:hover::before {
    display: none !important;
  }
}
@media (min-width: 1366px) {
  .navbar .nav-item.dropdown:hover .dropdown-menu {
    display: block !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .navbar .nav-link:hover {
    color: #063E7F;
  }
}
@media (min-width: 1366px) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: block !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
}
@media screen and (max-width: 1365.98px) {
  .navbar {
    /* 選單上距 */
    margin-top: 56px;
    overflow-x: hidden;
  }
  .navbar .navbar-nav {
    align-items: flex-start !important;
  }
  .navbar .nav-item {
    font-size: 1.5rem;
    width: 100% !important;
    padding: 1rem 0;
    border-bottom: 1px #DDDDDD solid;
    display: block !important;
  }
  .navbar .nav-item.dropdown {
    width: auto !important;
    font-size: 1rem;
  }
  .navbar .nav-link {
    justify-content: center !important;
    width: 100% !important;
  }
}
/* 針對 iOS Safari 的特定渲染補強 */
@supports (-webkit-touch-callout: none) {
  .navbar .offcanvas .dropdown-menu.show {
    -webkit-transform: translateZ(0);
  }
}
@media (min-width: 992px) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: block !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
}
@media screen and (max-width: 1365.98px) {
  .navbar-expand-xl .navbar-toggler {
    display: block;
  }
}
/* 強制對齊 1366px 的移動端樣式轉化 */
@media (max-width: 1365.98px) {
  .navbar {
    width: 100%;
  }
  .navbar-expand-xl .navbar-collapse {
    display: none !important;
  }
  .navbar .offcanvas {
    position: fixed !important;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    z-index: 1050 !important;
    display: flex !important;
    /* 核心修正：強制背景與視覺顯示 */
    background-color: #ffffff !important;
    visibility: hidden;
    pointer-events: none; /* 👈 重要：隱藏時禁止任何鼠標事件 */
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out, visibility 0.4s ease-in-out, opacity 0.4s ease-in-out;
    opacity: 0;
  }
  .navbar .offcanvas.show {
    visibility: visible !important;
    pointer-events: auto; /* 👈 重要：展開後恢復正常點擊 */
    transform: translateX(0) !important;
    opacity: 1 !important;
    padding-top: 72px;
  }
  .navbar .offcanvas {
    /* 針對 576px 以下的寬度微調，保持您的原設計 */
  }
}
@media (max-width: 1365.98px) and (max-width: 960px) {
  .navbar .offcanvas {
    width: 90%;
  }
}
@media (max-width: 1365.98px) {
  .navbar .offcanvas-body {
    flex-direction: column;
    justify-content: center !important;
    padding: 2rem 2rem 0.5rem 2rem !important;
    overflow-y: visible;
  }
  .navbar .offcanvas-body .navbar-nav {
    flex-direction: column !important;
    align-items: center !important;
    width: 100%;
  }
  .navbar .offcanvas-body .navbar-nav .nav-item {
    width: 100%;
    font-size: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px #DDDDDD solid;
  }
  .navbar .offcanvas-body .navbar-nav .nav-item .nav-link {
    justify-content: center;
    width: 100%;
  }
  .navbar .function-block {
    width: 100%;
    overflow-x: hidden;
    justify-content: flex-end;
  }
  .navbar .function-block .search {
    margin-right: 0;
    width: 100%;
    border-bottom: 1px #DDDDDD solid;
    padding-bottom: 2rem;
  }
  .navbar .function-block .search::after {
    display: none;
  }
  .navbar .function-block .search .form-control {
    width: 100% !important;
    font-size: 1.25rem;
  }
}
@media screen and (max-width: 960px) {
  .navbar {
    height: 80px;
  }
  .navbar .offcanvas {
    width: 100% !important;
  }
  .navbar .offcanvas-header {
    position: relative;
    width: 100%;
    background-color: white;
    padding: 1rem;
  }
  .navbar .offcanvas-body {
    padding-top: 1rem !important;
  }
}
/* 確保 1366 以上完全恢復桌面美學 */
@media (min-width: 1366px) {
  .navbar-expand-xl .navbar-collapse {
    display: flex !important;
  }
  .navbar .offcanvas {
    position: static;
    transform: none !important;
    visibility: visible !important;
    z-index: auto;
    background-color: transparent;
  }
}
@media screen and (max-width: 1365.98px) {
  .navbar .toggler {
    display: none;
  }
}
.navbar .toggler {
  cursor: pointer;
}
.navbar .toggler .toggler-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 0.5rem;
  height: 42px;
  width: 42px;
  padding: 0.5rem;
}
.navbar .toggler .toggler-block span {
  display: block;
  height: 1px;
  width: 100%;
}

.sticky-navbar * {
  transition: font-size 0.3s ease-in-out, column-gap 0.3s ease-in-out, height 0.3s ease-in-out, padding-bottom 0.3s ease-in-out, margin-top 0.3s ease-in-out, width 0.3s ease-in-out;
}

@media screen and (max-width: 1599px) {
  .sticky-navbar.shrink {
    height: 84.6px;
  }
  .sticky-navbar.shrink .function-block {
    height: 84.6px;
  }
  .sticky-navbar.shrink .offcanvas .offcanvas-body .navbar-nav {
    column-gap: 0.5rem;
    padding-right: 5rem;
  }
}
.sticky-navbar.shrink .logo-block {
  width: 280px;
  height: 94px;
  background: linear-gradient(90deg, #063E7F 0%, #1278D2 100%);
}
@media screen and (max-width: 1599px) {
  .sticky-navbar.shrink .logo-block {
    height: 106px;
  }
}
@media screen and (max-width: 1365.98px) {
  .sticky-navbar.shrink .logo-block {
    padding-bottom: 0px;
  }
}
.sticky-navbar.shrink .logo-block .logo .logo-img {
  width: 200px;
}
.sticky-navbar.shrink .logo-block .logo .logo-text {
  font-size: 1rem;
  line-height: 1rem;
  letter-spacing: 0.275em;
  margin-top: 4px;
}

@media screen and (max-width: 1365.98px) {
  .offcanvas {
    overflow-x: hidden;
    overflow-y: scroll;
  }
  .offcanvas.offcanvas-end {
    width: 50%;
  }
  .navbar .navbar-nav {
    align-items: flex-start;
  }
  .navbar .nav-link {
    justify-content: center;
    width: 100%;
  }
  .navbar .nav-item {
    font-size: 1.5rem;
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px #DDDDDD solid;
  }
  .navbar .nav-item.dropdown {
    flex-direction: unset;
    border-bottom: none;
  }
  .navbar .nav-item.dropdown .dropdown-menu {
    margin-top: 3rem;
    width: 100%;
  }
  .navbar .nav-item.dropdown .dropdown-menu .dropdown-item {
    justify-content: center;
    font-size: 1rem;
    padding: 0.5rem 0;
  }
  .navbar .toggler {
    display: block;
  }
  .offcanvas .offcanvas-header {
    padding: 1.75rem 1.25rem 1.25rem 1.25rem;
    justify-content: center;
  }
  .offcanvas .offcanvas-header .logo {
    font-size: 1.25rem;
  }
  .offcanvas .offcanvas-header .logo span {
    margin-right: 0.5rem;
  }
  .offcanvas .offcanvas-header .btn-close {
    margin: 0;
  }
  .offcanvas .offcanvas-body .navbar-nav {
    margin-top: 0;
  }
  .offcanvas .offcanvas-body .search {
    position: inherit;
    margin-top: 1rem;
  }
  .nav-link {
    justify-content: flex-start;
  }
  .dropdown-menu .dropdown-item {
    text-align: center;
  }
  .dropdown-menu.langswitch {
    min-width: 78px;
    background-color: rgba(34, 34, 34, 0.8);
  }
  .nav-link.active::before, .nav-link:hover::before {
    display: none;
  }
}
@media screen and (max-width: 820px) {
  .offcanvas.offcanvas-end {
    width: 60%;
  }
}
@media screen and (max-width: 1365.98px) {
  .offcanvas {
    overflow-x: hidden;
    overflow-y: scroll;
  }
  .offcanvas.offcanvas-end {
    width: 90%;
  }
  .offcanvas .offcanvas-header {
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    background-color: white;
    z-index: 9;
    text-align: center;
  }
  .offcanvas .offcanvas-header .logo {
    margin-right: 0;
  }
  .offcanvas .offcanvas-body {
    padding-top: 6rem;
  }
  .navbar {
    padding: 1rem 5.2%;
    min-height: auto;
  }
  .navbar .logo .logo-text {
    font-size: 1.125rem;
  }
  .navbar .nav-item {
    font-size: 1.35rem;
    padding: 0.625rem 0;
  }
  .navbar .nav-item.dropdown {
    flex-direction: unset;
    list-style: none;
  }
  .navbar .nav-item.dropdown .dropdown-menu {
    margin-top: 0.5rem;
  }
  .navbar .nav-item.dropdown .dropdown-menu .dropdown-item {
    font-size: 1rem;
    padding: 0.5rem 0;
  }
  .navbar .toggler {
    display: block;
  }
}
@media screen and (max-width: 430px) {
  .navbar .container-fluid {
    padding-left: 0;
    padding-right: 0;
  }
}
@media screen and (max-width: 375px) {
  .logo {
    flex-direction: column;
  }
}
/* === 基本設定 === */
.custom-toggler {
  position: absolute;
  width: 34px;
  height: 26px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 1051;
  opacity: 1;
  transition: opacity 0.35s ease;
}

@media screen and (max-width: 1365.98px) {
  .custom-toggler {
    right: 33px;
  }
}
@media screen and (max-width: 960px) {
  .custom-toggler {
    top: 1.35rem;
    right: 1rem;
  }
}
@media screen and (max-width: 576px) {
  .custom-toggler {
    top: auto;
  }
}

.custom-toggler:focus,
.custom-toggler:active,
.custom-toggler:focus-visible {
  outline: none;
  box-shadow: none;
}

/* 三條線 */
.toggler-bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #000;
  border-radius: 2px;
  transition: transform 0.35s ease, top 0.35s ease, opacity 0.25s ease;
}

.top-bar {
  top: 0;
}

.middle-bar {
  top: 50%;
  transform: translateY(-50%);
}

.bottom-bar {
  bottom: 0;
}

/* === 打叉動畫 === */
.custom-toggler.active .top-bar {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.custom-toggler.active .middle-bar {
  opacity: 0;
}

.custom-toggler.active .bottom-bar {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

@media screen and (max-width: 1200px) {
  .offcanvas.offcanvas-end {
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0;
  }
  /* 開啟時（淡入） */
  .offcanvas.show {
    opacity: 1;
  }
  /* 關閉時（淡出） */
  .offcanvas.hiding {
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0;
  }
}
.ui-search-box {
  --transition-speed: 0.45s;
  display: flex;
  justify-content: flex-end;
  min-width: auto;
  margin-right: 1rem;
}
.ui-search-box .search-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  height: 40px;
  /* 搜尋框本體 (180*36) */
}
.ui-search-box .search-wrapper .search-input-box {
  width: 0;
  height: 36px;
  opacity: 0;
  overflow: hidden;
  transition: width var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1), opacity var(--transition-speed) ease;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px 0 0 18px;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.ui-search-box .search-wrapper .search-input-box.active {
  width: 180px;
  opacity: 1;
  border: 1px solid #063E7F;
  border-right: none;
}
.ui-search-box .search-wrapper .search-input-box .search-control {
  min-width: 140px;
  height: 100%;
  border: none;
  padding: 0 5px 0 15px;
  font-size: 1rem;
  outline: none;
  background: transparent;
  color: #555;
}
.ui-search-box .search-wrapper .search-input-box {
  /* 內部可點擊搜尋 Icon */
}
.ui-search-box .search-wrapper .search-input-box .inner-search-btn {
  background: none;
  border: none;
  padding: 0;
  margin-right: 10px;
  color: #063E7F;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 1365.98px) {
  .ui-search-box .search-wrapper .search-input-box .inner-search-btn {
    justify-content: flex-end;
  }
}
.ui-search-box .search-wrapper .search-input-box .inner-search-btn:hover {
  color: #1485FF;
}
.ui-search-box .search-wrapper {
  /* 外部切換按鈕 */
}
.ui-search-box .search-wrapper .search-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  border: 1px solid #063E7F;
  color: #063E7F;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(233, 30, 99, 0.1);
}
.ui-search-box .search-wrapper .search-toggle-btn.active {
  border-radius: 0 18px 18px 0;
  border-left: none;
  height: 36px;
  width: 36px;
}
.ui-search-box .search-wrapper .search-toggle-btn:hover {
  color: white;
  background-color: #063E7F;
}

.dropdown-wrapper {
  display: none;
}

@media screen and (max-width: 1365px) {
  .navbar .nav-link.dropdown-toggle {
    display: none;
  }
  .dropdown-wrapper {
    display: block;
    position: fixed;
    right: 21px;
    top: 15px;
    z-index: 2000;
  }
  .dropdown-wrapper .dropdown-toggle {
    color: white;
  }
  .dropdown-wrapper .dropdown-item {
    color: white;
    background-color: rgba(34, 34, 34, 0.8);
  }
}
.home .homeSwiper {
  width: 100%;
  height: calc(100dvh - 94px); /* iOS 16+ 正確實際高度 */
  min-height: calc(100svh - 94px); /* Safari 15.4+ safe value */
  overflow: hidden;
  position: relative;
  transition: height 0.3s ease-in-out;
  background: url(../../assets/img/banner/img-banner1.webp);
  background-size: cover;
}
@media screen and (max-width: 576px) {
  .home .homeSwiper {
    height: calc(100dvh - 72px); /* iOS 16+ 正確實際高度 */
    min-height: calc(100svh - 72px); /* Safari 15.4+ safe value */
  }
}
.home .homeSwiper .swiper-wrapper {
  position: relative;
}
.home .homeSwiper .swiper-slide {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.home .homeSwiper .swiper-slide img {
  width: 100%;
  height: auto;
}
.home .homeSwiper .swiper-slide .machine1 {
  position: absolute;
  width: 694px;
  z-index: 2;
  top: calc(20% + 80px);
  right: 8%;
}
.home .homeSwiper .swiper-slide .machine2 {
  position: absolute;
  width: 694px;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  right: 12.5%;
}
.home .homeSwiper .swiper-slide .machine3 {
  position: absolute;
  width: 694px;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  right: 12.5%;
}
.home .homeSwiper .swiper-slide .products-sample1 {
  position: absolute;
  width: 411px;
  left: 29%;
  bottom: 11%;
}
.home .homeSwiper .swiper-slide .products-sample2 {
  position: absolute;
  width: 411px;
  left: 29%;
  bottom: 15%;
}
.home .homeSwiper .swiper-slide .products-sample3 {
  position: absolute;
  width: 411px;
  left: 29%;
  bottom: 15%;
}
.home .homeSwiper .swiper-slide.company-img {
  align-items: center;
}
.home .homeSwiper .swiper-slide.company-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.3) 25%, rgba(255, 255, 255, 0) 60%);
  z-index: 1;
  pointer-events: none;
}
@media screen and (max-width: 960px) {
  .home .homeSwiper .swiper-slide.company-img {
    justify-content: flex-end;
    overflow: hidden;
  }
  .home .homeSwiper .swiper-slide.company-img img {
    width: auto;
    height: 100%;
    max-width: none;
    flex-shrink: 0;
    /* 🚀 向右位移，正值越大幅度越大 */
    /* 例如 10% 或具體像素 */
    transform: translateX(25%);
    /* 針對 iOS 的渲染優化 */
    -webkit-backface-visibility: hidden;
  }
}
.home .homeSwiper .swiper-slide.imagephoto::before {
  content: "";
  inset: 0; /* 等同 top/right/bottom/left = 0 */
  pointer-events: none; /* 不影響滑動等互動 */
  background: linear-gradient(0deg, rgba(10, 21, 41, 0.6), rgba(10, 21, 41, 0.6));
  background-blend-mode: hard-light, normal;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  transition: 0.3s;
}
.home .homeSwiper .swiper-slide [data-aos] {
  will-change: transform, opacity;
}
.home .homeSwiper .swiper-slide:not(.swiper-slide-active) [data-aos] {
  opacity: 0;
}
.home .homeSwiper .swiper-pagination {
  width: auto;
  left: 15%;
  bottom: 24.2%;
}
.home .homeSwiper .swiper-pagination-bullet {
  width: 30px;
  height: 3px;
  border-radius: inherit;
}
.home .homeSwiper .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 0.25rem;
  background-color: white;
  opacity: 1;
  transition: all 0.4s ease-in-out;
  transform-origin: center;
  transform: scaleX(1);
}
.home .homeSwiper .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #1485FF;
  transform: scaleX(2);
  margin: 0 1.25rem;
}
.home .homeSwiper .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet:hover {
  background-color: #1485FF;
  opacity: 0.5;
}
.home .homeSwiper .swiper-button-next:after,
.home .homeSwiper .swiper-button-prev:after {
  transform: scaleY(1.5);
  color: rgba(255, 255, 255, 0.5);
}
.home .homeSwiper .swiper-button-next:hover:after,
.home .homeSwiper .swiper-button-prev:hover:after {
  color: rgba(244, 223, 49, 0.5);
}
.home .swiper-title {
  position: absolute;
  top: 30%;
  left: 10%;
  z-index: 2;
  color: white;
  pointer-events: none; /* ✅ 不攔截滑動 */
}
.home .swiper-title .logo {
  width: 240px;
  height: 42px;
  margin-bottom: 21px;
  background-color: #063E7F;
  -webkit-mask: url("../../assets/img/img-logo.svg") no-repeat left;
  mask: url("../../assets/img/img-logo.svg") no-repeat left;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.home .swiper-title h1 {
  font-size: 60px;
  font-weight: bolder;
  color: #0061B7;
}
.home .swiper-title h5 {
  font-size: 24px;
  font-weight: 300;
  color: #0061B7;
  letter-spacing: 0.115rem;
}
.home .swiper-title .more-btn {
  pointer-events: auto;
  margin-top: 2rem;
  color: #063E7F;
  gap: 4px;
  justify-content: center;
  border: #063E7F 1px solid;
  padding: 12px 20px;
  border-radius: 36px;
  width: 240px;
}
.home .swiper-title .more-btn:hover {
  color: white;
  background: linear-gradient(90deg, #063E7F 0%, #1278D2 100%);
  transform: translateY(-4px);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  gap: 21px;
}
.home .swiper-title.white h1, .home .swiper-title.white h5 {
  color: #ffffff;
  transition: all 0.3s ease-in-out;
}
.home .swiper-title.white .logo-wrapper-cover {
  filter: drop-shadow(0px 4px 8px rgb(0, 0, 0));
  margin-bottom: 21px;
}
.home .swiper-title.white .logo {
  background-color: #ffffff;
  transition: all 0.3s ease-in-out;
}
.home .swiper-title.white h1 {
  text-shadow: 0 6px 12px rgb(0, 0, 0);
}
.home .swiper-title.white .more-btn {
  color: #ffffff;
  border-color: #ffffff;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.home .swiper-title.white .more-btn:hover {
  color: white;
  background: linear-gradient(90deg, #063E7F 0%, #1278D2 100%);
  border-color: transparent;
}
.home {
  /* 獨立出來寫在最下面 */
}
@media screen and (max-width: 1800px) {
  .home .swiper-title {
    left: 6%;
  }
  .home .swiper-title h1 {
    font-size: 50px;
  }
}
.home.en .homeSwiper .more-btn {
  top: 50%;
}
@media screen and (max-width: 1200px) {
  .home.en .swiper-title {
    left: 0;
  }
}
.home.en .swiper-title h5 {
  width: 50%;
  line-height: inherit;
}
.home.en .swiper-title .morebtn {
  border-color: white;
}
.home.en .swiper-title .morebtn .inner-block {
  border: none;
}
.home .scrolldown-block {
  position: absolute;
  bottom: 3%;
  width: 100%;
  height: auto;
  color: white;
  display: flex;
  justify-content: center;
  flex-direction: row;
}
.home .scrolldown {
  cursor: pointer;
  position: relative;
  width: 30px;
  height: 50px;
  border: 3px solid #fff;
  border-radius: 50px;
  box-sizing: border-box;
  margin-bottom: 16px;
  z-index: 9;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.home .scrolldown::before {
  content: "";
  position: absolute;
  bottom: 30px;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  background-color: #fff;
  border-radius: 100%;
  animation: scrolldown-anim 2s infinite;
  box-sizing: border-box;
}
.home .scrolldown:hover {
  transform: translateY(-8px);
}
@keyframes scrolldown-anim {
  0% {
    opacity: 0;
    height: 6px;
  }
  40% {
    opacity: 1;
    height: 10px;
  }
  80% {
    transform: translate(0, 20px);
    height: 10px;
    opacity: 0;
  }
  100% {
    height: 3px;
    opacity: 0;
  }
}
.home .chevrons {
  padding: 6px 0 0 0;
  margin-left: -3px;
  margin-top: 48px;
  width: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.home .chevrons .chevrondown {
  margin-top: -6px;
  position: relative;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  display: inline-block;
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
}
.home .chevrons .chevrondown:nth-child(odd) {
  animation: pulse 500ms ease infinite alternate;
}
.home .chevrons .chevrondown:nth-child(even) {
  animation: pulse 500ms ease infinite alternate 250ms;
}
@keyframes pulse {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.5;
  }
}
@media screen and (max-width: 1599px) {
  .home .homeSwiper .swiper-slide.imagephoto img,
  .home .homeSwiper .swiper-slide .banner-block img {
    width: auto;
    height: 100dvh; /* Dynamic viewport height - iOS16+, Android Chrome */
    min-height: 100svh; /* Smallest safe viewport height - Safari 15.4+ */
    min-height: 100lvh; /* Largest safe viewport height - 部分瀏覽器 */
  }
  .home .homeSwiper .swiper-slide .machine1 {
    width: 50%;
    top: 22.5%;
    right: 5%;
  }
  .home .homeSwiper .swiper-slide .machine2 {
    width: 50%;
    right: 0%;
  }
  .home .homeSwiper .swiper-slide .machine3 {
    width: 50%;
    top: 54%;
    right: 5%;
  }
  .home .homeSwiper .swiper-slide .products-sample1,
  .home .homeSwiper .swiper-slide .products-sample2,
  .home .homeSwiper .swiper-slide .products-sample3 {
    left: 10%;
  }
  .home .homeSwiper .swiper-title {
    top: 15%;
    left: 8%;
    z-index: 2;
    color: white;
    pointer-events: none;
  }
  .home .homeSwiper .more-btn {
    top: 50%;
    left: 8%;
  }
  .home .homeSwiper .swiper-pagination {
    left: 8%;
    bottom: 8%;
  }
  .home.en .swiper-title {
    top: calc(14% + 0px);
    width: 50%;
  }
  .home.en .swiper-slide .products-sample1 {
    transform: scale(0.8);
    left: 12%;
    bottom: 6%;
  }
  .home.en .swiper-slide .products-sample2 {
    left: 24%;
  }
  .home.en .swiper-slide .products-sample3 {
    left: 16%;
  }
}
@media screen and (max-width: 1200px) {
  .home .homeSwiper .swiper-title {
    top: 10%;
  }
  .home .homeSwiper .swiper-slide .machine1 {
    width: 50%;
    top: 28%;
    left: 70%;
    transform: translatex(-50%);
  }
  .home .homeSwiper .swiper-slide .machine3 {
    right: 5%;
  }
  .home .homeSwiper .swiper-slide .products-sample1 {
    width: 30%;
    bottom: 3%;
  }
  .home.en .swiper-title h1 {
    line-height: 1;
    font-size: 54px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .home .homeSwiper .swiper-slide .machine1 {
    width: 78%;
    top: 35%;
    left: 60%;
    transform: translatex(-50%);
  }
  .home .homeSwiper .swiper-slide .products-sample {
    z-index: 9;
    bottom: 5%;
  }
  .home .homeSwiper .swiper-pagination {
    width: 100%;
    left: 0;
    bottom: 27.5%;
  }
  .home .homeSwiper .swiper-button-next,
  .home .homeSwiper .swiper-button-prev {
    display: none;
  }
  .home .homeSwiper .swiper-pagination {
    bottom: 17.5%;
  }
  .home .homeSwiper .swiper-title {
    width: auto;
    top: 20%;
  }
  .home .homeSwiper .swiper-title h5 {
    width: 80%;
  }
  .home .homeSwiper .more-btn {
    top: 40%;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1024px) and (orientation: landscape) {
  .home .homeSwiper .swiper-slide .machine1 {
    width: 44%;
    top: 32%;
    right: 0;
    transform: translatex(-50%);
  }
  .home .homeSwiper .swiper-slide .machine3 {
    width: 44%;
    top: 32%;
    right: -20%;
    transform: translatex(-50%);
  }
  .home .homeSwiper .swiper-slide .products-sample1 {
    width: 30%;
    bottom: 3%;
  }
  .home .homeSwiper .swiper-slide .products-sample2 {
    width: 30%;
    bottom: 12%;
  }
  .home .homeSwiper .swiper-slide .products-sample3 {
    width: 30%;
    bottom: 12%;
  }
  .home .homeSwiper .swiper-pagination {
    width: 100%;
    left: 0;
    bottom: 27.5%;
  }
  .home .homeSwiper .swiper-button-next,
  .home .homeSwiper .swiper-button-prev {
    display: none;
  }
  .home .homeSwiper .swiper-pagination {
    bottom: 17.5%;
  }
  .home .homeSwiper .swiper-title {
    top: 10%;
  }
  .home .homeSwiper .swiper-title h1 {
    font-size: 54px;
  }
  .home .homeSwiper .swiper-title h5 {
    font-size: 21px;
    width: 70%;
  }
  .home .homeSwiper .more-btn {
    top: 52%;
  }
}
@media screen and (max-width: 992px) {
  .home .swiper-title {
    top: 50%;
    left: 0%;
  }
  .home .swiper-title h1 {
    font-size: 48px;
  }
  .home .homeSwiper .swiper-slide .machine1 {
    top: 38%;
  }
  .home .homeSwiper .swiper-slide .products-sample2, .home .homeSwiper .swiper-slide .products-sample3 {
    width: 30%;
  }
  .home .homeSwiper .swiper-button-next,
  .home .homeSwiper .swiper-button-prev {
    display: none;
  }
  .home .homeSwiper .swiper-pagination {
    width: 100%;
    left: 0;
    bottom: 17.5%;
  }
  .home .swiper-title h1::after {
    width: 100%;
  }
  .home .scrolldown-block {
    bottom: 3%;
  }
  .home.en .swiper-title {
    width: 60%;
    top: 15%;
  }
  .home.en .swiper-title h1 {
    line-height: 1;
    font-size: 54px;
  }
}
@media screen and (max-width: 820px) {
  .home .homeSwiper .swiper-slide .products-sample {
    width: 42.5%;
    left: 10%;
  }
}
@media screen and (max-width: 768px) {
  .home .swiper-title h1 {
    font-size: 2.5rem;
  }
}
@media screen and (max-width: 576px) {
  .home .scrolldown-block {
    bottom: 1%;
  }
  .home .homeSwiper .swiper-title {
    top: 8%;
  }
  .home .homeSwiper .swiper-title h1 {
    font-size: 42px;
  }
  .home .homeSwiper .swiper-title h5 {
    font-size: 1.125rem;
    text-align: left;
  }
  .home .homeSwiper .swiper-title.white {
    height: 100%;
  }
  .home .homeSwiper .swiper-title.white .logo {
    margin-bottom: 70%;
  }
  .home .homeSwiper .swiper-slide .machine1 {
    width: 100%;
    top: 42.5%;
    left: 10%;
    transform: inherit;
  }
  .home .homeSwiper .swiper-slide .products-sample1 {
    width: 50%;
    left: -2%;
    bottom: 2%;
    z-index: 3;
  }
  .home .homeSwiper .swiper-slide .machine2 {
    width: 80%;
    top: 40%;
    right: -16%;
    transform: inherit;
  }
  .home .homeSwiper .swiper-slide .products-sample2 {
    width: 50%;
    left: -2%;
    bottom: 5%;
    z-index: 3;
  }
  .home .homeSwiper .swiper-slide .machine3 {
    width: 80%;
    top: 42.5%;
    right: 0%;
    transform: inherit;
  }
  .home .homeSwiper .swiper-slide .products-sample3 {
    width: 50%;
    left: -2%;
    bottom: 6%;
    z-index: 3;
  }
  .home .homeSwiper .swiper-slide .banner-block img {
    width: auto;
    height: 100dvh;
  }
  .home .homeSwiper .swiper-pagination {
    bottom: calc(clamp(20vh, 36vh, 100px) + env(safe-area-inset-bottom) - 50px);
  }
  .home .homeSwiper .more-btn {
    top: 35%;
    padding: 6px 20px;
    width: 160px;
  }
  .home.en .homeSwiper .swiper-title {
    width: 90%;
    top: 8%;
  }
  .home.en .homeSwiper .swiper-title h1 {
    font-size: 38px;
    line-height: 1.25;
  }
  .home.en .homeSwiper .swiper-slide .machine1 {
    top: 46%;
  }
  .home.en .homeSwiper .swiper-slide .machine2 {
    width: 80%;
    top: 46%;
    right: -16%;
  }
  .home.en .homeSwiper .swiper-slide .machine3 {
    width: 80%;
    top: 50%;
    right: 0%;
  }
  .home.en .homeSwiper .more-btn {
    top: 42.5%;
  }
}
@media screen and (max-width: 375px) {
  .home .swiper-title {
    top: 30%;
  }
  .home .swiper-title h5 {
    display: none;
  }
  .home .homeSwiper .swiper-slide .machine1 {
    top: 47.5%;
  }
  .home .homeSwiper .swiper-pagination {
    bottom: calc(clamp(20vh, 36vh, 100px) + env(safe-area-inset-bottom));
  }
}

.productseries-menu {
  z-index: 10;
  overflow-x: hidden;
}
.productseries-menu .swiper {
  max-width: calc(100% - 120px);
}
.productseries-menu .swiper .swiper-wrapper .swiper-slide {
  padding: 1.75rem;
}
.productseries-menu .swiper .swiper-wrapper .swiper-slide .card {
  width: 100%;
  height: 316px;
  perspective: 1000px;
  border: none;
  /* ✅ 翻牌效果：只有大於1200px 的桌機才啟用 */
}
@media (min-width: 1201px) {
  .productseries-menu .swiper .swiper-wrapper .swiper-slide .card:hover .card-inner {
    transform: rotateY(180deg);
  }
}
.productseries-menu .swiper .swiper-wrapper .swiper-slide .card .card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  /* ✅ <=1200px 直接禁止翻牌，固定顯示正面 */
}
@media (max-width: 1200px) {
  .productseries-menu .swiper .swiper-wrapper .swiper-slide .card .card-inner .card-inner {
    transform: none !important;
  }
}
.productseries-menu .swiper .swiper-wrapper .swiper-slide .card .card-inner .card-front,
.productseries-menu .swiper .swiper-wrapper .swiper-slide .card .card-inner .card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.productseries-menu .swiper .swiper-wrapper .swiper-slide .card .card-inner .card-front {
  background: #fff;
  z-index: 2;
  justify-content: center;
}
.productseries-menu .swiper .swiper-wrapper .swiper-slide .card .card-inner .card-front h5 {
  color: #666666;
  border: #dddddd 1px solid;
  padding: 10px 30px;
  margin-top: 1rem;
}
.productseries-menu .swiper .swiper-wrapper .swiper-slide .card .card-inner .card-front .card-img {
  width: 342px;
  height: 256px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}
.productseries-menu .swiper .swiper-wrapper .swiper-slide .card .card-inner .card-back {
  background: #f5f5f5;
  transform: rotateY(180deg);
  color: white;
  font-weight: bold;
  justify-content: flex-start;
  padding-top: 3.75rem;
}
.productseries-menu .swiper .swiper-wrapper .swiper-slide .card .card-inner .card-back h5 {
  position: relative;
  margin-bottom: 2rem;
}
.productseries-menu .swiper .swiper-wrapper .swiper-slide .card .card-inner .card-back h5::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 1px;
  background: white;
  left: 50%;
  bottom: -0.5rem;
  margin-left: -25%;
}
.productseries-menu .swiper .swiper-wrapper .swiper-slide .card .card-inner .card-back .card-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 1rem;
  padding: 0 1rem;
}
.productseries-menu .swiper .swiper-wrapper .swiper-slide .card .card-inner .card-back.production-line {
  background: linear-gradient(0deg, rgba(0, 31, 65, 0.5), rgba(0, 31, 65, 0.5)), url(../../assets/img/products/img_line.webp) no-repeat;
  background-size: cover;
}
.productseries-menu .swiper .swiper-wrapper .swiper-slide .card .card-inner .card-back.mixer {
  background: linear-gradient(0deg, rgba(0, 31, 65, 0.5), rgba(0, 31, 65, 0.5)), url(../../assets/img/products/img_mixer.webp) no-repeat;
  background-size: cover;
}
.productseries-menu .swiper .swiper-wrapper .swiper-slide .card .card-inner .card-back.powder-grinder {
  background: linear-gradient(0deg, rgba(0, 31, 65, 0.5), rgba(0, 31, 65, 0.5)), url(../../assets/img/products/img_grinding.webp) no-repeat;
  background-size: cover;
}
.productseries-menu .swiper .swiper-wrapper .swiper-slide .card .card-inner .card-back.mill {
  background: linear-gradient(0deg, rgba(0, 31, 65, 0.5), rgba(0, 31, 65, 0.5)), url(../../assets/img/products/img_crush.webp) no-repeat;
  background-size: cover;
  padding-top: 2.75rem;
}
.productseries-menu .swiper .swiper-wrapper .swiper-slide .card .card-inner .card-back.cuttingcrushmachine {
  background: linear-gradient(0deg, rgba(0, 31, 65, 0.5), rgba(0, 31, 65, 0.5)), url(../../assets/img/products/img_cut.webp) no-repeat;
  background-size: cover;
}
.productseries-menu .swiper .swiper-wrapper .swiper-slide .card .card-inner .card-back.sieving-machine {
  background: linear-gradient(0deg, rgba(0, 31, 65, 0.5), rgba(0, 31, 65, 0.5)), url(../../assets/img/products/img_powder.webp) no-repeat;
  background-size: cover;
}
.productseries-menu .swiper .swiper-wrapper .swiper-slide .card .card-inner .card-back.packaging-machine {
  background: linear-gradient(0deg, rgba(0, 31, 65, 0.5), rgba(0, 31, 65, 0.5)), url(../../assets/img/products/img_packaging.webp) no-repeat;
  background-size: cover;
}
.productseries-menu {
  position: relative;
  width: 100%;
}
.productseries-menu .swiper-productseries-button-prev,
.productseries-menu .swiper-productseries-button-next {
  position: absolute;
  top: 50%;
  width: 60px;
  height: 60px;
  margin-top: -25px;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  border: #cccccc 1px solid;
  background: white;
}
@media screen and (max-width: 576px) {
  .productseries-menu .swiper-productseries-button-prev,
  .productseries-menu .swiper-productseries-button-next {
    top: inherit;
    bottom: 30px;
  }
}
.productseries-menu .swiper-productseries-button-prev:hover,
.productseries-menu .swiper-productseries-button-next:hover {
  background: #2169B6;
  color: white;
  border: #2169B6 1px solid;
}
.productseries-menu .swiper-productseries-button-prev {
  left: 1rem;
}
.productseries-menu .swiper-productseries-button-next {
  right: 1rem;
}

.en .productseries-menu .swiper .swiper-wrapper .swiper-slide .card .card-inner .card-back .card-menu p, .es .productseries-menu .swiper .swiper-wrapper .swiper-slide .card .card-inner .card-back .card-menu p {
  margin-bottom: 0;
}

.es .productseries-menu .swiper .swiper-wrapper .swiper-slide.mill .card .card-inner .card-back {
  padding-top: 1.5rem;
}

.ja .productseries-menu .swiper .swiper-wrapper .swiper-slide.mill .card .card-inner .card-back .card-menu p {
  margin-bottom: 0.35rem;
}

footer {
  overflow: hidden;
  border-top: #dddddd 1px solid;
  background-color: white;
}
footer .container-fluid {
  overflow: hidden;
  padding: 0 8.3%;
}
@media screen and (max-width: 1200px) {
  footer .container-fluid {
    padding: 0 3%;
  }
}
@media screen and (max-width: 960px) {
  footer .container-fluid {
    padding: 0 6%;
    width: 100%;
    height: 100%;
  }
}
footer .left-block {
  overflow: hidden;
  padding-top: 60px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding-left: 24px;
}
@media screen and (max-width: 1400px) {
  footer .left-block {
    padding-left: 8px;
  }
}
@media screen and (max-width: 960px) {
  footer .left-block {
    padding-left: 0;
  }
}
@media screen and (max-width: 1200px) {
  footer .left-block {
    padding-left: 12px;
  }
}
@media screen and (max-width: 960px) {
  footer .left-block {
    border-right: none;
  }
}
footer .left-block .logo {
  margin-bottom: 2.5rem;
  width: 200px;
  display: flex;
  flex-direction: column;
  color: #063E7F;
  font-size: 1.125rem;
  font-weight: bold;
  letter-spacing: 2px;
}
footer .left-block .logo .logo-img {
  width: 100%;
  height: 50px;
  background-color: #063E7F;
  -webkit-mask: url("../../assets/img/img-logo.svg") no-repeat center;
  mask: url("../../assets/img/img-logo.svg") no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
footer .left-block .company-info {
  overflow: hidden;
}
footer .left-block .company-info ul {
  display: flex;
  flex-direction: column;
  row-gap: 0.5rem;
}
footer .left-block .company-info ul li {
  display: flex;
  column-gap: 2.25rem;
}
@media screen and (max-width: 1200px) {
  footer .left-block .company-info ul li {
    font-size: 1rem;
  }
}
@media screen and (max-width: 992px) {
  footer .left-block .company-info ul li {
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 576px) {
  footer .left-block .company-info ul li {
    font-size: 1.125rem;
  }
}
footer .left-block .company-info ul li .iconblock {
  border-radius: 0.3rem;
  height: 30px;
}
footer .left-block .company-info ul li a:hover .icon-phone,
footer .left-block .company-info ul li a:hover .icon-fax,
footer .left-block .company-info ul li a:hover .icon-address,
footer .left-block .company-info ul li a:hover .icon-email,
footer .left-block .company-info ul li a:hover .icon-code,
footer .left-block .company-info ul li a:hover .icon-chat {
  background-color: #063E7F;
}
footer .left-block .company-info ul li .icon-phone,
footer .left-block .company-info ul li .icon-fax,
footer .left-block .company-info ul li .icon-address,
footer .left-block .company-info ul li .icon-email,
footer .left-block .company-info ul li .icon-code,
footer .left-block .company-info ul li .icon-chat {
  width: 30px;
  height: 30px;
  background-color: #333333;
  -webkit-mask-size: contain;
  mask-size: contain;
}
@media screen and (max-width: 992px) {
  footer .left-block .company-info ul li .icon-phone,
  footer .left-block .company-info ul li .icon-fax,
  footer .left-block .company-info ul li .icon-address,
  footer .left-block .company-info ul li .icon-email,
  footer .left-block .company-info ul li .icon-code,
  footer .left-block .company-info ul li .icon-chat {
    -webkit-mask-size: cover;
    mask-size: cover;
  }
}
@media screen and (max-width: 576px) {
  footer .left-block .company-info ul li .icon-phone,
  footer .left-block .company-info ul li .icon-fax,
  footer .left-block .company-info ul li .icon-address,
  footer .left-block .company-info ul li .icon-email,
  footer .left-block .company-info ul li .icon-code,
  footer .left-block .company-info ul li .icon-chat {
    -webkit-mask-size: contain;
    mask-size: contain;
  }
}
footer .left-block .company-info ul li > div, footer .left-block .company-info ul li > a {
  display: flex;
  column-gap: 0.5rem;
  align-items: center;
}
footer .left-block .company-info ul li .icon-phone {
  -webkit-mask: url("../../assets/img/img_icon_phone.svg") no-repeat center;
  mask: url("../../assets/img/img_icon_phone.svg") no-repeat center;
}
footer .left-block .company-info ul li .icon-fax {
  -webkit-mask: url("../../assets/img/img_icon_fax.svg") no-repeat center;
  mask: url("../../assets/img/img_icon_fax.svg") no-repeat center;
}
footer .left-block .company-info ul li .icon-address {
  -webkit-mask: url("../../assets/img/img_icon_address.svg") no-repeat center;
  mask: url("../../assets/img/img_icon_address.svg") no-repeat center;
}
footer .left-block .company-info ul li .icon-email {
  -webkit-mask: url("../../assets/img/img_icon_email.svg") no-repeat center;
  mask: url("../../assets/img/img_icon_email.svg") no-repeat center;
}
footer .left-block .company-info ul li .icon-code {
  -webkit-mask: url("../../assets/img/img_icon_code.svg") no-repeat center;
  mask: url("../../assets/img/img_icon_code.svg") no-repeat center;
}
footer .left-block .company-info ul li .icon-chat {
  -webkit-mask: url("../../assets/img/img_icon_chat.svg") no-repeat center;
  mask: url("../../assets/img/img_icon_chat.svg") no-repeat center;
}
footer .left-block .sns-group {
  display: flex;
  gap: 20px;
  margin-bottom: 18px;
}
@media screen and (max-width: 992px) {
  footer .left-block .sns-group {
    margin-top: 18px;
    margin-bottom: 48px;
  }
}
footer .left-block .sns-group .sns-btn .icon {
  width: 36px;
  height: 36px;
  background: #333333;
  background-color: #333333;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: background 0.3s ease-in-out, background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}
footer .left-block .sns-group .sns-btn .icon:hover {
  background: linear-gradient(90deg, #063E7F 0%, #2A6FAC 100%);
  background-color: #333333;
  transform: translateY(-4px);
}
footer .left-block .sns-group .sns-btn .line {
  -webkit-mask: url("../../assets/img/icon-sns-line.svg") no-repeat center;
  mask: url("../../assets/img/icon-sns-line.svg") no-repeat center;
}
footer .left-block .sns-group .sns-btn .fb {
  -webkit-mask: url("../../assets/img/icon-sns-fb.svg") no-repeat center;
  mask: url("../../assets/img/icon-sns-fb.svg") no-repeat center;
}
footer .left-block .sns-group .sns-btn .ig {
  -webkit-mask: url("../../assets/img/icon-sns-ig.svg") no-repeat center;
  mask: url("../../assets/img/icon-sns-ig.svg") no-repeat center;
}
footer .left-block .sns-group .sns-btn .yt {
  -webkit-mask: url("../../assets/img/icon-sns-ig.svg") no-repeat center;
  mask: url("../../assets/img/icon-sns-yt.svg") no-repeat center;
}
footer .left-block .sns-group .sns-btn .x {
  -webkit-mask: url("../../assets/img/icon-sns-x.svg") no-repeat center;
  mask: url("../../assets/img/icon-sns-x.svg") no-repeat center;
}
footer .footer-menu-products {
  overflow: hidden;
}
@media screen and (min-width: 960px) {
  footer .footer-menu-products {
    padding: 78px 0 60px 3.5%;
    border-left: #dddddd 1px solid;
  }
}
@media screen and (max-width: 992px) {
  footer .footer-menu-products {
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 576px) {
  footer .footer-menu-products {
    margin-bottom: 0;
  }
}
footer .footer-menu-products h3 {
  font-size: 21px;
  font-weight: bold;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px #666666 solid;
}
footer .footer-menu-products h3 a {
  color: #063E7F;
}
@media screen and (max-width: 992px) {
  footer .footer-menu-products h3 {
    font-size: 1.725rem;
  }
}
footer .footer-menu-products h5 {
  width: 100%;
  font-size: 1.125rem;
  margin-bottom: 30px;
}
@media screen and (max-width: 992px) {
  footer .footer-menu-products h5 {
    font-size: 1.35rem;
    margin-bottom: 18px;
  }
}
footer .footer-menu-products ul {
  margin-bottom: 3rem;
}
footer .footer-menu-products li {
  text-align: left;
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}
footer .footer-menu-products li a {
  color: #333333;
}
footer .footer-menu-products li a:hover {
  color: #2169B6;
}
footer .footer-menu-products .products-menu-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
@media screen and (max-width: 576px) {
  footer .footer-menu-products .products-menu-content {
    column-gap: 2.5rem;
    justify-content: flex-start;
  }
}
footer .footer-menu-products .products-menu-content .products-menu-block h5 {
  font-weight: bold;
}
@media screen and (max-width: 576px) {
  footer .footer-menu-products .products-menu-content .products-menu-block {
    margin-bottom: 30px;
  }
}
footer .footer-menu {
  overflow: hidden;
  padding-top: 78px;
  padding-right: 24px;
  padding-left: 0;
  display: flex;
  justify-content: flex-end;
  margin-bottom: calc(120px - 1.5rem);
}
@media screen and (max-width: 1200px) {
  footer .footer-menu {
    padding-left: 12px;
  }
}
@media screen and (max-width: 960px) {
  footer .footer-menu {
    padding-top: 0;
    padding-bottom: 30px;
    justify-content: flex-start;
    margin-bottom: 0;
  }
}
@media screen and (max-width: 992px) {
  footer .footer-menu ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  footer .footer-menu ul li {
    white-space: nowrap;
    font-size: 1.35rem;
  }
}
@media screen and (max-width: 576px) {
  footer .footer-menu ul {
    justify-content: flex-start;
    column-gap: 2.5rem;
  }
}
footer .footer-menu li {
  color: #212529;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
footer .footer-menu li a {
  color: #212529;
  font-weight: bold;
}
footer .footer-menu li a:hover {
  color: #2169B6;
}
footer .copyright {
  overflow: hidden;
  border-top: #dddddd 1px solid;
  padding: 20px 0;
  color: #333333;
  font-size: 0.9rem;
}

.en footer .footer-menu-products h5 {
  margin-bottom: 0.5rem;
}
.en footer .footer-menu-products ul {
  margin-bottom: 3rem;
}
@media screen and (max-width: 576px) {
  .en footer .footer-menu-products ul {
    margin-bottom: 0;
  }
}
.en footer .footer-menu-products li {
  margin-bottom: 0;
}

/* 頁面 */
.home {
  overflow-x: hidden;
}
.home .home-section {
  overflow: hidden;
}
.home .products-container,
.home .aboutus-container,
.home .news-container,
.home .contact .container-fluid {
  overflow: hidden;
  padding-left: 8.3%;
  padding-right: 8.3%;
}
.home .more-btn {
  white-space: nowrap;
  display: flex;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, padding 0.3s ease-in-out, gap 0.3s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.home .products-container {
  overflow: hidden;
}
.home .products-container .products-section {
  padding-top: 160px;
  margin-bottom: 70px;
}
.home .products-container .products-section .row:first-child .card-block:nth-child(odd) {
  padding-right: 40px;
}
.home .products-container .products-section .row:first-child .card-block:nth-child(even) {
  padding-left: 40px;
}
.home .products-container .products-section .row:last-child .card-block:nth-child(1) {
  padding-right: 30px;
}
.home .products-container .products-section .row:last-child .card-block:nth-child(2) {
  padding-right: 27px;
  padding-left: 27px;
}
.home .products-container .products-section .row:last-child .card-block:nth-child(3) {
  padding-left: 30px;
}
.home .products-container .products-section .card {
  border: #999999 1px solid;
  border-radius: 16px;
  padding: 30px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  margin-bottom: 90px;
}
.home .products-container .products-section .card:hover {
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
  border: #0061B7 2px solid;
  transform: translateY(-4px);
  cursor: pointer;
}
.home .products-container .products-section .card:hover .card-img-block img {
  transform: scale(1);
}
.home .products-container .products-section .card:hover .more-btn {
  background-color: #0061B7;
  color: white;
  gap: 2rem;
  padding: 12px 21px;
  justify-content: space-between;
  width: fit-content;
}
@media screen and (max-width: 1599px) {
  .home .products-container .products-section .card:hover .more-btn {
    gap: 0.5rem;
    font-size: 1rem;
  }
}
@media screen and (max-width: 1400px) {
  .home .products-container .products-section .card:hover .card-content h2 {
    font-size: 48px;
  }
}
.home .products-container .products-section .card .more-btn {
  white-space: wrap;
  background-color: transparent;
  color: #063E7F;
  padding: 3px 21px 3px 0;
  gap: 0.25rem;
  border-radius: 30px;
  line-height: 1;
  width: fit-content;
  align-items: center;
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out, gap 0.3s ease-in-out, padding 0.3s ease-in-out;
}
.home .products-container .products-section .card .card-img-block {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 520px;
  overflow: hidden;
}
.home .products-container .products-section .card .card-img-block img {
  transition: transform 0.3s ease-in-out;
  transform: scale(0.9);
  transform-origin: center center;
  width: 100%;
  height: auto;
}
@media screen and (max-width: 1200px) {
  .home .products-container .products-section .card .card-img-block {
    width: 100%;
  }
}
.home .products-container .products-section .card .card-content {
  padding: 6% 3% 6% 3.84%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.home .products-container .products-section .card .card-content h2 {
  font-size: 48px;
  font-weight: bolder;
  margin-bottom: 1.825rem;
  color: #063E7F;
  word-break: normal; /* 不強制斷字 */
  overflow-wrap: normal; /* 不任意換行 */
  white-space: normal; /* 正常換行（只在空白處） */
}
.home .products-container .products-section .card .card-content h2 span {
  color: #0061B7;
  display: block;
}
@media screen and (max-width: 1200px) {
  .home .products-container .products-section .card .card-content h2 span {
    display: inline-block;
  }
}
.home .products-container .products-section .card .card-content h2 {
  transition: font-size 0.35s ease-in-out;
}
@media screen and (max-width: 1200px) {
  .home .products-container .products-section .card .card-content h2 {
    width: 100%;
  }
}
.home .products-container .products-section .card .card-content p {
  color: #333333;
  line-height: 1.75rem;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  /* 🔑 關鍵設定 */
  word-break: normal;
  overflow-wrap: break-word;
}
@media screen and (max-width: 768px) {
  .home .products-container .products-section .card .card-content {
    margin-top: 30px;
  }
}
.home .products-container .products-section .col-lg-4 .card .card-img-block {
  height: 406px;
}
@media screen and (max-width: 1200px) {
  .home .products-container .products-section .row:last-child .card-block:nth-child(1) {
    padding-right: 24px;
  }
  .home .products-container .products-section .row:last-child .card-block:nth-child(2) {
    padding-right: 24px;
    padding-left: 24px;
  }
  .home .products-container .products-section .row:last-child .card-block:nth-child(3) {
    padding-left: 24px;
  }
  .home .products-container .products-section .card {
    padding: 30px 30px 1rem 30px;
    margin-bottom: 36px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
  }
  .home .products-container .products-section .card:hover {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
    border: #0061B7 2px solid;
    transform: translateY(-4px);
    cursor: pointer;
  }
  .home .products-container .products-section .card:hover .card-img-block img {
    transform: scale(1);
  }
  .home .products-container .products-section .card:hover .more-btn {
    background-color: #0061B7;
    color: white;
    gap: 2rem;
    padding: 3px 21px;
    justify-content: space-between;
    width: fit-content;
  }
  .home .products-container .products-section .card:hover .card-content h2 {
    font-size: 54px;
  }
  .home .products-container .products-section .card .more-btn {
    background-color: transparent;
    color: #063E7F;
    padding: 3px 21px 3px 0;
    gap: 0;
    border-radius: 18px;
    width: fit-content;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out, gap 0.3s ease-in-out, padding 0.3s ease-in-out;
  }
  .home .products-container .products-section .card .card-img-block {
    height: 320px;
  }
  .home .products-container .products-section .card .card-img-block img {
    width: auto;
    height: 100%;
  }
  .home .products-container .products-section .card .card-content {
    padding: 6% 3% 6% 3%;
    margin-top: 0;
  }
  .home .products-container .products-section .card .card-content h2 {
    font-size: 42px;
    margin-bottom: 1rem;
  }
  .home .products-container .products-section .card .card-content p {
    font-size: 1rem;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    /* 🔑 關鍵設定 */
    word-break: normal;
    overflow-wrap: break-word;
  }
  .home .products-container .products-section .col-lg-4 .card .card-img-block {
    height: 280px;
  }
  .home .products-container .products-section .col-lg-4 .card .card-img-block img {
    width: auto;
    height: auto;
  }
}
@media screen and (max-width: 1024px) {
  .home .products-container .products-section .card .card-content h2 {
    font-size: 38px;
  }
  .home .products-container .products-section .card:hover .card-content h2 {
    font-size: 38px;
  }
  .home .products-container .products-section .row:first-child .card-block:nth-child(odd) {
    padding-right: 12px;
  }
  .home .products-container .products-section .row:first-child .card-block:nth-child(even) {
    padding-left: 12px;
  }
  .home .products-container .products-section .row:last-child .card-block:nth-child(1) {
    padding-right: 12px;
  }
  .home .products-container .products-section .row:last-child .card-block:nth-child(2) {
    padding-right: 12px;
    padding-left: 12px;
  }
  .home .products-container .products-section .row:last-child .card-block:nth-child(3) {
    padding-left: 12px;
  }
}
@media screen and (max-width: 576px) {
  .home .products-container .products-section .card .card-content h2 span {
    display: block;
  }
  .home .products-container .products-section .card .more-btn {
    background-color: #0061B7;
    color: white;
    gap: 2rem;
    padding: 12px 21px;
    border-radius: 28px;
  }
  .home .products-container .products-section .card:hover .more-btn {
    font-size: inherit;
    padding: 12px 21px;
  }
}
.home.en .products-container .products-section .card .card-content .more-btn {
  gap: 0.25rem;
  font-size: 0.75rem;
}
.home .aboutus-container {
  overflow: hidden;
  padding-bottom: 160px;
}
.home .aboutus-container .content {
  margin-bottom: 60px;
}
.home .aboutus-container .content h5 {
  font-size: 32px;
  font-weight: bold;
  color: #063E7F;
}
.home .aboutus-container .content h3 {
  font-size: 54px;
  font-weight: 300;
  color: #0061B7;
  margin: 42px 0;
  white-space: nowrap;
}
@media screen and (max-width: 768px) {
  .home .aboutus-container .content h3 {
    white-space: wrap;
  }
}
.home .aboutus-container .content p {
  color: #666666;
  line-height: 2.25rem;
}
.home .aboutus-container .left-block .img-block {
  display: flex;
  gap: 1rem;
}
.home .aboutus-container .left-block .img-block .inner-block {
  width: 186px;
}
.home .aboutus-container .left-block .img-block .inner-block img {
  width: 100%;
}
.home .aboutus-container .left-block .img-block .inner-block:last-child {
  padding-top: 25%;
}
.home .aboutus-container .right-block {
  display: flex;
  justify-content: space-between;
  padding-left: 90px;
}
@media screen and (max-width: 768px) {
  .home .aboutus-container .right-block {
    padding-left: 0;
  }
}
.home .aboutus-container .right-block .img-block {
  width: 48%;
}
.home .aboutus-container .right-block .img-block img {
  width: 100%;
}
.home .aboutus-container .right-block .img-block:first-child {
  padding-top: 48%;
}
@media screen and (max-width: 576px) {
  .home .aboutus-container .content {
    margin-bottom: 60px;
  }
  .home .aboutus-container .content h5 {
    font-size: 32px;
    font-weight: bold;
    color: #063E7F;
  }
  .home .aboutus-container .content h3 {
    margin: 1.5rem 0;
    text-align: left;
  }
  .home .aboutus-container .content p {
    line-height: 2rem;
  }
  .home .aboutus-container .left-block {
    margin-bottom: 2rem;
  }
  .home .aboutus-container .right-block {
    display: flex;
    justify-content: space-between;
    padding-left: 90px;
  }
}
@media screen and (max-width: 576px) and (max-width: 768px) {
  .home .aboutus-container .right-block {
    padding-left: 0;
  }
}
@media screen and (max-width: 576px) {
  .home .aboutus-container .right-block .img-block {
    width: 46.25%;
  }
  .home .aboutus-container .right-block .img-block:first-child {
    padding-top: 0;
  }
  .home .aboutus-container .right-block .img-block:last-child {
    padding-top: 24%;
  }
}
.home.en .aboutus-container .content h3 span {
  display: block;
}
.home .jarallax {
  height: clamp(480px, 60vh, auto);
  overflow: hidden;
}
.home .jarallax-img {
  background-image: url(../../assets/img/home/img-home-aboutus-bg.webp);
  background-size: 100%, cover;
  background-position: bottom center;
  background-repeat: no-repeat, no-repeat;
  background-blend-mode: hard-light, normal;
}
@media screen and (max-width: 768px) {
  .home .jarallax-img {
    background-size: 250%;
    background-position: bottom left 13%;
  }
}
.home .partner {
  padding: 80px 0;
}
.home .partner .partner-container {
  display: flex;
  align-items: center;
  gap: 2rem;
}
@media screen and (max-width: 576px) {
  .home .partner .partner-container {
    display: block;
  }
  .home .partner .partner-container h3 {
    margin-bottom: 2.25rem;
  }
}
.home .partner .partner-container h3 {
  font-size: 32px;
  font-weight: bold;
  color: #063E7F;
  white-space: nowrap;
}
.home .partner {
  /* 1. 核心 CSS：確保線性滑動與吸附感 */
}
.home .partner .partnerSwiper .swiper-wrapper {
  will-change: transform;
  /* 正常狀態下是 linear，加速時透過 JS 切換 */
  -webkit-transition-timing-function: linear !important;
  -o-transition-timing-function: linear !important;
  transition-timing-function: linear !important;
}
.home .partner .partnerSwiper .swiper-wrapper .swiper-slide {
  /* 核心修改：移除 width: 100%，改為自動寬度 */
  width: auto;
  height: 150px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
  padding: 0 1rem;
  /* 移除所有 Slide 的右間距 */
  margin-right: 0 !important;
  /* 懸停時的視覺反饋 */
}
.home .partner .partnerSwiper .swiper-wrapper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: 0.3s;
  filter: brightness(1.1);
}
.home .partner .partnerSwiper .swiper-wrapper .swiper-slide img.box {
  width: auto;
  height: 100%;
}
@media screen and (max-width: 576px) {
  .home .partner .partnerSwiper .swiper-wrapper .swiper-slide img {
    object-fit: cover;
  }
}
.home .projects {
  overflow: hidden;
  background: url(../../assets/img/page/img-pagebar-bg.webp) top center no-repeat;
  background-size: contain;
}
.home .projects .title-block,
.home .projects .swiper-section {
  padding-left: 8.3%;
  padding-right: 8.3%;
}
.home .projects .title-block {
  display: flex;
  padding-top: 100px;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: #999999 1px solid;
  color: white;
}
.home .projects .title-block a {
  color: white;
}
.home .projects .title-block h2 {
  white-space: nowrap;
  font-size: 54px;
  font-weight: bolder;
}
.home .projects .title-block p {
  width: auto;
  padding: 0 8%;
  line-height: 32px;
}
.home .projects .title-block .more-btn {
  height: 60px;
  min-width: 260px;
  gap: 4px;
  align-items: center;
  justify-content: center;
  border: white 1px solid;
  border-radius: 30px;
  transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out, padding 0.35s ease-in-out, gap 0.35s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.home .projects .title-block .more-btn:hover {
  gap: 2rem;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border: transparent;
  background: linear-gradient(90deg, #063E7F 0%, #1278D2 100%);
  transform: translateY(-4px);
}
.home .projects .swiper-section {
  overflow-x: hidden;
  margin-bottom: 160px;
}
.home .projects .swiper-section .swiper-project .swiper-slide {
  padding: 30px 5%;
  /* 實績案例的白色卡片 */
}
.home .projects .swiper-section .swiper-project .swiper-slide .project-card {
  background: #fff;
  color: #333;
  border-radius: 8px;
  padding: 46px;
  border: #DDDDDD 1px solid;
  transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out, padding 0.35s ease-in-out, border 0.35s ease-in-out, gap 0.35s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.home .projects .swiper-section .swiper-project .swiper-slide .project-card .project-content-col .content p {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  /* 🔑 關鍵設定 */
  word-break: normal;
  overflow-wrap: break-word;
}
.home .projects .swiper-section .swiper-project .swiper-slide .project-card:hover {
  border: #063E7F 1px solid;
  transform: translateY(-4px);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}
.home .projects .swiper-section .swiper-project .swiper-slide .project-card:hover .project-img-col img {
  transform: scale(1.15);
}
.home .projects .swiper-section .swiper-project .swiper-slide .project-card:hover .project-content-col h3 {
  color: #063E7F;
}
.home .projects .swiper-section .swiper-project .swiper-slide .project-card:hover .more-btn {
  color: white;
  gap: 2rem;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border: transparent;
  background: linear-gradient(90deg, #063E7F 0%, #1278D2 100%);
  transform: translateY(-4px);
}
.home .projects .swiper-section .swiper-project .swiper-slide .project-img-col {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 366px;
  overflow: hidden;
  border-radius: 8px;
}
.home .projects .swiper-section .swiper-project .swiper-slide .project-img-col img {
  transition: transform 0.3s ease-in-out;
  width: 100%;
}
.home .projects .swiper-section .swiper-project .swiper-slide .project-content-col {
  padding: 30px 0;
  padding-left: 46px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.home .projects .swiper-section .swiper-project .swiper-slide .project-content-col h3 {
  color: #063E7F;
  font-size: 28px;
  font-weight: bolder;
  margin-bottom: 30px;
  transition: font-size 0.35s ease-in-out, color 0.35s ease-in-out;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  /* 🔑 關鍵設定 */
  word-break: normal;
  overflow-wrap: break-word;
}
@media screen and (max-width: 768px) {
  .home .projects .swiper-section .swiper-project .swiper-slide .project-content-col {
    margin-left: 0;
  }
}
.home .projects .swiper-section .swiper-project .swiper-slide .project-content-col strong {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  /* 🔑 關鍵設定 */
  word-break: normal;
  overflow-wrap: break-word;
}
.home .projects .swiper-section .swiper-project .swiper-slide .project-content-col .more-btn {
  color: #063E7F;
  font-size: 14px;
  padding: 4px 16px;
  gap: 4px;
  border: #063E7F 1px solid;
  border-radius: 16px;
  width: fit-content;
  align-items: center;
  justify-content: center;
  transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out, padding 0.35s ease-in-out, gap 0.35s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.home .projects .swiper-section .swiper-project {
  /* 自定義箭頭設定 */
}
.home .projects .swiper-section .swiper-project .swiper-button-next,
.home .projects .swiper-section .swiper-project .swiper-button-prev {
  position: absolute;
  background-color: #063E7F;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  top: 50%;
  transform: translateY(-50%);
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
.home .projects .swiper-section .swiper-project .swiper-button-next:after,
.home .projects .swiper-section .swiper-project .swiper-button-prev:after {
  position: absolute;
  font-size: 1rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.home .projects .swiper-section .swiper-project .swiper-button-next:hover,
.home .projects .swiper-section .swiper-project .swiper-button-prev:hover {
  color: #fff;
  background-color: #0061B7;
}
.home .projects .swiper-section .swiper-project .swiper-button-next.swiper-button-disabled,
.home .projects .swiper-section .swiper-project .swiper-button-prev.swiper-button-disabled {
  background-color: #DDDDDD;
  color: #666666;
  pointer-events: inherit;
}
.home .projects .swiper-section .swiper-project .swiper-button-next.swiper-button-disabled:hover,
.home .projects .swiper-section .swiper-project .swiper-button-prev.swiper-button-disabled:hover {
  cursor: not-allowed;
  background-color: #DDDDDD;
  color: #666666;
}
.home .projects .pagination-block {
  padding-left: 5%;
  padding-right: 5%;
  width: 100%;
  display: flex;
  gap: 1rem;
}
.home .projects .pagination-block .slide-current {
  white-space: nowrap;
}
.home .projects .pagination-block {
  /* 進度條樣式 */
}
.home .projects .pagination-block .swiper-pagination-progressbar {
  background: #DDDDDD;
  height: 4px;
  position: relative;
}
.home .projects .pagination-block .swiper-pagination-progressbar-fill {
  background: #4dabf7 !important;
}
.home .projects .pagination-block .swiper-pagination-progressbar.swiper-pagination-horizontal {
  top: inherit;
  left: inherit;
}
@media screen and (max-width: 1400px) {
  .home .projects {
    background-size: auto 500px;
  }
}
@media screen and (max-width: 1200px) {
  .home .projects {
    background-size: auto 600px;
  }
  .home .projects .title-block {
    flex-direction: column;
    padding-top: 4rem;
    margin-bottom: 12px;
  }
  .home .projects .title-block p {
    padding: 4.5% 0;
    line-height: 1.825rem;
  }
  .home .projects .swiper-section .swiper-project .swiper-slide {
    padding: 30px 2%;
    /* 實績案例的白色卡片 */
  }
  .home .projects .swiper-section .swiper-project .swiper-slide .project-card {
    padding: 2.5rem 2.5rem;
    border: #063E7F 1px solid;
    transform: translateY(-4px);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  }
  .home .projects .swiper-section .swiper-project .swiper-slide .project-content-col {
    padding: 30px 1rem 30px 30px;
  }
  .home .projects .swiper-section .swiper-project .swiper-slide .project-content-col h3 {
    color: #063E7F;
    font-size: 28px;
    font-weight: bolder;
    margin-bottom: 30px;
    transition: font-size 0.35s ease-in-out, color 0.35s ease-in-out;
  }
  .home .projects .swiper-section .swiper-project {
    /* 自定義箭頭設定 */
  }
}
@media screen and (max-width: 1200px) and (max-width: 768px) {
  .home .projects .swiper-section .swiper-project .swiper-slide .project-content-col {
    margin-left: 0;
  }
}
@media screen and (max-width: 1200px) {
  .home .projects .swiper-section .swiper-project .swiper-slide .project-content-col .more-btn {
    margin-top: 1.5rem;
  }
  .home .projects .swiper-section .swiper-project .swiper-button-next {
    right: 0;
  }
  .home .projects .swiper-section .swiper-project .swiper-button-prev {
    left: 0;
  }
  .home .projects .swiper-section .swiper-project .swiper-button-next,
  .home .projects .swiper-section .swiper-project .swiper-button-prev {
    position: absolute;
    background-color: #063E7F;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
  }
  .home .projects .swiper-section .swiper-project .swiper-button-next:after,
  .home .projects .swiper-section .swiper-project .swiper-button-prev:after {
    position: absolute;
    font-size: 1rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .home .projects .swiper-section .swiper-project .swiper-button-next:hover,
  .home .projects .swiper-section .swiper-project .swiper-button-prev:hover {
    color: #fff;
    background-color: #0061B7;
  }
  .home .projects .swiper-section .swiper-project .swiper-button-next.swiper-button-disabled,
  .home .projects .swiper-section .swiper-project .swiper-button-prev.swiper-button-disabled {
    background-color: #DDDDDD;
    color: #666666;
    pointer-events: inherit;
  }
  .home .projects .swiper-section .swiper-project .swiper-button-next.swiper-button-disabled:hover,
  .home .projects .swiper-section .swiper-project .swiper-button-prev.swiper-button-disabled:hover {
    cursor: not-allowed;
    background-color: #DDDDDD;
    color: #666666;
  }
}
@media screen and (max-width: 576px) {
  .home .projects {
    background-size: auto 600px;
  }
  .home .projects .swiper-section {
    margin-bottom: 80px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .home .projects .swiper-section .swiper-project .swiper-slide {
    padding: 30px 0 0 0;
    /* 實績案例的白色卡片 */
  }
  .home .projects .swiper-section .swiper-project .swiper-slide .project-card {
    padding: 1rem;
  }
  .home .projects .swiper-section .swiper-project .swiper-slide .project-img-col {
    height: 240px;
    border: 1px solid #DDD;
    overflow: hidden;
  }
  .home .projects .swiper-section .swiper-project .swiper-slide .project-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .home .projects .swiper-section .swiper-project .swiper-slide .project-content-col {
    padding: 1rem 1rem 1rem 1rem;
  }
  .home .projects .swiper-section .swiper-project .swiper-slide .project-content-col h3 {
    margin-bottom: 1rem;
  }
}
@media screen and (max-width: 1599px) {
  .home.en .projects {
    background-size: auto 600px;
  }
}
@media screen and (max-width: 576px) {
  .home.en .projects {
    background-size: auto 800px;
  }
}
.home .news {
  overflow: hidden;
  padding-top: 160px;
  padding-bottom: 160px;
  background: url(../../assets/img/home/img-home-news-bg.webp) top center no-repeat;
  background-size: cover;
}
@media screen and (max-width: 576px) {
  .home .news {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}
.home .news .swiper-news {
  padding: 16px;
}
@media screen and (max-width: 1200px) {
  .home .news .swiper-news {
    padding: 1rem 0;
  }
}
.home .news .col-lg-3 {
  padding-right: 0;
}
@media screen and (max-width: 576px) {
  .home .news .col-lg-3 {
    padding-right: 12px;
  }
}
.home .news .news-intro {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 60px;
}
@media screen and (max-width: 768px) {
  .home .news .news-intro {
    padding-top: 0;
  }
}
.home .news .news-intro .content {
  padding-right: 60px;
}
@media screen and (max-width: 1599px) {
  .home .news .news-intro .content {
    padding-right: 0;
  }
}
@media screen and (max-width: 768px) {
  .home .news .news-intro .content {
    padding-right: 0;
  }
}
.home .news .news-intro h2 {
  font-weight: 900;
  color: #0d47a1;
  font-size: 54px;
  letter-spacing: 1rem;
  margin-bottom: 1.5rem;
}
@media screen and (max-width: 1599px) {
  .home .news .news-intro h2 {
    letter-spacing: 0;
  }
}
@media screen and (max-width: 1200px) {
  .home .news .news-intro h2 {
    font-size: 42px;
    letter-spacing: 0.1875rem;
  }
}
@media screen and (max-width: 1024px) {
  .home .news .news-intro h2 {
    font-size: 36px;
    letter-spacing: 0;
  }
}
.home .news .news-intro p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 2rem;
  padding-right: 72px;
}
@media screen and (max-width: 1599px) {
  .home .news .news-intro p {
    padding-right: 0;
  }
}
.home .news .news-nav-btn-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  padding-bottom: 1rem;
}
@media screen and (max-width: 1200px) {
  .home .news .news-nav-btn-block {
    padding-right: 1rem;
    flex-direction: row-reverse;
  }
}
.home .news .news-nav-btn-block {
  /* 自定義圓形導航按鈕 */
}
.home .news .news-nav-btn-block .news-nav-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background-color: #154c96;
  color: #fff;
  transition: background-color 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.home .news .news-nav-btn-block .news-nav-btn:hover {
  background-color: #0d3268;
}
.home .news .news-nav-btn-block .news-nav-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}
@media screen and (max-width: 576px) {
  .home .news .news-nav-btn {
    display: none;
  }
}
.home.en .news .news-intro h2 {
  letter-spacing: 0;
}
.home.en .news .news-intro p {
  padding-right: 0;
}
@media screen and (max-width: 1599px) {
  .home.en .news .news-intro {
    padding-top: 40px;
  }
  .home.en .news .news-intro p {
    padding-right: 0;
  }
}
.home .contact {
  overflow: hidden;
  background: url(../../assets/img/page/img-pagebar-bg.webp) center no-repeat;
  background-size: cover;
  color: white;
}
.home .contact .container-fluid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  padding-top: 100px;
  padding-bottom: 100px;
}
.home .contact .container-fluid p {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 36px;
}
.home .contact .container-fluid .btn-contact {
  font-size: 1.5rem;
  border-radius: 36px;
  border: 1px white solid;
  min-width: 300px;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.home .contact .container-fluid .btn-contact .iconblock {
  height: 2.25rem;
  margin-right: 0.5rem;
}
.home .contact .container-fluid .btn-contact .icon-chat {
  width: 2.25rem;
  height: 2.25rem;
  background-color: white;
  -webkit-mask-size: contain;
  mask-size: contain;
  transform: scale(1.5);
  transition: transform 0.3s ease-in-out;
  -webkit-mask: url("../../assets/img/img_icon_chat.svg") no-repeat center;
  mask: url("../../assets/img/img_icon_chat.svg") no-repeat center;
}
.home .contact .container-fluid .btn-contact:hover {
  cursor: pointer;
  background-color: white;
  color: #063E7F;
}
.home .contact .container-fluid .btn-contact:hover .icon-chat {
  animation: swing 0.6s ease infinite;
  background-color: #063E7F;
}
@media screen and (max-width: 960px) {
  .home .contact .container-fluid {
    flex-wrap: wrap;
    justify-content: center;
  }
  .home .contact .container-fluid p {
    font-size: 1.25rem;
    padding: 0 2.5rem;
    text-align: center;
  }
}
@keyframes swing {
  0% {
    transform: scale(2.5) rotate(0deg);
  }
  20% {
    transform: scale(2.5) rotate(10deg);
  }
  40% {
    transform: scale(2.5) rotate(-10deg);
  }
  60% {
    transform: scale(2.5) rotate(6deg);
  }
  80% {
    transform: scale(2.5) rotate(-6deg);
  }
  100% {
    transform: scale(2.5) rotate(0deg);
  }
}
@media screen and (max-width: 1400px) {
  .home .home-section {
    background-position: right;
    background-size: auto 100%;
  }
}

.aboutus-section {
  color: #333333;
  overflow-x: hidden;
  background-image: url(../../assets/img/page/img-page-bottom-bg.webp);
  background-blend-mode: multiply;
  background-position: bottom;
  background-repeat: no-repeat;
  background-color: #FEFEFE;
}
.aboutus-section h3 {
  color: #063E7F;
  font-weight: bolder;
  font-size: 42px;
}
.aboutus-section h2 {
  color: #2A6FAC;
  font-size: 60px;
}
@media screen and (max-width: 576px) {
  .aboutus-section h3 {
    color: #063E7F;
    font-weight: bolder;
    font-size: 31.5px;
  }
  .aboutus-section h2 {
    color: #2A6FAC;
    font-size: 45px;
  }
}
.aboutus-section .company,
.aboutus-section .joinus {
  padding-left: 8.3%;
  padding-right: 8.3%;
}
.aboutus-section .company {
  margin-top: 160px;
  background: url(../img/aboutus/img-aboutus-bg.webp) top right no-repeat;
}
.aboutus-section .company h2 {
  margin: 18px 0 34px 0;
}
.aboutus-section .company .slogan h4 {
  color: #A7C6E0;
  font-size: 90px;
  font-weight: bold;
}
@media screen and (max-width: 768px) {
  .aboutus-section .company .paragraph {
    padding-left: 0;
  }
}
.aboutus-section .company .paragraph {
  margin-top: 112px;
  margin-left: 13.5%;
  margin-right: 13.5%;
}
.aboutus-section .company .paragraph h5 {
  margin-bottom: 40px;
  color: #063E7F;
  font-weight: bold;
  font-size: 24px;
}
.aboutus-section .company .paragraph p {
  color: #333333;
}
@media screen and (max-width: 576px) {
  .aboutus-section .company {
    margin-top: 80px;
  }
  .aboutus-section .company .slogan h4 {
    font-size: 29.25px;
  }
  .aboutus-section .company .paragraph {
    margin-top: 60px;
    margin-left: 0;
    margin-right: 0;
  }
  .aboutus-section .company .paragraph h5 {
    margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.625rem;
  }
  .aboutus-section .company .paragraph p {
    font-size: 1rem;
  }
}
.aboutus-section .partner h3 {
  margin-bottom: 1.75rem;
  text-align: center;
}
@media (min-width: 992px) {
  .aboutus-section .partner { /* 對應 Bootstrap 的 lg 斷點 */ }
  .aboutus-section .partner .row-cols-lg-7 > * {
    flex: 0 0 auto;
    width: 14.285714% !important; /* 確保 100/7 的精準比例 */
  }
  .aboutus-section .partner .row-cols-lg-8 > * {
    flex: 0 0 auto;
    width: 12.5% !important; /* 確保 100/8 的精準比例 */
    padding-right: 5px;
    padding-left: 5px;
    padding-top: 1rem; /* 上方間距 */
    padding-bottom: 1rem; /* 下方間距 */
  }
}
.aboutus-section .partner .customer-group {
  max-width: 1440px; /* 為了讓 8 個併排有呼吸感，建議容器拉寬 */
  padding: 80px 0 60px 0;
}
@media screen and (max-width: 1599px) and (min-width: 996px) {
  .aboutus-section .partner .customer-group {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.aboutus-section .partner .customer-group .custom-logo-grid {
  max-height: 150px; /* 限制高度，避免 Logo 大小不一破壞整齊度 */
  width: auto;
  object-fit: contain;
  filter: brightness(1.1);
  /* border: 1px black solid; */
}
.aboutus-section .certificate-wrapper {
  background: url(../../assets/img/page/img-page-bottom-bg.webp) bottom center no-repeat;
  background-size: contain;
  padding-bottom: 80px;
}
.aboutus-section .certificate-wrapper .certificate h3 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 24px;
}
.aboutus-section .certificate-wrapper .certificate.internation {
  margin-top: 80px;
  margin-bottom: 80px;
}
.aboutus-section .certificate-wrapper .certificate.tc {
  /* 1. 在大螢幕時，最大寬度限制在 1055px */
  max-width: 1055px !important;
  /* 2. 確保在寬度不足 1055px 時（如平板、手機），寬度是 100% 自動縮放 */
  width: 100%;
  /* 3. 置中對齊 */
  margin-left: auto;
  margin-right: auto;
}
.aboutus-section .certificate-wrapper .certificate img {
  backface-visibility: hidden;
  border: 1px solid transparent;
}
.aboutus-section .img-block-group {
  display: flex;
  flex-wrap: nowrap;
  gap: 0px;
  width: 100%;
}
@media screen and (max-width: 576px) {
  .aboutus-section .img-block-group {
    flex-wrap: wrap;
    gap: 10px;
  }
}
.aboutus-section .img-block-group .img-block {
  flex: 1;
  overflow: hidden;
  height: 350px;
}
.aboutus-section .img-block-group .img-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media screen and (max-width: 576px) {
  .aboutus-section .img-block-group .img-block {
    height: 200px;
  }
  .aboutus-section .img-block-group .img-block:nth-child(1), .aboutus-section .img-block-group .img-block:nth-child(2) {
    flex: none;
    width: calc(50% - 5px);
  }
  .aboutus-section .img-block-group .img-block:nth-child(3) {
    flex: none;
    width: 100%;
  }
}
.aboutus-section .joinus {
  background: url(../img/aboutus/img-aboutus-joinus-bg.webp) top center no-repeat;
  background-size: contain;
}
@media screen and (max-width: 1400px) {
  .aboutus-section .joinus {
    background-size: 100% 500px;
  }
}
@media screen and (max-width: 992px) {
  .aboutus-section .joinus {
    background-size: 100% 600px;
  }
}
@media screen and (max-width: 576px) {
  .aboutus-section .joinus {
    background-size: 100% 500px;
  }
}
.aboutus-section .joinus .title {
  color: white;
  text-align: center;
  padding: 80px 0;
}
.aboutus-section .joinus .title h2 {
  color: white;
}
.aboutus-section .joinus .title p {
  margin-top: 30px;
  line-height: 36px;
}
@media screen and (max-width: 576px) {
  .aboutus-section .joinus .title {
    padding: 98px 0 40px 0;
  }
  .aboutus-section .joinus .title p {
    font-size: 1rem;
    text-align: left;
    line-height: 1.625rem;
  }
}
.aboutus-section .joinus .joinus-card-group {
  margin-bottom: 160px;
}
.aboutus-section .joinus .joinus-card-group .joinus-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
@media screen and (max-width: 992px) {
  .aboutus-section .joinus .joinus-card-group .joinus-card {
    margin-bottom: 60px;
  }
  .aboutus-section .joinus .joinus-card-group .joinus-card:last-child {
    margin-bottom: 0;
  }
}
.aboutus-section .joinus .joinus-card-group .joinus-card .card-img {
  border-radius: 120px;
  width: 240px;
  height: 240px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background-color: white;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
  margin-bottom: 30px;
}
.aboutus-section .joinus .joinus-card-group .joinus-card .card-img img {
  width: auto;
  height: 88%;
}
.aboutus-section .joinus .joinus-card-group .joinus-card .card-content {
  text-align: center;
}
.aboutus-section .joinus .joinus-card-group .joinus-card .card-content h5 {
  color: #2A6FAC;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 18px;
}
.aboutus-section .joinus .joinus-card-group .joinus-card .card-content p {
  text-align: left;
  width: 240px;
}

@media screen and (max-width: 576px) {
  .en .aboutus-section .joinus {
    background-size: 100% 640px;
  }
}

.products :focus {
  outline: none;
  box-shadow: none;
}
.products {
  background-color: #FEFEFE;
}
.products .products-section {
  overflow: hidden;
  margin-top: 160px;
  padding-bottom: 120px;
  background: url(../../assets/img/page/img-page-bottom-bg.webp) bottom center no-repeat;
  background-blend-mode: overlay;
  background-size: contain;
}
@media screen and (max-width: 1200px) {
  .products .products-section {
    margin-top: 80px;
  }
}
@media screen and (max-width: 992px) {
  .products .products-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
.products .products-section .products-series-block {
  width: 100%;
  overflow: hidden;
}
.products .products-section .product-series {
  width: 100%;
  height: 600px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding-top: 100px;
  padding-bottom: 80px;
  transition: box-shadow 0.3s ease-in-out;
}
@media screen and (max-width: 1599px) {
  .products .products-section .product-series {
    height: 480px;
    padding-top: 80px;
    padding-bottom: 60px;
  }
}
@media screen and (max-width: 1200px) {
  .products .products-section .product-series {
    height: 360px;
    padding-top: 50px;
    padding-bottom: 40px;
  }
}
@media screen and (max-width: 992px) {
  .products .products-section .product-series {
    height: 620px;
    padding-bottom: 30px;
  }
}
@media screen and (max-width: 576px) {
  .products .products-section .product-series {
    height: 498px;
  }
}
.products .products-section .product-series .info {
  width: 384px;
  height: 100%;
  flex-shrink: 0; /* ⭐ 避免被壓縮 */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}
@media screen and (max-width: 1599px) {
  .products .products-section .product-series .info {
    width: 260px;
  }
}
@media screen and (max-width: 1200px) {
  .products .products-section .product-series .info {
    width: 200px;
  }
}
@media screen and (max-width: 992px) {
  .products .products-section .product-series .info {
    width: 100%;
  }
}
.products .products-section .product-series .info h2 {
  position: relative;
  color: #063E7F;
  font-size: 48px;
  font-weight: bolder;
  margin-bottom: 60px;
}
.products .products-section .product-series .info h2 span {
  color: #0061B7;
}
@media screen and (max-width: 1599px) {
  .products .products-section .product-series .info h2 span {
    display: block;
  }
}
@media screen and (max-width: 1599px) {
  .products .products-section .product-series .info h2 {
    font-size: 42px;
    margin-bottom: 42px;
  }
}
@media screen and (max-width: 1200px) {
  .products .products-section .product-series .info h2 {
    font-size: 36px;
    margin-bottom: 42px;
  }
}
.products .products-section .product-series .info h2::after {
  position: absolute;
  content: "";
  width: 80px;
  height: 1px;
  background-color: #063E7F;
  left: 0;
  bottom: -1rem;
}
.products .products-section .product-series .info p {
  color: #333333;
  line-height: 28px;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  /* 🔑 關鍵設定 */
  word-break: normal;
  overflow-wrap: break-word;
}
@media screen and (max-width: 1599px) {
  .products .products-section .product-series .info p {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    /* 🔑 關鍵設定 */
    word-break: normal;
    overflow-wrap: break-word;
  }
}
@media screen and (max-width: 1200px) {
  .products .products-section .product-series .info p {
    font-size: 1rem;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    /* 🔑 關鍵設定 */
    word-break: normal;
    overflow-wrap: break-word;
  }
}
.products .products-section .product-series .info .more-btn {
  font-weight: bold;
  display: flex;
  column-gap: 4px;
  transition: gap 0.3s ease-in-out, transform 0.3s ease-in-out;
}
@media screen and (max-width: 992px) {
  .products .products-section .product-series .info .more-btn {
    align-self: flex-end;
    margin-bottom: 0;
  }
}
.products .products-section .product-series .img-group {
  width: auto;
  height: 100%;
  display: flex;
  flex: 1; /* ⭐ 自動填滿剩餘空間 */
  z-index: 2;
}
.products .products-section .product-series .img-group .img-block {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  flex-shrink: 1;
}
.products .products-section .product-series .img-group .img-block .product-img {
  width: 400px;
  height: 400px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 1599px) {
  .products .products-section .product-series .img-group .img-block .product-img {
    width: 300px;
    height: 300px;
  }
}
@media screen and (max-width: 1440px) {
  .products .products-section .product-series .img-group .img-block .product-img {
    width: 260px;
    height: 260px;
  }
}
@media screen and (max-width: 1200px) {
  .products .products-section .product-series .img-group .img-block .product-img {
    width: 220px;
    height: 220px;
  }
}
@media screen and (max-width: 576px) {
  .products .products-section .product-series .img-group .img-block .product-img {
    width: 120px;
    height: 120px;
  }
}
.products .products-section .product-series .img-group .img-block .product-img img {
  transition: transform 0.3s ease-in-out;
  transform: scale(1);
  width: 80%;
}
.products .products-section .product-series .img-group .img-block h5 {
  font-size: 1.25rem;
  font-weight: bold;
  color: #063E7F;
  transition: color 0.3s ease-in-out, text-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
  margin-bottom: 0;
}
.products .products-section .product-series .img-group .img-block h5 span {
  transition: color 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
  color: #0061B7;
}
@media screen and (max-width: 576px) {
  .products .products-section .product-series .img-group .img-block h5 {
    font-size: 1rem;
  }
  .products .products-section .product-series .img-group .img-block h5 span {
    display: block;
  }
}
@media screen and (max-width: 992px) {
  .products .products-section .product-series .img-group {
    position: absolute;
    width: 100%;
    height: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    top: inherit;
    bottom: 80px;
    left: 0;
  }
}
@media screen and (max-width: 576px) {
  .products .products-section .product-series .img-group {
    top: inherit;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 0;
  }
}
.products .products-section .product-series .img-bg {
  position: absolute;
  width: 100%;
  height: 600px;
  bottom: 0;
  left: 0;
  z-index: 1;
  object-fit: cover;
  display: block;
}
@media screen and (max-width: 992px) {
  .products .products-section .product-series .img-bg {
    height: 666px;
  }
}
@media screen and (max-width: 576px) {
  .products .products-section .product-series .img-bg {
    height: 100%;
  }
}
.products .products-section .product-series::before {
  content: "";
  position: absolute;
  background: #0061B7;
  mix-blend-mode: overlay;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 600px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  border: none;
}
@media screen and (max-width: 992px) {
  .products .products-section .product-series::before {
    height: 620px;
  }
}
@media screen and (max-width: 576px) {
  .products .products-section .product-series::before {
    height: 100%;
  }
}
.products .products-section .product-series:hover {
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.25);
}
.products .products-section .product-series:hover::before {
  opacity: 1;
}
.products .products-section .product-series:hover .info .more-btn {
  column-gap: 1rem;
  transform: translateY(-4px);
  color: white;
  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.5);
}
.products .products-section .product-series:hover .img-group .img-block .product-img img {
  transform: scale(0.95);
}
.products .products-section .product-series:hover .img-group .img-block h5, .products .products-section .product-series:hover .img-group .img-block h5 span, .products .products-section .product-series:hover .img-group .img-block h5.bottle span {
  color: white;
  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.5);
  transform: translateY(-4px);
}
@media screen and (max-width: 576px) {
  .products .products-section .product-series.bottle-packaging .img-group .img-block .product-img {
    width: 100px;
    height: 100px;
  }
}
.products .products-section .product-series.cartoning .img-group {
  width: 100%;
  justify-content: space-between;
}
.products .products-section .product-series.cartoning .img-group .img-block img {
  height: 100%;
  width: auto;
}
.products .products-section .product-series.cartoning:nth-child(1) .product-img img {
  height: 80%;
}
.products .products-section .left-block {
  padding-right: 120px;
  padding-bottom: 100px;
}
@media screen and (max-width: 1599px) {
  .products .products-section .left-block {
    padding-right: 60px;
  }
}
@media screen and (max-width: 992px) {
  .products .products-section .left-block {
    padding-right: 0;
    padding-bottom: 60px;
  }
}
.products .products-section .left-block .product-series {
  border-radius: 0px 32px 32px 0px;
  padding-left: 8.3%;
  padding-right: 120px;
}
.products .products-section .left-block .product-series .img-group {
  justify-content: flex-end;
  min-width: 0;
}
@media screen and (min-width: 1024px) and (max-width: 1900px) {
  .products .products-section .left-block .product-series {
    padding-left: 5%;
    padding-right: 5%;
  }
}
@media screen and (max-width: 1599px) {
  .products .products-section .left-block .product-series {
    padding-right: 60px;
    padding-left: 5.4%;
  }
}
@media screen and (max-width: 1200px) {
  .products .products-section .left-block .product-series {
    padding-right: 30px;
  }
}
@media screen and (max-width: 992px) {
  .products .products-section .left-block .product-series {
    border-radius: 32px;
    padding-top: 3.25rem;
    padding-left: 2rem;
    padding-right: 2rem;
    border: #DDDDDD 1px solid;
  }
  .products .products-section .left-block .product-series .img-group {
    justify-content: center;
  }
}
.products .products-section .right-block {
  padding-left: 120px;
  padding-bottom: 100px;
}
@media screen and (max-width: 1599px) {
  .products .products-section .right-block {
    padding-left: 60px;
  }
}
@media screen and (max-width: 992px) {
  .products .products-section .right-block {
    padding-left: 0;
    padding-bottom: 60px;
  }
}
.products .products-section .right-block .product-series {
  border-radius: 32px 0px 0px 32px;
  padding-right: 8.3%;
  padding-left: 30px;
}
.products .products-section .right-block .product-series .img-group {
  justify-content: flex-start;
}
@media screen and (max-width: 1599px) {
  .products .products-section .right-block .product-series {
    padding-left: 30px;
  }
}
@media screen and (max-width: 1200px) {
  .products .products-section .right-block .product-series {
    padding-left: 30px;
  }
}
@media screen and (max-width: 992px) {
  .products .products-section .right-block .product-series {
    border-radius: 32px;
    padding-top: 3.25rem;
    padding-left: 2rem;
    padding-right: 2rem;
    border: #DDDDDD 1px solid;
  }
  .products .products-section .right-block .product-series .img-group {
    justify-content: center;
  }
}
.products .products-section .half-block {
  padding-left: 6.25%;
  padding-right: 6.25%;
  overflow: hidden;
}
@media screen and (max-width: 992px) {
  .products .products-section .half-block {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
.products .products-section .half-block .products-series-inner {
  padding: 0;
}
.products .products-section .half-block .products-series-inner:first-child {
  padding-right: 45px;
  margin-bottom: 60px;
}
@media screen and (max-width: 1599px) {
  .products .products-section .half-block .products-series-inner:first-child {
    padding-right: 16px;
  }
}
@media screen and (max-width: 992px) {
  .products .products-section .half-block .products-series-inner:first-child {
    padding-right: 0;
  }
}
.products .products-section .half-block .products-series-inner:last-child {
  padding-left: 45px;
  margin-bottom: 60px;
}
@media screen and (max-width: 1599px) {
  .products .products-section .half-block .products-series-inner:last-child {
    padding-left: 16px;
  }
}
@media screen and (max-width: 992px) {
  .products .products-section .half-block .products-series-inner:last-child {
    padding-left: 0;
    margin-bottom: 0;
  }
}
.products .products-section .half-block .inner-block {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-shrink: 0;
  padding: 40px 60px;
  border-radius: 32px;
  transition: box-shadow 0.3s ease-in-out;
}
@media screen and (max-width: 1599px) {
  .products .products-section .half-block .inner-block {
    padding: 30px 40px;
  }
}
@media screen and (max-width: 992px) {
  .products .products-section .half-block .inner-block {
    flex-direction: column;
    border: #DDDDDD 1px solid;
  }
}
.products .products-section .half-block .inner-block .img-block {
  width: 50%;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  margin-right: 80px;
  z-index: 3;
}
.products .products-section .half-block .inner-block .img-block .product-img {
  height: 100%;
}
.products .products-section .half-block .inner-block .img-block .product-img img {
  width: auto;
  height: 100%;
  margin-bottom: 20px;
  transition: transform 0.3s ease-in-out;
}
@media screen and (max-width: 1599px) {
  .products .products-section .half-block .inner-block .img-block {
    height: 320px;
    margin-right: 30px;
  }
}
@media screen and (max-width: 992px) {
  .products .products-section .half-block .inner-block .img-block {
    width: 100%;
    height: 240px;
    margin-right: 0;
  }
}
.products .products-section .half-block .inner-block .info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 0;
  z-index: 3;
}
@media screen and (max-width: 1599px) {
  .products .products-section .half-block .inner-block .info {
    padding: 28px 0;
  }
}
.products .products-section .half-block .inner-block .info h2 {
  position: relative;
  color: #063E7F;
  font-size: 48px;
  font-weight: bolder;
  letter-spacing: 0.08em;
  margin-bottom: 60px;
  white-space: nowrap;
}
.products .products-section .half-block .inner-block .info h2 span {
  color: #0061B7;
}
.products .products-section .half-block .inner-block .info h2::after {
  position: absolute;
  content: "";
  width: 80px;
  height: 1px;
  background-color: #063E7F;
  left: 0;
  bottom: -1rem;
}
@media screen and (max-width: 1599px) {
  .products .products-section .half-block .inner-block .info h2 {
    font-size: 32px;
    margin-bottom: 32px;
  }
}
.products .products-section .half-block .inner-block .info p {
  color: #333333;
  line-height: 28px;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  /* 🔑 關鍵設定 */
  word-break: normal;
  overflow-wrap: break-word;
}
@media screen and (max-width: 1599px) {
  .products .products-section .half-block .inner-block .info p {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    /* 🔑 關鍵設定 */
    word-break: normal;
    overflow-wrap: break-word;
  }
}
@media screen and (max-width: 1599px) {
  .products .products-section .half-block .inner-block .info {
    width: 100%;
    padding-bottom: 0;
  }
}
.products .products-section .half-block .inner-block .more-btn {
  font-weight: bold;
  display: flex;
  column-gap: 4px;
  transition: gap 0.3s ease-in-out, color 0.3s ease-in-out, text-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.products .products-section .half-block .inner-block .img-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 480px;
}
@media screen and (max-width: 992px) {
  .products .products-section .half-block .inner-block .img-bg {
    height: 654px;
  }
}
.products .products-section .half-block .inner-block::before {
  content: "";
  position: absolute;
  background: #0061B7;
  mix-blend-mode: overlay;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 480px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  border: none;
}
@media screen and (max-width: 992px) {
  .products .products-section .half-block .inner-block::before {
    height: 645px;
  }
}
.products .products-section .half-block .inner-block:hover {
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.25);
}
.products .products-section .half-block .inner-block:hover::before {
  opacity: 1;
}
.products .products-section .half-block .inner-block:hover .info .more-btn {
  column-gap: 1rem;
  transform: translateY(-4px);
}
.products .products-section .half-block .inner-block:hover .img-block img {
  transform: scale(0.9);
}
.products .products-section .half-block .inner-block:hover .more-btn {
  color: white;
  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.5);
}
@media screen and (max-width: 576px) {
  .products.zh .products-section .products-series-block:first-child .product-series, .products.cn .products-section .products-series-block:first-child .product-series {
    padding-bottom: 1rem;
  }
}
@media screen and (max-width: 576px) {
  .products.zh .products-section .products-series-block:first-child .product-series .img-group, .products.cn .products-section .products-series-block:first-child .product-series .img-group {
    height: 160px;
    top: 54%;
  }
}
@media screen and (max-width: 576px) {
  .products.zh .products-section .products-series-block:nth-child(2) .product-series .img-group, .products.cn .products-section .products-series-block:nth-child(2) .product-series .img-group {
    height: 140px;
    top: 54%;
  }
}
.products.en .products-section .product-series .info h2 {
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 42px;
}
.products.en .products-section .product-series .info h2 span {
  display: block;
}
.products.en .products-section .product-series .img-group .img-block h5 span {
  display: block;
}
@media screen and (max-width: 576px) {
  .products.en .products-section .product-series {
    height: 740px;
    padding-bottom: 1rem;
  }
  .products.en .products-section .product-series.bottle-packaging {
    height: 640px;
  }
  .products.en .products-section .product-series.bottle-packaging .img-group {
    bottom: 60px;
  }
  .products.en .products-section .product-series.bottle-packaging .img-group .img-block {
    height: calc(80px + 1rem);
  }
  .products.en .products-section .product-series.cartoning {
    height: 560px;
  }
  .products.en .products-section .product-series.cartoning .img-group {
    bottom: 60px;
  }
  .products.en .products-section .product-series .img-group {
    flex-direction: column;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .products.en .products-section .product-series .img-group .img-block {
    flex-direction: row;
    justify-content: flex-start;
    height: calc(96px + 1rem);
  }
}
.products.en .products-section .half-block .inner-block {
  padding: 40px 40px 20px 40px;
}
.products.en .products-section .half-block .inner-block .img-block {
  margin-right: 40px;
}
.products.en .products-section .half-block .inner-block .info {
  width: 50%;
}
@media screen and (max-width: 576px) {
  .products.en .products-section .half-block .inner-block .info {
    width: 100%;
  }
}
.products.en .products-section .half-block .inner-block .info h2 {
  letter-spacing: 0;
  line-height: 1;
  white-space: normal;
  margin-bottom: 42px;
}
.products.en .products-section .half-block .inner-block .info p {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  /* 🔑 關鍵設定 */
  word-break: normal;
  overflow-wrap: break-word;
}
.products.en .products-section .half-block .inner-block .more-btn {
  font-size: 1rem;
}
.products .product-equipment-section {
  margin-top: 160px;
  padding-bottom: 160px;
  padding-left: 8.3%;
  padding-right: 8.3%;
  background: url(../../assets/img/page/img-page-bottom-bg.webp) bottom center no-repeat;
  background-blend-mode: overlay;
  background-size: contain;
}
@media screen and (max-width: 992px) {
  .products .product-equipment-section {
    margin-top: 120px;
    padding-bottom: 40px;
  }
}
@media screen and (max-width: 576px) {
  .products .product-equipment-section {
    margin-top: 80px;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
.products .product-equipment-section .title {
  display: flex;
  margin-bottom: 80px;
}
.products .product-equipment-section .series-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 98px;
}
.products .product-equipment-section .series-title h2 {
  position: relative;
  color: #063E7F;
  font-size: 60px;
  font-weight: bold;
  flex-shrink: 0;
  margin-right: 9.3%;
  margin-bottom: 0;
}
.products .product-equipment-section .series-title h2 span {
  color: #0061B7;
}
@media screen and (max-width: 992px) {
  .products .product-equipment-section .series-title h2 span {
    display: block;
  }
}
.products .product-equipment-section .series-title h2::after {
  content: "";
  background-color: #063E7F;
  height: 2px;
  width: 80px;
  position: absolute;
  left: 0;
  bottom: -18px;
}
@media screen and (max-width: 576px) {
  .products .product-equipment-section .series-title h2 {
    font-size: 48px;
  }
}
.products .product-equipment-section .series-title .series-info {
  height: 100%;
  color: #333333;
  margin-bottom: 0;
  display: flex;
  align-self: center;
}
@media screen and (max-width: 992px) {
  .products .product-equipment-section .series-title {
    flex-direction: column;
    margin-bottom: 80px;
  }
  .products .product-equipment-section .series-title h2 {
    margin-bottom: 3rem;
  }
}
.products .product-equipment-section .equipment-list {
  padding-left: 4%;
  padding-right: 4%;
}
@media screen and (max-width: 1599px) {
  .products .product-equipment-section .equipment-list {
    padding-left: 0;
    padding-right: 0;
  }
}
.products .product-equipment-section .equipment-list .series-group {
  --series-group-height: 500px;
  position: relative;
  height: var(--series-group-height);
  padding-left: 60px;
  overflow: hidden;
}
.products .product-equipment-section .equipment-list .series-group .machine {
  position: absolute;
  width: 391.2px;
  height: 100%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.products .product-equipment-section .equipment-list .series-group .machine img {
  width: auto;
  height: var(--series-group-height);
}
.products .product-equipment-section .equipment-list .series-group .machine img.hffs, .products .product-equipment-section .equipment-list .series-group .machine img.unscrambler-washer, .products .product-equipment-section .equipment-list .series-group .machine img.h-img {
  width: 100%;
  height: auto;
}
.products .product-equipment-section .equipment-list .series-group .machine img.rffs {
  width: 100%;
  height: auto;
}
.products .product-equipment-section .equipment-list .series-group .machine img.v-img {
  width: auto;
  height: 80%;
}
.products .product-equipment-section .equipment-list .series-group .machine {
  transition: transform 0.3s ease-in-out;
}
.products .product-equipment-section .equipment-list .series-group .info {
  position: absolute;
  width: calc(100% - 243px);
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  overflow: hidden;
  border: 1px solid #DDDDDD;
  padding: 60px 30px 60px 240px;
  border-radius: 1rem;
  display: flex;
}
.products .product-equipment-section .equipment-list .series-group .info .products-machine {
  display: none;
}
@media screen and (max-width: 576px) {
  .products .product-equipment-section .equipment-list .series-group .info .products-machine {
    display: block;
  }
}
.products .product-equipment-section .equipment-list .series-group .info .content {
  margin-right: 60px;
}
.products .product-equipment-section .equipment-list .series-group .info .content h3 {
  font-size: 42px;
  font-weight: bold;
  color: #063E7F;
  margin-bottom: 24px;
}
.products .product-equipment-section .equipment-list .series-group .info .content h3 span {
  color: #0061B7;
}
.products .product-equipment-section .equipment-list .series-group .info .content p {
  color: #333333;
  line-height: 28px;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  /* 🔑 關鍵設定 */
  word-break: normal;
  overflow-wrap: break-word;
}
.products .product-equipment-section .equipment-list .series-group .info .products-demo {
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 30px;
  margin-bottom: 0;
  transition: margin-bottom 0.3s ease-in-out;
}
.products .product-equipment-section .equipment-list .series-group .info::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  bottom: -60px;
  width: 100%;
  height: 60px;
  background: linear-gradient(90deg, #063E7F 0%, #1278D2 100%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: white;
  padding-right: 60px;
  transform-origin: bottom center;
  transition: bottom 0.3s ease-in-out;
}
.products .product-equipment-section .equipment-list .series-group .info {
  transition: border 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.products .product-equipment-section .equipment-list .series-group:hover .machine {
  transform: scale(0.975);
}
.products .product-equipment-section .equipment-list .series-group:hover .info {
  border: 1px solid #0061B7;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.25);
}
.products .product-equipment-section .equipment-list .series-group:hover .info::before {
  bottom: 0;
}
@media screen and (max-width: 1200px) {
  .products .product-equipment-section .equipment-list .series-group {
    --series-group-height: auto;
    padding-left: 0;
    margin-bottom: 80px;
    border-radius: 1rem;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.25);
  }
  .products .product-equipment-section .equipment-list .series-group .info {
    position: inherit;
    display: block;
    width: auto;
    transform: translateY(0);
  }
  .products .product-equipment-section .equipment-list .series-group .machine {
    width: 50%;
    height: 100%;
    transform: scale(0.975);
    padding: 0 1rem 2rem 2rem;
    display: flex;
    align-items: center;
  }
  .products .product-equipment-section .equipment-list .series-group .machine img {
    width: 100%;
    height: auto;
  }
  .products .product-equipment-section .equipment-list .series-group .info {
    padding: 30px 0 30px 50%;
    border: 1px solid #0061B7;
  }
  .products .product-equipment-section .equipment-list .series-group .info::before {
    bottom: 0;
  }
  .products .product-equipment-section .equipment-list .series-group .info .content {
    padding: 1rem;
  }
  .products .product-equipment-section .equipment-list .series-group .info .content p {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    /* 🔑 關鍵設定 */
    word-break: normal;
    overflow-wrap: break-word;
  }
  .products .product-equipment-section .equipment-list .series-group .info .products-demo {
    padding: 0 2rem 2rem 0;
    margin-bottom: 36px;
    height: auto;
    justify-content: center;
  }
  .products .product-equipment-section .equipment-list .series-group .info .products-demo img {
    width: 70%;
  }
}
@media screen and (max-width: 576px) {
  .products .product-equipment-section .equipment-list .series-group .info {
    padding: 1rem;
    height: 100%;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
  }
  .products .product-equipment-section .equipment-list .series-group .info .products-machine {
    width: 100%;
    padding: 2rem 1rem 1rem 1rem;
  }
  .products .product-equipment-section .equipment-list .series-group .info .products-machine img {
    width: 100%;
  }
  .products .product-equipment-section .equipment-list .series-group .info .content {
    margin-right: 0;
    margin-left: 0;
    position: static;
  }
  .products .product-equipment-section .equipment-list .series-group .info .content h3 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
  }
  .products .product-equipment-section .equipment-list .series-group .info .content h3 span {
    display: block;
  }
  .products .product-equipment-section .equipment-list .series-group .info .content p {
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.25;
  }
  .products .product-equipment-section .equipment-list .series-group .info .products-demo {
    justify-content: flex-start;
    padding: 0 0 0 1rem;
    margin-bottom: 0;
  }
  .products .product-equipment-section .equipment-list .series-group .info .products-demo img {
    width: 45%;
  }
  .products .product-equipment-section .equipment-list .series-group .info::before {
    padding-right: 1rem;
  }
  .products .product-equipment-section .equipment-list .series-group .machine {
    display: none;
  }
  .products .product-equipment-section .equipment-list .series-group.left-block .info .products-machine {
    order: 3;
  }
  .products .product-equipment-section .equipment-list .series-group.left-block .info .content {
    order: 2;
  }
  .products .product-equipment-section .equipment-list .series-group.left-block .info .products-demo {
    order: 1;
  }
}
.products .product-equipment-section .equipment-list .left-block {
  padding-left: 0px;
  padding-right: 80px;
}
.products .product-equipment-section .equipment-list .left-block .machine {
  right: 30px;
}
.products .product-equipment-section .equipment-list .left-block .info {
  left: 0;
  padding: 60px 240px 60px 60px;
}
.products .product-equipment-section .equipment-list .left-block .info .content {
  margin-left: 60px;
  margin-right: 0;
}
.products .product-equipment-section .equipment-list .left-block .info::before {
  justify-content: flex-start;
  padding-left: 60px;
}
@media screen and (max-width: 1200px) {
  .products .product-equipment-section .equipment-list .left-block {
    padding-left: 0;
    padding-right: 0;
  }
  .products .product-equipment-section .equipment-list .left-block .machine {
    right: 0;
  }
  .products .product-equipment-section .equipment-list .left-block .info {
    padding: 30px 308px 30px 21px;
    display: flex;
    flex-direction: column-reverse;
  }
  .products .product-equipment-section .equipment-list .left-block .info .content {
    margin-left: 0;
    margin-right: 100px;
  }
}
@media screen and (max-width: 1200px) and (max-width: 992px) {
  .products .product-equipment-section .equipment-list .left-block .info .content {
    margin-right: 0;
  }
}
@media screen and (max-width: 1200px) {
  .products .product-equipment-section .equipment-list .left-block .info .products-demo {
    display: block;
    padding: 0 0 32px 10px;
    margin-bottom: 36px;
  }
  .products .product-equipment-section .equipment-list .left-block .info .products-demo img {
    width: 70%;
  }
}
@media screen and (max-width: 1200px) and (max-width: 992px) {
  .products .product-equipment-section .equipment-list .left-block .info .products-demo img {
    width: 100%;
  }
}
@media screen and (max-width: 1200px) {
  .products .product-equipment-section .equipment-list .left-block .info::before {
    padding-left: 1rem;
  }
}
@media screen and (max-width: 576px) {
  .products .product-equipment-section .equipment-list .left-block .machine {
    left: inherit;
  }
  .products .product-equipment-section .equipment-list .left-block .info {
    padding: 1rem 1rem 80px 1rem;
  }
  .products .product-equipment-section .equipment-list .left-block .info .products-demo {
    justify-content: flex-start;
    display: flex;
    align-items: flex-end;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .products .product-equipment-section .equipment-list .left-block .info .products-demo img {
    width: 45%;
  }
}
.products .product-equipment-section.cartoning .equipment-list a:nth-child(2) .series-group.left-block .info .content {
  margin-left: 32px;
}
.products .product-equipment-section.cartoning .equipment-list a:nth-child(2) .series-group.left-block .info .products-demo {
  padding-top: 0px;
}
.products .product-equipment-section.cartoning .equipment-list a:nth-child(2) .series-group.left-block .info .products-demo img {
  background-blend-mode: multiply;
}
@media screen and (max-width: 1599px) {
  .products .product-equipment-section.cartoning .equipment-list a:nth-child(2) .series-group.left-block .info .products-demo img {
    width: 360px;
  }
}
@media screen and (max-width: 576px) {
  .products .product-equipment-section.cartoning .equipment-list a:nth-child(2) .series-group.left-block .info .products-demo img {
    width: 100%;
  }
}
.products.en .product-equipment-section .series-title h2 {
  margin-right: 6%;
  flex-shrink: 0;
  line-height: 1;
}
.products.en .product-equipment-section .series-title h2 span {
  display: block;
}
@media screen and (max-width: 1599px) {
  .products.en .product-equipment-section .equipment-list .series-group .info .content {
    margin-right: 0;
  }
  .products.en .product-equipment-section .equipment-list .series-group .info .content h3 {
    font-size: 32px;
    margin-bottom: 16px;
  }
  .products.en .product-equipment-section .equipment-list .left-block .info .content {
    margin-left: 24px;
  }
}
@media screen and (max-width: 576px) {
  .products.en .product-equipment-section .equipment-list .series-group .info .content h3 {
    line-height: 1.05;
    font-size: 32px;
  }
  .products.en .product-equipment-section .equipment-list .series-group .info::before {
    padding-right: 1rem;
    padding-left: 1rem;
    padding-top: 2rem;
    padding-bottom: 2.25rem;
  }
}
.products .products-series-section {
  margin-top: 160px;
  padding-bottom: 160px;
  background: url(../../assets/img/page/img-page-bottom-bg.webp) bottom center no-repeat;
  background-blend-mode: overlay;
  background-size: contain;
}
@media screen and (max-width: 992px) {
  .products .products-series-section {
    margin-top: 80px;
    padding-bottom: 80px;
  }
}
.products .products-series-section .section-inner {
  padding-left: 8.3%;
  padding-right: 8.3%;
}
@media screen and (max-width: 992px) {
  .products .products-series-section .section-inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.products .products-series-section .section-inner .series-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 98px;
}
.products .products-series-section .section-inner .series-title h2 {
  position: relative;
  color: #063E7F;
  font-size: 60px;
  font-weight: bold;
  flex-shrink: 0;
  margin-right: 9.3%;
  margin-bottom: 0;
}
.products .products-series-section .section-inner .series-title h2 span {
  color: #0061B7;
}
@media screen and (max-width: 576px) {
  .products .products-series-section .section-inner .series-title h2 span {
    display: block;
  }
}
.products .products-series-section .section-inner .series-title h2::after {
  content: "";
  background-color: #063E7F;
  height: 2px;
  width: 80px;
  position: absolute;
  left: 0;
  bottom: -18px;
}
.products .products-series-section .section-inner .series-title .series-info {
  color: #333333;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 992px) {
  .products .products-series-section .section-inner .series-title {
    flex-direction: column;
    margin-bottom: 80px;
  }
  .products .products-series-section .section-inner .series-title h2 {
    margin-bottom: 3rem;
  }
}
.products .products-series-section .section-inner .products-card-block {
  padding: 0 3.25%;
  margin-bottom: 60px;
}
@media screen and (max-width: 992px) {
  .products .products-series-section .section-inner .products-card-block {
    padding: 0 1rem;
  }
}
.products .products-series-section .section-inner .products-card-block .products-card {
  background: linear-gradient(0deg, white 0%, white 100%);
  padding: 40px 36px;
  border: #063E7F 1px solid;
  border-radius: 8px;
  transition: background 0.3s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.products .products-series-section .section-inner .products-card-block .products-card .card-img {
  background-color: white;
  overflow: hidden;
  width: 100%;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.products .products-series-section .section-inner .products-card-block .products-card .card-img img {
  transition: transform 0.3s ease-in;
  width: 95%;
}
.products .products-series-section .section-inner .products-card-block .products-card .card-body {
  margin-top: 40px;
}
.products .products-series-section .section-inner .products-card-block .products-card .card-body .card-title {
  margin-bottom: 40px;
}
.products .products-series-section .section-inner .products-card-block .products-card .card-body .card-title span {
  color: #666666;
  font-weight: bold;
}
.products .products-series-section .section-inner .products-card-block .products-card .card-body .card-title h3 {
  font-size: 32px;
  color: #063E7F;
  margin: 18px 0 9px 0;
  font-weight: bold;
}
.products .products-series-section .section-inner .products-card-block .products-card .card-body .card-title h5 {
  font-weight: bold;
  text-align: left;
}
.products .products-series-section .section-inner .products-card-block .products-card .card-body .card-title span, .products .products-series-section .section-inner .products-card-block .products-card .card-body .card-title h3, .products .products-series-section .section-inner .products-card-block .products-card .card-body .card-title h5 {
  transition: color 0.15s ease-in-out;
}
.products .products-series-section .section-inner .products-card-block .products-card .card-body p {
  color: #333333;
  transition: color 0.3s ease-in;
}
@media screen and (max-width: 992px) {
  .products .products-series-section .section-inner .products-card-block .products-card .card-body .card-title {
    margin: 0;
  }
}
.products .products-series-section .section-inner .products-card-block .products-card:hover {
  background: linear-gradient(0deg, #063E7F 0%, #1278D2 100%);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
  transform: translateY(-4px);
  border-color: transparent;
}
.products .products-series-section .section-inner .products-card-block .products-card:hover .card-img img {
  transform: scale(0.9);
}
.products .products-series-section .section-inner .products-card-block .products-card:hover .card-body .card-title span, .products .products-series-section .section-inner .products-card-block .products-card:hover .card-body .card-title h3, .products .products-series-section .section-inner .products-card-block .products-card:hover .card-body .card-title h5 {
  color: white;
}
.products .products-series-section .section-inner .products-card-block .products-card:hover .card-body p {
  color: white;
}
@media screen and (max-width: 1599px) {
  .products.en .products-series-section .section-inner .series-title {
    flex-direction: column;
    row-gap: 3.5rem;
  }
}
@media screen and (max-width: 576px) {
  .products.en .products-series-section .section-inner .series-title h2 {
    line-height: 1;
    font-size: 36px;
  }
  .products.en .products-series-section .section-inner .series-title h2 span {
    font-size: 48px;
    line-height: 1.25;
  }
}
.products .product-detail-section {
  margin-top: 160px;
  padding-bottom: 160px;
  color: #212529;
  background: url(../../assets/img/page/img-page-bottom-bg.webp) bottom center no-repeat;
  background-blend-mode: overlay;
  background-size: contain;
}
@media screen and (max-width: 992px) {
  .products .product-detail-section {
    margin-top: 80px;
  }
}
.products .product-detail-section .product-main {
  padding-left: 48px;
  overflow: hidden;
}
@media screen and (max-width: 992px) {
  .products .product-detail-section .product-main {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.products .product-detail-section .product-main .products-title-group .inner-block {
  display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 576px) {
  .products .product-detail-section .product-main .products-title-group .inner-block {
    flex-direction: column;
  }
  .products .product-detail-section .product-main .products-title-group .inner-block .category, .products .product-detail-section .product-main .products-title-group .inner-block .type {
    display: flex;
    align-items: center;
  }
  .products .product-detail-section .product-main .products-title-group .inner-block .category .icon, .products .product-detail-section .product-main .products-title-group .inner-block .type .icon {
    align-self: flex-start;
    white-space: nowrap;
    padding: 0.35rem 0.5rem;
  }
  .products .product-detail-section .product-main .products-title-group .inner-block .name {
    display: inline-block;
    line-height: 1;
    font-size: 1rem;
  }
  .products .product-detail-section .product-main .products-title-group .inner-block .inquiry-btn {
    justify-self: flex-end;
  }
}
.products .product-detail-section .product-main .title {
  color: #2169B6;
  font-size: 2.625rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}
.products .product-detail-section .product-main .type, .products .product-detail-section .product-main .category {
  color: #333333;
  font-weight: bold;
  font-size: 1.25rem;
  padding-left: 0.25rem;
  margin-bottom: 1rem;
}
.products .product-detail-section .product-main .type .icon, .products .product-detail-section .product-main .category .icon {
  color: white;
  font-size: 14px;
  background: linear-gradient(90deg, #063E7F 0%, #2A6FAC 100%);
  border-radius: 8px;
  padding: 8px 16px 8px 18px;
  margin-right: 8px;
}
.products .product-detail-section .product-main .productSwiper {
  margin: 2.5rem 0;
  width: 100%;
  height: fit-content;
}
.products .product-detail-section .product-main .productSwiper .swiper-wrapper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: fit-content;
}
.products .product-detail-section .product-main .productSwiper .swiper-wrapper .swiper-slide img {
  width: 500px;
}
.products .product-detail-section .product-main .productSwiper .swiper-wrapper .swiper-slide img.h-style1 {
  width: auto;
  height: 480px;
  padding-bottom: 2rem;
}
@media screen and (max-width: 992px) {
  .products .product-detail-section .product-main .productSwiper .swiper-wrapper .swiper-slide img.h-style1 {
    width: 100%;
    height: auto;
    padding: 2rem 0 0 0;
  }
}
.products .product-detail-section .product-main .productSwiper .swiper-wrapper .swiper-slide img.h-style2 {
  width: auto;
  height: 560px;
  padding-bottom: 2rem;
}
@media screen and (max-width: 992px) {
  .products .product-detail-section .product-main .productSwiper .swiper-wrapper .swiper-slide img.h-style2 {
    width: 100%;
    height: auto;
    padding: 2rem 0 2rem 0;
  }
}
@media screen and (max-width: 992px) {
  .products .product-detail-section .product-main .productSwiper .swiper-wrapper .swiper-slide img {
    width: 100%;
    padding: 0 10% 5% 10%;
  }
}
.products .product-detail-section .product-main .productionlineimg {
  margin: 2.5rem 0;
  width: 100%;
  text-align: center;
}
@media screen and (max-width: 992px) {
  .products .product-detail-section .product-main .productionlineimg img {
    width: 100%;
  }
}
.products .product-detail-section .product-main .spec-list {
  margin-bottom: 3.75rem;
}
.products .product-detail-section .product-main .spec-list h4 {
  position: relative;
  color: #2169B6;
  font-size: 1.75rem;
  font-weight: bold;
  padding-left: 0.75rem;
  margin-bottom: 1.5rem;
}
.products .product-detail-section .product-main .spec-list h4::before {
  content: "";
  position: absolute;
  width: 0.25rem;
  height: 1.75rem;
  background: #2169B6;
  top: 0.15rem;
  left: 0;
}
.products .product-detail-section .product-main .spec-list .text {
  position: relative;
  padding-left: 1rem;
}
.products .product-detail-section .product-main .spec-list .text::before {
  content: "";
  position: absolute;
  width: 0.75rem;
  height: 2px;
  background-color: #212529;
  left: 0;
  top: 0.7rem;
}
.products .product-detail-section .product-main .type-selection .productSwiper-thumbs .swiper-slide {
  transition: all 0.3s ease-in-out;
  width: 100px;
  height: 100px;
  text-align: center;
  cursor: pointer;
  font-weight: bold;
}
.products .product-detail-section .product-main .type-selection .productSwiper-thumbs .swiper-slide .img-block {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 0.25rem;
  margin-bottom: 0.25rem;
  border: 2px solid transparent;
  background-color: white;
  position: relative;
  transition: border 0.3s ease-in-out;
}
.products .product-detail-section .product-main .type-selection .productSwiper-thumbs .swiper-slide .img-block::after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 0;
  left: 0;
  transition: background-color 0.3s ease-in-out;
}
.products .product-detail-section .product-main .type-selection .productSwiper-thumbs .swiper-slide .img-block img {
  transition: opacity 0.3s ease-in-out;
  opacity: 0.5;
}
.products .product-detail-section .product-main .type-selection .productSwiper-thumbs .swiper-slide img, .products .product-detail-section .product-main .type-selection .productSwiper-thumbs .swiper-slide span {
  width: auto;
  height: 100%;
}
.products .product-detail-section .product-main .type-selection .productSwiper-thumbs .swiper-slide img.h-style1, .products .product-detail-section .product-main .type-selection .productSwiper-thumbs .swiper-slide img.h-style2 {
  width: 100%;
  height: auto;
}
.products .product-detail-section .product-main .type-selection .productSwiper-thumbs .swiper-slide:hover, .products .product-detail-section .product-main .type-selection .productSwiper-thumbs .swiper-slide.swiper-slide-thumb-active {
  color: #2169B6;
}
.products .product-detail-section .product-main .type-selection .productSwiper-thumbs .swiper-slide:hover .img-block, .products .product-detail-section .product-main .type-selection .productSwiper-thumbs .swiper-slide.swiper-slide-thumb-active .img-block {
  border: 2px solid #2169B6;
  background-color: rgba(0, 0, 0, 0);
}
.products .product-detail-section .product-main .type-selection .productSwiper-thumbs .swiper-slide:hover .img-block img, .products .product-detail-section .product-main .type-selection .productSwiper-thumbs .swiper-slide.swiper-slide-thumb-active .img-block img {
  opacity: 1;
}
.products .product-detail-section .product-main .type-selection .productSwiper-thumbs .swiper-slide:hover .img-block::after, .products .product-detail-section .product-main .type-selection .productSwiper-thumbs .swiper-slide.swiper-slide-thumb-active .img-block::after {
  background-color: rgba(0, 0, 0, 0);
}
.products .product-detail-section .product-main .features {
  margin-bottom: 3.75rem;
}
.products .product-detail-section .product-main .features .features-img {
  margin-top: 1rem;
  margin-bottom: 3rem;
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.75rem;
}
@media screen and (max-width: 992px) {
  .products .product-detail-section .product-main .features .features-img {
    column-gap: 1rem;
  }
}
.products .product-detail-section .product-main .features .features-img .features-img-card {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}
@media screen and (max-width: 992px) {
  .products .product-detail-section .product-main .features .features-img .features-img-card {
    width: 30%;
  }
}
.products .product-detail-section .product-main .features .features-img .features-img-card .features-img-card-photo {
  width: auto;
  height: 140px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  display: flex;
  align-self: center;
  justify-content: center;
  border: #cccccc 1px solid;
}
@media screen and (max-width: 992px) {
  .products .product-detail-section .product-main .features .features-img .features-img-card .features-img-card-photo {
    height: 100px;
  }
}
.products .product-detail-section .product-main .features .features-img .features-img-card img {
  height: 100%;
  transition: transform 0.3s ease-in-out;
}
.products .product-detail-section .product-main .features .features-img .features-img-card:hover img {
  transform: scale(1.03);
}
.products .product-detail-section .product-main .features h3 {
  font-size: 24px;
  font-weight: bold;
  margin-left: 1rem;
  margin-bottom: 1rem;
}
.products .product-detail-section .product-main .features ul {
  padding-left: 2.5rem;
  list-style-type: decimal;
}
.products .product-detail-section .product-main .spec .spec-table {
  overflow-x: auto;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px; /* ← 每列之間 8px 間距 */
  line-height: 1.6;
  cursor: pointer;
}
.products .product-detail-section .product-main .spec .spec-table table {
  min-width: 100%;
  table-layout: fixed; /* ✅ 關鍵：固定表格佈局，平均分配 */
  border-collapse: collapse;
  text-align: center;
}
.products .product-detail-section .product-main .spec .spec-table table tr {
  transition: background-color 0.2s;
}
.products .product-detail-section .product-main .spec .spec-table table tr:nth-child(even) {
  background-color: #F7F7F7;
}
.products .product-detail-section .product-main .spec .spec-table table tr:hover {
  background-color: #BCD2E9;
}
.products .product-detail-section .product-main .spec .spec-table table tr:last-child {
  border-bottom: #cccccc 1px solid;
}
.products .product-detail-section .product-main .spec .spec-table table tr th, .products .product-detail-section .product-main .spec .spec-table table tr td {
  transition: background-color 0.3s ease-in-out;
  text-align: left;
  padding: 10px 12px;
}
@media screen and (max-width: 576px) {
  .products .product-detail-section .product-main .spec .spec-table table tr th, .products .product-detail-section .product-main .spec .spec-table table tr td {
    font-size: 1rem;
  }
}
.products .product-detail-section .product-main .spec .spec-table table tr:hover td {
  background-color: #0061B7;
  color: white;
}
.products .product-detail-section .product-main .spec .spec-table table th {
  position: sticky;
  left: 0;
  z-index: 10; /* 確保不被內容蓋住 */
  background: #063E7F;
  color: #fff;
  width: 180px;
  vertical-align: top;
  font-weight: 600;
  white-space: normal;
}
@media screen and (max-width: 576px) {
  .products .product-detail-section .product-main .spec .spec-table table th {
    width: auto;
  }
}
.products .product-detail-section .product-main .spec .spec-notes {
  margin-top: 0.5rem;
}
.products .product-detail-section .product-main .spec .spec-hit {
  font-size: 1rem;
  position: relative;
  margin-top: 1rem;
  padding-left: 1.5rem;
  display: inline-block;
}
.products .product-detail-section .product-main .spec .spec-hit::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0.125rem;
}
.products .product-detail-section .product-main .video iframe {
  width: 100%;
  height: 537px;
}
@media screen and (max-width: 1200px) {
  .products .product-detail-section .product-main .video iframe {
    height: 360px;
  }
}
@media screen and (max-width: 992px) {
  .products .product-detail-section .product-main .video iframe {
    height: 260px;
  }
}
@media screen and (max-width: 992px) {
  .products .product-detail-section .product-main .more-btn-block {
    display: flex;
    justify-content: center;
  }
}
.products .product-detail-section .product-main .more-btn-block .more-btn {
  --height: 54px;
  max-width: 480px;
  padding: 0 30px;
  color: #063E7F;
  border: 1px #063E7F solid;
  border-radius: calc(var(--height) / 2);
  height: var(--height);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
  transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out, background 0.3s ease-in-out, color 0.3s ease-in-out;
}
.products .product-detail-section .product-main .more-btn-block .more-btn:hover {
  transform: translateY(-4px);
  border-color: transparent;
  color: white;
  background: linear-gradient(90deg, #063E7F 0%, #1278D2 100%);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
@media screen and (max-width: 576px) {
  .products .product-detail-section .product-main .more-btn-block {
    font-size: 1rem;
  }
}
.products .swiper-productseries-block {
  width: 100%;
}
.products .products-menu {
  border: 1px #DDDDDD solid;
  border-bottom: 1px #063E7F solid;
}
.products .products-menu .accordion-item {
  font-size: 1.125rem;
  margin-bottom: 0;
  border-bottom: 1px #DDDDDD solid;
  text-align: left;
}
.products .products-menu .accordion-item:first-of-type > .accordion-header .accordion-button,
.products .products-menu .accordion-item:last-of-type > .accordion-header .accordion-button {
  font-size: 1.125rem;
  border-radius: 0;
}
.products .products-menu .accordion-item:first-of-type > .accordion-header .accordion-button.collapsed,
.products .products-menu .accordion-item:last-of-type > .accordion-header .accordion-button.collapsed {
  font-size: 1.125rem;
  border-radius: 0;
}
.products .products-menu h2.accordion-header .accordion-button {
  color: white;
  background-color: #063E7F;
}
.products .products-menu h2.accordion-header .accordion-button:not(.collapsed)::after {
  display: none;
}
.products .products-menu .accordion-button {
  color: #333333;
}
.products .products-menu .accordion-button.collapsed {
  color: #333333;
  background-color: white;
}
.products .products-menu .accordion-button:hover {
  color: white;
  background-color: #0061B7;
}
.products .products-menu .accordion-button:not(.collapsed) {
  color: white;
  background-color: #0061B7;
  border-radius: 0;
}
.products .products-menu .accordion-button {
  background-color: #0061B7;
}
.products .products-menu .accordion-button:hover {
  background: #1278D2;
}
.products .products-menu .accordion-button:hover::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.products .products-menu .list-group-item {
  padding-top: 21px;
  padding-bottom: 21px;
  padding-left: 1.5rem;
  background-color: #F4F4F4;
  background-color: #F4F4F4;
  border-color: #DDDDDD;
}
.products .products-menu .list-group-item a {
  color: #333333;
  transition: font-weight 0.3s ease-in-out, color 0.3s ease-in-out;
}
.products .products-menu .list-group-item a:hover {
  text-decoration: underline;
}
.products .products-menu .list-group-item a.active {
  font-weight: bold;
  color: #0061B7;
}
.products .products-menu .list-group-item:hover a {
  color: #0061B7;
  font-weight: bold;
}
.products .products-menu .list-group-item.active {
  position: relative;
  padding-left: 2.85rem;
}
.products .products-menu .list-group-item.active::before {
  content: "．";
  position: absolute;
  top: 36px;
  left: 16px;
  font-size: 2rem;
  line-height: 0;
  z-index: 2;
  color: #063E7F;
}
.products .products-menu .border-bottom {
  border-radius: 0;
  padding: 1rem 20px;
}
.products .products-menu .border-bottom a {
  font-weight: inherit;
}
.products .products-menu .border-bottom a:hover {
  font-weight: bold;
}
.products .products-menu .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
@media screen and (max-width: 992px) {
  .products .products-menu {
    margin-bottom: 4rem;
  }
}
@media screen and (max-width: 576px) {
  .products .products-menu {
    margin-bottom: 2.5rem;
  }
}
@media screen and (max-width: 992px) {
  .products .productmenublock .products-menu {
    display: none;
  }
}
.products .product-offcanvas {
  height: 100svh; /* 手機展開時佔螢幕高度 */
  overflow-y: auto; /* 內容可滾動 */
}
.products .product-offcanvas .offcanvas-body {
  max-height: 70svh;
  overflow-y: auto;
  margin-top: calc(72px + 1rem);
  margin-left: 1rem;
  margin-right: 1rem;
  padding: 0;
}
.products .product-offcanvas .btn-close {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  border: #666666 1px solid;
  border-radius: 60px;
  padding: 1rem;
}
.products .productmenutoggle-block {
  padding: 0 1rem;
}
.products .productmenutoggle {
  margin-bottom: 3rem;
  border: #cccccc 1px solid;
  background: white;
  padding: 0.75rem 0;
  color: #333333;
}
.products .productmenutoggle:hover {
  background: #2169B6;
  color: white;
}

/* ✅ 淡出動畫（PhotoSwipe 自動控制 visibility） */
.pswp__hide-on-close {
  transition: opacity 0.3s ease;
}

/* ====== Caption 置底樣式 ====== */
.pswp__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
  padding: 12px 20px;
  box-sizing: border-box;
  pointer-events: none;
  z-index: 30;
}
@media screen and (max-width: 576px) {
  .pswp__caption {
    background: rgba(0, 0, 0, 0);
  }
}

.pswp__caption .caption-text {
  max-width: 90%;
  margin: 0 auto;
  word-wrap: break-word;
}

.projects .projects-section {
  background: url(../../assets/img/page/img-page-bottom-bg.webp) bottom center no-repeat;
  background-size: contain;
}
.projects .projects-section .section .page-control {
  width: 100%;
  padding: 0 8px;
  margin-bottom: 60px;
  display: flex;
  justify-content: flex-end;
  font-size: 1rem;
}
@media screen and (max-width: 992px) {
  .projects .projects-section .section .page-control {
    margin-bottom: 30px;
  }
}
.projects .projects-section .section {
  margin-top: 160px;
  padding-left: 8.3%;
  padding-right: 8.3%;
  padding-bottom: 160px;
}
@media screen and (max-width: 992px) {
  .projects .projects-section .section {
    margin-top: 80px;
    padding-bottom: 80px;
    padding-left: 5%;
    padding-right: 5%;
  }
}
@media screen and (max-width: 576px) {
  .projects .projects-section .section {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.projects .projects-section .section .project-card {
  height: 420px;
  margin-bottom: 80px;
  padding-left: 18px;
  padding-right: 18px;
}
@media screen and (max-width: 992px) {
  .projects .projects-section .section .project-card {
    height: 252px;
  }
}
@media screen and (max-width: 576px) {
  .projects .projects-section .section .project-card {
    margin-bottom: 40px;
  }
}
.projects .projects-section .section .project-card .card {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.projects .projects-section .section .project-card .card .card-img {
  height: 100%;
  display: block;
  overflow: hidden;
}
.projects .projects-section .section .project-card .card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.projects .projects-section .section .project-card .card .card-info {
  position: absolute;
  width: 100%;
  bottom: 0;
  background: linear-gradient(0deg, #063E7F 0%, #063E7F 100%);
  color: white;
  padding: 16px;
  transform-origin: center bottom;
  transform: translateY(0) scaleX(1);
}
.projects .projects-section .section .project-card .card .card-info .card-title::before {
  position: absolute;
  bottom: 0;
  content: "";
  background-color: white;
  width: 0%;
  height: 1px;
  transition: width 0.3s ease;
}
.projects .projects-section .section .project-card .card .card-info {
  /* ⭐ 內文先透明，避免跳動 */
}
.projects .projects-section .section .project-card .card .card-info .card-content {
  opacity: 0;
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.35s ease, max-height 0.35s ease;
}
.projects .projects-section .section .project-card .card .card-info {
  transition: transform 0.35s ease, background 0.3s ease, padding 0.3s ease, border-radius 0.3s ease, box-shadow 0.3s ease;
}
.projects .projects-section .section .project-card .card:hover {
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
  transform: translateY(-8px);
}
.projects .projects-section .section .project-card .card:hover .card-info {
  /* ⭐ 先上浮，再縮左右 */
  transform: translateY(-20px) scaleX(0.9);
  background: linear-gradient(0deg, #063E7F 0%, #1278D2 100%);
  border-radius: 16px;
  padding: 16px 32px;
}
.projects .projects-section .section .project-card .card:hover .card-info .card-title {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 12px;
}
.projects .projects-section .section .project-card .card:hover .card-info .card-title::before {
  width: 100%;
}
.projects .projects-section .section .project-card .card:hover .card-info {
  /* ⭐ 內文淡入，不跳動 */
}
.projects .projects-section .section .project-card .card:hover .card-info .card-content {
  display: block;
  opacity: 1;
  max-height: 200px; /* 根據文本量調整 */
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  /* 🔑 關鍵設定 */
  word-break: normal;
  overflow-wrap: break-word;
}
.projects .projects-detail-section {
  padding-bottom: 160px;
}
@media screen and (max-width: 576px) {
  .projects .projects-detail-section {
    padding-bottom: 80px;
  }
}
.projects .projects-detail-section .content {
  margin-top: 160px;
}
@media screen and (max-width: 576px) {
  .projects .projects-detail-section .content {
    margin-top: 80px;
  }
}
.projects .projects-detail-section .content h1 {
  color: #0061B7;
  font-weight: bold;
  font-size: 36px;
}
@media screen and (max-width: 576px) {
  .projects .projects-detail-section .content h1 {
    font-size: 2rem;
  }
}
.projects .projects-detail-section .content h3, .projects .projects-detail-section .content h5 {
  margin-bottom: 2rem;
}
.projects .projects-detail-section .content ul, .projects .projects-detail-section .content ol {
  padding-left: 0;
  margin-left: 0;
}
.projects .projects-detail-section .content ul li, .projects .projects-detail-section .content ol li {
  padding: 0.5rem 0;
  list-style: none;
}
.projects .projects-detail-section .content .spec-table {
  margin-bottom: 2rem;
}
.projects .projects-detail-section .content .spec-table table {
  border: 1px #dddddd solid;
}
.projects .projects-detail-section .content .spec-table tr th {
  border-right: 1px #dddddd solid;
  padding: 0.5rem 1rem;
}
.projects .projects-detail-section .content .spec-table tr td {
  padding: 0.5rem 1rem;
}
.projects .projects-detail-section .content .spec-table tr {
  border: 1px #dddddd solid;
}
.projects .projects-detail-section .content .category span {
  color: #2A6FAC;
}
.projects .projects-detail-section .content .project-content {
  margin-top: 120px;
  padding-bottom: 80px;
  font-size: 1.125rem;
}
@media screen and (max-width: 576px) {
  .projects .projects-detail-section .content .project-content {
    padding-bottom: 40px;
  }
}
.projects .projects-detail-section .content .project-content .main-img {
  margin-bottom: 40px;
}
.projects .projects-detail-section .content .project-content .main-img img {
  width: 80%;
}
@media screen and (max-width: 576px) {
  .projects .projects-detail-section .content .project-content .main-img img {
    width: 100%;
  }
}
.projects .projects-detail-section .content .project-content .youtube {
  padding-top: 80px;
}
@media screen and (max-width: 576px) {
  .projects .projects-detail-section .content .project-content .youtube {
    padding-top: 40px;
  }
}
.projects .projects-detail-section .content .contact-block {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #DDDDDD;
}
.projects .projects-detail-section .content .project-nav {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding-top: 48px;
  border-top: #dddddd 1px solid;
}
.projects .projects-detail-section .content .project-nav .btn-back {
  padding: 0.25rem 10%;
  border: #dddddd 1px solid;
  border-radius: 1rem;
  height: 38px;
  transition: color 0.3s ease-in-out, border 0.3s ease-in-out, background-color 0.3s ease-in-out;
}
.projects .projects-detail-section .content .project-nav .btn-back:hover {
  color: white;
  background-color: #0061B7;
  border-color: transparent;
}
.projects .projects-detail-section .content .project-nav .prev-project, .projects .projects-detail-section .content .project-nav .next-project {
  display: flex;
  align-items: flex-start;
  padding-top: 0.25rem;
}
.projects .projects-detail-section .content .project-nav .prev-project span, .projects .projects-detail-section .content .project-nav .next-project span {
  display: inline-block;
  white-space: normal;
  word-break: break-word; /* 長字也會自動斷行 */
  overflow-wrap: break-word; /* 兼容新版瀏覽器 */
  max-width: 300px;
  min-width: 200px;
}
@media screen and (max-width: 576px) {
  .projects .projects-detail-section .content .project-nav .prev-project span, .projects .projects-detail-section .content .project-nav .next-project span {
    display: none;
  }
}
.projects .projects-detail-section .content .project-nav .prev-project span {
  padding-left: 1rem;
}
.projects .projects-detail-section .content .project-nav .next-project span {
  padding-right: 1rem;
}
.projects .projects-detail-section .content .process-list {
  margin-bottom: 2rem;
}
.projects .projects-detail-section .content .process-list span {
  color: #2169B6;
  display: inline-block;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}
.projects .projects-detail-section .content .process-list span:hover {
  transform: translateY(-0.5rem);
}

.news .news-section {
  overflow: hidden;
  margin-top: 160px;
  padding-bottom: 160px;
}
@media screen and (max-width: 576px) {
  .news .news-section {
    margin-top: 80px;
    padding-bottom: 80px;
  }
}
.news .news-section .container-fluid {
  padding-left: 8.3%;
  padding-right: 8.3%;
}
.news .news-list .card-block {
  padding: 0 18px;
}
.news .news-list .news-card {
  margin-bottom: 120px;
}
.news .news-list .news-card .news-card-body {
  min-height: 240px;
}
.news .news-list .news-card .news-card-body .news-excerpt {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  /* 🔑 關鍵設定 */
  word-break: normal;
  overflow-wrap: break-word;
}
.news .news-detail-section {
  margin-top: 160px;
  margin-bottom: 160px;
}
.news .news-detail-section h1, .news .news-detail-section h2, .news .news-detail-section h3, .news .news-detail-section h4, .news .news-detail-section h5, .news .news-detail-section p {
  display: block;
}
.news .news-detail-section h1 {
  margin-bottom: 2rem;
  color: #2169B6;
  font-weight: bold;
}
.news .news-detail-section h3 {
  color: #2169B6;
  margin-top: 4rem;
  margin-bottom: 2rem;
}
.news .news-detail-section .news-content {
  margin-top: 60px;
  margin-bottom: 60px;
  min-height: 20dvh;
}
.news .news-detail-section .news-content .img-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 3rem;
}
@media screen and (max-width: 576px) {
  .news .news-detail-section .news-content .img-list {
    grid-template-columns: 1fr;
  }
}
.news .news-detail-section .news-content .img-list img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.news .news-detail-section .news-content p {
  font-size: 1.25rem;
}
@media screen and (max-width: 992px) {
  .news .news-detail-section .news-content p {
    font-size: 1rem;
  }
}
.news .news-detail-section .news-content ul {
  margin-left: 1.65rem;
  margin-bottom: 2rem;
}
.news .news-detail-section .news-content ul li {
  list-style: disc;
  line-height: 2;
}
.news .news-detail-section .news-content .process-list span {
  color: #2169B6;
  display: inline-block;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}
.news .news-detail-section .news-content .process-list span:hover {
  transform: translateY(-0.5rem);
}
.news .news-detail-section .news-content .video iframe {
  width: 100%;
  height: 537px;
}
@media screen and (max-width: 1200px) {
  .news .news-detail-section .news-content .video iframe {
    height: 360px;
  }
}
@media screen and (max-width: 992px) {
  .news .news-detail-section .news-content .video iframe {
    height: 260px;
  }
}
.news .news-detail-section .page-back-wrapper {
  margin-top: 80px;
}
.news .img-set-50 {
  max-width: 50%;
}
@media screen and (max-width: 576px) {
  .news .img-set-50 {
    max-width: 100%;
  }
}
@media screen and (max-width: 992px) {
  .news .more-btn-block {
    display: flex;
    justify-content: center;
  }
}
.news .more-btn-block .more-btn {
  --height: 54px;
  max-width: 480px;
  padding: 0 30px;
  color: #063E7F;
  border: 1px #063E7F solid;
  border-radius: calc(var(--height) / 2);
  height: var(--height);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
  transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out, background 0.3s ease-in-out, color 0.3s ease-in-out;
}
.news .more-btn-block .more-btn:hover {
  transform: translateY(-4px);
  border-color: transparent;
  color: white;
  background: linear-gradient(90deg, #063E7F 0%, #1278D2 100%);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
@media screen and (max-width: 576px) {
  .news .more-btn-block {
    font-size: 1rem;
  }
}
.news .back-btn {
  margin-top: 6rem;
}
.news .btn-outline-secondary:hover {
  background-color: #2169B6;
}
@media screen and (max-width: 992px) {
  .news main {
    padding: 0 1rem;
  }
}

.faq-section {
  margin-top: 160px;
  padding: 0 8.3%;
  overflow-x: hidden;
}
@media screen and (max-width: 992px) {
  .faq-section {
    margin-top: 80px;
  }
}
@media screen and (max-width: 576px) {
  .faq-section {
    padding: 0 1rem;
  }
}
.faq-section .container-fluid {
  margin-bottom: 160px;
}
@media screen and (max-width: 576px) {
  .faq-section .container-fluid {
    margin-bottom: 80px;
  }
}
@media screen and (max-width: 992px) {
  .faq-section .container-fluid .perpage {
    align-self: flex-end;
  }
}
.faq-section .container-fluid .perpage {
  font-size: 1rem;
}
.faq-section .container-fluid .perpage .faq-select {
  width: auto;
}
@media screen and (max-width: 576px) {
  .faq-section .container-fluid .perpage {
    font-size: 0.8rem;
  }
}
.faq-section .container-fluid .form-select:focus {
  border-color: #0061B7;
  box-shadow: none;
}
.faq-section .container-fluid .menu-tabs-block {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
@media screen and (max-width: 992px) {
  .faq-section .container-fluid .menu-tabs-block {
    flex-direction: column-reverse;
  }
}
.faq-section .container-fluid .menu-tabs-block .menu-tabs-group {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}
.faq-section .container-fluid .menu-tabs-block .menu-tab.btn {
  min-width: 180px;
  height: 60px;
  white-space: nowrap;
  color: #333333;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  transition: color 0.3s ease-in-out, background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.faq-section .container-fluid .menu-tabs-block .menu-tab.btn:hover, .faq-section .container-fluid .menu-tabs-block .menu-tab.btn.active {
  color: white;
  background: linear-gradient(90deg, #063E7F 0%, #1278D2 100%);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
@media screen and (max-width: 576px) {
  .faq-section .container-fluid .menu-tabs-block .menu-tab.btn {
    min-width: calc(30% - 0.3333333333rem);
    height: auto;
  }
}
.faq-section .container-fluid {
  /* FAQ – Accordion 樣式 */
}
.faq-section .container-fluid .accordion-item {
  border-radius: 8px;
  margin-bottom: 30px;
  border: transparent 1px solid;
  overflow: hidden;
  transition: box-shadow 0.3s ease-in-out;
  /* Hover 時加上陰影 */
}
.faq-section .container-fluid .accordion-item:hover {
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
.faq-section .container-fluid .accordion-item {
  /* 展開時（內容顯示 show）也要加上陰影 */
  /* 需要 SCSS 允許 @at-root，使用這個更相容的版本 */
  /* 展開時陰影（內容 show） */
}
.faq-section .container-fluid .accordion-item:has(.accordion-collapse.show) {
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-color: #063E7F;
  border-radius: 8px;
}
.faq-section .container-fluid .accordion-item .accordion-button.faq-header {
  border: 1px solid #063E7F;
  border-radius: 8px;
  background: linear-gradient(90deg, white 0%, white 100%);
  color: #063E7F;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 1.125rem;
}
.faq-section .container-fluid .accordion-item .accordion-button.faq-header .faq-a-title {
  font-size: 24px;
  font-weight: 700;
  margin-right: 20px;
}
.faq-section .container-fluid .accordion-item .accordion-button.faq-header .faq-title-text {
  margin-right: 1rem;
}
.faq-section .container-fluid .accordion-item .accordion-button.faq-header {
  /* 預設箭頭（收合時） */
}
.faq-section .container-fluid .accordion-item .accordion-button.faq-header:after {
  filter: invert(0);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23063E7F' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 16 16'%3e%3cpath d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}
.faq-section .container-fluid .accordion-item .accordion-button.faq-header {
  /* 滑過收合項目（變藍底白字） */
}
.faq-section .container-fluid .accordion-item .accordion-button.faq-header.collapsed {
  background: linear-gradient(90deg, white 0%, white 100%);
  transition: background 0.3s ease-in-out;
}
.faq-section .container-fluid .accordion-item .accordion-button.faq-header.collapsed:hover {
  background: linear-gradient(90deg, #063E7F 0%, #1278D2 100%);
  color: white;
  /* 箭頭 */
}
.faq-section .container-fluid .accordion-item .accordion-button.faq-header.collapsed:hover:after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 16 16'%3e%3cpath d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}
.faq-section .container-fluid .accordion-item .accordion-button.faq-header {
  /* 展開狀態 */
}
.faq-section .container-fluid .accordion-item .accordion-button.faq-header:not(.collapsed) {
  background: linear-gradient(90deg, #063E7F 0%, #1278D2 100%);
  color: white;
  border-radius: 8px 8px 0 0;
}
.faq-section .container-fluid .accordion-item .accordion-button.faq-header:not(.collapsed):after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 16 16'%3e%3cpath d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}
.faq-section .container-fluid .accordion-item {
  /* 內容區塊 */
}
.faq-section .container-fluid .accordion-item .accordion-body {
  border: 1px solid #063E7F;
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 24px 30px 25px 30px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: #063E7F;
}
.faq-section .container-fluid .accordion-item .accordion-body .faq-a-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}
.faq-section .container-fluid .accordion-item .accordion-body small {
  line-height: 1;
}
.faq-section .container-fluid {
  /* ⭐ 初始展開的 Q1：依照 Bootstrap → show + 非 collapsed */
}
.faq-section .container-fluid .accordion-item:first-child .accordion-button:not(.collapsed) {
  background: linear-gradient(90deg, #063E7F 0%, #1278D2 100%);
  color: white;
}
.faq-section .container-fluid .accordion-item:first-child .accordion-button:not(.collapsed):after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 16 16'%3e%3cpath d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}
.faq-section .container-fluid {
  /* 展開 */
}
.faq-section .container-fluid .accordion-item .accordion-collapse.show {
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.en .faq-section .container-fluid .menu-tabs-block .menu-tabs-group .menu-tab.btn {
  word-break: normal; /* 不強制斷字 */
  overflow-wrap: normal; /* 不任意換行 */
  white-space: normal; /* 正常換行（只在空白處） */
}
@media screen and (max-width: 576px) {
  .en .faq-section .container-fluid .menu-tabs-block .menu-tabs-group .menu-tab.btn span {
    display: none;
  }
}

@media screen and (max-width: 992px) {
  .contact .breadcrumb {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}
.contact main {
  overflow: hidden;
}
.contact main .contact-section .section {
  background-image: url(../../assets/img/page/img-page-bottom-bg.webp);
  background-blend-mode: multiply;
  background-position: bottom;
  background-repeat: no-repeat;
  background-color: #FEFEFE;
  margin-top: 160px;
  padding-bottom: 90px;
}
@media screen and (max-width: 576px) {
  .contact main .contact-section .section {
    margin-top: 80px;
  }
}
.contact main .contact-section .section .info-block {
  padding-top: 60px;
  background-color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right: 60px;
}
@media screen and (max-width: 1200px) {
  .contact main .contact-section .section .info-block {
    align-items: center;
    padding-left: 12px;
    padding-right: 0;
  }
}
@media screen and (max-width: 576px) {
  .contact main .contact-section .section .info-block {
    padding-top: 0;
  }
}
.contact main .contact-section .section .info-block h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
}
.contact main .contact-section .section .info-block p {
  margin-bottom: 1.5rem;
}
.contact main .contact-section .section .info-block .content h1 {
  font-size: 54px;
  font-weight: bolder;
  color: #063E7F;
  margin-bottom: 42px;
}
@media screen and (max-width: 1599px) {
  .contact main .contact-section .section .info-block .content h1 {
    font-size: 48px;
  }
}
.contact main .contact-section .section .info-block .company-info ul {
  display: flex;
  flex-direction: column;
  padding: 0;
}
.contact main .contact-section .section .info-block .company-info ul li {
  display: flex;
  column-gap: 1rem;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.contact main .contact-section .section .info-block .company-info ul li .iconblock {
  border-radius: 0.3rem;
  height: 30px;
}
.contact main .contact-section .section .info-block .company-info ul li a:hover .icon-phone,
.contact main .contact-section .section .info-block .company-info ul li a:hover .icon-fax,
.contact main .contact-section .section .info-block .company-info ul li a:hover .icon-address,
.contact main .contact-section .section .info-block .company-info ul li a:hover .icon-email,
.contact main .contact-section .section .info-block .company-info ul li a:hover .icon-code,
.contact main .contact-section .section .info-block .company-info ul li a:hover .icon-chat {
  background-color: #063E7F;
}
.contact main .contact-section .section .info-block .company-info ul li .icon-phone,
.contact main .contact-section .section .info-block .company-info ul li .icon-fax,
.contact main .contact-section .section .info-block .company-info ul li .icon-address,
.contact main .contact-section .section .info-block .company-info ul li .icon-email,
.contact main .contact-section .section .info-block .company-info ul li .icon-code,
.contact main .contact-section .section .info-block .company-info ul li .icon-chat {
  width: 30px;
  height: 30px;
  background-color: #063E7F;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.contact main .contact-section .section .info-block .company-info ul li > div, .contact main .contact-section .section .info-block .company-info ul li > a {
  display: flex;
  column-gap: 0.25rem;
  align-items: center;
}
.contact main .contact-section .section .info-block .company-info ul li .icon-phone {
  -webkit-mask: url("../../assets/img/img_icon_phone.svg") no-repeat center;
  mask: url("../../assets/img/img_icon_phone.svg") no-repeat center;
}
.contact main .contact-section .section .info-block .company-info ul li .icon-fax {
  -webkit-mask: url("../../assets/img/img_icon_fax.svg") no-repeat center;
  mask: url("../../assets/img/img_icon_fax.svg") no-repeat center;
}
.contact main .contact-section .section .info-block .company-info ul li .icon-address {
  -webkit-mask: url("../../assets/img/img_icon_address.svg") no-repeat center;
  mask: url("../../assets/img/img_icon_address.svg") no-repeat center;
}
.contact main .contact-section .section .info-block .company-info ul li .icon-email {
  -webkit-mask: url("../../assets/img/img_icon_email.svg") no-repeat center;
  mask: url("../../assets/img/img_icon_email.svg") no-repeat center;
}
.contact main .contact-section .section .info-block .company-info ul li .icon-code {
  -webkit-mask: url("../../assets/img/img_icon_code.svg") no-repeat center;
  mask: url("../../assets/img/img_icon_code.svg") no-repeat center;
}
.contact main .contact-section .section .info-block .company-info ul li .icon-chat {
  -webkit-mask: url("../../assets/img/img_icon_chat.svg") no-repeat center;
  mask: url("../../assets/img/img_icon_chat.svg") no-repeat center;
}
.contact main .contact-section .section .info-img {
  padding: 0;
}
.contact main .contact-section .section .info-img img {
  width: 100%;
}
.contact main .contact-section .section .contactlist {
  max-width: 1000px;
  margin: 0 auto;
}
.contact main .contact-section .section ul {
  border-radius: 1rem;
  padding: 60px 42px 0 42px;
}
.contact main .contact-section .section ul .list-title {
  text-align: center;
  font-size: 1rem;
  color: #063E7F;
  margin-bottom: 30px;
}
.contact main .contact-section .section ul .list-hit {
  text-align: right;
  color: #666666;
  margin-bottom: 1rem;
}
@media screen and (max-width: 576px) {
  .contact main .contact-section .section ul .list-hit {
    text-align: left;
  }
}
.contact main .contact-section .section ul li {
  margin-bottom: 30px;
  font-size: 1rem;
}
.contact main .contact-section .section ul li .input-wrapper {
  position: relative;
  display: flex;
  width: 100%;
}
.contact main .contact-section .section ul li .input-wrapper .form-label {
  width: 192px;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-right: 20px;
  margin-bottom: 0;
}
@media screen and (max-width: 576px) {
  .contact main .contact-section .section ul li .input-wrapper .form-label {
    height: auto;
  }
}
.contact main .contact-section .section ul li .input-wrapper .text-danger {
  font-size: 0.85rem;
  white-space: nowrap; /* 可選：避免換行 */
}
.contact main .contact-section .section ul li .input-wrapper .form-control {
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.25);
}
.contact main .contact-section .section ul li .input-wrapper .form-control:focus {
  box-shadow: none;
  outline: none;
  border-color: #063E7F;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
.contact main .contact-section .section ul li .input-wrapper .form-control:not(:placeholder-shown) {
  border: 1px #063E7F solid;
  background-color: #E8F0FE;
}
.contact main .contact-section .section ul li .btn {
  margin-top: 72px;
  border-radius: 2rem;
  background: linear-gradient(90deg, #063E7F 0%, #1278D2 100%);
  color: white;
  width: 100%;
  padding: 0.75rem 0;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.contact main .contact-section .section ul li .btn:hover {
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  transform: translateY(-4px);
}
@media screen and (max-width: 992px) {
  .contact main .contact-section .section .list-block {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .contact main .contact-section .section ul .list-title {
    font-size: 1rem;
  }
}
@media screen and (max-width: 576px) {
  .contact main .contact-section .section .info-block {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .contact main .contact-section .section .map iframe {
    height: 200px;
  }
  .contact main .contact-section .section ul {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
.contact main .contact-section .map iframe {
  display: block;
  margin: 0;
  padding: 0;
  border: none;
}
@media screen and (max-width: 1599px) {
  .contact main {
    background-position: left;
    background-size: auto 100%;
  }
}
@media screen and (max-width: 576px) {
  .contact .sp-block {
    display: block;
  }
  .contact main .contact-section .section ul li .input-wrapper {
    flex-direction: column;
  }
  .contact main .contact-section .section ul li .input-wrapper .form-label {
    margin-bottom: 0.5rem;
    flex-direction: row-reverse;
    justify-content: flex-end;
  }
  .contact main .contact-section .section ul li .input-wrapper .form-label .text-danger {
    margin-right: 0.5rem;
    line-height: 0;
  }
  .contact main .contact-section .section ul li .input-wrapper .form-label span {
    display: inline-block; /* 寬度 = 文字寬度 */
    white-space: nowrap; /* 文字不換行 */
  }
}
@media (max-width: 1599px) {
  .contact.en main .contact-section .section .info-block {
    padding-left: 60px;
  }
}
@media (max-width: 1200px) {
  .contact.en .row {
    flex-direction: column;
  }
  .contact.en .row .info-block,
  .contact.en .row .info-img {
    width: 100%;
  }
  .contact.en .row .info-block .inner-block {
    display: flex;
  }
  .contact.en main .contact-section .section .info-block .content {
    width: 50%;
    padding-right: 2rem;
  }
  .contact.en main .contact-section .section .info-block .content h1 {
    font-size: 38px;
  }
  .contact.en main .contact-section .section .info-block .company-info {
    padding-right: 2rem;
  }
  .contact.en main .contact-section .section {
    margin-top: 0;
  }
}
@media (max-width: 767px) {
  .contact.en .row .info-block .inner-block {
    display: block;
  }
}

@media (max-width: 576px) {
  .contact.en main .contact-section .section .info-block {
    padding-left: 24px;
    padding-top: 60px;
  }
  .contact.en main .contact-section .section .info-block .content {
    width: 100%;
    padding-right: 0;
  }
  .contact.en main .contact-section .section .info-block .content h1 {
    font-size: 36px;
  }
}

.catalog main {
  background-size: 100% auto;
}
.catalog main .catalog-section .section {
  padding-top: 140px;
  padding-bottom: 120px;
}
@media screen and (max-width: 992px) {
  .catalog main .catalog-section .section {
    padding-top: 60px;
  }
}
@media screen and (max-width: 576px) {
  .catalog main .catalog-section .section {
    padding-bottom: 40px;
  }
}
.catalog main .catalog-section .section .card {
  border: none;
  margin-bottom: 7.55rem;
  background: none;
}
.catalog main .catalog-section .section .card .card-title {
  font-size: 1.25rem;
  font-weight: bolder;
}
.catalog main .catalog-section .section .card .card-img {
  border: #cccccc 1px solid;
}
.catalog main .catalog-section .section .card .card-body {
  display: flex;
  justify-content: flex-end;
  padding-left: 0;
  padding-right: 0;
  column-gap: 1rem;
}
.catalog main .catalog-section .section .card .card-body .review,
.catalog main .catalog-section .section .card .card-body .download {
  display: flex;
  align-items: center;
  column-gap: 0.25rem;
  color: #333333;
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.catalog main .catalog-section .section .card .card-body .review .icon-review,
.catalog main .catalog-section .section .card .card-body .review .icon-download,
.catalog main .catalog-section .section .card .card-body .download .icon-review,
.catalog main .catalog-section .section .card .card-body .download .icon-download {
  background-color: #333333;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.catalog main .catalog-section .section .card .card-body .review:hover,
.catalog main .catalog-section .section .card .card-body .download:hover {
  transform: translateY(-4px);
  color: #0061B7;
}
.catalog main .catalog-section .section .card .card-body .review:hover .icon-review,
.catalog main .catalog-section .section .card .card-body .review:hover .icon-download,
.catalog main .catalog-section .section .card .card-body .download:hover .icon-review,
.catalog main .catalog-section .section .card .card-body .download:hover .icon-download {
  background-color: #0061B7;
}
.catalog main .catalog-section .section .card .card-body .review .icon-review,
.catalog main .catalog-section .section .card .card-body .download .icon-review {
  width: 24px;
  height: 16px;
  background-color: #333333;
  -webkit-mask: url("../../assets/img/img_review.svg") no-repeat center;
  mask: url("../../assets/img/img_review.svg") no-repeat center;
}
.catalog main .catalog-section .section .card .card-body .review .icon-download,
.catalog main .catalog-section .section .card .card-body .download .icon-download {
  width: 19px;
  height: 16px;
  -webkit-mask: url("../../assets/img/img_download.svg") no-repeat center;
  mask: url("../../assets/img/img_download.svg") no-repeat center;
}
@media screen and (max-width: 992px) {
  .catalog main .catalog-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.error-section {
  margin: 166px 0 66px 0;
  overflow: hidden;
}
.error-section .centent {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.error-section .centent .information {
  text-align: center;
}
.error-section .centent .information .display-404 {
  font-size: 10rem;
  color: #063E7F;
}
.error-section .centent .information p {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  font-weight: bolder;
  color: #999;
}
.error-section .centent .information .btn-primary {
  background-color: #063E7F;
}
.error-section .centent .information .btn-primary:hover {
  color: #F4DF31;
}

.content-title {
  position: relative;
  color: #063E7F;
  font-size: 2.5rem;
  font-weight: bolder;
}
.content-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -40px;
  width: 80px;
  height: 1px;
  background-color: #cccccc;
}

.page-wrapper {
  overflow: hidden;
  padding-top: 94px;
}
@media (max-width: 1365.98px) {
  .page-wrapper {
    padding-top: 128px;
  }
}

.pageheader {
  overflow: hidden;
  height: 234px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  color: white;
  background: url("../../assets/img/page/img_pageheader.webp");
  background-blend-mode: hard-light, normal;
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
}
.pageheader h1 {
  position: relative;
  font-size: 3.75rem;
  font-weight: 500;
  display: inline-block;
  width: auto;
  white-space: nowrap; /* 可選：避免換行 */
  margin-bottom: 54px;
}
.pageheader h1::after {
  content: "";
  position: absolute;
  bottom: -0.75rem;
  right: 0;
  width: 35%;
  height: 2px;
  background-color: white;
}

@media (max-width: 1024px) {
  .home main {
    margin-top: 0;
  }
}
@media (max-width: 576px) {
  .pageheader {
    --switch: .8;
    height: calc(160px * var(--switch));
  }
  .pageheader h1 {
    font-size: 2.25rem;
    margin-bottom: calc(54px * var(--switch));
  }
}
@media (max-width: 375px) {
  .logo {
    display: flex;
    align-items: center;
  }
}
.breadcrumb-section {
  padding-right: 8%;
  padding-left: 8%;
}
@media (max-width: 992px) {
  .breadcrumb-section {
    padding-right: 16px;
    padding-left: 16px;
  }
}

.breadcrumb {
  background-color: transparent;
  padding-top: 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  justify-self: end;
}
@media (max-width: 576px) {
  .breadcrumb {
    justify-self: flex-start;
  }
}
.breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "-";
  margin: 0 0.1rem;
  color: #999;
  font-size: 1rem;
}
.breadcrumb .active {
  color: #063E7F;
  font-weight: bolder;
  position: relative;
}

.btn-outline-secondary {
  border-radius: 50px;
  padding: 0.375rem 1.5rem;
}

.search-section {
  overflow: hidden;
  min-height: 50vh;
}
.search-section .content {
  padding-left: 8.3%;
  padding-right: 8.3%;
  padding-top: 60px;
  padding-bottom: 160px;
}

.maintenance-section {
  background: url(../../assets/img/img-maintenance.png) center top no-repeat;
  margin-top: 5rem;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.maintenance-section .information {
  text-align: center;
}
.maintenance-section .information h1 {
  font-size: 4rem;
  margin-bottom: 2rem;
}

.news-card {
  position: relative;
  border: none;
  transition: transform 0.3s ease-in-out;
  height: 480px;
  background-color: transparent;
}
@media screen and (max-width: 1200px) {
  .news-card {
    height: 400px;
  }
}
.news-card .news-card-img {
  position: absolute;
  top: 0;
  height: 360px;
  object-fit: cover;
  width: 100%;
  border: transparent 0 solid;
  transition: border 0.3s ease-in-out;
}
@media screen and (max-width: 1200px) {
  .news-card .news-card-img {
    height: 260px;
  }
}
.news-card .news-card-body {
  width: 90%;
  padding: 20px;
  position: absolute;
  bottom: 0;
  background-color: white;
}
.news-card .news-card-body .news-date {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 10px;
  display: block;
}
.news-card .news-card-body .news-title {
  font-weight: bold;
  color: #3f6eb5;
  font-size: 1.1rem;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  /* 🔑 關鍵設定 */
  word-break: normal;
  overflow-wrap: break-word;
}
.news-card .news-card-body .news-excerpt {
  font-size: 0.9rem;
  color: #666;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: left;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  /* 🔑 關鍵設定 */
  word-break: normal;
  overflow-wrap: break-word;
}
.news-card:hover {
  transform: translateY(-5px);
}
.news-card:hover .news-card-img {
  border: white 10px solid;
}
.news-card:hover .news-card-img,
.news-card:hover .news-card-body {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 576px) {
  .news-card {
    transform: translateY(-5px);
  }
  .news-card .news-card-img {
    border: white 10px solid;
  }
  .news-card .news-card-img,
  .news-card .news-card-body {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
}

.contact-section-components {
  padding-left: 8.3%;
  padding-right: 8.3%;
  background: url(../../assets/img/page/img-pagebar-bg.webp) center no-repeat;
  background-size: cover;
  color: white;
}
.contact-section-components .container-fluid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  padding-top: 100px;
  padding-bottom: 100px;
}
.contact-section-components .container-fluid p {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 36px;
}
.contact-section-components .container-fluid .btn-contact {
  font-size: 1.5rem;
  border-radius: 36px;
  border: 1px white solid;
  min-width: 300px;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.contact-section-components .container-fluid .btn-contact .iconblock {
  height: 2.25rem;
  margin-right: 0.5rem;
}
.contact-section-components .container-fluid .btn-contact .icon-chat {
  width: 2.25rem;
  height: 2.25rem;
  background-color: white;
  -webkit-mask-size: contain;
  mask-size: contain;
  transform: scale(1.5);
  transition: transform 0.3s ease-in-out;
  -webkit-mask: url("../../assets/img/img_icon_chat.svg") no-repeat center;
  mask: url("../../assets/img/img_icon_chat.svg") no-repeat center;
}
.contact-section-components .container-fluid .btn-contact:hover {
  cursor: pointer;
  background-color: white;
  color: #2169B6;
}
.contact-section-components .container-fluid .btn-contact:hover .icon-chat {
  animation: swing 0.6s ease infinite;
  background-color: #2169B6;
}
@media screen and (max-width: 960px) {
  .contact-section-components .container-fluid {
    flex-wrap: wrap;
    justify-content: center;
  }
  .contact-section-components .container-fluid p {
    font-size: 1.25rem;
    padding: 0 2.5rem;
    text-align: center;
  }
}
@media screen and (max-width: 768px) {
  .contact-section-components .container-fluid p {
    text-align: left;
  }
}
@media screen and (max-width: 576px) {
  .contact-section-components .container-fluid p {
    padding: 0;
  }
}
@keyframes swing {
  0% {
    transform: scale(2.5) rotate(0deg);
  }
  20% {
    transform: scale(2.5) rotate(10deg);
  }
  40% {
    transform: scale(2.5) rotate(-10deg);
  }
  60% {
    transform: scale(2.5) rotate(6deg);
  }
  80% {
    transform: scale(2.5) rotate(-6deg);
  }
  100% {
    transform: scale(2.5) rotate(0deg);
  }
}

.pagination-block {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}
@media screen and (max-width: 992px) {
  .pagination-block {
    margin-top: 0px;
  }
}
.pagination-block .active > .page-link, .pagination-block .page-link.active {
  color: white;
  background-color: #063E7F;
}
.pagination-block .page-link {
  color: #063E7F;
  background-color: transparent;
  border: none;
}
.pagination-block .page-link:hover {
  color: white;
  background-color: #063E7F;
}
.pagination-block .page-link:focus {
  box-shadow: none;
}
.pagination-block .page-item {
  position: relative;
}
.pagination-block .page-item.disabled {
  display: none;
}
.pagination-block .page-item::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  height: 50%;
  width: 1px;
  background-color: black;
}
.pagination-block .page-item.active::after {
  display: none;
}
.pagination-block .page-item:last-child::after {
  display: none;
}

.page-back-wrapper {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding-top: 48px;
  border-top: #dddddd 1px solid;
}
.page-back-wrapper .btn-back-to-list {
  padding: 0.25rem 10%;
  border: #dddddd 1px solid;
  border-radius: 1rem;
  height: 38px;
  transition: color 0.3s ease-in-out, border 0.3s ease-in-out, background-color 0.3s ease-in-out;
}
.page-back-wrapper .btn-back-to-list:hover {
  color: white;
  background-color: #0061B7;
  border-color: transparent;
}
.page-back-wrapper .btn-prev, .page-back-wrapper .btn-next {
  display: flex;
  align-items: flex-start;
  padding-top: 0.25rem;
}
.page-back-wrapper .btn-prev span, .page-back-wrapper .btn-next span {
  display: inline-block;
  white-space: normal;
  word-break: break-word; /* 長字也會自動斷行 */
  overflow-wrap: break-word; /* 兼容新版瀏覽器 */
  max-width: 300px;
  min-width: 200px;
}
@media screen and (max-width: 576px) {
  .page-back-wrapper .btn-prev span, .page-back-wrapper .btn-next span {
    display: none;
  }
}
.page-back-wrapper .btn-prev span {
  padding-left: 1rem;
}
.page-back-wrapper .btn-next span {
  padding-right: 1rem;
}/*# sourceMappingURL=style.css.map */