.phone{position:fixed;right:1%;top:20%;z-index:1000;}

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 414px){ 
  .phone, .fb, .line-1, .ig, .map, .wechat, .shop-1, .x-twitter, .pixnet { 
    transform: scale(0.8);
    right:0;
}}

/*LOGO語法*/
.topnavbar .container {
  text-align: justify;
  padding: 20px 0 20px 0;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

#logo h1 {
    height: 70px;
}

/*banner*/
.swiper-container {
  height: auto !important; /* 將容器預設的高拿掉 */
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(750 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important; /* 強制圖片 寬度隨容器變更 */
}

/*按鈕背影*/
.topnavbar {
 /* background-color: Transparent;*/
    background-color: #f8f9fa;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding: 0;/*頁籤間距*/
}

/*nav*/
#nav {
    vertical-align: bottom;
}
#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #2d3c27;/*頁籤文字顏色*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
    font-weight: 500;
}

#nav ul li a:hover  {
    color: #6cad41;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #6cad41;/*頁籤按下後文字顏色*/
    font-weight: 600;
}

/*頁籤按鈕上底線滑入特效-底線短*/
#nav ul li a::before {
  content:"";
  border-top:3px solid #6cad41;
  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: #f8f9fa;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
    width: max-content;/*最大內容*/
    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;/*下拉選單箭頭距離*/
}



body {
    background-color: #fcfcfc;/*背景底色*/
     font-family: "Chocolate Classical Sans", sans-serif; /*巧克力古典無襯線字體*/
}



/*改內文標題顏色*/
h1, h2, h3, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: inherit;
    font-weight: 700;
    line-height: inherit;
    color: #2d3c27;
}

h1, .h1 {
text-align: center;
}

ul.product-list li a {
    display: flex;
    flex-flow: column;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    text-decoration: none;
    cursor: pointer;
    padding-bottom: 16px;
    color: #2d3c27;
    border: 1px solid #ddd;
    border-radius: 3px;
    background-color: rgba(0,0,0,0.05);
    transition-property: color, box-shadow
}


/*各層編輯欄設定*/



body.about-us .fcol.fcol-3 {
background-repeat: no-repeat;
   background-position: 50% 10%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top, rgba(255,255,255,0) 0% ,rgba(255, 255, 255, 0) 100%) , url(https://static.iyp.tw/409925/files/6b2caff9-3681-4802-b0fc-3290c819a6ce.jpg);
 }  


body.about-us .fcol.fcol-4 {
background-repeat: no-repeat;
   background-position: right bottom;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top, rgba(255,255,255,0.8) 0% ,rgba(255, 255, 255, 0.8) 100%) , url(https://static.iyp.tw/409925/files/fad047bc-0641-4de8-a3e5-7c86e1700d45.png);
}

body.about-us .fcol.fcol-6 {
background-color: #fff;
padding:50px
}

#footer {
    color: #2d3c27;
    background-color: #ecefe6;
}

#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 0px solid #444
}
#foot-nav ul li a {
    display: block;
    color: #6cad41;
    font-size: 1.06em;
    margin-right: 10px;
    padding: 8px 16px;
}

#foot-nav ul li.current a,#foot-nav ul li a:hover {
    color: #6cad41
}

/*了解更多*/
.bg-icon1  {
    color: #fff;
    border: 1px solid #fff;
    letter-spacing: 5px;
    display: inline-block;
    padding: 18px 45px;
    text-decoration: none;
    margin: 40px 30px;
    font-size: 16px;
    transition: all 0.2s;
}

.bg-icon1:hover  {
  background-color: #f5f5f5; 
  color: #221817;
}

.bg-icon1 a { color:#221817;}

.bg-icon2  {
  margin-left: auto; 
  margin-right: auto;
    color: #606654;
    border: 1px solid #606654;
    display: inline-block;
    padding: 12px 30px;
    font-size: 18px;
  border-radius: 30px;
    transition: all 0.2s;
}
.bg-icon2:hover  {
  background-color: #f5f5f5; 
  color: #606654;
}
.bg-icon2 a { color:#606654;}  
  
  
.bg-icon3  {
    color: #fff;
    border: 1px solid #fff;
    display: inline-block;
    padding: 12px 30px;
    font-size: 18px;
  border-radius: 30px;
    transition: all 0.2s;
  

  
}
.bg-icon3:hover  {
  background-color: #f5f5f5; 
  color: #fff;
}
.bg-icon3 a { color:#fff;}   
  


/*精選品種*/ 
@import url(https://fonts.googleapis.com/css?family=Raleway:400,600,700);
@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);
figure.snip1216 {
  font-family: 'Raleway', Arial, sans-serif;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 250px;
  max-width: 340px;
  width: 100%;
  background-color: #7b5318;
  color: #fff;
  text-align: left;
  font-size: 16px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}
figure.snip1216 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
figure.snip1216 .image {
  max-height: 220px;
  overflow: hidden;
}
figure.snip1216 img {
  max-width: 100%;
  vertical-align: top;
  position: relative;
}
figure.snip1216 figcaption {
  padding: 25px;
  position: relative;
}
figure.snip1216 .date {
  background-color: #c0392b;
  top: 25px;
  color: #fff;
  left: 25px;
  min-height: 48px;
  min-width: 48px;
  position: absolute;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}
figure.snip1216 .date span {
  display: block;
  line-height: 24px;
}
figure.snip1216 .date .month {
  font-size: 14px;
  background-color: rgba(0, 0, 0, 0.1);
}
figure.snip1216 h3,
figure.snip1216 p {
  margin: 0;
  padding: 0;
}
figure.snip1216 h3 {
  min-height: 50px;
  margin-bottom: 10px;
  display: inline-block;
  font-weight: 600;
  text-transform: uppercase;
}
figure.snip1216 p {
  font-size: 0.8em;
  margin-bottom: 20px;
  line-height: 1.6em;
}
figure.snip1216 footer {
  padding: 0 25px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #bc7e23;
  font-size: 0.8em;
  line-height: 30px;
  text-align: right;
}
figure.snip1216 footer > div {
  display: inline-block;
  margin-left: 10px;
}
figure.snip1216 footer i {
  color: rgba(255, 255, 255, 0.2);
  margin-right: 5px;
}
figure.snip1216 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}
figure.snip1216:hover img,
figure.snip1216.hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

