#gotop {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 20px;    
    width: 50px;
    height: 50px;
    font-size: 24px;
    background: #e07b39;   /* 暖橘棕色背景 */
    color: #fff3e0;         /* 暖米色箭頭 */
    cursor: pointer;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;     /* 圓形 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s, color 0.3s;
}

#gotop:hover {
    background: #bf5f2c;    /* hover 深橘棕色 */
    color: #ffffff;
}



/*icon*/

.line{position:fixed;right:0.5%;top: 55%;z-index:1000;transform:scale(0.8);}

.FB {position: fixed;right: 0.5%; top:55%;z-index: 1000;transform:scale(0.8);}

.TL {position: fixed; right: 0.5%; top: 65%; z-index: 1000;transform:scale(0.8);}

.MAIL {position: fixed; right: 0.5%; top: 75%; z-index: 1000;transform:scale(0.8);}


body{background:#fff;}

#wrap{background:url()no-repeat;
background-position:top center;background-size:cover;background-attachment:fixed;}

.fcol .container {
    padding: 16px;
    background: 
    rgba(255,255,255,0.);
}

/*body*/
.row [class^="col-"] {
  padding:10px;
}


body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }

#wrap{
  background:url(https://static.iyp.tw/16567/files/386d48b3-0427-4cea-8ba2-c5d6fabdec7c.jpg)no-repeat;
  background-position:top center;
  background-size:cvoer;
  background-attachment:fixed; 
}



/*回首頁*/
.navbar-nav > li > a {
    color: #fff;
}


.topnavbar .container {
  text-align: justify;
  font-size: 0;
  /*text-align: center;*/  
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
  padding-top: 0px;
  padding-bottom: 10px;
}


.topnavbar {
  background-color: #fff;
  top:0px;
  position: relative;
  z-index:100;
  width:100%;
  padding: .6rem 0;
  height: 100px;
  padding-top:0px;
}

.topnavbar {
  background-image: url('https://static.iyp.tw/16567/files/8ba391a5-dd7a-4d2d-a0c5-5ca2ac67ef34.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  top: 0px;
  position: relative;
  z-index: 100;
  width: 100%;
  height: 100px;
  padding: .6rem 0;
  padding-top: 0px;
}

/* nav - 黃色系 */
#nav ul li a {
    white-space: nowrap;
    color: #5c4428; /* 深棕，與黃系背景對比良好 */
    line-height: 1.3;
    font-weight: normal;
    padding: 10px 18px;
    font-size: 95%;
    border-right: 1px #c2a76d dotted; /* 黃棕色的虛線邊界 */
    transition: all 0.5s;
}

#nav ul li a:hover {
    background: #f1c40f; /* 亮黃色 hover 背景 */
    color: #ffffff;       /* hover 時白字 */
}

#nav ul li.current a {
    background: #d4ac0d;  /* 深金黃 - 當前頁面背景 */
    color: #ffffff;
}


/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(650 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}


/*Index*/
.serveimg {
    display: block;
    text-align: center;
    width: 100%;
    height: 0px;
    padding-bottom: 100%;
    overflow: hidden;
    position: relative;
    border-radius:10px; 
    min-height:80px;
    background:#c5e0f5;
    padding:15px 12px;
    transition:all.3s;
}


.serveimg:hover {
    display: block;
    text-align: center;
    width: 100%;
    height: 0px;
    padding-bottom: 100%;
    overflow: hidden;
    position: relative;
    border-radius:10px; 
    min-height:80px;
    background:#94d4ff;
    padding:15px 12px;
}



