@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);
}
/* 隱藏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: 38.19%; /* 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: 195.3%; /* 750/384 * 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: 16%;/* 定位在背景圖的中央或自訂位置 */
		left: 4%;
	
		z-index: 2;
		pointer-events: none; /* 使向量圖不攔截滑鼠事件 */
	}
}

/* -----------------------------------------
    乘車碼是什麼
------------------------------------------*/
#intro{
	background-image: url(../images/bg-grid.svg);
	background-repeat: repeat;
	background-size: 52px;
	width: 100%;
}
.block{
	position: relative;
	width: 100%;
	height: auto;
	display: flex;
    justify-content: center;
	flex-wrap: wrap;
	padding: 12% 0 7%;
	overflow: hidden;
	scroll-margin-top: 70px;
}
.intro-white{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.bg-wave {
	position: absolute;
    background-image: url(../images/bg-wave.svg);
    margin: 0 auto;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
    left: 0;
    bottom: 0;
    z-index: 2;
}
.intro-card{
	background-color: #fff;
	width:60%;
	max-width: 900px;
    height: auto;
    display: flex;
    justify-content: space-around;
	align-items: center;
	padding: 30px;
	border-radius: 20px;
	margin-top: 20px;
}
.title-a{
	color: #c26a00;
	display: block;
	width: 35%;
	font-size: 28px;
	text-align: left;
	letter-spacing: 2px;
}
.p-a{
	color: #2f2f2f;
	display: block;
	width: 55%;
	font-size: 16px;
	line-height: 26px;
	text-align: justify;
}
.break1{
	display: block;
	padding: 5px 0;
}
.em-p{
	font-style: normal;
	color: #f8524c;
}
.decor-img {
	position: absolute;
	width: 130px;  /* 根據需求調整圖片大小 */
	height: auto;
	z-index: 3;
}
.img1 {
	top: 18%;
	left: 50%;
	transform: translate(-50%, -50%); /* 置中定位 */
	width: 400px;
}
.img2 {
	top: 20%;
	left: 8%;
}
.img3 {
	top: 50%;
	right: 3%;
	transform: translate(-50%, -50%); /* 置中定位 */
}

@media screen and (min-width: 1700px){
	.intro-card{
		max-width: none;
	}
}

@media screen and (max-width: 1024px){
	.block{
		padding: 14% 0 11%;
	}
	.intro-card{
		width: 60%;
		padding: 30px;
		flex-direction: column;
	}
	.title-pad{
		font-size: 28px;
		width: 90%;
		margin-bottom: 14px;
	}
	/* .break2{
		display: block;
	} */
	.p-a {
		width: 90%;
		font-size: 14px;
		line-height: 22px;
	}
	.decor-img{
		width: 100px;
	}
	.img1{
		width: 320px;
		top: 16%;
	}
	.img2{
		left: 5%;
	}
	.img3{
		right: 0;
	}
}

@media screen and (max-width: 768px){
	.block {
		padding: 17% 0 12%;
	}
	.intro-card{
		padding: 20px;
	}
	.title-a{
		font-size: 24px;
	}
}

@media screen and (max-width: 600px){
	.block {
		padding: 28% 0 66%;
	}
	.intro-card{
		width: 80%;
	}
	.decor-img{
		width: 115px;
	}
	.img1 {
		width: 360px;
		top: 11%;
	}
	.img2{
		top: 58%;
		left: 25%;
	}
	.img3{
		top: 76%;
		right: 14%;
	}
	.title-a {
        font-size: 22px;
    }
	.title-pad{
		width: 100%;
	}
	.p-a {
		width: 100%;
	}
}

@media screen and (max-width: 430px){
	.block {
		padding: 40% 0 90%;
	}
	.decor-img{
		width: 125px;
	}
	.img1 {
		width: 330px;
		top: 11%;
	}
	.img2{
		top: 64%;
		left: 13%;
	}
	.img3{
		top: 80%;
		right: 0%;
	}
	.title-a {
        font-size: 20px;
    }
}

/* -----------------------------------------
    使用教學
------------------------------------------*/
#how-to{
	width: 100%;
}
.block2{
	position: relative;
	width: 100%;
	height: auto;
	display: flex;
    align-items: center;
	flex-direction: column;
	padding: 7% 0 7%;
	overflow: hidden;
	scroll-margin-top: 70px;
}
.title-h2{
	color: #fc8a00;
	font-size: 36px;
	text-align: center;
	letter-spacing: 4px;
	margin-bottom: 70px;
}
.how-to-card{
	background-color: #fff;
	width:50%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
	padding: 30px;
	border-radius: 20px;
	border: 2px solid #fceeab;
	margin-bottom: 30px;
}
.title-b{
	width: 90%;
	margin-bottom: 14px;
}
.p-b{
	width: 90%;
}


