.phone{position:fixed;right:1%;top:40%;z-index:1000;}
.phone_02{position:fixed;right:1%;top:52%;z-index:1000;}

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 430px){ 
  .phone, .fb, .line-1, .ig, .map, .wechat, .shop-1, .phone-1, .pixnet, .youtube-1, .tiktok , .thread { 
    transform: scale(0.8);
    right:0;
  }
}




/*按鈕-文字底色變化特效*/
.custom-btn {
    padding: 5px 25px;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.btn-more1 {
    border-radius: 30px;
    border: 0px solid #000;
    color: #fff;
    font-size: clamp(14px, 2vw, 16px);
    background-color: #ebb911;
     font-weight: 500;
}
.btn-more1:hover{
    background-color: #b5967c; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}


/*table語法 -讓手機不會破版*/
table {
table-layout: fixed;
word-wrap:break-word;
}


.topnavbar {
   background-color: #fff;/*頁籤底圖顏色;background-color: rgba(0,0,0,0);透明*/
    position: relative;/*頁籤&banner分開不重疊*/
    height: 135px;/*頁籤底圖高度*/
    padding: 0;/*頁籤間距*/ 
    border-bottom-width: 50px;/*頁籤底圖下邊框*/
    border-bottom-style: solid;/*頁籤底圖下邊框樣式(solid實線;dashed虛線;double雙線)*/
    border-bottom-color: #2d5c85;/*頁籤底圖下邊框顏色*/
   line-height: 0;
}

.topnavbar .container {
   text-align: center;
  padding: 0;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

body {
    background-color: #fff;/*背景底色*/
    font-family: 'Noto Sans TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/
}

/*logo置頂*/

#logo h1 { 
  text-align: center; 
  height: 70px;
}


/*動到表格手機不會破版*/
table {
  table-layout: fixed;
  word-wrap:break-word;
} 


body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}

.fcol h2 { 
    color: #ffba00;
  font-size: clamp(0.8rem, 2vw, 1.5rem); 
 /*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2; 
}

.fcol h4 { 
  color: #fc4138;
    font-size: clamp(1.0rem, 2vw, 2.0rem);/*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2;
  margin-bottom: 1rem;
  display: inline-block;
  border-bottom: 3px solid #f4db84;
}

.fcol h4::before { 
    content: '';
    display: block;
    height: 3rem;
    width: 3rem;
    background-color: #f4db84;
    border-radius: 100%;
    margin-left: -10px;
    margin-bottom: -3.5rem;

}
.fcol h3 { 
    color: #ffba00;
  font-size: clamp(1.0rem, 3vw, 2.0rem); 
 /*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2;  
}

/*nav*/
#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #fff;/*頁籤文字顏色*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #b9dfff;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #b9dfff;/*頁籤按下後文字顏色*/
    font-weight: 500;
}

#nav .subnav {
    background-color: #fff;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
    width: max-content;/*最大內容*/
    text-align: left;
}

#nav li.has-subnav ul li.has-subnav>div a::after, #nav>ul>li.has-subnav>a::after {
    padding-left: 2px;/*下拉選單箭頭距離*/
}

ul.product-list li a {
    color: #033846;/*產品格文字顏色*/
    background-color: #e6e7e9;/*產品格底色*/
}

ul.product-list li a:hover {
    color: #6e685c;/*產品格滑過文字顏色*/
}

/*產品頁產品格圖片填滿*/
ul.product-list div.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*title文字顏色*/
.h1title h1{
    color: #333333;
}

a {
    color: #2a2a2a;/*連結顏色*/
    text-decoration: none;
}

a:hover  {
    color: #1e5a9b;/*連結顏色*/
    text-decoration: none;
}

.swiper-container {
  height: auto !important; /* 將容器預設的高拿掉 */
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(700 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important; /* 強制圖片寬度隨容器變更 */
}

/*各層編輯欄設定*/
#bodyinhome .fcol.fcol-1, #bodyinhome .fcol.fcol-3 { background-color: #000; padding: 3em 0;}


#bodyinhome .fcol.fcol-2 .container {
   padding: 3em 1em;
   width: 100%;
}

#bodyinhome .fcol.fcol-5 {  display:none;}