.serveimg p span{color:#555;display:block;height:80px;}
.serveimg p span:hover{color:#fff;display:block;}

/*Index1*/
.serveimg1 {
    display: block;
    text-align: center;
    width: 100%;
    height: 0px;
    padding-bottom: 100%;
    overflow: hidden;
    position: relative;
    border-radius:10px; 
    min-height:80px;
    background:#abb9ff;
    padding:15px 12px;
    transition:all.3s;
}


.serveimg1:hover {
    display: block;
    text-align: center;
    width: 100%;
    height: 0px;
    padding-bottom: 100%;
    overflow: hidden;
    position: relative;
    border-radius:10px; 
    min-height:80px;
    background:#94d4ff;
    padding:15px 12px;
}



.serveimg1 p span{color:#555;display:block;height:80px;}
.serveimg1 p span:hover{color:#fff;display:block;}

/*h1*/
.h1title{color:#1c99ed;border-bottom:1px dashed #1c99ed;}

ul.product-list li a:hover {
    color: #000;
}/*改產品格 滑鼠滑過去字顏色*/

/*pd*/
ul.product-list li h3 {
    flex: 1 0 auto;
    max-height: 3.15rem;
    margin: 0.7rem 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #000;
    overflow: hidden;
    padding: 0 16px;
}

ul.product-list li .desc{
   display:none;
}

body[data-type="fullpage"] .product-list-div h2 a.show-all {
    color: #fff;
    transition-property: left, color;
    background: #59aacb;
    text-shadow: none;
    padding: 0 10px;
}

.mark {
    background: none;
   }

/*footer*/
#foot-nav ul li a {
    color: #fff;
    font-size: 1.06em;
  
}

#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 0px solid #fff;
  ;
}
.contact-row {
    padding: 0em 0 1em;
    line-height: 1.6;
  display:none;
}

#footer {
    color:#fff;
  
}

#contact-info ul li span {
    color: #fff;
}

#copyright, #copyright a{color:#dcdcdc;}

@media (max-width: 768px) {
    .foot-nav.col-2 {
    padding: 15px;
    min-height: 1px;
    flex: 1 0 50%;
    max-width: 100%;
}
    }
}


/*隱藏 追蹤分享 字樣*/
div.col-md-5 {
display: none;
}

/*Index_1*/


/*About_3*/

#bodyinhome.rwd-collapse.viewmode.default.about-us  .fcol.fcol-3 .container{
   padding:60px 16px;
}

.intro {
  -webkit-animation-delay: 1.5s;
}

.intro a {
  overflow: hidden;
  position: relative;
  padding: 10px 40px;
  border: 0px #aaa solid;
  display: inline-block;
  font-size: 16px;
  color: #fff;
  font-weight: bold;
  background: #6fc33c;
}

.intro a:hover {
  color: #fff;
  background: #000;
  transition: all 0.4s;
}

.intro a:after {
  position: absolute;
  width: 100%;
  height: 100%;
  content: "";
  top: 0;
  left: -100%;
  display: block;
  background: #000;
  transition: all 0.4s;
  z-index: -1;
}

#service .list article {
  background: #F9FEFE;
  width: 90%;
  margin: 0%;
  box-shadow: 0px 5px 15px
    rgba(0,0,0,0.16);
  padding: 15px 15px 5px;
  text-align: left;
  height: 200px;
  border-radius: 10px;
}

/* 手機版設定 */
@media screen and (max-width: 768px) {
  #service .list article {
    height: 220px;
  }
}

#service .list article a {
  display: block;
}

#service .list article .image_hover {
  height: 70%;
  display: flex;
  align-items: center;
}

#service p {
  font-size: 90%;
  padding: 6px 0px; /* 減少內部空間 */
  margin-top: -5px; /* 將文字往上移 */
  color: #777;
}

#service p span {
  padding: 6px 0px; /* 保持內部間距 */
  margin-top: -3px; /* 輕微調整文字位置 */
  color: #000;
}

.image_hover {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
}

.image_hover img {
  margin: auto;
  transition: transform 0.6s ease;
}

.image_hover:hover img {
  transform: scale(1.2);
}

.project .dfd-folio-categories .byline.category {
  display: inline-block;
  overflow: hidden;
  margin-bottom: 10px;
}

span.cat-name {
  background: #1c99ed;
  padding: 5px 10px;
  border-radius: 10px;
  display: flex;
  align-items: center; /* 垂直置中 */
  justify-content: center; /* 水平置中 */
}



/*about-us第一階層語法*/
#bodyinpage.about-us .fcol.fcol-1 {
  background-image: url(https://static.iyp.tw/16567/files/3a9ebe73-647e-4e9a-85fe-c0cf26e673d0.jpg); 
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
  
}

#bodyinhome.index .fcol.fcol-header {
  background-image: url(); /* 设置背景图片 */
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
  display:none;  
}
#bodyinpage.about-us .fcol.fcol-header {
  background-image: url(); /* 设置背景图片 */
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
  display:none;  
}
#bodyinpage.services .fcol.fcol-header {
  background-image: url(); /* 设置背景图片 */
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
  display:none;  
}
#bodyinpage.equipment .fcol.fcol-header {
  background-image: url(); /* 设置背景图片 */
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
}
#bodyinpage.promotion-project .fcol.fcol-header {
  background-image: url(); /* 设置背景图片 */
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
}
#bodyinpage.contact-us .fcol.fcol-header {
  background-image: url(); /* 设置背景图片 */
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
  display:none;  
}

