@charset "UTF-8";
@import url("reset.css");

/* -----------------------------------------
   共用
------------------------------------------*/
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html,body{
    width: 100%;
}

/* -----------------------------------------
   seo
------------------------------------------*/
.seo-h1{
	height: 0px;
    width: 0px;
    transform: scale(0);
}
/* 隱藏h2標題 */
.sr-only {
    position: absolute;
    width: 1px; 
    height: 1px; 
    padding: 0; 
    margin: -1px; 
    overflow: hidden; 
    clip: rect(0,0,0,0); 
    border: 0;
}

/* -----------------------------------------
   kv
------------------------------------------*/
article.event-kv{
	width: 100%;
	margin-top: 67px;
}
.hero {
	position: relative;
	width: 100%;
	/* 維持背景圖片長寬比，例如16:9 */
	padding-top: 51.25%; /* 9/16 * 100% */
	overflow: hidden; /* 避免內容溢出 */
} 
.hero-bg-pc {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover; /* 確保圖片等比例填滿容器 */
	z-index: 1;
}
.hero-bg-m {
	display: none;
}
.hero-vector {
	position: absolute;
	width: 40%; /* 例如向量圖寬度為背景寬度的40% */
	height: auto; /* 高度auto，等比例縮放 */

	top: 0%;/* 定位在背景圖的中央或自訂位置 */
	left: 30%;

	z-index: 2;
	pointer-events: none; /* 使向量圖不攔截滑鼠事件 */
}

/* 小型桌機 1025px 以下 （含1024px） */
@media screen and (max-width: 1200px) {

}

/* 平板 768px ~ 1024px */
@media screen and (max-width: 1024px) {
    article.event-kv{
        margin-top: 64px;
    }
}

/* 大手機、小平板 480px ~ 767px */
@media screen and (max-width: 768px) {
    article.event-kv{
        margin-top: 58px;
    }
}

/* 小手機 540px 以下 */ 
@media screen and (max-width: 540px) {
	article.event-kv{
		width: 100%;
		margin-top: 57px;
	}
	.hero {
		position: relative;
		width: 100%;
		/* 維持背景圖片長寬比，例如16:9 */
		padding-top: 179%; /* 700/393 * 100% */
		overflow: hidden; /* 避免內容溢出 */
	} 
	.hero-bg-pc {
		display: none;
	}
	.hero-bg-m {
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		object-fit: cover; /* 確保圖片等比例填滿容器 */
		z-index: 1;
	}
	.hero-vector {
		position: absolute;
		width: 92%; /* 例如向量圖寬度為背景寬度的92% */
		height: auto; /* 高度auto，等比例縮放 */
		
		top: 12%;/* 定位在背景圖的中央或自訂位置 */
		left: 4%;
	
		z-index: 2;
		pointer-events: none; /* 使向量圖不攔截滑鼠事件 */
	}
}

