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

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

html, body {
    width: 100%;
	letter-spacing: 1px;
}


/* -----------------------------------------
    SEO
------------------------------------------*/
.seo-h1 {
	height: 0px;
    width: 0px;
    transform: scale(0);
}


/* -----------------------------------------
    KV 主視覺
------------------------------------------*/
article.event-kv {
    width: 100%;
    margin-top: 67px;
}

.hero {
    position: relative;
    width: 100%;
    padding-top: 46.42%; /* 電腦版比例 16:9 */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* 裝飾小圖（position + 動畫屬性合併） */
.decor-img {
    position: absolute;
    height: auto;
    z-index: 3;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    display: inline-block;
}

.img1 {
    width: 7%;
    max-width: 100px;
    top: 38%;
    right: 4%;
    animation-name: swing;
}

.img2 {
    width: 7%;
    max-width: 100px;
    top: 42%;
    left: 10%;
    animation-name: swing;
}

@keyframes swing {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -50%) rotate(20deg);
    }
}

@media screen and (max-width: 1024px) {
    article.event-kv {
        margin-top: 64px;
    }
    .img1 {
        top: 20%;
    }
    .img2 {
        top: 22%;
    }
}

@media screen and (max-width: 768px) {
    article.event-kv {
        margin-top: 58px;
    }
}

@media screen and (max-width: 600px) {
    .img1,
    .img2 {
        display: none;
    }
}

@media screen and (max-width: 540px) {
    article.event-kv {
        width: 100%;
        margin-top: 57px;
    }
    .hero {
        /* 因為 <picture> 切換了圖片，外框容器需要改變高度比例 */
        padding-top: 179%; /* 700/393 * 100% */
    }
}


/* -----------------------------------------
    活動說明
------------------------------------------*/
.block2 {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 5% 0 7%;
    overflow: hidden;
    scroll-margin-top: 70px;
}

.block3 {
    padding: 7% 0 2%;
}

.block2.block4 {
    padding: 5% 0 1%;
}

.promo-block-2 {
	width: 80%;
	max-width: 1100px;
	display: flex;
	flex-direction: column;
    align-items: center;
  	gap: 20px;
}

.post-content {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: flex-start;
    flex-wrap: nowrap;
	gap: 40px;
}

.post-content-pic {
	display: block;
	width: 35%;
	height: auto;
}

.post-content figcaption {
	width: 42%;
}

.fi-p {
	color: #2f2f2f;
	font-size: 20px;
	line-height: 30px;
	margin-bottom: 5px;
}

.break1 {
	display: block;
	padding: 3px 0;
}

.promo-ul {
	color: #2f2f2f;
	text-align: justify;
	font-size: 14px;
    line-height: 20px;
	margin-top: 10px;
}

.promo-ul li {
	padding-bottom: 4px;
}

.em-li {
	color: #f8524c;
	font-weight: bold;
	font-style: normal;
}

/* 活動詳情 - 按鈕 */
.btnLine {
	width: 100%;
	max-width: 12.5rem;
	height: 4.0625rem;
	border-radius: 4px;
	text-align: center;
	border: solid 1px #00a19b;
	color: #00a19b;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	transition: 0.3s;
	margin-top: 20px;
}

.btnLine.btn-limited {
	background-color: #00a19b;
	color: #fff;
}

.btnLine:hover {
	opacity: 0.7;
}

@media screen and (max-width: 1024px) {
	.block2 {
		padding: 11% 0 8%;
	}
	.promo-block-2 {
		width: 90%;
	}
	.post-content-pic {
		width: 32%;
	}
	.post-content figcaption {
		width: 50%;
	}
}

@media (max-width: 830px) {
	.post-content {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		gap: 30px;
	}
	.post-content figcaption {
        width: 80%;
		text-align: center;
    }
	.post-content-pic {
		width: 45%;
	}
	.promo-ul {
		text-align: center;
	}
	.btnLine.btn-limited {
		margin: 20px auto 0px;
	}
}

