.phone-1 {position:fixed;right:1%;top:10%;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:#a0812e; /* 主要文字(土黃) var(--text)*/
--text2:#865c0b; /* h3次要文字(咖啡) var(--text2)*/
--text3:#b05512; /* h4次要文字(褐) var(--text3)*/
--text4:#2c2c58; /* 次要文字(深藍綠) var(--text4)*/
--shadow: 0 5px 10px rgba(0,0,0,.25); /* 陰影 var(--shadow)*/
--gradient: linear-gradient(120deg, var(--text4) 0%, var(--text) 100%); /* 漸層 var(--gradient)*/
}

.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: justify;
  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;
} 

hr {
  border-top: 1px solid #ddd;
  border-bottom: 0;
  margin: 1em 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; }

.fcol h2 { 
  color: var(--text);
  font-size: clamp(26px, 3vw, 36px);/*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2;
  text-transform: uppercase;
}

.fcol h3 { 
  color: var(--text2);
  font-size: clamp(24px, 3vw, 30px);/*最小值 首選值 最大值 限制屬性值區間*/
}

.fcol h4 { 
  color: var(--text4);
  font-size: clamp(20px, 3vw, 24px);/*最小值 首選值 最大值 限制屬性值區間*/
}

/*nav*/
#nav {
    vertical-align: bottom;
}
#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 1.0rem;/*頁籤文字大小*/
    color: var(--p);/*頁籤文字顏色*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: var(--text);/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: var(--text);/*頁籤按下後文字顏色*/
    font-weight: 500;
}

/*頁籤按鈕上底線滑入特效-底線短*/
#nav ul li a::before {
  content:"";
  border-top:3px solid var(--text3);
  width:0;
  position:absolute;
  left:0;
  right:0;
  top:0px;
  margin:0 auto;
  transition:.3s all ease;
}
#nav ul li a:hover::before {
    width: 80%;
}

#nav .subnav {
    background-color: #fff;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
    width: max-content;/*最大內容*/
    text-align: left;
}

#nav .subnav .has-subnav span{
    max-width: 400px;/*次頁籤文字背景最大寬度*/
}

#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: 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: var(--card);/*產品格底色*/
  border: 0px solid #ddd;
}
ul.product-list li a:hover {
  color: var(--text2);/*產品格滑過文字顏色*/
}
.productdetail .detail-spec h2 p{
  color: #333;
  font-size: 30px;
}/*產品內頁標題文字*/

/*產品頁產品格圖片填滿*/
ul.product-list div.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(750 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important;
}


/*title文字顏色*/
.h1title h1{
    color: #474342;
}

a {
    color: var(--text2);/*連結顏色*/
    text-decoration: none;
}



body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

#bodyinhome .fcol.fcol-1 { 
  width: 100%;
   background-attachment: scroll; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position:center;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(-30deg,var(--text3) 20%, #fff0 20% , #fff0 90% ,var(--text3) 90%),url(https://static.iyp.tw/18178/files/184ff52b-d308-42af-88cd-d2ddd560a534.png);  
  padding:3em 0;
}
#bodyinhome .fcol.fcol-1 .container { width: 100%; }

#bodyinhome .fcol.fcol-2 {
  background-color: #e2d7c0;
  padding:3em 0;
}

#bodyinhome .fcol.fcol-3 { 
  background-image: -webkit-linear-gradient(-30deg,#fcf6e8 25%, #fff0 25%,#fff0 26%,var(--card) 26.1%,#fff0 26.2% ,#fff0 73.8% ,#fcf6e8 74%,#fff0 74% , #fff0 75% ,#fcf6e8 75%);
  padding:3em 0;
}

#bodyinhome .fcol.fcol-4 { background-color: #fcf6e8; }

@media only screen and (min-width: 768px){ 
  #bodyinhome .fcol.fcol-2 .container { width: 90%; } 
  #bodyinhome .fcol.fcol-3 .container { width: 80%; } 
}


#bodyinhome .fcol.fcol-5,
#bodyinhome .fcol.fcol-6 { display:none; }


body.about-us .fcol.fcol-2 {
     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/18178/files/e230886b-ac78-4b6d-ad63-10f21053ecba.jpg);
   padding: 2rem 0;
}


/*表格*/
.table-1 table{
  font-family: 'Oswald', sans-serif;
  border-collapse:collapse;
  overflow: hidden;
  border-radius:10px 10px 0px 0px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.35);
}

.table-1 th{
  background-color:#645345;
  color:#ffffff;
  width:25vw;
  height:75px;
}

.table-1 td{
  background-color:#ffffff;
  width:25vw;
  height:50px;
  text-align:center;
}

.table-1 tr{
  border-bottom: 1px solid #dddddd;
}

.table-1 tr:last-of-type{
  border-bottom: 2px solid #645345;
}

.table-1 tr:nth-of-type(even) td{
  background-color:#f3f3f3;
}





/*footer*/
#footer {    
  color: var(--bg);
  background-color:  var(--text2);
  width: 100%;
  letter-spacing: 1px;
}
#footer a { color: var(--bg); }
#footer a:hover { color: var(--text3); }

#foot-nav ul li a {
    display: block;
    color: var(--bg);
    font-size: 14px;
    margin-right: 15px;
    padding: 3px 10px;
    background-color: var(--text2);
    border-radius: 10px;
}
#foot-nav ul li a:hover { background-color: var(--text3);color: var(--text);}

#foot-nav {
  clear: both;
  padding: 2em 0 1em;
  border-bottom: 0px solid #444;
  display: flex;
  justify-content: center;
}
.contact-row h5 {
    color: var(--bg);
}
#contact-info ul li span {
    color: var(--bg);
}

/*圖文特效按鈕-圖縮放大標題在上*/
.snip1374 {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
  height: auto;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  text-align: center;
  background-color: #000;
  box-shadow: var(--shadow);
  text-shadow: 2px 2px 5px #000;/*文字陰影*/
}
.snip1374 figcaption {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
 -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.snip1374 h2{
  font-family: 'Noto Sans TC', sans-serif;
  text-transform: uppercase;/*文字大寫*/
  color:#ffffff;/*文字顏色*/
  font-size: 1.6rem;/*文字大小*/
  font-weight: 700;/*文字粗細*/
  line-height: 1.5;/*文字行距*/
  letter-spacing: 2px;　/* 設定文字間距 */
}
.snip1374 img {
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  vertical-align: top;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  -webkit-transform: scale(1);
  transform: scale(1);
}

.snip1374:hover img,
.snip1374.hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  opacity: 0.5;
}
.snip1374 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

/*按鈕-文字底色變化特效*/
.custom-btn {
    padding: 5px 25px;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.btn-more1 {
    border-radius: 10px;
    border: 1px solid #ddd;
    color: #333;
    font-size: clamp(16px, 2vw, 20px);
    background-color: var(--text3);
    font-weight: 500;
}
.btn-more1:hover{
    background-color: #000007; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}

/*標題裝飾斜線*/
.greyLine {
    position: relative;
    margin: -5vh 0 0 6vh;
    height: 20vh;
    width: 1px;
    background: var(--text);
    display: block;
    transform: rotate(30deg);
}

/**/
.item-1 img {
  background: var(--bg);
  border-radius: 100%;
  box-shadow: var(--shadow);
}