@charset "utf-8";
/* CSS Document */

.slogan {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 100px 0;
}

.main-slogan {
    width: 90%;
    word-wrap: break-word;
    text-align: center;
    font-size: 5rem;
    /* font-size: clamp(1.875rem, 3.75vw, 2.8125rem); */
    font-weight: bold;
    color: #000;
    margin-bottom: 10px;
}

.sub-slogan {
    width: 90%;
    word-wrap: break-word;
    text-align: center;
    font-size: 2.5rem;
    color: #000;
}

.banner {
    display: flex;
    align-items: center;
    justify-content: center;
    /* overflow: hidden; */
    width: 90vw;
    height: 36vw;
    /* border-radius: 50px; */
    margin: 0 auto;
    margin-bottom: 100px;
}

.owl-carousel {
    position: relative;
}
.owl-item{
    border-radius: 50px;
    overflow: hidden;
}
.lightbox-index .owl-item{
    border-radius: 12px;
    overflow: hidden;
}
.owl-dots {
    position: absolute;
    bottom: 30px;
    right: 50px;
    /* left: 50%;
  transform: translateX(-50%); */
    z-index: 10;
    gap: 5px;
}

.products-head {
    padding: 0 50px;
    margin-bottom: 50px;
}

.products-head h2 {
    margin-bottom: 15px;
    width: 100%;
    word-wrap: break-word;
}

.products-head p {
    font-size: 2rem;
    width: 100%;
    word-wrap: break-word;
}

/* 產品功能輪播區塊 開始*/
.products-list {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    margin: 0 auto;
    gap: 20px;
}

