html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'google Sans Flex', sans-serif;
  scroll-behavior: smooth;
}

/*字體大小*/
.txt_xxl {
  font-size: 100px;
  font-weight: 700;
  color: #005274;
}

.txt_xl {
  font-size: 72px;
  font-weight: 700;
  color: #005274;
  margin: 0;
}

.txt_lg {
  font-size: 60px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #005274;
  margin: 0;
}

.txt_md {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: .1em;
  color: #005274;
  margin: 0;
}

.txt_mds {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .05em;
  color: #005274;
  margin: 0;
}

.txt_sm {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.3em;
  color: #505050;
  margin: 0;
}

.bn_txt_sm {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3em;
  color: #005274;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.txt_xm {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3em;
  color: #505050;
}


@media(max-width:1699px) {
  .txt_xl {
    font-size: 64px !important;
  }
}

@media(max-width:1499px) {
  .txt_xxl {
    font-size: 80px !important;
  }

  .txt_lg {
    font-size: 52px !important;
  }

  .news_item_block .date .txt_date {
    font-size: 60px !important;
  }
}

@media(max-width:1299px) {
  .txt_xxl {
    font-size: 70px !important;
  }

  .txt_xl {
    font-size: 56px !important;
  }

  .txt_lg {
    font-size: 46px !important;
  }

  .txt_md {
    font-size: 32px !important;
  }

  .txt_mds {
    font-size: 26px;
  }

  .bn_txt_sm {
    font-size: 20px !important;
  }

  .news_item_block .date .txt_date {
    font-size: 56px !important;
  }

  .pdc_title_block .txt_lg {
    margin-top: -6.5% !important;
  }
}

@media(max-width:1199px) {
  .txt_xm {
    font-size: 16px !important;
  }
}

@media(max-width:1099px) {
  .txt_xxl {
    font-size: 60px !important;
  }

  .txt_lg {
    font-size: 38px !important;
  }

  .txt_md {
    font-size: 30px !important;
  }

  .txt_mds {
    font-size: 24px;
  }

  .bn_txt_sm {
    font-size: 18px !important;
  }

  .txt_sm {
    font-size: 16px !important;
  }

}

@media(max-width:991px) {
  .txt_xxl {
    font-size: 50px !important;
  }

  .txt_xl {
    font-size: 42px !important;
  }

  .txt_lg {
    font-size: 32px !important;
  }

  .txt_md {
    font-size: 24px !important;
  }

  .txt_mds {
    font-size: 20px;
  }

  .pdc_block .txt_md {
    padding: 0 0 20px 0 !important;
  }

  .news_item_block .date .txt_date {
    font-size: 42px !important;
  }
}

@media(max-width:767px) {
  .txt_xxl {
    font-size: 40px !important;
  }

  .txt_xl {
    font-size: 32px !important;
  }

  .txt_lg {
    font-size: 26px !important;
  }

  .txt_md {
    font-size: 20px !important;
  }

  .txt_mds {
    font-size: 18px;
  }

  .bn_txt_sm {
    font-size: 16px !important;
  }

  .news_item_block .date .txt_date {
    font-size: 32px !important;
  }
}

@media(max-width:575px) {
  .txt_xxl {
    font-size: 36px !important;
  }

  .txt_xl {
    font-size: 28px !important;
  }

  .txt_lg {
    font-size: 20px !important;
  }

  .txt_md {
    font-size: 18px !important;
  }

  .txt_sm {
    font-size: 14px !important;
  }

  .txt_xm {
    font-size: 14px !important;
  }

  .news_item_block .date .txt_date {
    font-size: 28px !important;
  }
}

@media(max-width:390px) {
  .txt_xxl {
    font-size: 30px !important;
  }

  .txt_xl {
    font-size: 26px !important;
  }

  .txt_lg {
    font-size: 18px !important;
  }

  .bn_txt_sm {
    font-size: 14px !important;
  }

  .txt_sm {
    font-size: 14px !important;
  }

  .txt_xm {
    font-size: 14px !important;
  }

  .breadcrumb .txt_xm {
    font-size: 12px !important;
  }

  .news_item_block .date .txt_date {
    font-size: 26px !important;
  }
}


/*nav*/
.ss_nav {
  width: 100%;
  height: auto;
  position: relative;
  top: 0;
  background-color: rgba(0, 82, 116);
  position: fixed;
  z-index: 999;
}

.nav_area {
  max-width: 1520px;
  width: 100%;
  margin: auto;
}

@media(max-width:1599px) {
  .nav_area {
    padding: 0 24px;
  }
}

.navbar-brand,
.footer-logo {
  display: block;
  width: 250px;
}

.nav_txt_section {
  justify-content: flex-end;
}

.nav-link {
  display: block;
}

.nav-item .nav-link {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  padding: 0 29px !important;
}

.nav-item .nav-link:hover {
  color: #ffae4e;
}

.nav_right {
  display: flex;
  align-items: center;
}

.contact_icon,
.lan_icon {
  display: block;
  width: 100%;
  max-width: 27px;
  height: 27px;
  object-fit: contain;
  flex-shrink: 0;
}

.lan_icon {
  max-width: 25px;
}

.nav_right .nav-link {
  display: flex !important;
  border: none;
  background: none;
}

/* 
.lang_block .nav_btn {
  padding-right: 0 !important;
} */

.nav_right span {
  padding: 0 0 0 10px;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
}


.nav_txt_section .dropdown-menu {
  margin: 17px 0 0 0;
  padding: 20px;
}

.navbar-nav .dropdown-menu::before {
  content: "";
  display: block;
  position: absolute;
  top: -17px;
  /* 高度必須 >= margin-top 的數值 */
  left: 0;
  width: 100%;
  height: 17px;
}

@media(min-width:991px) {
  .nav_txt_section .dropdown:hover .dropdown-menu {
    display: block;
    transform: translateX(-25%);
    transition: all .3s ease-in-out;
  }
}

.lang_block .lang_dropmenu {
  padding: 20px;
  margin: 9px 24px 0 0;
}

.lang_block .lang_dropmenu::before {
  content: '';
  display: block;
  position: absolute;
  top: -9px;
  left: 0;
  width: 100%;
  height: 9px;
}

.lang_block .lang_dropmenu {
  border: none;
  background-color: #f7f7f7;
  color: #005274;
  transform: translateX(-25%);
  transition: all .3s ease-in-out;
}

.dropdown-item:hover,
.dropdown-item:hover {
  transition: all .3s ease-in-out;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: #fff;
  transition: all .3s ease-in-out;
}

@media(min-width:991px) {
  .lang_block:hover .lang_dropmenu {
    display: block;
  }
}

.navbar-nav .dropdown-menu {
  background-color: #f7f7f7;
  box-shadow: none;
  border: none;
  border-radius: 0 0 5px 5px;
}

.navbar-nav .dropdown-menu a,
.lang_block .lang_dropmenu a {
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  color: #005274;
  border-left: 1px solid #005274;
}


.hamburguer_btn {
  width: 100%;
  height: 2px;
  background: #fff;
  margin: 5px auto;
  transition: all .3s ease-in-out;
}