/* DS-色塊版頁籤 (Tab) */
.how-to-tab{
	width: 80%;
}
.tab {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
}
.tab .uk-switcher {
	background: #E1EFEF;
	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%;
}

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


.step_all{
	width: 100%;
	height: auto;

	display: flex;
	/* flex-wrap: wrap; */
}
.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: #1db0b0;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: bold;
    background-color: #fff;
	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;
}
.remind-p{
	font-size: 16px;
	text-align: center;
}
.remind-p a{
	color: #00a19b;
	text-decoration: underline;
}

@media screen and (max-width: 1024px){
	.block2{
		padding: 11% 0 8%;
	}
	.how-to-card{
		width: 70%;
	}
	.step_set .top p.step_txt{
		width: 80%;
		font-size: 14px;
		line-height: 22px;
	}
}

@media screen and (max-width: 768px){
	.title-h2{
		font-size: 32px;
	}
}

@media screen and (max-width: 600px){
	.title-h2{
		font-size: 30px;
		line-height: 44px;
	}
	.block2 {
		padding: 16% 0 10%;
    }
	.how-to-card{
		width: 80%;
	}
	.step_set .top p.step_txt{
		width: 70%;
	}
}
@media screen and (max-width: 430px){
	.block2 {
        padding: 24% 0 15%;
    }
	.title-h2{
		margin-bottom: 50px;
		padding: 0 20px;
	}
	.how-to-card {
		width: 90%;
		padding: 25px;
	}
	.how-to-tab {
		width: 90%;
	}
	.title-b{
		width: 100%;
	}
	.p-b {
		width: 100%;
	}
	.step_set .top p.step_txt{
		font-size: 16px;
		line-height: 26px;
	}
}
@media screen and (max-width: 400px){
	.title-b{
		font-size: 22px;
	}
}


/* -----------------------------------------
    北捷乘車碼享優惠
------------------------------------------*/
#promo{
	width: 100%;
	background-color: #fffbe8;
	
	background-image:
	repeating-linear-gradient(
		45deg,
		rgba(255, 240, 200, 0.2) 0,
		rgba(255, 240, 200, 0.2) 10px,
		transparent 10px,
		transparent 20px
	);
}
/* #promo{
	width: 100%;
	background: linear-gradient(204deg, rgb(255, 255, 255), rgb(255, 240, 200));
} */

.block3{
	padding: 7% 0 2%;
}
.promo-block{
	width: 80%;
	max-width: 1100px;
	display: flex;
	justify-content: space-around;
    flex-wrap: nowrap; /* 盡量不換行，若換行會影響寬度 */
  	gap: 20px; /* 間距 */
	margin-bottom: 80px;
}
.promo-card{
	background-color: #fff;
	width: 45%;
	border-radius: 20px;

	display: flex;
	flex-direction: column;
    align-items: center;

	padding: 20px; /* 加點內距 */
	box-sizing: border-box; /* 內距包含於寬度 */
}
.promo-card-a{
	border: 2px solid #ffc4d9;
}
.promo-card-b{
	border: 2px solid #a0dcf7;
}
.promo-card > .main-content {
	flex-grow: 1; /* 撐滿空間，推動按鈕靠底 */
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}
.layer-pic{
	width: 35%;
	margin-top: -38px;
}
.promo-title{
	font-size: 30px;
	font-weight: 500;
	letter-spacing: 2px;
	margin: 30px 0 5px;
}
.promo-title-a{
	color: #ff80ac;
}
.promo-title-b{
	color: #00a4ef;
}
.date{
	color: #2f2f2f;
	font-size: 14px;
	margin-bottom: 15px;
}
.content{
	flex-grow: 1;  /* 內容區塊撐滿剩餘高度 */
	margin: 10px 0px;
}
.content figcaption{
	width: 100%;
}
.promo-pic{
	width: 100%;
}
.promo-pic-m{
	display: none;
}
.promo-p{
	padding-top: 10px;
}
.promo-ul{
	color: #2f2f2f;
	list-style: disc;
	text-align: justify;
	font-size: 14px;
    line-height: 20px;
	margin-top: 10px;
	padding-left: 25px;
}
.promo-ul li{
	padding-bottom: 4px;
}
.promo-ul-a{
	color: #00a19b;
	text-decoration: underline;
}
.em-li{
	color: #f8524c;
	font-weight: bold;
	font-style: normal;
}
.em-li-2{
	color: #ff80ac;
	font-weight: bold;
	font-style: normal;
}
.em-li-3{
	color: #00a4ef;
	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:hover {
	opacity: 0.7;
}
.btnLine:disabled {
	background: #acacac;
	color: #ffffff;
	border: none;
	cursor: not-allowed;
}


@media (max-width: 1024px){
	.promo-block{
		width: 90%;
	}
	.promo-card{
		width: 50%;
	}
	.promo-title{
		font-size: 24px;
		text-align: center;
	}
}
@media (max-width: 768px) {
	.block3 {
		padding: 12% 0 2%;
	}
	.promo-block{
		justify-content: center;
		flex-wrap: wrap;
		margin-bottom: 20px;
	}
	.promo-card{
		width: 80%;
		margin-bottom: 50px;
	}
	.btnLine {
		max-width: 8.75rem;
	}
}

@media (max-width: 600px) {
	.block3 {
		padding: 16% 0 2%;
	}
	.promo-card{
		width: 90%;
		margin-bottom: 50px;
	}
	.promo-pic-pc{
		display: none;
	}
	.promo-pic-m{
		display: block;
		width: 100%;
	}
}

@media (max-width: 430px) {
	.block3 {
		padding: 24% 0 2%;
	}
	.layer-pic {
		width: 50%;
		margin-top: -37px;
	}
}



/* -----------------------------------------
    哪裡使用
------------------------------------------*/
#where-to-use{
	width: 100%;
	background-color: #fff9e1;
}
.where-to-use-card{
	background-color: #fff;
	width:50%;
    height: auto;
    display: flex;
    justify-content: space-evenly;
	align-items: center;
	padding: 30px;
	border-radius: 20px;
	margin-bottom: 30px;
}
.mrt-pic{
	width: 30%;
}

