/*Body*/
.row [class^="col-"] {
  padding:10px;
}


body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }


#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-header{
  display:none;
}


#bodyinpage.rwd-collapse.viewmode.default.about-us #wrap {
  background:#3868ab;  
}  

/*
#bodyinpage.rwd-collapse.viewmode.default.about-us #wrap {
position: relative;
isolation: isolate;
overflow: hidden;
background:
  
/右上電光藍高光/
radial-gradient(
circle at 85% 20%,
rgba(0, 212, 255, 0.42) 0%,transparent 38%),
  
/中間科技光暈/
radial-gradient(ellipse at 40% 60%,rgba(0, 114, 255, 0.24) 0%,transparent 58%
),
  
/左下藍色光帶/
linear-gradient(45deg,rgba(0, 162, 255, 0.18) 0%,transparent 50%
),
  
/深藍科技底色 /
linear-gradient(125deg,#0B1E38 0%,#123D6D 48%,#164B83 75%,#102D50 100%);
}

/科技網格與電路線條/
#bodyinpage.rwd-collapse.viewmode.default.about-us #wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    
/細緻科技網格/
linear-gradient(
rgba(72, 197, 255, 0.075) 1px,
transparent 1px),
linear-gradient(90deg,
rgba(72, 197, 255, 0.075) 1px,transparent 1px),

/右上斜向科技光線/
repeating-linear-gradient(135deg,transparent 0px,transparent 75px,rgba(0, 212, 255, 0.075) 76px,
transparent 78px,transparent 145px);
background-size:
42px 42px,
42px 42px,
100% 100%;
opacity: 0.85;
}
*/








/*logo&頁籤選單文字區塊左右對齊*/
  #logo img {
    padding:10px 16px;
  }

.topnavbar .container {
  padding: 0;  /* 清除內距 */
  display: flex;
  align-items: flex-end;  /* center上下置中; flex-end靠下; */
  justify-content: space-around; /* 平均分配 */
}

.topnavbar .container #logo, 
.topnavbar .container #nav { 
  width: 100%; 
}

.topnavbar .container #nav { text-align: right; }/* 讓頁籤選單文字靠右 */



/*Top*/
@media only screen and (min-width: 768px) {
  .topnavbar {
    background-color: transparent;
  }
}


/* #nav 主導覽列容器 */
#nav ul li a {
    background: rgba(15,75,135,0.78);
    border: 0px solid #12345A;
    border-radius: 0px;
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Hover 滑過 */
#nav ul li a:hover {
    background: #D62832;
    border-color: #D62832;
    color: #FFFFFF;
}

/* Current 目前頁面 */
#nav ul li a.current {
    background: #D62832;
    border-color: #D62832;
    color: #FFFFFF;
}

/* Current 底部藍色識別線 */
#nav ul li a.current::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #12345A;
}

/* 鍵盤操作 */
#nav ul li a:focus-visible {
    outline: 2px solid #D62832;
    outline-offset: 3px;
}

/* ===== 平板版 ===== */
@media (max-width: 991px) {
    #nav ul {
        gap: 8px;
    }

    #nav ul li {
        flex: 1 1 calc(33.333% - 8px);
    }

   #nav ul li a {
        min-height: 55px;
        padding: 12px 10px;
        font-size: 16px;
    }
}




/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(800 / 1920 * 100%); 
}

.swiper-slide {
  width: 100% !important;
}



/*About_1*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-1{
   background:url(https://static.iyp.tw/410021/files/1d9eca75-23d8-4895-be9c-b138a95ac4da.png)no-repeat;
   background-size:cover;
}

#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-1 .container{
  padding:80px 0px;
}



/* ========================================
   首頁橫向圖片服務選單
   3D弧形排列 + 依序浮現 + Hover互動
======================================== */

/* 容器 */
.transport-container {
  padding: 60px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow: hidden;
}

/* 標題 */
.section-title {
  text-align: center;
  color: #fff;
  margin-bottom: 40px;
  font-size: 2rem;
}

/* 軌道與3D透視 */
.transport-container .carousel-track {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  perspective: 1200px;
  max-width: 1400px;
  margin: 0 auto;
}

/* 卡片基本外觀 */
.transport-container .transport-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  max-width: 320px;
  height: 380px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  box-sizing: border-box;

  /* 浮現動畫初始狀態 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(45px) scale(0.95);
  transition:
  opacity 0.85s ease,
  transform 0.75s cubic-bezier(.2,.7,.2,1),
  box-shadow 0.4s ease,
  visibility 0s linear 0.85s;
  will-change: opacity, transform;
}

/* 動畫出現後：第1張 */
.transport-container .transport-card:nth-child(1).is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(15px) rotateY(12deg) scale(0.95);
  transition-delay: 0s;
}

/* 第2張 */
.transport-container .transport-card:nth-child(2).is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(-5px) rotateY(4deg) scale(0.98);
  transition-delay: 0s;
}

/* 第3張 */
.transport-container .transport-card:nth-child(3).is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(-5px) rotateY(-4deg) scale(0.98);
  transition-delay: 0s;
}

/* 第4張 */
.transport-container .transport-card:nth-child(4).is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(15px) rotateY(-12deg) scale(0.95);
  transition-delay: 0s;
}

/* 依序延遲浮現：由JS設定每張卡片的延遲 */
.transport-container .transport-card.is-visible {
  transition-delay: var(--card-delay, 0s);
}

/* 背景圖片 */
.transport-container .card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform 0.8s ease;
}

/* 底部暗色漸層 */
.transport-container .transport-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88) 5%,
    rgba(0, 0, 0, 0.4) 48%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* 文字內容 */
.transport-container .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px;
  z-index: 3;
  color: #fff;
  box-sizing: border-box;
}

/* 卡片標題 */
.transport-container .card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.3;
  color: #fff;
  transition: transform 0.35s ease;
}

/* 卡片描述 */
.transport-container .card-desc {
  font-size: 0.85rem;
  color: #ddd;
  line-height: 1.6;
  margin: 0 0 15px;
}

/* 圓形按鈕 */
.transport-container .card-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition:
    background 0.3s ease,
    transform 0.3s ease,
    border-color 0.3s ease;
}

/* 按鈕懸停 */
.transport-container .card-btn:hover {
  background: rgba(220, 170, 75, 0.85);
  border-color: #e4c17c;
  transform: translateX(3px);
}

/* 卡片懸停：弧形排列下的微幅上浮 */
.transport-container .transport-card.is-visible:hover {
  transform: translateY(-12px) rotateY(0deg) scale(1.03);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  z-index: 10;
  transition-delay: 0s;
}

/* 圖片放大 */
.transport-container .transport-card:hover .card-bg {
  transform: scale(1.08);
}

/* 標題微幅上移 */
.transport-container .transport-card:hover .card-title {
  transform: translateY(-3px);
}

/* 平板：兩張一排 */
@media screen and (max-width: 900px) {
  .transport-container {
    padding: 45px 18px;
  }

  .transport-container .carousel-track {
    flex-wrap: wrap;
    gap: 18px;
    perspective: none;
  }

  .transport-container .transport-card {
    flex: 0 0 calc(50% - 9px);
    max-width: none;
    height: 340px;
  }

  .transport-container .transport-card:nth-child(n).is-visible {
    transform: translateY(0) rotateY(0deg) scale(1);
  }

  .transport-container .transport-card.is-visible:hover {
    transform: translateY(-8px) scale(1.02);
  }
}

