.phone{position:fixed;right:1%;top:40%;z-index:1000;}
.line-1{position:fixed;right:1%;top:55%;z-index:1000;}
@media only screen and (max-width:767px){
#bg5{
  background-image:url("");
  background-position:center;
  background-repeat:no-repeat;
}}

@media only screen and (min-width:768px){
#bg5{
  background-image:url("https://static.iyp.tw/409236/files/40350964-f4e6-4253-9e19-1295c1c0ee98.png");
  background-position:center;
  background-repeat:no-repeat;
}}


body{
  background-image:url("https://static.iyp.tw/409236/files/2a11a08e-504d-44e7-927c-fb5c1aeaeb42.png");
  background-repeat:repeat;
}

.b_btns{
  border-radius: 20px;
  background-color:#76542c;
}

.font_01 {
  font-family: "Noto Serif TC", serif;
  font-weight: 400;
  font-style: normal;
}

.line3 {
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #666;
}

.ink-box {
  border-width: 2px 3px 2px 5px;
  border-radius: 90% 6% 93% 5% / 5% 94% 7% 95%;
  /* 做出傾斜的視覺感 */
  transform: rotate(2deg);
}
.ink-box-double {
  border: dashed black 2px;
  border-color:#333;
}
.box-inner {
  /* 將傾斜的部分修正 */
  transform: rotate(-2deg);
}


#bg_01{
  background-image:url("https://static.iyp.tw/409146/files/5d7bc66c-d04a-4c57-b3d1-19b3cc0f75ec.jpg");
}
.goods img {
    animation: myfirst 1.5s infinite;    //無限次跳動   infinite
}
.goods2 img {
    animation: myfirst 1s infinite;    //無限次跳動   infinite
}
@keyframes myfirst {
    0% {
        transform: translate(0px, 0px);
    }
    50% {
        transform: translate(0px, -9px);
    }
    100% {
        transform: translate(0px, 0px);
    }
}
/*Basic button styling */
button_new {
    background: #fff;
    border-radius: 2px;
    cursor: pointer;
    display: block;
    padding: 5px;
    position: relative;
    transition: all .3s;
    border: 1px solid #666;
    text-align:center;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 0;
    color: #333;
    overflow: hidden;
    font-family: '微軟正黑體';
}
button_new:hover {
    color: #fff;
}
    /*Adding the hover effect base */
    button_new::before {
        content: '';
        height: 100%;
        width: 100%;
        background: #c80000;
        position: absolute;
        top: 0;
        right: 0;
        transition: all .3s;
        z-index: -1;
    }
        /*Fade in*/
        button_new.fade::before {
            opacity: 0;
        }
            button_new.fade:hover::before {
                opacity: 1;
            }
        
        /*Slide in from top*/
        button_new.top::before {
            transform: translate(0, -100%);
        }
            button_new.top:hover::before {
                transform: translate(0, 0);
            }
            
        /*Slide in from bottom*/
        button1.bottom::before {
            transform: translate(0, 100%);
        }
            button.bottom:hover::before {
                transform: translate(0, 0);
            }
        
        /*Slide in from right*/
        button_new.right::before {
            transform: translate(100%, 0);
        }
            button_new.right:hover::before {
                transform: translate(0, 0);
            }
            
        /*Slide in from left*/
        button_new.left::before {
            transform: translate(-100%, 0);
        }
            button_new.left:hover::before {
                transform: translate(0, 0);
            }
        
        /*Slide in from top left*/
        button_new.topLeft::before {
            transform: translate(-100%, -100%);
        }
            button_new.topLeft:hover::before {
                transform: translate(0, 0);
            }
            
        /*Slide in from top right*/
        button_new.topRight::before {
            transform: translate(100%, -100%);
        }
            button_new.topRight:hover::before {
                transform: translate(0, 0);
            }
            
        /*Slide in from bottom right*/
        button_new.bottomRight::before {
            transform: translate(100%, 100%);
        }
            button_new.bottomRight:hover::before {
                transform: translate(0, 0);
            }
        
        /*Slide in from bottom left*/
        button_new.bottomLeft::before {
            transform: translate(-100%, 100%);
        }
            button_new.bottomLeft:hover::before {
                transform: translate(0, 0);
            }
            
.btn-1 {
    background-color: #fff; /* 按鈕表格底色 */
    color: #333;
    padding:10px;
  border:1px #ccc solid;
}
.btn-1:hover{
    background-color: #000 /* 當滑鼠經過時按鈕表格底色變化 */
    color: #ffffff;/* 當滑鼠經過時按鈕表格文字變化 */
}


/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 414px){ 
  .phone, .fb, .line-1, .ig, .map { 
    transform: scale(0.8);
    right:0;
  }
}


#t-500{
font-family: 'Noto Sans TC', sans-serif;
}

.topnavbar {
   background: linear-gradient(135deg,  rgba(118,84,44,1) 0%,rgba(117,93,66,1) 40%,rgba(118,84,44,1) 100%);

    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    height: auto;/*頁籤底圖高度*/
    padding: 0;/*頁籤間距*/
}

.topnavbar .container {
  text-align: justify;
  padding: 10px 0 0 0;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

body {
    background-color: #fff;/*背景底色*/
}

#logo h1 { text-align: center; }

table {
table-layout: fixed;
word-wrap:break-word;
} /*動到表格手機不會破版*/


/*編輯欄設定*/
.fcol p{
    font-size: 18px;/*文字大小*/
    color: #000000;/*文字顏色*/
    line-height: 2;
}
@media only screen and (max-width: 768px){
.fcol p{
    font-size: 16px;/*螢幕寬度768px內文字大小*/
}}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}
/*編輯欄設定*/


