.phone{position:fixed;right:1%;top:20%;z-index:1000;}
.line-1{position:fixed;right:1%;top:35%;z-index:1000;}
.fb{position:fixed;right:1%;top:50%;z-index:1000;}
.map{position:fixed;right:1%;top:65%;z-index:1000;}

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 414px){ 
  .phone, .fb, .line-1, .ig, .map { 
    transform: scale(0.8);
    right:0;
  }
}


/*LOGO語法*/
.topnavbar .container {
  text-align: center;
  padding: 20px 0 0 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: #5c7182;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 5px;
    padding: 5px;/*頁籤間距*/
}



/*nav*/
#nav {
    vertical-align: bottom;/*靠下*/
}
#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #fff;/*頁籤文字顏色*/
    padding: 20px 16px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #e4ac00;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #e4ac00;/*頁籤按下後文字顏色*/
    font-weight: 800;
}

/*下拉選單*/
#nav .subnav {
    background-color: #415a75;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
    width: max-content;/*最大內容*/
    text-align: center;
}

#nav li.has-subnav ul li.has-subnav>div a::after, #nav>ul>li.has-subnav>a::after {
    padding-left: 2px;/*下拉選單箭頭距離*/
} /


/*全部網頁文字*/
#main-wrap .container {
    font-size: clamp(16px, 2vw, 18px);
  line-height:30px;
  color: #2d2d2d;
}


/*圖文特效-服務範圍*/
.snip1518 {
  font-family: 'Lato', Arial, sans-serif;
  position: relative;
  overflow: hidden;
  margin: 2px 2px ;
  min-width: 250px;
  max-width: 310px;
  width: 100%;
  background-color: #ffffff;
  color: #2B2B2B;
  border-radius: 20px;
  text-align: center;
  font-size: 16px;
  text-wrap: pretty;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.snip1518 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.snip1518 img {
  max-width: 100%;
  vertical-align: top;
  position: relative;
}

.snip1518 figcaption {
  padding: 10%;
  padding-bottom: calc(25%);
  background-color: #ffffff;
}

.snip1518 h3 {
  font-family: 'Oswald';
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  margin: 3px 0;
}

.snip1518 h5 {
  font-weight: 400;
  margin: 0;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 1px;
}



.snip1518 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}



/*title文字顏色*/
.h1title {
    text-align: center;
    color: #fff;
    border-bottom: 0px solid #fff;
    
}

/*內頁編輯欄*/
.fcol.fcol-header {
    background: linear-gradient(-45deg, transparent 35%, #5c7182 0)left;
   /* background-repeat: no-repeat;*/
}
/*首頁編輯欄*/

#bodyinhome .fcol.fcol-2 {
     background-repeat: no-repeat;
   background-position: 50% 50%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.6) 10% ,rgba(0,0,0, 0.6) 100%) , url(https://static.iyp.tw/27269/files/d3300a69-2ea0-4900-9bb1-a57cddd331aa.jpg);
   padding: 2rem 0;
} 


#bodyinhome .fcol.fcol-2 .container {  
  background-color: rgba(255,255,255,0.8);   
  border-radius: 10px; 
   padding:2em;
}

#bodyinhome .fcol.fcol-4 {
     background-image: -webkit-linear-gradient(90deg,#5c7182 100% ,#5c7182  60.1%);
   padding: 2rem 0;
} 

#bodyinhome .fcol.fcol-6{
background-color:#333;
}


body.about-us .fcol.fcol-2 {
     background-repeat: no-repeat;
   background-position: 50% 50%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top, rgba(153,153,153,0.3) 10% ,rgba(31,31,31, 0.8) 100%) , url(https://static.iyp.tw/27269/files/46bd07cd-43f3-4098-9b16-5fc511cf2b91.jpg);
   padding: 2rem 0;
}

body.cases .fcol.fcol-2 {
     background-repeat: no-repeat;
   background-position: 50% 50%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.6) 10% ,rgba(0,0,0, 0.6) 100%) , url(https://static.iyp.tw/27269/files/d3300a69-2ea0-4900-9bb1-a57cddd331aa.jpg);
   padding: 2rem 0;
} 



body.cases .fcol.fcol-2 .container {  
  background-color: rgba(255,255,255,0.8);   
  border-radius: 10px; 
   padding:2em;
}


/*拉寬編輯欄設定*/

body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}





