@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@500;600;700;800&display=swap');

.mainContainer{
	max-width: none;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.midBlock{
	width:100%;
	max-width:1140px;
}

.themeMain{
	display: none;
}

.themeEventContainer{
	--color:#505050;
	--theme-color:#6d4736;
	color:var(--color);
	font-family: 'Noto Serif TC';
	font-size: clamp(10px, 1.16vw, 14px);
	width:100%;
	max-width:1920px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.themeEventContainer + section{
	max-width:1200px;
}
.themeEventContainer + section > h2{
	display: none;
}

/*********************************** aboutBlock start ***********************************************/
.aboutBlock{
	display: flex;
	flex-direction: column;
	align-items: center;
	width:100%;
	max-width:1200px;
}

.aboutBlock h2{
	width:20%;
	aspect-ratio:4.11;
	max-width:300px;
	font-size: 0;
	background: url(../images/logo.svg) no-repeat center/100%;
}

.aboutBlock p{
	line-height: 1.8em;
	margin:1.5em 0 0;
	text-align: center;
}
.aboutBlock h2+p{
	margin-top:2.5em;
}
/*********************************** aboutBlock end ***********************************************/

/*********************************** galleryBlock start ***********************************************/
.galleryBlock{
	position: relative;
	margin-top:5%;
	width:100%;
	aspect-ratio:4.5;
	overflow:hidden;
}

.galleryBlock:before{
	position: absolute;
	top:0;
	content:"";
	display: block;
	height:100%;
	background-repeat: repeat-x;
	background-position: left center;
	background-size: contain;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}
.gb1:before,
.gb2:before{
	aspect-ratio:8.98;
	animation-duration: 40s;
}
.gb1:before{
	left:0;
	background-image: url(../images/gallery1.jpg);
	animation-name: toLeft;
}
.gb2:before{
	right:0;
	background-image: url(../images/gallery2.jpg);
	animation-name: toRight;
}
.gb3:before{
	left:0;
	background-image: url(../images/gallery3.jpg);
	aspect-ratio:23.8;
	animation-name: toLeft;
	animation-duration: 120s;
}
@keyframes toLeft{
	to{
		transform:translateX(-50%);
	}
}
@keyframes toRight{
	to{
		transform:translateX(50%);
	}
}
/*********************************** galleryBlock end ***********************************************/

/*********************************** productIntro start ***********************************************/
.productIntro{
	margin-top:5%;
	width:95%;
	max-width:1200px;
	overflow:hidden;
}

.productIntro > li{
	display: flex;
}
.productIntro > li+li{
	margin-top:2.5%;
}

.productIntro .img{
	width:50%;
}
.productIntro > li:nth-child(even) .img{
	order:1;
}
.productIntro .slick{
	margin:0;
}
.productIntro .img li{
	position: relative;
}
.productIntro img{
	display: block;
	width:100%;
}
.productIntro .img li em{
	position: absolute;
	right:0;
	bottom:0;
	max-width:100%;
	padding:0.5em 1em;
	font-style: normal;
	font-size: 0.7em;
	line-height: 1em;
	text-align: right;
	color:#FFF;
	background: rgba(0, 0, 0, 0.3);
}

.productIntro .slickPN{
	opacity: 0;
	transition: opacity 0.2s;
}
.productIntro .slick:hover .slickPN{
	opacity: 1;
}

.productIntro li .txt{
	display: flex;
	flex-direction: column;
	justify-content: center;
	width:50%;
	padding:0 5.5%;
}
.productIntro li .txt h3{
	text-align: center;
	font-size: 1.2em;
	font-weight: 700;
	color:var(--theme-color);
}
.productIntro li .txt p{
	margin: 1.2em 0 0;
	line-height: 1.8em;
}
/*********************************** productIntro end ***********************************************/

/*********************************** featureBlock start *****************************************/
.featureBlock{
	margin-top:5%;
	width:95%;
	max-width:1200px;
	padding:3% 4%;
	background: #e7dfdc;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
}

.featureBlock li{
	width:31%;
}
.featureBlock li:nth-child(1){
	margin-left:17.25%;
}
.featureBlock li:nth-child(2){
	margin-right:17.25%;
}
.featureBlock li:nth-child(n+3){
	margin-top:5%;
}

.featureBlock li img{
	display: block;
	width:100%;
}

.featureBlock li .txt{
	display: block;
	width:100%;
	margin-top:1em;
}
.featureBlock li .txt h3{
	font-size: 1.2em;
	font-weight: 700;
	color:var(--theme-color);
}
.featureBlock li .txt p{
	margin: 0.5em 0 0;
	line-height: 1.8em;
}
/*********************************** featureBlock end *****************************************/

/*********************************** videoGroup start *****************************************/
.videoGroup{
	margin-top:5%;
	width:95%;
	max-width:1200px;
}

.videoGroup ul{
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
}

.videoGroup li{
	width:48.5%;
	text-align: center;
}
.videoGroup li:nth-child(n+3){
	margin-top:4%;
}

.videoGroup video{
	display: block;
	width:100%;
}

.videoGroup h3{
	font-size: 1.25em;
	margin-top:0.8em;
	color:var(--theme-color);
}
.videoGroup p{
	margin:0.5em 6em 0;
}
/*********************************** videoGroup end *****************************************/


@media screen and (max-width:1023px){
	
	.midBlock{
		width:calc(100% - 20px);
	}
	
	.themeEventContainer{
		font-size: 13px;
	}
	
	/*********************************** aboutBlock start ***********************************************/
	.aboutBlock h2{
		width:45%;
	}

	.aboutBlock p{
		margin-left:1em;
		margin-right:1em;
	}
	/*********************************** aboutBlock end ***********************************************/
	
	/*********************************** galleryBlock start ***********************************************/
	.galleryBlock{
		margin-top:10%;
		aspect-ratio:2;
	}
	/*********************************** galleryBlock end ***********************************************/
	
	/*********************************** productIntro start ***********************************************/
	.productIntro{
		width:100%;
		margin-top:10%;
	}

	.productIntro > li{
		display: block;
	}

	.productIntro .img{
		width:auto;
	}

	.productIntro li .txt{
		display: block;
		width:auto;
		padding:8% 5%;
	}
	/*********************************** productIntro end ***********************************************/
	
	/*********************************** featureBlock start *****************************************/
	.featureBlock{
		margin-top:10%;
		width:100%;
		padding:10% 5%;
		display: block;
	}

	.featureBlock li{
		width:auto;
	}
	.featureBlock li:nth-child(1){
		margin-left:0;
	}
	.featureBlock li:nth-child(2){
		margin-right:0;
	}
	.featureBlock li:nth-child(n+3),
	.featureBlock li+li{
		margin-top:10%;
	}
	/*********************************** featureBlock end *****************************************/
	
	/*********************************** videoGroup start *****************************************/
	.videoGroup{
		width:100%;
		margin-top:10%;
	}

	.videoGroup ul{
		display: block;
	}

	.videoGroup li{
		width:auto;
	}
	.videoGroup li:nth-child(n+3),
	.videoGroup li+li{
		margin-top:10%;
	}
	.videoGroup h3{
		font-size: 1.1em;
	}
	.videoGroup p{
		text-align: left;
		margin-left:1em;
		margin-right:1em;
	}
	/*********************************** videoGroup end *****************************************/
	
}
