.shopping-1{position:fixed;right:1%;top:20%;z-index:1000;}
.fb{position:fixed;right:1%;top:35%;z-index:1000;}
.ig{position:fixed;right:1%;top:50%;z-index:1000;}
.youtube-1{position:fixed;right:1%;top:65%;z-index:1000}
.threads {position:fixed;right:1%;top:80%;z-index:1000}

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 430px){ 
  .phone, .phone-1, .map, .ig, .map, .wechat, .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)*/
  --secondary: #91A79D;/* 主色(墨綠) var(--secondary)*/
  ----background: #F7F6F2;/* 背景(淺灰) var(--background)*/
  --section-bg: #E8E6E1;
  --text: #a17751;/* 字(宗色) var(--text)*/
  --text2: #987445;/* 主色(淺藍) var(--text2)*/
  --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(--main_bg);
  font-size: clamp(1.7rem, 3vw, 2.5rem); 
 /*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2; 
}

.topnavbar {
 /* background-color: Transparent;*/
   background-color: var(--main_bg); /*頁籤底圖顏色;background-color: #fff;透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding-bottom: 0;/*頁籤間距*/
}

.topnavbar .container {
   text-align: center;
  padding: 0;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}


/*nav*/
#nav ul li a {
    white-space: normal; /*自動換行*/
    /*font-size: 1.2rem;頁籤文字大小*/
    color: var(--text);/*頁籤文字顏色*/
    padding: 10px 16px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: var(--white);/*頁籤滑過文字顏色*/
}

#nav ul li.current a {
    color: var(--white);/*頁籤按下後文字顏色*/
    font-weight: 500;
}



#nav .subnav {
    background-color: var(--main_bg);/*次頁籤底色*/
    max-width: 300px;/*次頁籤背景最大寬度*/
    width: max-content;/*最大內容*/
    text-align: left;
}

/*#nav li.has-subnav ul li a { font-size: 14px;}*/

#nav li.has-subnav ul li a:hover { 
   color: #fff;/*次頁籤滑過後文字顏色*/ 
  background-color: rgb(211, 173, 123);
}

#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(--main_bg);/*產品格底色*/
}

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(750 / 1920 * 100%); /* 首頁 banner 大小 */
}

/* 內頁 */
#bodyinpage .swiper-wrapper, #bodyinpage .swiper-slide {
  padding-bottom: calc(750 / 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 { background-color: #fff;}

body.about-us .fcol.fcol-1  { background-color: #fff;}
#bodyinhome .fcol.fcol-3 { 
   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/410014/files/f45edb0a-fefd-4d95-8b5f-bbc39431dbdf.jpg);
   padding: 5rem 0;
}

#bodyinhome .fcol.fcol-5 .container {  }

#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: #f4f4f2;/*背景底色*/
    font-family:"Noto Sans TC","Microsoft JhengHei",sans-serif;/*套用google font字型Noto Sans TC黑體*/
}

/*footer*/
#footer {
    color: #fff;
    background-color: var(--main_bg);
}
#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(--text);
    font-size: 14px;
}

#foot-nav ul li a:hover { color: var(--text);}



/*產品-區塊項目li效果—5格*/
.pro_item ul li {
    padding: 5px;
    margin: 5px;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: column;
    width: calc(33% - 10px);
    border-radius: 0px;
    line-height: 1.5;
    border: 1px solid #676767;
    /*background-color: #fff;*/
  font-size: 15px;
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 500;
  text-align: center;
  color: #676767;
}
.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); }
}

/* ======================
   商品區
====================== */
.pine-products{
  background:#fffdf8;
}

.pine-product-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:25px;
}

.pine-product-card{
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 8px 28px rgba(67,48,22,.08);
  transition:.3s;
}

.pine-product-card:hover{
  transform:translateY(-6px);
}

.pine-product-img{
  aspect-ratio:1/1;
  overflow:hidden;
  background:#f1eadc;
}

.pine-product-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.4s;
}

.pine-product-card:hover img{
  transform:scale(1.05);
}

.pine-product-info{
  padding:24px 20px 27px;
  text-align:center;
}

.pine-product-info h3{
  margin:0 0 8px;
  color:var(--main_bg);
  font-size:20px;
}

.pine-product-info p{
  margin:0 0 15px;
  color:#897b6b;
  font-size:16px;
}

.pine-product-link{
  color:#b77c1f;
  font-size:14px;
  font-weight:600;
}


.pine-btn:hover{
  background:#40532d;
  transform:translateY(-2px);
}

.pine-btn.light{
  background:#e7ad38;
  color:#fff;
}

.pine-btn.light:hover{
  background:#ce9224;
}



/* ======================
   手機版
====================== */
@media(max-width:991px){
  .pine-product-grid{
    grid-template-columns:repeat(1,1fr);
  }
  
   .pine-process-grid{
    grid-template-columns:repeat(2,1fr);
    row-gap:40px;
  }

  }

/* ======================
   手機版
====================== */
.cf-products__list {
  margin: 0;
  padding: 5px 18px 18px;
  list-style: none;
}

.cf-products__list li {
  position: relative;
  padding: 12px 0 12px 15px;
  border-bottom: 1px solid #deded9;
  color: #52585c;
  font-size: 16px;
}

.cf-products__list li::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 0;
  width: 6px;
  height: 6px;
  background: #a5764d;
}

.cf-products__list li:last-child {
  border-bottom: none;
}

/*圖文特效按鈕-圖縮放大標題在上*/
.snip1374 {
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 160px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  text-align: center;
  background-color: #000000;
  text-shadow: 2px 2px 5px #000000;/*文字陰影*/
}
.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.2rem;/*文字大小*/
  font-weight: 700;/*文字粗細*/
  line-height: 1.5;/*文字行距*/
  letter-spacing: 2px;　/* 設定文字間距 */
}
.snip1374 img {
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  width: 100%;
  height: 350px;
  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;
}




/*追蹤分享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";
}