.phone{position:fixed;right:1%;top:30%;z-index:1000;}
.line-1{position:fixed;right:1%;top:45%;z-index:1000;}
.Chinese_01{position:fixed;right:0%;top:60%;z-index:1000;}



/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 440px){ 
  .phone, .phone-1, .map, .ig, .map, .line-1, .English_01, .phone-1, .Chinese_01, .youtube-1, .tiktok , .thread { 
    transform: scale(0.8);
    right:0;
  }
  
  .col-2 { width: 100%; }
  
  .foot-nav01 {display:none; }
  
  .top01 {  display: block; }
}


:root {
  --main_bg: #000;/* 主色(黑) var(--main_bg)*/
  --main2_bg: #323232;/* 主色(淺黑) var(--main2_bg)*/
  --white: #fff;/* 主色(白) var(--white)*/
  --background2: #e7f6ff;/* 主色(藍綠) var(--background2)*/
  --background: #f7fbfe;/* 背景(淺淺藍) var(--background)*/
  --text: #002c61;/* 字(深藍) var(--text)*/
  --text2: #005cbd;/* 主色(亮藍) var(--text2)*/
  --text3: #edf0e7;/* 主色(淺綠) var(--text3)*/
  --line:#92bdcc;/* 主色(淺藍) 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)*/
}

.topnavbar .container {
   text-align: center;
  padding: 0;
}

.topnavbar {
    background-color: var(--white);/*頁籤底圖顏色;background-color: rgba(0,0,0,0);透明*/
    position: relative;/*頁籤&banner分開不重疊*/
    padding: 0;/*頁籤間距*/
}

.fcol h4 { 
  color: var(--text);
  font-size: clamp(20px, 2vw, 30px);/*最小值 首選值 最大值 限制屬性值區間*/
  line-height:50px;
}

.fcol h2 { 
  position: relative;
  padding-left: 20px;
  color: #062360;
  font-size: clamp(26px, 2vw, 36px);/*最小值 首選值 最大值 限制屬性值區間*/
  line-height:50px;
  /*font-weight: 800;粗細*/
}

.fcol h2::before {
  content: ""; /* 偽元素的內容設為空 */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 30px; 
  background-color: #062360;
  border-radius: 4px;
}

.fcol h5 { 
  position: relative;
  padding-left: 20px;
  color: #a5a5a5;
  font-size: clamp(10px, 2vw, 14px);/*最小值 首選值 最大值 限制屬性值區間*/
  line-height:20px;
  /*font-weight: 800;粗細*/
}

.fcol h5::before {
  content: ""; /* 偽元素的內容設為空 */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 15px; 
  background-color: #a5a5a5;
  border-radius: 4px;
}

.top01 { 
  display: flex; 
  align-items: end; 
  gap: 28px; 
  margin: 17px 10px;
}

/*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(--text);/*頁籤滑過文字顏色*/
}

#nav ul li.current a {
    color: var(--text);/*頁籤按下後文字顏色*/
    font-weight: 500;
}

/*頁籤按鈕上底線滑入特效-底線短*/
#nav ul li a::before {
  content:"";
  border-top:3px solid var(--text);
  width:0;
  position:absolute;
  left:0;
  right:0;
  top:40px;
  margin:0 auto;
  transition:.3s all ease;
}

#nav ul li a:hover::before {
    width: 50%;
}

#nav .subnav li a:hover::before  {
    display:none;
}

#nav .subnav {
    text-align: left;
    font-size: 14px;
}
/*次頁籤文字顏色*/ 
#nav li.has-subnav ul li a {
   color: var(--main_bg);/*次頁籤文字顏色*/   
  background-color: var(--white); /*次頁籤滑過底圖顏色*/
}
#nav li.has-subnav ul li a:hover {
   color: var(--text);/*次頁籤滑過後文字顏色*/   
   background-color: var(--background); /*次頁籤滑過底圖顏色*/
}
#nav li.has-subnav ul li.current a {
   color: var(--text);/*次頁籤按下後文字顏色*/    
}