body.about-us .fcol.fcol-6 { 
   width: 100%;
   background-attachment: scroll;
   background-repeat: no-repeat;
   background-position:50% 50%;
   background-size: cover;
   background-image: -webkit-linear-gradient(top, rgb(0 0 0 / 50%) 0%, rgb(0 0 0 / 50%) 100%),url(https://static.iyp.tw/409970/files/2c3fe85f-bd23-49dc-b72a-32cdc5d327c0.jpg);
   background-color: #000;
  padding: 3rem 0;
}


/*服務項目*/
/*首頁圖文連結特效*/
@import url(https://fonts.googleapis.com/css?family=Open+Sans:600;);
.snip1573 {
  background-color: #000;
  display: inline-block;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
 margin: auto 0 auto;
  max-width: 335px;
  min-width: 150px;
  overflow: hidden;
  position: relative;
  text-align: center;
  width: 100%;
}

.snip1573 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
}

.snip1573:before,
.snip1573:after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
  background-color: #000000;
  border-left: 3px solid #fff;
  border-right: 3px solid #fff;
  content: '';
  opacity: 0.9;
  z-index: 1;
}

.snip1573:before {
  -webkit-transform: skew(45deg) translateX(-155%);
  transform: skew(45deg) translateX(-155%);
}

.snip1573:after {
  -webkit-transform: skew(45deg) translateX(155%);
  transform: skew(45deg) translateX(155%);
}

.snip1573 img {
  backface-visibility: hidden;
  max-width: 100%;
  vertical-align: top;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.snip1573 figcaption {
  top: 50%;
  left: 50%;
  position: absolute;
  z-index: 2;
  -webkit-transform: translate(-50%, -50%) scale(0.5);
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  -webkit-box-shadow: 0 0 10px #000000;
  box-shadow: 0 0 10px #000000;
}

.snip1573 h3 {
  background-color: #000000;
  border: 2px solid #fff;
  color: #fff;
  font-size: 1em;
  font-weight: 600;
  letter-spacing: 0px;
  margin: 0;
  padding: 16px 20px;
  text-transform: uppercase;
}

.snip1573 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

.snip1573:hover > img,
.snip1573.hover > img {
  opacity: 0.5;
}

.snip1573:hover:before,
.snip1573.hover:before {
  -webkit-transform: skew(45deg) translateX(-55%);
  transform: skew(45deg) translateX(-55%);
}

.snip1573:hover:after,
.snip1573.hover:after {
  -webkit-transform: skew(45deg) translateX(55%);
  transform: skew(45deg) translateX(55%);
}

.snip1573:hover figcaption,
.snip1573.hover figcaption {
  -webkit-transform: translate(-50%, -50%) scale(1);
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/*footer*/
#footer {
    color: #fff;
}
#foot-nav {
  clear: both;
  padding: 2em 0 1em;
  border-bottom: 0px solid #444;
  display: flex;
  justify-content: center;
  
}




#foot-nav ul li a {
    display: block;
    color: #e6e6e8;
    font-size: 14px;
    margin-right: 15px;
    padding: 3px 10px;
    background-color: #7d8699;
   border-radius: 5px;
}

#foot-nav ul li a:hover { background-color: #2d5c85; color: #e6e6e8;}

/* 文字新做法*/
#main-wrap .container {
     font-size: clamp(1.0rem, 1.5vw, 1.2rem);
  line-height:30px;
  color: #2d2d2d;
}
#footer {
   font-size: 12px;
}

/*按鈕-文字底色變化特效*/


.btn-fb, .btn-line  {
  border-radius: 10px;
  border: 0px solid #000;
  color: #fff;
  font-size: clamp(28px, 3vw, 30px);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 250px;
}

.btn-fb { background-color: #fd003c;}
.btn-fb:hover {
  transform:scale(1.1);
  background-color: #bf000e;
  top:-10px;
}

.btn-line { background-color: #ffae00;}
.btn-line:hover {
  transform:scale(1.1);
  background-color: #ff8400;
  top:-10px;
}

/*按鈕上下移動特效*/
.btn-move div:nth-child(n) {
  animation: MoveUpDown 3s linear infinite;
  position: relative;
  left: 0;
  bottom: 0;
}
.btn-move div:nth-child(even) {
  animation: MoveUpDown2 3s linear infinite;
  transform: translateY(-10px);
}
@keyframes MoveUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes MoveUpDown2 {
  0%, 100% { transform: translateY(-10px); }
  50% { transform: translateY(0); }
}

/*一站式加工整合服務*/
.card {
    background: #151515;
    border: 1px solid rgba(255, 255, 255, .08);
  padding: 35px 28px;
    text-align: center;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
    transition: .3s;
    color: #fff;
  height: 100%;
}

.card:hover{transform:translateY(-6px)}

.card i {
    width: 78px;
    height: 78px;
    line-height: 78px;
    border-radius: 50%;
    background: #151515;
    color: #ffb100;
    font-size: 32px;
    margin-bottom: 20px;
}

/*聯絡我們*/
.info h3{color:var(--gold2);font-size:28px;margin-bottom:18px}
.info p{border-bottom:1px solid rgba(255,255,255,.1);padding:13px 0}
.info i{color:var(--gold2);width:25px}
