
/*========================================================*/
/*-------首頁內容--------*/
/*========================================================*/









/*/////////////////////////////////////////////////////////*/
/*-------共用區塊--------*/
/*/////////////////////////////////////////////////////////*/


/*首頁內容區塊*/	
.mainContent{
	position: relative;
}
	
	
	
	
	
	 /*  最小值 30.94px、大小約 3.1250vw、最大值 60.00px */



	.index_itemBg {
	    padding: clamp(1.9336rem, 3.1250vw, 3.7500rem) 0; /* 最小值 30.94px、大小約 3.1250vw、最大值 60.00px */
	}



	/*----- 首頁標題1 -----*/
	.index_title {
        font-size: 3em;
        font-style: normal;
        font-weight: 500;
        line-height: 1.5;
        letter-spacing: 0;
        text-align: center;
        margin-bottom: 1.25rem; /*20*/
	}	
		.index_title h2{	
			font-size: inherit;
			line-height: initial;
			padding: 0;
			margin: 0;
			display: inline-block;
			font-weight: inherit;
		}	
	



	
@media (max-width: 1350px){

	/*----- 首頁標題1 -----*/
	.index_title {
        font-size: 1.875em; /*30*/
	}

}

	
@media (max-width: 990px){
	
	.mainContent{	
		/* padding: 25px 0 0 0;	 */
	}	
    
	/*----- 首頁標題1 -----*/
	.index_title {
        font-size: 1.5625em; /*25px*/
	}
		

}














/*========================================================*/
/*-------首頁內容_banner--------*/
/*========================================================*/


.banner_area{
    /* display: grid;
    grid-template-columns: 1fr 1.93fr; */
    overflow: hidden;
    padding: clamp(1.9336rem, 3.1250vw, 3.7500rem) 0; /* 最小值 30.94px、大小約 3.1250vw、最大值 60.00px */
}

    .banner_area .wrap{
        position: relative;
    }

    .banner_item{
        display: flex;        
        overflow: hidden;
    }



    /* .banner_left */
    .banner_item_left{
        display: flex;
        flex-direction: column;
    }

        /* .banner_left_in */
        .banner_item_left_in{
            /* height: 100%; */
            flex-grow: 1;
            display: flex;
            justify-content: space-between;
            flex-direction: column;
            /* background: #ddd; */
        }

        .banner_left_text{
            display: flex;
            flex-direction: column;
            gap: clamp(0.6250rem, 1.0417vw, 1.2500rem); /* 最小值 10px、大小約 1.0417vw、最大值 20px */
        }

            /* .banner_left_in strong */
            .banner_item_left_in strong{
                line-height: 1.5;
                color: var(--primary_color);
                padding: 0;
                margin: 0;
                font-size: clamp(1.2246em, 1.9792vw, 2.3750em); /* 19.59px、1.9792vw、38px */

                display: -webkit-box;
                -webkit-box-orient: vertical;	
                -webkit-line-clamp: 2;	
                overflow: hidden;
            }
            

            /*----- 網編區塊 -----*/
            .banner_item_left_in .text_area {
                font-size: clamp(1em, 1.0417vw, 1.25em); /* 16px、1.0417vw、20px */
                color: var(--dark_color);

                display: -webkit-box;
                -webkit-box-orient: vertical;	
                -webkit-line-clamp: 5;	
                overflow: hidden;
            }


            .banner_button{
                display: grid;
                grid-template-columns: clamp(0.9668rem, 1.5625vw, 1.8750rem) auto clamp(0.9668rem, 1.5625vw, 1.8750rem);
                align-items: center;
                max-width: 200px;
                position: absolute;
                bottom: 0px;
                left: 0;
            }

            .banner_button .swiper-button-prev ,
            .banner_button .swiper-button-next ,
            .banner_button .swiper-pagination{
                position:unset;
                top:unset;
                left:unset;
                right:unset;
                transform:unset;
            }
            
            .banner_button .swiper-button-prev{
                
            }
            .banner_button .swiper-button-next{                                
                order: 2;
            }

            .banner_button .swiper-button-prev ,
            .banner_button .swiper-button-next{                                
                width: clamp(0.9668rem, 1.5625vw, 1.8750rem); /* 最小值 15.47px、大小約 1.5625vw、最大值 30.00px */
            }
            .banner_button .swiper-pagination{
            }




    .banner_area .banner_right{
        /* aspect-ratio:  1.5 / 1; */
        /* width: 65%; */
    }

    .banner_area .swiper-slide{
        width: 100%;
    }
    .banner_area .banner a{
        display: block;
        width: 100%;
        text-decoration: none;
    }

    
    .banner_area .banner a:focus, .banner a:hover {
    text-decoration: none;
    background-color: transparent !important;
    color: unset;
    }

    
    .banner_area .pcBanner {
        position: relative;
        padding-top: 60%;        
        display: block;
        /* overflow: hidden; */
    }
    .banner_area .pcBanner ,
    .banner_area .mobileBanner {
        overflow: hidden;
        border-radius:clamp(1.2891rem, 2.0833vw, 2.5000rem); /*  最小值 20.63px、大小約 2.0833vw、最大值 40.00px */
    }
        .banner_area .pcBanner img{
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
            float: none;
            width: 100% !important;
            height: 100% !important;
            object-fit: cover;
            transition: 0.3s ease all;
        }
        

    


