.themeExtra{
	--color1:#F8F5BA;
	--color1_2:rgba(248, 245, 186, 0.5);
	--color1_3:rgba(248, 245, 186, 0.2);
	
	--color2:#E1F1BD;
	--color2_2:rgba(225, 241, 189, 0.5);
	--color2_3:rgba(225, 241, 189, 0.2);
	
	--color3:#F5E8DB;
	--color3_2:rgba(245, 232, 219, 0.5);
	--color3_3:rgba(245, 232, 219, 0.2);
}

/********************************* groupNav start ******************************************/
.groupNav{
	display:flex;
	justify-content:space-between;
}
.groupNav li{
	width:32%;
}
.groupNav li a{
	position: relative;
	display: block;
}
.groupNav li a:before,
.groupNav li a:after{
	content:"";
	display: block;
	aspect-ratio:1;
	background-size: cover;
}
.groupNav li:nth-child(1) a:before{background-image:url(../images/groupNavP1.jpg);}
.groupNav li:nth-child(2) a:before{background-image:url(../images/groupNavP2.jpg);}
.groupNav li:nth-child(3) a:before{background-image:url(../images/groupNavP3.jpg);}
.groupNav li a span{
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	color:#333;
	font-size: 1.6em;
	font-weight: bold;
	padding:0.5em;
}
.groupNav li:nth-child(1) a span{background: var(--color1);}
.groupNav li:nth-child(2) a span{background: var(--color2);}
.groupNav li:nth-child(3) a span{background: var(--color3);}
.groupNav li a:after{
	position: absolute;
	left:0;
	top:0;
	width:100%;
	opacity:0;
	transition: opacity 0.2s;
}
.groupNav li:nth-child(1) a:after{ background: var(--color1_2);}
.groupNav li:nth-child(2) a:after{ background: var(--color2_2);}
.groupNav li:nth-child(3) a:after{ background: var(--color3_2);}
.groupNav li a:hover:after{
	opacity:1;
}
/********************************* groupNav end ******************************************/

/********************************* groupCT start ******************************************/
.groupCT{
	margin-top:5%;
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
}
.groupCT > *{
	margin-top:1%;
}

/*************** 區塊大標 start *********************/
.groupCT header{
	padding:1.5em 4em;
	width: 100%;
	color:#333;
}
#g1 header{ background: var(--color1);}
#g2 header{ background: var(--color2);}
#g3 header{ background: var(--color3);}
.groupCT header h3{
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-size: 1.6em;
	--gap:0.6em;
}
.groupCT header h3:before,
.groupCT header h3:after{
	xcontent:"—";
}
.groupCT header h3:before{
	margin-right:var(--gap);
}
.groupCT header h3:after{
	margin-left:var(--gap);
}
.groupCT header p{
	font-size: 1.2em;
	line-height: 1.8em;
	margin:0.5em 0 0;
}
/*************** 區塊大標 end *********************/

/*************** 項目 start *********************/
.groupCT a,
.groupCT a:hover{
	color:#333;
}
.groupCT a{
	width:24.16%;
	display:flex;
	flex-direction:column;
}
.groupCT a .img{
	border:1px solid #AAA;
	border-bottom:none;
	overflow:hidden;
}
.groupCT a .img img{
	display:block;
	width:100%;
	border:none;
	transform:scale(0.9);
	transition:transform 0.5s;
}
.groupCT a:hover .img img{
	transform:none;
}
.groupCT a .txt{
	display:flex;
	flex-direction:column;
	justify-content:center;
	align-items:center;
	text-align:center;
	font-size:1.07em;
	padding:1.5em 1em;
	flex-grow:1;
}
#g1 a .txt{ background:var(--color1_2);}
#g2 a .txt{ background:var(--color2_2);}
#g3 a .txt{ background:var(--color3_2);}
.groupCT a .txt em{
	font-style:normal;
}
.groupCT a .txt i{
	font-style:normal;
	margin-top:0.5em;
}
.groupCT a .txt i u{
	color:#600;
	text-decoration:none;
}
.groupCT a .txt i del{
	color:#999;
	font-size:0.8em;
	margin-left:0.9em;
}

