.phone{position:fixed;right:1%;top:40%;z-index:1000;}
.fb{position:fixed;right:1%;top:55%;z-index:1000;}
.line-1{position:fixed;right:1%;top:70%;z-index:1000}
.map{position:fixed;right:1%;top:85%;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;
  }
}

: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: #d3ad7b;/* 字(淺宗) 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;/*產品-編輯框不設定高*/
}

.pc img { aspect-ratio: 3 / 4; object-fit: cover;}

.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: #f5f2ed; /*頁籤底圖顏色;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(--text2);/*頁籤滑過文字顏色*/
}

#nav ul li.current a {
    color: var(--text);/*頁籤按下後文字顏色*/
    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 { 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: 0px 0px 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(--text);/*產品格底色*/
}

ul.product-list li a:hover {
    color: var(--main_bg);/*產品格滑過文字顏色*/
}

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(580 / 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%; padding: 0px; background-color: #fff;}
body.about-us .fcol.fcol-1  { background-color: #fff;}
#bodyinhome .fcol.fcol-4 { 
   background-repeat: no-repeat;
   background-position: 50% 50%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top, rgba(255,255,255,0.6) 0% ,rgba(255, 255, 255, 0.6) 100%) , url(https://static.iyp.tw/410005/files/e4222221-e308-4518-987a-73e8b1195c56.jpg);
   padding: 5rem 0;
}

#bodyinhome .fcol.fcol-5 .container {  display: none;}

#bodyinhome .fcol.fcol-6 .container { display: none;}


/* 文字新做法*/
#main-wrap .container {
     font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  line-height:30px;
  color: #2d2d2d;
}
#footer {
   font-size: 12px;
}

body {
    background-color: #f5f2ed;/*背景底色*/
    font-family:"Noto Sans TC","Microsoft JhengHei",sans-serif;/*套用google font字型Noto Sans TC黑體*/
}

/*footer*/
#footer {
    color: #fff;
    background-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: #fff;}

#footer a { color: #fff; }
#foot-nav ul li a {
    display: block;
    color: var(--main_bg);
    font-size: 18px;
}

#foot-nav ul li a:hover { color: var(--main_bg);}


/* 產品頁圖片滿版*/
ul.product-list div.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 4 大理由*/
.hq-reason-card{
  position:relative;
  padding:40px;
  background:var(--white);
  border:1px solid #eee9e2;
  transition:.3s;
  overflow:hidden;
}

/* 編號標題 */
.hq-reason-top{
  display:flex;
  align-items:flex-start;
  gap:25px;
  padding-bottom:25px;
  margin-bottom:25px;
  border-bottom:1px solid var(--line);
}

.hq-reason-num{
  font-size:50px;
  line-height:1;
  font-weight:900;
  color:#d9d1c7;
}

.hq-reason-title small{
  display:block;
  font-size:11px;
  letter-spacing:2px;
  color:var(--gold);
  margin-bottom:7px;
}

.hq-reason-title h3{
  margin:0;
  font-size: clamp(1.2rem, 1.8vw, 2.0rem);
  line-height:1.45;
  color:#222;
}

.hq-reason-card p{
  margin:0 0 15px;
  color:#5f5f5f;
  font-size: clamp(1.0rem, 1.5vw, 1.2rem);
  line-height:1.9;
}

.hq-reason-card p strong{
  color:#222;
  font-weight:700;
}


/* 每張卡片下方重點 */
.hq-reason-key{
  margin-top:25px;
  padding-top:20px;
  border-top:1px dashed #d6cec4;
  font-weight:700;
  font-size: clamp(1.0rem, 2vw, 1.2rem);
  color:#333;
}

.hq-reason-key span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:25px;
  height:25px;
  margin-right:8px;
  background:var(--text);
  color:#fff;
  border-radius:50%;
   font-size: clamp(0.9rem, 2vw, 1.0rem);
}


.hq-basic-item{
  display:flex;
  gap:20px;
  padding:32px 30px 32px 0;
  border-bottom:1px solid  var(--white);
}
/* 剛性基礎工程*/
.hq-basic-num{
  flex:0 0 38px;
  height:38px;
  display:flex;
  justify-content:center;
  align-items:center;
  border:1px solid var(--main_bg);
  color:#806a50;
  font-size:14px;
}
.hq-basic-content h4 {
  color:var(--main_bg);
  font-size: clamp(1.5rem, 1.7vw, 1.4rem);
  margin:4px 0 10px;
}

.hq-basic-content p{
  color:var(--white);
  font-size: clamp(1.0rem, 1.5vw, 1.2rem);
  line-height:1.5;
  margin:0;
}


/* ======================
   製作流程
====================== */
.pine-process{
  background:#596d43;
  color:#fff;
}

.pine-process .pine-title h2,
.pine-process .pine-title p{
  color: var(--main_bg);
}

.pine-process .pine-title small{
  color:#f3cf7a;
}

.pine-process-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:20px;
  position:relative;
}

.pine-process-item{
  text-align:center;
  position:relative;
}

.pine-process-num{
  width:64px;
  height:64px;
  margin:auto;
  color: var(--white);
  border-radius:50%;
  border:1px solid rgba(255,255,255,.55);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  background: var(--text);
}

.pine-process-item h3{
   font-size: clamp(1.0rem, 2vw, 1.2rem);
  margin:15px 0 6px;
  color: var(--main_bg);
}

.pine-process-item p{
  margin:0;
  font-size: clamp(1.0rem, 1.5vw, 1.2rem);
  opacity:.8;
  color: var(--main_bg);
}




/* ======================
   手機版
====================== */
@media(max-width:991px){
  .pine-product-grid{
    grid-template-columns:repeat(1,1fr);
  }
  
   .pine-process-grid{
    grid-template-columns:repeat(1,1fr);
    row-gap:40px;
  }

  }


/*產品-區塊項目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); }
}

/*圖文特效按鈕-圖縮放大標題在上*/
.snip1374 {
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 160px;
  max-width: 600px;
  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: 2.0rem;/*文字大小*/
  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;
}