.slider-for {
    position: relative;
    width: calc(40% - 20px);
    margin: 0 auto;
    padding: 30px 30px 60px 30px;
    z-index: 10;
    border-top: 1px solid #bebebe;
    border-bottom: 1px solid #bebebe;
    border-right: 1px solid #bebebe;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

.slick-list {
    height: 100%;
}

.slider-for button.slick-arrow {
    position: absolute;
    bottom: 20px;
    border: 0px;
    background-color: transparent;
    color: #000;
    text-indent: -9999px;
    z-index: 20;
    cursor: pointer;
    transition: all 0.4s;
    border-radius: 50%;
}

.slider-for button.slick-arrow:hover {
    background-color: #e51f1f;
    border-radius: 50%;
}

.slider-for button.slick-prev {
    right: 60px;
    width: 40px;
    height: 40px;
    background-image: url(../images/arrow-prev.svg);
    background-size: 30px;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 20;
}

.slider-for button.slick-prev:hover {
    background-image: url(../images/arrow-prev-w.svg);
    background-position: center;
    background-repeat: no-repeat;
}

.slider-for button.slick-next {
    right: 20px;
    width: 40px;
    height: 40px;
    background-image: url(../images/arrow-next.svg);
    background-size: 30px;
    background-position: center;
    background-repeat: no-repeat;
}

.slider-for button.slick-next:hover {
    background-image: url(../images/arrow-next-w.svg);
    background-position: center;
    background-repeat: no-repeat;
}

.slider-nav {
    width: 60%;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    overflow: hidden;
}

.slick-track {
    height: 100%;
}

.slider-nav .slick-slide div {
    height: 100%;
}

.slick-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slick-slide>div {
    height: 100%;
}

.slide-container {
    position: relative;
    font-size: 4rem;
    font-weight: 600;
    color: #000;
    height: 100%;
    padding-bottom: 40px;
    /* height: 40vh;
    background-color: #fff;
    text-align: center;
    line-height: 40vh;
    font-size: 40px;
    font-weight: bold;
    border: 1px solid #000;
    margin-bottom: 20px;
    box-sizing: border-box; */
}

.slide-btn {
    text-align: center;
    box-sizing: border-box;
    padding: 20px;
    background-color: yellow;
    border: 1px solid #000;
    cursor: pointer;
}

.slide-btn:hover {
    background-color: rgb(255, 179, 0);
}

.title-box {
    border-left: 8px solid #e51f1f;
    padding-left: 20px;
    margin-bottom: 30px
}

.title-box .en {
    font-family: poppins, sans-serif;
    font-size: 3.8rem;
    color: #000;
    font-weight: 600;
    line-height: 3.8rem;
}

.title-box h2 {
    font-size: 1.8rem;
    color: #000;
    font-weight: 600;
}

.content-box {
    width: 95%;
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.7;
}

.content-box p,
.content-box span,
.content-box div {
    font-size: 1.8rem;
    color: #000;
    font-weight: 400;
    line-height: 2;
}

.slider-for .more {
    position: absolute;
    bottom: 0px;
    left: 0px;
}

.more {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.more a {
    font-size: 2rem;
    font-weight: 600;
}

.more a:hover {}

.more a:after {
    margin: -3px 5px 0 0;
    content: " ";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(../images/arrow-incline-black.png) no-repeat;
    background-size: contain;
    vertical-align: middle;
}

.more a:hover:after {
    background: url(../images/arrow-incline-red.png) no-repeat;
    background-size: contain;
}

/* 產品功能輪播區塊 結束*/
/* 產品功能動畫 */
.slick-slide.slick-active .content-box.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-delay: 0.5s;
    -webkit-animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    -webkit-animation-delay: 0.5s;
}

.slick-slide.slick-active .content-box.animatedFadeInUp {
    opacity: 0
}

.slick-slide.slick-active .content-box.fadeInUp {
    opacity: 0;
    animation-name: fadeInUp;
    -webkit-animation-name: fadeInUp;
}

@keyframes fadeInUp {
    from {
        transform: translate3d(0, 40px, 0)
    }

    to {
        transform: translate3d(0, 0, 0);
        opacity: 1
    }
}

@-webkit-keyframes fadeInUp {
    from {
        transform: translate3d(0, 40px, 0)
    }

    to {
        transform: translate3d(0, 0, 0);
        opacity: 1
    }
}

.index-news {
    width: 95vw;
    /* height: 40vw; */
    height: fit-content;
    border-radius: 50px;
    margin: 0 auto;
    padding: 50px;
    background-image: url(../images/bg-news.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.index-news .en {
    color: #fff;
}

.index-news h2.title {
    color: #fff;
}

.owl-news {
    padding: 0 50px;
    margin-bottom: 100px;
}

.owl-news .item {
    position: relative;

}

.owl-news .item a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid #fff;
    border-radius: 50px;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
}

.owl-news .item a:hover {
    background-color: #ffde00;
    border: 2px solid #ffde00;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.24);
}

.owl-news .owl-nav {
    position: absolute;
    top: 50%;
    left: 0px;
    width: 100%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    justify-content: space-between;
}

.owl-news .owl-nav button {
    display: flex !important;
    justify-content: center;
    align-items: center;
    color: #fff !important;
    transition: all 0.4s;
    width: 50px;
    height: 50px;
    font-size: 3rem !important;
    padding: 0px !important;
}

.owl-news .owl-nav button.owl-prev {
    position: absolute;
    left: 0px;
    border: 0px;
    background-image: url(../images/arrow-prev-w.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.owl-news .owl-nav button.owl-prev:hover {
    background-image: url(../images/arrow-prev.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.owl-news .owl-nav button.owl-next {
    position: absolute;
    right: 0px;
    border: 0px;
    background-image: url(../images/arrow-next-w.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.owl-news .owl-nav button.owl-next:hover {
    background-image: url(../images/arrow-next.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.news-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 5px;
    gap: 5px;
}

.news-date {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 66px;
    height: 66px;
    border-radius: 33px;
    font-family: 'Louis George Cafe', sans-serif;
    background-color: #e51f1f;
    font-size: 1.8rem;
    color: #fff;
}

.news-date .year {
    border-bottom: 1px solid #fff;
}

.news-title {
    width: calc(100% - 66px);
    font-size: 2.2rem;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-caption {
    clear: both;
    min-height: 125px;
    width: 100%;
    font-size: 1.8rem;
    color: #000;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.index-cases {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    margin: 0 auto;
    gap: 20px;
}

.logo-box {
    width: 60%;
}

.content-wrapper {
    position: relative;
    width: calc(40% - 20px);
    margin: 0 auto;
    padding: 30px 20px 60px 20px;
    z-index: 10;
    border-top: 1px solid #bebebe;
    border-bottom: 1px solid #bebebe;
    border-left: 1px solid #bebebe;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}

/* 應用案例 */
.cases-wrapper {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.cases-for {
    position: relative;
    /* width: calc(40% - 20px); */
    width: 100%;
    height: calc(100% - 94px);
    margin: 0 auto;
    padding: 30px 30px 60px 30px;
    z-index: 10;
    border-top: 1px solid #bebebe;
    border-bottom: 1px solid #bebebe;
    border-left: 1px solid #bebebe;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}

.cases-for .more {
    position: absolute;
    bottom: 0px;
    right: 30px;
}

.slick-list {
    height: 100%;
}

.cases-for button.slick-arrow {
    position: absolute;
    bottom: 20px;
    border: 0px;
    background-color: transparent;
    color: #000;
    text-indent: -9999px;
    z-index: 20;
    cursor: pointer;
    transition: all 0.4s;
    border-radius: 50%;
}

.cases-for button.slick-arrow:hover {
    background-color: #e51f1f;
    border-radius: 50%;
}

.cases-for button.slick-prev {
    left: 20px;
    width: 40px;
    height: 40px;
    background-image: url(../images/arrow-prev.svg);
    background-size: 30px;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 20;
}

.cases-for button.slick-prev:hover {
    background-image: url(../images/arrow-prev-w.svg);
    background-position: center;
    background-repeat: no-repeat;
}

.cases-for button.slick-next {
    left: 60px;
    width: 40px;
    height: 40px;
    background-image: url(../images/arrow-next.svg);
    background-size: 30px;
    background-position: center;
    background-repeat: no-repeat;
}

.cases-for button.slick-next:hover {
    background-image: url(../images/arrow-next-w.svg);
    background-position: center;
    background-repeat: no-repeat;
}

.cases-nav {
    width: 50%;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    background-color: #f5f5f5;
    padding: 20px;

    overflow: hidden;
}

.logo-wrap {
    /* padding: 0px 0px 15px 30px; */
}

.logo-wrap ul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 12px;
    /* gap: 20px; */
}

.logo-wrap ul li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(25% - 20px);
    margin: 10px;
    aspect-ratio: 1 / 1;
    border: 1px solid #bebebe;
    border-radius: 25px;
    padding: 25px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.12);
    /* Permalink - use to edit and share this gradient. 固定鏈接 - 用於編輯和分享此漸變： https://colorzilla.com/gradient-editor/#f5f5f5+0,ffffff+50,ffffff+100 */
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 50%, #ffffff 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

}

.logo-wrap ul li img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slick-track {
    height: 100%;
}

.cases-nav .slick-slide div {
    height: 100%;
}

.cases-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
}

.cases-for .slick-slide.slick-active .cases-title.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-delay: 0.5s;
    -webkit-animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    -webkit-animation-delay: 0.5s;
}

.cases-for .slick-slide.slick-active .cases-title.animatedFadeInUp {
    opacity: 0
}

.cases-for .slick-slide.slick-active .cases-title.fadeInUp {
    opacity: 0;
    animation-name: fadeInUp;
    -webkit-animation-name: fadeInUp;
}

.cases-for .slick-slide.slick-active .content-box.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-delay: 1s;
    -webkit-animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    -webkit-animation-delay: 1s;
}

.cases-for .slick-slide.slick-active .content-box.animatedFadeInUp {
    opacity: 0
}

.cases-for .slick-slide.slick-active .content-box.fadeInUp {
    opacity: 0;
    animation-name: fadeInUp;
    -webkit-animation-name: fadeInUp;
}

.data-wrap {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    width: 100%;
    height: fit-content;
    padding: 30px;
    background-image: url(../images/seedlings.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    gap: 20px;
}

.data-head {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    width: calc(30% - 20px);
}

.data-head h2 {
    width: 100%;
    font-size: 4.2rem;
    color: #fff;
    margin-bottom: 10px;
}

.data-head p {
    color: #fff;
    font-size: 2rem;
}

ul.data-list {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 70%;
    gap: 20px;
}

ul.data-list li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: calc(25% - 20px);
    aspect-ratio: 1 / 1;
    color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 50px;
}

.data-item-title {
    width: 100%;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    line-height: 1;
}

.data-item-wording {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.data-item-amount {
    font-family: 'Louis George Cafe', sans-serif;
    font-size: 10rem;
    /* font-size: 5.3vw; */
    font-weight: 400;
    line-height: 0.8;
    min-width: 120px;
    text-align: right;
}

.data-item-percent {
    font-size: 2.4rem;
}

.data-item-rate {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-wrap: wrap;
}

.contact-wrap {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    margin: 0 auto;
    gap: 20px;
}

.contact-img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(55% - 10px);
    /* height: 500px; */
    height: 26vw;
    overflow: hidden;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

.contact-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-box {
    width: calc(45% - 10px);
    border: 1px solid #bebebe;
    border-right: 0px;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    padding: 30px 30px 60px 30px;
}

.contact-container {
    position: relative;
    height: 100%;
    padding-bottom: 30px;
}

.contact-container .more {
    position: absolute;
    bottom: 0px;
    right: 30px;
}

@media screen and (max-width: 1366px) {
    .content-box {
        -webkit-line-clamp: 6;
    }

    .cases-for .content-box {
        -webkit-line-clamp: 5;
    }

    ul.data-list {
        width: 100%;
    }

    ul.data-list li {
        /* width: calc(33.33% - 20px); */
    }

    .data-head {
        width: calc(30% - 20px);
        width: 100%;
    }

    .cases-nav {
        width: 55%;
    }

    .cases-wrapper {
        width: 45%;
    }

}

@media screen and (max-width: 1180px) {
    .logo-wrap ul li {
        padding: 10px;
    }
    .contact-img{
        height: 400px;
    }
    .data-item-title{
        font-size: 2.4rem;
    }
}

@media screen and (max-width: 1024px) {
    .logo-wrap ul li {
        /* width: calc(33.33% - 20px); */
    }

    .content-box {
        -webkit-line-clamp: 3;
    }

    .title-box .en {
        font-size: 3.4rem;
    }
    .owl-news .item a{
        background-color: rgba(255,255,255,0.8);
    }
    ul.data-list li {
        width: calc(33.33% - 20px);
    }
    .cases-for .content-box {
        -webkit-line-clamp: 3;
    }
}

@media (max-width: 820px) {
    .banner{
        width: 95vw;
        height: 38vw;
    }
    .products-list {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .index-cases .products-list {
        flex-direction: column-reverse;
    }

    .slider-for {
        width: 95%;
        border-bottom: 0px;
        border-left: 1px solid #bebebe;
        border-top-left-radius: 50px;
        border-bottom-right-radius: 0px;
    }

    .slider-nav {
        width: 95%;
        border-top-left-radius: 0px;
        border-bottom-right-radius: 50px;
        border: 1px solid #bebebe;
    }

    .index-news {
        padding: 50px 30px;
    }

    .cases-nav {
        width: 90%;
    }

    .cases-wrapper {
        width: 95%;
    }

    .cases-for {
        border-right: 1px solid #bebebe;
        margin-bottom: 30px;
        border-top-right-radius: 50px;
        border-bottom-right-radius: 50px;
    }

    .logo-wrap {
        padding: 0px;
    }

    .logo-wrap ul {
        justify-content: flex-start;
    }

    .logo-wrap ul li {
        width: calc(25% - 20px);
    }

    ul.data-list li {
        width: calc(50% - 20px);
    }
    .data-item-amount{
        font-size: 15rem;
    }
    .contact-wrap {
        flex-direction: column-reverse;
        width: 95%;
        gap: 0;
    }

    .contact-box {
        width: 100%;
        border-bottom: 0px;
        border-right: 1px solid #bebebe;
        border-top-right-radius: 50px;
        border-bottom-left-radius: 0px;
    }

    .contact-img {
        width: 100%;
        height: 360px;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
        border-bottom-left-radius: 50px;
        border-bottom-right-radius: 50px;
        border: 1px solid #bebebe;
    }
    .contact-container .more {
        right: 0px;
    }
    .cases-for .more{
        right: 0px;
    }
}

@media (max-width: 600px) {
    .main-slogan {
        font-size: 3.6rem;
        text-align: center;
    }

    .banner {
        width: 95vw;
        height: calc(38vw + 40px);
        margin-bottom: 50px;
        overflow: unset;
    }

    .owl-dots {
        position: static;
        
    }
    .owl-theme .owl-dots, .owl-theme .owl-nav{
        padding-top: 0px;
        justify-content: center;
        width: 100%;
    }
    .owl-theme .owl-dots .owl-dot.active span,
    .owl-theme .owl-dots .owl-dot:hover span {
        background-color: #e51f1f;

    }
    .products-head{
        width: 90%;
        padding: 0px;
        margin: 0 auto 50px auto;
    }
    .index-news{
        padding: 50px 0px;
    }
    .title-box{
        margin: 0 0px 30px 0px;
        padding-left: 15px;
        border-left: 6px solid #e51f1f;
    }
    .index-news .title-box{
        margin: 0 20px 30px 20px;
    }
    .title-box .en {
        font-size: 3.3rem;
    }
    .logo-wrap ul{
        /* justify-content: center; */
    }
    .logo-wrap ul li{
        width: calc(50% - 20px);
    }
    ul.data-list{
        justify-content: center;
    }
    ul.data-list li{
        width: calc(90% - 20px);
    }
    .data-item-amount {
        font-size: 12rem;
    }
    .contact-img{
        height: fit-content;
    }
    .contact-img img{
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    .content-box {
        -webkit-line-clamp: 5;
    }
    .cases-for .content-box {
        -webkit-line-clamp: 5;
    }
    .cases-nav {
        width: 95%;
        border-radius: 50px;
        padding: 10px;
    }
}