#bodyinpage.about-us .fcol.fcol-2 {
    background:url(https://static.iyp.tw/16567/files/386d48b3-0427-4cea-8ba2-c5d6fabdec7c.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
  background-attachment:fixed;

}  

#bodyinpage.about-us .fcol.fcol-3 {
  background:url(https://static.iyp.tw/16567/files/f0151e6f-802c-4f0e-84ad-6efad8361f8b.jpg)no-repeat;
 background-position:top center;
  background-size:cover;
  background-attachment:fixed;

}  
#bodyinpage.product .fcol.fcol-1 {
  background:url()no-repeat;
  background-position: top center;
  background-size: cover;
  padding-top: 40px;   /* 上方内边距 */
  padding-bottom: 40px; /* 下方内边距 */
}
#bodyinpage.about-us .fcol.fcol-4 {
  background-image: url(); /* 设置背景图片 */
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
  background-color:#d4f2ff;  
  display:none; 
}

#bodyinpage.about-us .fcol.fcol-5 {
  background:url(https://static.iyp.tw/16567/files/aa296433-2bf9-4c40-9615-bb68e9792928.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
  background-attachment:fixed;

}  

#bodyinpage.about-us .fcol.fcol-6 {
  background-image: url(); /* 设置背景图片 */
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
  background-color: #80AADA;   
  height: 450px;
  display:none;  
}

#bodyinpage.services .fcol.fcol-1 {
  background-image: url(); /* 设置背景图片 */
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
  background-image: linear-gradient(to right, #ffc107, #ffecb3);
}
#bodyinpage.services .fcol.fcol-2 {
  background-image: url(); /* 设置背景图片 */
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
}
#bodyinpage.services .fcol.fcol-3 {
  background-image: url(); /* 设置背景图片 */
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
  display:none; 
}
#bodyinpage.services .fcol.fcol-4 {
  background-image: url(); /* 设置背景图片 */
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
  display:none; 
}
#bodyinpage.services .fcol.fcol-5 {
  background-image: url(); /* 设置背景图片 */
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
  display:none; 
}
#bodyinpage.services .fcol.fcol-6 {
  background-image: url(); /* 设置背景图片 */
  background-position: top center; /* 设置背景图像位置 */
  background-size: cover; /* 背景图像覆盖整个元素 */
  display:none; 
}

/*輪播*/
/*owl*/
.owl-carousel.owl-theme {
  padding: 0 1rem 2rem;
}
.owl-carousel.owl-theme .owl-nav {
  top: 50%;
  margin: 0;
  transform: translateY(-50%);
}
.owl-carousel.owl-theme .owl-dots {
  bottom: 0;
}
.owl-carousel.owl-theme button:focus {
  outline: none;
}
.owl-carousel.owl-theme .owl-nav,
.owl-carousel.owl-theme .owl-dots {
  position: absolute;
  left: 0;
  right: 0;
}
.owl-carousel.owl-theme .owl-nav .owl-prev {
  float: left;
  transform: translateX(-100%);
}
.owl-carousel.owl-theme .owl-nav .owl-next {
  float: right;
  transform: translateX(100%);
}
.owl-carousel.owl-theme .owl-nav .owl-prev:hover,
.owl-carousel.owl-theme .owl-nav .owl-next:hover{
  background: none;
  color: inherit;
}
.owl-carousel.owl-theme .owl-nav .fa{
  font-size: 3em; /*箭頭大小*/
}

.editmode .owl-carousel.owl-loaded {
  display: flex;
  flex-wrap: wrap;
}
.editmode .owl-carousel > div {
  flex: 0 0 25%;
  max-width: 25%;
}
body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }




/*文字線條*/
.shape-ex2{
    font-size: 18px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
}
.shape-ex2-line{
    width: 0%;
    height: 1px;
    background-color: #000;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: all .3s linear;
}
.shape-ex2:hover .shape-ex2-line{
    width: 100%;
}
/*文字底色*/
.shape-ex4{
    font-size: 18px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    transition: all .3s linear;
}
.shape-ex4:hover{
       color: #fff;
    background-color: #88ddff
}