/* 手機：兩張一排，維持精緻比例 */
@media screen and (max-width: 600px) {
  .transport-container {
    padding: 30px 12px;
  }

  .transport-container .carousel-track {
    gap: 12px;
  }

  .transport-container .transport-card {
    flex: 0 0 calc(50% - 6px);
    height: 260px;
    border-radius: 12px;
  }

  .transport-container .transport-card:nth-child(n).is-visible {
    transform: translateY(0) rotateY(0deg) scale(1);
  }

  .transport-container .card-content {
    padding: 14px 12px;
  }

  .transport-container .card-title {
    font-size: 1.05rem;
    margin-bottom: 6px;
  }

  .transport-container .card-desc {
    font-size: 0.76rem;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .transport-container .card-btn {
    width: 32px;
    height: 32px;
  }

  .transport-container .transport-card.is-visible:hover {
    transform: translateY(-4px) scale(1.01);
  }
}

/* 減少動態效果的無障礙設定 */
@media (prefers-reduced-motion: reduce) {
  .transport-container .transport-card {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .transport-container .card-bg {
    transition: none;
  }
}







/*About_2*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2 .container {
  background: #fff;
  position:relative;
  max-width:100%;
   width: 100%;
   clip-path: ellipse(70% 100% at 50% 100%);
}

@media(max-width:600px){
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2 .container {
  background: #fff;
  position:relative;
  max-width:100%;
  width: 100%;
  clip-path: ellipse(100% 100% at 50% 100%);
  padding:100px 0;
 }
}

@media(max-width:480px){
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2 .container {
  background: #fff;
  position:relative;
  max-width:100%;
  width: 100%;
  clip-path: ellipse(100% 100% at 50% 50%);
  padding:40px 0;
 }
}


/* ===== 大宏群機電｜左圖右文公司簡介 ===== */

.dh-intro27 {
  display: flex;
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: 1200px;
  margin: 35px auto;
  padding: 30px 18px;
  box-sizing: border-box;
  color: #26384b;
  font-family: Arial, "Noto Sans TC", sans-serif;
}

/* 左側拼貼區 */
.dh-intro27-photos {
  position: relative;
  flex: 0 0 46%;
  width: 46%;
  height: 510px;
  min-width: 0;
  box-sizing: border-box;
}

/* 圖片共同設定 */
.dh-intro27-photo {
  position: absolute;
  overflow: hidden;
  background: #e8edf1;
  box-sizing: border-box;
}

.dh-intro27-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dh-intro27-photo:hover img {
  transform: scale(1.05);
}

/* 左側主圖 */
.dh-intro27-photo-main {
  left: 0;
  top: 28px;
  width: 65%;
  height: 65%;
  border-radius: 3px;
  border-bottom: 5px solid #e5b52f;
}

/* 右上圖 */
.dh-intro27-photo-top {
  right: 0;
  top: 0;
  width: 40%;
  height: 36%;
  border-top: 5px solid #173653;
}

/* 右下圖 */
.dh-intro27-photo-bottom {
  right: 0;
  top: 39%;
  width: 40%;
  height: 34%;
  border-right: 5px solid #a12e3c;
}

/* 左下小圖 */
.dh-intro27-photo-small {
  left: 9%;
  bottom: 28px;
  width: 43%;
  height: 27%;
  border: 5px solid #fff;
  box-shadow: 0 5px 22px rgba(20,40,60,0.13);
}

/* 主圖底部文字 */
.dh-intro27-photo-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 35px 14px 13px;
  color: #fff;
  background: linear-gradient(
    to top,
    rgba(10,25,40,0.85),
    rgba(10,25,40,0)
  );
  box-sizing: border-box;
}

.dh-intro27-photo-label span {
  display: block;
  margin-bottom: 5px;
  color: #f0c94f;
  font-size: 9px;
  letter-spacing: 1.5px;
}

.dh-intro27-photo-label strong {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 1.6;
}

/* 左側底部品牌字 */
.dh-intro27-photo-tag {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  color: #7c8793;
  font-size: 9px;
  letter-spacing: 1px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.dh-intro27-tag-line {
  display: block;
  width: 40px;
  height: 3px;
  margin-bottom: 9px;
  background: #a12e3c;
}

/* 右側文字 */
.dh-intro27-content {
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
}

.dh-intro27-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
  color: #a12e3c;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 2px;
  line-height: 1.8;
}

.dh-intro27-kicker-line {
  display: inline-block;
  flex: 0 0 28px;
  height: 3px;
  background: #e5b52f;
}

.dh-intro27-content h2 {
  margin: 0;
  color: #173653;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.65;
  letter-spacing: 0;
}

.dh-intro27-content h2 span {
  color: #a12e3c;
}

.dh-intro27-subtitle {
  margin-top: 8px;
  color: #173653;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.8;
}

.dh-intro27-description {
  margin: 17px 0 22px;
  color: #647283;
  font-size: 13px;
  line-height: 2.1;
  text-align: justify;
}

/* 四大理念 */
.dh-intro27-values {
  border-top: 1px solid #e4e9ee;
}

.dh-intro27-value {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #e4e9ee;
}

.dh-intro27-value-no {
  display: inline-block;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  color: #173653;
  font-size: 11px;
  font-weight: bold;
  background: #f1f4f7;
  border-left: 3px solid #e5b52f;
  box-sizing: border-box;
}

.dh-intro27-value:nth-child(2) .dh-intro27-value-no {
  border-left-color: #28669a;
}

.dh-intro27-value:nth-child(3) .dh-intro27-value-no {
  border-left-color: #a12e3c;
}

.dh-intro27-value:nth-child(4) .dh-intro27-value-no {
  border-left-color: #173653;
}

.dh-intro27-value h3 {
  margin: 0 0 4px;
  color: #173653;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
}

.dh-intro27-value p {
  margin: 0;
  color: #6d7886;
  font-size: 12px;
  line-height: 1.8;
}

/* 底部品牌宣言 */
.dh-intro27-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 15px 17px;
  background: #f3f5f7;
  border-left: 4px solid #a12e3c;
  box-sizing: border-box;
}

.dh-intro27-bottom-mark {
  display: inline-block;
  flex: 0 0 5px;
  width: 5px;
  height: 26px;
  background: #e5b52f;
}

.dh-intro27-bottom strong {
  color: #173653;
  font-size: 14px;
  line-height: 1.8;
}

/* 平板 */
@media screen and (max-width: 900px) {
  .dh-intro27 {
    gap: 25px;
    padding: 20px 12px;
  }

  .dh-intro27-photos {
    flex-basis: 43%;
    width: 43%;
    height: 450px;
  }

  .dh-intro27-content h2 {
    font-size: 26px;
  }

  .dh-intro27-subtitle {
    font-size: 16px;
  }

  .dh-intro27-description {
    font-size: 12px;
    line-height: 1.9;
  }

  .dh-intro27-value {
    gap: 10px;
    padding: 10px 0;
  }
}

/* 手機 */
@media screen and (max-width: 600px) {
  .dh-intro27 {
    display: block;
    padding: 15px 8px;
    margin: 20px auto;
  }

  .dh-intro27-photos {
    width: 100%;
    height: 370px;
    margin-bottom: 35px;
  }

  .dh-intro27-photo-main {
    top: 22px;
    width: 64%;
    height: 65%;
  }

  .dh-intro27-photo-top {
    width: 39%;
    height: 34%;
  }

  .dh-intro27-photo-bottom {
    top: 38%;
    width: 39%;
    height: 34%;
  }

  .dh-intro27-photo-small {
    bottom: 20px;
    width: 43%;
    height: 26%;
  }

  .dh-intro27-photo-tag {
    width: 49%;
    font-size: 8px;
  }

  .dh-intro27-content h2 {
    font-size: 27px;
    line-height: 1.7;
  }

  .dh-intro27-subtitle {
    font-size: 17px;
  }

  .dh-intro27-description {
    margin: 15px 0 20px;
    font-size: 13px;
    line-height: 2;
  }

  .dh-intro27-value {
    padding: 13px 0;
  }

  .dh-intro27-value h3 {
    font-size: 16px;
  }

  .dh-intro27-value p {
    font-size: 12px;
  }

  .dh-intro27-bottom {
    margin-top: 20px;
    padding: 13px 12px;
  }

  .dh-intro27-bottom strong {
    font-size: 13px;
  }
}




/*About_3*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-3{
  background:radial-gradient( circle at 8% 10%, rgba(36, 91, 139, 0.07), transparent 32% ), linear-gradient(135deg, #f8fafc, #eef2f7);
}


/* =====================================
   大宏群｜首頁發展沿革
===================================== */

.dhc-home-history {
  position: relative;
  width: 100%;
  padding: 85px 6%;
  box-sizing: border-box;
  background:
    radial-gradient(
      circle at 8% 10%,
      rgba(36, 91, 139, 0.07),
      transparent 32%
    ),
    linear-gradient(135deg, #f8fafc, #eef2f7);
  overflow: hidden;
  font-family: "Noto Sans TC", Arial, sans-serif;
}

.dhc-home-history *,
.dhc-home-history *:before,
.dhc-home-history *:after {
  box-sizing: border-box;
}

.dhc-history-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 7%;
}


/* 左側介紹 */

.dhc-history-intro {
  width: 34%;
  flex-shrink: 0;
  padding: 20px 0;
  position: relative;
}

