.phone{position:fixed;right:1%;top:20%;z-index:1000;}

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 414px){ 
  .phone, .fb, .line-1, .ig, .map { 
    transform: scale(0.8);
    right:0;
  }
}

/*套用google font字型Noto Serif TC明體*/
#t-700{
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
  color: #023047;
  font-size: 40px;
}
@media only screen and (max-width: 768px){
#t-700{ font-size: 32px; }}

#t-500{
  font-family: 'Noto Serif TC', serif;
  font-weight: 500;
  line-height: 2;
}

#t-400{
  font-family: 'Noto Serif TC', serif;
  font-weight: 400;
  line-height: 2;
}

.topnavbar {
    background-color: #fff;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    height: 100px;/*頁籤底圖高度*/
    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: #333333;/*頁籤文字顏色*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #219EBC;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #333333;/*頁籤按下後文字顏色*/
}

/*頁籤按鈕上底線滑入特效-底線短*/
#nav ul li a::before {
  content:"";
  border-top:3px solid #219EBC;
  width:0;
  position:absolute;
  left:0;
  right:0;
  top:0px;
  margin:0 auto;
  transition:.3s all ease;
}
#nav ul li a:hover::before {
    width: 50%;
}

#nav .subnav {
    background-color: #fff;/*次頁籤底色*/
    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: #2276d2;/*產品格文字顏色*/
    background-color: #ddd;/*產品格底色*/
}
ul.product-list li a:hover {
    color: #2276d2;/*產品格滑過文字顏色*/
}
.productdetail .detail-spec h2 p{
    color: #333;
    font-size: 30px;
}/*產品內頁標題文字*/


/*title文字顏色*/
.h1title h1 { 
  color: #219EBC; 
  font-family: 'Noto Serif TC', serif;
  font-weight: 500;
  border-bottom: 1px dashed #ddd;
}

a {
    color: #00b7ee;/*連結顏色*/
    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: #f5f5f5;
  padding: 0;
}
#bodyinhome .fcol.fcol-2 {
  padding: 3rem 0;
}
#bodyinhome .fcol.fcol-3 .container {
  width: 100%;
  background-color: #f5f5f5;
  padding: 3rem 1rem;
}
#bodyinhome .fcol.fcol-4 {
  background-color: #023047;
  padding: 3rem 0;
}
#bodyinhome .fcol.fcol-5 {
  width: 100%;
  background: linear-gradient(to bottom, rgb(255 255 255 / 80%), rgb(255 255 255 / 100%)), url(https://static.iyp.tw/409104/files/99d1331d-23ec-452a-b3d5-bd39632ec2f0.jpg);
  background-repeat: no-repeat;
  background-position:center;
  background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
}
#bodyinhome .fcol.fcol-6 .container {
   width: 100%;
   background-color: #fff;
   padding: 0;
}/*拉寬編輯欄設定*/

body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}
/*首頁各層編輯欄設定*/

/*about img*/
@media only screen and (max-width: 991px){ .about-1 {width: 100%;}}
.about-1 img {
  object-fit: cover;
  width: 100%;
  height: 450px;
  display: block;  
}
@media only screen and (max-width: 768px){ .about-1 img { height: 300px; }}
  
  
/*表格按鈕-文字底色變化特效*/
.btn-1 {
    /*border-radius: 10px;/*表格按鈕框線圓角*/
    border: 2px solid #000;/*表格按鈕框線樣式*/
    color: #000;
    font-size: 14px;
}
.btn-1:hover{
    background-color: #333; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}
.custom-btn {
    padding: 5px 25px;
    font-family: Arial,微軟正黑體; 
    font-weight: 500;
    background: transparent;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}/*表格按鈕-文字底色變化特效*/

/*營業項目區塊效果*/
.service-1 ul li {
    padding: 5px 10px;
    margin: 8px;
    display: inline-block;
    width: calc(25% - 19px);
    border-radius: 5px;
    background-color: #FFB703;
    border: 1px solid #ffffff;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}
.service-1 p { font-weight: 700; }

@media only screen and (max-width: 768px){
.service-1 ul li { width: calc(50% - 19px);}
}

/*圖文連結特效*/
.snip1585 {
  background-color: #000;
  color: #fff;
  display: inline-block;
  font-size: 24px;
  margin: 0 auto 0;
  max-width: 100%;
  min-width: 160px;
  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 {
  background-color: rgba(0, 0, 0,  0.6);
  border-top:100% solid rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  bottom: -300px;
  left: 0;
  right: 0;
  content: '';
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  z-index: 1;
  opacity: 0;
}

.snip1585:after {
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
}
.snip1585 img {
  vertical-align: top;
  width: 100%;
  height: 250px;
  backface-visibility: hidden;
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
}

.snip1585 figcaption {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  align-items: center;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  line-height: 1.1em;
  opacity: 1;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

.snip1585 h3 {
  font-size: 1em;
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0;
  text-transform: uppercase;
  color: #fff;
}

.snip1585 h3 span {
  display: block;
  font-weight: 400;
  font-size:14px;
  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;
}

.snip1585:hover:after,
.snip1585.hover:after {
  -webkit-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}

.snip1585 span { opacity: 0;}


.snip1585:hover figcaption,
.snip1585.hover figcaption,
.snip1585:hover span,
.snip1585.hover span {
  opacity: 1;
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
  bottom:20px;
}

/*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; /*箭頭大小*/
}

.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;
}

/*聯絡我們區塊效果*/
.contact-1 ol li {
    padding: 20px 12px 12px;
    margin: 8px;
    display: inline-block;
    min-height: 66px;
    width: calc(25% - 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;
}
.contact-1 i { font-size:2rem; color:#8ECAE6; }
.contact-1 a { font-size:1rem; color:#333; }
.contact-1 i:hover, .contact-1 a:hover {opacity: 0.8;transition: all 0.3s ease;}

@media only screen and (max-width: 768px){
.contact-1 ol li { width: calc(100% - 19px);}
}