/*文字變色*/
.shape-ex3{
    font-size: 18px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    transition: all .3s linear;
}
.shape-ex3:hover{
    color: #f9ff4d;
}


/*按鈕*/
.myButton {
	box-shadow: 0px 1px 0px 0px #1c1b18;
	background:linear-gradient(to bottom, #eae0c2 5%, #ccc2a6 100%);
	background-color:#eae0c2;
	border-radius:15px;
	border:1px solid #333029;
	display:inline-block;
	cursor:pointer;
	color:#505739;
	font-family:Arial;
	font-size:14px;
	font-weight:bold;
	padding:12px 16px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;
}
.myButton:hover {
	background:linear-gradient(to bottom, #ccc2a6 5%, #eae0c2 100%);
	background-color:#ccc2a6;
}
.myButton:active {
	position:relative;
	top:1px;
}


/*按鈕1*/

.myButton1 {
	box-shadow: 0px 10px 14px -7px #276873;
	background:linear-gradient(to bottom, #599bb3 5%, #408c99 100%);
	background-color:#599bb3;
	border-radius:8px;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:37px;
	font-weight:bold;
	padding:30px 130px;
	text-decoration:none;
	text-shadow:0px 1px 0px #3d768a;
}
.myButton1:hover {
	background:linear-gradient(to bottom, #408c99 5%, #599bb3 100%);
	background-color:#408c99;
}
.myButton1:active {
	position:relative;
	top:1px;
}
@media screen and (max-width: 480px) {
  .myButton1 {
    text-shadow:0px 1px 0px #3d768a;
  }
}

  
/*文字1*/
.white-with-blue-shadow {
  text-shadow:
    1px 1px 2px black,
    0 0 1em blue,
    0 0 0.2em blue;
  color: white;
  font:
    1.5em Georgia,
    "Bitstream Charter",
    "URW Bookman L",
    "Century Schoolbook L",
    serif;
}

/*按鈕2*/
.myButton2 {
    box-shadow: 0px 1px 0px 0px #1c1b18;
    background: linear-gradient(to bottom, #eae0c2 5%, #ccc2a6 100%);
    background-color: #eae0c2;
    background-image: url(https://static.iyp.tw/409577/files/b30836c5-9b91-405e-87e3-29bf2c7dbe62.jpg);
    background-position: center center;
    background-size: cover;

    border-radius: 15px;
    border: 1px solid #333029;
    display: inline-block;

    cursor: pointer;
    color: #FA7D00;
    font-family: bold;
    font-size: 32px;
    font-weight: bold;
    text-decoration: none;

    padding: 40px;
    width: 100%;
    height: auto;
    min-height: 100px;
    max-width: 100%;
    line-height: 1.2;
    text-align: center;
    position: relative;
    overflow: hidden; /* 防止文字溢出 */
    word-wrap: break-word;
    word-break: break-word;
    transition: color 0.3s ease; /* 添加文字顏色過渡效果 */
}

.myButton2::before {
    content: ""; /* 必須有內容才能顯示 */
    position: absolute;
    top: 0;
    left: -100%; /* 初始位置在左邊 */
    width: 100%;
    height: 100%;
    background: rgba(255, 223, 0, 0.7); /* 半透明黃色覆蓋層 */
    z-index: 1; /* 確保位於文字下方但高於背景圖片 */
    transition: all 0.4s ease; /* 平滑動畫過渡 */
}

.myButton2:hover::before {
    left: 0; /* 懸停時將黃色覆蓋層移動到按鈕上 */
}

.myButton2:hover {
    color: #333; /* 懸停時文字顏色變暗 */
}

.myButton2 span {
    position: relative; /* 確保文字位於覆蓋層上方 */
    z-index: 2;
}


/* 手機板響應式設計 */
@media (max-width: 768px) {
    .myButton2 {
    font-size: 49px;
    padding: 50px;
    min-height: 150px;
    }
}
/*按鈕3*/
.myButton3 {
	box-shadow: 0px 1px 0px 0px #1c1b18;
	background:linear-gradient(to bottom, #eae0c2 5%, #ccc2a6 100%);
	background-color:#eae0c2;
	border-radius:15px;
	border:1px solid #333029;
	display:inline-block;
	cursor:pointer;
	color:#505739;
	font-family:Arial;
	font-size:22px;
	font-weight:bold;
	padding:40px 90px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;
}
.myButton3:hover {
	background:linear-gradient(to bottom, #ccc2a6 5%, #eae0c2 100%);
	background-color:#ccc2a6;
}
.myButton3:active {
	position:relative;
	top:1px;
}
/*框3*/
.zi_box_1 {
border: 2px solid #69b4ff;/* 框線顏色 */
margin: 2em 0;
padding: 20px;
position: relative;
}
.zi_box_1::before {
background-color: #fff;
color: #69b4ff;
/*content: "POINT";標題*/
font-weight: bold;
left: 1em;
padding: 0 .5em;
position: absolute;
top: -1em;
}
/*框4*/ 
.image-container {
    width: 300px; /* 外部容器的寬度 */
    height: 200px; /* 外部容器的高度 */
    margin: 50px auto; /* 讓圖片區域水平置中 */
    border-radius: 15px; /* 外部容器圓角 */
    overflow: hidden; /* 隱藏超出範圍的內容 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 輕微陰影 */
    border: 2px solid #ccc; /* 外部容器的裝飾性線條 */
    position: relative; /* 用於定位內部容器和文字 */
}

.image-inner-container {
    width: 100%; /* 內部容器寬度與外部一致 */
    height: 100%; /* 內部容器高度與外部一致 */
    padding: 1.5px; /* 內部容器與外部容器間的距離 */
    background-color: white; /* 內部容器背景色 */
    box-sizing: border-box; /* 確保內部容器不改變外部容器大小 */
    border-radius: 13px; /* 內部容器圓角，稍微小於外部容器 */
    border: 2px solid #f0f0f0; /* 內部容器的邊框 */
    overflow: hidden; /* 隱藏超出範圍的內容 */
    background-image: url(''); /* 背景圖片 */
    background-size: cover; /* 背景圖片完全覆蓋容器 */
    background-position: center center; /* 背景圖片居中顯示 */
    transition: filter 0.3s; /* 圖片過渡效果 */
}

.image-container:hover .image-inner-container {
    filter: brightness(85%); /* 當滑鼠移動到圖片上，圖片變淡 */
}

.overlay-text {
    position: absolute; /* 絕對定位文字 */
    top: 50%; /* 垂直居中 */
    left: 50%; /* 水平居中 */
    transform: translate(-50%, -50%); /* 精確居中 */
    font-size: calc(10px + 1.5vw); /* 根據視窗寬度動態調整文字大小 */
    color: white; /* 初始文字顏色 */
    font-weight: bold; /* 字體加粗 */
    text-align: center; /* 文字居中對齊 */
    transition: color 0.3s ease; /* 文字顏色平滑過渡 */
}

.image-container:hover .overlay-text {
    color: yellow; /* 當滑鼠移動到圖片上，文字顏色變成黃色 */
}

.image-container:hover .overlay-text {
    color: yellow; /* 當滑鼠移動到圖片上時，文字顏色變成黃色 */
}



/*service*/
.service_img {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 3px solid white;
  width: 100%; /* 設定固定的寬度 (根據你的需求調整) */
  height: 300px; /* 設定固定的高度 (根據你的需求調整) */
}

.service_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service_text {
  position: absolute;
  display: table-cell;
  z-index: 999;
  text-align: center;
  vertical-align: middle;
  width: 100%;
  height: 100%;
  color: #fff;
  top: 0px;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 15px 15px 15px;
  background: rgba(0, 0, 0, 0);
  text-shadow: black 0.1em 0.1em 0.2em;
  opacity: 1; /* 預設文字隱藏 */
  transition: opacity 0.5s; /* 文字淡入效果 */
}

.service_img:hover .service_text {
  opacity: 1; /* 滑鼠移到圖片上顯示文字 */
}

.service_img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%; /* 初始高度為 0 */
  background: rgba(255, 255, 255, 0.5); /* 透明黃色 */
  transition: height 0.5s ease-in-out; /* 高度變化的動畫 */
  border-radius: inherit; /* 繼承父元素的圓角 */
}

.service_img:hover::before {
  height: 100%; /* 滑鼠移到圖片上高度變為 100% */
}

.service_text div {
  font-size: 39px;
  line-height: 30px;
  position: relative;
  top: 45%;
  font-weight: bold;
}

@media (max-width: 768px) {
  .service_text div {
    font-size: 22px;
    line-height: 30px;
    position: relative;
    top: 45%;
  }
}
/*TEL2按鈕*/
#call2 a.more-btn {
  position: relative;
  margin-top: 0px;
  padding: 12px 15px;
  border: solid 1px #fff;
  color: #fff;
  font-size: 25px;
  border-radius: 0em;
  display: inline-block;
  z-index: 9999;
  width: 95%;
}

@media(max-width:428px){
#call2 a.more-btn {
  position: relative;
  margin-top: 0px;
  padding: 10px 12px;
  border: solid 1px #093b7a;
  color: #093b7a;
  font-size: 22px;
  border-radius: 0em;
  display: inline-block;
  z-index: 9999;
   width: 100%;
 }
}  

#call2 a.more-btn span {
    color: #fff;
}

#call2 a.more-btn:hover{
    color: #fff !important;
    text-decoration: none;
}

#call2 a.more-btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  background-color:#093b7a;
  left: 0px;
  top: 0px;
  bottom: 0px;
  width: 0px;
  border-radius: 0em;
}


#call2 a.more-btn:hover:before {
    right: 0px;
    width: 100%;
    border-radius: 0em;
}

#call2 a.more-btn:before {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}


#call2 a.more-btn span {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
/*TEL3按鈕*/
#call3 a.more-btn {
  position: relative;
  margin-top: 0px;
  padding: 12px 15px;
  border: solid 1px #; /* 暖灰色邊框 */
  color: #fff;
  font-size: 25px;
  border-radius: 0em;
  display: inline-block;
  z-index: 9999;
  width: 95%;
}