.dhc-history-en {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8b273d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.dhc-history-en span {
  display: inline-block;
  width: 35px;
  height: 1px;
  background: #b18b52;
}

.dhc-history-title {
  margin-top: 42px;
}

.dhc-history-small {
  color: #8795a5;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 600;
}

.dhc-history-title h2 {
  margin: 12px 0 20px;
  font-size: clamp(38px, 4vw, 55px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 4px;
  color: #102c4a;
}

.dhc-history-title h2 span {
  color: #982d43;
}

.dhc-history-line {
  width: 65px;
  height: 4px;
  background: linear-gradient(
    90deg,
    #8e293e,
    #c3a16c
  );
}

.dhc-history-slogan {
  margin: 30px 0 16px;
  color: #173b5e;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

.dhc-history-desc {
  max-width: 370px;
  color: #667587;
  font-size: 15px;
  line-height: 2.1;
  text-align: justify;
  margin: 0;
}


/* 年份識別 */

.dhc-history-mark {
  margin-top: 55px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8c9aaa;
  font-size: 11px;
  letter-spacing: 1px;
}

.dhc-history-mark strong {
  font-family: Arial, sans-serif;
  color: #163c60;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
}

.dhc-history-mark span:last-child {
  padding-left: 13px;
  border-left: 1px solid #c9d1db;
}


/* 右側內容 */

.dhc-history-content {
  flex: 1;
  min-width: 0;
  padding: 12px 0;
}

.dhc-history-heading {
  margin-bottom: 35px;
}

.dhc-history-heading > span {
  color: #a27e4e;
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 700;
}

.dhc-history-heading h3 {
  margin: 10px 0 0;
  font-size: 23px;
  color: #173653;
  font-weight: 700;
  letter-spacing: 1px;
}


/* 時間軸 */

.dhc-history-timeline {
  position: relative;
  padding-left: 8px;
}

.dhc-history-timeline:before {
  content: "";
  position: absolute;
  left: 68px;
  top: 27px;
  bottom: 40px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    #b18b52,
    #cbd5df
  );
}

.dhc-history-item {
  display: flex;
  position: relative;
  gap: 32px;
  padding-bottom: 38px;
}

.dhc-history-year {
  width: 90px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.dhc-history-year:after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #a78350;
  background: #f6f8fb;
  right: 0;
  top: 24px;
}

.dhc-history-year span {
  color: #8a99a9;
  font-size: 11px;
  letter-spacing: 1px;
}

.dhc-history-year strong {
  font-family: Arial, sans-serif;
  color: #173d60;
  font-size: 39px;
  line-height: 1.2;
  font-weight: 800;
}

.dhc-history-year small {
  color: #9ba8b5;
  font-size: 12px;
  letter-spacing: 1px;
}

.dhc-history-info {
  flex: 1;
  padding: 19px 24px 20px;
  background: rgba(255,255,255,0.75);
  border-left: 3px solid #c0a06e;
  box-shadow: 0 8px 28px rgba(24, 49, 75, 0.045);
  transition: all .3s ease;
}

.dhc-history-info:hover {
  transform: translateX(5px);
  background: #fff;
  box-shadow: 0 12px 30px rgba(24, 49, 75, 0.09);
}

.dhc-history-tag {
  color: #a17e4d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.dhc-history-info h4 {
  margin: 9px 0 11px;
  color: #173957;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.dhc-history-info p {
  color: #68798a;
  font-size: 14px;
  line-height: 1.95;
  margin: 0;
  text-align: justify;
}

.dhc-history-info p strong {
  color: #8f2c42;
  font-weight: 700;
}


/* 第二階段強調 */

.dhc-history-current .dhc-history-year strong {
  color: #922b42;
}

.dhc-history-current .dhc-history-info {
  border-left-color: #902b42;
}


/* 專業服務項目（已改為置中） */

.dhc-history-services {
  margin-top: 5px;
  padding: 23px 24px;
  background: #112f4d;
  position: relative;
  overflow: hidden;
}

.dhc-history-services:after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -80px;
  bottom: -120px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
}

.dhc-history-service-title {
  display: flex;
  align-items: center;
  justify-content: center; /* 改為置中 */
  gap: 15px;
  margin-bottom: 17px;
}

.dhc-history-service-title span {
  color: #d4b57f;
  font-size: 10px;
  letter-spacing: 2px;
}

.dhc-history-service-title strong {
  color: #fff;
  font-size: 15px;
  letter-spacing: 1px;
}

.dhc-history-service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* 讓服務項目整體置中 */
  gap: 9px 0;
}

.dhc-history-service-list span {
  color: #dce6ef;
  font-size: 13px;
  padding: 0 14px;
  border-right: 1px solid rgba(255,255,255,0.22);
}

.dhc-history-service-list span:first-child {
  padding-left: 0;
}

.dhc-history-service-list span:last-child {
  border-right: 0;
}


/* =====================================
   平板
===================================== */

@media screen and (max-width: 900px) {

  .dhc-home-history {
    padding: 65px 5%;
  }

  .dhc-history-inner {
    gap: 35px;
  }

  .dhc-history-intro {
    width: 30%;
  }

  .dhc-history-title h2 {
    font-size: 40px;
  }

  .dhc-history-item {
    gap: 20px;
  }

  .dhc-history-info {
    padding: 17px;
  }

}


/* =====================================
   手機
===================================== */

@media screen and (max-width: 640px) {

  .dhc-home-history {
    padding: 48px 6%;
  }

  .dhc-history-inner {
    display: block;
  }

  .dhc-history-intro {
    width: 100%;
    padding: 0;
    margin-bottom: 45px;
  }

  .dhc-history-title {
    margin-top: 25px;
  }

  .dhc-history-title h2 {
    font-size: 40px;
  }

  .dhc-history-desc {
    max-width: 100%;
  }

  .dhc-history-mark {
    margin-top: 25px;
  }

  .dhc-history-content {
    padding: 0;
  }

  .dhc-history-heading {
    margin-bottom: 25px;
  }

  .dhc-history-heading h3 {
    font-size: 19px;
  }

  .dhc-history-timeline:before {
    left: 53px;
  }

  .dhc-history-item {
    gap: 15px;
    padding-bottom: 25px;
  }

  .dhc-history-year {
    width: 65px;
  }

  .dhc-history-year:after {
    right: 0;
    top: 22px;
    width: 9px;
    height: 9px;
  }

  .dhc-history-year strong {
    font-size: 31px;
  }

  .dhc-history-info {
    padding: 16px;
  }

  .dhc-history-info h4 {
    font-size: 17px;
  }

  .dhc-history-info p {
    font-size: 13px;
    line-height: 1.9;
  }

  .dhc-history-services {
    padding: 20px 16px;
  }

  .dhc-history-service-title {
    display: flex; /* 手機版維持 flex 以配合置中 */
    flex-direction: column; /* 讓上下兩行排列保持整齊或依需求微調 */
    text-align: center;
  }

  .dhc-history-service-title strong {
    display: block;
    margin-top: 4px;
  }

  .dhc-history-service-list {
    justify-content: center; /* 手機版服務列表也置中 */
    text-align: center;
    gap: 8px 0;
  }

  .dhc-history-service-list span {
    font-size: 12px;
    padding: 0 10px;
  }

  /* 手機板如果有換行，可視情況調整格線，此處保留原結構或讓多行自動居中 */
  .dhc-history-service-list span:nth-child(3) {
    border-right: 1px solid rgba(255,255,255,0.22);
  }

  .dhc-history-service-list span:first-child {
    padding-left: 10px;
  }

}











/*About_4*/
/* 公司榮譽區塊：深藍香檳金工程背景 */
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-4 {
  background:url(https://static.iyp.tw/410021/files/6076bf81-8909-402d-95ac-a125ef517952.svg)no-repeat;
  background-size:cover;
}


/* ==================================
   HONORS & AWARDS
   深藍香檳金・精品榮譽藝廊
================================== */

.honor-pro {
  --hp-gold: #d8bd82;
  --hp-gold-light: #f0dfb4;
  --hp-navy: #101b2b;
  --hp-text: #f5f3ed;

  width: 100%;
  padding: 65px 24px 35px;
  box-sizing: border-box;
  overflow: hidden;
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

/* 標題 */
.honor-pro-heading {
  text-align: center;
  margin: 0 auto 42px;
}

.honor-pro-en {
  color: var(--hp-gold);
  font-family: Georgia, serif;
  font-size: 11px;
  letter-spacing: 5px;
  font-weight: 600;
  margin: 0 0 15px;
}

.honor-pro-heading h2 {
  color: var(--hp-text);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1.5;
  margin: 0;
}

.honor-pro-line {
  display: block;
  width: 58px;
  height: 2px;
  margin: 18px auto;
  background: linear-gradient(
    90deg,
    transparent,
    var(--hp-gold-light),
    var(--hp-gold),
    transparent
  );
}

.honor-pro-desc {
  color: #aeb8c6;
  font-size: 14px;
  letter-spacing: 1.5px;
  line-height: 1.9;
  margin: 0;
}

/* 圖片藝廊 */
.honor-pro-gallery {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, 190px);
  gap: 15px;
}

/* 單張卡片 */
.honor-pro-item {
  display: block;
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 5px;
  background: #172437;
  text-decoration: none !important;
  isolation: isolate;
  box-sizing: border-box;
  border: 1px solid rgba(216, 189, 130, 0.22);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.13);
  transition:
    transform 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}