.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 {display:none;}

#bodyinhome .fcol.fcol-2, #bodyinhome .fcol.fcol-4, body.about-us .fcol.fcol-2 {
   background-color: var(--background2);  
}

#bodyinhome .fcol.fcol-4 .container, #bodyinhome .fcol.fcol-2 .container, #bodyinhome .fcol.fcol-3 .container, #bodyinhome .fcol.fcol-5 .container {
   width: 100%;
  padding: 0px;
}

#bodyinhome .fcol.fcol-5 {
background: linear-gradient(115deg, #d9efff, #f2f8ff 70%, #aecde5);
}

#bodyinhome .fcol.fcol-6 {
  display:none;
}

/*title文字顏色*/
.h1title h1 {
    text-align: center;
  font-size: clamp(18px, 2vw, 28px);
    border-bottom: 0px solid #e5989a;
  color: var(--text);
    
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: inherit;
    color: #000;
}


.product-list-div h2 {
    text-shadow: 0 0px 0 #333;
}

/*側邊文字顏色*/
#side ul li a { font-size: 16px;}


ul.product-list li a.focus h3, ul.product-list li a:hover h3 {
    color: #464646;
}
ul.product-list li h3 {
    flex: 1 0 auto;
    max-height: 3.15rem;
    margin: 0.7rem 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #7a7a7a;
    overflow: hidden;
    padding: 0 16px;
}

#main-wrap .container {
     font-size: clamp(1.0rem, 1.5vw, 1.2rem);
  line-height:25px;
  color: #2d2d2d;
}
#footer {
   font-size: 12px;
}

#footer {
   background-color: var(--text);
}

#foot-nav { display:none; }

a { color: #2d2d2d; }
a:hover { color: var(--text); }

body {
    background-color: var(--background);/*背景底色*/
    font-family:"Noto Sans TC","Microsoft JhengHei",sans-serif;/*套用google font字型Noto Sans TC黑體*/
}

body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}




/*按鈕-文字底色變化特效*/
.custom-btn {
    padding: 5px 25px;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.btn-more1 {
    border-radius: 30px;
    border: 0px solid #ccc;
    color: var(--white);
    font-size: clamp(14px, 3vw, 16px);
    background: var(--gradient);
     font-weight: 400;
}
.btn-more1:hover{
    background-color: #678b62; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}


/*首頁第一排*/
.quick a {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
    font-size: 19px;
    font-weight: bold;
    box-shadow: 0 6px 20px #c2c2c2;
}

.grid {
    display: grid;
  gap: 18px;
  text-align: center;
}

.quick strong {
    display: block;
    padding: 10px;
}

/* ======================
   商品區
====================== */
.pine-products{
  background:#fffdf8;
}

.pine-product-grid{
  display:grid;
  grid-template-columns:repeat(4,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:4/3;
  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(--text);
  font-size:20px;
}

.pine-product-info p{
  margin:0 0 15px;
  color:#897b6b;
  font-size:14px;
}

.pine-product-link{
  color: var(--text2);
  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;
  }

  }


/*首頁第四排*/
.card {
    background: linear-gradient(#fff, #f0f7fd);
    border-radius: 10px;
    overflow: hidden;
  box-shadow: 0 6px 20px #c2c2c2;
   height:100%;
}

.card .text {
    padding: 12px;
}

.card h3 {color: var(--text2); font-weight:bold; }
.card p {font-size:16px;}

/*首頁第五排*/
.card2 {
    padding: 22px;
    background: #ffffff;
    border-radius: 24px;
   box-shadow: 0 6px 20px #c2c2c2;
   height:80%;
}

.card2 h3 {color: var(--text2); font-weight:bold; }

.col-md-6.col-xs-12, .col-md-6, .col-md-2, .col-md-8, .col-md-4 {padding: 10px;}