@media (max-width: 428px) {
  #call3 a.more-btn {
    position: relative;
    margin-top: 0px;
    padding: 10px 12px;
    border: solid 1px #; /* 暖灰色邊框 */
    color: #093b7a;
    font-size: 22px;
    border-radius: 0em;
    display: inline-block;
    z-index: 9999;
    width: 100%;
  }
}

#call3 a.more-btn span {
  color: #fff;
}

#call3 a.more-btn:hover {
  color: #fff !important;
  text-decoration: none;
}

#call3 a.more-btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 0%;
  height: 100%;
  background: #75b75d;
  transform: translateX(-50%);
  border-radius: 0em;
  transition: all 0.3s ease-out;
}

#call3 a.more-btn:hover::before {
  width: 100%;
  left: 0;
  transform: translateX(0);
  border-radius: 0em;
}

#call3 a.more-btn span {
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

/*TEL4按鈕*/
#call4 a.more-btn {
  position: relative;
  margin-top: 0px;
  padding: 12px 15px;
  border: solid 1px #D3B8AE; /* 暖灰色邊框 */
  color: #093b7a;
  font-size: 25px;
  border-radius: 0em;
  display: inline-block;
  z-index: 9999;
  width: 95%;
  transition: all 0.3s ease-out; /* 添加過渡動畫 */
}

