.phone-1{position:fixed;right:1%;top:40%;z-index:1000;}
.fb{position:fixed;right:1%;top:52%;z-index:1000;}
.line-1{position:fixed;right:1%;top:64%;z-index:1000;}

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 430px){ 
  .phone-1, .fb, .line-1, .ig, .map, .wechat, .shop-1, .x-twitter, .pixnet, .youtube-1, .tiktok , .thread , .messenger-link , .mail-1 { 
    transform: scale(0.8);
    right:0;
  }
}

/*根元素*/
:root{
--bg:#ffffff; /* 背景(白) var(--bg)*/
--p:#000000; /* 段落文字 var(--p)*/
--card:#f1f1f1; /* 卡片底(淺灰) var(--card)*/
--text:#222222; /* 主要文字(深黑) var(--text)*/
--text2:#9d6c1d; /* h3次要文字(棕) var(--text2)*/
--text3:#cca965; /* h4次要文字(淺棕) var(--text3)*/
--text4:#ebe1a1; /* 次要文字(淺黃) var(--text4)*/
--shadow: 0 5px 10px rgba(0,0,0,.25); /* 陰影 var(--shadow)*/
--gradient: linear-gradient(120deg, var(--text2) 0%, var(--text3) 100%); /* 漸層 var(--gradient)*/
}

/*logo&頁籤選單文字區塊左右靠齊*/
.topnavbar {
    background-color: var(--text);/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding: 0;
}

.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; }/* 讓頁籤選單文字靠右 */


body {
    background-color: #fff;/*背景底色*/
    font-family: 'Noto Sans TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/
}


/*動到表格手機不會破版*/
table {
  table-layout: fixed;
  word-wrap:break-word;
} 

hr {
  border-top: 1px solid #ddd;
  border-bottom: 0;
  margin: 2em 0;
}

/*編輯欄設定*/
#main-wrap .container {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--p);
}/*編輯欄文字*/

body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}

.fcol p{  
  line-height: 2;
  text-wrap: pretty ;  /*適用內文,段落避開孤字*/
 }

h1, h2, h3, h4, h5, h6 { 
  text-wrap: balance ;  /*適用標題和短文案,視覺效果更平衡*/
} 

.fcol h2 { 
  color: var(--text);
  font-size: clamp(26px, 3vw, 36px);/*最小值 首選值 最大值 限制屬性值區間*/
}

.fcol h3 { 
  color: var(--text2);
  font-size: clamp(24px, 3vw, 30px);/*最小值 首選值 最大值 限制屬性值區間*/
}

.fcol h4 { 
  color: var(--text3);
  font-size: clamp(20px, 3vw, 24px);/*最小值 首選值 最大值 限制屬性值區間*/
}

/*nav*/
#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 1.0rem;/*頁籤文字大小*/
    color: var(--bg);/*頁籤文字顏色*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: var(--text3);/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: var(--text3);/*頁籤按下後文字顏色*/
    font-weight: 500;
}

#nav .subnav {
    background-color: #444;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
    width: max-content;/*最大內容*/
    text-align: left;
}

#nav .subnav .has-subnav span{
    max-width: 400px;/*次頁籤文字背景最大寬度*/
}

#nav li.has-subnav ul li.has-subnav>div a::after, #nav>ul>li.has-subnav>a::after {
    padding-left: 2px;/*下拉選單箭頭距離*/
}

/*產品頁*/
#side h3 {
  background-image: var(--gradient);
  font-size: 1.4em;
  font-weight: 700;
  color: var(--bg);
}
#side ul li a {
  font-size: 16px;
  color: #333;
  border-bottom: 1px dashed #ddd;
}
#side ul li a:hover {
  color: var(--text);
}

ul.product-list li a {
    color: var(--text);/*產品格文字顏色*/
    background-color: #eee;/*產品格底色*/
}
ul.product-list li a:hover {
    color: var(--text2);/*產品格滑過文字顏色*/
}
.productdetail .detail-spec h2 {
    color: #333;
    font-size: 30px;
}/*產品內頁標題文字*/


/*分頁title文字*/
.h1title h1{
    color: var(--text);
}

a {
    color: var(--text2);/*連結顏色*/
    text-decoration: none;
}

.swiper-container {
  height: auto !important; /* 將容器預設的高拿掉 */
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(750 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important; /* 強制圖片寬度隨容器變更 */
}

@media only screen and (min-width: 769px){
  #bodyinhome .fcol.fcol-1 .container,
  #bodyinhome .fcol.fcol-2 .container,
  #bodyinhome .fcol.fcol-3 .container { width: 90%; }
}

#bodyinhome .fcol.fcol-4 .container {
   width: 100%;
}

/*公司名稱-副標*/
.subtitle-1 {
    font-size: clamp(14px, 2vw, 20px);
    font-weight: 500;
    background-color: var(--text2);
    color: var(--bg);
    padding: 0 10px;
  margin-top: 5px;
}