/* 圖片 */
.honor-pro-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s cubic-bezier(.2,.65,.3,1), filter 0.6s ease;
   border: 5px solid #fff;
}

/* 深色漸層 */
.honor-pro-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(8, 17, 30, 0.05) 15%,
    rgba(8, 17, 30, 0.12) 40%,
    rgba(8, 17, 30, 0.88) 100%
  );
  transition: opacity 0.4s ease;
}

/* 左上角編號 */
.honor-pro-index {
  position: absolute;
  top: 13px;
  left: 14px;
  z-index: 3;
  color: #fff2d2;
  font-family: Georgia, serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
}

/* 文字區 */
.honor-pro-caption {
  position: absolute;
  left: 19px;
  right: 15px;
  bottom: 18px;
  z-index: 3;
  display: block;
  padding-top: 13px;
  border-top: 1px solid rgba(240, 223, 180, 0.65);
  color: #fff;
  box-sizing: border-box;
}

/* 英文小標 */
.honor-pro-caption small {
  display: block;
  color: var(--hp-gold-light);
  font-family: Georgia, serif;
  font-size: 8px;
  letter-spacing: 1.6px;
  line-height: 1.6;
  margin-bottom: 5px;
}

/* 中文獎項 */
.honor-pro-caption strong {
  display: block;
  padding-right: 20px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* 右下角箭頭 */
.honor-pro-caption i {
  position: absolute;
  right: 0;
  bottom: 2px;
  color: var(--hp-gold-light);
  font-size: 17px;
  font-style: normal;
  transition: transform 0.35s ease;
}

/* 左側主視覺 */
.honor-pro-main {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.honor-pro-main .honor-pro-caption {
  left: 25px;
  right: 25px;
  bottom: 26px;
  padding-top: 17px;
}

.honor-pro-main .honor-pro-caption small {
  font-size: 10px;
  letter-spacing: 2.5px;
  margin-bottom: 8px;
}

.honor-pro-main .honor-pro-caption strong {
  font-size: 23px;
  letter-spacing: 2px;
}

.honor-pro-main .honor-pro-index {
  top: 20px;
  left: 22px;
  font-size: 11px;
}

/* 其他卡片位置 */
.honor-pro-item:nth-child(2) {
  grid-column: 3;
  grid-row: 1;
}

.honor-pro-item:nth-child(3) {
  grid-column: 4;
  grid-row: 1;
}

.honor-pro-item:nth-child(4) {
  grid-column: 3 / 5;
  grid-row: 2;
}

.honor-pro-item:nth-child(5) {
  grid-column: 1;
  grid-row: 3;
}

.honor-pro-item:nth-child(6) {
  grid-column: 2;
  grid-row: 3;
}

.honor-pro-item:nth-child(7) {
  grid-column: 3;
  grid-row: 3;
}

.honor-pro-item:nth-child(8) {
  grid-column: 4;
  grid-row: 3;
}

/* Hover：圖片放大、邊框轉金色 */
.honor-pro-item:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 223, 180, 0.85);
  box-shadow: 0 15px 32px rgba(0, 0, 0, 0.24);
  z-index: 5;
}

.honor-pro-item:hover img {
  transform: scale(1.055);
  filter: brightness(1.08);
}

.honor-pro-item:hover .honor-pro-caption i {
  transform: translate(3px, -3px);
}

/* 底部識別文字 */
.honor-pro-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  max-width: 1240px;
  margin: 28px auto 0;
  color: #9ca8b8;
  font-family: Georgia, serif;
  font-size: 9px;
  letter-spacing: 2px;
}

.honor-pro-footer-line {
  display: block;
  width: 55px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--hp-gold),
    transparent
  );
}

/* 平板 */
@media screen and (max-width: 900px) {
  .honor-pro {
    padding: 50px 18px 28px;
  }

  .honor-pro-heading h2 {
    font-size: 30px;
  }

  .honor-pro-gallery {
    grid-template-rows: repeat(3, 160px);
    gap: 12px;
  }

  .honor-pro-caption {
    left: 12px;
    right: 10px;
    bottom: 12px;
    padding-top: 9px;
  }

  .honor-pro-caption strong {
    font-size: 13px;
  }

  .honor-pro-caption small {
    font-size: 7px;
    letter-spacing: 1px;
  }

  .honor-pro-main .honor-pro-caption strong {
    font-size: 19px;
  }
}

/* 手機 */
@media screen and (max-width: 600px) {
  .honor-pro {
    padding: 38px 12px 25px;
  }

  .honor-pro-heading {
    margin-bottom: 27px;
  }

  .honor-pro-en {
    font-size: 10px;
    letter-spacing: 3px;
    margin-bottom: 10px;
  }

  .honor-pro-heading h2 {
    font-size: 24px;
    letter-spacing: 1px;
  }

  .honor-pro-line {
    margin: 12px auto;
  }

  .honor-pro-desc {
    font-size: 12px;
    letter-spacing: 0.5px;
  }

  .honor-pro-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 260px repeat(3, 145px) 145px;
    gap: 10px;
  }

  .honor-pro-main {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .honor-pro-item:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .honor-pro-item:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .honor-pro-item:nth-child(4) {
    grid-column: 1 / 3;
    grid-row: 3;
  }

  .honor-pro-item:nth-child(5) {
    grid-column: 1;
    grid-row: 4;
  }

  .honor-pro-item:nth-child(6) {
    grid-column: 2;
    grid-row: 4;
  }

  .honor-pro-item:nth-child(7) {
    grid-column: 1;
    grid-row: 5;
  }

  .honor-pro-item:nth-child(8) {
    grid-column: 2;
    grid-row: 5;
  }

  .honor-pro-caption {
    left: 10px;
    right: 8px;
    bottom: 10px;
    padding-top: 8px;
  }

  .honor-pro-caption small {
    font-size: 7px;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
  }

  .honor-pro-caption strong {
    font-size: 12px;
    letter-spacing: 0;
    line-height: 1.5;
  }

  .honor-pro-caption i {
    font-size: 14px;
  }

  .honor-pro-index {
    top: 9px;
    left: 10px;
    font-size: 8px;
    letter-spacing: 1px;
  }

  .honor-pro-main .honor-pro-caption {
    left: 16px;
    right: 16px;
    bottom: 17px;
    padding-top: 12px;
  }

  .honor-pro-main .honor-pro-caption small {
    font-size: 8px;
    letter-spacing: 1.5px;
  }

  .honor-pro-main .honor-pro-caption strong {
    font-size: 19px;
    letter-spacing: 1px;
  }

  .honor-pro-main .honor-pro-index {
    top: 13px;
    left: 13px;
  }

  .honor-pro-footer {
    gap: 8px;
    margin-top: 20px;
    font-size: 7px;
    letter-spacing: 1px;
  }

  .honor-pro-footer-line {
    width: 22px;
  }
}

/* 減少動態效果 */
@media (prefers-reduced-motion: reduce) {
  .honor-pro-item,
  .honor-pro-item img,
  .honor-pro-caption i {
    transition: none !important;
  }
}





/*Index_5*/
/* ==============================
   工程實績｜ENGINEERING PROJECTS 
   ============================== */
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-5{
  background:linear-gradient(135deg, #f0f4f8, #e2edf7 55%, #e6eff7);
}

#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-5 .container{
  max-width:100%;
  width:100%;
}


.eng-projects {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 65px 4% 75px;
  overflow: hidden;
  font-family: "Noto Sans TC", Arial, sans-serif;
}

.eng-projects *,
.eng-projects *:before,
.eng-projects *:after {
  box-sizing: border-box;
}

.eng-projects-head {
  position: relative;
  text-align: center;
  margin: 0 auto 38px;
}

.eng-projects-en {
  display: block;
  margin-bottom: 9px;
  color: #29659c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
}

