/*icon
.line{position:fixed;right:0.5%;bottom:15%;z-index:1000;}
*/


#gotop {
    display: none;
    position: fixed;
    right: 11px;
    bottom: 20px;
    padding: 15px 10px;
    font-size: 17px;
    border-radius: 15px;width:70px;height:70px;
    background-color: #33ac97;
    color: white;
    text-align:center;
    cursor: pointer;
}


/*Body*/
.row [class^="col-"] {
  padding:10px;
}


body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }

body p{
  font-size:15px;
}


/*logo*/

 #logo img {
   padding: 0 16px 16px;
 }

@media only screen and (max-width: 767px) {
  #logo a img {
    margin: 0 auto;
  }
}


#logo h1 {
  height: 90px;
  margin-left: -5%;
}

/*top*/
.navbar-nav > li > a {
    color: #fff;
}


.topnavbar .container {
  text-align: justify;
  font-size: 0;
  /*text-align: center;*/  
  padding-top:0px;
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}

.topnavbar {
  background-color: #fff;
  top:0px;
  position: relative;
  z-index:100;
  width:100%;
  padding: .6rem 0;
  height: 90px;
}


@media(max-width:600px){
   .topnavbar .container {
     text-align: center;
  }
}


/*nav*/
#nav ul li a {
    white-space: nowrap;
    color: #333;
    line-height: 1.3;
    font-weight: normal;
    padding: 8px 15px;
    font-size: 95%;
    border-right: 1px #888 dotted;
    transition:all 0.5s;
}

#nav ul li a:hover {
  color:#38acb5;
}

#nav ul li.current a  {
    color: #0c8089;  
}

#nav .subnav {
    position: absolute;
    top: 100%;
    max-width: 160px;
    background-color: #38acb5;
} 


#nav ul .subnav li a {
    background-color: #fff;
    text-align: left;
}

#nav ul li .subnav a span {
    display: inline-block;
    max-width: 160px;
    padding: 5px 5px;
}

#nav ul li .subnav a span:hover  {
    display: inline-block;
    max-width: 160px;
    border-top: 0px solid;
    padding: 5px 5px;
}

#nav li.has-subnav ul li a {
    color: #333;
    width:160px;
    white-space: pre-line;
    border-bottom: 1px dashed #333;
  }

#nav li.has-subnav ul li:last-child  a{
    border-bottom: 0px dashed #333;
  }

#nav li.has-subnav ul li a:hover {
   color:#fff;
}





/*Banner*/
.swiper-container {
  height: auto !important;
}

#bodyinhome .swiper-wrapper,#bodyinhome .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(800 / 1920 * 100%); 
}

#bodyinpage .swiper-wrapper,#bodyinpage .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(650 / 1920 * 100%); 
}

.swiper-slide {
  width: 100% !important;
}




/*Index_1*/
#bodyinhome .fcol.fcol-1 .container{
  padding:40px 20px;
}


/*Index_2*/
#bodyinhome .fcol.fcol-2{
  display:none;
}

/*
#bodyinhome .fcol.fcol-2 .container{
  padding:40px 20px;
}

.sr p{
  font-size:20px;
}

@media(max-width:600px){
 .sr p{
  font-size:16px;
  }
}

.principle.row img{
  transition:all 0.3s;
}

.principle.row img:hover{
  transform:scale(1.2);
}


@media(max-width:900px){
  .principle.row .col-md-8{
    flex:0 0 100%;
    max-width:100%;
  }
}

@media(max-width:767px){
  .principle.row .col-4{
    flex: 0 0 25%;
    max-width: 25%;
  }
}

@media(max-width:480px){
  .principle.row .col-4{
    flex: 0 0 50%;
    max-width: 50%;
  }
}
*/


/*Index_3*/
#bodyinhome .fcol.fcol-3 .container{
  padding:40px 20px;
}


.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;
  }
}



/*Index_4*/
#bodyinhome .fcol.fcol-4{
  display:none;
}
/*#bodyinhome .fcol.fcol-4{
  background:url(https://static.iyp.tw/409772/files/e343f352-b8ac-47b1-ac4b-edd61a13a026.jpg)no-repeat;
  background:position:top center;
  background-size:cover;
  min-height:400px;
  background-attachment:fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;  
}*/



/*Index_5*/
#bodyinhome .fcol.fcol-5{
  background:url(https://static.iyp.tw/409772/files/5a58747d-47a3-477a-875c-eaac678d7d9b.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
}


#bodyinhome .fcol.fcol-5 .container{
  padding:60px 20px;
}
  

@media(max-width:900px){
  .qa.row .col-md-5{
    flex:0 0 100%;
    max-width:100%;
 }
}


