@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700;900&display=swap');/*繁中-黑體*/

*,
*:before,
*:after{
	box-sizing: border-box;
}

body{
	font-family: 'Noto Sans TC',Arial,-apple-system,Segoe UI,Roboto,sans-serif; /*繁中-黑體*/
	margin:0;
	background: #f4f4f4;
}

.wrapper{
	max-width:1920px;
	margin: 0 auto;
	font-size: clamp(12px, 1.04vw, 20px);
}

.main{
	width:62.5%;
	margin: 0 auto;
	padding:3% 0;
}

.logo{
	width:23%;
	margin:0 auto;
	display: block;
}

h2{
	text-align: center;
	color:#FFF;
	background: #fca800;
	margin:2em 0 0;
	padding:0.55em 0;
	line-height: 1em;
	font-size:1.75em;
	border:0.1em solid;
	border-radius:2em;
	box-shadow: 0.1em 0.1em 0.2em 0.1em rgba(0, 0, 0, 0.1);
}
h2.h2sub{
	color:#231815;
	background: #fff;
	border-color: #fff;
}

.main > p{
	margin: 3.5em 0 0;
}
.main > p strong {
	color:#dc4935;
	text-decoration: underline;
}
.main > ol li strong {
	color:#dc4935;
}

h3{
	margin:1.5em 0 0 0.5em;
	line-height: 1em;
	font-size:1.75em;
	display: flex;
	align-items: center;
}
h3:before{
	content:"";
	display: block;
	width:1.7em;
	aspect-ratio:1.03;
	background: url(../rebate/star.svg) center/contain;
	margin-right:0.45em;
}

.step{
	list-style: none;
	margin:3em 0 0;
	padding:0;
}
.step li{
	--bdr-color:#fec107;
	--bdr-width:0.2em;
	position: relative;
	padding:0.8em 0 3em;
}
.step li:last-child{
	padding-bottom:0;
}
.step li:before,
.step li:after{
	position: absolute;
	left:-1.8em;
	top:0;
}
.step li:before{
	content:"";
	display: block;
	width:var(--bdr-width);
	height:100%;
	background: var(--bdr-color);
}
.step li:last-child:before{
	display: none;
}
.step li .txt{
	margin-left:1em;
}
.step li .txt strong{
	font-size: 1.2em;
}
.step li .txt p{
	margin:0.5em 0 0;
	line-height: 1.8em;
}
.step li .txt p a{
	/*color:currentColor;*/
	color:#fca800;
	text-decoration: underline;
}
.step li .txt p a:hover{
	text-decoration: none;
}
.step li img{
	margin-top:2em;
	display: block;
	width:100%;
	border-radius:1em;
	box-shadow: 0.25em 0.25em 0.3em 0.15em rgba(0, 0, 0, 0.1);
}
.step li:after{
	content:attr(data-n);
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 1em;
	width:2.8em;
	color:var(--bdr-color);
	border:var(--bdr-width) solid;
	border-radius:50%;
	font-weight: bold;
	font-size: 1.2em;
	background: #FFF;
	aspect-ratio:1;
	transform: translateX(-37%);
	box-shadow: 0.15em 0.15em 0.3em 0.15em rgba(0, 0, 0, 0.1);
}
.tips{
	background: #9fa0a0;
	color:#FFF;
	font-size: 0.9em;
	padding:0.5em 1em;
	border-radius:50px;
	margin-top:3em; 
}

.rule{
	background: #a0a0a0;
	color:#FFF;
	font-size: 0.9em;
	padding:3em 0;
}
.ruleCT{
	width:62.5%;
	margin: 0 auto;
}
.ruleCT h4{
	font-size: 1.88em;
	font-weight: normal;
	margin:0;
}
.ruleCT ul{
	margin:1em 0 0;
	padding-left:1.2em;
}
.ruleCT li{
	line-height:1.8em;
}
.ruleCT li+li{
	margin-top:0.25em;
}

ol{
	margin:1em 0 0;
	padding-left:1.2em;
}
ol li{
	line-height:1.8em;
}
ol li+li{
	margin-top:0.25em;
}

@media (max-width:1023px){
	
	.wrapper{
		font-size: clamp(12px, 4vw, 20px);
	}

	.main{
		width:auto;
		padding:10% 1em;
	}

	.logo{
		width:50%;
	}

	h2{
		margin-top:1.5em;
		font-size:1.5em;
	}

	.main > p{
		margin-top: 2.5em;
	}

	h3{
		font-size:1.5em;
	}

	.step{
		padding-left:3em;
	}

	.rule{
		--padding-side:1.5em;
		padding-left:var(--padding-side);
		padding-right:var(--padding-side);
	}
	.ruleCT{
		width:auto;
	}
	
}