.eng-projects-head h2 {
  margin: 0;
  padding: 0;
  color: #1a2b3c;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 5px;
  line-height: 1.4;
}

.eng-projects-head p {
  margin: 12px 0 0;
  color: #52667a;
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1.8;
}

.eng-title-line {
  display: block;
  width: 48px;
  height: 3px;
  margin: 18px auto 0;
  background: #29659c;
}

/* 卡片排列 */
.eng-projects-list {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
  padding: 0;
  gap: 12px;
}

/* 單張工程實績 */
.eng-project-card {
  position: relative;
  display: block;
  width: calc(25% - 9px);
  height: 250px;
  flex: 0 0 calc(25% - 9px);
  overflow: hidden;
  background: #cbd5e1;
  text-decoration: none !important;
  color: #fff !important;
  isolation: isolate;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 工程照片 */
.eng-project-card img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.65s ease;
}

/* 底部漸層，確保文字清晰 */
.eng-project-card:before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 65%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(10, 25, 40, 0.78)
  );
  pointer-events: none;
}

/* 黃色透明色塊：由下往上 */
.eng-project-overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: rgba(238, 184, 56, 0.85);
  transform: translateY(101%);
  transition: transform 0.48s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
}

/* 右上編號 */
.eng-project-number {
  position: absolute;
  z-index: 3;
  top: 15px;
  right: 16px;
  color: rgba(255, 255, 255, 0.95);
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  transition: color 0.35s ease;
}

.eng-project-number:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  margin: 0 8px 4px 0;
  background: currentColor;
}

/* 中英文標題 */
.eng-project-text {
  position: absolute;
  z-index: 3;
  left: 20px;
  right: 15px;
  bottom: 22px;
  transition: transform 0.4s ease;
}

.eng-project-text span {
  display: block;
  margin-bottom: 8px;
  color: #fde085;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.eng-project-text h3 {
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.55;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.eng-project-text i {
  display: block;
  width: 32px;
  height: 2px;
  margin-top: 13px;
  background: #fde085;
  transition: width 0.35s ease, background 0.35s ease;
}

/* 滑鼠效果 */
.eng-project-card:hover img {
  transform: scale(1.08);
}

.eng-project-card:hover .eng-project-overlay {
  transform: translateY(0);
}

.eng-project-card:hover .eng-project-number {
  color: #172737;
}

.eng-project-card:hover .eng-project-text {
  transform: translateY(-5px);
}

.eng-project-card:hover .eng-project-text span,
.eng-project-card:hover .eng-project-text h3 {
  color: #172737;
  text-shadow: none;
}

.eng-project-card:hover .eng-project-text i {
  width: 58px;
  background: #172737;
}

/* 平板：每列 2 張 */
@media screen and (max-width: 1024px) {
  .eng-projects {
    padding: 52px 3% 58px;
  }

  .eng-projects-list {
    gap: 10px;
  }

  .eng-project-card {
    width: calc(50% - 5px);
    flex-basis: calc(50% - 5px);
    height: 235px;
  }

  .eng-project-text {
    left: 17px;
    bottom: 19px;
  }
}

/* 手機：每列 2 張 */
@media screen and (max-width: 600px) {
  .eng-projects {
    padding: 40px 12px 45px;
  }

  .eng-projects-head {
    margin-bottom: 25px;
  }

  .eng-projects-head h2 {
    font-size: 27px;
    letter-spacing: 4px;
  }

  .eng-projects-head p {
    font-size: 12px;
    letter-spacing: 0;
  }

  .eng-projects-list {
    gap: 8px;
  }

  .eng-project-card {
    width: calc(50% - 4px);
    flex-basis: calc(50% - 4px);
    height: 185px;
  }

  .eng-project-number {
    top: 10px;
    right: 9px;
    font-size: 11px;
  }

  .eng-project-number:before {
    width: 12px;
    margin-right: 4px;
  }

  .eng-project-text {
    left: 10px;
    right: 7px;
    bottom: 13px;
  }

  .eng-project-text span {
    margin-bottom: 5px;
    font-size: 8px;
    letter-spacing: 0.4px;
  }

  .eng-project-text h3 {
    font-size: 14px;
    letter-spacing: 0;
    line-height: 1.5;
  }

  .eng-project-text i {
    width: 25px;
    margin-top: 8px;
  }
}


/* 讓卡片本身變 div，並保持定位 */
.eng-project-card {
  position: relative;
  display: block;
  width: calc(25% - 9px);
  height: 250px;
  flex: 0 0 calc(25% - 9px);
  overflow: hidden;
  background: #cbd5e1;
  isolation: isolate;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 滿版透明連結，層級拉到最高確保點得到 */
.eng-card-link {
  position: absolute;
  inset: 0;
  z-index: 10;
  text-decoration: none !important;
}



/* ========================================
   工程實績 RWD 修正版
   桌機 4 欄｜平板 2 欄｜手機 2 欄
======================================== */

/* 基本防止寬度溢出 */
.eng-projects,
.eng-projects * {
  box-sizing: border-box;
}

.eng-projects {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* 卡片排列 */
.eng-projects .eng-projects-list {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  gap: 12px;
  margin: 0;
  padding: 0;
}

/* 桌機：每列 4 張 */
.eng-projects .eng-project-card {
  display: block !important;
  position: relative;
  width: calc((100% - 36px) / 4) !important;
  max-width: calc((100% - 36px) / 4);
  min-width: 0 !important;
  height: 250px;
  flex: 0 0 calc((100% - 36px) / 4) !important;
}

/* 平板：每列 2 張 */
@media only screen and (max-width: 1024px) {
  .eng-projects {
    padding: 45px 20px 50px !important;
  }

  .eng-projects .eng-projects-list {
    gap: 10px !important;
  }

  .eng-projects .eng-project-card {
    width: calc((100% - 10px) / 2) !important;
    max-width: calc((100% - 10px) / 2) !important;
    flex: 0 0 calc((100% - 10px) / 2) !important;
    height: 230px !important;
  }
}

/* 手機：每列 2 張 */
@media only screen and (max-width: 767px) {
  .eng-projects {
    width: 100% !important;
    padding: 32px 12px 38px !important;
    overflow: hidden;
  }

  .eng-projects .eng-projects-head {
    margin-bottom: 22px !important;
  }

  .eng-projects .eng-projects-en {
    font-size: 10px !important;
    letter-spacing: 2px !important;
    margin-bottom: 6px !important;
  }

  .eng-projects .eng-projects-head h2 {
    font-size: 24px !important;
    letter-spacing: 2px !important;
    line-height: 1.5 !important;
    word-break: keep-all;
  }

  .eng-projects .eng-projects-head p {
    font-size: 12px !important;
    letter-spacing: 0 !important;
    line-height: 1.8 !important;
  }

  .eng-projects .eng-projects-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .eng-projects .eng-project-card {
    display: block !important;
    width: calc((100% - 8px) / 2) !important;
    max-width: calc((100% - 8px) / 2) !important;
    min-width: 0 !important;
    flex: 0 0 calc((100% - 8px) / 2) !important;
    height: 175px !important;
    border-radius: 4px;
  }

  .eng-projects .eng-project-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .eng-projects .eng-project-number {
    top: 8px !important;
    right: 7px !important;
    font-size: 10px !important;
    letter-spacing: 1px !important;
  }

  .eng-projects .eng-project-number:before {
    width: 10px !important;
    margin-right: 4px !important;
  }

  .eng-projects .eng-project-text {
    left: 9px !important;
    right: 6px !important;
    bottom: 10px !important;
  }

  .eng-projects .eng-project-text span {
    font-size: 8px !important;
    letter-spacing: 0 !important;
    line-height: 1.4 !important;
    margin-bottom: 4px !important;
  }

  .eng-projects .eng-project-text h3 {
    font-size: 13px !important;
    letter-spacing: 0 !important;
    line-height: 1.5 !important;
    overflow-wrap: anywhere;
  }

  .eng-projects .eng-project-text i {
    width: 23px !important;
    margin-top: 6px !important;
  }

  /* 手機點擊時保留黃色效果 */
  .eng-projects .eng-project-card:active .eng-project-overlay {
    transform: translateY(0);
  }
}

/* 小尺寸手機 */
@media only screen and (max-width: 380px) {
  .eng-projects {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }

  .eng-projects .eng-project-card {
    height: 155px !important;
  }

  .eng-projects .eng-project-text h3 {
    font-size: 12px !important;
  }

  .eng-projects .eng-projects-head h2 {
    font-size: 22px !important;
  }
}



/*About_6*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-6{
   display:none;
}





/*Case*/
.eng-table-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: "Noto Sans TC", Arial, sans-serif;
  box-sizing: border-box;
}

.eng-table-container *,
.eng-table-container *:before,
.eng-table-container *:after {
  box-sizing: border-box;
}

.eng-table-header {
  text-align: center;
  margin-bottom: 30px;
}

.eng-table-en {
  display: block;
  margin-bottom: 6px;
  color: #29659c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
}

.eng-table-header h2 {
  margin: 0;
  color: #1a2b3c;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
}

.eng-table-line {
  display: block;
  width: 40px;
  height: 3px;
  margin: 14px auto 0;
  background: #29659c;
}

/* 表格基本樣式 */
.table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

.eng-data-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  text-align: left;
  font-size: 14px;
}

.eng-data-table th {
  background: #4a6fa5;
  color: #ffffff;
  font-weight: 600;
  padding: 14px 16px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.eng-data-table td {
  padding: 14px 16px;
  color: #333333;
  border-bottom: 1px solid #e2e8f0;
  line-height: 1.5;
}

.eng-data-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.eng-data-table tbody tr:hover {
  background: #f1f5f9;
}

/* 欄位寬度配置 */
.eng-data-table th:nth-child(1), .eng-data-table td:nth-child(1) { width: 8%; text-align: center; }
.eng-data-table th:nth-child(2), .eng-data-table td:nth-child(2) { width: 15%; white-space: nowrap; }
.eng-data-table th:nth-child(3), .eng-data-table td:nth-child(3) { width: 32%; }
.eng-data-table th:nth-child(4), .eng-data-table td:nth-child(4) { width: 25%; }
.eng-data-table th:nth-child(5), .eng-data-table td:nth-child(5) { width: 10%; }
.eng-data-table th:nth-child(6), .eng-data-table td:nth-child(6) { width: 10%; white-space: nowrap; }

/* 分頁按鈕列 */
.pagination-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  gap: 10px;
}

.page-btn {
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.page-btn:hover:not(:disabled) {
  background: #4a6fa5;
  color: #ffffff;
  border-color: #4a6fa5;
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.page-numbers {
  display: flex;
  gap: 6px;
}

.num-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.num-btn:hover {
  background: #f1f5f9;
}

.num-btn.active {
  background: #4a6fa5;
  color: #ffffff;
  border-color: #4a6fa5;
}

/* RWD 手機版樣式轉卡片 */
@media screen and (max-width: 768px) {
  .eng-data-table, 
  .eng-data-table tbody, 
  .eng-data-table tr, 
  .eng-data-table td {
    display: block;
    width: 100%;
  }

  .eng-data-table thead {
    display: none; /* 隱藏傳統表頭 */
  }

  .eng-data-table tr {
    margin-bottom: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    padding: 10px 14px;
  }

  .eng-data-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    text-align: right;
  }

  .eng-data-table td:last-child {
    border-bottom: none;
  }

  /* 利用 CSS 自動帶出標題列名稱 */
  .eng-data-table td:before {
    content: attr(data-title);
    font-weight: 600;
    color: #64748b;
    text-align: left;
    margin-right: 15px;
  }

  .eng-data-table th:nth-child(n), .eng-data-table td:nth-child(n) {
    width: 100% !important;
  }
}





/*h1*/
.h1title{
  display:none;
}



/*h2*/
.fcol h2 {
  color: #378be0;
  font-size: 2em;
  font-weight: 600;
  letter-spacing: .1rem;
}



/*Form*/
.mark{
  background:none;
}



/*Footer*/
#foot-nav{
  display:none;
}

#footer{
  background:#3777b7;
} 

