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

/*-------輪播----------------------------------------------------------------------------*/

.banner {
    background: #fff;
    position: relative;

    width: 100%;
    /* max-width: 1180px;
    margin: 0 auto; */
}

.main .swiper-button-prev,
.main .swiper-button-next {
    position: absolute;
    top: 50%;
    margin: 0px;
    width: clamp(1.875rem, -0.125rem + 3.23vw, 3.75rem); /* 30 60 */
    height: clamp(1.875rem, -0.125rem + 3.23vw, 3.75rem); /* 30 60 */
    background-size: clamp(1.875rem, -0.125rem + 3.23vw, 3.75rem); /* 30 60 */
    background-position: center;
    background-repeat: no-repeat;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.main .swiper-button-prev {
    background-image: url(../index/images/left_arrow.png);
}

.main .swiper-button-next {
    background-image: url(../index/images/right_arrow.png);
}

.main .swiper-button-prev:after,
.main .swiper-button-next:after {
    /* content: 'prev'; */
    display: none;
}


/*輪播區*/
.swiper-container {
    height: auto;
}

.swiper-slide a{
    display: block;
    position: relative;
    padding-top: 36%;
}
.swiper-slide a 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;
}


/*輪播點點*/
.main .swiper-pagination {
    z-index: 888;
    height: 10px;
    opacity: 1;
    bottom: 15px !important;
}

.main .swiper-pagination-clickable .swiper-pagination-bullet {
    background-color: #D9D9D9;
    border: 1px solid #D9D9D9;
    box-sizing: border-box;
    z-index: 5;
    display: inline-block;
    width: 10px;
    height: 10px;
    opacity: 1;
}

.main .swiper-pagination span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: var(--fourth_color);
}

.index_bannerArea .swiper-pagination {
    left: 15px !important;
    text-align: left;
}



/*輪播區*/
.swiper-container {
    height: auto;
}

.swiper-wrapper {}

.swiper-slide {}

.swiper-slide img {
    width: 100%;
    height: auto;
}

.swiper-active-switch {
    /*輪播點點當前模式*/
    /* background: #c42605; */
}

.pcBanner,
.mobileBanner {}

.pcBanner {}

.mobileBanner {
    /* display:none; */
}



@media (max-width: 990px) {
    .pcBanner {
        /* display: none; */
    }

    .mobileBanner {
        /* display: block; */
    }
}

/* --------------------------------------------------------- */

.indexMain {
    border-top: 4px #ea5413 solid;
}

.indexMain .wrap {
    font-size: 0px;
}



/*首頁公司簡介--------------------------------------------*/
/* .indexabout {
    margin: 50px 0px;
    padding: 70px 0px;
    background-image: url(../index/images/about_bg.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.indexabout .indextite {}

.indexaboutInfo {
    padding-top: 45px;
    text-align: center;
    font-size: 16px;
    color: #333;
    line-height: 30px;
}

.indextite {
    font-size: 26px;
    font-weight: bold;
    color: #0070bd;
    text-align: center;
} */

.about_area{
    padding: 60px 0;
}

.about_area *{
    box-sizing: border-box;
}

.about_area .wrap{
    display: flex;
    align-items: center;
    gap: 40px;
}

/* 左右各 50% */
.about_area .wrap .left_area,
.about_area .wrap .right_area{
    width: 50%;
}

/* 左邊影片區-------------- */
.about_area .wrap .left_area{
    position: relative;
}

/* 響應式 iframe (16:9) */
.about_area .wrap .left_area iframe{
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 10px; /* 不要可刪 */
}

/* 如果要支援超舊瀏覽器，可改 padding hack */

/* 右邊區塊-------------- */
.about_area .wrap .right_area{
    display: flex;
    flex-direction: column;
}

.about_area .wrap .right_area .about_area_tit{
    font-size: 26px;
    font-weight: bold;
    color: #595959;
    text-align: center;
}

.about_area .wrap .right_area .text_area{
    padding-top: 15px;
    font-size: 14px;
    line-height: 24px;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

/* 按鈕區---------------- */
.about_area .wrap .right_area .more_btn_area{
    padding-top: 30px;
    align-items: center;
    text-align: center;
}

/* 按鈕 */
.about_area .wrap .right_area .more_btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 180px;
    height: 50px;
    padding: 0 30px;

    border: 1px solid #595959;
    border-radius: 10px;
    color: #595959;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;

    transition: .3s ease;
}

.about_area .wrap .right_area .more_btn:hover{
    background: #595959;
    color: #fff;
}

/* RWD -------------------- */
@media screen and (max-width: 768px){

    .about_area{
        padding: 40px 0;
    }

    .about_area .wrap{
        flex-direction: column;
        gap: 25px;
    }

    /* 左右區塊 */
    .about_area .wrap .left_area,
    .about_area .wrap .right_area{
        width: 100%;
    }

    /* 標題 */
    .about_area .wrap .right_area .about_area_tit{
        font-size: 22px;
    }

    /* 按鈕 */
    .about_area .wrap .right_area .more_btn_area{
        padding-top: 20px;
    }

}


/*首頁產品---------------------------------------------------*/
.indexproductBg {
    background-color: #e3e3e3;
}

/*首頁_產品_列表區塊*/
.indexProduct_listArea {
    padding: 20px 0px 40px;
    margin: 0px -15px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
}

/* 標題 */
.indexProduct_tit {

    font-size: 26px;
    font-weight: bold;
    color: #595959;
    text-align: center;
    padding: 40px 0 20px;
}

