@charset "utf-8";

/* CSS Document */
/************************************************************************************
RESET
*************************************************************************************/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,article,figure,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}
body {	
    line-height: 1;	
	-webkit-text-size-adjust: none;/*防止allpe的safari瀏覽器字體變大*/
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

/* remember to define focus styles! */
:focus {
    outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
    text-decoration: none;
}
del {
    text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
   /* border-collapse: collapse;*/
    border-spacing: 0;
}

a img {
	border: none;
}

.clean { clear:both;}

.clearfix {
  overflow: hidden;
  zoom: 1;
}

img { max-width:100%;}

/************************************************************************************
STRUCTURE 主要區塊
*************************************************************************************/

#web-outer {
  font-family: "Noto Sans", sans-serif; 
	max-width: 1920px;
	overflow: hidden;
  color:#f7fdfc;
}

/*======================
====nav CSS=====
=======================*/

#main-nav{
    width: 100%;
    z-index: 990;  
    background:rgba(255,255,255,0.85);
    margin:0 auto;
    padding:8px 0;   
}
 
 #block_menu {
    text-align: right ; 
    overflow: hidden;
    padding-right: 50px;
 }
 
 .sticky {
     top:40px;
 }

.nav li {  
    display:inline-block; font-weight: 500; font-size: 20px ;letter-spacing: 1px;
    color:#007f96; margin: 0 12px;  
}
.nav li a { display:block; width:100%; height:100%; text-align: center; text-decoration: none; color:#007f96;  padding:8px 10px; border-radius: 24px ; transition: background-color 0.2s ease;   }
.nav li a:hover,.nav li a.active { color:#ffffff; background: #0070a4;}

/*======================
====Main CSS=====
=======================*/

header h1 {
    text-indent: 101%;
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
    width: 100%;
}
      
        .carousel {
            position: relative;
            width: 100vw;
            max-width: 1920px;
            overflow: hidden;
            background:#01c5d7 ;
        }

        .slide {
            position: absolute;
            inset: 0;
            opacity: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: opacity 0.6s ease-in-out;
        }

        .slide.active {
            opacity: 1;
        }

        /* 標題樣式 - 加入 RWD 設定 */
        .shared-content {
            position: absolute;
            left: 8%; /* 手機版靠左 8% */
            top: 20%;
            /*transform: translateY(-50%);*/
            z-index: 20;
            color: white;
            pointer-events: none;
            width: 70%; /* 不再給固定寬度，給予彈性 */
        }
/*.shared-content figure img { max-width: 320px; }*/

        /* 導航按鈕樣式 */
        .nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border: none;
            width: 40px; /* 手機版縮小按鈕 */
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            z-index: 30;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(5px);
            transition: all 0.3s ease;
            opacity: 0.5; /* 手機版可見 */
        }


        @media (min-width: 768px) {
            .shared-content figure img { max-width: 360px; } 
            .shared-content { left: 15%;  top: 26%;} 
        }

        @media (min-width: 900px) {
            .nav-btn { width: 50px; height: 50px; opacity: 0; }
            .carousel:hover .nav-btn { opacity: 1; }
            .shared-content figure img { max-width: 400px; } 
            .shared-content { left: 13%;  top: 28%;} 

        }

        @media (min-width: 1200px) {
            .shared-content figure img { max-width: 480px; } 
            .shared-content { left: 16%;  top: 20%; } 

        }

        @media (min-width: 1500px) {
            .shared-content figure img { max-width: 100%; } 
            .shared-content { left: 18%; top: 30%; } 
            .carousel { margin-top: -100px; }

        }

        .prev { left: 10px; }
        .next { right: 10px; }
        .nav-btn:hover { background: rgba(255, 255, 255, 0.4); transform: translateY(-50%) scale(1.1); }


/*-----*/

.first { padding-top:100px; margin-top: -100px;}

.story-outer { background: #01c5d7 url("../images/bg-story.webp") center bottom no-repeat; padding:0 1rem 250px 1rem; min-height: 1000px; }

h2.subtitle  { 
  font-size: 40px; padding:0 5px;  color:#ffffff; font-family: "Elms Sans", sans-serif; font-weight: 100;  text-align: center; padding-top: 40px;
}
h2.subtitle span { 
  font-size: 54px; font-weight: 500;  letter-spacing: 1px; color: #ffffff; display: block;
   font-family: "Kosugi Maru", sans-serif; padding:10px 0;
}
h2.subtitle-tour  { color:#02a8cc; padding-top: 60px; }
h2.subtitle-tour span { 
  background:url("../images/subtitle-tour.webp") center center no-repeat ; 
  line-height: 76px; color:#099bba;
 }

h2.subtitle-spots  { color:#02a8cc;  padding-top: 60px;}
h2.subtitle-spots span { 
  background:url("../images/subtitle-spots.webp") center bottom no-repeat ; 
  padding:16px 0 20px 0; color:#01a7d7; margin-bottom: 36px;
 }

h2.subtitle-activities { color:#ffffff; padding-top: 60px; }
h2.subtitle-activities span { 
  background:url("../images/subtitle-activities.webp") center bottom no-repeat ; 
  padding:16px 0 30px 0; color:#ffffff;  margin-bottom: 100px;
 }

.story-ct {  margin: 0 auto; text-align: center; max-width: 800px; padding: 12px 0; }
.story-ct p {
  color: #ffffff; font-size: 17px; font-family: "Noto Sans", sans-serif;  font-weight: 400; 
  padding:14px 14px; line-height: 30px; text-align: left;
}
.ct-preword { 
  background:url("../images/subtitle-story.webp") center top no-repeat;  text-align: center;  font-family: "Noto Sans", sans-serif; font-size: 30px; font-weight: 400; 
  line-height: 48px; padding-top:16px; 
}
.ct-title {   
  background:#aaf0f6; color: #008a9e; text-align: center; font-family: "Noto Sans", sans-serif;  font-size: 19px; font-weight: 500; 
  border-radius: 16px; display: inline-flex; padding:6px 12px; letter-spacing: 1px; margin:6px 0 10px 0;
 }

.subsidy {
  margin: 0 auto;
  max-width: 700px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding:0 2rem 1rem 2rem;
}
.subsidy h3 { 
  font-family: "Noto Sans", sans-serif; font-size: 24px; font-weight: 500; border-radius: 0 0 12px 12px;
  padding:12px 0; background: #00669b; text-align: center; max-width: 300px; margin: 0 auto; color:#ffffff;
}
.subsidy h3 span { font-size: 17px; font-weight: 400; padding:0 3px; }
.subsidy p { 
  font-family: "Noto Sans", sans-serif; font-size: 18px; font-weight: 400; 
  padding:12px 0; text-align: left; color:#017888; line-height: 1.6em;
}
.subsidy p.ps { 
  font-size: 15px; font-weight: 400; 
  padding:10px 0; text-align: left; color:#077786; line-height: 1.6em;
}

.subsidy ul li {
  text-align: left; font-family: "Noto Sans", sans-serif; font-size: 17px; font-weight: 500; 
  line-height: 1.8em;  color:#383838; padding-left: 20px; text-indent: -20px;
}
.subsidy ul li::before {
  content:"◇";
  padding-right: 6px;
}

/*---viedo---*/

.bg-video { background: #bdf3f6 url("../images/bg-video.webp") center top repeat-y; padding:80px 0; }
.video-ct { text-align: center; max-width: 1100px; margin:0 auto; }
.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%;  } 
.embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/*----tour-list---*/

.bg-tour { background: #bdf3f6 url("../images/bg-tour-top.webp") center top no-repeat; }
.bg-tour-bom { background: url("../images/bg-tour-bom.webp") center bottom no-repeat; padding-bottom: 60px; }

/*.tour-box { max-width: 1100px; margin: 0 auto; padding:0px 15px 30px 15px;}*/

/* 外部容器設定 */
        .tour-container {
            position: relative;
            max-width: 1300px;
            /*min-height: 500px; *//* 高度不限，這裡先設定最小高度方便視覺預覽 */
            background-color: #cbf7f9; /* 外圍的淺藍色背景 */
            padding: 40px 35px; /* 內縮範圍，用來形成白色的內框邊距 */
            box-sizing: border-box;
            margin: 50px auto; /* 讓區塊在網頁中間置中，方便觀看 */
        }

        /* 白色主體內容區 */
        .tour-box {
            background-color: #ffffff; /* 白色背景 */
            max-width: 100%;
            height: 100%;
            /*min-height: 420px; *//* 配合外層，可隨內容自動撐高 */
            box-sizing: border-box;
            padding:0 30px 50px 30px;
        }

        /* 左上角青色正方形 */
        .tour-container::before {
            content: "";
            position: absolute;
            top: 25px;      /* 調整與上邊界的距離 */
            left: 45px;     /* 調整與左邊界的距離，使其與白色框對齊 */
            width: 30px;    /* 正方形寬度 */
            height: 30px;   /* 正方形高度 */
            background-color: #00ced1; /* 青色（可依據需求調整色碼） */
            z-index: 10;
        }

        /* 右下角青色正方形 */
        .tour-container::after {
            content: "";
            position: absolute;
            bottom: 25px;   /* 調整與下邊界的距離 */
            right: 45px;    /* 調整與右邊界的距離，使其與白色框對齊 */
            width: 30px;    /* 正方形寬度 */
            height: 30px;   /* 正方形高度 */
            background-color: #00ced1; /* 青色 */
            z-index: 10;
        }

.tour-title { 
  margin:0 auto; text-align: center; max-width: 150px; 
  font-size: 34px; font-weight: 500; border-radius: 0 0 16px 16px;
  color:#ffffff; background:#0fcadb; padding: 12px 0 12px 0; 
  margin-bottom: 50px;
}

.tour-list li  { 
  font-size: 18px ; 
  font-weight: 400;
  color: #015e91;
  line-height: 1.8em;
  border-bottom: 1px solid #01aa9c;
  margin:8px 0;
  padding:6px 0px;
}

.tour-list li a { 
 color: #383852; text-decoration:none; display:flex; overflow:hidden;  
}

.name_l { width:75%;  }
.price_r { width:25%;  text-align: right; color: #000000; font: 600 13px "微軟正黑體"; }
.price_r span { font: 600 24px "微軟正黑體"; color:#fb7c0c;  padding:0 2px; font-family: 'Barlow', sans-serif; }

.tour-list li a h3.name_l { font-size: 18px; font-weight: 500;  }
.tour-list li a h3.name_l span { font-style: normal; font-size: 16px; font-weight: 400; color:#06920c; text-decoration: none; padding-left:6px; }
.tour-list li a h3 span:empty { display:none;}

/*-------*/

.spots-outer { padding-bottom: 60px;}

/* =========================
   Reset transition
========================= */

.disable-transition *{ transition:none !important; }

/* =========================
   Section
========================= */

.carousel-section{
    position:relative;
    width:100vw;
    max-width:1920px;
    margin:50px auto;
    display:flex;
    flex-direction:column;
    align-items:center;
}

/* =========================
   Container
========================= */

.carousel-container{

    max-width:100%;
    overflow:hidden;
    position:relative;
    touch-action:pan-y;
}

/* =========================
   Track
========================= */

.carousel-track{

    display:flex;
    will-change:transform;
    transform:translate3d(0,0,0);
    -webkit-transform:translate3d(0,0,0);
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
    perspective:1000px;
}

/* =========================
   Item
========================= */

.carousel-item{
    flex:0 0 auto;
    max-width:800px;
    transform:translateZ(0);
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
}

/* =========================
   Image
========================= */

.image-wrapper{
    position:relative;
    max-width:100%;
    height:480px;
    overflow:hidden;
    transform:translateZ(0);
    -webkit-transform:translateZ(0);
    will-change:transform;
}

.image-wrapper img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transform:translateZ(0);
    -webkit-transform:translateZ(0);
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
    will-change:transform;
}

/* =========================
   Mask
========================= */

.mask{
    position:absolute;
    inset:0;
    background:rgba(255,255,255,.65);
    transition:background-color .5s ease;
    z-index:1;
    transform:translateZ(0);
}

.carousel-item.active .mask{ background:rgba(255,255,255,0);}

/* =========================
   Text
========================= */

.text-content{
    padding:20px 25px;
    text-align:left;
    opacity:.4;
    transition:opacity .5s ease;
    transform:translateZ(0);
    margin-top: 6px ;
    border-left: 1px solid #00a0bd;
}

.carousel-item.active .text-content{ opacity:1; }

.text-content .title{
    color:#05afce;
    font-size:36px;
    margin-bottom:10px;
    display:flex;
    align-items:center;
    gap:8px;
    font-weight: 500;
    letter-spacing: 1px;
}
.text-content .title::before {
  content: url(../images/icon-spot.webp);
  width:50px;
  height: 47px;
  padding-right: 6px;
  }


.text-content .desc{
    color:#606060;
    font-size:19px;
    line-height:1.8em;;
}

/* =========================
   Buttons
========================= */

.spot-carousel-btn{
    position:absolute;

    top:240px;

    background:rgba(0,0,0,.3);

    color:#fff;

    border:none;

    width:44px;
    height:44px;

    border-radius:50%;

    font-size:24px;

    cursor:pointer;

    z-index:10;

    display:flex;
    align-items:center;
    justify-content:center;

    transition:
        opacity .4s ease,
        transform .4s ease,
        background .3s ease;

    opacity:0;

    pointer-events:none;

    will-change:transform, opacity;

    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
}

.spot-carousel-btn:hover{
    background:rgba(0,0,0,.5);
}

/* Prev */

.spot-carousel-prev{
    left:30px;

    transform:
        translateY(-50%)
        translateX(-16px);
}

/* Next */

.spot-carousel-next{
    right:30px;

    transform:
        translateY(-50%)
        translateX(16px);
}

/* Hover show */

.carousel-section:hover .spot-carousel-btn{
    opacity:1;

    pointer-events:auto;
}

.carousel-section:hover .spot-carousel-prev{
    transform:
        translateY(-50%)
        translateX(0);
}

.carousel-section:hover .spot-carousel-next{
    transform:
        translateY(-50%)
        translateX(0);
}

/* =========================
   Pagination
========================= */

.pagination{
    display:flex;

    justify-content:center;
    align-items:center;

    gap:12px;

    margin-top:25px;
    padding-bottom:15px;

    width:100%;
}

.dot{
    width:12px;
    height:12px;

    border-radius:50%;

    background:#d1d1d1;

    cursor:pointer;

    transition:.3s;
}

.dot:hover{
    background:#a0a0a0;
}

.dot.active{
    background:#4bc4c4;

    transform:scale(1.2);
}

/* =========================
   Responsive
========================= */

@media (max-width:800px){

    .carousel-item{
        width:100vw;
    }

    .image-wrapper{
        height:auto;
        aspect-ratio:800 / 480;
    }

    .spot-carousel-btn{
        top:calc((100vw * (480 / 800)) / 2);
    }

    .mask{
        display:none;
    }

    .text-content{
        opacity:1;
    }
}

@media (max-width:480px){

    .spot-carousel-btn{
        width:34px;
        height:34px;

        font-size:18px;
    }

    .spot-carousel-prev{
        left:15px;
    }

    .spot-carousel-next{
        right:15px;
    }
}



/*-------*/

.bg-activities { background: #2bb7cc; background: linear-gradient(180deg,rgba(43, 183, 204, 1) 0%, rgba(64, 192, 213, 1) 15%, rgba(189, 231, 230, 1) 100%); }
.bg-activities-top { background: url("../images/bg-activities.webp") center top no-repeat; }
.bg-activities-bom { background: url("../images/bg-activities-bom.webp") center bottom no-repeat; padding-bottom: 60px; }

/* =========================
   SECTION
========================= */

.activities-section{
  max-width:1100px;
  margin:auto;
}

/* =========================
   BOX
========================= */

.activities-box{

  position:relative;
  display:flex;
  gap:60px;
  border:4px solid #d6fcfb;
  padding:55px 45px 30px 0;
  margin:0 20px 120px 50px;

}

/* =========================
   IMAGE
========================= */

.activities-image-wrap{

  width:550px;
  flex-shrink:0;
  position:relative;
  margin-top:-110px;
  margin-left: -30px;
}

.activities-image{

  position:relative;
  max-width:100%;
  height:400px;
  overflow:hidden;
  background:#fff;
  border:7px solid #c3fbf4;

}

.activities-image img{

  position:absolute;
  inset:0;
  max-width:100%;
  height: 100%;
  object-fit:cover;
  opacity:0;
  transition:opacity .45s ease;
  pointer-events:none;
  backface-visibility:hidden;
}

.activities-image img.active{

  opacity:1;
  z-index:2;

}

/* =========================
   DOTS
========================= */

.activities-dots{

  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:18px;
}

.activities-dots span {  
  
  width:10px;  height:10px;  border-radius:50%;  background:rgba(255,255,255,.55);
  cursor:pointer;  transition:.35s;
}

.activities-dots span:hover{ transform:scale(1.15);}
.activities-dots span.active {  background:#14bcc9; transform:scale(1.25); }

/* =========================
   CONTENT
========================= */

.activities-content{  flex:1; }

.activities-content h3 {

  display:inline-block;
  font-size:36px;
  font-weight:500;
  color:#00a0bd;
  background:#d6fcfb;
  padding:10px 18px;
  margin-bottom:25px;
}

.activities-content p { font-size:18px; line-height:1.8em; color:#2b2b2b; }

/* =========================
   RWD
========================= */

@media(max-width:1100px){

  .activities-box{  gap:40px; }
  .activities-image-wrap{ width:480px; }

}

@media(max-width:900px){

  .activities-box{ flex-direction:column; gap:35px; padding:30px 25px; align-items: center;  margin:0px 20px 90px 20px; }
  .activities-image-wrap{  margin-top:-60px;  margin-left: 0px; width:100%; }
  .activities-image{ height:auto; aspect-ratio:550 / 400;  }
  .activities-content{ text-align: center; }
  .activities-content h3{  margin:0 auto; margin-bottom:20px;}
  .activities-content p{ font-size:17px; line-height:1.9; }
}

@media(max-width:600px){

  .activities-image-wrap{ margin-top:-65px; }
  .activities-content h3{ font-size:30px;  }
}

@media(max-width:480px){

  .activities-box{ padding:30px 10px; align-items: center;  margin:0px 10px 90px 10px; }

}

/*---平板-----*/
@media screen and (max-width:768px)  {

    #main-nav { display: none;}
    .first { padding-top:30px; margin-top: -30px;}
    .tour-list li a { display: block;}
    .name_l { width: 95%; display: block; }
    .price_r { width: 100%; display: block; padding-top:10px; text-align: right;}
}

@media screen and (max-width:600px)  {

}

/*---手機版-----*/
@media screen and (max-width:480px)  {

}


/*---手機版-----*/
@media screen and (max-width:430px)  {

}


