.phone{position:fixed;right:1%;top:30%;z-index:1000;}
.line-1{position:fixed;right:1%;top:45%;z-index:1000;}
.mail-1{position:fixed;right:1%;top:60%;z-index:1000;}

.design3 img{
   background-color: #F0F0F0;
	padding: 4px;
	border: 1px solid #D5D5D5;
}


/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 414px){ 
  .phone, .fb, .line-1, .ig, .map, .wechat, .shop-1, .x-twitter, .pixnet, .mail-1 { 
    transform: scale(0.8);
    right:0;
  }
}

/*根元素*/
:root{
--bg:#3f0041; /* 背景(黑) var(--bg)*/
--bg1:#fff; /* 背景(白) var(--bg1)*/
--card:#f1f1f1; /* 卡片底(淺灰) var(--card)*/
--text:#004d8e; /* 主要文字(咖啡) var(--text)*/
--text2:#006fb6; /* h3次要文字(深藍) var(--text2)*/
--text3:#00bcd4; /* h4次要文字(藍) var(--text3)*/
--text4:#f5c4ff; /* 淺紫 var(--text4)*/
--green:#40b144;/* 綠色 var(--green)*/
--blue:#004a99; /* 藍色 var(--blue)*/
--orange:#FF9800; /* 橙色 var(--orange)*/
--yellow:#fff000;/* 黃色 var(--yellow)*/
--shadow: 0 5px 10px rgba(0,0,0,.25); /* 陰影 var(--shadow)*/
--gradient: linear-gradient(120deg, #0072dd 0%, #0030ce 100%); 
--gradient2: linear-gradient(120deg, #ff9000 0%, #ff544f 100%); /* 漸層 var(--gradient)*/
}

/*UL大標 https://steam.oxxostudio.tw/category/html/tags/ul-li.html*/
ul.a {
  list-style-type: circle;
}

ul.b {
  list-style-type: square;
}

ul.c {
  list-style-type: ecimal;/*disc實心 ecimal 數字*/
  margin-left: 1em;
}

ul.c li::marker{
  color: #333399;
}

.customers table {
  border-collapse: collapse;/*表格細線*/
}

/*表格奇偶底色*/
tr:nth-child(even) { background: #ececec; }

.customers td, .customers th {
  border-bottom: 1px solid #ddd;
  padding: 8px;
  font-size: 14px; 
}

.customers tr:hover {background-color: #ddd;}


/*table語法 -讓手機不會破版*/
table {
table-layout: fixed;
word-wrap:break-word;
}




.fcol h2 { 
  color: var(--text);
  font-size: clamp(22px, 2vw, 36px);/*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2;
}

.fcol h3 { 
  color: var(--text2);
  font-size: clamp(24px, 3vw, 30px);/*最小值 首選值 最大值 限制屬性值區間*/
}

.fcol h4 { 
  color: var(--text3);
  font-size: clamp(20px, 3vw, 30px);/*最小值 首選值 最大值 限制屬性值區間*/
}

.topnavbar {
    background-color: rgba(79,0,81,1);/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding: 0;/*頁籤間距*/
  box-shadow: 5px 5px 10px rgb(0 0 0 / 40%);
}

body {
    background-color: #fff;/*背景底色*/
    font-family: 'Noto Sans TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/
}

#logo h1 { text-align: center; }

.topnavbar .container {
  text-align: justify;
  padding: 0;
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}


body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}

#bodyinpage #banner { display:none;}

/*nav*/

#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #fff;/*頁籤文字顏色*/
    padding: 10px 10px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: var(--text4);/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: var(--text4);/*頁籤按下後文字顏色*/
    font-weight: 500;
}

#nav .subnav {
    background-color: var(--bg);/*次頁籤底色*/
    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;/*下拉選單箭頭距離*/
}

#nav>ul>li .no-subnav a:hover {
  color: var(--bg1);
   background-color: rgba(79,0,81,1);
   border-radius: 0px; 
}

#bodyinhome .fcol.fcol-2 .container { width: 100%; padding: 0px;}



#bodyinhome .fcol.fcol-4 {
   background-attachment: fixed; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position: 50% 50%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.6) 0% ,rgba(0, 0, 0, 0.6) 100%) , url(https://static.iyp.tw/409890/files/47488d04-ec1e-4434-8989-5a9235f9f016.jpg);
   padding: 5rem 0;
}

body.about-us .fcol.fcol-2 {
   background-attachment: fixed; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position: 50% 50%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.6) 0% ,rgba(0, 0, 0, 0.6) 100%) , url(https://static.iyp.tw/409890/files/8fb3e700-de1e-4135-8345-f601d17b168a.jpg);
   padding: 5rem 0;
}

#bodyinhome .fcol.fcol-5 {display:none;}

#bodyinhome .fcol.fcol-6 {
   background:linear-gradient(45deg, #efeeee 0%, #efeeee 50%, #fff 50%, #fff 100%);
}

/*產品頁*/
#side h3 {
  /*background-color: var(--card);*/
  background-image: var(--gradient);
  border-radius: 10px 10px 0 0;
  font-size: 1.4em;
  font-weight: 700;
  color: #fff;
}
#side ul li a {
  font-size: 16px;
  color: #333;
}
#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 p{
    color: #333;
    font-size: 30px;
}/*產品內頁標題文字*/

