.container h4 {
    color: #ff7e00;
  font-size: 25px;
  font-weight: 700;
}



.topnavbar {
 /* background-color: Transparent;*/
    background-color: #fff;/*頁籤底圖顏色;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: #373737;/*連結顏色*/
    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; /* 強制圖片寬度隨容器變更 */
}


a:hover { color: #f38128; }

/*nav*/
#nav {
    vertical-align: bottom;
}


/*nav*/
#nav ul li a {
    font-size: 1.05rem;/*頁籤文字大小*/
    color: #373737;/*頁籤文字顏色*/
    padding: 10px 10px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #fe7000;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #fe7000;/*頁籤按下後文字顏色*/

}

/*頁籤按鈕下底線滑入特效-底線短*/
#nav ul li a::before {
  content:"";
  border-bottom:3px solid #fe7000;
  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;
}

/*次頁籤文字顏色*/ 
#nav .subnav {
    text-align: left;
    background-color: #ffffff;/*次頁籤底色*/
    border-radius: 20px;
}
#nav .subnav a { font-size: 16px; }

#nav li.has-subnav ul li a:hover {
   color: #fe7000;/*次頁籤滑過後文字顏色*/   
   background-color: rgba(255,255,255,0); /*次頁籤滑過底圖顏色*/
}


body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}

/*改內文標題顏色*/
h1, h2, h3, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: inherit;
    color: #000;
}

ul.product-list li a.focus h3, ul.product-list li a:hover h3 {
    color: #082453;
}
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: #082453;
    overflow: hidden;
    padding: 0 16px;
}

#side ul li a {
    color: #222;
   font-size: 16px;
}

body {
    background-color: #fff;/*背景底色*/
    font-family: 'Noto Sans TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/
}

#bodyinhome .fcol.fcol-2 .container, body.about-us .fcol.fcol-2 .container { width: 100%;}



#bodyinhome .fcol.fcol-2, body.about-us .fcol.fcol-2 {  
 width: 100%;
   background-attachment: scroll;
   background-repeat: no-repeat;
   background-position: 50% 50%;
   background-size: cover;
   background-image: -webkit-linear-gradient(left, rgb(255 255 255 / 20%) 0%, rgb(255 255 255 / 80%) 100%),url(https://static.iyp.tw/409830/files/b99988a8-1e61-46f0-b70d-05f4558ac59a.jpg);
   background-color: #e1e3e2;
   padding: 3rem 0;
}
  
#bodyinhome .fcol.fcol-6 .container { width: 100%; padding: 0px;  margin-bottom: -10px;}

/*footer*/
#footer {
    color: #4e4e4e;
    background-color: #e6e6e8;
}

#contact-info ul li span {
    color: #444;
}

#foot-nav ul li a {
    display: block;
    color: #4e4e4e;
    font-size: 1.06em;
    margin-right: 10px;
    padding: 8px 16px;
}
#foot-nav ul li a:hover {
    display: block;
    color: #4e4e4e;
    font-size: 1.06em;
    margin-right: 10px;
    padding: 8px 16px;
}

#foot-nav ul li.current a {
    color: #7d7d7d;
}

#contact-info ul li span {
    color: #444;
}

.contact-row h5 {  color: #545454;}

#main-wrap .container {
    font-size: clamp(16px, 2vw, 18px);
  line-height:30px;
  color: #2d2d2d;
}
#footer {
    font-size: clamp(16px, 2vw, 18px);
}

ul.c {
  list-style-type: disc;/*disc實心 ecimal 數字*/
  margin-left: 1.5em;
}

ul.d {
  list-style-type: disc;/*disc實心 ecimal 數字*/
  margin-left: 1.5em;
}

/*按鈕-了解更多*/
.custom-btn1 {
    padding: 5px 25px;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    width: 100%;  
}