/* -----------------------------------------
   次導覽列
------------------------------------------*/
.sticky_bar{
    margin-top:30px;
    position: sticky;
    top:68px;
    background-color: rgba(256, 256, 256, 0.7);
    backdrop-filter: blur(8px); /* 保持毛玻璃效果 */
    z-index:999;
}
.stick_list{
    display: flex;
    flex-direction: row;
    justify-content: center;
}  
.stick{
    margin: 10px 5px;
}
a.taglink{
    display: block;
    font-size:16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 10px 16px;
    border: 1px solid #1cada4;
    border-radius: 20px;
    color:#1cada4;

    /* 過渡效果 */
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
a.taglink:hover{
    background-color: #1cada4;
    color: #fff;
    transform: scale(1.08);
}

/* 平板 768px ~ 1024px */
@media screen and (max-width: 1024px) {
    .sticky_bar{
        top: 64px;
    }
}

/* 大手機、小平板 480px ~ 767px */
@media screen and (max-width: 768px) {
    .sticky_bar{
        top: 58px;
    }
    a.taglink{
        font-size: 14px;
    }
}

/* 小手機 540px 以下 */
@media screen and (max-width: 540px) {
    .sticky_bar{
        margin-top: 20px;
    }
    .stick_list{
        flex-wrap: wrap;
        padding: 6px 0;
    }
    .stick{
        margin: 4px 4px;
    }
    a.taglink {
        font-size: 14px;
        width: 130px;
        padding: 8px 16px;
        text-align: center;
    }
}

/* 小手機 430px 以下 */
@media screen and (max-width: 430px) {
    a.taglink {
        font-size: 13px;
        width: 110px;
        padding: 8px 8px;
        text-align: center;
    }
}

/* -----------------------------------------
   訂房樂一夏（swiper輪播）
------------------------------------------*/
.scroll{
    scroll-margin-top: 170px; /* 增加定位時上方間距 */
}

.article-theme-1{
    width: 100%;
    height: auto;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.article-theme-1 .icon-1 {
    position: absolute;
    width: 250px;
    height: 250px;
    background-image: url('../images/bg-coconut-tree1.svg');
    background-size: contain;
    background-repeat: no-repeat;
    top: 0px;
    left: -40px;
    z-index: -1;

    /* 動畫 */
    animation: sway 4s ease-in-out infinite;
    transform-origin: bottom left;
}

/* 小手機 540px 以下 */
@media screen and (max-width: 540px) {
    .article-theme-1 .icon-1 {
        width: 125px;
        height: 125px;
        top: 80px;
        left: -25px;
    }
}





/* h2標題圖片 */
.h2-title-1{
    width: 75%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 15px;
}
h2 img{
    max-width: 100%;
    height: auto;
    display: block;
}
/* 小手機 430px 以下 */
@media screen and (max-width: 430px) {
    .h2-title-1{
        width: 85%;
    }
    .h2-title-1.h2-title-2{
        width: 95%;
    }
}

/* swiper輪播 */
.swiper {
    width: 90%;
    max-width: 1200px;
    overflow: hidden;
    position: relative;
    letter-spacing: 0.8px;
}

/* 卡片樣式 */
.carousel-card {
    background-color: #ffefdb;
    border-radius: 8px;
    overflow: hidden;
    /* box-shadow: 0 2px 8px rgb(0 0 0 / 0.1); */
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 30px 40px 50px 40px;
    padding: 16px; /* 卡片內間距 + 圖片周圍間距 */
    box-sizing: border-box;
}
/* 圖片 */
.carousel-card img {
    background-color: #fff;
    border-radius: 6px;
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 12px; /* 圖片和內容區分開 */
    display: block;
}
.card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;

    height: 150px; /* 內容相同高度 */
}
.card-subtitle {
    color: #00a19b;
    margin: 0 0 6px 0;
    font-weight: 600;
    font-size: clamp(0.9rem, 0.8vw + 0.3rem, 1.1rem);
    /* font-size: 1.2rem; */
    line-height: 1.3;
}
/* ul 列點 */
.card-points {
    margin: 0 0 12px 20px; /* 項目前有縮排 */
    padding: 0;
    list-style-type: disc;
    color: #2f2f2f;
    font-size: 0.9rem;
}
.card-points li {
    margin-bottom: 4px;
    line-height: 1.3;
}
.card-points li em{
    color: #f8524c;
    font-style: normal;
    font-weight: 600;
}
/* 按鈕-了解更多 */
.card-content a.button-link {
    display: inline-block;
    text-decoration: none;
    background-color: #3cbaad;
    color: #fff;
    font-weight: 500;
    padding: 6px 20px 7px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}
.card-content a.button-link:hover {
    opacity: 0.7;
    outline: none;
}

.swiper .swiper-button-next, .swiper .swiper-button-prev {
    color: #3cbaad;
    --swiper-navigation-size: 30px;
    top: 50%;
  }
.swiper .swiper-button-prev {
    left: 5px;
}
.swiper .swiper-button-next {
    right: 5px;
}
    

/* 分頁點點 */ 
.swiper-pagination {
    position: absolute;
    bottom: 20px !important;
    left: 50% !important;
    -webkit-transform: translateX(-50%) !important;
            transform: translateX(-50%) !important;
}
.swiper-pagination span {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #d9d9d9;
    margin: 0 5px;
    background: #ffffff;
    opacity: 1;
}
.swiper-pagination .swiper-pagination-bullet-active {
    background: #00a19b;
    border: 1px solid #00a19b;
}

/* -----------------------------------------
   出國樂一夏
------------------------------------------*/
/* 卡片樣式 */
.cc2 {
    background-color: #dff7d7;
}

.article-theme-1 .icon-2 {
    position: absolute;
    width: 250px;
    height: 250px;
    background-image: url('../images/bg-coconut-tree2.svg');
    background-size: contain;
    background-repeat: no-repeat;
    top: 0px;
    right: -40px;
    z-index: -1;

    /* 動畫 */
    animation: sway 4s ease-in-out infinite;
    transform-origin: bottom right;
}
@media screen and (max-width: 540px) {
    .article-theme-1 .icon-2 {
        width: 125px;
        height: 125px;
        top: 80px;
        right: -40px;
    }
}


/* ------------------------------------------------
   夏日藝遊趣｜夏日饗食趣｜兜風趴趴GO｜FUN風購物樂（共用）
-------------------------------------------------*/
.article-theme-2{
    position: relative;
    padding: 70px 20px;
    scroll-margin-top: 120px;
}

/* 內容容器 — 固定3欄排列 */
.content {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 三欄固定 */
    gap: 24px;
    max-width: 1200px;
    margin: 30px auto 0;
    letter-spacing: 0.8px;
}

/* 768px 以下改為2欄 */
@media (max-width: 768px) {
    .content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 480px 以下改為1欄 */
@media (max-width: 480px) {
    .content {
        grid-template-columns: 1fr;
    }
}

/* 單張卡片 */
.card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 12px;
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.3); */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-6px);
    /* box-shadow: 0 8px 16px rgba(0,0,0,0.5); */
}