@media (max-width: 428px) {
  #call4 a.more-btn {
    position: relative;
    margin-top: 0px;
    padding: 10px 12px;
    border: solid 1px #D3B8AE; /* 暖灰色邊框 */
    color: #093b7a;
    font-size: 22px;
    border-radius: 0em;
    display: inline-block;
    z-index: 9999;
    width: 100%;
    transition: all 0.3s ease-out; /* 添加過渡動畫 */
  }
}

#call4 a.more-btn span {
  color: #fff;
}

#call4 a.more-btn:hover {
  color: #fff !important;
  text-decoration: none;
  border-color: #093b7a; /* 邊框顏色變為背景漸變的顏色 */
  border-radius: 50px; /* 邊框圓角同步變化 */
}

#call4 a.more-btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 0%;
  height: 100%;
  background:  #093b7a
  transform: translateX(-50%);
  border-radius: 0em;
  transition: all 0.3s ease-out;
}

#call4 a.more-btn:hover::before {
  width: 100%;
  left: 0;
  transform: translateX(0);
  border-radius: 50px; /* 背景圓角同步變化 */
  background: #093b7a
}

#call4 a.more-btn span {
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}


/*選單被景色*/
#nav .subnav {
  position: absolute;
  top: 100%;
  z-index: 998;
  background-color: #f5f2f2;
  opacity: 0;
  pointer-events: none;
  -webkit-transform: rotateX(-75deg);
  transform: rotateX(-75deg);
  -webkit-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  transform-origin: 0 0;
  transition: opacity 0.3s ease-in-out,-webkit-transform 0.25s cubic-bezier(0.7, 0, 0.3, 1);
  transition: opacity 0.3s ease-in-out,transform 0.25s cubic-bezier(0.7, 0, 0.3, 1);
  transition: opacity 0.3s ease-in-out,transform 0.25s cubic-bezier(0.7, 0, 0.3, 1),-webkit-transform 0.25s cubic-bezier(0.7, 0, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
/*手機選單*/
@media only screen and (min-width: 768px) {
  .topnavbar {
    background-color: #ffffff; /* 桌面版導覽列顏色 */
  }
}

.navbar {
  background-color: #6e4b3a; /* 手機版導覽列背景顏色（深棕） */
}

#nav ul li a {
  color: #a97458; /* 桌面版選單文字顏色（焦糖棕） */
}

