@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;600;700;900&display=swap');

.midBlock,
.themeMain{
	display: none;
}

.themeEventContainer{
	color:#000;
	font-size: clamp(10px, 1.16vw, 14px);
	font-family: 'Noto Sans TC';
	font-weight: 400;
	padding:8.33% 12.5% 4%;
	overflow:hidden;
}
.mainContainer > section.themeEventContainer{
	margin-top:0;
}

.cs::-webkit-scrollbar{
	width:10px;
}
.cs.h::-webkit-scrollbar{
	height:10px;
}
.cs::-webkit-scrollbar-thumb{
	border:2px solid transparent;
	border-radius:10px;
	background-color:#666;
	background-clip: content-box;
}
.cs::-webkit-scrollbar-thumb:hover{
	background-color: #333;
}

/*********************************** theme start ***********************************************/
.theme{
	text-align: center;
}

.theme h2{
	font-family: 'Noto Sans TC';
	font-weight: 600;
	font-size: 1.64em;
}

.theme p{
	line-height: 1.8em;
}

.theme h2+p{
	margin:1em 0 0;
}

.theme .wrapper{
	margin:11.11% auto 0;
	width:77.77%;
}

.theme figure{
	position: relative;
}
.theme figure img{
	display: block;
	width:100%;
}
.theme figcaption{
	position: absolute;
	left:0;
	top:0;
	font-size: 0;
	width:117.14%;
	aspect-ratio:11.11;
	margin:-5.71% 0 0 -5.71%;
	background: url(../images/logo.svg) no-repeat center/100%;
	opacity: 0.5;
}

.theme .txt{
	border-top:0.15em solid;
	margin-top:5.71%;
	padding-top:0.71%;
}
.theme .txt p{
	border-top:0.07em solid;
	margin:0;
	padding-top:2.85%;
}
/*********************************** theme end ***********************************************/

/*********************************** product start ***********************************************/
.product{
	margin-top:11.11%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
}

.product .num{
	font-size: 0.95em;
	font-family: 'Noto Sans TC';
	font-weight:900;
	display: block;
}

.product h3{
	font-size: 1.28em;
	font-family: 'Noto Sans TC';
	font-weight:700;
}

.product p{
	line-height: 1.8em;
	margin:1.8em 0 0;
	text-align: justify;
}

/****************** g1 & g2 start ********************/
:is(.g1, .g2){
	width:100%;
	display: flex;
	justify-content: space-between;
}

:is(.g1, .g2) h3{
	display: inline-block;
	border-bottom:1px solid;
	padding-bottom: 0.1em;
}

/********* g1 start ********/
.g1{
	align-items: flex-start;
}

.g1 > img{
	width:38.22%;
}

.g1 .txt{
	position: relative;
	width:50%;
	margin-right:3%;
	padding-top:15.5%;
}

.g1 .txt h3{
	margin-top:18.5%;
}

.g1 .txt img{
	position: absolute;
	right:0;
	top:0;
}
.g1 .txt img.g1_2{
	width:20.73%;
	margin-right:37.5%;
}
.g1 .txt img.g1_3{
	width:34.56%;
}
/********* g1 end ********/

/********* g2 start ********/
.g2{
	margin-top:11.11%;
	align-items: center;
}

.g2 img{
	width:53%;
	order:1;
}

.g2 .txt{
	position: relative;
	width:38.22%;
	padding-left:8.22%;
}
.g2 .txt .num{
	position: absolute;
	left:0;
	top:0.2em;
}
/********* g2 end ********/
/****************** g1 & g2 end ********************/

/****************** year start ********************/
.year{
	width:100%;
	margin-top:11.11%;
	padding:1.66% 0.05%;
	overflow: auto;
}

.year ul{
	--dot-w:1.44%;
	position: relative;
	aspect-ratio:4.7368;
	background:linear-gradient(to bottom, currentColor, currentColor) no-repeat center/100% 1px;
}
.year ul:before,
.year ul:after{
	position: absolute;
	content:"";
	display: block;
	top:50%;
	translate:0 -50%;
}
.year ul:before{
	left:0;
	width:var(--dot-w);
	aspect-ratio:1;
	border:1px solid;
	background: #FFF;
	border-radius:50%;
}
.year ul:after{
	right:0;
	width:2.44%;
	height:1px;
	background: currentColor;
	transform-origin: right center;
	rotate:20deg;
}

.year li{
	position: absolute;
	top:50%;
	translate:0 -50%;
	width:var(--dot-w);
}
.year li:nth-child(1){ left:7%;}
.year li:nth-child(2){ left:14%;}
.year li:nth-child(3){ left: 27%;}
.year li:nth-child(4){ left: 40%;}
.year li:nth-child(5){ left: 50%;}
.year li:nth-child(6){ left: 63%;}
.year li:nth-child(7){ left: 72%;}
.year li:nth-child(8){ left: 84%;}
.year li:nth-child(9){ left: 91%;}