/* 卡片內文 */
.card p {
    color: #2f2f2f;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 16px;
    /* text-align: justify; */
}
.card p em{
    color: #f8524c;
    font-style: normal;
    font-weight: 600;
}

/* 列表(預留，可使用ul li插入在p下方) */
.card ul {
    margin-bottom: 16px;
    padding-left: 1.2rem;
    list-style-type: disc;
} /* ---------------------------- */

/* 按鈕-了解更多（外框無底色） */
.button-link-2 {
    align-self: flex-start;
    margin-top: auto;
    font-size: 0.9rem;
    font-weight: 500;
    color: #00a19b;
    border: #00a19b 1px solid;
    padding: 6px 20px 7px;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.button-link-2:hover {
    opacity: 0.7;
    outline: none;
}

/* 響應式字體縮放 (可視需求微調) */
@media (max-width: 600px) {
    .card {
        padding: 20px;
    }
    .card h3 {
        font-size: 1.2rem;
    }
    .card p,
    .card ul {
        font-size: 0.9rem;
    }
}

/* -----------------------------------------
   夏日藝遊趣
------------------------------------------*/
/* 背景圖 */
#arts-culture {
    margin-top: 60px;
    background:
        /* linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), */
        url("../images/bg-arts-culture.webp") no-repeat center center/cover;
}

/* 卡片標題 */
#arts-culture .h3-style-1 {
    color: #c97e59;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 12px;
}

/* -----------------------------------------
   夏日饗食趣
------------------------------------------*/
/* 背景圖 */
#food-delicious {
    background:
        /* linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), */
        url("../images/bg-food-delicious.webp") no-repeat center center/cover;
}

/* 卡片標題 */
#food-delicious .h3-style-1 {
    color: #69b44c;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 12px;
}

/* -----------------------------------------
   兜風趴趴GO
------------------------------------------*/
/* 背景圖 */
#transportation {
    background:
        /* linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), */
        url("../images/bg-transportation.webp") no-repeat center center/cover;
}