.QandA_category{
color: #e9546b;
border-bottom: 1px #aaa dotted;
}
/*#QandA:hover{
background: #68c36f;
color: #ffffff;
}
*/
#QandA .Quation:before{
content: ' ';
padding: 0px 0px 0px 10px;
}
#QandA:hover .Quation:before{
content: '►';
padding: 0px 5px 0px 10px;
}

#QandA .Quation {
  width: 97%;
  border-bottom: 0px #aaa dotted;
  padding: 12px;
  background: rgba(255,255,255,0.75);
  margin-top: 8px;
  border-radius: 25px;
  transition:all 0.5s;
}
#QandA .Quation:hover {
  background: #68c36f;
  color:#fff;
}

#QandA .Answer{
display: none;
width: 97%;
padding: 10px 0px;
background: #f4f4f4;
border-bottom: 1px #aaa dotted;
color: #777;
}
#QandA .Answer p{
padding-left: 10px;
}



/*Index_6*/
#bodyinhome .fcol.fcol-6{
  display:none;
}



/*Inpage*/
#product-header{
  border:1px solid #0b9ea9;
  padding:20px 25px;
  border-radius:25px;
}



/*side*/
#side ul li a {
    color: #555;
    display: block;
    padding: 10px 20px;
    transition: .3s;
    border-bottom: 1px dashed #555;
}  

#side h3 {
  display: none;
}


/*pd*/
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: #000;
    overflow: hidden;
    padding: 0 16px;
}

body[data-type="fullpage"] .product-list-div h2 a.show-all {
    color: #fff;
    transition-property: left, color;
    background: #0b9ea9;
    text-shadow: none;
    padding: 0 10px;
}

.productdetail .detail-spec b {
  display: none;
}



/*h1*/
.h1title h1{
  color:#0b9ea9;
}

/*news*/
.news .fcol .news-list li h3 {
   color: #2aaba0;
}


/*form*/
.mark{
  background:none;
}



/*footer*/
#foot-nav{
  display:none;
}

/*
#footer {
  color: #333;
  background-color: #fff;
  border-top: 1px solid #efefef;
}
*/

#footer {
  color: #fff;
  background-color: #38acb5;
  border-top:4px solid #55c0c8;
}


#footer-service #copyright {
  display:none;
}


@media(max-width:600px){
  #footer .col-md-6, .col-md-3{
    flex:0 0 100%;
    max-width:100%;
  }
}

@media(max-width:600px){
  #footer .col-md-3{
    flex:0 0 50%;
    max-width:50%;
    margin:0 auto;
  }
}

@media(max-width:480px){
  #footer .col-md-3{
    flex:0 0 100%;
    max-width:100%;
    margin:0 auto;
  }
}

.ct.row h1 span{
  border-bottom: 1px solid #fff;
  padding-bottom:5px;
}


#footer table td{
  border-bottom: 0px solid #e1e7f0;
  padding: 5px;
}





/*table*/
.qa_table{
      max-width: 900px;
      margin: auto;
      overflow-x: auto;
      background: #ffffff;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 64, 128, 0.1);
    }

.qa_table table {
      width: 100%;
      border-collapse: collapse;
      border-radius: 12px;
      overflow: hidden;
    }

.qa_table thead {
      background: #1a4c81;
      color: #fff;
    }

.qa_table th, td {
      padding: 14px 16px;
      text-align: center;
      border-bottom: 1px solid #e1e7f0;
    }

.qa_table th {
      font-weight: 600;
      font-size: 1rem;
    }

.qa_table- tbody tr:nth-child(even) {
      background: #f0f6fb;
    }

.qa_table tbody td:first-child {
      font-weight: bold;
      color: #1a4c81;
    }

.qa_table .price {
      font-weight: bold;
      color: #0d3a66;
    }

    /* 響應式卡片 */
    @media (max-width: 768px) {
.qa_table table,.qa_table thead,.qa_table tbody,.qa_table th,.qa_table td,.qa_table tr {
        display: block;
      }

.qa_table thead {
        display: none;
      }

.qa_table tbody tr {
        margin: 0 0 15px;
        display: block;
        border: 1px solid #d0dbe7;
        border-radius: 10px;
        background: #fff;
        padding: 12px;
      }

.qa_table tbody td {
        text-align: left;
        padding: 8px 10px;
        border: none;
        border-bottom: 1px dashed #e1e7f0;
        border-right: 1px solid #e1e7f0;
      }

.qa_table tbody td:last-child {
        border-bottom: none;
      }

.qa_table tbody td:before {
        content: attr(data-label);
        font-weight: 600;
        display: block;
        margin-bottom: 4px;
        color: #1a4c81;
      }
    }


/*price_tble*/
.price_table{
  border: 1px solid #e1e7f0;
}

.price_table td{
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid #e1e7f0;
  border-right: 1px solid #e1e7f0;
}  


