.phone{position:fixed;right:1%;top:40%;z-index:1000;}

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 430px){ 
  .phone, .fb, .line-1, .ig, .map, .wechat, .shop-1, .x-twitter, .pixnet, .youtube-1, .tiktok , .thread { 
    transform: scale(0.8);
    right:0;
  }
}

.topnavbar {
    background-color: #fff;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding: 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 h1 { text-align: center; }

/*動到表格手機不會破版*/
table {
  table-layout: fixed;
  word-wrap:break-word;
} 

/*編輯欄設定*/
.fcol p{
    font-size: clamp(16px, 2vw, 18px); /*最小值 首選值 最大值 限制屬性值區間*/
    color: #000000;/*文字顏色*/
    line-height: 2;
}

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: #00416f;
  font-size: clamp(28px, 3vw, 36px);/*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2;
}
.fcol h3 { 
  color: #0068bb;
  font-size: clamp(20px, 3vw, 24px);/*最小值 首選值 最大值 限制屬性值區間*/
}

/*nav*/
#nav {
    vertical-align: bottom;
}
#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #000;/*頁籤文字顏色*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #00416f;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #000;/*頁籤按下後文字顏色*/
    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: #2276d2;/*產品格文字顏色*/
    background-color: #eee;/*產品格底色*/
}
ul.product-list li a:hover {
    color: #2276d2;/*產品格滑過文字顏色*/
}
.productdetail .detail-spec h2 p{
    color: #333;
    font-size: 30px;
}/*產品內頁標題文字*/


/*title文字顏色*/
.h1title h1{
  color: #000;
  text-align: center;
}

a {
    color: #00b7ee;/*連結顏色*/
    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; /* 強制圖片寬度隨容器變更 */
}

#bodyinhome .fcol.fcol-2 {
   width: 100%;
   background-attachment: scroll; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position:50% 45%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: url(https://static.iyp.tw/409773/files/220b9f3d-0c63-4e0e-be18-3f0a2eeaa1a3.jpg);
   background-color: #fcfcfc;
  padding: 2em;
}
#bodyinhome .fcol.fcol-2 .container {
    background-color: #fff7;
    padding: 2em;
    border-radius: 2em;
}
#bodyinhome .fcol.fcol-4  {
  background-color: #f5f5f5;
  padding: 3em 0;
}

@media only screen and (min-width: 768px){
  #bodyinhome .fcol.fcol-4 .container {
   width: 90%;
   padding: 0;
  }
}

#bodyinhome .fcol.fcol-5 {
   width: 100%;
   background-attachment: scroll; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position:50% 50%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: url(https://static.iyp.tw/409773/files/bcf7d7c8-8ed4-48ac-b20f-7da0f816497d.jpg);
  padding: 2em;
}

#bodyinhome .fcol.fcol-6 .container {
   width: 100%;
   background-color: #fff;
   padding: 0;
}/*拉寬編輯欄設定*/

/*owl 輪播圖語法*/
.owl-carousel.owl-theme {
  padding: 0 20px 35px;/*內距:上 左右 下;*/
}
.owl-carousel.owl-theme .owl-nav {
  position: absolute;
  margin: 0;
  top:40%;
  left: 0;
  right: 0;
  transform: translateY(0%);
}
.owl-carousel.owl-theme .owl-dots {
  position: relative;
  left: 0;
  right: 0;
  bottom: 0;
}
.owl-carousel.owl-theme button:focus {
  outline: none;
}
.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%;
}

.owl-carousel .owl-item img {
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  display: block;
  width: 100%;
  height: auto; 
  aspect-ratio: 1 / 1;  /*比例*/
  border: 2px solid #fff;
  box-shadow: 0 6px 5px rgba(44,44,44,0.25);
}
.owl-carousel .row-no-gutters {
    margin-right: 5px;
    margin-left: 2px;
}

.img-logo img {
    object-fit: contain;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    border: 1px solid #ddd;
    background-color: #fff;
    box-shadow: 3px 3px 5px #0001;
    padding: 10px;
    margin: -10px -10px 10px -10px;
}

/*contact 聯絡我們-表格+圖示*/
.contact-1 {
  text-align: center;
  box-shadow: -7px -7px 20px 0px rgb(0 0 0 / 10%), -4px -4px 5px 0px rgb(0 0 0 / 10%), 7px 7px 20px 0px rgb(0 0 0 / 10%), 4px 4px 5px 0px rgb(0 0 0 / 10%);
  background-color: #fff;
}
.contact-1 div {
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
  background-color: #fff;
}
.contact-1 i {
  font-size:2rem;
  color: #282864;
  padding-top: 20px;
}