@media (max-width: 1024px){
	.where-to-use-card{
		width: 65%;
	}
}

@media (max-width: 768px){
	.break3{
		display: block;
	}
	.where-to-use-card{
		flex-wrap: wrap;
	}
	.mrt-pic {
		width: 70%;
		margin-top: 30px;
	}
}
@media (max-width: 430px){
	.where-to-use-card{
		width: 80%;
	}
	.p-a{
		width: 100%;
	}
}


/* -----------------------------------------
    常見問題
------------------------------------------*/
#faq{
	width: 100%;
	background-color: #e4f2f2;
}
.title-h2-a{
	color: #00a19b;
}
.faq-card{
	width: 70%;
	max-width: 1100px;
}

.qa-content {
	background: #fff;
	color: #2f2f2f;
	border-radius: 24px;
}
.qa-content .qa-click {
	background: #fff;
	height: auto;
	cursor: pointer;
	padding: 12px 24px;
	border-radius: 24px;
	margin-bottom: 16px;
	display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
	align-items: flex-start;
}
.qa-content .qa-click p{
	color: #1cada4;
	font-size: 18px;
	line-height: 24px;
}
.qa-a{
	color: #00a19b;
	text-decoration: underline;
}
.qa-content .qa-click img {
	color: #b7acac;
	font-size: 12px;
	margin-top: 7px;
	float: right;
}
.qa-content .arrow {
	position: relative;
}
.qa-content .qa-answer {
	display: none;
	padding: 0px 24px 20px 24px;
	margin: 0 0 16px;
}
.qa-content .qa-answer p{
	font-size: 16px;
	line-height: 24px;
	text-align: justify;
}
.qa-content .qa-answer ul{
	margin: 10px 20px 10px;
}
.qa-content .qa-answer li {
	font-size: 16px;
	line-height: 24px;
	text-align: justify;
	word-wrap: break-word;
	text-justify: inter-ideograph;
	word-break: normal;
	list-style: lower-alpha;
}
.qa-content .rotate {
	transform: rotate(-180deg);
	/*transform: rotate(180deg);*/
	transition: 0.1s;
}
.qa-content .rotate-reset {
	transform: rotate(0deg);
	transition: 0.1s;
}


@media (max-width: 1024px){
	.faq-card {
		width: 90%;
	}
}

@media (max-width: 768px){
	.qa-content .qa-click p{
		font-size: 16px;
		width: 90%;
        text-align: justify;
	}
	.qa-content .qa-answer p , .qa-content .qa-answer li{
		font-size: 14px;
		line-height: 22px;
	}
}








.decor-img,.mrt-pic {
  /* 動畫持續時間與重複 */
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  /* 避免影響其他元素布局 */
  display: inline-block;
}

/* 輕微上下浮動 */
@keyframes floatUpDown {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-8px);
  }
}

/* 呼吸燈放大縮小 */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.85;
  }
}

/* 緩慢左右搖擺 */
@keyframes swing {
  0%, 100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  50% {
    transform: translate(-50%, -50%) rotate(5deg);
  }
}

/* 不同小圖分別套用不同動畫 */
.img1 {
  animation-name: floatUpDown;
}

.mrt-pic {
  animation-name: pulse;
}

.img3 {
  animation-name: swing;
}