@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;600&family=M+PLUS+Rounded+1c:wght@300;400&display=swap');

.themeEventContainer{
	--theme-color:#d96840;
	--bg-color:#f6f6f6;
	font-family: 'Noto Sans TC', sans-serif;
	font-weight:400;
	font-size:clamp(10px, 1.16vw, 14px);
	color:#000;
	background: var(--bg-color);
	margin-top:5%;
}

/**************************** 共用 start *********************************/
.themeEventContainer hgroup{
	overflow: hidden;
}
.themeEventContainer h3{
	font-family: 'M PLUS Rounded 1c';
	font-size: 3em;
	font-weight: 400;
}
.themeEventContainer h3 strong,
.themeEventContainer h3 em{
	display: block;
}
.themeEventContainer h3 strong{
	font-weight: inherit;
}
.themeEventContainer h3 em{
	font-style: normal;
	font-weight: 300;
	font-size: 0.5em;
}
/**************************** 共用 end *********************************/

/**************************** kv50 start *********************************/
.kv50{
	padding:8% 0;
	display: flex;
	justify-content: center;
	align-items: center;
	gap:5%;
	border-bottom: 1.2em solid var(--theme-color);
	overflow: hidden;
}

.kv50 hgroup h2{
	font-size: 0;
	aspect-ratio:4.23;
	background: url(../images/logo_magis.svg) no-repeat center/100%;
}
.kv50 hgroup em{
	white-space: nowrap;
	display: block;
	margin-top:8%;
	font-family:'M PLUS Rounded 1c';
	font-weight:400;
	font-style: normal;
	font-size: 2em;
}

.kv50 .logo50{
	font-size: 0;
	width: 40%;
	aspect-ratio:1.6185;
	background: url(../images/logo50.svg) no-repeat center/100%;
}
/**************************** kv50 end *********************************/

/**************************** about start *********************************/
.about{
	margin-top:8%;
	padding:0 8%;
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
	align-items: center;
}

.about img{
	width:46%;
	display: block;
}

.about .txt{
	width:46%;
}
.about .txt p{
	margin:2em 0 0;
	line-height: 1.8em;
	text-align: justify;
}
/**************************** about end *********************************/

/**************************** chronology start *********************************/
.chronology{
	margin-top:8%;
	padding:0 8%;
}

.cs::-webkit-scrollbar{
	width:10px;
	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;
}

.tlWrapper{
	margin-top:5%;
}

.tlWrapper ul{
	position: relative;
	aspect-ratio:4;
	background: url(../images/timeline.svg) no-repeat center/100%;
}
.tlWrapper li{
	position: absolute;
	left:0;
	bottom:0;
	cursor:pointer;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100%;
	animation:tlHint 1s ease-in infinite alternate;
}
@keyframes tlHint{
	from{
		transform: scale(0.95);
	}
}
.tlWrapper li:hover{
	animation:none;
	transform:scale(1.05);
}
.tlWrapper li:nth-child(1),
.tlWrapper li:nth-child(3),
.tlWrapper li:nth-child(5),
.tlWrapper li:nth-child(7),
.tlWrapper li:nth-child(8),
.tlWrapper li:nth-child(10),
.tlWrapper li:nth-child(13){
	margin-bottom: 1.5%;
}
.tlWrapper li:nth-child(2),
.tlWrapper li:nth-child(4),
.tlWrapper li:nth-child(6),
.tlWrapper li:nth-child(9),
.tlWrapper li:nth-child(11),
.tlWrapper li:nth-child(12),
.tlWrapper li:nth-child(14){
	margin-bottom: 18%;
}

.tlWrapper li:nth-child(1){margin-left: 0%;width: 8%;aspect-ratio:0.97;background-image: url(../images/tlObj1.svg);}
.tlWrapper li:nth-child(2){margin-left: 9%;width: 8%;aspect-ratio:1.13;background-image: url(../images/tlObj2.svg);}
.tlWrapper li:nth-child(3){margin-left: 22%;width: 4%;aspect-ratio:0.49;background-image: url(../images/tlObj3.svg);}
.tlWrapper li:nth-child(4){margin-left: 27%;width: 6%;aspect-ratio:0.77;background-image: url(../images/tlObj4.svg);}
.tlWrapper li:nth-child(5){margin-left: 33.5%;width: 4.7%;aspect-ratio:0.57;background-image: url(../images/tlObj5.svg);}
.tlWrapper li:nth-child(6){margin-left: 38.5%;width: 5%;aspect-ratio:0.62;background-image: url(../images/tlObj6.svg);}
.tlWrapper li:nth-child(7){margin-left: 42.5%;width: 5%;aspect-ratio:0.9;background-image: url(../images/tlObj7.svg);}
.tlWrapper li:nth-child(8){margin-left: 48%;width: 6%;aspect-ratio:1.19;background-image: url(../images/tlObj8.svg);}
.tlWrapper li:nth-child(9){margin-left: 50.5%;width: 8%;aspect-ratio:1.46;background-image: url(../images/tlObj9.svg);}
.tlWrapper li:nth-child(10){margin-left: 59%;width: 7%;aspect-ratio:0.88;background-image: url(../images/tlObj10.svg);}
.tlWrapper li:nth-child(11){margin-left: 63%;width: 5%;aspect-ratio:0.72;background-image: url(../images/tlObj11.svg);}
.tlWrapper li:nth-child(12){margin-left: 68.5%;width: 6.5%;aspect-ratio:1.18;background-image: url(../images/tlObj12.svg);}
.tlWrapper li:nth-child(13){margin-left: 78%;width: 6%;aspect-ratio:0.71;background-image: url(../images/tlObj13.svg);}
.tlWrapper li:nth-child(14){margin-left: 90%;width: 7%;aspect-ratio:1.12;background-image: url(../images/tlObj14.svg);}