.btn-more2 {
    border-radius: 30px;
    border: 2px solid #ff7e00;
    color: #444;
    font-size: clamp(18px, 2vw, 16px);
     font-weight: 500;
  background-color: #fff;
}
.btn-more2:hover{
    background-color: #ff7e00;  /*當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}


/*按鈕-文字底色變化特效*/
.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  {
  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: #dc1342;}
.btn-fb:hover {
  transform:scale(1.1);
  background-color: #c40f3a;
  top:-10px;
}

.btn-line { background-color: #00ad00;}
.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=Raleway:400,500,700);
.snip1244 {
  font-family: 'Raleway', Arial, sans-serif;
  color: #fff;
  position: relative;
  margin:0 auto;
  min-width: 480px -60px;
  max-width: 800px;
  width: 100%;
  color: #ffffff;
  text-align: left;
  background-color: #ff7e00;
  font-size: 16px;
  overflow:hidden;
}
.snip1244 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.4s ease-in;
  transition: all 0.4s ease-in;
}
.snip1244 img {
  position: relative;
  max-width: 50%;
  height: 250px;
  object-fit: cover; 
  vertical-align: top;
  transform:scale(1,1);
}

.snip1244:hover img {
  position: relative;
  max-width: 50%;
  height: 250px;
  object-fit: cover; 
  vertical-align: top;
  transform:scale(1.1,1.1);
}

.snip1244 figcaption {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  padding: 20px 0 20px 50%;
}
.snip1244 figcaption:before,
.snip1244 figcaption:after {
  width: 1px;
  height: 0;
}
.snip1244 figcaption:before {
  right: 0;
  top: 0;
}
.snip1244 figcaption:after {
  left: 0;
  bottom: 0;
}
.snip1244 h3,
.snip1244 p {
  line-height: 1.5em;
  padding: 0 30px;
  color: #fff;
  
}
.snip1244 h3 {
  margin: 0 0 5px;
  font-weight: 700;
  text-transform: uppercase;
}
.snip1244 p {
  font-size: 0.8em;
  font-weight: 500;
  margin: 0 0 15px;
}
.snip1244 a {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 1;
}
.snip1244:before,
.snip1244:after,
.snip1244 figcaption:before,
.snip1244 figcaption:after {
  position: absolute;
  content: '';
  background-color: #ffffff;
  z-index: 1;
  -webkit-transition: all 0.4s ease-in;
  transition: all 0.4s ease-in;
  opacity: 0.8;
}
.snip1244:before,
.snip1244:after {
  height: 1px;
  width: 0%;
}
.snip1244:before {
  top: 0;
  left: 0;
}
.snip1244:after {
  bottom: 0;
  right: 0;
}
.snip1244:hover figcaption,
.snip1244.hover figcaption {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.05);
}
.snip1244:hover figcaption:before,
.snip1244.hover figcaption:before,
.snip1244:hover figcaption:after,
.snip1244.hover figcaption:after {
  height: 100%;
}
.snip1244:hover:before,
.snip1244.hover:before,
.snip1244:hover:after,
.snip1244.hover:after {
  width: 100%;
}
.snip1244:hover:before,
.snip1244.hover:before,
.snip1244:hover:after,
.snip1244.hover:after,
.snip1244:hover figcaption:before,
.snip1244.hover figcaption:before,
.snip1244:hover figcaption:after,
.snip1244.hover figcaption:after {
  opacity: 0.1;
}

figure.snip1244 figcaption .btn-more {
  display: inline-block;
  width: auto;
  border: 2px solid #20638f;
  padding: 5px 10px;
  color: #20638f;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9em;
  text-transform: uppercase;

}

figure.snip1244:hover .btn-more {
  background-color: #20638f;
  color: #ffffff;
}

@media only screen and (max-width: 480px) {
  .snip1244 img {
    max-width: 100%;
  }
  .snip1244:hover img {
    max-width: 100%;
  }
  
  .snip1244 figcaption {
    position: relative;
    padding-left: 0px;
  }
}

/*服務申請流程箭頭*/
#Process-bg {
    border-radius: 15px;
    background-color:#fff;
    padding: 20px 15px 2px 15px;
    margin: 0 1rem;
    height: 100%;
}
#Process::after {
  font-family: "Font Awesome 6 Free";
  content: "\f0a9"; /*向右箭頭*/
  position: relative;
  bottom: 50%;
  left: 100%;
  font-size: 20px;
  font-weight: 700;
} 
@media only screen and (max-width: 760px){
#Process::after {
  content: "\f0ab"; /*向下箭頭*/
  position: relative;
  bottom: 0;
  top:2.5%;
  left: 50%;
}}

/*contact-1*/
@media only screen and (min-width: 768px){
  .contact-1 i {
    position: absolute;
    margin: -50px 0 0 -30px;
    width: 40px;
    height: 40px;
    font-size: 36px;
    color: #fff;
    background-color: #ff7e00;
    border-radius: 100%;
    padding: 10px;
    line-height: 1.1;
    margin-bottom: 10px;
  }
}
@media only screen and (max-width: 768px){
  .contact-1 i {
    position: relative;
    margin: 0;
    width: 40px;
    height: 40px;
    font-size: 36px;
    color: #fff;
    background-color: #ff7e00;
    border-radius: 100%;
    padding: 10px;
    line-height: 1.1;
    margin-bottom: 10px;
  }
}

/*Q&A手風琴*/
#accordion li div {
 display:none;
}

#accordion li>h3{
   display:block;
   border:1px solid #dddddd;
   border-radius:3px; 
   background: #e8e8e8;
   margin-top: 7px;
   color:#000;
   font-size: 18px;
   font-weight: 700;
   padding: 10px;
}
#accordion li>div{
   border:1px solid #dddddd;
   border-radius:3px; 
   margin-top: 7px;
   padding: 10px;
   background: rgb(255,255,255,0.9);
   color:#222;
}
#accordion li>h3:after {
    position: relative;
   font-family: "Font Awesome 6 Free";
   content: "\f107";
    font-size: 20px;
    float: right;
    transition: transform 0.3s ease-in-out;
}
