.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;}
.ig{position:fixed;right:1%;top:56%;z-index:1000;}
.thread{position:fixed;right:1%;top:68%;z-index:1000;}
.x-twitter{position:fixed;right:1%;top:80%;z-index:1000;}

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 430px){ 
  .phone, .fb, .line-1, .ig, .map, .wechat, .shop-1, .x-twitter, .pixnet, .youtube-1, .tiktok , .thread { 
    transform: scale(0.7);
    right:0;
  }
}

.topnavbar {
    background-color: Transparent;/*頁籤底圖顏色;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 {
   font-family: 'Noto Sans TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/
   width: 100%;
   background-attachment: fixed; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position:center;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: url(https://static.iyp.tw/409698/files/eaef6b48-c005-438f-a5aa-e115dbed037b.jpg);
}

#logo h1 {
  text-align: center;
  height: auto;
  padding-top: 10px;
}

/*動到表格手機不會破版*/
table {
  table-layout: fixed;
  word-wrap:break-word;
} 

/*編輯欄設定*/
.fcol p{
    font-size: clamp(16px, 2vw, 18px); /*最小值 首選值 最大值 限制屬性值區間*/
    color: #000000;/*文字顏色*/
    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 { 
  font-family: "Zen Maru Gothic", serif;
  color: #895544;
  font-size: clamp(30px, 3vw, 40px); /*最小值 首選值 最大值 限制屬性值區間*/
}

#t-bg {
  background-color: #e7dfce;
  background-image: url("https://static.iyp.tw/409698/files/abcc4021-c41f-495f-94fe-7b2519a3edc3.svg");
  padding: 5px 30px;
  outline: 2px #b5acac dotted;
  outline-offset: -8px;
  border-radius: 40% 70% 30% 10% / 35% 40% 30% 80%;
  display: inline-block; 
  color: #895544;
  margin-bottom: 1em;
}

/*nav*/
#nav {
    vertical-align: bottom;
}
#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #895544;/*頁籤文字顏色*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #bf8f36;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #895544;/*頁籤按下後文字顏色*/
    font-weight: 500;
}

/*頁籤按鈕滑入圖標-文字圖標*/
#nav ul li a span::before {   
  content: '';
  background-image: url("https://static.iyp.tw/409698/files/51c7c63d-2879-4760-acad-260fbcc60b77.png");
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  width: 20px;
  height: 20px;
  left: -5px;
  bottom: 5px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
    opacity: 0;
}
#nav ul li a:hover span::before {   
  bottom: 10px;
  opacity: 1;
}

#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;/*下拉選單箭頭距離*/
}

ul.product-list li a {
    color: #2276d2;/*產品格文字顏色*/
    background-color: #eee;/*產品格底色*/
}
ul.product-list li a:hover {
    color: #2276d2;/*產品格滑過文字顏色*/
}
.productdetail .detail-spec h2 p{
    color: #333;
    font-size: 30px;
}/*產品內頁標題文字*/


/*title文字顏色*/
.h1title h1{
    color: #333333;
  text-align: center;
}

a {
    color: #895544;/*連結顏色*/
    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; /* 強制圖片寬度隨容器變更 */
}

/*首頁各層編輯欄設定*/
@media only screen and (min-width: 768px){ 
  #bodyinhome .fcol.fcol-2 .container,
  #bodyinhome .fcol.fcol-4 .container { width: 95%; }
}

#bodyinhome .fcol.fcol-3 {
  padding: 3em 0;
}
#bodyinhome .fcol.fcol-4 {
  background-color: #0002;
  padding: 3em 0;
}
#bodyinhome .fcol.fcol-6 .container {
   width: 100%;
   padding: 0;
}/*拉寬編輯欄設定*/


/*注意事項*/
.itme-1 {
  list-style-type: '\1F43E';
  margin-left: 2em;
  font-size: clamp(16px, 2vw,18px);
  color: #000;
  line-height: 1.5; 
  text-align: justify;
}
.itme-1 li { 
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px #b5acac dashed;
}


