/*icon*/
.phone{position:fixed;right:0%;top:22%;z-index:1000;transform:scale(0.8);}
.line{position:fixed;right:0%;top:32%;z-index:1000;transform:scale(0.8);}
.fb{position:fixed;right:0%;top:42%;z-index:1000;transform:scale(0.8);}

@media(max-width:414px){
.phone{position:fixed;right:0%;top:22%;z-index:1000;transform:scale(0.8);}
}
.line1{position:fixed;right:0%;top:32%;z-index:1000;transform:scale(0.8);}
}
.fb{position:fixed;right:0%;top:42%;z-index:1000;transform:scale(0.8);}
}



/*body*/
body {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.12em
}
a {
    color: #04255b;
    text-decoration: none;
}
a:hover {
    color: #04255b;
}
.row [class^="col-"] {
  padding:10px;
}

body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }


/*top*/
.navbar-nav > li > a {
    color: #fff;
}

.topnavbar {
    background-color: rgba(0,0,0,0);
}

.topnavbar .container {
  text-align: justify;
  font-size: 0;
  /*text-align: center;*/ 
  padding-top:0px;
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}
/*
@media only screen and (min-width: 768px){
.topnavbar {
  height:100px;
 }
}  
*/
@media(max-width:428px){
.topnavbar .container {
    background-color: #034e95;
  }
}


/*logo*/
#logo a{
  background:url("https://static.iyp.tw/409821/files/eb34091c-2361-4426-b44c-37c9155d4c7e.png") no-repeat scroll 0 0 transparent;
  display:block;
  text-indent:-9999px;
  width:300px;height:130px;}

#logo {
   margin-top: -10px;
}

@media(max-width:428px){
  #logo {
  left: 5%;
  height: 120px;  
 }
}  

@media(max-width:767px){
 #logo h1 {
   height: 120px;
 }
} 

@media(max-width:428px){
 #logo h1 {
   height: 120px;
 }
}  

 #logo img {
   padding: 0 16px 16px;
 }


/*nav*/
body[data-type="fullpage"] #nav {
    font-size: 1rem;
    width: 100%;
}

#header .topnavbar .container {
  padding-left: 10%;
  padding-right: 10%;
  width: 100%;
}



@media(min-width:1920px){
body[data-type="fullpage"] #footer .container {
    width: 1160px;
 }
}

#nav{
  padding-bottom: 25px;
  margin-top:-100px;
}

@media(max-width:1024px){
  #nav{
  padding-bottom: 25px;
  margin-top:0px;
  }
}


#nav ul{
  float: right;
}  


#nav ul li a {
    white-space: nowrap;
    color: #fff;
    line-height: 1.3;
    font-weight: normal;
    padding: 15px 15px;
    font-size: 100%;
    border-right: 0px #fff dotted;
    transition:all 0.5s;
    display: inline-block;
}

@media(max-width:1280px){
  #nav ul li a {
    padding: 10px 5px;
  }
}

#nav ul li a:hover{
    background:#04255b;
    color: #fff;
}

#nav ul li.current a  {
    background:#04255b;
    color: #fff;  
}

#nav .subnav {
    position: absolute;
    top: 100%;
    max-width:200px;
    background-color: #fff;
} 


#nav ul .subnav li a {
    color: #333;
    text-align: left;
    width: 200px;
}

#nav ul li .subnav a span {
    display: inline-block;
    max-width: 200px;
    padding: 7px 5px;
    background:transparent;
   
}

#nav ul li .subnav a span:hover  {
    display: inline-block;
    max-width: 200px;
    border-top: 0px solid;
    background:transparent;
}


#nav li.has-subnav ul li a {
  color: #333;
  width: 200px;
  white-space: pre-line;
  padding: 7px 5px;
  background: transparent;
}

#nav li.has-subnav ul li a:hover {
    color: #fff;
    background:#04255b;
 }


/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(850 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}


/*form*/
.mark {
    background: none;
   }


/*h1*/
/*
.h1title {
  color: #0032ad;
  border-bottom: 1px dashed #0032ad;
}
*/
.h1title {
  display:none;
}


/*最下層空白處去掉*/
body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }


/*產品格*/
ul.product-list li .desc {
    display: block;
    min-height: 1.2rem;
    max-height: 2.4rem;
    margin-bottom: auto;
    font-size: .8rem;
    line-height: 1.5;
    word-break: break-word;
    color: #666;
    overflow: hidden;
    padding: 0 16px;
    display: none;
}


/*隱藏詳細介紹*/
ul.product-list li a.focus h3, ul.product-list li a:hover h3 {
    color: #333;
}
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: #444;
    overflow: hidden;
    padding: 0 16px;
}


/*改產品格名稱顏色*/
#side ul li.current > div a {
    color: #c4021a;
}
#side ul li a {
    color: #333;
    display: block;
    padding: 10px 20px;
    transition: .3s;
}
.product-list-div h2 a {
    color: #333;
    text-decoration: none;
    display: inline-block;

}
.product-list-div h2 {
    margin-bottom: 10px;
    border-bottom: 1px solid #333;
    text-shadow: 0 0px 0 #fff;
}
body[data-type="fullpage"] .product-list-div h2 a.show-all {
    color: #333;
    transition-property: left, color;
}
ul.product-list li .money-icon {
    color: #333;
    font-size: 95%;
    margin-right: 8px;
    margin-left: 16px;
    text-shadow: 0 0px 0 rgba(255,255,255,0.7);
}


