.phone{position:fixed;right:1%;top:40%;z-index:1000}
.line-1{position:fixed;right:1%;top:55%;z-index:1000}
.fb{position:fixed;right:1%;top:70%;z-index:1000}
.topnavbar {
    background-color: #ff8416;/*頁籤底圖顏色;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: #007800;
  font-size: clamp(30px, 3vw, 40px); /*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2;
}

/*nav*/
#nav {
    vertical-align: bottom;
}
#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #fff;/*頁籤文字顏色*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #fff100;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #fff;/*頁籤按下後文字顏色*/
    font-weight: 500;
}

#nav .subnav {
    background-color: #006600;/*次頁籤底色*/
    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: #000;/*產品格文字顏色*/
    background-color: #eee;/*產品格底色*/
}
ul.product-list li a:hover {
    color: #666;/*產品格滑過文字顏色*/
}
.productdetail .detail-spec h2 p{
    color: #333;
    font-size: 30px;
}/*產品內頁標題文字*/


/*title文字顏色*/
.h1title h1{
    color: #333333;
}

a {
    color: #00b7ee;/*連結顏色*/
    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; /* 強制圖片寬度隨容器變更 */
}

/*首頁各層編輯欄設定*/
#bodyinhome .fcol.fcol-1,
#bodyinhome .fcol.fcol-5 {
  background-image: radial-gradient(#ebebeb 20%, #ffffff 20%);
  background-position: 0 0;
  background-size: 10px 10px;
  box-shadow: inset 0 0 5px rgb(0 0 0 / 20%);
}

#bodyinhome .fcol.fcol-3 .container {

}/*拉寬編輯欄設定*/
#bodyinhome .fcol.fcol-2{
background-image:url("https://static.iyp.tw/409758/files/e0591bcd-fa2d-42f0-b8e5-157765366f14.jpg");
  background-attachment:fixed;
}/*拉寬編輯欄設定*/

  
#bodyinhome .fcol.fcol-6 .container {
  width: 100%;
  padding: 0;
}/*拉寬編輯欄設定*/

/*按鈕-文字底色變化特效*/
.custom-btn {
    padding: 5px 25px;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.btn-more {
    border: 1px solid #000;
    color: #000000;
    font-size: clamp(18px, 3vw, 20px);
    background-color: transparent;
    font-weight: 500;
}
.btn-more:hover{
    background-color: #2196F3; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}

.btn-phone, .btn-line  {
    border-radius: 10px;
    border: 0px solid #000;
    color: #fff;
    font-size: clamp(28px, 3vw, 30px);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}

.btn-phone { background-color: #ff0057;}
.btn-phone:hover {
  transform:scale(1.1);
  background-color: #ff0000;
  top:-10px;
}

.btn-line { background-color: #00b900;}
.btn-line:hover {
  transform:scale(1.1);
  background-color: #6fbd09;
  top:-10px;
}


/*服務項目*/
.snip1347 {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  min-width: 230px;
  height: 100%;
  width: 100%;
  color: #ffffff;
  text-align: left;
  line-height: 1.4em;
  background-color: #141414;
}
.snip1347 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
.snip1347 img {
  width: 100%;
  aspect-ratio: 4 / 3;
  vertical-align: top;
  opacity: 0.85;
  object-fit: cover;
}
.snip1347 .date {
  position: absolute;
  background-color: #1e1e1e;
  top: 0;
  right: 0;
  width: 100%;
  padding: 10px 25px 0;
  text-align: right;
  font-size: 14px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}
.snip1347 .date:before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 600px 55px 0;
  border-color: transparent #1e1e1e transparent transparent;
}
.snip1347 figcaption {
  width: 100%;
  background-color: #141414;
  padding: 0 25px 25px;
  position: relative;
}
.snip1347 figcaption:before {
  position: absolute;
  content: '';
  bottom: 100%;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 55px 0 0 600px;
  border-color: transparent transparent transparent #141414;
}
.snip1347 figcaption a {
  padding: 5px;
  border: 1px solid #ffcc00;
  color: #ffcc00;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  margin: 10px 0;
  display: inline-block;
  opacity: 0.65;
  width: 47%;
  text-align: center;
  font-weight: 600;
  letter-spacing: 1px;
}
.snip1347 figcaption a:hover {
  opacity: 1;
}
.snip1347 h2 {
  margin: 0 0 10px;
  font-weight: 500;
  font-size: clamp(20px, 3vw, 24px);
  letter-spacing: 3px;
  line-height: 1.2em;
  color:#e1b535;
}
.snip1347 p {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 1px;
  opacity: 0.8;
   color:#fff;
}


/*內文*/
.t-1 h3 {
  color: #ff7700;
  font-size: clamp(22px, 2vw, 24px); 
  line-height:1.5;
  position: relative;
  z-index: 1;
}
.t-1 h4 {
  color: #fff;
  font-size: clamp(16px, 2vw, 18px); 
  line-height:1.5;
  background-color: #007800;
  padding: 0 15px 0 10px;
    border-radius: 0 20px 20px 0;
    display: inline-flex;
}
.t-1 ol { list-style-type: decimal; margin-left: 1.5rem; font-size: 18px; color: #000; line-height: 1.5;}
.t-1 ul { list-style-type: square; margin-left: 1.5rem; font-size: 16px; color: #000; line-height: 1.5;}



/*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: #ffbb00;
  padding-top: 20px;
}

/*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: 18px;
   font-weight: 700;
   padding: 10px;
}
#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 6 Free";
   content: "\f107";
    font-size: 20px;
    float: right;
    transition: transform 0.3s ease-in-out;
}

/*追蹤分享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";
}

/*產品介紹圖文特效*/
figure.snip1249 {
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 150px;
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  font-family: verdana, geneva;
      display: flex;
    flex-direction: column;
    justify-content: space-between;
}
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: 4 / 3;
  vertical-align: top;
  padding: 10px;
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
}
figure.snip1249:hover img{
  opacity: 0.8;
}
figure.snip1249 h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #533d34;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
}
figure.snip1249 p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  text-align: justify;
  line-height: 1.5;
  /*限制內容字數*/
 /* overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;/*限制行數*/
}

figure.snip1249 span {  
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  text-align: justify;
  line-height: 1.5;
}

figure.snip1249 figcaption {
  padding: 5px 20px;
    color: #000000;
    position: relative;
    font-size: 0.9em;
    display: flex;
    flex-direction: column;
}

figure.snip1249 .btn-more {
border: 1px solid #b7883f;
    padding: 0.4em 0.6em;
    color: #b7883f;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    margin: 10px 20px;
    text-align: center;
    letter-spacing: 1px;
}

figure.snip1249:hover .btn-more {
  background-color: #222;
  color: #ffffff;
}
figure.snip1249 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}