/* ===================================
   大宏群機電 Footer
   Deep Navy × Burgundy × Gold
   =================================== */

.dhc-footer {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 15% 0%,
      rgba(42, 76, 108, 0.38),
      transparent 48%
    ),
  /*  linear-gradient(135deg, #101d2b 0%, #172838 55%, #101a28 100%);
  color: #d8e0e8;*/
  font-family: "Noto Sans TC", Arial, sans-serif;
  box-sizing: border-box;
}

.dhc-footer *,
.dhc-footer *:before,
.dhc-footer *:after {
  box-sizing: border-box;
}

/* 頂部金色與酒紅裝飾線 */
/*.dhc-footer-line {
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    #762b3b 0%,
    #a74450 28%,
    #d9b15b 60%,
    #8d3040 100%
  );
}
*/

.dhc-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 42px;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 58px 35px 48px;
}

/* 左側公司介紹 */
.dhc-footer-about {
  flex: 1.35 1 330px;
  min-width: 0;
}

.dhc-footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 25px;
}

.dhc-footer-brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  flex: 0 0 55px;
  border: 1px solid #c5a45c;
  border-radius: 50%;
  background: #3777b7;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: bold;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
}

.dhc-footer-brand-name {
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.6;
}

.dhc-footer-brand-en {
  margin-top: 3px;
  color: #d6b45f;
  font-family: Arial, sans-serif;
  font-size: 9px;
  letter-spacing: 2px;
  line-height: 1.6;
}

.dhc-footer-about h3 {
  margin: 0 0 15px;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.8;
}

.dhc-footer-about p {
  margin: 0;
  color: #bdc9d4;
  font-size: 13px;
  line-height: 2.15;
  text-align: justify;
}

.dhc-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.dhc-footer-badges span {
  display: inline-block;
  padding: 7px 10px;
  border-left: 2px solid #c5a45c;
  background: rgba(255, 255, 255, 0.055);
  color: #e0c782;
  font-size: 11px;
  line-height: 1.5;
}

/* 中間及右側標題 */
.dhc-footer-contact {
  flex: 1 1 290px;
  min-width: 0;
}

.dhc-footer-social {
  flex: 0.75 1 190px;
  min-width: 0;
}

.dhc-footer-heading {
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.dhc-footer-heading > span {
  display: block;
  margin-bottom: 6px;
  color: #d5b45f;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
}

.dhc-footer-heading h3 {
  margin: 0;
  color: #fff;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 2px;
}

/* 聯絡資訊 */
.dhc-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 19px;
}

.dhc-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid rgba(213, 180, 95, 0.55);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  color: #dfbd69;
  font-size: 15px;
}

.dhc-contact-item > div {
  min-width: 0;
  padding-top: 1px;
}

.dhc-contact-item small {
  display: block;
  margin-bottom: 4px;
  color: #bbd8f5;
  font-family: Arial, sans-serif;
  font-size: 9px;
  letter-spacing: 1.5px;
}

.dhc-contact-item a,
.dhc-contact-item p {
  display: block;
  margin: 0;
  color: #e2e8ed;
  font-size: 13px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  text-decoration: none;
  transition: color 0.25s ease;
}

.dhc-contact-item a:hover {
  color: #e6c36c;
}

/* 社群介紹 */
.dhc-footer-social > p {
  margin: -6px 0 24px;
  color: #bdc9d4;
  font-size: 13px;
  line-height: 1.9;
}

/* 三個圓形社群 Icon */
.dhc-social-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
}

.dhc-social-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
  text-decoration: none !important;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.dhc-social-circle svg {
  display: block;
  width: 24px;
  height: 24px;
}

/* LINE */
.dhc-social-circle.dhc-line:hover {
  background: #06c755;
  border-color: #06c755;
  color: #fff !important;
  box-shadow: 0 5px 18px rgba(6, 199, 85, 0.25);
}

/* Facebook */
.dhc-social-circle.dhc-facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff !important;
  box-shadow: 0 5px 18px rgba(24, 119, 242, 0.25);
}

/* Instagram */
.dhc-social-circle.dhc-instagram:hover {
  background: #b33f68;
  border-color: #d56a65;
  color: #fff !important;
  box-shadow: 0 5px 18px rgba(179, 63, 104, 0.25);
}

.dhc-social-circle:hover {
  transform: translateY(-4px);
}

.dhc-footer-social-note {
  margin-top: 28px;
  color: #bbd8f5;
  font-family: Arial, sans-serif;
  font-size: 8px;
  letter-spacing: 1.3px;
  line-height: 1.8;
}

.dhc-footer-social-note span {
  display: inline-block;
  width: 22px;
  height: 2px;
  margin: 0 7px 3px 0;
  background: #a83c4b;
}

/* 底部版權 */
.dhc-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 12, 21, 0.35);
}

.dhc-footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 19px 35px;
}

.dhc-footer-bottom-inner span {
  color: #8e9eac;
  font-size: 11px;
  line-height: 1.8;
}