.about-box1 {
   padding: clamp(1em,2vw,2em);
    background-image: url(https://static.iyp.tw/409971/files/d4194c27-6db5-47c0-9f14-76cbe08993a1.jpg);
    background-repeat: no-repeat;
    background-position: 100% 10%;
    background-size: 100% auto;
}
.about-box1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
    background-image: -webkit-linear-gradient(350deg, rgb(250 250 250 / 100%) 45%, rgb(255 255 255 / 0%) 80%);
    background-repeat: no-repeat;
    background-position: center;
}

.about-box2 {
   padding: clamp(1em,2vw,2em);
    background-image: url(https://static.iyp.tw/409971/files/fc972e12-25e1-433c-b398-937c345b3c38.jpg);
    background-repeat: no-repeat;
    background-position: 100% 0%;
    background-size: auto 100%;
}
.about-box2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
    background-image: -webkit-linear-gradient(350deg, rgb(250 250 250 / 100%) 45%, rgb(255 255 255 / 0%) 80%);
    background-repeat: no-repeat;
    background-position: center;
}
/*項目ul circle-check-圓底勾勾*/
.check-1 { 
  font-size: clamp(14px, 2vw,16px);
  color: #000;
  line-height: 1.5;
}
.check-1 li::before {
  font: var(--fa-font-solid);
  content: "\f058";
  color: var(--text2);
  margin-right: 5px;
}

/*按鈕-文字底色變化特效*/
.custom-btn {
    padding: 5px 15px;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.btn-more1 {
  border-radius: 5px; 
  border: 0px solid var(--text);
  color: var(--bg);
  font-size: clamp(14px, 2vw, 16px);
  background-image: var(--gradient);
  font-weight: 400;
}
.btn-more1:hover{
  background-image: linear-gradient(120deg, var(--text3) 0%, var(--text4) 100%); /* 當滑鼠經過時按鈕表格底色變化 */
  color: var(--bg);/* 當滑鼠經過時按鈕表格文字變化 */
}

/*產品介紹圖文特效*/
figure.snip1249 {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  background: var(--text);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  font-family: verdana, geneva;
      display: flex;
    flex-direction: column;
    justify-content: space-between;
  border-radius: 8px;
}
figure.snip1249 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}
figure.snip1249 img{
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  vertical-align: top;
  /*padding: 10px;*/
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
}
figure.snip1249:hover img{
  opacity: 0.8;
}
figure.snip1249 h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--bg);
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
}
figure.snip1249 p {
  margin: 0;
  color: var(--bg);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.5;
}
figure.snip1249 figcaption {
  padding: 5px 20px;
    color: var(--text3);
    position: relative;
    font-size: 0.9em;
    display: flex;
    flex-direction: column;
}

figure.snip1249 .btn-more {
  border: 1px solid var(--text3);
    padding: 0.4em 0.6em;
    color: var(--text3);
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    margin: 10px 20px;
    text-align: center;
    letter-spacing: 5px;
}

figure.snip1249:hover .btn-more {
  background-color: #444;
  color: #ffffff;
}
figure.snip1249 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

/*數據信任 Data trust*/
.data-trust {
  background-color: var(--text);
  color: var(--bg);
  padding: 1.5em;
  border-radius: 8px;
}
.data-trust>div {
  display: grid;
  grid-template-columns: clamp(55px, 6vw, 80px) clamp(90px, 10vw, 120px);
  align-items: center;
  justify-content: center;
}
.data-trust i {
  font-size: clamp(1.5em, 3vw, 2.5em);
  color: var(--text3);
    border: 1px solid var(--text3);
    border-radius: 100%;
    aspect-ratio: 1 / 1;
    padding: clamp(5px, 1vw, 10px);
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: polygon(55% 0, 100% 1%, 95% 100%, 0 98%, 5% 10%);
}
.data-trust p { font-size: clamp(14px, 1.5vw, 16px); line-height: 1.2; }

.data-trust [class^=col-]:nth-child(n+1):nth-child(-n+3) { border-right: 1px dashed var(--text3); }
@media only screen and (max-width: 540px){
  .data-trust [class^=col-]:nth-child(n+1):nth-child(-n+3) { border-right:none; border-bottom: 1px dashed var(--text3); }
}

/*服務流程箭頭*/
.Process { display: flex; justify-content: center;margin: 0 auto; gap: 1em; }
.Process [class^=col-] {
  display: grid;
  grid-template-columns: 70px 150px;
  align-items: center;
  justify-content: center;
}
.Process [class^=col-]:nth-child(n+1):nth-child(-n+4)::after {
  font: var(--fa-font-solid);
  content: "\f0a9"; /*向右箭頭*/
  position: absolute;
  right: 0;
  font-size: 20px;
} 
@media only screen and (max-width: 991px){
.Process [class^=col-]:nth-child(n+1):nth-child(-n+4)::after {
  content: "\f0ab"; /*向下箭頭*/
  position: relative;
  bottom: 0;
  top:50%;
  left: 150%;
}}

.Process i {
  font-size: 3em;
  color: var(--text2);
}

/*footer*/
#footer {
  color:#fff;
}
#footer a { color: var(--text3); }
#footer a:hover { color: var(--text2); }

#foot-nav {
  clear: both;
  padding: 2em 0 0;
  border-bottom: 1px solid #444;
  display: flex;
  justify-content: center;
  margin-bottom: 2em;
}
