.phone{position:fixed;right:1%;top:35%;z-index:1000;}
.line-1{position:fixed;right:1%;top:50%;z-index:1000;}

@media only screen and (min-width: 768px){
.text_word {
  -webkit-writing-mode: vertical-rl;
   line-height:60px;
}}


/*產品-區塊項目li效果—5格*/
.pro_item ul li {
    padding: 5px;
    margin: 5px;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: column;
    width: calc(25% - 10px);
    border-radius: 5px;
    line-height: 1.5;
    border: 1px solid #dddddd;
    background-color: #fff;
  font-size: 15px;
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 500;
  text-align: center;
}
.pro_item a { color:#666 ;font-size: 15px;}

.pro_item a:hover { 
  opacity: 0.8;   
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media only screen and (max-width: 991px){
 .pro_item ul li { width: calc(33% - 10px); font-size: 14px;}
  .pro_item a { font-size: 14px;}
}
@media only screen and (max-width: 768px){
 .pro_item ul li { width: calc(50% - 10px); }
}
@media only screen and (max-width: 567px){
 .pro_item ul li { width: calc(50% - 10px); }
}

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 430px){ 
  .phone, .fb, .line-1, .ig, .map, .wechat, .shop-1, .x-twitter, .pixnet, .youtube-1, .tiktok , .thread { 
    transform: scale(0.8);
    right:0;
  }
}

.container h4 {
   background: linear-gradient(to top, #ff4200, #ff4200, #ee8c00);
   background-clip: text;
   -webkit-background-clip: text;
   color: transparent;
  font-size: clamp(24px, 2vw, 40px);
  font-weight: 700;
  line-height:40px;
  font-family: 'Noto Serif TC', serif;
}

/*套用google font字型Noto Serif TC明體*/
#t-500{
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
    color: #2c2c2c;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 40px;
}

.topnavbar {
 /* background-color: Transparent;*/
    background-color: #dfdfdf;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding: 0;/*頁籤間距*/
}

.topnavbar .container {
  text-align: justify;
  padding: 10px 0 0 0;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

#logo h1 {
    height: 70px;
}


a {
    color: #9e7865;/*連結顏色*/
    text-decoration: none;
}

/* 首頁與內頁共用 */
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(700 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}

/*nav*/
#nav {
    vertical-align: bottom;
}

/*nav*/
#nav ul li a {

    font-size: 1.0rem;/*頁籤文字大小*/
    color: #121313;/*頁籤文字顏色*/
    padding: 10px 11px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #00955f;/*頁籤滑過文字顏色*/
}

#nav ul li.current a {
    color: #00955f;/*頁籤按下後文字顏色*/
    font-weight: 500;
}

/*頁籤按鈕下底線滑入特效-底線短*/
#nav ul li a::before {
  content:"";
  border-bottom:3px solid #00955f;
  width:0;
  position:absolute;
  left:0;
  right:0;
  top:0px;
  margin:0 auto;
  transition:.3s all ease;
  border-radius: 2px;
}

#nav ul li a:hover::before {
    width: 50%;
}

#nav ul.subnav li a::before {
  display:none;
}

body.about-us .fcol.fcol-3 {
    background-color: #ffffff;
     width: 100%;
   padding:0px;
}

body.about-us .fcol.fcol-6 {
   background-repeat: no-repeat;
   background-position: 50% 10%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.6) 0% ,rgba(0, 0, 0, 0.6) 100%) , url(https://static.iyp.tw/1257/files/0d1f17cf-c8b4-467e-8146-9871820ecf7f.jpg);
   padding: 3rem 0;
}


/*title文字顏色*/
body.about-us  .h1title {display: none;}

.h1title h1 {font-size: 16pt; color: #00955f;}
.fcol.fcol-header .container { padding: 0px;/*頁籤間距*/}
/* 消除空白*/
body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}

/*改內文標題顏色*/
h2, h5, h6, .h1, .h2, .h4, .h5, .h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: inherit;
    color: #00955f;
}


.product-list-div h2 a {
    color: #0d2282;
    text-decoration: none;
    display: inline-block;
}

ul.product-list li a.focus h3, ul.product-list li a:hover h3 {
    color: #00955f;
}
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: #00955f;
    overflow: hidden;
    padding: 0 16px;
}


body[data-type="fullpage"] .product-list-div h2 a.show-all:hover {
    color: #fff;
}


body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}


#main-wrap .container {
    font-size: clamp(16px, 2vw, 18px);
  line-height:30px;
  color: #232d3a;
}

/*footer*/
#footer {
    background-color: #646464;
    color: #fff;
}

#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 0px solid #7825c1;
}
#foot-nav ul li a {
    display: block;
    color: #fff;
    font-size: 1.02em;
    margin-right: 10px;
    padding: 8px 16px;
}

#foot-nav ul li.current a {  color: #fff; }


body {
    background-color: #dfdfdf;/*背景底色*/
    font-family: 'Noto Sans TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/
}


/*服務項目*/
@import url(https://fonts.googleapis.com/css?family=Roboto:300,400,600);
.snip1347 {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  min-width: 230px;
  max-width: 315px;
  width: 100%;
  color: #ffffff;
  text-align: left;
  line-height: 1.4em;
  background-color: #141414;
  height: 100%;
}
.snip1347 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
.snip1347 img {
  width: 100%;
  vertical-align: top;
  opacity: 0.85;
  height:300px;
  object-fit: cover;
}
.snip1347 .date {
  position: absolute;
  background-color: #1e1e1e;
  top: 0;
  right: 0;
  width: 100%;
  padding: 10px 25px 0;
  text-align: right;
  font-size: 0.8em;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}
.snip1347 .date:before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 400px 55px 0;
  border-color: transparent #1e1e1e transparent transparent;
}
.snip1347 figcaption {
  width: 100%;
  background-color: #141414;
  padding: 0 25px 25px;
  position: relative;
}
.snip1347 figcaption:before {
  position: absolute;
  content: '';
  bottom: 100%;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 55px 0 0 400px;
  border-color: transparent transparent transparent #141414;
}
.snip1347 figcaption a {
  padding: 5px;
  border: 1px solid #ffcc00;
  color: #ffcc00;
  font-size: 0.7em;
  text-transform: uppercase;
  text-decoration: none;
  margin: 10px 0;
  display: inline-block;
  opacity: 0.65;
  width: 47%;
  text-align: center;
  font-weight: 600;
  letter-spacing: 1px;
}
.snip1347 figcaption a:hover {
  opacity: 1;
}
.snip1347 h2 {
  margin: 0 0 10px;
  font-weight: 300;
  font-size: 1.5em;
  line-height: 1.2em;
  color:#00955f;
}
.snip1347 p {
  margin: 0 0 10px;
  font-size: 0.8em;
  letter-spacing: 1px;
  opacity: 0.8;
}