@media (max-width: 768px) {
	.block3 {
		padding: 12% 0 2%;
	}
	.btnLine {
		max-width: 8.75rem;
	}
	.post-content figcaption {
		width: 88%;
    }
}

@media (max-width: 600px) {
	.block2 {
		padding: 16% 0 10%;
    }
	.block3 {
		padding: 16% 0 2%;
	}
	.post-content-pic {
        width: 70%;
    }
}

@media (max-width: 430px) {
	.block2 {
        padding: 16% 0 15%;
    }
	.block3 {
		padding: 16% 0 2%;
	}
	.post-content-pic {
        width: 85%;
    }
	.post-content figcaption {
		width: 90%;
    }
}


/* -----------------------------------------
    注意事項（popup）
------------------------------------------*/
.popup .title {
    color: #00a19b;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 1.5px;
	text-align: left;
	padding-right: 25px;
}

.popup .content {
	color: #000;
    font-size: 0.9rem;
	line-height: 1.4rem;
	letter-spacing: 1px;
	text-align: justify;
	list-style: decimal;
    margin-top: 1rem;
}

.popup .content li {
	margin-left: 2rem;
	margin-bottom: 0.5rem;
}

.popup .content li a {
	color: #00a19b;
    text-decoration: underline;
}

.popup .content li a:hover {
	opacity: 0.7;
}

.popup .content li em {
	color: #fc605b;
	font-style: normal;
}

.popup .content ul.li_2 {
	list-style: lower-alpha;
}

.popup .content ul.li_2 li {
	margin-left: 1.4rem;
	margin-bottom: 0.1rem;
}


/* -----------------------------------------
    波浪分隔
------------------------------------------*/
.wave-divider1 {
	height: 150px;
	background-color: #fff;
	background-image: url('../images/wave-unit1.svg');
	background-repeat: repeat-x;
	background-size: auto 100%;
	background-position: center 80px;
}

.wave-divider2 {
	height: 150px;
	background-color: #d0f0ee;
	background-image: url('../images/wave-unit2.svg');
	background-repeat: repeat-x;
	background-size: auto 100%;
	background-position: center 80px;
}

@media (max-width: 600px) {
	.wave-divider1,
	.wave-divider2 {
		height: 100px;
		background-position: center 55px;
	}
}


/* -----------------------------------------
    使用教學
------------------------------------------*/
#how-to-use {
	width: 100%;
	background-color: #d0f0ee;
}

/* h2 圖片標題 */
.rwd-title {
	height: 105px;
	margin: 20px 0;
	display: flex;
	justify-content: center;
}

.rwd-title img {
	width: auto;
	max-width: 100%;
	height: 100%;
	object-fit: contain;
}

.how-to-tab {
	width: 80%;
}

/* DS-色塊版頁籤 (Tab) */
.tab {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
}

.tab .uk-switcher {
	background: #fff;
	border-radius: 10px;
	padding: 40px 20px 15px;
}

.uk-tab {
	width: 100%;
}

.uk-tab > li {
	display: inline-block !important;
	padding-left: 0;
	position: relative;
}

.uk-tab > li a {
	font-size: 18px;
}

.uk-tab > .uk-active::after {
	content: "";
	width: 100%;
	height: 4px;
	background: #00a19b;
	border-radius: 10px;
	display: block;
	position: absolute;
	bottom: -4px;
	right: 0;
}

.uk-tab > .uk-active > a {
	color: #00a19b;
	font-weight: bold;
	padding-bottom: 16px;
	border: 0;
}

.uk-tab::before {
	display: none;
}

.tab-block {
	overflow-x: scroll;
}

.tab-block .uk-switcher {
	margin-top: 10px !important;
}

.tab-block > .uk-tab {
	margin: 0 auto;
	overflow: scroll;
	-ms-flex-wrap: nowrap;
		flex-wrap: nowrap;
	max-width: 100%;
}

.tab-block > .uk-tab::after {
	display: none;
}

.tab-block > .uk-tab > li {
	width: 190px;
	margin: 0 6px;
}

.tab-block > .uk-tab > li > a {
	border: 1px solid #00a19b;
	color: #00a19b;
	background-color: #fff;
	padding: 16px 10px;
	border-radius: 8px;
}

