.phone{position:fixed;right:1%;top:40%;z-index:1000;}
.phone-1{position:fixed;right:1%;top:52%;z-index:1000;}
.phone-2{position:fixed;right:1%;top:64%;z-index:1000}
.ig{position:fixed;right:1%;top:76%;z-index:1000}
.map{position:fixed;right:1%;top:88%;z-index:1000}

iframe { width:100%;}

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 430px){ 
  .phone, .fb, .line-1, .ig, .map, .wechat, .shop-1, .phone-1, .pixnet, .youtube-1, .tiktok , .thread { 
    transform: scale(0.8);
    right:0;
  }
}

/*按鈕-文字底色變化特效*/
.custom-btn {
    padding: 5px 25px;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.btn-more1 {
    border-radius: 30px;
    border: 0px solid #000;
    color: #fff;
    font-size: clamp(14px, 2vw, 16px);
    background-color: #e8a000;
     font-weight: 500;
}
.btn-more1:hover{
    background-color: #ff4e00; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}


/*table語法 -讓手機不會破版*/
table {
table-layout: fixed;
word-wrap:break-word;
}


.topnavbar {
 /* background-color: Transparent;*/
    background-color: #dfdfdf;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding-bottom: 0;/*頁籤間距*/
}

.topnavbar .container {
   text-align: center;
  padding: 0;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

body {
    background-color: #fff;/*背景底色*/
    font-family: 'Noto Sans TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/
}

/*logo置頂*/

#logo h1 { 
  text-align: center; 
  height: 70px;
}


/*動到表格手機不會破版*/
table {
  table-layout: fixed;
  word-wrap:break-word;
} 


body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}

.fcol h2 { 
    color: #0f2c45;
  font-size: clamp(0.8rem, 2vw, 1.5rem); 
 /*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2; 
}

ul.word li {
  list-style-type: disc;/*disc實心 ecimal 數字*/ 
  margin-left: 1em;
}

.fcol h3 { 
  color: #29445e;
    font-size: clamp(1.0rem, 2vw, 1.5rem);/*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2;
  margin-bottom: 1rem;
  display: inline-block;
}

.fcol h4 { 
    color: #29445e;
  font-size: clamp(1.0rem, 2vw, 2.0rem); 
 /*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2;  
}

/*nav*/
#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #191919;/*頁籤文字顏色*/
    padding: 10px 16px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #fff;/*頁籤滑過文字顏色*/
  background-color: #3975a7;
}
#nav ul li.current a {
    color: #eba300;/*頁籤按下後文字顏色*/
    font-weight: 500;
}



#nav .subnav {
    background-color: #fff;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
    width: max-content;/*最大內容*/
    text-align: left;
}

#nav li.has-subnav ul li a:hover {
   color: #fff;/*次頁籤滑過後文字顏色*/ 
  background-color: rgb(57, 117, 167);
}

#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: #3975a7;/*產品格文字顏色*/
    background-color: #e6e7e9;/*產品格底色*/
}

ul.product-list li a:hover {
    color: #3975a7;/*產品格滑過文字顏色*/
}

h3 { font-size: clamp(1.0rem, 2vw, 2.0rem); }

/*title文字顏色*/
.h1title h1{
    color: #333333;
}

a {
    color: #3975a7;/*連結顏色*/
    text-decoration: none;
}

a:hover  {
    color: #1e5a9b;/*連結顏色*/
    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; /* 強制圖片寬度隨容器變更 */
}

/*title文字顏色*/
body.about-us  .h1title {display: none;}
.fcol.fcol-header .container { padding: 0px;/*頁籤間距*/}

/*各層編輯欄設定*/
#bodyinhome .fcol.fcol-1 {  
  background: linear-gradient(to bottom, rgba(242,242,242,1) 0%,rgba(204,204,204,1) 100%); 
  padding: 3em 1em;}

#bodyinhome .fcol.fcol-2 {  
  background-image: -webkit-linear-gradient(95deg, #ffffff 72%, #ccc 72.1%);
  padding: 3em 1em;}

#bodyinhome .fcol.fcol-3  {
    background-image: -webkit-linear-gradient(275deg, #ffffff 75%, #ccc 75.1%);
  padding: 3em 1em;
}

#bodyinhome .fcol.fcol-4  {   
  background-image: -webkit-linear-gradient(95deg, #ffffff 72%, #ccc 72.1%);
  padding: 3em 1em;
}

/*
body.about-us .fcol.fcol-2, body.about-us .fcol.fcol-4 {
   background-color: #3975a7;
   padding: 2em 0;
}


body.about-us .fcol.fcol-6 {
   background-color: #3975a7;
   padding: 2em 0;
}*/

#bodyinhome .fcol.fcol-6 { 
   width: 100%;
   background-attachment: scroll;
   background-repeat: no-repeat;
   background-position:50% 50%;
   background-size: cover;
   background-image: -webkit-linear-gradient(left, rgb(0 0 0 / 0%) 0%, rgb(0 0 0 / 30%) 100%),url(https://static.iyp.tw/1855/files/d3f14261-ad73-44db-80c5-9cd196748755.jpg);
   background-color: #e8c8a2;
  padding: 3rem 0;
}