/* 平板 */
@media screen and (max-width: 1024px) {
  .dhc-footer-inner {
    gap: 35px 28px;
    padding: 48px 28px 40px;
  }

  .dhc-footer-about {
    flex-basis: 100%;
  }

  .dhc-footer-contact {
    flex: 1 1 55%;
  }

  .dhc-footer-social {
    flex: 1 1 30%;
  }
}

/* 手機 */
@media screen and (max-width: 600px) {
  .dhc-footer-inner {
    display: block;
    padding: 38px 22px 32px;
  }

  .dhc-footer-about,
  .dhc-footer-contact,
  .dhc-footer-social {
    width: 100%;
    margin-bottom: 38px;
  }

  .dhc-footer-social {
    margin-bottom: 5px;
  }

  .dhc-footer-brand {
    gap: 11px;
  }

  .dhc-footer-brand-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    font-size: 26px;
  }

  .dhc-footer-brand-name {
    font-size: 17px;
    letter-spacing: 0;
  }

  .dhc-footer-brand-en {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .dhc-footer-about h3 {
    font-size: 16px;
  }

  .dhc-footer-about p {
    font-size: 13px;
    line-height: 2;
  }

  .dhc-footer-heading h3 {
    font-size: 19px;
  }

  .dhc-contact-item {
    gap: 11px;
    margin-bottom: 16px;
  }

  .dhc-contact-item a,
  .dhc-contact-item p {
    font-size: 13px;
  }

  .dhc-social-list {
    gap: 15px;
  }

  .dhc-social-circle {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .dhc-footer-bottom-inner {
    display: block;
    padding: 16px 20px;
    text-align: center;
  }

  .dhc-footer-bottom-inner span {
    display: block;
    margin: 4px 0;
    font-size: 10px;
  }
}



/*case*/
ul.product-list li a .img {
  position: relative;
  width: 100%;
  height: 0 !important;
  padding-bottom: 100%;
  border: none;
  border-radius: 3px 3px 0 0;
  display: block;
  text-align: left;
  text-indent: 1em;
  overflow: hidden; /* 確保超出範圍的照片被裁切 */
}

/* 讓裡面的圖片撐滿整個容器 */
ul.product-list li a .img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 自動放大並填滿容器，不變形 */
}

ul.product-list li a {
  padding-bottom: 0px;
  color:#333
}

ul.product-list li .desc {
  display: none;
}



/*產品格內貼圖*/
/* 圖片列表：電腦版一排三張 */
.custom-product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

/* 三張卡片統一寬度 */
.custom-product-list li {
  width: calc((100% - 40px) / 3);
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

/* 圖片框：全部固定相同比例 */
.custom-product-list .custom-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f7fa;
  margin: 0;
  padding: 0;
  position: relative;
}

/* 三張圖片統一尺寸並填滿框架 */
.custom-product-list .custom-img-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  margin: 0;
  padding: 0;
  border: 0;
}


/* 壓在圖上的半透明文字條 */
.custom-img-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.6); /* 半透明黑色底 */
  backdrop-filter: blur(4px); /* 背景毛玻璃模糊效果 */
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  box-sizing: border-box;  
  /* 確保一開始就是完全顯示的狀態 */
  opacity: 1;
  visibility: visible;  
  /* 如果不需要滑過去時背景變色，可以把 transition 拿掉或保留 */
  transition: background 0.3s ease;
}



/* 滑過卡片效果 */
.custom-product-list li:hover {
  transform: translateY(-4px);
}

/* 平板：一排兩張 */
@media screen and (max-width: 900px) {
  .custom-product-list li {
    width: calc((100% - 20px) / 2);
  }
}

/* 手機：一排一張 */
@media screen and (max-width: 550px) {
  .custom-product-list {
    gap: 15px;
  }

  .custom-product-list li {
    width: 100%;
  }
}


#product-header{
  min-height:0px
}






/* 人力銀行招募區 */
#bodyinpage.rwd-collapse.viewmode.news.recruit .fcol.fcol-2{
   display:none;
}


/* 招募區域 */
.recruit-bank {
  width: 100%;
  max-width: 1100px;
  margin: 30px auto;
  padding: 20px 0;
  box-sizing: border-box;
  font-family: Arial, "Noto Sans TC", sans-serif;
}

/* 標題 */
.recruit-bank .recruit-bank-heading {
  text-align: center;
  margin-bottom: 28px;
}

.recruit-bank .recruit-bank-heading > span {
  display: block;
  color: #963B49;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.recruit-bank .recruit-bank-heading h2 {
  margin: 0 0 10px;
  color: #203B58;
  font-size: 28px;
  line-height: 1.5;
}

.recruit-bank .recruit-bank-heading p {
  margin: 0;
  color: #68778A;
  font-size: 15px;
  line-height: 1.8;
}

/* 卡片排列 */
.recruit-bank .recruit-bank-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.recruit-bank .recruit-bank-card {
  width: calc(50% - 20px);
  margin: 10px;
  padding: 25px 20px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 8px;
  border: 1px solid #E0E7EF;
  border-top: 4px solid #28649B;
  background: #F3F8FD;
  overflow: hidden;
  transition: box-shadow .3s ease;
}

.recruit-bank .recruit-bank-1111 {
  border-top-color: #963B49;
  background: #FCF4F5;
}

/* Logo 數字圖像 */
.recruit-bank .recruit-bank-logo {
  flex: 0 0 95px;
  width: 95px;
  height: 95px;
  background: #FFFFFF;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(30, 50, 80, .07);
}

.recruit-bank .recruit-bank-number {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.3;
  color: #28649B;
}

.recruit-bank .recruit-bank-1111 .recruit-bank-number {
  color: #963B49;
}

.recruit-bank .recruit-bank-logo-text {
  font-size: 12px;
  color: #536174;
  letter-spacing: 1px;
}

/* 文字內容 */
.recruit-bank .recruit-bank-info {
  flex: 1;
  min-width: 0;
}

.recruit-bank .recruit-bank-en {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  color: #75869A;
  letter-spacing: 1px;
}

.recruit-bank .recruit-bank-info h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.5;
  color: #263F5B;
}

.recruit-bank .recruit-bank-info p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.8;
  color: #697789;
}

/* 獨立連結按鈕，不包覆整張卡片 */
.recruit-bank .recruit-bank-action {
  display: block;
  margin: 0;
  padding: 0;
}

.recruit-bank .recruit-bank-action a {
  display: inline-block;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 15px;
  margin: 0;
  border: 0;
  border-radius: 4px;
  background: #28649B;
  color: #FFFFFF !important;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none !important;
  white-space: normal;
}

.recruit-bank .recruit-bank-1111 .recruit-bank-action a {
  background: #963B49;
}

.recruit-bank .recruit-bank-action a:hover {
  background: #173F68;
}

.recruit-bank .recruit-bank-1111 .recruit-bank-action a:hover {
  background: #6F2431;
}

/* 卡片浮現效果 */
.recruit-bank .recruit-bank-card:hover {
  box-shadow: 0 8px 22px rgba(30, 50, 80, .10);
}

/* 平板 */
@media screen and (max-width: 800px) {
  .recruit-bank .recruit-bank-card {
    width: calc(100% - 20px);
  }
}

/* 手機 */
@media screen and (max-width: 550px) {
  .recruit-bank {
    padding: 15px 10px;
  }

  .recruit-bank .recruit-bank-heading h2 {
    font-size: 23px;
  }

  .recruit-bank .recruit-bank-list {
    margin: 0;
  }

  .recruit-bank .recruit-bank-card {
    width: 100%;
    margin: 8px 0;
    padding: 18px 12px;
    gap: 12px;
  }

  .recruit-bank .recruit-bank-logo {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
  }

  .recruit-bank .recruit-bank-number {
    font-size: 25px;
  }

  .recruit-bank .recruit-bank-logo-text {
    font-size: 10px;
  }

  .recruit-bank .recruit-bank-info h3 {
    font-size: 17px;
  }

  .recruit-bank .recruit-bank-info p {
    font-size: 12px;
  }

  .recruit-bank .recruit-bank-en {
    font-size: 9px;
    letter-spacing: 0;
  }
}






/*Contac Us*/
/* ===== DHC 聯絡我們專屬區塊 ===== */
.dhc-contact26-section {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  padding: 55px 25px;
  margin: 0;
  background: linear-gradient(135deg, #3777b7 0%, #0e59a4 55%, #182735 100%);
  color: #ffffff;
  font-family: Arial, "Noto Sans TC", sans-serif;
  overflow: hidden;
}

.dhc-contact26-section *,
.dhc-contact26-section *::before,
.dhc-contact26-section *::after {
  box-sizing: border-box;
}

.dhc-contact26-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 45px;
}