@media screen and (min-width: 991px) {
    /* .banner_area .wrap */
    .banner_item{
        /* display: flex; */
        /* grid-template-columns: minmax(400px , 1fr) 2fr; */
        align-items: stretch;
        /* overflow: hidden; */
    }


    /* .banner_left  */
    .banner_item_left{
        width: 50%;
        padding-right:clamp(1.2891rem, 2.0833vw, 2.5000rem); /* 最小值 20.63px、大小約 2.0833vw、最大值 40.00px */
    }
	
    /* .banner_area .banner_right */
    .banner_item_right{
        /* aspect-ratio:  1.5 / 1; */
        width: 50%;
    }
}

@media (max-width: 990px) {

    .banner_item{
        /* display: flex; */
        flex-direction: column-reverse;
        gap: 1.25rem
    }

        .banner_left_text{
            gap: .3125rem; 
        }
        .banner_area .pcBanner{
            display: none;
        }
        .banner_area .mobileBanner{
            display: block;
        }


        .banner_button{
            /* display: grid;
            grid-template-columns: 60px auto 60px;
            align-items: center; */
            justify-content: center;
            margin: 20px auto 0;
            max-width: 80%;
            position: unset;
            bottom: unset;
            left: unset;
        }


}










/*========================================================*/
/*-------首頁_最新消息區塊--------*/
/*========================================================*/


.index_newsBg{
	/* padding: 50px 0; */
	background-color: #f9f9f9;
    background-color: #ededed;
	overflow: hidden;
}
.index_news_area{
	display: flex;
	justify-content: flex-start;
	margin:  0 -10px;
	flex-wrap: wrap;
	/* padding-top: 50px; */
}


.news_list{
	width: 49%;
	padding:0 0.625rem; /*10*/
	background-color:transparent;

}
.news_list:hover{
	/* background-color:#fff;
	box-shadow: 0px 0.5rem 1.3rem 0px rgb(0 0 0 / 5%);  */
}
.news_list a{
	display:block;
	color: var(--dark_color);
	position: relative;
	padding: clamp(1.0325rem, 1.6667vw, 2rem) .3125rem; /* 16.52px , 1.6667vw , 32px */
	height: 100%;

   border-radius: 0.625rem; /*10*/
	/* -webkit-transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
    -o-transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1); */
    transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
    text-decoration: none;
}
.news_list a:hover{
	background-color:#fff;
	box-shadow: 0px 0.5rem 1.3rem 0px rgb(0 0 0 / 5%); 
    
}