/* 卡片標題 */
#transportation .h3-style-1 {
    color: #0093e9;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 12px;
}

/* -----------------------------------------
   FUN風購物樂
------------------------------------------*/
/* 背景圖 */
#shopping {
    background:
        /* linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), */
        url("../images/bg-shopping.webp") no-repeat center center/cover;
}

/* 卡片標題 */
#shopping .h3-style-1 {
    color: #ff8358;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 12px;
}

/* -----------------------------------------
   保險就愛刷玉山卡
------------------------------------------*/
#insurance section{
    max-width: 1200px;
    margin: 30px auto 0;
    letter-spacing: 0.8px;
}
.card-2 {
    display: flex;
    align-items: center;
    gap: 20px; /* 圖文間距 */
    padding: 20px;
    background-color: #fff9e3;
    /* border: 1px solid #ddd; */
    border-radius: 8px;
    max-width: 620px;
    margin: 0 auto;
}
/* 圖片區塊設定 */
.card-2 img {
    width: 45%; /* 左側圖寬 */
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* 文字區塊設定，讓按鈕靠左下 */
.card-2 figcaption {
    display: flex;
    flex-direction: column;
    flex: 1; /* 文字區撐滿剩餘寬度 */
    height: 100%;
}
.card-2 .h3-style-1 {
    color: #ff8800;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 12px;
}
.card-2 p {
    color: #2f2f2f;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    /* text-align: justify; */
}
.card-2 p em{
    color: #f8524c;
    font-style: normal;
    font-weight: 600;
}

/* 小手機 */
@media (max-width: 600px) {
    .card-2 {
        flex-direction: column;
        max-width: 70%;
        padding: 30px;
        gap: 5px; /* 圖文間距 */
    }
    .card-2 img {
        width: 100%;
        margin-bottom: 15px;
    }
    .card-2 figcaption {
        width: 100%;
        display: flex;
        flex-direction: column;
        flex: 1; /* 文字區撐滿剩餘寬度 */
        height: 100%;
    }
}

/* 小手機 400px 以下 */
@media (max-width: 400px){
    .card-2 {
        max-width: 80%;
    }
}

/* -----------------------------------------
   熱門卡片推薦
------------------------------------------*/
.article-theme-3{
    position: relative;
    padding: 70px 20px;
    margin-top: 60px;
    background-color: #f4f8fa;
}
.recommendation-card-content{
    width: 100%;
    max-width: 1200px;
    margin: 30px auto 0;
    letter-spacing: 0.8px;
    display: flex;
}
.credit-card {
    background-color: #fff;
    border: #3cbaad 1px solid;
    border-radius: 150px 150px 8px 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    margin: 0px 40px 20px 40px;
    padding: 24px; /* 卡片內間距 + 圖片周圍間距 */
    box-sizing: border-box;
}
.credit-card img{
    width: 80%;
    transition: transform 0.3s ease;
}
.credit-card img:hover {
    transform: scale(1.1); /* 放大 10% */
  }
.credit-card-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 180px;
    align-items: center;
}
.card-title {
    color: #00a19b;
    margin: 6px 0 6px 0;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.3;
}
.credit-card-text p {
    color: #2f2f2f;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: center;
}
.credit-card-text p em{
    color: #f8524c;
    font-style: normal;
    font-weight: 600;
}
.credit-card-text p.date{
    font-size: 0.9rem;
}

.credit-card-text a.button-link {
    display: inline-block;
    text-decoration: none;
    background-color: #3cbaad;
    color: #fff;
    font-weight: 500;
    padding: 6px 20px 7px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: center;
    margin-top: auto;
}
.credit-card-text a.button-link:hover {
    opacity: 0.7;
    outline: none;
}

/* 小型桌機 1025px 以下 （含1024px） */
@media screen and (max-width: 1200px) {
    .credit-card{
        margin: 0 20px 20px;
    }
}