.rwd-navbar-toggle {
  float: right;
}

.navbar-nav {
  margin-right: 15px;
}

@media only screen and (max-width: 767px) {
  .rwd-side {
    transform: translateX(100%);
  }
}

/*手機版選單展開的樣式*/
@media only screen and (max-width: 767px) {
  .rwd-navbar-toggle:before,
  .rwd-side {
    background-color: #6e4b3a; /* 手機版選單背景顏色（深棕） */
  }

  .rwd-side a {
    color: #f5e4d3; /* 手機版選單選項文字顏色（奶茶色） */
  }

  .rwd-side .product-search input[type="text"],
  .rwd-side .product-search input[type="text"]:focus {
    background-color: #FFF; /* 搜尋輸入框背景 */
  }

  .rwd-side .nav li {
    border-bottom: 1px #ccc solid;
  }

  .rwd-side .language > a {
    padding-left: 0px;
  } 
}

.rwd-side.menu-open {
  background: #FFF;
}

.navbar-icon-bar {
  height: 4px;
  background-color: #a97458; /* 漢堡條顏色（焦糖棕） */
}

.navbar-icon-bar:before,
.navbar-icon-bar:after {
  background-color: #a97458; /* 上下條顏色 */
}

.navbar-icon-bar:before {
  transform: rotate(180deg);
  top: 0px;
}

.navbar-icon-bar:after {
  transform: rotate(90deg);
  top: 0px;
}

.menu-open .navbar-icon-bar:before {
  transform: rotate(0deg);
}

.menu-open .navbar-icon-bar:after {
  transform: rotate(0deg);
}

body[data-type="fullpage"] .navbar-nav > li > a {
  line-height: initial;
}

@media only screen and (max-width: 480px) {
  .sr.row .col-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

.rwd-navbar-toggle .label {
  color: #ffffff;
  background: #eddcd3;
  padding: 1px;
  border-radius: 2px;
}


/* 40px */
.toTop-arrow {
	width: 3rem;
	height: 3rem;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 50%;
	opacity: 0.9;
	background: #093b7a;
	cursor: pointer;
	position:fixed;
	right: 0.8rem;
	bottom: 1rem;
	display: none;
}
.toTop-arrow::before, .toTop-arrow::after {
	width: 22px;
	height: 6px;
	border-radius: 3px;
	background: #75b75d;
	position: absolute;
	content: "";
}
.toTop-arrow::before {
	transform: rotate(-45deg) translate(0, -50%);
	left: 0.5rem;
}
.toTop-arrow::after {
	transform: rotate(45deg) translate(0, -50%);
	right: 0.5rem;
}
.toTop-arrow:focus {outline: none;}

@media screen and (max-width: 768px) { 
.toTop-arrow {
  right: 0.5rem;
}
}


/* 產品格 */
#service777 .list article {
  background-color: rgba(255, 255, 255, 0.9); /* 白色 + 透明度 */
  border-radius: 12px;                       /* 圓角 */
  width: 90%;
  margin: 0%;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.16);
  padding: 15px 15px 0px;
  text-align: left;
  height: 300px;
  overflow: hidden;                         /* 確保圓角顯示 */
}

@media screen and (max-width: 768px) {
  #service777 .list article {
    height: 180px;
  }
}

#service777 .list article a {
  display: block;
}

#service777 .list article .image_hover {
  height: 85%;
  display: flex;
  align-items: center;
  border-radius: 8px; /* 也為圖片容器加一點圓角 */
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  #service777 .list article .image_hover {
    height: 80%;
  }
}

#service777 p {
  font-size: 90%;
  padding: 8px 0px;
  color: #777;
}

