.phone{position:fixed;right:1%;top:20%;z-index:1000;}
.fb{position:fixed;right:1%;top:32%;z-index:1000;}
.line-1{position:fixed;right:1%;top:44%;z-index:1000;}

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 430px){ 
  .phone, .fb, .line-1, .ig, .map, .wechat, .shop-1, .x-twitter, .pixnet, .youtube-1, .tiktok , .thread , .messenger-link { 
    transform: scale(0.8);
    right:0;
  }
}

.topnavbar {
    background-color: #e6e1dd;/*頁籤底圖顏色;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: #e6e1dd;/*背景底色*/
    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: #333;/*文字顏色*/
    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: #8a6846;
  font-size: clamp(30px, 3vw, 36px);/*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2;
}
.fcol h3 { 
  color: #c9a887;
  font-size: clamp(24px, 3vw, 26px);/*最小值 首選值 最大值 限制屬性值區間*/
}

/*nav*/
#nav {
    vertical-align: bottom;
}
#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #333;/*頁籤文字顏色*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #c9a887;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #8a6846;/*頁籤按下後文字顏色*/
    font-weight: 400;
}

#nav .subnav {
    background-color: #fff;/*次頁籤底色*/
    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;/*下拉選單箭頭距離*/
}

/*產品頁-右側產品項目連結*/
.product-list-div h2 a {
    color: #333;/*產品項目文字連結顏色*/
    text-decoration: none;
    display: inline-block;
}
.product-list-div h2 a:hover {
    color: #8a6846;/*產品項目文字連結滑入顏色*/
}
.product-list-div h2 {
    text-shadow: none;/*產品項目文字陰影隱藏*/
    line-height: 1.5;
    font-size: clamp(1.5em, 3vw, 2em);/*產品項目文字大小*/
}
body[data-type="fullpage"] .product-list-div h2 a.show-all {
    color: #8a6846;/*查看產品按鈕文字顏色*/
    /*background: #f90000;/*查看產品按鈕背景顏色*/
    text-shadow: none;/*文字陰影隱藏*/
    padding: 0 10px;
}
body[data-type="fullpage"] .product-list-div h2 a:hover.show-all {
    color: #333;/*查看產品按鈕文字滑入顏色*/
}

#side h3 {
    color: #333; /*側欄頁籤標題顏色*/
}

ul.product-list li a {
    color: #8a6846;/*產品格文字顏色*/
    background-color: #eee;/*產品格底色*/
}
ul.product-list li a:hover {
    color: #c9a887;/*產品格滑過文字顏色*/
}
.productdetail .detail-spec h2 p{
    color: #333;
    font-size: 30px;
}/*產品內頁標題文字*/


/*title文字顏色*/
.h1title h1{
    color: #8a6846;
}

a {
    color: #8a6846;/*連結顏色*/
    text-decoration: none;
}

.swiper-container {
  height: auto !important; /* 將容器預設的高拿掉 */
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(750 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important; /* 強制圖片寬度隨容器變更 */
}

#bodyinhome .fcol.fcol-1 .container {
   width: 100%;
   background-color: #beb4aa;
   padding: 0;
}/*拉寬編輯欄設定*/

/*#bodyinhome .fcol.fcol-6 .container {
   width: 100%;
   padding: 0;
}/*拉寬編輯欄設定*/


/*CSS圖形-線-方塊*/
.greyLine {
    position: relative;
    margin: 0 auto;
    height: 5rem;
    width: 1px;
    background: #beb4aa;
    display: block;
    margin-bottom: 2rem;
    /* transform: rotate(45deg); */
}

.greyLine::after {
    content: '';
    display: block;
    position: absolute;
    height: 0.625rem;
    width: 0.625rem;
    background: #beb4aa;
    transform: rotate(45deg);
    bottom: -0.625rem;
    left: -0.3125rem;
}


/**/
.t-img{  
  position: relative;
  display: inline-block;
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
  height: auto;
    border-radius: 1.5em;
  border: 2px solid #beb4aa;
}
.t-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  display: block;
}
.t-img h3 {
  position: absolute;
    z-index: 1;
    top: 40%;
    right: 10%;
    font-size: clamp(18px, 3vw, 30px);
    color: #fff;
    background-color: #c9a887;
    padding: 2px 20px;
    border-radius: 1em;
    letter-spacing: 2px;
}

/*圖文特效*/
.snip1558 {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0 auto;
  min-width: 150px;
  /*max-width: 400px;*/
  width: 100%;
  height: auto;
 /* background-color: #fff;
  box-shadow: 0 0 10px #eee;*/
}
.snip1558 *,
.snip1558 *:before,
.snip1558 *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
.snip1558 img {
  max-width: 90%;
  backface-visibility: hidden;
  vertical-align: top;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  padding: 1em;
  border-radius: 2em;
}
.snip1558 h3 {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 500;
    color: #333;
}
.snip1558 p {
  font-size: 14px;
  font-weight: 400;
  color: #333;
}
.snip1558 div{
  position: relative;
  display: flex;
  flex-direction: column;
  padding:0px 10px 10px;
  margin-top: -10px;
}
.snip1558 figcaption {
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  background-color: rgb(109 113 122 / 80%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.snip1558 figcaption h3 {
  color: #fff;
  font-size: 1.5em;   
}
.snip1558 i {
  color: #fff;
  font-size: 2em;
  z-index: 1; 
}

.snip1558 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
.snip1558:hover figcaption,
.snip1558.hover figcaption {
  opacity: 1;
  -webkit-transform: translateX(0);
  transform: translateX(0);
}


/*footer*/
#footer {
    color: #333;
    background-color: #beb4aa;
}
#footer a { color: #795548; }
#footer a:hover { color: #9d8d83; }


#foot-nav ul li a {
    display: block;
    color: #5e5956;
    font-size: 14px;
    margin-right: 15px;
    padding: 3px 10px;
    background-color: #e2dbd1;
    border-radius: 10px;
}
#foot-nav ul li a:hover { background-color: #fbf8f1; color: #795548;}
#foot-nav ul li.current a { color: #5e5956;}

#foot-nav {
  clear: both;
  padding: 2em 0 1em;
  border-bottom: 0px solid #444;
  display: flex;
  justify-content: center;
}
.contact-row h5 {
    color: #333;
}
#contact-info ul li span {
    color: #333;
}