.tlWrapper li em{
	position: absolute;
	left:50%;
	top:100%;
	transform: translateX(-50%);
	white-space: nowrap;
	font-style: normal;
	font-weight: bold;
	font-size: clamp(9px, 0.6vw, 12px);
	margin-top:0.5em;
	color:var(--theme-color);
}

/************* overlay start ****************/
.overlay.theme{
	background: rgba(255, 255, 255, 0.9);
}
.overlay.theme .overlayCT{
	border-radius:0;
	padding:0;
	width:auto;
	height:auto;
	filter:drop-shadow(0 0 0.5em rgba(0, 0, 0, 0.2));
}
.overlay.theme .side{
	--color:#FFF;
	position: absolute;
	top:0;
	width:1.5em;
	height:100%;
}
.overlay.theme .side.L{
	right:100%;
}
.overlay.theme .side.R{
	left:100%;
}
.overlay.theme .side:before,
.overlay.theme .side:after{
	content:"";
	display: block;
}
.overlay.theme .side.L:before,
.overlay.theme .side.R:after{
	border:0.75em solid transparent;
}
.overlay.theme .side.L:before{
	border-right-color:var(--color);
	border-bottom-color:var(--color);
}
.overlay.theme .side.R:after{
	border-top-color:var(--color);
	border-left-color:var(--color);
}
.overlay.theme .side.L:after,
.overlay.theme .side.R:before{
	height:calc(100% - 1.5em);
	background:var(--color);
}
.overlay.theme .ctWrapper{
	padding:1em 1em 1.8em 0;
}
.overlay.theme .ct{
	width:480px;
	display: flex;
}
.overlay.theme .ct img{
	width:42%;
	display: block;
	align-self: flex-start;
	cursor: pointer;
	transition: transform 0.5s;
}
.overlay.theme .ct img:hover{
	transform:scale(1.05);
}
.overlay.theme .ct .txt{
	margin:1em 0 0 1em;
	display: flex;
	flex-direction: column;
	font-family:'Noto Sans TC', 微軟正黑體, sans-serif;
}
.overlay.theme .ct .txt h5{
	font-size:1.2em;
}
.overlay.theme .ct .txt p{
	margin:1em 0 0;
	line-height: 1.8em;
	text-align: justify;
}
.overlay.theme .ct .txt a{
	margin-top:auto;
	align-self: flex-end;
	font-weight: bold;
}
.overlay.theme .ct .txt a:hover{
	color: currentColor;
	text-decoration: underline;
}
.overlay.theme .closeBtn{
	right:-0.8em;
	bottom:auto;
	top:0.8em;
}
/************* overlay end ****************/
/**************************** chronology end *********************************/

/**************************** product start *********************************/
.product{
	margin-top: 8%;
	padding:0 8%;
	background: url(../images/deco.svg) no-repeat left center/auto 60%;
}

.product .tabCTWrapper{
	margin-top:5%;
}

.product .tabCT{
	justify-content: space-between;
	align-items: flex-start;
	display:none;
}
.product .tabCT.active{
	display:flex;
}

/******************* 圖 start ********************/
.product .img{
	width:41.07%;
	order:1;
	margin:0;
}
.product .img img{
	position: relative;
	display: block;
	width:100%;
}
/******************* 圖 end ********************/