.navbar-toggler {
  z-index: 999;
  width: 45px;
  height: 45px;
  border: none;
  box-shadow: none;
  position: absolute;
  top: 8px;
  right: 24px;
  display: block;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

.navbar-toggler.on .line1 {
  transform: rotate(45deg)translate(5px, 5px);
}

.navbar-toggler.on .line2 {
  opacity: 0;
}

.navbar-toggler.on .line3 {
  transform: rotate(-45deg)translate(5px, -5px);
}

.nav_right .nav-link,
.nav_btn {
  padding: 0.5em;
}


@media(max-width:1599px) {
  .lang_block .lang_dropmenu {
    transform: translateX(-50%);
  }
}

@media(max-width:1199px) {
  .nav-item .nav-link {
    padding: 0 18px !important;
  }
}

@media(max-width:1099px) {
  .nav-item .nav-link {
    padding: 0 12px !important;
  }
}

@media(max-width:991px) {
  .nav-item .nav_btn {
    border: none;
    background: none;
  }

  .nav-item .nav_btn:active .dropdown-menu {
    display: block;
  }

  .nav_txt_section .dropdown-menu {
    margin: 0;
  }

  .lang_block:active .lang_dropmenu {
    display: block;
  }

  .navbar-nav .dropdown-menu a,
  .lang_block:active .lang_dropmenu a {
    display: block;
  }

  .navbar-nav .nav_btn,
  .nav-item .nav-link {
    padding: 12px !important;
  }

  .nav_right {
    position: absolute;
    top: 10px;
    right: 60px;
  }
}

@media(max-width:575px) {

  .navbar-brand img,
  .footer-logo img {
    width: 200px;
  }

  .nav_right img {
    max-width: 25px;
  }

  .nav_right span {
    display: none;
  }

  .nav_right {
    top: 10px;
    right: 65px;
  }
}

@media(max-width:390px) {

  .navbar-brand img,
  .footer-logo img {
    width: 150px;
  }

  .nav_right img {
    width: 20px;
  }

  .nav_right {
    top: 7px;
  }

  .nav_right .nav-link,
  .nav_btn {
    padding: 10px;
  }
}

/*index-banner*/
.bn_area {
  width: 100%;
  padding-top: 60px;
  padding-left: 0;
  padding-right: 0;
}

.bn_slick {
  overflow: hidden;
}

.bn_block {
  display: flex;
  align-items: center;
}

.bn_txt_block {
  max-width: 1520px;
  width: 100%;
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  margin: auto;
}

.bn_txt_block {
  display: flex;
  flex-direction: column;
}

.bn_bg {
  position: absolute;
  width: 50%;
  height: 30%;
  background-color: rgba(255, 255, 255, .7);
  border: 1px solid #fff;
  border-radius: 0 10px 10px 0;
  z-index: 1;
}

.bn_img {
  position: relative;
  width: 100%;
  display: block;
}

.bn_img img {
  width: 100%;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
}

.bn_txt {
  padding: 0 0 0 24px;
}

@media(max-width:1099px) {
  .bn_slick .slick-dots {
    bottom: 40px !important;
  }
}

@media(max-width:991px) {
  .bn_bg {
    height: 35%;
  }
}

@media(max-width:767px) {
  .bn_bg {
    width: 60%;
  }
}

@media(max-width:575px) {
  .bn_bg {
    height: 40%;
  }

  .bn_area {
    padding-top: 50px;
  }

  .bn_slick .slick-dots li button {
    width: 8px;
    height: 8px;
  }

  .bn_slick .slick-dots {
    bottom: 25px !important;
  }
}

@media(max-width:390px) {
  .bn_bg {
    width: 60%;
    height: 45%;
  }

  .bn_slick .slick-dots li button {
    width: 8px !important;
    height: 8px !important;
  }

  .bn_slick .slick-dots li.slick-active button {
    width: 30px !important;
  }
}

.bn_slick .slick-dots {
  display: flex;
  bottom: 86px;
  justify-content: center;
}

.bn_slick .slick-dots li {
  display: block;
  width: auto;
  height: auto;
  margin: 0 10px;
}

.bn_slick .slick-dots li button {
  font-size: 0;
  /* 隱藏預設數字 */
  line-height: 0;
  display: block;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background-color: rgb(0, 82, 116);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transition: all 0.3s ease;
  opacity: 1;
}

.bn_slick .slick-dots li button:before {
  content: '';
  /* 清除 Slick 預設的 '•' 符號 */
  display: none;
}

/* 5. 啟動狀態 (Active)*/
.bn_slick .slick-dots li.slick-active button {
  width: 50px;
  /* 寬度伸長 */
  border-radius: 5px;
}

.slick-dotted.slick-slider {
  margin-bottom: 0 !important;
}

/*index-product*/
.body_area {
  margin: 130px 24px;
}

.pdc_area {
  max-width: 1520px;
  width: 100%;
  margin: auto;
  padding: 130px 24px 0px 24px;
}

.pdc_item_area,
.about_area,
.news_block {
  width: 100%;
  padding: 0 0 130px 0;
  overflow: hidden;
}


.pdc_title_block .txt_xxl,
.ab_title_block .txt_xxl,
.media_title_block .txt_xxl {
  position: relative;
  color: #fff;
  z-index: -1;
}

.pdc_title_block .txt_xxl,
.ab_title_block .txt_xxl,
.media_title_block .txt_xxl {
  text-shadow: -1px -1px 0 #005274,
    1px -1px 0 #005274,
    -1px 1px 0 #005274,
    1px 1px 0 #005274;
}

.pdc_title_block .txt_lg {
  margin-top: -6.7%;
}

.pdc_block {
  display: flex;
  flex-direction: column;
}

.pdc_right {
  padding-right: 20%;
}

.pdc_left {
  padding-right: 10%;
}

.pdc_block .txt_md {
  padding: 0 0 30px 0;
}

.pdc_block .txt_md,
.pdc_block .lg_btn {
  margin-left: auto;
}

.lg_btn {
  max-width: 200px;
  width: 100%;
  height: 60px;
  background-color: #ffae4e;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.lg_btn .txt_xm {
  display: flex;
  align-items: center;
  padding: 20px;
  text-decoration: none;
  color: #fff;
  /* 讓點擊範圍撐滿整個按鈕 */
  width: 100%;
  height: 100%;
  /* 文字與 Icon 水平垂直置中 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.lg_btn_icon {
  display: flex;
  align-items: center;
  padding: 0 0 0 10px;
}


.lg_btn .lg_btn_1 {
  width: 30px;
  height: 30px;
  border: 1px solid #fff;
  border-radius: 100%;
  margin-right: -20px;
}

.arrow {
  margin-left: -8px;
}

.lg_btn_line1 {
  width: 12px;
  height: 2px;
  background-color: #fff;
  transform: rotate(45deg);
  margin-bottom: 6px;
}

.lg_btn_line2 {
  width: 12px;
  height: 2px;
  background-color: #fff;
  transform: rotate(-45deg);
  margin-top: 6px;
}

.lg_btn_line {
  width: 40px;
  height: 2px;
  background-color: #fff;
  margin-left: 5px;
}

.lg_btn_2 {
  display: block;
  width: 25px;
  height: 25px;
  margin-right: -10px;
}

/*lg_btn_hover效果*/
.lg_btn:hover .lg_btn_line {
  display: none;
}

.lg_btn:hover .arrow {
  transform: translateX(60%);
  transition: all .3s ease-in-out;
}

.lg_btn:hover .lg_btn_line1,
.lg_btn:hover .lg_btn_line2 {
  background-color: #005274;
}

.bg-rect {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 75%;
  background-color: #efefef;
  z-index: -2;
}

.pdc_bgl {
  position: relative;
  width: 100%;
  padding-top: 40px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.pdc_bgr {
  position: relative;
  width: 100%;
  padding-top: 40px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.pdc_l {
  margin-top: 5% !important;
  z-index: 1;
}

.pdc_r {
  z-index: 1;
  padding-right: 164px;
}

.pdc_bgl img {
  position: relative;
  z-index: -1;
  width: 85%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  overflow: hidden;
  margin-top: -40%;
  margin-right: -15%;
}

.pdc_bgr img {
  position: relative;
  z-index: -1;
  width: 85%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  overflow: hidden;
  margin-top: -40%;
  margin-right: 10%;
  padding-top: 20px;
}

.pdc_block:hover .lg_btn_1 {
  transition: all .3s ease-in-out;
  translateX: 5px;
}

/*側邊導航欄 sidenav*/
/* --- 滾動監控主容器 --- */
#sectionAnchor {
  position: fixed;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 300;
  font-family: "Roboto", sans-serif;
}

/* 垂直裝飾線 (直線_4) - 只在 active 時透過動畫生長 */
.anchor-line {
  width: 1px;
  height: 0;
  background-color: rgb(80, 80, 80);
  margin: 0 auto 10px;
  transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.group.is-active .anchor-line {
  height: 50px;
  /* PSD 中的直線高度 */
}

/* --- 文字區 (Product/About/Media) --- */
.anchor-label {
  display: none;
  writing-mode: vertical-rl;
  margin-bottom: 10px;
  transition: all 0.4s;
  text-align: left;
}

.side_nav {
  text-decoration: none !important;
}

.group.is-active .anchor-label {
  display: block;
}

/* --- 橢圓空心 (圓點) --- */
.anchor-dot {
  display: block;
  width: 10px;
  /* PSD 寬度 */
  height: 10px;
  /* PSD 高度 */
  border-radius: 50%;
  background-color: rgb(80, 80, 80);
  margin: 0 auto;
  transition: all 0.4s;
}

#sectionAnchor li {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#sectionAnchor.hide-nav {
  opacity: 0;
  pointer-events: none;
  /* 讓滑鼠無法點擊到隱藏的元素 */
  visibility: hidden;
}

@media(max-width:1299px) {

  .pdc_item_area,
  .slogan_area,
  .about_area,
  .about_right_i,
  .news_block {
    padding: 0 0 100px 0 !important;
  }

  .pdc_area {
    padding: 100px 24px 0 24px !important;
  }
}

@media(max-width:1199px) {

  .pdc_item_area,
  .slogan_area,
  .about_area,
  .about_right_i,
  .news_block {
    padding: 0 0 80px 0 !important;
  }

  .pdc_area {
    padding: 80px 24px 0 24px !important;
  }
}

@media(max-width:991px) {
  #sectionAnchor {
    display: none;
  }

  .pdc_item_area,
  .slogan_area,
  .about_area,
  .about_right_i,
  .news_block {
    padding: 0 0 50px 0 !important;
  }

  .pdc_area {
    padding: 50px 24px 0 24px !important;
  }
}

@media(max-width:767px) {
  .side-nav {
    display: none;
  }

  .pdc_title_block .txt_xxl,
  .ab_title_block .txt_xxl,
  .media_title_block .txt_xxl {
    opacity: .5;
  }

  .pdc_item_area,
  .slogan_area,
  .about_area,
  .about_right_i,
  .news_block {
    padding: 0 24px 50px 24px !important;
  }

  .media_area {
    padding: 0 24px;
  }

  .pdc_right,
  .pdc_left {
    padding-right: 0;
    padding-top: 5%;
    margin-bottom: 10px;
  }

  .lg_btn,
  .contact-btn {
    max-width: 150px;
    height: 50px !important;
    width: 100%;
  }

  .lg_btn .txt_xm {
    font-size: 14px;
  }

  .lg_btn .lg_btn_1 {
    width: 20px;
    height: 20px;
    margin: 0 -40px 0 0;
  }

  .lg_btn_line {
    width: 20px;
    margin: 0 -18px 0 30px;
  }

  .lg_btn:hover .arrow {
    transform: translateX(210%) !important;
  }

  .lg_btn_line1,
  .lg_btn_line2 {
    width: 8px;
  }

  .lg_btn_line1 {
    margin-bottom: 4px;
  }

  .lg_btn_line2 {
    margin-top: 4px;
  }

  .lg_btn_icon {
    padding: 0 0 0 5px;
  }

  .arrow {
    margin-left: 10px;
  }

  .pdc_bgl,
  .pdc_bgr {
    padding-top: 20px;
  }
}

@media(max-width:575px) {
  .pdc_title_block .txt_lg {
    margin-top: -5% !important;
  }

  .lg_btn,
  .contact-btn {
    max-width: 130px;
    height: 40px !important;
  }

  .lg_btn .txt_xm {
    padding: 10px;
    font-size: 12px !important;
  }

  .pdc_title_block .txt_xxl,
  .ab_title_block .txt_xxl,
  .media_title_block .txt_xxl {
    margin: 0 0 5px 0;
  }

  .pdc_bgl,
  .pdc_bgr {
    padding-top: 10px;
  }
}


/*跑馬燈*/
.slogan_area {
  padding: 0 0 130px 0;
  overflow: hidden;
  background-color: #fff;
  /* 建議加上背景色避免破圖 */
}

.slogan_block {
  display: flex;
  width: fit-content;
  /* 寬度根據內容自動撐開 */
  white-space: nowrap;
  animation: marquee-infinite 20s linear infinite;
}

.slogan_block .marquee-item {
  flex-shrink: 0;
  /* 確保內容不會被壓縮 */
  padding-right: 50px;
}

.slogan_block .txt_xxl {
  min-width: 100%;
  color: #ffae4e;
  white-space: nowrap;
}

@keyframes marquee-infinite {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

/*index_company*/
.index_company {
  overflow: hidden;
}

.about_area {
  max-width: 1520px;
  margin: auto;
  align-items: center;
}

.about_i_block {
  padding-right: 9%;
}

.ab_txt_block {
  padding-right: 6%;
}

.about_t .txt_xm {
  margin-top: 6%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
  text-overflow: ellipsis;
}


.ab_title_block .txt_lg {
  margin-top: -14%;
}

.about_i img {
  width: 100%;
  max-height: 690px;
  overflow: hidden;
  object-fit: contain;
  object-position: center;
}

.about_right_i {
  display: flex;
  justify-content: flex-end;
  margin-top: -15% !important;
  padding-bottom: 130px !important;
}

.about_right_i img {
  width: 100%;
  max-height: 350px;
  overflow: hidden;
  object-fit: cover;
  object-position: center;
}

.ab_txt_block .lg_btn {
  margin-top: 30px;
}

@media(max-width:1199px) {
  .ab_title_block .txt_lg {
    margin-top: -15% !important;
  }

  .about_t .txt_xm {
    margin-top: 3%;
  }
}

@media(max-width:1099px) {
  .about_i_block {
    padding-right: 4%;
  }
}

@media(max-width:991px) {
  .about_right_i {
    display: none;
  }
}

@media(max-width:767px) {
  .about_i_block {
    padding: 0;
    margin-bottom: 5%;
  }

  .ab_txt_block {
    padding: 0;
  }

  .ab_title_block .txt_lg {
    margin-top: -6.5% !important;
  }
}

@media(max-width:767px) {
  .ab_title_block .txt_lg {
    margin-top: -4.5% !important;
  }
}

/*index_media*/
.media {
  overflow: hidden;
}

.media_area {
  max-width: 1520px;
  margin: auto;
}

.line_img_block {
  display: flex;
  align-items: center;
  margin-top: -8.8% !important;
  padding-bottom: 30px;
}

.media_title_block img {
  object-fit: contain;
  object-position: center;
  overflow: hidden;
  flex-shrink: 0;
  overflow: hidden;
}

.media_block {
  overflow: hidden;
}

.news_block {
  max-width: 1520px;
  margin: auto;
  align-items: center;
}

.news_item_block {
  display: flex;
  width: 100%;
  padding: 30px 0 !important;
  align-items: center;
  justify-content: space-around;
  border-bottom: 1px solid rgba(80, 80, 80, .3);
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.news_item_block .date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.news_item_block .date .txt_xm {
  color: #005274;
  margin: 0;
}

.news_item_block .date .txt_date {
  color: #005274;
  font-size: 65px;
  font-weight: 700;
  line-height: 1em;
}

.news_item_block .sm_btn {
  width: 30px;
  height: 30px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

.news_item_block .sm_btn img {
  object-fit: contain !important;
  aspect-ratio: 1/1 !important;
}

.news_item_block .news_info .txt_sm {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news_item_block .news_info .txt_xm {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news_img_block img {
  display: block;
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
}

.news_block .lg_btn {
  margin-left: auto;
  margin-top: 30px !important;
}

/*news切換效果*/
.news_item_block:hover {
  background-color: #efefef;
}

.news_img_block {
  display: none;
  width: 100%;
  height: auto;
  /* 讓圖片切換時有淡入效果 */
  animation: fadeIn 0.6s ease-in-out;
}

/* 只有擁有 active 的圖片區塊才會顯示 */
.news_img_block.active {
  display: block;
}

/* 淡入動畫 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.news_item_block .news_info {
  width: 100%;
  max-width: 490px;
}

@media(max-width:1499px) {
  .news_item_block {
    padding: 20px 0 !important;
  }
}

@media(max-width:1199px) {
  .line_img_block {
    margin-top: -9.5% !important;
  }

  .news_item_block .news_info {
    padding: 0 10px;
    max-width: 440px;
  }

  .news_item_block .date {
    padding-left: 10px;
  }

  .news_item_block .sm_btn {
    margin-right: 10px;
  }
}

@media(max-width:991px) {
  .news_block .news_btn {
    padding: 0;
  }

  .news_item_block .date .txt_xm {
    margin-bottom: 0.5rem;
  }

}

@media(max-width:767px) {
  .news_block .news_t {
    order: 2 !important;
  }

  .news_block .news_i {
    order: 1 !important;
    margin-bottom: 5%;
  }

  .news_block .news_btn {
    order: 3 !important;
  }

  .line_img_block {
    margin-top: -6.5% !important;
  }

  .media_title_block img {
    padding-right: 13%;
  }

  .media_block {
    padding: 0;
  }

  .news_t {
    padding: 0;
  }

  .pdc_title_block {
    padding: 0;
  }
}

@media(max-width:575px) {
  .media_title_block img {
    display: none;
  }

  .line_img_block {
    margin-top: -4.5% !important;
    padding-bottom: 16px;
  }

  .news_item_block .sm_btn {
    width: 25px;
    height: auto;
  }
}

/*footer*/
.main-footer {
  background-color: #005274;
  color: #fff;
  padding: 65px 0 40px 0;
  position: relative;
}

.footer-container {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* --- 分隔線 --- */
.footer-divider {
  border: 0;
  height: 1px;
  background-color: #ccdae1;
  margin-bottom: 30px;
}

/* --- 主內容排列 --- */
.footer_area {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 1520px;
}


.contact-info .txt_xm {
  display: flex;
  align-items: flex-start;
  color: #fff;
  text-decoration: none !important;
}

/* SVG 圖示尺寸控制 */
.footer-svg {
  width: 24px;
  height: 24px;
  margin-right: 15px;
  flex-shrink: 0;
}

/* --- 按鈕樣式 --- */
.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 60px;
  border: 1px solid #fff;
  background-color: #005274;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.contact-btn:hover {
  background-color: #fff;
  color: #005274;
}

/* --- 連結網格 --- */
.footer-links {
  display: flex;
  justify-content: space-around;
  gap: 30px;
}

.link-col .txt_xm {
  margin-bottom: 20px;
  font-weight: 500;
  text-decoration: none;
  color: #fff;
}

.link-col ul {
  list-style: none;
  padding: 0;
}

.link-col ul li {
  margin-bottom: 10px;
}

.link-col .footer_txt_xm {
  text-decoration: none;
  font-size: 14px;
}

.link-col a {
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}

.link-col a:hover {
  opacity: 1;
  color: var(--f-orange);
}

/* --- 底部與社群 --- */
.footer-bottom {
  margin-top: 80px;
  text-align: center;
}

.social-bar {
  display: flex;
  justify-content: space-around;
  padding-bottom: 25px;
  max-width: 600px;
  margin: auto;
}

.footer-svg {
  width: 20px;
  height: auto;
}

.social-icon {
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.social-icon .icon-circle {
  fill: #fff;
  transition: fill 0.3s ease;
}

.social-icon .icon-path {
  fill: #005274;
  transition: fill 0.3s ease;
}

.social-icon:hover .icon-circle {
  fill: #ffae4e;
}

.social-icon:hover .icon-path {
  fill: #fff;
}

.copyright {
  font-size: 12px;
}

.copyright a {
  text-decoration: none;
  color: #fff;
}

.copyright a:hover,
.footer_txt_xm a:hover {
  color: #ffae4e;
}

/* --- TOP 按鈕 --- */
.back-to-top {
  position: absolute;
  right: 25px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition:
    background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-line {
  width: 1px;
  height: 50px;
  background-color: #ccdae1;
  margin-bottom: 10px;
  transition:
    background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-text {
  font-weight: 700;
  color: #fff;
  writing-mode: vertical-rl;
  letter-spacing: 2px;
  transition: color 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top:hover .top-line {
  background-color: #ffae4e;
  transition-delay: 0s;
  /* 第一時間反應 */
}

/* 3. 文字後變色 (延遲 0.15s 營造由上而下的感覺) */
.back-to-top:hover .top-text {
  color: #ffae4e;
  /* 變為橘色 */
  transition-delay: 0.15s;
}

/* --- 滑鼠移開時的流暢回歸 --- */
.back-to-top .top-line,
.back-to-top .top-text {
  /* 移開時不延遲，讓動態迅速收回，不拖泥帶水 */
  transition-delay: 0s;
}

@media(max-width:991px) {
  .footer-links {
    display: none;
  }

  .footer-bottom {
    margin-top: 50px;
  }
}

@media(max-width:767px) {
  .back-to-top {
    bottom: 190px;
  }
}

@media(max-width:575px) {
  .social-icon {
    width: 30px;
    height: 30px;
  }

  .footer-bottom {
    margin-top: 30px;
  }

  .main-footer {
    padding: 40px 0 20px 0;
  }

  .back-to-top {
    bottom: 120px;
    right: 12px;
  }
}

@media(max-width:390px) {
  .social-icon {
    width: 25px;
    height: 25px;
  }

  .social-bar {
    padding-bottom: 20px;
  }

  .back-to-top {
    bottom: 130px;
  }
}

/*產品大分類*/
.cp_bn_seciton {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  /* 水平置中 */
  align-items: center;
}

@media(max-width:991px) {
  .cp_bn_seciton {
    height: 250px;
  }
}

.cp_bn_txt_block {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.cp_bn_txt_block .txt_lg {
  text-transform: uppercase;
  color: #fff;
  padding: 0 12px;
}

.cp_bn_txt_block nav {
  /* 這裡負責把麵包屑單獨「釘」在底部 */
  position: absolute;
  bottom: 24px;
  /* 只需要這一行就能達成 24px 間距 */
  left: 50%;
  transform: translateX(-50%);
  /* 這是水平置中，不是垂直位移 */
}

.breadcrumb {
  background-color: transparent;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.breadcrumb .breadcrumb-item a,
.breadcrumb .breadcrumb-item {
  text-decoration: none;
  color: #fff;
}

.breadcrumb-item+.breadcrumb-item::before {
  content: var(--bs-breadcrumb-divider, "-");
  color: #fff;
}

.breadcrumb-item.active {
  color: #ffae4e;
}

.cp_bn_seciton img,
.bn_gy {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bn_gy {
  background-color: rgba(0, 0, 0, .4);
  z-index: 1;
}

.cp_bn_seciton img {
  width: 100%;
  height: 100%;
  max-height: 350px;
  object-fit: cover;
  object-position: center;
  display: block;
  overflow: hidden;
}

.cp_seo_area {
  max-width: 1520px;
  width: 100%;
}

.cp_seo_block {
  padding: 130px 0 80px 0;
}

.cp_seo_block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cp_seo {
  position: relative;
  max-height: 80px;
  overflow: hidden;
  padding: 0;
}

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

.cp_seo.open .txt_xm {
  display: block;
  /* 改回一般的塊級顯示 */
  -webkit-line-clamp: unset;
  /* 取消行數限制 */
  overflow: visible;
  /* 允許內容完整溢出顯示 */
  max-height: none;
  /* 確保高度不被限制 */
}

.fade-mask {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 69px;
  /* 由透明轉為純白，達成底部淡出效果 */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  pointer-events: none;
  /* 確保不會擋住文字點擊 */
}

.more-btn {
  display: inline-block;
  width: auto;
  color: #ffae4e;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.more-btn:hover {
  color: #005274;
  /* 滑鼠移入時加深橘色 */
  transform: translateY(2px);
  /* 輕微位移動態感 */
}

/* seo more展開後的樣式 */
.cp_seo.open {
  max-height: 1000px;
  /* 設定一個足夠大的高度 */
  transition: max-height 0.8s ease-in-out;
}

/* 展開時隱藏遮罩 */
.cp_seo.open .fade-mask {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.cp_dpc_item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 auto;
}

.cp_pdc_items {
  margin: auto;
  padding-bottom: 130px;
}

.cp_pdc_area {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  /* 關鍵：強制內部的 col 高度一致 */
  justify-content: center;
  padding-bottom: 130px;
  gap: 30px 0;
}

.cp_card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px;
  text-decoration: none;
  height: 100%;
  background-color: #eaebeb;
  border-radius: 30px;
}

.cp_pdc_area a {
  display: block;
  text-decoration: none;
  height: 100%;
  /* 讓連結也撐滿高度，確保整張卡片皆可點擊 */
  width: 100%;
}

.cp_pdc_card {
  border: none;
}

.cp_card-body .txt_md,
.cp_card-body .txt_mds {
  border-bottom: 1px solid #fff;
  font-weight: 700;
  text-align: center;
  padding-bottom: 10px;
  margin-bottom: 30px;
  width: 100%;
}

.cp_pdc_card img {
  display: block;
  width: 100%;
  object-fit: contain;
  object-position: center;
  background-color: #fff;
}

.cp_pdc_card3 img {
  aspect-ratio: 4/3;
}

.cp_card-body {
  padding: 30px;
}

.cp_pcd_i {
  padding-top: 30px;
}

.cp_card-body:hover {
  box-shadow: 0 0 40px rgba(255, 174, 78, .4);
}

.cp_card-body:hover .txt_md,
.cp_card-body:hover .txt_mds {
  color: #ffae4e;
}

.pdc_img_stage {
  width: 100%;
  overflow: hidden;
}

.cp_pdc {
  display: flex;
}

@media(max-width:1299px) {
  .cp_seo_block {
    padding-top: 100px;
    padding-bottom: 50px;
  }

  .cp_pdc_area {
    padding-bottom: 100px !important;
  }

  .cp_pdc_items {
    padding-bottom: 100px;
  }
}

@media(max-width:1199px) {
  .cp_seo_block {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .cp_pdc_area {
    padding-bottom: 80px !important;
  }

  .cp_pdc_items {
    padding-bottom: 80px;
  }
}

@media(max-width:1099px) {
  .cp_seo_block {
    padding-top: 65px;
    padding-bottom: 40px;
  }

  .cp_pdc_area {
    padding-bottom: 65px !important;
  }

  .cp_pdc_items {
    padding-bottom: 65px;
  }
}

@media(max-width:991px) {

  .cp_seo_block {
    padding: 50px 24px 30px 24px;
  }

  .cp_pdc_area {
    padding: 0 12px 50px 12px !important;
  }

  .cp_card-body {
    padding: 30px;
  }

  .cp_pdc_items {
    padding-bottom: 50px;
  }
}


@media (max-width: 767px) {
  .cp_card-body {
    padding: 40px;
  }
}

@media (max-width: 575px) {
  .cp_card-body {
    padding: 30px;
  }
}

@media(min-width:767px) {

  .cp_card-body .txt_md,
  .cp_card-body .txt_mds {
    min-height: .3em;
  }
}

/*product_cp_items第三層*/
/*頁簽*/
.filter_block {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #005274;
  border-radius: 50px;
  /* max-width: 700px; */
  width: 100%;
  height: auto;
  margin: auto;
  overflow: hidden;
}

.filter_capsule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.filter_capsule a {
  display: block;
  text-decoration: none;
  background-color: #005274;
  border-radius: 35px;
  color: #fff;
  padding: 10px 50px;
  gap: 0 10px;
}

.filter_block a:hover {
  background-color: #fff;
  color: #005274;
}

.filter_block a.active {
  background-color: #fff;
  color: #005274;
}

/*影片按鈕*/
/* 影片彈窗背景遮罩 */
.video-modal {
  display: none;
  /* 預設隱藏 */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

/* 影片容器內容 */
.video-modal-content {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 900px;
}

/* 關閉按鈕 */
/* .video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
} */

/* 保持 16:9 比例的關鍵 */
.video-responsive-container {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 比例 */
  height: 0;
  overflow: hidden;
}

.video-responsive-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.cp_pdc_item {
  margin: auto;
  padding-top: 24px;
}

.product_card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  object-position: center;
  overflow: hidden;
  background-color: #fff;
}

.product_item {
  background-color: transparent;
}

.product_card {
  padding: 24px;
  background-color: #efefef;
  border-radius: 30px;
}

.product_card a {
  display: block;
  text-decoration: none;
}

.product_card .txt_sm {
  padding: 32px 0;
}

.card_btn {
  display: flex;
  justify-content: flex-end;
}

.card_btn .view_more_txt {
  display: flex;
  align-items: center;
  color: #ffae4e;
}

.product_card:hover .view_more_txt {
  color: #005274;
}

.product_card .card_btn .txt_xm::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 40px;
  background-image: url('../image/icon/sm_btn.svg');
  background-size: cover;
  background-repeat: no-repeat;
  margin-left: 10px;
  object-fit: cover;
}

.product_card:hover .card_btn .txt_xm::after {
  background-image: url('../image/icon/sm_btn_h.svg');
}

/*頁碼*/
.page_area {
  margin-top: 60px;
  margin-bottom: 130px;
  text-align: right;
  display: flex;
  justify-content: flex-end;
}

.page_dt {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.page_arrow {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page_prev::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 15px;
  flex-shrink: 0;
  background-size: contain;
  background: url(../image/icon/page_btn_prev.svg);
  background-repeat: no-repeat;
}

.page_number {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}

.page_number span {
  color: #005274;
  margin: 0 5px;
}

.page_all::before {
  content: "/";
  margin-right: 5px;
}

.page_next::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 15px;
  flex-shrink: 0;
  background-size: contain;
  background: url(../image/icon/page_btn.svg);
  background-repeat: no-repeat;
}

@media(max-width:1299px) {
  .page_area {
    margin-top: 60px;
    margin-bottom: 100px;
  }
}

@media(max-width:1199px) {
  .page_area {
    margin-top: 50px;
    margin-bottom: 80px;
  }
}

@media(max-width:1099px) {
  .page_area {
    margin-top: 40px;
    margin-bottom: 65px;
  }
}

@media(max-width:991px) {
  .page_area {
    margin-top: 30px;
    margin-bottom: 50px;
  }

  .filter_capsule {
    gap: 12px;
  }

  .product_card .card_btn .txt_xm::after {
    width: 30px;
    height: 30px;
  }

  .category_block.aos-animate {
    z-index: 3;
  }
}

@media(max-width:767px) {
  .product_card .txt_sm {
    padding: 24px 0;
  }
}

@media(max-width:575px) {
  .filter_block {
    height: auto;
    max-width: 280px;
    border-radius: 30px;
    border: none;
    padding: 5px 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .filter_capsule {
    flex-direction: column;
    gap: 0;
  }

  .filter_block.open {
    height: auto;
    /* 展開時高度隨內容變化 */
    border-radius: 15px;
  }

  .filter_capsule a {
    width: 100%;
    padding: 15px 20px;
    border-radius: 30px;
    border: none;
    display: none;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* 4. 關鍵：讓 active (當前選中) 項目永遠顯示在最上方 */
  .filter_capsule a.active {
    display: flex;
    order: -1;
    /* 確保排在列表最前端 */
    position: relative;
    background-color: #005274 !important;
    color: #fff !important;
    pointer-events: none;
    /* 讓標題本身不觸發連結，只負責顯示 */
  }

  .filter_capsule a.active::after {
    content: '';
    display: inline-block;
    margin-left: 10px;
    width: 15px;
    height: 10px;
    background-image: url('../image/icon/drowdown_btn.svg');
    background-repeat: no-repeat;
    transition: transform 0.3s;
  }

  /* 被點擊時，展開所有選項 */
  .filter_block.open .filter_capsule a {
    display: flex;

  }

  /* 展開時箭頭反轉 */
  .filter_block.open .filter_capsule a.active::after {
    transform: rotate(180deg);
  }

  .filter_capsule a:hover {
    background-color: #fff !important;
    color: #005274 !important;
  }

  .breadcrumb-item.active .breadcrumb-item+.breadcrumb-item::before {
    margin-right: -45px;
  }
}

/*product detail*/
.dt_pdc_area {
  background-color: rgb(239, 239, 239, .3);
  padding: 130px 24px 24px 24px;
  margin-bottom: 60px;
}

.dt_pdc_block {
  max-width: 1520px;
  width: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* 確保主圖區的 div 容器能正常顯示 */
.main-image-stage {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 20px;
  border: 1px solid #efefef;
  overflow: hidden;
  background-color: #fff;
}

.main-image-stage .slick-slide div {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  /* 繼承父層的高度或比例 */
}

.dt_pdc_i {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.main-image-stage img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
}

/* 1. 外層容器：利用負邊距抵消兩側的 padding */
.thumbnail-list {
  margin: 0 -4px !important;
  /* 數值等於 padding */
  /* width: calc(100% + 7px); */
  /* 寬度稍微撐開，防止右側被切掉 */
}

/* 2. 內層每一格：設定間距 */
.thumbnail-list .slick-slide {
  padding: 0 4px;
  /* 左右各 3px，中間相加剛好是 6px */
  box-sizing: border-box;
  /* 確保 padding 不會撐大寬度 */
}

.thumb-item.active {
  border: 2px solid rgb(0, 82, 116);
}

.thumbnail-list img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  background-color: #fff;
}


.thumbnail-list .slick-dots li button:before {
  width: 20px;
  height: 20px;
  color: #005274 !important;
}

.dt_pdc_block .slick-dots {
  display: flex;
  justify-content: center;
  bottom: 0;
}

.dt_pdc_block .thumbnail-list .slick-dots li {
  display: block;
  width: auto;
  height: auto;
  margin: 0 10px;
}

.dt_pdc_block .thumbnail-list .slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background-color: rgba(0, 82, 116, .1);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
  opacity: 1;
}

.dt_pdc_block .thumbnail-list .slick-dots li button:before {
  content: '';
  display: none;
}

.dt_pdc_block .thumbnail-list .slick-dots li.slick-active button {
  background-color: #005274;
  width: 50px;
  border-radius: 5px;
}

.dt_info_block {
  padding-left: 40px;
}

.dt_info_block .txt_sm {
  font-weight: 700;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.feature-list li {
  position: relative;
  padding-left: 20px;
}


.feature-list li::before,
.dt_inter_block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background-color: rgb(80, 80, 80);
  border-radius: 50%;
}

.action-buttons {
  display: flex;
  gap: 20px;
}

.btn-inquiry,
.btn-download,
.btn-video {
  width: 200px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  border-radius: 30px;
  transition: all 0.3s;
}

.btn-inquiry {
  background-color: rgb(255, 174, 78);

}

.btn-inquiry .txt_xm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  width: 100%;
  padding: 20px;
}

.btn-inquiry span::after,
.btn-download span::after,
.btn-video span::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  background-size: contain;
}

.btn-inquiry span::after {
  background-image: url('../image/icon/sm_btn_h.svg');
  margin-left: 10px;
}

.btn-download,
.btn-video {
  background-color: rgb(239, 239, 239);
}

.btn-video span::after {
  background-image: url('../image/icon/video_btn.svg');
}


.btn-download .txt_xm,
.btn-video .txt_xm {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgb(0, 82, 116);
  padding: 20px;
}

.btn-download span::after {
  background-image: url('../image/icon/download_btn.svg');
}

.btn-inquiry:hover {
  background-color: #ff9d42;
}

.btn-download:hover,
.btn-video:hover {
  background-color: #e0e0e0;
}


/* 徹底移除所有焦點外框 (Focus Outlines) */
.thumbnail-list .slick-slide,
.thumbnail-list .slick-slide:focus,
.thumbnail-list .slick-slide *:focus {
  outline: none !important;
  outline: 0;
}

.thumbnail-list .slick-current .thumb-item {
  border: 2px solid rgb(0, 82, 116) !important;
}

.thumbnail-list .thumb-item {
  cursor: pointer;
  border: 2px solid transparent;
}

/* 修正 Slick 導致的垂直置中問題 */
.main-image-stage .slick-track {
  display: flex;
  align-items: start;
}

.dt_info_btn {
  margin-bottom: 48px;
}

.pdc_inter_info {
  max-width: 1520px;
  width: 100%;
  margin: auto;
  padding-top: 48px;
}

/*產品內容Description直線*/
.section-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgb(255, 174, 78);
}

.divider-text {
  padding: 0 20px;
  font-weight: bold;
  color: rgb(255, 174, 78);
  text-transform: uppercase;
}

.dt-title {
  font-weight: 700;
  margin-bottom: 20px;
}

.dot-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.dot-list .txt_xm {
  position: relative;
  padding-left: 20px;
}

.dot-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background-color: rgb(80, 80, 80);
  border-radius: 50%;
}

/* --- 3. 規格表 (Specification Table) --- */
.specification-block {
  border-bottom: 1px solid #efefef;
  padding-bottom: 48px;
}

.table-responsive {
  overflow-x: auto;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  min-width: 600px;
  /* 確保內容不擠壓 */
}

/* 表格邊框對應 PSD 矩形_1_拷貝 */
.spec-table th,
.spec-table td {
  border: 1px solid rgb(239, 239, 239);
  padding: 15px 20px;
  text-align: center;
  color: rgb(80, 80, 80);
}

/* 表頭與側邊表頭對應 PSD 矩形_3 (深灰色背景) */
.spec-table thead th,
.spec-table td.side-header {
  background-color: rgb(80, 80, 80);
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
}


/* 移除 Table 第一格的背景以符合設計 (可選) */
.spec-table thead th:first-child {
  background-color: rgb(80, 80, 80);
}

.pdc_inter_info .lg_btn,
.dt_app .lg_btn {
  margin: 80px auto 130px auto;
}

.form-control:focus {
  border-color: #005274;
  box-shadow: rgba(0, 82, 116, .3);
}

@media (max-width: 1299px) {
  .dt_pdc_area {
    padding: 100px 24px 24px 24px;
  }

  .pdc_inter_info .lg_btn,
  .dt_app .lg_btn {
    margin: 60px auto 100px auto;
  }
}

@media (max-width: 1199px) {
  .dt_pdc_area {
    padding: 80px 24px 24px 24px;
  }

  .pdc_inter_info .lg_btn,
  .dt_app .lg_btn {
    margin: 50px auto 80px auto;
  }
}

@media (max-width: 1099px) {
  .dt_pdc_area {
    padding: 65px 24px 24px 24px;
  }

  .pdc_inter_info .lg_btn,
  .dt_app .lg_btn {
    margin: 40px auto 65px auto;
  }

  .dt_pdc_area {
    margin-bottom: 40px;
  }
}

@media (max-width: 991px) {
  .dt_pdc_area {
    padding: 50px 24px 24px 24px;
  }

  .pdc_inter_info .lg_btn,
  .dt_app .lg_btn {
    margin: 30px auto 50px auto;
  }

  .main-image-stage {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
  }

  .thumbnail-list {
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .dt_info_block {
    padding-left: 0;
    margin-top: 40px;
  }
}

@media (max-width: 767px) {
  .action-buttons {
    flex-direction: column;
  }

  .spec-table th,
  .spec-table td {
    padding: 10px;
  }
}

@media (max-width: 575px) {
  .cp_bn_txt_block nav {
    bottom: 12px;
  }
}

/*cp_application*/
.cp_app_items {
  position: relative;
  margin: 0 -12px;
  width: auto;
  padding: 0 12px 48px 12px;
  margin-bottom: 180px;
  /*原本的130px+不占空間按鈕50px*/
}

.cp_app_card {
  width: 100%;
  height: 100%;
  background-color: #efefef;
  border-radius: 30px;
  border: none;
  overflow: hidden;
}

.cp_app_card a {
  display: block;
  text-decoration: none;
}

.cp_app_body {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.app_card_txt {
  padding: 30px;
}

.cp_app_card .txt_xxl {
  position: relative;
  color: #efefef;
}

.cp_app_card .txt_xxl {
  text-shadow: -1px -1px 0 #005274,
    1px -1px 0 #005274,
    -1px 1px 0 #005274,
    1px 1px 0 #005274;
}

.app_card_txt .txt_md {
  color: #ffae4e;
}

.cp_app_body img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0 0 30px 30px;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
}

.cp_app_card a img {
  transition: all .5s ease-in-out;
}

.cp_app_card a:hover img {
  transform: scale(1.2);
}

/* 移除 Slick 預設的按鈕樣式 */
.cp_app_items .slick-arrow {
  bottom: 0;
  left: 50%;
  top: 100%;
  transform: none;
  z-index: 1;
  background-color: transparent;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
  font-size: 0;
}

.cp_app_items .slick-prev:before,
.cp_app_items .slick-next:before {
  font-size: 0;
  color: transparent;
}

.cp_app_items .slick-next,
.cp_app_items .slick-prev {
  content: '';
  display: block;
  width: 50px;
  height: 50px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.cp_app_items .slick-next {
  background-image: url('../image/icon/sm_btn.svg');
  right: auto;
  margin-left: 10px;
}

.cp_app_items .slick-prev {
  background-image: url('../image/icon/sm_btn.svg');
  transform: rotate(180deg);
  margin-left: -60px;
}

.cp_app_slider_wrapper {
  position: relative;
  left: auto;
  padding-bottom: 48px;
}

/* 滑鼠經過效果 */
.cp_app_items .slick-arrow:hover {
  background-image: url('../image/icon/sm_btn_h.svg');
}


.cp_app_items .slick-slide {
  padding: 0 12px;
  /* 12px + 12px = 24px，等同於 Bootstrap 的 g-4 */
  box-sizing: border-box;
}

.cp_app_slider_wrapper {
  position: relative;
  padding-bottom: calc(48px + 50px);
  /* 48px 間距 + 50px 按鈕高度 */
}

@media(max-width:1299px) {
  .cp_app_items {
    margin-bottom: 150px;
    /*原本的100px+不占空間按鈕50px*/
  }
}

@media(max-width:1199px) {
  .cp_app_items {
    margin-bottom: 120px;
    /*原本的80px+不占空間按鈕50px*/
  }
}

@media(max-width:1099px) {
  .cp_app_items {
    margin-bottom: 105px;
    /*原本的65px+不占空間按鈕40px*/
  }
}

@media(max-width:991px) {
  .app_card_txt {
    padding: 24px;
  }

  .cp_app_items {
    margin-bottom: 80px;
    /*原本的50px+不占空間按鈕30px*/
  }
}

/*application_detail*/
.app_info_block_top {
  padding-bottom: 12px;
}

.app_info_txt .txt_md,
.app_pdc_block .txt_md {
  color: #ffae4e;
  font-weight: 700;
}

.app_info_txt .txt_md {
  padding-bottom: 12px;
}

.dt_app_pdc .txt_md {
  display: flex;
  justify-content: center;
  padding-bottom: 48px;
  margin: auto;
}

.app_info_i img {
  position: sticky;
  top: 0;
  padding-right: 12px;
}

.app_info_i_block {
  padding-bottom: 24px;
}

.app_info_i img,
.app_info_i_block img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 500px;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
}

.dt_app_card_block {
  display: flex;
  flex-direction: row;
  border-bottom: 1px solid #efefef;
  padding-bottom: 96px;
}

.dt_app_card {
  border: none;
}

.dt_app_pdc_card {
  display: block;
  margin: 0 12px;
  text-decoration: none;
}

.dt_app_pdc_card:nth-child(1) {
  margin-left: 0;
}

.dt_app_pdc_card:nth-child(3) {
  margin-right: 0;
}

.dt_app_pdc_card img {
  width: 100%;
  max-height: 368px;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  overflow: hidden;
}

.dt_card_txt {
  padding-top: 24px;
}

.app_dt_txt_block {
  padding-bottom: 40px;
}

.dt_app_card_block .slick-dots {
  display: flex;
  bottom: 48px;
  justify-content: center;
}

.dt_app_card_block .slick-dots li,
.cer_img_block .slick-dots li {
  display: block;
  width: auto;
  height: auto;
  margin: 0 10px;
}


.dt_app_card_block .slick-dots li button,
.cer_img_block .slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background-color: #efefef;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transition: all 0.3s ease;
  opacity: 1;
}

.dt_app_card_block .slick-dots li button:before,
.cer_img_block .slick-dots li button:before {
  content: '';
  display: none;
}

.dt_app_card_block .slick-dots li.slick-active button,
.cer_img_block .slick-dots li.slick-active button {
  background-color: #efefef;
  width: 50px;
  border-radius: 5px;
}

.app_dt_txt_block ul {
  padding-left: 1.5rem;
}

@media(max-width:991px) {
  .dt_app {
    margin: 0 12px;
  }

  .app_info_i {
    display: none;
  }

  .app_info_block_top,
  .app_info_block,
  .app_pdc_block,
  .news_info_block {
    padding-left: 0;
    padding-right: 0;
  }

  .dt_app_card_block .slick-dots {
    bottom: 36px;
  }

  .dt_app_card_block {
    padding-bottom: 76px;
  }

  .app_dt_txt_block {
    padding-bottom: 30px;
  }
}

@media(min-width:991px) {
  .app_info_i_block {
    display: none;
  }
}

@media(max-width:767px) {
  .dt_app_pdc .txt_md {
    padding-bottom: 32px;
  }

  .dt_card_txt {
    padding-top: 16px;
  }

  .dt_app_card_block .slick-dots {
    bottom: 24px;
  }

  .dt_app_card_block {
    padding-bottom: 48px;
  }

  .app_dt_txt_block {
    padding-bottom: 24px;
  }
}

@media(max-width:575px) {
  .dt_app_pdc .txt_md {
    padding-bottom: 24px;
  }
}

/*cp_news*/
.cp_news_area {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 0;
}

.category_block a {
  text-decoration: none;
  display: block;
  padding: 12px 0;
}

.category_block .cate_btn {
  position: relative;
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffae4e;
}

.category_block .txt_md {
  font-weight: 700;
  padding-bottom: 20px;
}

.category_block {
  padding-right: 48px;
}

.category_block .cate_btn .txt_sm {
  color: #fff;
  padding: 20px;
}

.category_block .pag_btn:hover .txt_sm::after,
.category_block .pag_btn.active .txt_sm::after {
  content: '';
  display: inline-block;
  width: 50px;
  height: 1px;
  background-color: #ffae4e;
  margin-left: 10px;
  transition: all .3s ease-in-out;
  transform: translateY(-350%);
  /* 向上位移自身高度的一半，垂直對齊 */
}

.category_block .pag_btn.active .txt_sm {
  color: #ffae4e;
}

.category_block .pag_btn:hover .cate_btn,
.category_block .pag_btn.active .cate_btn {
  background-color: #fff;
  border: 1px solid #ffae4e;
}

.category_block .pag_btn:hover .txt_sm {
  color: #ffae4e;
}

.news_item_block .date {
  padding-right: 32px;
}

.news_item_block a {
  display: contents;
  text-decoration: none;
}

.cp_news_item .news_item_block img {
  display: block;
  max-width: 115px;
  max-height: 115px;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
}

.mobile_cate_toggle {
  display: none;
  width: auto;
}

.cate_list_container {
  display: block;
}

@media (max-width: 1199px) {
  .category_block {
    padding-right: 36px;
  }

  .cp_news_block .sm_btn {
    margin-left: 10px;
  }

  .news_item_block .date {
    padding-right: 0px;
  }
}

@media (max-width: 1099px) {
  .category_block {
    padding-right: 24px;
  }
}

@media (max-width: 991px) {

  .category_block,
  .cp_news_block {
    padding: 0;
  }

  .category_block .pag_btn:hover .txt_sm::after,
  .category_block .pag_btn.active .txt_sm::after,
  .category_block .txt_md {
    display: none;
  }

  .cate_list_container a {
    border: none;
    padding: 6px 0;
  }

  .category_block {
    position: relative;
    /* margin-bottom: 20px; */
  }

  .mobile_cate_toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffae4e;
    color: #fff;
    padding: 0 20px;
    height: 60px;
    cursor: pointer;
    border-radius: 15px;
  }

  .mobile_cate_toggle .txt_sm {
    color: #fff;
  }

  .cate_list_container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border-radius: 15px;
    padding: 12px;
    z-index: 3;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .mobile_cate_toggle span::after {
    content: '';
    display: inline-block;
    margin-left: 10px;
    width: 15px;
    height: 10px;
    background-image: url(../image/icon/drowdown_btn.svg);
    background-repeat: no-repeat;
    transition: transform 0.3s ease-in-out;
    transform: translateY(20%);
  }

  .mobile_cate_toggle.active span::after {
    transform: rotate(180deg);
  }

  .category_block .cate_btn {
    height: 50px;
    background-color: #fff;
    justify-content: flex-start;
    border-bottom: 1px solid #efefef;
    border-radius: 30px;
    padding: 0 12px;
  }

  .category_block .cate_btn .txt_sm {
    color: #333;
  }

  .category_block .pag_btn.active .cate_btn {
    background-color: #ffae4e;
  }

  .category_block .pag_btn.active .txt_sm {
    color: #fff;
  }

  .category_block .pag_btn.active .txt_sm::after {
    display: none;
  }
}

@media (max-width: 575px) {
  .cp_news_block .news_item_block {
    flex-direction: column;
  }

  .cp_news_block .news_item_block img {
    order: 1;
    max-width: 500px;
    max-height: 500px;
    padding-bottom: 24px;
  }

  .cp_news_block .news_item_block .news_item {
    order: 2;
    flex-direction: row;
  }

  .cp_news_block .news_item_block .sm_btn {
    display: none;
  }
}

/*news_detail*/
.news_info_block {
  border-bottom: 1px solid #efefef;
  padding: auto 12px;
  padding-bottom: 48px;
}

.news_info_i img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 500px;
  aspect-ratio: 4/3;
  overflow: hidden;
  object-fit: cover;
  object-position: center;
  margin-bottom: 24px;
  position: sticky;
  top: 60px;
}

.news_top_info {
  display: flex;
  align-items: center;
  padding-bottom: 30px;
}

.news_info_i .label {
  width: 150px;
  height: 30px;
  background-color: #005274;
  margin-right: 24px;
  display: flex;
}

.news_info_i .label .txt_xm {
  color: #fff;
  font-weight: 700;
  margin: auto;
}

.news_info_i .date .txt_xm {
  margin: auto;
  color: #005274;
}

.news_info_txt {
  padding-top: 60px;
  /*上面按鈕高度30px +padding+padding 30px*/
}

.news_info_block .news_info_i {
  padding-left: 0;
}

.news_info_block .news_info_txt {
  padding-right: 0;
}

.media_inter_info .lg_btn {
  margin: 80px auto 130px auto;
}

.cp_news_block {
  padding-top: 85px;
  padding-right: 24px;
}

@media (max-width: 1599px) {
  .media_inter_info {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 1299px) {
  .media_inter_info .lg_btn {
    margin: 60px auto 100px auto;
  }
}

@media (max-width: 1199px) {
  .media_inter_info .lg_btn {
    margin: 50px auto 80px auto;
  }
}

@media (max-width: 1099px) {
  .media_inter_info .lg_btn {
    margin: 40px auto 65px auto;
  }

  .news_info_block {
    padding-bottom: 40px;
  }
}

@media (max-width: 991px) {
  .media_inter_info .lg_btn {
    margin: 30px auto 50px auto;
  }

  .news_info_block .news_info_i {
    padding-left: 12px;
    padding-right: 12px;
  }

  .news_info_txt {
    padding-top: 0;
  }

  .news_info_block {
    display: flex;
    flex-direction: column;
  }

  .news_info_block {
    padding-bottom: 30px;
  }

  .news_info_block .news_info_txt {
    padding-right: 12px;
  }

  .news_top_info {
    padding-bottom: 20px;
  }

  .cp_news_block {
    padding-top: 24px;
  }
}

/*catalog*/
.cp_cata_item a {
  text-decoration: none;
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.cata_item_block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cata_cover {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  /* 覆蓋在圖片上方 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.cata_item {
  position: relative;
}

.cp_cata_item img {
  width: 100%;
  height: auto;
  border: 1px solid #efefef;
  background-color: #fff;
}

.cp_cata_item a:hover .cata_cover::after {
  position: absolute;
  content: '';
  width: 50px;
  height: 50px;
  background-image: url('../image/icon/download_btn.svg');
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  background-repeat: no-repeat;
}


.cp_cata_item a:hover .cata_cover {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, .6);
  transition: all 0.3s ease;
}

.cp_cata_item .txt_sm {
  font-weight: 500;
  text-align: center;
  padding: 24px 12px 0 12px;
}

.cp_cata_area {
  padding-bottom: 130px;
}

@media(max-width:1299px) {
  .cp_cata_area {
    padding-bottom: 100px;
  }

  .cp_news_block {
    padding-top: 80px;
  }
}

@media(max-width:1199px) {
  .cp_cata_area {
    padding-bottom: 80px;
  }
}

@media(max-width:1099px) {
  .cp_cata_area {
    padding-bottom: 65px;
  }
}

@media(max-width:991px) {
  .cp_cata_area {
    padding-bottom: 50px;
  }

  .cp_cata_item .txt_sm {
    padding: 24px 12px;
  }

  .cp_news_block {
    padding-top: 48px;
  }
}

/*cp_video*/
.cp_video_block .cp_cata_item img {
  border: none;
}

.cp_video_block .cata_cover::before {
  content: '';
  position: relative;
  width: 50px;
  height: 50px;
  background-image: url('../image/icon/play_btn.svg');
  background-size: contain;
  background-position: center;
  z-index: 2;
  display: block;
  align-items: center;
  background-repeat: no-repeat;
}

.cp_video_block .cp_cata_item a:hover .cata_cover::after {
  display: none;
}

.cp_video_block .cp_cata_item a .cata_cover {
  border-radius: 30px;
}

.cp_video_block .cp_cata_item a:hover .cata_cover {
  background-color: rgba(0, 0, 0, .4);
  transition: all 0.3s ease-in-out;
}

.cp_video_block {
  padding-right: 24px;
}

.category_block {
  padding-left: 24px;
}

@media(max-width:991px) {
  .cp_video_block {
    padding-right: 0;
  }

  .category_block {
    padding-left: 0;
  }

  .cp_news_block {
    padding-right: 0;
  }
}

/*company*/
.company_area {
  padding: 130px 0;
  overflow: hidden;
}

.company_area .filter_block {
  margin-bottom: 48px;
  max-width: 400px;
}

.company_area .company_block_1 .company_i img {
  width: 100%;
  height: auto;
  max-height: 615px;
  overflow: hidden;
  object-fit: cover;
  object-position: center;
  display: block;
}

.company_i {
  display: flex;
  align-items: center;
  justify-content: center;
}

.company_block_1 {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: auto;
  margin-bottom: 80px;
}

/* 背景底色 */
.company_block_1::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 50%;
  width: 100vw;
  height: 480px;
  max-height: 100%;
  background-color: rgba(0, 82, 116, .1);
  z-index: -1;
  overflow: hidden;
}


.company_block_1 .company_t {
  max-width: 750px;
  align-items: center;
  padding-left: 68px;
}

.company_block_1 .company_t .txt_md {
  color: #ffae4e;
  padding-bottom: 48px;
  display: flex;
}

.about_block {
  display: flex;
  align-items: center;
}

.company_block_1 .company_t .txt_line {
  width: 300px;
  height: 1px;
  background-color: #fff;
  margin-bottom: 48px;
}

.company_block_2 {
  max-width: 1520px;
  width: 100%;
  margin: auto;
}

.company_block_2 .txt_md {
  color: #ffae4e;
  text-align: center;
}

.company_block_2 .company_t {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.company_block_2 .txt_line {
  width: 300px;
  height: 1px;
  background-color: #ffae4e;
  margin-top: 10px;
  max-width: 100%;
}

.patents_block {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-top: 130px;
  padding-bottom: 48px;
}

.patents_i {
  width: 100%;
  height: auto;
  margin: auto;
}

.patents_img {
  width: 100%;
  margin: auto;
  padding: 0;
}

.patents_t {
  max-width: 1520px;
  margin: auto;
  width: 100%;
  padding-top: 80px;
  padding-bottom: 130px;
}

.cer_block {
  max-width: 1520px;
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: center;
}

.cer_block .txt_md {
  color: #ffae4e;
  text-align: center;
}

.cer_block .txt_line {
  width: 390px;
  height: 1px;
  background-color: #ffae4e;
  margin-top: 10px;
}

.cer_img {
  display: flex;
  padding-top: 80px;
}

.cer_img img {
  width: 100%;
  height: auto;
  max-height: 512px;
  object-fit: contain;
  object-position: center;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #efefef;
}

.cer_item .txt_xm {
  padding: 24px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cer_img_block {
  display: flex;
}

.cer_img_block .slick-dots {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  width: 100%;
  left: 0;
}

/* 給證書左右各 12px 的外距 (總間距為 24px，等同 gx-4) */
.cer_img_block .slick-slide {
  margin: 0 12px;
}

/* 抵銷最左與最右側多出來的 12px，讓整體輪播能與上下內容對齊邊緣 */
.cer_img_block .slick-list {
  margin: 0 -12px;
}

@media(max-width:1599px) {

  .cer_img_block,
  .footer_area {
    padding-left: 24px;
    padding-right: 24px;
  }

  .company_block_2,
  .patents_t .txt_xm,
  .cer_img {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media(max-width:1299px) {
  .company_area {
    padding: 100px 0;
  }

  .patents_block {
    padding-top: 100px;
  }

  .patents_t {
    padding-bottom: 100px;
  }

  .company_block_1 .company_t .txt_md {
    padding-bottom: 24px;
  }

  .company_block_1 .company_t .txt_line {
    margin-bottom: 24px;
  }
}

@media(max-width:1199px) {
  .company_area {
    padding: 80px 0;
  }

  .patents_block {
    padding-top: 80px;
  }

  .patents_t {
    padding-bottom: 80px;
  }
}

@media(max-width:1099px) {
  .company_area {
    padding: 65px 0;
  }

  .patents_block {
    padding-top: 65px;
  }

  .patents_t {
    padding-bottom: 65px;
  }
}

@media(max-width:991px) {
  .company_area {
    padding: 50px 0;
  }

  .patents_block {
    padding-top: 50px;
  }

  .patents_t {
    padding-bottom: 50px;
  }

  .company_block_1 {
    max-width: 1520px;
    width: 100%;
    margin: auto;
  }

  .company_block_1::before {
    display: none;
  }

  .company_block_1 .company_t {
    padding-top: 48px;
    padding-left: 24px;
    background-color: rgba(0, 82, 116, .1);
    width: 100%;
    margin: auto;
  }

  .company_block_1 .company_t .txt_xm {
    padding-right: 12px;
  }

  .company_block_2 .company_t {
    margin-top: 48px;
  }

  .about_block {
    margin: auto;
  }

  .patents_block {
    justify-content: space-between;
  }
}

@media(max-width:575px) {
  .company_block_1 .company_t .txt_line {
    width: 200px;
  }

  .company_block_2 .txt_line {
    width: 200px;
    ;
  }

  .cer_block .txt_line {
    width: 300px;
  }

  .company_area .filter_block {
    max-width: 280px;
  }

  .patents_t {
    padding-top: 50px;
  }

  .cer_img {
    padding-top: 48px;
  }

  .company_block_2 .patents_title {
    padding-bottom: 48px;
    margin-top: 0;
  }
}

@media(max-width:390px) {
  .company_block_1 .company_t .txt_line {
    width: 150px;
  }

  .company_block_2 .txt_line {
    width: 150px;
    ;
  }

  .cer_block .txt_line {
    width: 200px;
  }
}

/*history*/
.history_area {
  padding: 0 24px;
  overflow: hidden;
}

.timeline_container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* 灰底軌道線 */
.timeline_line_track {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background-color: #efefef;
  z-index: -1;
}

/* 橘色動態填充線 */
.timeline_line_active {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  /* JS 控制此高度 */
  background-color: #ffae4e;
  transition: height 0.1s linear;
  /* 平滑滾動 */
}

/* 節點通用樣式 */
.history_item {
  position: relative;
  width: 50%;
  padding: 40px;
  opacity: 0.3;
  transition: all 0.5s ease;
}

.history_item.active {
  opacity: 1;
}

.history_item.left {
  left: 0;
  text-align: right;
}

.history_item.right {
  left: 50%;
  text-align: left;
}

/* 節點圓圈 */
.history_dot {
  position: absolute;
  top: 55px;
  width: 15px;
  height: 15px;
  background-color: #efefef;
  border: 2px solid #fff;
  border-radius: 50%;
  z-index: 5;
  transition: border-color 0.3s;
}

.history_item.active .history_dot {
  border-color: #fff;
  background-color: #505050;
}

.history_item.left .history_dot {
  right: -8px;
}

.history_item.right .history_dot {
  left: -7px;
}

.history_area img {
  width: 100%;
  height: 100%;
  max-height: 300px;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
}


/* 響應式：手機版線條靠左 */
@media (max-width: 767px) {
  .timeline_line_track {
    left: 20px;
  }

  .history_item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding-right: 12px;
  }

  .history_dot {
    left: 12px !important;
  }
}

/*contact*/
.contact_area {
  max-width: 1520px;
  width: 100%;
  padding: 0 24px;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

.inquiry_block .txt_md {
  border-bottom: 1px solid #efefef;
  padding-bottom: 12px;
}

.inquiry_item {
  padding-top: 24px;
}

.inquiry_item .inquiry_btn {
  display: flex;
  align-items: center;
  height: auto;
}

.quantity_selector {
  background-color: #ffae4e;
  border-radius: 25px;
  width: 150px;
  height: 50px;
  align-items: center;
  display: flex;
  justify-content: space-around;
}

.btn_qty,
.qty_input {
  background-color: transparent;
  border: none;
  color: #fff;
  padding: 16px;
}

.qty_input {
  width: 40px;
  text-align: center;
  color: #fff;
  /* 移除 Chrome/Safari 的箭頭 */
  -webkit-appearance: none;
  margin: 0;
  -moz-appearance: textfield;
  /* 這是 Firefox 關鍵：將輸入框改為文字欄位外觀 */
  appearance: textfield;
  /* 標準語法 */
}

/* 移除 Firefox 的箭頭 */
.qty_input::-webkit-outer-spin-button,
.qty_input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.inquiry_table_block {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.inquiry_table_block a {
  display: block;
  text-decoration: none;
}

.info_block .info_item a {
  display: block;
  text-decoration: none;
}

.inquiry_item .table-responsive td {
  display: flex;
  border-style: none;
  border-color: transparent;
  box-shadow: none;
}

.inquiry_item .pdc_i img {
  display: block;
  width: 100%;
  max-width: 110px;
  aspect-ratio: 4/3;
  overflow: hidden;
  object-fit: contain;
  object-position: center;
  background-color: #fff;
  flex-shrink: 0;
}

.trash_btn {
  border: none;
  background-color: transparent;
  padding: 10px;
  display: flex;
}

.trash_block img {
  width: 20px;
  height: 20px;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  min-width: 15px;
  min-height: 15px;
}

.contact_form {
  background-color: #d9d9d9;
  border-radius: 30px;
  padding: 48px;
}

.form-control {
  border-radius: 30px;
}

.form-floating>.form-control {
  padding: 20px;
}

.form-floating>label {
  padding: 16px 20px;
  color: #005274;
}

.contact_area .lg_btn {
  margin-top: 80px;
  margin-left: auto;
}

.contact_area .info_block .txt_md {
  padding-bottom: 12px;
}

.contact_area .info_block .info_item {
  width: 100%;
  height: 60px;
  background-color: #ffae4e;
  border-radius: 30px;
  padding: 15px 50px;
  display: flex;
  align-items: center;
}

.contact_area .info_block .info_item img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  overflow: hidden;
  margin-right: 25px;
}

.contact_area .info_block .info_item .txt_xm {
  color: #fff;
}

.map_block {
  width: 100%;
  overflow: hidden;
}

.map_container iframe {
  vertical-align: middle;
}

.lg_btn button {
  border: none;
  background-color: #ffae4e;
  border-radius: 30px;
}

.action-buttons button {
  border: none;
}

@media (max-width: 1299px) {
  .contact_form {
    padding: 24px;
  }
}

@media (max-width: 1199px) {
  .contact_area .info_block .info_item img {
    margin-right: 20px;
  }

  .quantity_selector {
    width: 130px;
  }
}

@media (max-width: 1099px) {
  .contact_area .info_block .info_item {
    height: 80px;
  }
}

@media (max-width: 991px) {
  .map_container iframe {
    height: 300px;
    /* 手機版高度縮小 */
  }

  .contact_area .lg_btn {
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .contact_form {
    margin-top: 24px;
  }
}

@media (max-width: 575px) {
  .trash_block img {
    width: 15px;
    height: 15px;
  }

  .quantity_selector {
    width: 120px;
    height: 40px;
  }
}

@media (max-width: 390px) {
  .contact_area .info_block .info_item {
    padding: 15px 20px;
  }

  .contact_area .info_block .info_item img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
  }

  .quantity_selector {
    width: 80px;
    height: 30px;
  }

  .btn_qty,
  .qty_input {
    padding: 5px;
  }

  .qty_input {
    width: 18px;
  }

  .trash_btn {
    padding: 0;
  }
}

.contact-info a {
  display: block;
  text-decoration: none;
}

/*cookies*/
.privacyBox {
  background-color: rgba(0, 82, 116, .5);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  border-radius: 30px 30px 0 0;
  z-index: 999;
}

.cookie_block {
  max-width: 1000px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie_block .txt_xm {
  color: #fff;
  margin-bottom: 0;
  margin-right: 5px;
}

.cookie_block .txt_xm a {
  color: #ffae4e;
}

.closePrivacy {
  padding: 10px 20px;
  background-color: #ffae4e;
  border-radius: 30px;
  white-space: nowrap;
  cursor: pointer;
  margin-left: 10px;
}

@media(max-width:575px) {
  .closePrivacy {
    padding: 10px;
  }
}

/*privacy*/
.privacy_area {
  max-width: 1520px;
  margin: auto;
  padding: 0 12px;
}

.privacy_area .band_txt {
  color: #ffae4e;
}

/*submit*/
.submit_block {
  text-align: center;
  padding-top: 100px;
}

.submit_block img {
  display: block;
  margin: auto;
  width: 200px;
  height: 200px;
  object-fit: contain;
  object-position: center;
}

.submit_block .ths {
  padding-top: 48px;
}

.submit_block .txt_xm {
  padding-top: 12px;
}

.submit_area .lg_btn {
  margin: 24px auto 0 auto;
}

@media(max-width:991px) {
  .submit_block img {
    width: 150px;
    height: 150px;
  }
}

@media(max-width:767px) {
  .submit_block img {
    width: 100px;
    height: 100px;
  }

  .submit_block .ths {
    padding-top: 24px;
  }
}

/*404*/
.npage_area .txt_xxl {
  font-size: 130px;
}

@media (max-width: 1499px) {
  .npage_area .txt_xxl {
    font-size: 100px !important;
  }
}

@media (max-width: 1199px) {
  .npage_area .txt_xxl {
    font-size: 90px !important;
  }
}

@media (max-width: 991px) {
  .npage_area .txt_xxl {
    font-size: 80px !important;
  }
}

@media (max-width: 767px) {
  .npage_area .txt_xxl {
    font-size: 70px !important;
  }
}

@media (max-width: 575px) {
  .npage_area .txt_xxl {
    font-size: 60px !important;
  }
}