/****** 顏色色塊 start *******/
.color{
	margin-top:1em;
}
.color ul li{
	border-color:transparent;
}
.color ul li:hover,
.color ul li.now{
	background: #FFF;
}
/****** 顏色色塊 end *******/

.groupCT a .txt span {
	background: #888;
	color: #FFF;
	font-size: 0.8em;
	padding: 0.5em 1.5em;
	line-height: 1em;
	margin-top: 1em;
	transition: background 0.2s;
}
.groupCT a:hover .txt span {
	color: #333;
}
#g1 a:hover .txt span{ background: var(--color1);}
#g2 a:hover .txt span{ background: var(--color2);}
#g3 a:hover .txt span{ background: var(--color3);}
/*************** 項目 end *********************/
/********************************* groupCT end ******************************************/

/********************************* btmNav start ******************************************/
.btmNav{
	margin-top:5%;
}
.btmNav ul{
	display:flex;
	background:#EEE;
}
.btmNav ul.fixed{
	position:fixed;
	bottom:0;
	width:100%;
	max-width:1200px;
	z-index:1;
}
.btmNav ul li{
	width:33.33%;
}
.btmNav ul li a{
	display:flex;
	justify-content:center;
	align-items:center;
	text-align: center;
	font-size:1.4em;
	padding:0.6em 1em 0.3em;
	border-bottom:0.35em solid;
	transition:all 0.2s;
}
.btmNav ul li a:hover{
	color:#333;
}
.btmNav ul li:nth-child(1) a{ border-color:var(--color1);}
.btmNav ul li:nth-child(2) a{ border-color:var(--color2);}
.btmNav ul li:nth-child(3) a{ border-color:var(--color3);}
.btmNav ul li.active a{
	color:#333;
}
.btmNav ul li.active:nth-child(1) a{
	border-color:var(--color1);
	background:var(--color1);
}
.btmNav ul li.active:nth-child(2) a{
	border-color:var(--color2);
	background:var(--color2);
}
.btmNav ul li.active:nth-child(3) a{
	border-color:var(--color3);
	background:var(--color3);
}

.toTop.hide{
	display:none;
}
/********************************* btmNav end ******************************************/


@media screen and (min-width:1025px){
	
	/********************************* btmNav start ******************************************/
	.btmNav ul li:nth-child(1) a:hover{
		border-color:var(--color1);
		background:var(--color1);
	}
	.btmNav ul li:nth-child(2) a:hover{
		border-color:var(--color2);
		background:var(--color2);
	}
	.btmNav ul li:nth-child(3) a:hover{
		border-color:var(--color3);
		background:var(--color3);
	}
	/********************************* btmNav end ******************************************/
	
}


@media screen and (max-width:767px){
	
	/********************************* groupNav start ******************************************/
	.groupNav li a span{
		font-size: 0.85em;
		height:4em;
	}
	/********************************* groupNav end ******************************************/
	
	/********************************* groupCT start ******************************************/
	.groupCT{
		margin-top:10%;
	}
	.groupCT > *{
		margin-top:2.5%;
	}
	
	/*************** 區塊大標 start *********************/
	.groupCT header{
		padding:2em 1.5em;
	}
	.groupCT header p{
		font-size: 1.1em;
	}
	/*************** 區塊大標 end *********************/
	
	/*************** 項目 start *********************/
	.groupCT a{
		width:48.5%;
	}
	.groupCT a .txt{
		font-size:1em;
	}
	/*************** 項目 end *********************/
	/********************************* groupCT end ******************************************/
	
	/********************************* btmNav start ******************************************/
	.btmNav{
		margin-top:10%;
	}
	.btmNav ul li a{
		font-size:0.85em;
		padding-left:0.25em;
		padding-right:0.25em;
		height: 4.5em;
	}
	/********************************* btmNav end ******************************************/
	
}