/*footer*/
#foot-nav{
  display:none;
}

#foot-nav ul li a {
    color: #fff;
    font-size: 1.06em;
}

#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 1px solid #fff;
}

#footer {
    color:#fff;
    background: #04255b;
}

#contact-info ul li span {
    color: #fff;
}

#copyright, #copyright a{color:#dcdcdc;}


/*about*/
.about-section {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  flex-wrap: wrap;
  gap: 50px;
}

/* 文字區 */
.about-text {
  flex: 1;
  min-width: 320px;
  color: #222;
}

.about-title {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

.about-title span {
  display: block;
  font-size: 18px;
  color: #04255b;
  margin-top: 5px;
  letter-spacing: 2px;
}

.about-description {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #333;
}

/* 按鈕樣式 */
.about-btn {
  display: inline-block;
  background-color: #04255b;
  color: #fff;
  padding: 10px 30px;
  border-radius: 0px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.about-btn:hover {
  background-color: #006add;
  color: #fff;
}

/* 圖片區 */
.about-image {
  flex: 1;
  text-align: right;
  min-width: 320px;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* ========= 響應式設定 ========= */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-image {
    text-align: center;
  }

  .about-title {
    font-size: 28px;
  }

  .about-title span {
    font-size: 16px;
  }

  .about-description {
    font-size: 16px;
  }

  .about-btn {
    padding: 8px 25px;
    font-size: 15px;
  }
}


/*格子排版*/
.id.row .tb{
  border:1px solid #fff;
  background:#fff;
  border-radius:10px;
  display:block;
  color:#fff;
  transition:all 0.5s;
  width: 100%;
}


.id.row .tb:hover{
  border:0px ;
  background:#fff;
  border-radius:10px;
  display:block;
}


/*專營項目*/
.gallery {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}


.image-container {
  width: 340px;
  overflow: hidden;
  padding-bottom: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  background-color: white;
  text-align: center;
  transition: transform 0.3s ease;
}

.image-container a {
  text-decoration: none;
  color: inherit;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease, filter 0.4s ease;
  display: block;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.4s ease;
  pointer-events: none;
}

.plus {
  font-size: 50px;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.image-wrapper:hover img {
  transform: scale(1.1);
  filter: brightness(70%);
}

.image-wrapper:hover .overlay {
  background-color: rgba(0, 0, 0, 0.3);
}

.image-wrapper:hover .plus {
  opacity: 1;
}

.image-title {
  font-size: 18px;
  padding: 12px;
}


@media(max-width:1024px){
.image-container {
  width: 280px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  background-color: white;
  text-align: center;
  transition: transform 0.3s ease;
  }
}


@media(max-width:900px){
.image-container {
  width: 250px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  background-color: white;
  text-align: center;
  transition: transform 0.3s ease;
  }
}


@media(max-width:767px){
.image-container {
  width: 210px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  background-color: white;
  text-align: center;
  transition: transform 0.3s ease;
  }
}

@media(max-width:600px){
.image-container {
  width: 250px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  background-color: white;
  text-align: center;
  transition: transform 0.3s ease;
  }
}

@media(max-width:480px){
.image-container {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  background-color: white;
  text-align: center;
  transition: transform 0.3s ease;
  }
}


@media(max-width:428px){
.image-container {
  width: 160px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  background-color: white;
  text-align: center;
  transition: transform 0.3s ease;
  }
}


@media(max-width:368px){
.image-container {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  background-color: white;
  text-align: center;
  transition: transform 0.3s ease;
  }
}




/*Index1*/
#bodyinhome .fcol.fcol-1{
  background:url(https://static.iyp.tw/409821/files/9728f09f-1759-4685-8654-f8ecd0f0243d.png)no-repeat;
  background-position:top center;
  background-size:cover;
  min-height:400px;
}

#bodyinhome .fcol.fcol-1 .container{
  padding:60px 20px;
}


/*Index2*/
#bodyinhome .fcol.fcol-2{
  background:url(https://static.iyp.tw/409821/files/299a5c8a-fd26-455d-851b-735eaf96b5f4.png)no-repeat;
  background-position:top center;
  background-size:cover;
  min-height:400px;
}

#bodyinhome .fcol.fcol-2 .container{
  padding:60px 20px;
}


/*Index3*/
#bodyinhome .fcol.fcol-3{
  background:url(https://static.iyp.tw/409821/files/2e9ff5ae-b8be-4449-8f9b-087055a2c1b9.png)no-repeat;
  background-position:top center;
  background-size:cover;
  min-height:400px;
}

#bodyinhome .fcol.fcol-3 .container{
  padding:60px 20px;
}


/*Index4*/
#bodyinhome .fcol.fcol-4{
  background:url(https://static.iyp.tw/409821/files/aebac590-f125-46fb-89f8-b8fad8c82ebd.png)no-repeat;
  background-position:top center;
  background-size:cover;
  min-height:400px;
}

#bodyinhome .fcol.fcol-4 .container{
  padding:60px 20px;
}


/*Index_5~6*/
#bodyinhome .fcol.fcol-5,
#bodyinhome .fcol.fcol-6{
  display:none;
}