.price_table td:last-child {
  border-right: 0px solid #e1e7f0;
}




/*Service_description*/
.sr_desc .container {
  max-width: 900px;
  margin: auto;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 64, 128, 0.1);
}

.sr_desc h1 {
  text-align: center;
  color: #1a4c81;
  margin-bottom: 30px;
}

.sr_desc h2 {
  color: #0d3a66;
  margin-top: 25px;
  margin-bottom: 15px;
  border-left: 6px solid #1a4c81;
  padding-left: 10px;
  font-size: 1.2rem;
}

.sr_desc ol {
  padding-left: 20px;
}

.sr_desc ul {
  padding-left: 20px;
  list-style: disc;
}

.sr_desc li {
  margin-bottom: 10px;
}

.sr_desc strong {
  color: #1a4c81;
}

@media (max-width: 768px) {
.sr_desc body {
    padding: 10px;
  }

.sr_desc .container {
    padding: 15px;
  }

.sr_desc h1 {
    font-size: 1.4rem;
  }

.sr_desc h2 {
    font-size: 1.1rem;
  }
}



/*btn*/
.car_pri{
  background: #33ac97;
   
}

.car_pri span{
  background: #33ac97;
  transition:all 0.3s; 
}

.car_pri span:hover{
  background: #1d5fb1;
}


/*Q&A*/
 .qa_answer {
      display: flex;
      align-items: flex-start;
      max-width: 100%;
      padding: 1em;
      box-sizing: border-box;
    }

 .qa_answer .label {
      flex: 0 0 auto;
      margin-right: 0.5em;
      font-weight: bold;
      white-space: nowrap;
      display: inline;
      padding: .4em .1em .2em;
      font-size: 120%;
      line-height: 1;
      color: #f5960e;
      text-align: center;
    }
  .qa_answer .text {
      flex: 1 1 auto;
      text-align: justify;
       font-size: 1.05rem;
      margin-left: -0.5rem;
    }


    @media (max-width: 600px) {
    /*.qa_answer {
        flex-direction: column;
      }*/
    .qa_answer .label {
        margin-bottom: 0.5em;
      }
    }




/*乘車人數表格*/

.car_table-container {
  width: 100%;
  margin: auto;
  overflow-x: auto;
}

.car_table-container table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.car_table-container thead th {
  background-color: #009688;
  color: white;
  padding: 12px;
  text-align: center;
  border: 1px solid #ddd;
}

.car_table-container tbody td {
  padding: 10px;
  text-align: center;
  border: 1px solid #ccc;
  height: 25px;
}

.car_table-container .group-row td {
  background-color: #e0f2f1;
  font-weight: bold;
  text-align: left;
  padding-left: 10px;
  border: 1px solid #009688;
}


/*立即預約*/
/* .container {
      display: flex;
      width: 100%;
      height: 100vh; 
    }*/

    .card {
      position: relative;
      flex: 1; /* 平均分成三等分 */
      overflow: hidden;
      cursor: pointer;
    }

    .card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: all 0.6s ease;
    }

    .card .overlay {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.4);
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .card .text {
      position: absolute;
      bottom: 50px;
      left: 50%;
      transform: translateX(-50%);
      color: #fff;
      font-size: 22px;
      font-weight: bold;
      text-shadow: 0 2px 6px rgba(0,0,0,0.6);
      z-index: 2;
      pointer-events: none;
    }

    .card:hover img {
      transform: scale(1.1);
      filter: brightness(70%);
    }

    .card:hover .overlay {
      opacity: 1;
    }



@media(max-width:767px){
.card .text {
  position: absolute;
  bottom: 40px;
  left: 40%;
  transform: translateX(-30%);
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  z-index: 2;
  pointer-events: none;
  }
}


@media(max-width:600px){
.card .text {
  position: absolute;
  bottom: 40px;
  left: 40%;
  transform: translateX(-30%);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  z-index: 2;
  pointer-events: none;
  }
}


@media(max-width:480px){
    .card {
      position: relative;
      flex: 0 0 100%; /* 平均分成1等分 */
      overflow: hidden;
      cursor: pointer;
   }
}

@media (max-width: 480px) {
  .card .text {
      position: absolute;
      bottom: 50px;
      left: 50%;
      transform: translateX(-50%);
      color: #fff;
      font-size: 22px;
      font-weight: bold;
      text-shadow: 0 2px 6px rgba(0,0,0,0.6);
      z-index: 2;
      pointer-events: none;
   }
}

/*
@media(max-width:368px){
.card .text {
  position: absolute;
  bottom: 30px;
  left: 40%;
  transform: translateX(-30%);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  z-index: 2;
  pointer-events: none;
  }
}*/


#news-content .news-box {
  padding:10px 0px;
}