/*圖文連結特效*/
.snip1585 {
  background-color: #000;
  color: #fff;
  display: inline-block;
  margin: 0 auto;
  width: 100%;
  min-width: 150px;
  overflow: hidden;
  position: relative;
  text-align: center;
  width: 100%;
}

.snip1585 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.45s ease;
  transition: all 0.45s ease;
}

.snip1585:after {   
  content: '';
  background: rgba(0, 0, 0, 0.5);
    position: absolute;
    height: 50px;
    bottom: 0;
    left: 0;
    right: 0;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 1;
    opacity: 1;
}
.snip1585 img { 
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
}

.snip1585 figcaption {
  position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    z-index: 2;
    line-height: 1.1em;
    opacity: 1;
}

.snip1585 h3 {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 400;
  letter-spacing: 1px;
  margin: 0;
  text-transform: uppercase;
  color: #fff;
}

.snip1585 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

.snip1585:hover > img,
.snip1585.hover > img {
  opacity: 0.7;
    -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

/*按鈕-文字底色變化特效*/
.custom-btn {
    padding: 2px 15px;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.btn-more1 {
    border-radius: 30px;
    border: 1px solid #895544;
    color: #895544;
    font-size: clamp(14px, 2vw, 16px);
    background-color: transparent;
}
.btn-more1:hover{
    background-color: #955744; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}

/*footer*/
#footer {
    color: #000;
    background-color: #e7dfce;
}
#footer p{
   color: #000;/*footer文字顏色*/
  font-size: 16px;
  line-height: 1.6;
}

#footer a { color: #895544;}
#footer a:hover { color: #bf8f36; }

#foot-nav ul li a {
display: block;
    color: #000000;
    font-size: 14px;
    margin-right: 15px;
    padding: 3px 10px;
    background-color: #c4b098;
    border-radius: 10px;
}
#foot-nav ul li a:hover { background-color: #fbf8f1; color: #5e5956;}

#foot-nav {
  clear: both;
  padding: 2em 0 1em;
  border-bottom: 1px #8e6451 dashed;
  display: flex;
  justify-content: center;
}

/*聯絡資訊*/
.contact-1 i {
  font-size:40px;
  color:#895544;
}

.contact-row h5 {
    color: #000;
}
#contact-info ul li span {
    color: #000;
}/*聯絡我們資訊文字顏色*/


/*owl 輪播圖語法*/
.owl-carousel.owl-theme {
  padding: 0 20px 35px;/*內距:上 左右 下;*/
}
.owl-carousel.owl-theme .owl-nav {
  position: absolute;
  margin: 0;
  top:40%;
  left: 0;
  right: 0;
  transform: translateY(0%);
}
.owl-carousel.owl-theme .owl-dots {
  position: relative;
  left: 0;
  right: 0;
  bottom: 0;
}
.owl-carousel.owl-theme button:focus {
  outline: none;
}
.owl-carousel.owl-theme .owl-nav .owl-prev {
  float: left;
  transform: translateX(-100%);
}
.owl-carousel.owl-theme .owl-nav .owl-next {
  float: right;
  transform: translateX(100%);
}
.owl-carousel.owl-theme .owl-nav .owl-prev:hover,
.owl-carousel.owl-theme .owl-nav .owl-next:hover{
  background: none;
  color: inherit;
}
.owl-carousel.owl-theme .owl-nav .fa{
  font-size: 3em; /*箭頭大小*/
}

.editmode .owl-carousel.owl-loaded {
  display: flex;
  flex-wrap: wrap;
}
.editmode .owl-carousel > div {
  flex: 0 0 25%;
  max-width: 25%;
}

.owl-carousel .owl-item img {
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;  /*比例*/
  border: 2px solid #fff;
  box-shadow: 0 6px 5px rgba(44,44,44,0.25);
  border-radius: 1em;
}
.owl-carousel .row-no-gutters {
    margin-right: 5px;
    margin-left: 2px;
}