/*title文字顏色*/
.h1title h1{
    color: var(--text2);
}

a {
    color: var(--text3);/*連結顏色*/
    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; /* 強制圖片寬度隨容器變更 */
}

#foot-nav ul li a {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-right: 15px;
    padding: 3px 10px;
    background-color: #690b6c;
    border-radius: 10px;
}
#foot-nav ul li a:hover { background-color: var(--text4); color: var(--bg);}

#foot-nav {
  clear: both;
  padding: 2em 0 1em;
  border-bottom: 0px solid #444;
  display: flex;
  justify-content: center;
 
}

#footer {
     background-color:var(--bg);
}

/*按鈕-文字底色變化特效*/
.custom-btn {
    padding: 5px 25px;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.btn-more1 {
    border-radius: 0px;
   border: 0px solid var(--bg);
    color: var(--bg1);
    font-size: clamp(13px, 2vw, 15px);
    background-color: var(--text3);
    font-weight: 400;
  letter-spacing: 3px;
}
.btn-more1:hover{
    background-color: var(--bg); /* 當滑鼠經過時按鈕表格底色變化 */
    color: var(--bg1);/* 當滑鼠經過時按鈕表格文字變化 */
}


/* 文字新做法*/
#main-wrap .container {
     font-size: clamp(1.0rem, 1.5vw, 1.2rem);
  line-height:30px;
  color: #2d2d2d;
}
#footer {
   font-size: 12px;
}


/*圖文連結特效*/
@import url(https://fonts.googleapis.com/css?family=Raleway:400,500,800);
figure.snip1084 {
  color: #fff;
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 100px;
  max-width: 100%;
  max-height: 250px;
  width: 100%;
  background: #000000;
  text-align: center;
  border-radius: 20px;
}

figure.snip1084 * {
  -webkit-box-sizing: padding-box;
  box-sizing: padding-box;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

figure.snip1084 img {
  opacity: 2;
  width: 100%;
   object-fit: cover; 
  height: 250px; /*高度*/
}

figure.snip1084 figcaption {
  top: 50%;
  left: 40px;
  right: 40px;
  position: absolute;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

figure.snip1084 figcaption h2 {
  position: relative;
  font-weight: 400;
  font-weight:bold;
  font-size: 20px;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
  -webkit-transform: translateY(75%);
  transform: translateY(75%);
  text-shadow: black 0.1em 0.1em 0.2em;
}

figure.snip1084 figcaption h2 span {
  font-weight: 800;
}

figure.snip1084 figcaption p {
  font-size: 0.9em;
  font-weight: 500;
  opacity: 0;
  margin: 0;
  color: #fff;
}

figure.snip1084:before,
figure.snip1084:after {
  position: absolute;
  top: 20px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  content: '';
  opacity: 0;
  -webkit-transition: opacity 0.6s, -webkit-transform 0.6s;
  transition: opacity 0.6s, -webkit-transform 0.6s, -moz-transform 0.6s, -o-transform 0.6s, transform 0.6s;
}

figure.snip1084:before {
  border-top: 1px double #fff;
  border-bottom: 1px double #fff;
  -webkit-transform: scale(0, 1);
  transform: scale(0, 1);
}

figure.snip1084:after {
  border-right: 1px double #fff;
  border-left: 1px double #fff;
  -webkit-transform: scale(1, 0);
  transform: scale(1, 0);
}

figure.snip1084 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}

figure.snip1084.blue {
  background: var(--text3);
}

figure.snip1084.red {
  background: #1176bd;
}

figure.snip1084.yellow {
  background: #ff9b52;
}

figure.snip1084:hover img,
figure.snip1084.hover img {
  opacity: 0.2;
  -webkit-filter: blur(5px);
  filter: blur(5px);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

figure.snip1084:hover figcaption h2,
figure.snip1084.hover figcaption h2,
figure.snip1084:hover figcaption p,
figure.snip1084.hover figcaption p {
  opacity: 1;
  border-color: rgba(17, 118, 189, 0.5);
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

figure.snip1084:hover figcaption p,
figure.snip1084.hover figcaption p {
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
}

figure.snip1084:hover:before,
figure.snip1084.hover:before,
figure.snip1084:hover:after,
figure.snip1084.hover:after {
  opacity: 0.8;
  -webkit-transform: scale(1);
  transform: scale(1);
}

/*附帶標題的外框-Q&A*/
.zi_box_1 {
  border: 2px dashed #0056cf;/* 框線顏色 */
  border-radius: 10px;/*圓角*/
  margin: 2em 0;
  padding: 20px;
  position: relative;
  /*box-shadow: 0 0 5px 2px #66bb6a inset; /*內陰影*/
}
.zi_box_1::before {
  background-color: #fff;
  color: #0056cf;
  content: "安邦儀器 Q&A";/*標題*/
  font-size: 40px;
  font-weight: bold;
  left: 15px;
  padding: 0 .5em;
  position: absolute;
  top: -20px;
  font-family: terminal, monaco;;
}
/*附帶標題的外框-Q&A*/