/* 平板 768px ~ 1024px */
@media screen and (max-width: 1024px) {
    .credit-card{
        margin: 0 10px 20px;
        padding: 18px;
    }
    .credit-card-text{
        height: 210px;
    }
    .card-title{
        font-size: 1rem;
    }
    .credit-card-text p{
        font-size: 0.9rem;
    }
    .credit-card-text p.date{
        font-size: 0.8rem;
    }
}

/* 大手機、小平板 480px ~ 767px */
@media screen and (max-width: 768px) {
    
}

/* 小手機 540px 以下 */ 
@media screen and (max-width: 540px) {
    .article-theme-3{
        padding: 70px 0px 40px;
    }
	.recommendation-card-content{
        flex-wrap: wrap;
        justify-content: center;
    }
    .credit-card{
        max-width: 70%;
        margin: 0 10px 30px;
    }
    .credit-card img{
        width: 90%;
    }
    .credit-card-text{
        height: 185px;
    }
    .card-title{
        font-size: 1.4rem;
    }
    .credit-card-text p{
        font-size: 1rem;
    }
    .credit-card-text p.date{
        font-size: 0.9rem;
    }
}

/* 小手機 400px 以下 */ 
@media screen and (max-width: 400px) {
    .credit-card{
        max-width: 80%;
    }
}

/* -----------------------------------------
   注意事項
------------------------------------------*/
.notice-content{
    width: 90%;
	max-width: 1200px;
	height: auto;
    letter-spacing: 0.8px;
    margin: 0 auto 50px;
}
.notice-content h3{
	color: #2f2f2f;
	font-size: 1.4rem;
	margin-bottom: 20px;
}
.notice-text{
	color: #2f2f2f;
	font-size: 0.9rem;
	line-height: 22px;
	font-weight: normal;
	text-align: justify;
	list-style: decimal;

	margin-left: 16px;
}
.notice-text li{
	margin-bottom: 8px;
}

/* 小手機 540px 以下 */ 
@media screen and (max-width: 540px) {
    .notice-content{
        width: 80%;
    }
}


/* -----------------------------------------
   動畫
------------------------------------------*/
 /* 椰子樹-搖擺-sway */
 @keyframes sway {
    0% {
      transform: rotate(0deg);
    }
    25% {
      transform: rotate(5deg);
    }
    50% {
      transform: rotate(0deg);
    }
    75% {
      transform: rotate(-5deg);
    }
    100% {
      transform: rotate(0deg);
    }
}
  
  .vibrate-1 {
	-webkit-animation: vibrate-1 5s linear infinite both;
	        animation: vibrate-1 5s linear infinite both;
}
/* ----------------------------------------------
 * Generated by Animista on 2025-7-28 13:25:25
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation vibrate-1
 * ----------------------------------------
 */
 @-webkit-keyframes vibrate-1 {
    0% {
      -webkit-transform: translate(0);
              transform: translate(0);
    }
    20% {
      -webkit-transform: translate(-6px, 6px);
              transform: translate(-6px, 6px);
    }
    40% {
      -webkit-transform: translate(-6px, -6px);
              transform: translate(-6px, -6px);
    }
    60% {
      -webkit-transform: translate(6px, 6px);
              transform: translate(6px, 6px);
    }
    80% {
      -webkit-transform: translate(6px, -6px);
              transform: translate(6px, -6px);
    }
    100% {
      -webkit-transform: translate(0);
              transform: translate(0);
    }
  }
  @keyframes vibrate-1 {
    0% {
      -webkit-transform: translate(0);
              transform: translate(0);
    }
    20% {
      -webkit-transform: translate(-6px, 6px);
              transform: translate(-6px, 6px);
    }
    40% {
      -webkit-transform: translate(-6px, -6px);
              transform: translate(-6px, -6px);
    }
    60% {
      -webkit-transform: translate(6px, 6px);
              transform: translate(6px, 6px);
    }
    80% {
      -webkit-transform: translate(6px, -6px);
              transform: translate(6px, -6px);
    }
    100% {
      -webkit-transform: translate(0);
              transform: translate(0);
    }
  }
  