.news_list:first-of-type a{
	border-top: solid 1px #dfdfdf ;
}
.news_list:nth-child(2) a{
	border-top: solid 1px #dfdfdf ;
}

.news_list a::after{
	content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: #dfdfdf;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 0;
    transition: opacity 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
}
.news_list:hover a::before{
	opacity: 1;
	
}
.news_in{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.news_img{
	position: relative;
	padding-top: 20%;
	width: 30%;
	margin-right: 3rem;
}
.news_img img{
	position: absolute;
	top: 0;
	left: 0;
	object-fit: cover;
	width: 100% !important; 
	height: 100% !important;
}
.news_info{
	/* width: 60%; */
	padding-right: 40px;
}
.news_date{
	margin-bottom: 1rem;
	font-family: var(--foreign_font);
    color: var(--third_color);
}
.news_title{
    color: var(--primary_color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
    font-size:1.375em; /*22*/
    /*font-size: clamp(1em, 1.0417vw, 1.25em);*/ /* 字體 最小值 16.00px、大小約 1.0417vw、最大值 20.00px */

    /* display: -webkit-box;
    -webkit-box-orient: vertical;	
    -webkit-line-clamp: 2;	
    overflow: hidden; */
}

.news_title::before{
	content: '';
	width:0;
	height: 1px;
	background-color: #000;
	position: absolute;
	bottom: -4px;
	left: 0;
	opacity: 0;
	transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
}
.news_list:hover .news_title::before{
	width: 100%;
	opacity: 1;
}
.news_description{
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow : hidden;
	line-height: 1.5;
	color: var(--dark_color);
}
.arrow_black{
	display: flex;
	width: 4rem;
	align-items: center;
	justify-content: center;
}

.arrow_black::before{
	content: '';
    display: block;
    width: 0.9rem;
    height: 0.5rem;
    background-image: url(../images/arrow-black.svg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;

}
.arrow_black::after{
	content: '';
    display: block;
    width: 4rem;
    height: 1px;
    background-color:     #000000;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    /* -webkit-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%; */
    transform-origin: 100% 100%;
    /* -webkit-transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
    -o-transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1); */
    transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
}
.news_list:hover .arrow_black::after{
	opacity: 0;
}


.news_list a:focus{
    padding-left: 2%;
    padding-right:2%;
}
.news_list a:focus  .news_date ,
.news_list a:focus .news_title ,
.news_list a:focus .news_info ,
.news_list a:focus .news_description{
    color: inherit;
}




/* 在螢幕放大150%且寬度大於991時，套用這裡的特定樣式 */
@media screen and (min-width: 991px) and (min-height: 500px) and
(max-height: 1000px) and (-webkit-min-device-pixel-ratio: 1.5) and 
(-webkit-max-device-pixel-ratio: 1.74),
only screen and (min-resolution: 150dpi) and (max-resolution: 174dpi) {

    .index_newsBg .wrap{
        max-width: 62.5rem; /*1000*/
    }



}





@media(max-width:990px){

	.index_newsBg {
		/* padding: 50px 0; */
	}
	.index_news_area {
		/* padding-top: 25px; */
	}
	.news_list a {
		padding: 1rem 0;
        text-decoration: none;
	}
	.news_img {
		padding-top: 30%;
		margin-right: 1rem;
	}
	.news_info {
		/* width: 70%;
		padding-right: 10px; */
	}
	.arrow_black{
		/* display: none; */
	}
}

@media(max-width:640px){
	.news_list {
		width: 100%;
	}
}

























/*========================================================*/
/*-------首頁_快速連結區塊--------*/
/*========================================================*/


.index_linkBg{
    position: relative;
}

.index_linkBg::before{
    position: absolute;
    content: "";
    background-color: var(--fifth_color);
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: -1;
}

    
    .index_linkBg .index_title{
        margin-bottom: 0;
        color: var(--primary_color);
    }
        .index_linkBg .index_title p{
            
        }
        .index_linkBg .index_title p:nth-of-type(2){
            text-indent: 4em;            
        }


        

    .index_linkBg .wrap{
        
    }
    

        .index_link_area{
            display: flex;
            flex-direction: column;
            gap:  clamp(0.9678rem, 1.5625vw, 1.875rem); /* 15.48px , 1.5625vw , 30px */
        }

            .index_linkBg .text_area{
               font-size: 1.375em; /*22*/
            }



        .index_link_content{
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            row-gap: 0;
            column-gap: 0;
            max-width: 65.0625rem;
            width: 100%;

            gap: .625rem;
        }

            .index_linkBg .link_list{
                width: calc((100% / 3) - 1.25rem);
                box-sizing: border-box;
                /* padding: 0 25px; */
                transition: var(--hover_word);
                box-shadow: 2px 2px 5px #5a5a5a8f           
                }

                .index_linkBg .link_list a {
                    color: #333;
                    display: block;
                }


                .index_linkBg .link_in {
                    position: relative;
                }

                .index_linkBg .link_title {
                    z-index: 2;
                    font-size: 1.875rem;
                    font-weight: bold;
                    line-height: 1.25em;
                    display: inline-block;
                    margin: 0 0 1em 0;
                    padding-bottom: 15px;
                    border-bottom: 1px solid #fff;
                    position: absolute;
                    top: 2rem;
                    left: 2rem;
                }
                    
                    .index_linkBg .link_img{
                        position: relative;
                        /* padding-top: 100%; */
                        aspect-ratio: 1;
                        /* border-radius: 10px; */
                        display: block;
                        overflow: hidden;
                        display: block;
                        position: relative;
                        z-index: 1;
                        padding: 2em;
                        color: #fff;
                        /* background-color: #000; */
                        /* background-image: linear-gradient(to right, #243949 0%, #517fa4 100%); */
                    }
                                            
                        .index_linkBg .link_img img{
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                            position: absolute;
                            top: 0;
                            left: 0;
                            bottom: 0;
                            right: 0;
                            float: none;
                            width: 100% !important;
                            height: 100% !important;
                            object-fit: cover;
                            transition: 0.5s ease all;
                            /* opacity: 0.7; */
                        }


            .index_linkBg .link_list:hover{
                z-index: 5;
                transform: scale(1.05) translateY(-8px);
                transform-origin: bottom center;
                /* z-index: 1; */
                box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px, rgba(0, 0, 0, 0.1) 0px 2px 4px 0px, rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
            }

            .index_linkBg .link_img .before{
                
            }

            .index_linkBg .link_img .after{
                /* display: none; */
                position: absolute;
                top: 0;
                left: 0;
                opacity: 0;
            }


           .index_linkBg .link_list a:hover .link_img .before{
                 /* display: none; */
                 opacity: 0;
            }

            .index_linkBg .link_list a:hover .link_img .after{
               /* display: block; */
               opacity: 1;
            }

            

            .index_linkBg .link_list a:focus{
                background-color: var(--focus_color);
            }

            .index_linkBg .link_list a:focus img{
                opacity: 0.05;  
            }


/* 在螢幕放大150%且寬度大於991時，套用這裡的特定樣式 */
@media screen and (min-width: 991px) and (min-height: 500px) and
(max-height: 1000px) and (-webkit-min-device-pixel-ratio: 1.5) and 
(-webkit-max-device-pixel-ratio: 1.74),
only screen and (min-resolution: 150dpi) and (max-resolution: 174dpi) {

    .index_linkBg .wrap{
        max-width: 62.5rem; /*1000*/
    }
    
}



@media(max-width:990px){

    .index_linkBg .index_title p:nth-of-type(2){
        text-indent: 0em;            
    }

    .index_link_content{
        gap: 25px;
    }
    
        .index_linkBg .link_list{
            width: calc(100% / 1);
        }
        
            .index_linkBg .link_list:hover, 
            .index_linkBg .link_list:focus {
                transform: scale(1.02) translateY(-1%);
            }

}