#service777 p span {
  padding: 8px 0px;
  color: #000;
}

.image_hover {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
}

.image_hover img {
  margin: auto;
  transition: transform 0.6s ease;
  border-radius: 8px; /* 圓角圖片 */
}

.image_hover:hover img {
  transform: scale(1.2);
}

.project .dfd-folio-categories .byline.category {
  display: inline-block;
  overflow: hidden;
  margin-bottom: 10px;
}



/* 正方變圓*/
span.cat-name {
  background: #24a4d9;
  padding: 5px 5px;
  float: right;
  margin-top: -25px;
}

.menu [class^="col-"] img {
  transition: opacity 0.3s ease-in-out, border-radius 0.7s;
  border-radius: 50%;
  border: 1px #dddddd solid;
  padding: 6px;
  opacity: 1;
  width: auto; /* 讓圖片根據內容自動調整寬度 */
  max-width: 100%; /* 但不超過容器寬度 */
  height: auto;
  display: block;
  margin-left: auto; /* 水平置中 */
  margin-right: auto; /* 水平置中 */
}

.menu [class^="col-"] img:hover {
  border-radius: 8px;
  opacity: 0.7;
}

/* 正方變圓 CSS */
.menu [class^="col-"] a {
  position: relative;
  display: block;
  overflow: hidden; /* 確保文字在容器內 */
}

.image-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  text-align: center;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
  font-size: 22px; /* 設定文字大小為 16 像素 */
}

.menu [class^="col-"] a:hover .image-text {
  opacity: 1;
}
.menu [class^="col-"] img {
  transition:
opacity 0.3s ease-in-out, border-radius 0.7s;
  border-radius:
52%;
  border:
1px #dddddd solid;
  padding:
5px;
  opacity: 1;
  width: auto;
  max-width: 94%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/* 手機板*/
.menu [class^="col-"] img {
  transition:
opacity 0.3s ease-in-out, border-radius 0.7s;
  border-radius:
52%;
  border:
1px #dddddd solid;
  padding:
3px;
  opacity: 1;
  width: auto;
  max-width: 94%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


/*about_1*/
/*title*/
.aboutArea .titleBox {
  position: absolute;
  top: -28px;
  left: calc(55% + 30px);
  z-index: 1;
  color: #ffd1d1;
}

.titleBox .enTitle {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 62px;
    line-height: 1;
    color:#ffffff;
}

@media (max-width: 1180px) {
    .titleBox .enTitle {
        font-size: 44px;
    }
}

@media (max-width: 420px) {
    .titleBox .enTitle {
        font-size: 36px;
    }
}

.titleBox .enTitle span {
    -webkit-text-stroke: 1px #;
    color: transparent;
    font-weight: bold;
}


.about .aboutBox {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

@media (max-width: 767px) {
  .about .aboutBox {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

.about .aboutBox .articleBox {
  margin-bottom: 50px;
}

@media (max-width: 1180px) {
  .about .aboutBox .articleBox {
    margin-bottom: 20px;
  }
}

@media (max-width: 420px) {
  .about .aboutBox .articleBox {
    margin-bottom: 10px;
  }
}


.about .aboutBox .subTitle {
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
}

.service_text {
  position: absolute;
  display: table-cell;
  z-index: 999;
  text-align: center;
  vertical-align: middle;
  width: 100%;
  height: 100%;
  color: #fff; /* 初始文字顏色為白色 */
  top: 0;
  left: 0;
  padding: 0 15px 15px 15px;
  background: rgba(0, 0, 0, 0);
  text-shadow: black 0.1em 0.1em 0.2em;
  opacity: 0; /* 文字預設就顯示 */
  transition: color 0.3s, opacity 0.5s;
}

.service_img:hover .service_text {
  color: #ffcc00; /* 滑鼠移上去變黃色 */
}

/*SVG LOGO調整
#logo img, .modal .logo img {
  width: 100%;
  height: auto; 
}
*/

.navbar-nav > li > a {
    color: #2A323D;
}

.topnavbar .container {
  text-align: justify;
  font-size: 0;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

.topnavbar {
   background-color: #FCFCFC;
   top:0px;
   padding: 0;
   position: relative;
   z-index:100;
   width:100%;
}

/* LOGO調整*/
@media only screen and (max-width: 767px) {
  .topnavbar .container {
    text-align: center;
    font-size: initial; /* 或 14px、16px， */
  }
}
