
/*========================================================*/
/*-------首頁內容--------*/
/*========================================================*/


.index_title_area{
    width: 100%;
    box-sizing: border-box;
    padding: clamp(0.938rem, -0.063rem + 1.61vw, 1.875rem) 0;
    background-color: var(--primary_color);
}

.index_title_area .wrap{
    display: flex;
    align-items: center;
    justify-content: center;
}

.index_title_text{
    font-size: clamp(1.875rem, -0.125rem + 3.23vw, 3.75rem);
    font-weight: 600;
    letter-spacing: .625rem;
    line-height: 2;
    color: #fff;
}






/*/////////////////////////////////////////////////////////*/
/*-------共用區塊--------*/
/*/////////////////////////////////////////////////////////*/


/*首頁內容區塊*/	
/* .mainContent{
	padding: 50px 0px;
} */



	/*----- 首頁標題1 -----*/
	.index_title {
		font-size: 30px;
		font-weight: bold;
		color: #777;
		line-height: 1.3;
		text-align: center;
		margin-bottom: 20px;
	}	
		.index_title h2{	
			font-size: inherit;
			line-height: initial;
			padding: 0;
			margin: 0;
			display: inline-block;
			font-weight: inherit;
		}	
	





	
@media (max-width: 990px){
	
	.mainContent{	
		padding: 25px 0 0 0;	
	}	



		/*----- 首頁標題1 -----*/
		.index_title{
			font-size: 25px;
			line-height: 1.2;
		}
		

}


/*/////////////////////////////////////////////////////////*/
/*-------首頁 關於我們 區塊--------*/
/*/////////////////////////////////////////////////////////*/

.index_aboutBg {
	padding: clamp(2.5rem, 1.167rem + 2.15vw, 3.75rem) 0;
	background-color: #fff;
}

.index_aboutBg .container,
.index_aboutBg .container2 {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}

.index_aboutBg .container_title {
	margin-bottom: clamp(1.25rem, 0.583rem + 1.08vw, 1.875rem);
	text-align: center;
}

.index_aboutBg .container_title h2 {
	margin: 0;
	color: var(--primary_color);
	font-size: clamp(1.75rem, 1.217rem + 0.86vw, 2.25rem);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
}

.index_aboutBg .text_block {
	display: flex;
	align-items: center;
	gap: clamp(1.5rem, -0.1rem + 2.58vw, 3rem);
}

.index_aboutBg .text_content {
	flex: 1 1 56%;
	color: #333;
	font-size: clamp(1rem, 0.867rem + 0.22vw, 1.125rem);
	font-weight: 400;
	line-height: 2;
	letter-spacing: 0;
}

.text_content .text_area{
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;

    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5 ; /* 限制行數 */
    box-sizing:border-box;


}

.index_aboutBg .img_area {
	flex: 0 1 44%;
    position: relative;
    display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
    overflow: hidden;
    border-radius: clamp(0.625rem, -0.042rem + 1.08vw, 1.25rem);
}

.index_aboutBg .img_area img {
    width:100%;
    height:auto;
    transition: all 0.3s ease-out;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    float: none;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: all 0.3s ease-out;

}

.index_aboutBg .text_button {
	margin-top: clamp(1.25rem, 0.717rem + 0.86vw, 1.75rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

.index_aboutBg .text_button a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 130px;
	min-height: 44px;
	padding: 0.75rem 1.5rem;
	border: 1px solid var(--primary_color);
    border-radius: clamp(0.156rem, -0.01rem + 0.27vw, 0.313rem);
	color: var(--primary_color);
	font-size: clamp(0.875rem, 0.808rem + 0.11vw, 0.938rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.index_aboutBg .text_button a:hover,
.index_aboutBg .text_button a:focus-visible {
	background-color: var(--primary_color);
	color: #fff;
}

@media (max-width: 990px) {
	.index_aboutBg {
		padding: clamp(2rem, 1.286rem + 3.57vw, 3rem) 0;
	}

	.index_aboutBg .container,
	.index_aboutBg .container2 {
		width: min(100% - 30px, 720px);
	}

	.index_aboutBg .text_block {
		flex-direction: column;
		align-items: stretch;
	}

	.index_aboutBg .text_content,
	.index_aboutBg .img_area {
		flex-basis: auto;
		width: 100%;
	}

	.index_aboutBg .img_area {
		order: -1;
	}
}



/*/////////////////////////////////////////////////////////*/
/*-------首頁 最新消息 區塊--------*/
/*/////////////////////////////////////////////////////////*/
.index_newsBg{
    padding-bottom: clamp(2.5rem, 1.167rem + 2.15vw, 3.75rem);
}

.index_newsBg .container_title {
    margin-bottom: clamp(1.25rem, 0.583rem + 1.08vw, 1.875rem);
    text-align: center;
}

.index_newsBg .container_title h2 {
	margin: 0;
	color: var(--primary_color);
	font-size: clamp(1.75rem, 1.217rem + 0.86vw, 2.25rem);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
}

.news_list_area {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    /* flex-direction: column; */
    /* row-gap: clamp(0.625rem, -0.042rem + 1.08vw, 1.25rem); */
    gap: clamp(0.625rem, -0.042rem + 1.08vw, 1.25rem);
}

/* 最新消息列表 ---------- */
.news_list_item{
    width: calc(50% - clamp(0.625rem, -0.042rem + 1.08vw, 1.25rem));
    box-sizing: border-box;
    padding: 0.625rem;
    border: 2px solid var(--grey_color);
    border-radius: clamp(0.313rem, -0.021rem + 0.54vw, 0.625rem);
    box-shadow: rgba(0, 0, 0, 0.1) 0px -2px 6px -1px, rgba(0, 0, 0, 0.1) 0px 20px 25px -5px;
}

.news_list_item .news_box{
	display: flex;
	align-items: center;
	gap: clamp(0.625rem, -0.042rem + 1.08vw, 1.25rem);
}
.news_list_item .news_box,
.news_list_item .news_box:hover{
	text-decoration: none;
}

/* 列表圖片 ---------- */
.news_img{
    width: 100%;
    max-width: 9.375rem;
    aspect-ratio: 48 / 36;
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: clamp(0.313rem, -0.021rem + 0.54vw, 0.625rem);
    padding-top: unset;
}
.news_img img{
	width:100%;
	height:auto;
	transition: all 0.3s ease-out;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	float: none;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	transition: all 0.3s ease-out;
}

/* 最新消息列表 ---------- */
.news_info{
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* 日期 ---------- */
.news_date{
	font-size: 1rem;
	font-weight: 600;
	color: var(--primary_color);
}

/* 列表資訊 ---------- */
.news_info .news_title {
	padding: 0;
	margin: 0;
	line-height: normal;

	font-size: clamp(1.125rem, 0.992rem + 0.22vw, 1.25rem);
	line-height: 1.5;
	color: #333;

	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
.index_newsBg .text_button{
	text-align: center;
	padding-top: clamp(1.25rem, -0.083rem + 2.15vw, 2.5rem);
}
.index_newsBg .text_button a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 130px;
	min-height: 44px;
	padding: 0.75rem 1.5rem;
	border: 1px solid var(--primary_color);
    border-radius: clamp(0.156rem, -0.01rem + 0.27vw, 0.313rem);
	color: var(--primary_color);
	font-size: clamp(0.875rem, 0.808rem + 0.11vw, 0.938rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.index_newsBg .text_button a:hover,
.index_newsBg .text_button a:focus-visible {
	background-color: var(--primary_color);
	color: #fff;
}

@media (max-width: 990px) {
    .news_list_item{
        width: 100%;
    }
}