/*nav*/
#nav ul li a {
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #fff;/*頁籤文字顏色*/
    padding: 10px 15px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    font-weight:bold;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #dec15b;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #dec15b;/*頁籤按下後文字顏色*/
}
/*頁籤按鈕上底線滑入特效-底線短*/
#nav ul li a::before {
  content:"";
  border-top:3px solid #dec15b;
  width:0;
  position:absolute;
  left:0;
  right:0;
  top:0px;
  margin:0 auto;
  transition:.3s all ease;
}
#nav ul li a:hover::before {
    width: 70%;
}

#nav .subnav {
    background-color: #333;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
    text-align: left;
}
#nav .subnav .has-subnav span{
    max-width: 400px;/*次頁籤文字背景最大寬度*/
}

#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: #a50034;/*產品格文字顏色*/
    background-color: #eee;/*產品格底色*/
}

.productdetail .detail-spec h2 p{
    color: #333;
    font-size: 30px;
}/*產品內頁標題文字*/


/*title文字顏色*/
.h1title h1{
   color: #333333;
   font-weight: 700;
   text-align: center;
}

a {
    color: #00b7ee;/*連結顏色*/
    text-decoration: none;
}

.swiper-container {
  height: auto !important; /* 將容器預設的高拿掉 */
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(735 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important; /* 強制圖片寬度隨容器變更 */
}

/* 首頁各層編輯欄背景*/
#bodyinhome .fcol.fcol-1 {
background-image:url("https://static.iyp.tw/409236/files/9e5a23d0-9e3b-4411-aeef-6bfc025f5201.jpg");
  background-position:center top;
  background-repeat:no-repeat;
  background-color:#f4e8dc;
}
#bodyinhome .fcol.fcol-2{
background-image:url("https://static.iyp.tw/409236/files/90d7677f-a6e8-4063-9f37-90661b954ba7.jpg");
  background-attachment:fixed;
}/*拉寬編輯欄設定*/
#bodyinhome .fcol.fcol-5 .container {

}/*拉寬編輯欄設定*/
#bodyinhome .fcol.fcol-4 .container {

}/*拉寬編輯欄設定*/

#bodyinhome .fcol.fcol-3 {
  background-image:url("https://static.iyp.tw/409236/files/a205d482-f77d-43ca-9770-a87e157000d5.jpg");
background-attachment:fixed;
}
#bodyinhome .fcol.fcol-4 {
display:none;
}
#bodyinhome .fcol.fcol-5 {
display:none;
}
#bodyinhome .fcol.fcol-6 {
display:none;
}

body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

/*圖文特效按鈕-標題在上+內文滑入*/
.snip1374 {
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 160px;
  max-width: 100%;
  width: 100%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  text-align: left;
  background-color: #000000;
  text-shadow: 2px 2px 5px #000000;/*文字陰影*/
}
.snip1374 figcaption {
  position: absolute;
  top: 10%;
  left: 0;
  right: 0;
  padding: 20px;
 /*-webkit-transform: translateY(-50%);
  transform: translateY(-50%);*/
}
.snip1374 h2{
  font-family: '微軟正黑體', sans-serif;
  text-transform: uppercase;/*文字大寫*/
  color:#ffffff;/*文字顏色*/
  font-size: 1.5rem;/*文字大小*/
  font-weight: 700;/*文字粗細*/
  line-height: 1.3;/*文字行距*/
  letter-spacing: 1;　/* 設定文字間距 */
  border-bottom: 2px solid #fff;
}
.snip1374 h2::after {
    content: '';
    margin-top: 10px;
    display: block;
    width: 20%;
    height: 2px;
    background: #c2fff9;
}
.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;
}
.snip1374 p {
  position: relative;
  color: #fff;
  font-size: 1em;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  opacity: 0;
  line-height: 1.3;
}
.snip1374:hover p,
.snip1374.hover p {
  -webkit-transform: translateY(30%);
  transform: translateY(30%);
  opacity: 1;
}
.snip1374 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.45s ease;
  transition: all 0.45s ease;
}

/*owl 輪播圖語法*/
.owl-carousel.owl-theme {
  padding: 0 20px 35px;/*內距:上 左右 下;*/
}
.owl-carousel.owl-theme .owl-nav {
  position: absolute;
  margin: 0;
  top:150px;
  left: 0;
  right: 0;
  transform: translateY(-50%);
}
.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; /*箭頭大小*/
  color:#eee;
}

.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%;
  height: 250px; /*高度*/
  border: 2px solid #fff;
  box-shadow: 0 6px 5px rgba(44,44,44,0.25);
}
.owl-carousel .row-no-gutters {
    margin-right: 5px;
    margin-left: 2px;
}

/*聯絡我們區塊效果*/
.f_contact ol li {
    padding: 14px;
    margin: 8px 8px 8px 8px;
    display: inline-block;
    min-height: 66px;
    width: calc(33.3% - 19px);
    border-radius: 5px;
    line-height: 32px;
    border: 1px solid rgba(238,238,238,.25);
    box-shadow: 0px 0px 5px -2px rgba(0,0,0,.5) inset;
}
.f_contact i { font-size:1rem; color:#2196f3; }

@media only screen and (max-width: 991px){
.f_contact ol li { width: calc(100% - 19px);}