/*產品介紹圖文特效*/
@import url(https://fonts.googleapis.com/css?family=Roboto);
@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);
.snip1532 {
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  color: #000000;
  display:inline-block;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  margin: 10px 0.5%;
  max-width: 340px;
  min-width: 280px;
  position: relative;
  text-align: center;
  width: 100%;
  background-color: #ffffff;
}

.snip1532 *,
.snip1532 *:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

.snip1532 img {
  max-width: 100%;
  vertical-align: top;
  -webkit-transform-origin: 100% 100%;
  -ms-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
}

.snip1532 figcaption {
  position: absolute;
  top: 50%;
  width: 100%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  opacity: 0;
}

.snip1532 h3 {
  font-size: 20px;
  margin: 0;
  padding: 0 20px;
  text-transform: uppercase;
}

.snip1532 i {
  font-size: 40px;
  position: absolute;
  bottom: 0%;
  right: -1px;
  -webkit-transform: translate(0%, 100%);
  transform: translate(0%, 100%);
  opacity: 0;
  line-height: 60px;
  width: 60px;
  color: #fff;
  background-color: #000000;
}

.snip1532 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.snip1532:hover figcaption,
.snip1532.hover figcaption {
  opacity: 1;
}

.snip1532:hover img,
.snip1532.hover img {
  opacity: 0.2;
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.snip1532:hover i,
.snip1532.hover i {
  -webkit-transform: translate(0%, 0%);
  transform: translate(0%, 0%);
  opacity: 1;
}






/*按鈕-文字底色變化特效*/
.custom-btn {
    padding: 5px 20px;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}


.btn-fb, .btn-line  {
  border-radius: 40px;
  border: 0px solid #000;
  color: #fff;
  font-size: clamp(28px, 3vw, 30px);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 250px;
}

.btn-fb { background-color: #0258b5;}
.btn-fb:hover {
  transform:scale(1.1);
  background-color: #0258b5;
  top:-10px;
}

.btn-line { background-color: #ffbe00;}
.btn-line:hover {
  transform:scale(1.1);
  background-color: #ffbe00;
  top:-10px;
}




/*按鈕上下移動特效*/
.btn-move div:nth-child(n) {
  animation: MoveUpDown 3s linear infinite;
  position: relative;
  left: 0;
  bottom: 0;
}
.btn-move div:nth-child(even) {
  animation: MoveUpDown2 3s linear infinite;
  transform: translateY(-10px);
}
@keyframes MoveUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes MoveUpDown2 {
  0%, 100% { transform: translateY(-10px); }
  50% { transform: translateY(0); }
}

/*氣泡提示框*/
.speech-bubble {
	position: relative;
	background: #f9f9f9;
	border-radius: 50px;
  padding: 1em;
  min-height: 75%;
}
@media only screen and (max-width: 767px){ 
  .speech-bubble { min-height: auto;}
}
  
  
.speech-bubble:after {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	width: 0;
	height: 0;
	border: 25px solid transparent;
	border-bottom-color: #f9f9f9;
	border-top: 0;
	margin-left: -24px;
	margin-top: -24px;
}

.speech-bubble p { 
  text-align: justify;
  color: #000;
  font-size: clamp(14px, 2vw, 16px); /*最小值 首選值 最大值 限制屬性值區間*/
  line-height: 1.2;
}

.service-item h3 { 
  text-align: center;
  color: #e2ab2d;
  font-size: clamp(22px, 3vw, 24px);/*最小值 首選值 最大值 限制屬性值區間*/
  margin-bottom: 1.5em;
}


/*owl 輪播圖語法*/
.owl-carousel.owl-theme {
  padding: 0 1rem 2rem;
}
.owl-carousel.owl-theme .owl-nav {
  top: 50%;
  margin: 10px;
  transform: translateY(-50%);
}
.owl-carousel.owl-theme .owl-dots {
  bottom: 0;
}
.owl-carousel.owl-theme button:focus {
  outline: none;
}
.owl-carousel.owl-theme .owl-nav,
.owl-carousel.owl-theme .owl-dots {
  position: absolute;
  left: 0;
  right: 0;
}
.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 {
  display: block;
  width: 500px;
  height: 300px;
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  border: 3px solid #fff;
  box-shadow: 0 6px 5px rgba(173,173,173,0.5);
  background-color: #000;
}



.flex {
  display: flex;
  flex-direction: row-reverse;
}

/*了解更多*/
.bg-icon1  {
   margin-left: auto; 
  margin-right: auto;
  transition:.3s all ease;
  padding: 5px 20px;
  color: #fff;
  font-size: 18px;
   background-color: #bdaa94; 
  border-radius: 30px;
  text-align: center;
}

.bg-icon1:hover  {
  background-color: #b48043; 
  color: #fff;
}

.bg-icon1 a { color:#fff;}

.bg-icon2  {
   margin-left: auto; 
  margin-right: auto;
  transition:.3s all ease;
  padding: 5px 20px;
  color: #fff;
  font-size: 18px;
   background-color: #d2652d; 
  border-radius: 30px;
  text-align: center;
}

.bg-icon2:hover  {
  background-color: #d2652d; 
  color: #fff;
}

.bg-icon2 a { color:#fff;}



/*服務項目*/
@import url(https://fonts.googleapis.com/css?family=Raleway:400,600,700,800);
@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);
figure.snip1208 {
  font-family: 'Raleway', Arial, sans-serif;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin:0 auto;
  min-width: 150px;
  max-width: 310px;
  width: 100%;
  background-color: #ffffff;
  color: #000000;
  text-align: center;
  font-size: 16px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}
figure.snip1208 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
figure.snip1208 img {
  aspect-ratio: 4 / 3;
  object-fit: cover; 
  vertical-align: top;
  -webkit-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
figure.snip1208 figcaption {
  padding: 25px;
  position: relative;
}
figure.snip1208 .date,
figure.snip1208 i {
  background-color: #1abc9c;
  top: 25px;
  color: #fff;
  left: 25px;
  min-height: 60px;
  min-width: 60px;
  position: absolute;
  text-align: center;
}
figure.snip1208 .date {
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
}
figure.snip1208 .date span {
  display: block;
  line-height: 30px;
}
figure.snip1208 .date .month {
  font-size: 16px;
  background-color: rgba(0, 0, 0, 0.1);
}
figure.snip1208 i {
  line-height: 60px;
  font-size: 30px;
  -webkit-transform: rotateY(-90deg);
  transform: rotateY(-90deg);
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}
figure.snip1208 h3,
figure.snip1208 p {
  margin: 0;
  padding: 0;
}
figure.snip1208 h3 {
  margin-bottom: 10px;
  display: inline-block;
  font-weight: 600;
  color: #333333;
  text-transform: uppercase;
  word-break: break-all;
}
figure.snip1208 p {
  font-size: 0.8em;
  margin-bottom: 20px;
  line-height: 1.6em;
}
figure.snip1208 button {
  border: medium none;
  padding: 10px 20px;
  background-color: #cbd0cf;
  font-weight: 500;
  color: #494949;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.6em;
}
figure.snip1208 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}
figure.snip1208:hover img,
figure.snip1208.hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
figure.snip1208:hover .date,
figure.snip1208.hover .date {
  -webkit-transform: rotateY(90deg);
  transform: rotateY(90deg);
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}
figure.snip1208:hover i,
figure.snip1208.hover i {
  -webkit-transform: rotateY(0);
  transform: rotateY(0);
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
figure.snip1208:hover button,
figure.snip1208.hover button {
  background-color: #ffc000;
}




/*服務地區*/
@import url(https://fonts.googleapis.com/css?family=Roboto:300,400);
@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css);
.snip1533 {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  color: #9e9e9e;
  display: inline-block;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  margin: 10px;
  max-width: 250px;
  min-width: 190px;
  position: relative;
  text-align: center;
  width: 100%;
  background-color: #ffffff;
  border-radius: 5px;
  border-top: 5px solid #d2652d;
}

.snip1533 *,
.snip1533 *:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.1s ease-out;
  transition: all 0.1s ease-out;
}

.snip1533 figcaption {
  padding: 13% 10% 12%;
}

.snip1533 figcaption:before {
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  color: #d2652d;
  content: "\f10e";
  font-family: 'FontAwesome';
  font-size: 32px;
  font-style: normal;
  left: 50%;
  line-height: 60px;
  position: absolute;
  top: -30px;
  width: 60px;
}

.snip1533 h3 {
  color: #3c3c3c;
  font-size: 20px;
  font-weight: 300;
  line-height: 24px;
  margin: 10px 0 5px;
}

.snip1533 h4 {
  font-weight: 400;
  margin: 0;
  opacity: 0.5;
}

.snip1533 blockquote {
  font-style: italic;
  font-weight: 300;
  margin: 0 0 20px;
}