.tab-block > .uk-tab > .uk-active::after {
	position: static;
	width: 0;
	height: 0;
	border-width: 14px;
	border-style: solid;
	border-color: #00a19b transparent transparent transparent;
	border-radius: 0;
	margin: 0 auto;
	background: transparent;
}

.tab-block > .uk-tab > .uk-active > a {
	background: #00a19b;
	color: #fff;
}

@media (min-width: 913px) {
	.tab-block > .uk-tab {
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
	}
}

/* DS-步驟 */
.content {
	flex-grow: 1;
	margin: 10px 0px;
}

.step_all {
	width: 100%;
	height: auto;
	display: flex;
}

.step_set {
	width: 30%;
	margin: 0 auto 60px;
	display: flex;
    flex-direction: column;
    align-items: center;
}

.step_set .top {
	width: 100%;
	height: 100px;
	margin-bottom: 5px;
	text-align: center;
}

.step_set .top .step_number {
	color: #fff;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: bold;
    background-color: #1db0b0;
	border-radius: 30px;
    width: 125px;
    padding: 2px 0;
	margin: 0 auto;
}

.step_set .top p.step_txt {
	color: #2f2f2f;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 1px;
    width: 65%;
    margin: 10px auto 0px;
}

.step_set .top p.step_txt span {
	color: #2f2f2f;
	font-size: 14px;
}

.step_set .top p.step_txt span.br {
	display: block;
}

.step_set .phone_pic {
	width: 60%;
	position: relative;
}

.step_set .phone_pic img {
	width: 100%;
}

/* DS-輪播 (carousel) */
.swiper-container {
	width: 100%;
	overflow: hidden;
	position: relative;
}

.swiper-slide img {
    width: 100%;
}

.swiper-button-next,
.swiper-button-prev {
	color: #00a19b;
}

.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: 14px;
	height: 14px;
	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;
}

@media (max-width: 768px) {
	.rwd-title {
		height: 70px;
	}
}

@media screen and (max-width: 1024px) {
	.step_set .top p.step_txt {
		width: 80%;
		font-size: 14px;
		line-height: 22px;
	}
}

@media screen and (max-width: 600px) {
	.step_set .top p.step_txt {
		width: 70%;
	}
}

@media screen and (max-width: 430px) {
	.how-to-tab {
		width: 90%;
	}
	.step_set .top p.step_txt {
		font-size: 16px;
		line-height: 26px;
	}
}


/* -----------------------------------------
    日本PayPay推薦通路
------------------------------------------*/
#where-to-use {
	width: 100%;
	background-color: rgb(255, 195, 184);
	background-image:
	repeating-linear-gradient(
		45deg,
		rgba(254, 211, 203, 0.2) 0,
		rgba(254, 211, 203, 0.2) 10px,
		transparent 10px,
		transparent 20px
	);
}

.travel-container {
	display: grid;
	width: 90%;
	max-width: 1250px;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 30px;
}

.travel-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	transition: box-shadow 0.3s ease;
}

.travel-card:hover {
	box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card-image-box {
	position: relative;
	height: 125px;
	overflow: hidden;
}

.card-image-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.travel-card:hover .card-image-box img {
	transform: scale(1.1);
}

.card-title-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.card-title-overlay h3 {
	color: #fff;
	font-size: 24px;
	letter-spacing: 4px;
	text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.card-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.card-list li {
	padding: 10px 15px;
	border-bottom: 1.5px solid #ffdfdf;
	font-size: 14px;
	color: #2f2f2f;
	text-align: center;
}

.card-list li:last-child {
	border-bottom: none;
}

.remind-p {
	font-size: 16px;
	text-align: center;
}

.remind-p a {
	color: #00a19b;
	text-decoration: underline;
}

@media (max-width: 1024px) {
	.travel-container {
		grid-template-columns: repeat(2, 1fr);
		width: 80%;
		gap: 40px;
	}
}

@media (max-width: 600px) {
	.travel-container {
		grid-template-columns: 1fr;
		width: 80%;
	}
}