/*列表*/
.indexProduct_list {
    display: inline-block;
    vertical-align: top;
    /* width: 24.9%; */
    width: calc( 100% / 4 );
    /* padding: 0px 15px; */
    padding: clamp(0.625rem, 0.292rem + 0.54vw, 0.938rem); /* 10 15 */
    padding-top: 0;
    box-sizing: border-box;
}


/*列表區塊_圖片*/
.indexProduct_listImg {
    position: relative;
    transition: all .2s ease-out;
}

/*hover*/
.indexProduct_listImg:hover {
    transform: scale(1.05);
    transition: all .2s ease-out;
    animation: bounceIn;
}

.indexProduct_list a {
    display: block;
    text-decoration: none;
}

.indexProduct_list:nth-child(2n) a {}

.indexProduct_listImg img {
    width: 100%;
    height: auto;
    transition: all .2s ease-out;
}

/*hover*/
.indexProduct_listImg:hover img {}

/*列表區塊_標題*/
.indexProduct_listTit {
    color: #3a3a3a;
    line-height: 24px;
    font-weight: bolder;

    padding-top: 13px;
    font-size: 16px;
}

.indexProduct_listTit span {
    font-weight: normal;
    color: #7d7d7d;
    padding: 5px 0px 0px;
    font-size: 14px;
    line-height: 22px;
    display: block;
}


.indexProduct_coverArea {
    position: absolute;
    top: 40%;
    left: 50%;
    opacity: 0;
    width: 0%;
    height: 0%;
    background-color: rgba(0, 0, 0, 0);
    color: #fff;
    transition: all .2s ease-out;
}

.indexProduct_listImg:hover .indexProduct_coverArea {
    opacity: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(31, 30, 30, 0.6);
    transition: all .2s ease-out;
}

.indexProduct_coverIn {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.indexProduct_coverIn i {
    font-size: 40px;
}

.indexProduct_coverIn span {
    display: block;
    text-align: center;
    letter-spacing: 0;
    font-size: 18px;
}





@media (max-width: 1280px) {

    .indexProduct_listArea {
        max-width: unset;
    }

    .indexProduct_list {}
}


@media (max-width: 1200px) {
    .indexProduct_listArea {
        margin: 0px -10px;
    }

    .indexProduct_list {
        padding: 0px 10px;
    }
}


@media (max-width: 767px) {
    .indexProduct_listArea {}

    .indexProduct_list {
        padding: 10px 10px;
        width: 49%;
    }
}


@media (max-width: 640px) {

    .indexProduct_listArea {}

    /*列表*/
    .indexProduct_list {
        width: 49%;
        padding: 0px 10px 30px;
    }

}


@media (max-width: 426px) {
    .indexProduct_list {
        width: 100%;
        padding: 10px 10px;
    }
}


/*-------首頁最新消息列表-------------------------------------------------------*/


.iN_list_area {
    width: 100%;
    padding: 40px 0px 40px;
}


.iN_T {
    display: flex;
    flex-direction: column;
}


.iN_tit {
    /*float: left;*/
    font-size: 26px;
    font-weight: bold;
    color: #595959;
    text-align: center;
}


.iN_more {
    /* float: right;
    padding: 5px;
    color: #ea5413c4;
    font-size: 14px;
    border: 1px solid #ea5413c4;
    border-radius: 5px;
    display: block; */
    text-align: right;
}
.iN_more .iN_more_btn{
    display: inline-block;
    padding: 6px 12px;
    color: #ea5413c4;
    font-size: 14px;
    border: 1px solid #ea5413c4;
    border-radius: 5px;
}


.iN_more input {
    height: 26px;
    line-height: 26px;
    display: none;
}




.iN_list_arIN {
    display: flex;
    flex-wrap: wrap;
    margin: 0px -15px;
    padding-top: 20px;
}


.iN_list_arIN.second {
    display: none;
}


.iN_list {
    display: inline-block;
    box-sizing: border-box;
    padding: 0px 15px;
    /* width: 24.9%; */
    width: calc(100% / 4);

    vertical-align: top;
}

.inL_Img {
    overflow: hidden;
}

.inL_Img img {
    width: 100%;
    height: auto;
    transition: 0.3s ease all;
}

.inL_Img:hover img {
    opacity: 0.8;
    transform: scale(1.2);
    transition: 0.3s ease all;
}


.iPL_Info {
    width: 100%
}


.inL_date {
    padding-top: 13px;
}

.inL_name {
    padding-top: 13px;
}

.inL_date a {
    color: #707070;
    font-size: 12px;
    text-decoration: none;
}


.inL_name a {
    color: var(--primary_color);
    font-size: 16px;
    font-weight: bolder;
    text-decoration: none;
    display: block;

    /* modify by pekey 20210325 */
    display: -webkit-box;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.inL_name a:hover {
    transition: 0.3s ease all;
    color: #707070;
    padding-left: 15px;
}


.iPL_Infoin {
    padding-top: 15px;
    color: #949494;
    font-size: 14px;
    line-height: 24px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}



/*第5-8個最新消息打開*/
.iN_list_arIN.second.active {
    display: flex;
    flex-wrap: wrap;

}


@media (max-width: 1200px) {

    .iN_list_arIN {
        margin: 0px -10px;
    }

    .iN_list {
        padding: 0px 10px;
    }

}


@media (max-width: 990px) {
    .iN_list {
        padding: 10px 10px;
        width: 49.9%;
    }
}


@media (max-width: 510px) {
    .iN_list {
        width: 100%;
    }
}