.phone {position:fixed;right:1%;top:20%;z-index:1000;}
.line-1 {position:fixed;right:1%;top:35%;z-index:1000;}


/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 440px){ 
  .phone, .phone-1, .map, .ig, .map, .line-1, .shop-1, .phone-1, .pixnet, .youtube-1, .tiktok , .thread { 
    transform: scale(0.8);
    right:0;
  }
  
  .col-2 { width: 100%; }
}

:root {
  --main_bg: #000;/* 主色(黑) var(--main_bg)*/
  --main2_bg: #323232;/* 主色(淺黑) var(--main2_bg)*/
  --white: #fff;/* 主色(白) var(--white)*/
  --background2: #263b48;/* 主色(藍綠) var(--background2)*/
  --background: #f6f6f6;/* 背景(淺灰) var(--background)*/
  --text: #13326c;/* 字(深藍) var(--text)*/
  --text2: #ffffe6;/* 主色(淺黃) var(--text2)*/
  --text3: #a17a41;/* 主色(宗色) var(--text3)*/
  --line:#ded8cf;/* 主色(淺藍) var(--line)*/
  --shadow: 0 15px 40px rgba(5, 90, 145, 0.13); /* 陰影 var(--shadow)*/
--gradient: linear-gradient(120deg, var(--text) 0%, var(--text2) 30%, var(--text) 100%); /* 漸層 var(--gradient)*/
}

/*動到表格手機不會破版*/
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: var(--text);
  font-size: clamp(1.5rem, 2vw, 2.0rem); 
 /*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2; 
}

.fcol h3 { 
    color: var(--text3);
  font-size: clamp(1.2rem, 2vw, 1.7rem); 
 /*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2; 
}

.main01 h3 {
   color: var(--text3);
  font-size: clamp(1.2rem, 2vw, 1.7rem); 
 /*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2; 
  border-left: 5px solid #ebc995;
}

.topnavbar {
 /* background-color: Transparent;*/
   background-color: var(--white); /*頁籤底圖顏色;background-color: #fff;透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding-bottom: 0;/*頁籤間距*/
}

.topnavbar .container {
   text-align: center;
  padding: 0;
}

#logo {
  display: block;
}


/*nav*/
#nav ul li a {
    white-space: normal; /*自動換行*/
    /*font-size: 1.2rem;頁籤文字大小*/
    color: var(--main_bg);/*頁籤文字顏色*/
    padding: 10px 16px;/*頁籤文字間隔;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: var(--white);/*次頁籤底色*/
    max-width: 300px;/*次頁籤背景最大寬度*/
    width: max-content;/*最大內容*/
    text-align: left;
}

#nav li.has-subnav ul li a { color: var(--text3); font-size: 14px;}

#nav li.has-subnav ul li a:hover { 
   color: var(--text3);/*次頁籤滑過後文字顏色*/ 
  background-color: rgb(255, 244, 155);
}

#nav li.has-subnav ul li.has-subnav>div a::after, #nav>ul>li.has-subnav>a::after {
    padding-left: 2px;/*下拉選單箭頭距離*/
}

/*產品頁*/
#side h3 {
  /*background-color: var(--card);*/
  background-image: linear-gradient(120deg, var(--text) 0%, var(--text) 100%);
  border-radius: 10px 10px 0 0;
  font-size: 1.0em;
  font-weight: 700;
  color: #fff;
}
#side ul li a {
  font-size: 18px;
  color: var(--main_bg);
  border-bottom: 1px dashed #ddd;
}
#side ul li a:hover {
  color: var(--text);
}

ul.product-list li a.focus h3, ul.product-list li a:hover h3 {
    color: inherit;
}

ul.product-list li a {
    color: #fff;/*產品格文字顏色*/
    background-color: var(--background2);/*產品格底色*/
}

ul.product-list li a:hover {
    color: var(--white);/*產品格滑過文字顏色*/
}

ul.product-list li .desc, ul.product-list li a:hover .desc { color: #ffffff; } 



/*title文字顏色*/
.h1title h1{
    color: var(--main_bg);
}

a {
    color: var(--main_bg);/*連結顏色*/
    text-decoration: none;
}

a:hover  {
    color: #1e5a9b;/*連結顏色*/
    text-decoration: none;
}

/* 首頁與內頁共用 */
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
}

.swiper-slide {
  width: 100% !important;
}

/* 首頁 */
#bodyinhome .swiper-wrapper, #bodyinhome .swiper-slide {
  padding-bottom: calc(600 / 1920 * 100%); /* 首頁 banner 大小 */
}

/* 內頁 */
#bodyinpage .swiper-wrapper, #bodyinpage .swiper-slide {
  padding-bottom: calc(600 / 1920 * 100%); /* 內頁 banner 大小 */
}
/*title文字顏色*/
body.about-us  .h1title {display: none;}
.fcol.fcol-header .container { padding: 0px;/*頁籤間距*/}
.h1title {text-align:center;}

#bodyinhome .fcol.fcol-2 .container { width: 100%;}
#bodyinhome .fcol.fcol-2, body.about-us .fcol.fcol-2 { background-color: var(--background); padding: 3rem 0;}


