.phone-1{position:fixed;right:1%;top:40%;z-index:1000;}
.line-1{position:fixed;right:1%;top:52%;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:#00315a; /* 主要文字(深藍) var(--text)*/
--text2:#ce9d41; /* h3次要文字(土黃) var(--text2)*/
--text3:#c8bfb0; /* h4次要文字(淺褐) var(--text3)*/
--text4:#808080; /* 次要文字(深灰) var(--text4)*/
--shadow: 0 5px 10px rgba(0,0,0,.25); /* 陰影 var(--shadow)*/
--gradient: linear-gradient(120deg, var(--text) 0%, #759ab9 100%); /* 漸層 var(--gradient)*/
}

/*logo&頁籤選單文字區塊*/
.topnavbar {
    background-color: Transparent;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
   /* position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding: 0;
}
@media only screen and (max-width: 768px){ 
.topnavbar { background-color: var(--text);}
} /* 在螢幕寬度 768px 以下顯現 */

.topnavbar .container {
  padding: 0;  /* 清除內距 */
  display: flex;
  align-items: center;  /* 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黑體*/
}

#logo { text-align: center; }

/*動到表格手機不會破版*/
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);/*最小值 首選值 最大值 限制屬性值區間*/
}

.fcol h5 { 
  color: var(--text);
  font-size: clamp(18px, 2vw, 22px);/*最小值 首選值 最大值 限制屬性值區間*/
}

/*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(--text2);/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: var(--bg);/*頁籤按下後文字顏色*/
    font-weight: 500;
}


/*產品頁*/
#side h3 {
  /*background-color: var(--card);*/
  background-image: var(--gradient);
  border-radius: 10px 10px 0 0;
  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;
}/*產品內頁標題文字*/

/*產品頁產品格圖片填滿*/
ul.product-list div.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*分頁hidden h1標題視覺隱藏但可讀取*/
.h1title h1{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0); /* 舊版瀏覽器相容 */
  clip-path: inset(50%);  /* 現代標準寫法 */
  white-space: nowrap;
  border: 0;
}

a {
    color: var(--text2);/*連結顏色*/
    text-decoration: none;
}

.swiper-container {
  height: auto !important; /* 將容器預設的高拿掉 */
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(900 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important; /* 強制圖片寬度隨容器變更 */
}
/* 
body.about-us .fcol.fcol-1 {
  background-image: -webkit-linear-gradient(top, #ffffff 80% ,var(--text) 80%);
} */
body.about-us .fcol.fcol-2 {
  background-image: -webkit-linear-gradient(top, var(--text) 80% ,var(--card)  80%);
   /*background-color: var(--text);*/
}
body.about-us .fcol.fcol-2 .container {
   width: 100%;
}
body.about-us .fcol.fcol-3 {
   background-color: var(--card);
}

body.about-us .fcol.fcol-4 {
     width: 100%;
   background-attachment: scroll; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position:50% 65%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  background-image: -webkit-linear-gradient(top, rgb(200 191 176 / 60%) 100%, var(--text3) 60%), url(https://static.iyp.tw/409967/files/6dcdecdd-e7d3-4f31-b6f6-e2fd0c77ccb9.jpg);
  padding:5em 0 3em;
}


/*首頁產品圖文按鈕特效*/
.snip1423 {
  position: relative;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  background: var(--text2);
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow);
  font-size: 14px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.snip1423 * {
  -webkit-box-sizing: padding-box;
  box-sizing: padding-box;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}
.snip1423 img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 14;
  object-fit: cover;
}
.snip1423 figcaption {
  padding: 15px 15px 0;
}
.snip1423 h3,
.snip1423 p {
  margin: 0;
}
.snip1423 h3 {
  color: var(--bg);
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 5px;
  text-transform: uppercase;
  padding-bottom: 5px;
  border-bottom: 1px solid #fff;
}
.snip1423 p {
  font-size: 1em;
  letter-spacing: 1px;
  font-weight: 400;
  text-align: justify;
  line-height: 1.5;
}
.snip1423 i {
  position: relative;
    left: 50%;
    -webkit-transform: translate(-50%, 50%);
    transform: translate(-50%, 50%);
    width: 2em;
    height: 2em;
    border-radius: 100%;
    background-color: #ffffff;
    color: var(--text2);
    font-size: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
  z-index: 2;
}
.snip1423 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
}
.snip1423:hover,
.snip1423.hover {
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
}
.snip1423:hover i,
.snip1423.hover i {
  background-color: var(--text);
  color: var(--bg);
}


/*footer*/
#footer {
  color:var(--p);
  width: 100%;
  background-color: var(--bg);
  letter-spacing: 1px;
}
#footer a { color: var(--text4); }
#footer a:hover { color: var(--text2); }

#foot-nav ul li a {
  display: block;
  color:var(--p);
    font-size: 14px;
    margin-right: 15px;
    padding: 3px 10px;
    background-color: var(--bg);
    border-radius: 100vmax; /*弧度保持膠囊狀*/
    border: 1px solid var(--text3);
}
#foot-nav ul li.current a ,#foot-nav ul li a:hover { background-color: var(--card); color: var(--text2);}

#foot-nav {
  clear: both;
  padding: 2em 0 1em;
  border-bottom: 0px solid #444;
  display: flex;
  justify-content: center;
}
.contact-row h5 {
    color: #fbf8f1;
}
#contact-info ul li span {
    color: #fbf8f1;
}

/*隱藏footer-service*/
body[data-type="fullpage"] #footer-service {
  position: absolute;
  padding: 0 !important;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0); /* 舊版瀏覽器相容 */
  clip-path: inset(50%);  /* 現代標準寫法 */
  white-space: nowrap;
  border: 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: 100vmax; /*弧度保持膠囊狀*/
    border: 0px solid #000;
    color: #fff;
    font-size: clamp(14px, 2vw, 16px);
  /*background-color: var(--text);*/
    background-image: var(--gradient);
    font-weight: 500;
    letter-spacing: 5px;
}
.btn-more1:hover{
    background-color: var(--text2); /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}

.btn-line  {
  border-radius: 0;
    border: 0px solid #000;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    justify-content: center;
    align-items: center;
  width: 100%;
}

.btn-line { background-color: #00b900;}
.btn-line:hover {
  /*transform:scale(1.1);*/
  background-color: #009900;
 /* top:-10px;*/
}

/*設備*/
.equipment-1 {font-size: clamp(16px, 2vw,18px); color: #000; line-height: 1.5;}
.equipment-1 li {background-color: var(--bg); padding: 10px; margin-bottom: 10px;}


/*Q&A手風琴*/
#accordion li div {
 display:none;
}

#accordion li>h3{
   display:block;
   border:1px solid #dddddd;
   border-radius:3px; 
   background: #eeeeee;
   margin-top: 7px;
   color:#000;
   font-size: clamp(14px, 3vw, 18px);
   font-weight: 700;
   padding: 10px;
  width: 100%;
}
#accordion li>div{
   border:1px solid #dddddd;
   border-radius:3px; 
   margin-top: 7px;
   padding: 10px;
   background: rgb(255,255,255,0.9);
   color:#222;
}
#accordion li>h3:after {
  position: relative;
  font-family: "Font Awesome 7 Free";
  content: "\f107";
  font-size: clamp(14px, 3vw, 18px);
  float: right;
  transition: transform 0.3s ease-in-out;
  top: 5px;
}

/*最新消息Q&A列表隱藏*/
body.q-a .fcol.fcol-2 { clip-path: inset(50%); }