/*footer*/
#footer {
    color: #fff;
    background-color: #3975a7;
}
#foot-nav {
  clear: both;
  padding: 2em 0 1em;
  border-bottom: 0px solid #444;
  display: flex;
  justify-content: center;
  
}

.contact-row h5 { color: #fff;}

#footer a { color: #fff; }
#footer a:hover { color: #fff; }

#foot-nav ul li a {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-right: 15px;
    padding: 3px 10px;
    background-color: #afafaf;
   border-radius: 5px;
}

#foot-nav ul li a:hover { background-color: #2d5c85; color: #fff;}

/* 文字新做法*/
#main-wrap .container {
     font-size: clamp(1.0rem, 1.5vw, 1.2rem);
  line-height:30px;
  color: #2d2d2d;
}
#footer {
   font-size: 12px;
}

#contact-info ul li span {
    color: rgb(255, 255, 255);
}

/*按鈕-文字底色變化特效*/


.btn-fb, .btn-line  {
  border-radius: 10px;
  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: #ff6000;}
.btn-fb:hover {
  transform:scale(1.1);
  background-color: #df5400;
  top:-10px;
}

.btn-line { background-color: #00b900;}
.btn-line:hover {
  transform:scale(1.1);
  background-color: #009900;
  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); }
}

@import url(https://fonts.googleapis.com/css?family=Open+sans);
@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);
@import url(https://fonts.googleapis.com/css?family=Playfair+Display);
.snip1515 {
  font-family: 'Open Sans', Arial, sans-serif;
  position: relative;
  margin: 10px;
  min-width: 230px;
  max-width: 315px;
  width: 100%;
  color: #fff;
  text-align: center;
  line-height: 1.4em;
  font-size: 14px;
  box-shadow: none !important;
}

.snip1515 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.snip1515 .profile-image {
  display: inline-block;
  width: 80%;
  z-index: 1;
  position: relative;
  padding: 10px;
  border: 2px solid #e8b563;
}

.snip1515 .profile-image img {
  max-width: 100%;
  vertical-align: top;
  aspect-ratio: 4 / 3;
  object-fit: cover; 
}

.snip1515 figcaption {
  width: 100%;
  background-color: #eba300;
  color: #555;
  padding: 125px 25px 25px;
  margin-top: -100px;
  display: inline-block;
}

.snip1515 h3,
.snip1515 h4,
.snip1515 p {
  margin: 0 0 5px;
  color: #fff;
}

.snip1515 h3 {
  font-weight: 600;
  font-size: 1.6em;
  letter-spacing:2px;
  font-family: 'Playfair Display', Arial, sans-serif;
}


.snip1515 p {
  font-size: 1.2em;
  letter-spacing:1.5px;
  opacity: 0.9;
  color: #fff;
}

.snip1515 .icons {
  text-align: center;
  width: 100%;
}

.snip1515 i {
  padding: 10px 2px;
  display: inline-block;
  font-size: 18px;
  font-weight: normal;
  color: #e8b563;
  opacity: 0.75;
}

.snip1515 i:hover {
  opacity: 1;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
}

/*圖文特效按鈕-圖縮放大標題在上*/
.snip1374 {
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 160px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  text-align: center;
  background-color: #000000;
  text-shadow: 2px 2px 5px #000000;/*文字陰影*/
}
.snip1374 figcaption {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
 -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.snip1374 h2{
  font-family: 'Noto Sans TC', sans-serif;
  text-transform: uppercase;/*文字大寫*/
  color:#ffffff;/*文字顏色*/
  font-size: 1.2rem;/*文字大小*/
  font-weight: 700;/*文字粗細*/
  line-height: 1.5;/*文字行距*/
  letter-spacing: 2px;　/* 設定文字間距 */
}
.snip1374 img {
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  width: 100%;
  aspect-ratio: 4 / 3; object-fit: cover;
  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;
}


/*產品*/  
.service-item {
            background-color: #f8f9fa;
            height:100%;
            border-radius: 8px;
            padding: 20px;
            transition: all 0.3s ease-in-out;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.service-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }
 .service-item i {
            font-size: 60px;
            color: #253852;
            margin-bottom: 10px;
 }
.service-item h2 {
            font-size: 22px;
            color: #333;
            margin-bottom: 10px;
}
.service-item p {
            font-size: 16px;
            color: #666;
            line-height: 1.6;
 }

/*按鈕-文字底色變化特效*/
.custom-btn {
    padding: 5px 20px;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.btn-more1 {
    border-radius: 30px;
    border: 2px solid #E2AB2D;
    color: #fff;
    font-size: clamp(14px, 2vw, 16px);
    background-color: #E2AB2D;
    font-weight: 500;
}
.btn-more1:hover{
    background-color: #003CA6; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}

.btn-fb, .btn-line, .btn-phone {
  border-radius: 10px;
  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: #ff0000;}
.btn-fb:hover {
  transform:scale(1.1);
  background-color: #c20000;
  top:-10px;
}

.btn-line { background-color: #f86f00;}
.btn-line:hover {
  transform:scale(1.1);
  background-color: #f89200;
  top:-10px;
}

.btn-phone { background-color: #ed0059;}
.btn-phone:hover {
  transform:scale(1.1);
  background-color: #ca004c;
  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); }
}