#bodyinhome .fcol.fcol-5 { 
   background-repeat: no-repeat;
   background-position: 50% 50%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top, rgba(255,255,255,0.8) 0% ,rgba(255, 255, 255, 0.8) 100%) , url(https://static.iyp.tw/410015/files/13964c7e-1050-44e7-95d6-0d673303cbb9.jpg);
   padding: 3rem 0;
}

#bodyinhome .fcol.fcol-4 { 
  background-color: var(--background2);  
  color: var(--white); 
   padding: 2rem 0;
}

#bodyinhome .fcol.fcol-6 .container { display: none;}


/* 文字新做法*/
#main-wrap .container {
     font-size: clamp(1.0rem, 1.5vw, 1.2rem);
  line-height:30px;
  color: #2d2d2d;
}
#footer {
   font-size: 12px;
}

body {
    background-color: var(--white);/*背景底色*/
    font-family:"Noto Sans TC","Microsoft JhengHei",sans-serif;/*套用google font字型Noto Sans TC黑體*/
}

/*footer*/
#footer {
    color: #fff;
    background-color: var(--background2);
}
#foot-nav {
  clear: both;
  padding: 2em 0 1em;
  border-bottom: 0px solid #444;
  display: flex;
  justify-content: center;
  
}

.contact-row h5 { color: #fff;}

#footer a { color: #fff; }
#foot-nav ul li a {
    display: block;
    color: var(--text3);
    font-size: 14px;
}

#foot-nav ul li a:hover { color: var(--text3);}

/*首頁button*/
.sh-about__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 12px;
    padding: 13px 26px;
    border: 1px solid #263b48;
    border-radius: 3px;
    color: #263b48;
    text-decoration: none;
    font-size: 16px;
    transition: background .2s, color .2s;
}

.sh-about__button:hover{
  background: #263b48;
  color: #fff;
}


/*首頁圖片*/
.sh-about__image {
    flex: 1;
    min-width: 0;
    position: relative;
}

@media (max-width: 767px) {
    .sh-about__image img {
        height: 300px;
    }
}

.sh-about__image img {
    display: block;
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 8px;
}

.sh-about__badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    padding: 16px 24px;
    background: #263b48;
    color: #fff;
    border-left: 4px solid #d5a45b;
}

.sh-about__badge strong {
    display: block;
    font-size: 30px;
    line-height: 1.2;
}

@import url(https://fonts.googleapis.com/css?family=Raleway:400,700);
.snip1572 {
  font-family: 'Raleway', Arial, sans-serif;
  position: relative;
  display: inline-block;
  overflow: hidden;
  margin: auto 0 auto;
  min-width: 180px;
  max-width: 315px;
  width: 100%;
  color: #000000;
  text-align: left;
  font-size: 16px;
  background: #ffffff;
}

.snip1572 *,
.snip1572:before,
.snip1572:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.snip1572 img {
  max-width: 100%;
  backface-visibility: hidden;
  vertical-align: top;
}

.snip1572:before,
.snip1572:after {
  content: '';
  background-color: #000;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  opacity: 0;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.snip1572:before {
  width: 300px;
  height: 2px;
}

.snip1572:after {
  height: 300px;
  width: 2px;
}

.snip1572 figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
}

.snip1572 h3 {
  font-size: clamp(1.0rem, 2vw, 2.0rem); 
  font-weight: 400;
  padding: 8px 15px;
  margin: 0;
  opacity: 0;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
}

.snip1572 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.snip1572:hover img,
.snip1572.hover img {
  zoom: 1;
  filter: alpha(opacity=25);
  -webkit-opacity: 0.25;
  opacity: 0.25;
}

.snip1572:hover:before,
.snip1572.hover:before,
.snip1572:hover:after,
.snip1572.hover:after {
  opacity: 1;
}

.snip1572:hover:before,
.snip1572.hover:before {
  width: 50px;
}

.snip1572:hover:after,
.snip1572.hover:after {
  height: 50px;
}

.snip1572:hover h3,
.snip1572.hover h3 {
  -webkit-transform: translateY(0%);
  transform: translateY(0%);
  opacity: 1;
}

/*首頁*/
.pc .col-6 {padding:5px;}

/*產品-區塊項目li效果—5格*/
.pro_item ul li {
    padding: 5px;
    margin: 5px;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: column;
    width: calc(25% - 10px);
    border-radius: 5px;
    line-height: 1.5;
    border: 1px solid #dddddd;
    background-color: #fff;
  font-size: 18px;
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 500;
  text-align: center;
}
.pro_item a { color:#666 ;font-size: 15px;}

.pro_item a:hover { 
  opacity: 0.8;   
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media only screen and (max-width: 991px){
 .pro_item ul li { width: calc(33% - 10px); font-size: 14px;}
  .pro_item a { font-size: 14px;}
}
@media only screen and (max-width: 768px){
 .pro_item ul li { width: calc(50% - 10px); }
}
@media only screen and (max-width: 567px){
 .pro_item ul li { width: calc(100% - 10px); }
}

/*問與答*/
.sh-faq {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sh-faq > li {
  margin-bottom: 18px;
  padding: 24px;
  background: #f3f3f3;
  border-left: 3px solid #b68b50;
  border-radius: 4px;
}



/*追蹤分享ig符號改font awesome V6版*/
.fa-instagram {
   font-family: "Font Awesome 6 Brands";
    content: "\f16d";
}

.fa-instagram::before {
   font-family: "Font Awesome 6 Brands";
    content: "\f16d";
}