.year li a{
	position: relative;
	display: block;
	aspect-ratio:1;
	background: currentColor;
	border-radius:50%;
	transition: color 0.5s;
}
.year li a[href]:hover{
	color:#21386d;
}
.year li a:before{
	position: absolute;
	content:"";
	display: block;
	width:1px;
	height:310%;
	left:50%;
	background: currentColor;
}
.year li:nth-child(odd) a:before{ top:0;}
.year li:nth-child(even) a:before{ bottom:0;}

.year li .item{
	--space:280%;
	position: absolute;
	display: flex;
	align-items: center;
	left:-450%;
	width:100%;
	transition: scale 0.5s;
}
.year li:nth-child(odd) .item{ top:var(--space);}
.year li:nth-child(even) .item{	bottom:var(--space);}
.year li a[href]:hover .item{
	scale:1.2;
}
.year li .item img{
	display: block;
	width:390%;
}
.year li a[href] .item img{
	animation: hint 0.75s ease-in alternate infinite;
}
@keyframes hint{
	to{
		scale:1.2;
	}
}
.year li .item .txt{
	white-space: nowrap;
	font-size: 0.9em;
	font-family: 'Noto Sans TC';
	margin-left:0.5em;
}
.year li .item .txt *{
	display: block;
}
.year li .item .txt em{
	font-size: 0.95em;
	font-style: normal;
	font-weight: 400;
}
.year li .item .txt strong{
	font-weight: 900;
}
/****************** year end ********************/

/****************** g3 & g4 start ********************/
:is(.g3, .g4){
	width:45.5%;
	margin-top:11.11%;
}

:is(.g3, .g4) img{
	width:100%;
	display: block;
	margin-top:2.56%;
}

:is(.g3, .g4) .txt{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	margin-top:10.25%;
	padding-top:6.15%;
	border-top:0.15em solid;
}
:is(.g3, .g4) .txt h3{
	width:38.46%;
}
:is(.g3, .g4) .txt .wrapper{
	width:54%;
	height:16em;
	margin-top: 0.25em;
}
:is(.g3, .g4) .txt .wrapper p{
	margin:0;
}
:is(.g3, .g4) .txt .wrapper p+p{
	margin-top:1.8em;
}
:is(.g3, .g4) .txt > p{
	width:100%;
	margin-top:10.25%;
	padding-top:5.12%;
	border-top:0.07em solid;
	font-weight: 600;
	font-family: 'Noto Sans TC';
}
/****************** g3 & g4 end ********************/
/*********************************** product end ***********************************************/


@media screen and (max-width:1023px){
	
	.themeEventContainer{
		font-size: clamp(10px, 3.6vw, 28px);
		padding:10% 5% 5%;
	}

	/*********************************** theme start ***********************************************/
	.theme{
		width:90%;
		margin:0 auto;
	}
	
	.theme h2{
		font-size: 1.5em;
	}
	
	.theme p{
		text-align: justify;
		
	}

	.theme .wrapper{
		margin-top:15%;
		width:auto;
	}

	.theme .txt{
		margin-top:10%;
	}
	/*********************************** theme end ***********************************************/
	
	/*********************************** product start ***********************************************/
	.product{
		margin-top:10%;
		display: block;
	}

	/****************** g1 & g2 start ********************/
	:is(.g1, .g2){
		display: block;
	}

	/********* g1 start ********/
	.g1 > img{
		width:100%;
		display: block;
	}

	.g1 .txt{
		width:auto;
		margin:5% 0 0;
		padding-top:30%;
	}

	.g1 .txt h3{
		margin-top:5%;
	}
	/********* g1 end ********/

	/********* g2 start ********/
	.g2{
		margin-top:10%;
	}

	.g2 img{
		width:100%;
		display: block;
	}

	.g2 .txt{
		width:auto;
		padding-left:15%;
		margin-top:5%;
	}
	/********* g2 end ********/
	/****************** g1 & g2 end ********************/

	/****************** year start ********************/
	.year{
		margin-top:10%;
		padding:5% 0;
		aspect-ratio:1.5;
	}

	.year ul{
		height:100%;
	}
	/****************** year end ********************/
	
	/****************** g3 & g4 start ********************/
	:is(.g3, .g4){
		width:auto;
		margin-top:15%;
	}

	:is(.g3, .g4) .txt{
		display: block;
		margin-top:10%;
		padding-top:5%;
	}
	:is(.g3, .g4) .txt h3{
		width:auto;
	}
	:is(.g3, .g4) .txt h3 br{
		display: none;
	}
	:is(.g3, .g4) .txt .wrapper{
		width:auto;
		height:auto;
		margin-top:8%;
	}
	:is(.g3, .g4) .txt > p{
		margin-top:5%;
		padding-top:5%;
	}
	/****************** g3 & g4 end ********************/
	/*********************************** product end ***********************************************/
	
}
