@charset "utf-8";
/***************************************
    copyright by MakeWeb.com.tw 
***************************************/

@import url('style.css');

/* .image_logo_header {
    position: absolute;
    margin: 0 0 0px 20px;
    z-index: 83;
} */

/*-------------------------------------------- 
	container
---------------------------------------------*/
#container {
    width: 100%;
    margin: 0px 0 0 0;
}

/*-------------------------------------------- 
	content1
---------------------------------------------*/
#content1 {
    overflow: hidden;
    /*background: url( ../../../../../cufiles/images/web/layout/bg_home.jpg) center top no-repeat;*/
}

.canvas_main_banner {
    position: relative;
    width: 100%;
    aspect-ratio: 100/46;
    max-height: 700px;
    z-index: 3;
    overflow: hidden;
}

.canvas_main_banner .bannerSwiper {
    height: 100%;
}

.canvas_main_banner .banner_caption {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    color: white;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.canvas_main_banner .banner_caption h1 {
    font-weight: 500;
}

.canvas_main_banner .swiper-slide .item {
    position: relative;
    width: 100%;
    height: 100%;
}

.canvas_main_banner .swiper-slide .item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.canvas_main_banner .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.canvas_main_banner .banner_text {
    font-size: 28px;
    line-height: 1.3;
    font-weight: 300;
    margin-bottom: 20px;
}

.canvas_main_banner .cta-button {
    display: inline-block;
    background-color: var(--brand-green);
    color: white;
    text-decoration: none;
    padding: 10px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.canvas_main_banner .cta-button:hover {
    background-color: var(--brand-dark-gray);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.canvas_main_banner .cta-button:focus {
    outline: none;
}

/* RWD for banner text */
@media (max-width: 1024px) {
    .canvas_main_banner .banner_caption {
        max-width: 70%;
        padding: 0 30px;
    }

    .canvas_main_banner .banner_text {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .canvas_main_banner .banner_caption {
        max-width: 100%;
        padding: 0 20px;
    }

    .canvas_main_banner .banner_text {
        font-size: 16px;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .canvas_main_banner .banner_text h1 {
        font-size: 20px;
        font-weight: 700;
        margin: 0;
    }

    .canvas_main_banner .cta-button {
        padding: 8px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .canvas_main_banner .banner_caption {
        padding: 0 16px;
    }

    .canvas_main_banner .banner_text {
        font-size: 14px;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    .canvas_main_banner .banner_text h1 {
        font-size: 16px;
        line-height: 1.2;
    }

    .canvas_main_banner .cta-button {
        padding: 6px 16px;
        font-size: 12px;
    }
}

.canvas_main_banner .camera_caption a {
    color: #fff;
}

.canvas_home_service {
    width: 100%;
}

.sec_1 {
    overflow: hidden;
    /* background: #F2F3F8; */
}
.sec_1 .content_box {
    overflow: hidden;
    max-width: 1280px;
    margin: 0px auto;
    padding: 60px 20px;
}
.sec_1 .slide_box {
    max-width: 1200px;
    margin: 0 auto;
}
.sec_1 figure {
    overflow: hidden;
    float: left;
    /* max-width: 320px; */
    padding: 24px 10px;
}
.sec_1 figure .content_image {
    display: table;
    margin: 0 0 8px 0;
    /*background: #F2F3F8;*/
    /*border-radius: 6px;*/
    /* box-shadow: 0px 0px 3px 2px #DDD; */
}
.slick-slide img {
    width: 100%;
    height: 102px;
    object-fit: contain;
}

.sec_2 {
    overflow: hidden;
    background: url(../../../../../cufiles/site/web/layout/home_content_bg.jpg) scroll no-repeat center/cover;
}
.sec_2 .content_box {
    overflow: hidden;
    max-width: 1280px;
    margin: 0px auto;
    padding: 60px 20px;
}
.sec_2 h2 {
    display: table;
    margin: 0 auto;
    padding: 0 0 40px 0;
    /* opacity: 0; */
}
.sec_2 ul {
    /* display: table; */
    margin: 0px auto;
    padding: 0px 10px;
    /* list-style: none; */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
}
.sec_2 li {
    overflow: hidden;
    float: left;
    width: 236px;
    /*height: 230px;*/
    margin: 0 12px;
    text-align: center;
    /*border-radius: 6px;*/
}
.sec_2 li:hover {
    /*-webkit-filter: brightness(60%);*/
    /*filter: brightness(60%);*/
}
.sec_2 li .content_image {
    overflow: hidden;
    border: 3px solid #fff;
}
.sec_2 li .content_image img {
    width: 100%;
    object-fit: cover;
    display: block;
    max-width: 100%;
    height: 230px;
    transition: 0.5s;
}
.sec_2 li .content_image img:hover {
    transform: scale(1.2);
}
.sec_2 li.current .content_image {
    border: 3px solid #707070;
}
.sec_2 li .content_title {
    display: block;
    padding: 8px 0 16px 0;
    font-size: 2rem;
    font-weight: bold;
    /*color: #FFF;*/
}
.sec_2 li.current .content_title a {
    color: #707070;
}

/*-------------------------------------------- 
	Media Queries 
---------------------------------------------*/
/* Portrait and Landscape */
/*@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) {
}*/

/*iPad Pro*/
@media screen and (max-width: 1279px) {
    /*.sec_2 .content_box{
		max-width: 1000px;
		width: 100%;
		padding: 0px 20px;
	}

	.sec_2 .content_box{
		overflow: hidden;
		max-width: 1000px;
		width: 100%;
	}
	.sec_2 li {
		width: 230px;
		height: 300px;
		margin: 0 8px;
	}
	.sec_2 li .mask {
		margin: -120px 0px 0 0;
		font-size: 2.2rem;
	}*/
}

/*iPad*/
@media screen and (max-width: 1023px) {
    #container {
        margin: 0;
    }

    .canvas_main_banner {
        width: 100%;
        aspect-ratio: 100/56;
        max-height: 550px;
    }

    .canvas_main_banner .camera_caption {
        /*position: absolute;*/
        width: 50%;
        top: 46%;
        /*left:5%;*/
        font-size: 3rem;
    }

    .sec_2 ul {
        /* display: table;
        width: 650px;
        margin: 0px auto;
        padding: 0px 0px;
        list-style: none; */
        grid-template-columns: repeat(3, 1fr);
    }

    /* .sec_2 li {
        width: 300px;
    } */
}

/*iPhone*/
@media screen and (max-width: 767px) {
    #container {
        margin: 0;
    }

    .canvas_main_banner {
        width: 100%;
        aspect-ratio: 100/75;
        min-height: 280px;
        max-height: 500px;
    }

    .canvas_main_banner .camera_caption {
        /*position: absolute;*/
        width: 90%;
        top: 52%;
        /*left:5%;*/
        font-size: 1.8rem;
    }

    .sec_2 ul {
        grid-template-columns: repeat(2, 2fr);
    }
    .sec_2 li {
        width: 160px;
        margin: 0 4px;
    }
    .sec_2 li .content_image img {
        height: 160px;
    }
}