/******************* 文 start ********************/
.product .txt{
	position: relative;
	width:54.46%;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.product .group{
	width:52%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.product .tabCT.active .group{
	animation-name:groupIn;
	animation-duration:0.6s;
	animation-timing-function: ease-out;
	animation-fill-mode: both;
}
.product .tabCT.active img+.group{
	animation-delay:0.15s;
}
@keyframes groupIn{
	from{
		opacity: 0;
		transform: translateX(20%);
	}
}
.product .group:nth-child(1){
	margin:1.5% 10% 0 0;
}
.product img+.group{
	margin-top:1.5em;
}

.product .group h4{
	border-bottom:0.15em solid;
	padding-bottom:0.25em; 
	font-size: 1.28em;
}
.product .group h4 span{
	font-size: 0.6em;
}

.product .group p{
	font-size: 0.9em;
	text-align: justify;
	margin:0.5em 0 0;
	line-height: 1.8em;
}
.product .group a{
	align-self: flex-end;
	width:8.2em;
	font-size: 0.85em;
	padding:1em 0;
	line-height: 1em;
	text-align: center;
	font-weight: bold;
	border-radius:50%;
	margin-top:0.4em;
	color:currentColor;
	background: #f6b37f;
}
.product .group a:hover{
	color:#FFF;
	background: var(--theme-color);
}

.product .txt img{
	position: absolute;
	left:0;
	bottom:0;
	margin-bottom: 9%;
	width:40%;
	display: block;
}
.product .tabCT.active .txt img{
	animation:imgIn 0.8s ease-out;
}
@keyframes imgIn{
	from{
		opacity:0;
		margin-left:-8%;
	}
}
/******************* 文 end ********************/

/******************* tab start ********************/
.tab{
	width:80%;
	margin:5% auto 0;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
.tab li{
	position:relative;
	width:9.5%;
	cursor:pointer;
	transition:all 0.2s;
}
.tab li img{
	display: block;
	width:100%;
	filter: grayscale(1);
	transition: filter 0.2s;
}
.tab li:hover img,
.tab li.active img{
	filter:none;
}
.tab li em{
	position:absolute;
	display:block;
	visibility:hidden;
	text-align:center;
	white-space:nowrap;
	left:50%;
	bottom:110%;
	transform:translateX(-50%);
	opacity:0;
	pointer-events:none;
	transition:all 0.2s;
}
.tab li em i{
	display:block;
	background:#000;
	color:#FFF;
	font-size:12px;
	font-style:normal;
	line-height:1em;
	padding:6px 10px;
	margin-bottom:5px;
	border-radius:3px;
}
.tab li em:after{
	position:absolute;
	content:"";
	display:block;
	left:50%;
	bottom:0;
	transform:translateX(-50%);
	border:5px solid transparent;
	border-top-color:#000;
	border-bottom:none;
}
.tab li:hover em{
	visibility:visible;
	opacity:1;
	bottom:100%;
}
/******************* tab end ********************/
/**************************** product end *********************************/

/*********************************** video start ***********************************************/
.videoBlock{
	position:relative;
	margin-top:8%;
}

.videoBlock img{
	display:block;
	width:100%;
}

.videoBlock .vBtn{
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	cursor:pointer;
	display:flex;
	justify-content:center;
	align-items:center;
}
.videoBlock .vBtn span{
	display:block;
	width:8.5%;
	min-width:50px;
	max-width:68px;
	animation:flashVBtn 0.8s ease-in infinite alternate;
}
@keyframes flashVBtn{
	from{
		transform:scale(0.9);
		opacity:0.6;
	}
}
.videoBlock .vBtn span:before{
	content:"";
	display:block;
	padding-top:100%;
	background:url(https://www.nordic.com.tw/images/vBtn.png) no-repeat center;
	background-size:contain;
}
.videoBlock .vBtn:hover span{
	animation:none;
}

/** videoOverlay start **/
.videoOverlay{
	position:fixed;
	left:0;
	top:0;
	width:100%;
	height:100vh;
	z-index:2;
	background:rgba(255, 255, 255, 0.9);
	justify-content:center;
	align-items:center;
	display:flex;
	opacity:0;
	transition:opacity 0.3s;
	pointer-events:none;
}
.videoOverlay.show{
	opacity:1;
	pointer-events:auto;
}
.videoOverlay .videoOverlayCT{
	position:relative;
	width:95%;
	max-width:960px;
	background:#000;
	transform:scale(0.5);
	transition:transform 0.3s;
}
.videoOverlay.show .videoOverlayCT{
	transform:none;
}
.videoOverlay .videoOverlayCT:before{
	content:"";
	display:block;
	padding-top:56.25%;
}
.videoOverlay iframe{
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	border:none;
	display:block;
}

.videoOverlay .closeBtn{
	position:absolute;
	right:0;
	bottom:calc(100% + 10px);
	width:30px;
	height:30px;
	cursor:pointer;
}
.videoOverlay .closeBtn:before,
.videoOverlay .closeBtn:after{
	position:absolute;
	content:"";
	right:0;
	top:50%;
	width:90%;
	height:2px;
	background:#999;
	border-radius:1px;
}
.videoOverlay .closeBtn:before{
	transform:translateY(-50%) rotate(-45deg);
}
.videoOverlay .closeBtn:after{
	transform:translateY(-50%) rotate(-135deg);
}
.videoOverlay .closeBtn:hover:before,
.videoOverlay .closeBtn:hover:after{
	background:#666;
}
/** videoOverlay end **/
/*********************************** video end ***********************************************/


@media screen and (max-width:1023px){
	
	.mainContainer > section.themeEventContainer{
		margin-top:10%;
		font-size: clamp(8px, 3.68vw, 42px);
	}
	
	/**************************** 共用 start *********************************/
	.themeEventContainer h3{
		font-size: 2em;
		line-height: 1.2em;
	}
	.themeEventContainer h3 em{
		font-size: 0.6em;
		margin-top: 0.2em;
	}
	/**************************** 共用 end *********************************/
	
	/**************************** kv50 start *********************************/
	.kv50{
		padding:20% 0;
		border-bottom-width: 0.5em;
		flex-direction: column;
	}

	.kv50 hgroup em{
		font-size: 1.2em;
	}

	.kv50 .logo50{
		margin-top:8%;
		width: 75%;
	}
	/**************************** kv50 end *********************************/

	/**************************** about start *********************************/
	.about{
		margin-top:10%;
		padding:0 5%;
		display: block;
	}

	.about img{
		width:100%;
	}

	.about .txt{
		margin-top:5%;
		width:auto;
	}
	.about .txt p{
		margin-top:1em;
	}
	/**************************** about end *********************************/
	
	/**************************** chronology start *********************************/
	.chronology{
		margin-top: 10%;
		padding:0 5%;
	}

	.tlWrapper{
		overflow: auto;
		margin-top:5%;
		padding:2.5%;
	}
	.tlWrapper ul{
		width:auto;
		height:200px;
	}

	.tlWrapper li em{
		font-size: 9px;
	}

	/************* overlay start ****************/
	.overlay.theme .side{
		width:1em;
	}
	.overlay.theme .side.L:before,
	.overlay.theme .side.R:after{
		border-width:0.5em;
	}
	.overlay.theme .side.L:after,
	.overlay.theme .side.R:before{
		height:calc(100% - 1em);
	}
	.overlay.theme .ctWrapper{
		padding-left:1em;
	}
	.overlay.theme .ct{
		width:250px;
		flex-direction: column;
		align-items: center;
	}
	.overlay.theme .ct img{
		width:80%;
		align-self:auto;
	}
	.overlay.theme .ct .txt{
		margin-left:0;
		width:100%;
	}
	.overlay.theme .closeBtn{
		right:-0.3em;
	}
	/************* overlay end ****************/
	
	/**************** 滑動提示 start *************/
	._dragHint{
		width:20px;
		aspect-ratio:1;
		margin:0.5em auto 0;
		display: block;
		background: url(../images/icon_drag_hint.svg) no-repeat center/contain;
		animation:_dragHint 2s ease-in-out infinite;
	}
	@keyframes _dragHint{
		0%{
			opacity:0;
		}
		30%{
			opacity:1;
		}
		100%{
			opacity:0;
			transform: translateX(-180%);
		}
	}
	/**************** 滑動提示 end *************/
	/**************************** chronology end *********************************/
	
	/**************************** product start *********************************/
	.product{
		padding:5% 5% 0;
		background-image: none;
	}
	
	.product .tabCT.active{
		display:block;
	}

	/******************* 圖 start ********************/
	.product .img{
		width:auto;
	}
	/******************* 圖 end ********************/

	/******************* 文 start ********************/
	.product .txt{
		align-items: center;
		width:auto;
		margin-top:5%;
	}
	
	.product .group{
		width: auto;
	}
	.product .group:nth-child(1){
		margin:5% 0 0;
		order:2;
	}
	.product img+.group{
		margin-top:0;
		order:0;
	}
	
	.product .txt img{
		position: static;
		width:70%;
		margin-top:5%;
		margin-bottom:0;
		order:1;
	}
	/******************* 文 end ********************/

	/******************* tab start ********************/
	.tab{
		position: sticky;
		width:auto;
		bottom:0;
		padding:1em 0 5em;
		margin:2em 0 0;
		background: var(--bg-color);
		flex-wrap: wrap;
		justify-content: flex-start;
	}
	.tab li{
		width:17%;
		margin-left:3.75%;
	}
	.tab li:nth-child(5n+1){
		margin-left:0;
	}
	.tab li:nth-child(n+6){
		margin-top:3.5%;
	}
	.tab li em{
		display: none;
	}
	/******************* tab end ********************/
	/**************************** product end *********************************/
	
	/*********************************** video start ***********************************************/
	.videoBlock{
		margin-top:0;
	}
	/*********************************** video end ***********************************************/
	
}