/* 左側聯絡資訊 */
.dhc-contact26-info {
  width: 48%;
  min-width: 0;
  padding: 8px 0;
}

.dhc-contact26-heading {
  margin: 0 0 28px;
}

.dhc-contact26-heading > span {
  display: block;
  margin-bottom: 8px;
  color: #d9ad77;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 3px;
}

.dhc-contact26-heading h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
}

.dhc-contact26-heading p {
  margin: 0;
  color: #c5d0da;
  font-size: 14px;
  line-height: 1.9;
}

.dhc-contact26-heading i {
  display: block;
  width: 55px;
  height: 3px;
  margin-top: 18px;
  background: #a83b49;
}

/* 聯絡資料 */
.dhc-contact26-list {
  width: 100%;
}

.dhc-contact26-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.dhc-contact26-icon {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(217, 173, 119, 0.45);
  border-radius: 6px;
  color: #e3bd8e;
  font-size: 21px;
  line-height: 1;
}

.dhc-contact26-detail {
  flex: 1;
  min-width: 0;
}

.dhc-contact26-detail small {
  display: block;
  margin-bottom: 5px;
  color: #aebdca;
  font-size: 10px;
  letter-spacing: 1.8px;
}

.dhc-contact26-detail p,
.dhc-contact26-detail a {
  display: block;
  margin: 0;
  padding: 0;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.dhc-contact26-detail a {
  text-decoration: none;
}

.dhc-contact26-detail a:hover {
  color: #e3bd8e;
}

/* 左側底部標語 */
.dhc-contact26-bottom {
  margin-top: 25px;
  color: #c6d0d9;
  font-size: 13px;
  line-height: 1.8;
}

.dhc-contact26-bottom span {
  margin-right: 8px;
  color: #d9ad77;
}

/* 右側地圖區 */
.dhc-contact26-map-area {
  width: 52%;
  min-width: 0;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}

.dhc-contact26-map-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.dhc-contact26-map-heading small {
  display: block;
  margin-bottom: 5px;
  color: #d9ad77;
  font-size: 10px;
  letter-spacing: 2px;
}

.dhc-contact26-map-heading h3 {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.5;
}

.dhc-contact26-map-tag {
  padding: 6px 10px;
  border: 1px solid rgba(217, 173, 119, 0.45);
  border-radius: 3px;
  color: #e3bd8e;
  font-size: 10px;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* 地圖固定高度，避免撐開 footer */
.dhc-contact26-map {
  width: 100%;
  height: 370px;
  min-height: 250px;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  background: #e8edf1;
}

.dhc-contact26-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 地圖下方按鈕 */
.dhc-contact26-map-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
  padding: 13px 12px;
  border: 1px solid rgba(217, 173, 119, 0.5);
  border-radius: 4px;
  color: #f0d2ac !important;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
  text-decoration: none !important;
  transition: background .25s ease;
}

.dhc-contact26-map-link:hover {
  background: rgba(217, 173, 119, 0.12);
}

.dhc-contact26-map-link b {
  font-weight: normal;
}



/* =================================
   大宏群聯絡資訊｜精簡社群橫向版
================================= */

/* 左側資訊間距精簡 */
.dhc-contact26-info {
  padding: 5px 0;
}

.dhc-contact26-heading {
  margin-bottom: 20px;
}

.dhc-contact26-item {
  padding: 12px 0;
}

/* 電話保持同一行 */
.dhc-contact26-phone {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 9px;
  white-space: nowrap;
}

.dhc-contact26-phone a {
  display: inline-block !important;
  font-size: 14px;
}

.dhc-contact26-phone span {
  color: #d9ad77;
}


/* 底部標語縮小間距 */
.dhc-contact26-bottom {
  margin-top: 20px;
}

/* 平板 */
@media screen and (max-width: 900px) {
  .dhc-contact26-social > a {
    gap: 5px;
    padding: 5px 3px;
  }

  .dhc-contact26-social-icon {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }

  .dhc-contact26-social-text b {
    font-size: 10px;
  }
}

/* 手機 */
@media screen and (max-width: 700px) {
  .dhc-contact26-social {
    margin-top: 16px;
    padding-top: 14px;
  }

  .dhc-contact26-social > a {
    justify-content: center;
    gap: 8px;
    padding: 5px;
  }

  .dhc-contact26-social-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .dhc-contact26-social-text b {
    font-size: 11px;
  }
}

@media screen and (max-width: 400px) {
  .dhc-contact26-phone {
    gap: 5px;
  }

  .dhc-contact26-phone a {
    font-size: 12px;
  }

  .dhc-contact26-social > a {
    gap: 4px;
    padding: 4px 2px;
  }

  .dhc-contact26-social-icon {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
    font-size: 13px;
  }

  .dhc-contact26-social-text small {
    font-size: 8px;
  }

  .dhc-contact26-social-text b {
    font-size: 9px;
  }
}



/* 平板 */
@media screen and (max-width: 900px) {
  .dhc-contact26-section {
    padding: 40px 22px;
  }

  .dhc-contact26-container {
    gap: 28px;
  }

  .dhc-contact26-info {
    width: 46%;
  }

  .dhc-contact26-map-area {
    width: 54%;
    padding: 16px;
  }

  .dhc-contact26-map {
    height: 340px;
  }
}


/* 手機：上下排列 */
@media screen and (max-width: 700px) {
  .dhc-contact26-section {
    padding: 35px 18px;
  }

  .dhc-contact26-container {
    display: block;
  }

  .dhc-contact26-info,
  .dhc-contact26-map-area {
    width: 100%;
  }

  .dhc-contact26-info {
    margin-bottom: 30px;
  }

  .dhc-contact26-heading h2 {
    font-size: 26px;
  }

  .dhc-contact26-map-area {
    padding: 14px;
  }

  .dhc-contact26-map {
    height: 300px;
    min-height: 250px;
  }
}

/* 小手機 */
@media screen and (max-width: 400px) {
  .dhc-contact26-section {
    padding: 30px 14px;
  }

  .dhc-contact26-item {
    gap: 12px;
    padding: 13px 0;
  }

  .dhc-contact26-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: 18px;
  }

  .dhc-contact26-detail p,
  .dhc-contact26-detail a {
    font-size: 13px;
  }

  .dhc-contact26-map {
    height: 260px;
  }
}




/* =====================================
   大宏群聯絡資訊｜電話橫向排列
===================================== */

/* 電話固定同一行 */
.dhc-contact26-phone {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  white-space: nowrap;
}

.dhc-contact26-phone a {
  display: inline-block !important;
  font-size: 15px;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: .3px;
}

.dhc-contact26-phone span {
  color: #d9ad77;
  font-size: 13px;
}

/* 社群連結 */
.dhc-contact26-detail a {
  transition: color .25s ease;
}

.dhc-contact26-detail a:hover {
  color: #e3bd8e !important;
}

/* 手機版 */
@media screen and (max-width: 700px) {
  .dhc-contact26-phone {
    gap: 7px;
  }

  .dhc-contact26-phone a {
    font-size: 14px;
  }
}

@media screen and (max-width: 400px) {
  .dhc-contact26-phone {
    gap: 5px;
  }

  .dhc-contact26-phone a {
    font-size: 12px;
  }
}

/* 社群三欄排列 */
.dhc-contact26-social {
  display: flex;
  align-items: stretch;
  width: 100%;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid rgba(217,173,119,.35);
}

.dhc-contact26-social > a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
  gap: 8px;
  padding: 5px 8px;
  color: #fff !important;
  text-decoration: none !important;
  border-right: 1px solid rgba(255,255,255,.13);
  transition: background .25s ease;
}

.dhc-contact26-social > a:last-child {
  border-right: 0;
}

.dhc-contact26-social > a:hover {
  background: rgba(217,173,119,.10);
}

.dhc-contact26-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 1px solid rgba(217,173,119,.5);
  border-radius: 50%;
  color: #e3bd8e;
  font-size: 15px;
}

.dhc-contact26-social-text {
  display: block;
  min-width: 0;
}

.dhc-contact26-social-text small {
  display: block;
  margin-bottom: 4px;
  color: #aebdca;
  font-size: 9px;
  letter-spacing: .8px;
}

.dhc-contact26-social-text b {
  display: block;
  color: #fff;
  font-size: 11px;
  font-weight: normal;
  white-space: nowrap;
}





