:root {
    --assets-color: #C90915;
    --text-assets: #C90915;
    --bg-assets: #FFFBF7;
}

a,
button,
img,
input,
span {
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: var(--assets-color);
}

img {
    max-width: 100%;
}

.tc-3 {
    color: #999 !important;
}

.tc-ccc {
    color: #ccc !important;
}

.tc-6 {
    color: #666;
}

.text-left {
    text-align: left;
}

.mx-3 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.row,
.col,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12,
.col-lg-12,
.col-lg-11,
.col-lg-10,
.col-lg-9,
.col-lg-8,
.col-lg-7,
.col-lg-6,
.col-lg-5,
.col-lg-4,
.col-lg-3,
.col-lg-2,
.col-lg-1 {
    padding: 0;
    margin: 0;
}

/* background start */
.bg-assets {
    background-color: var(--bg-assets);
}

/* background end */

/* button start */
.btn-assets {
    background-color: var(--assets-color);
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-assets:hover {
    background-color: #ffffff;
    color: var(--assets-color);
    border: 1px solid var(--assets-color);
}

.btn-round {
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-black {
    background-color: #000;
    color: #fff;
    padding: 0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cirle {
    font-size: 1.25rem;
    width: 7vw;
    height: 7vw;
    border: 1px solid #333;
    text-align: center;
    border-radius: 50%;
    padding: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cirle-2 {
    width: 7vw;
    height: 7vw;
    border: 1px solid #333;
    border-radius: 50%;
    position: absolute;
    top: -0.3rem;
    left: -0.3rem;
}

.btn-cirle-2:hover {
    border: 1px solid #ffffff;
}

/* button end */

/* flex start */
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.pos-rel {
    position: relative;
}

/* fkex end */

/* head start */
.head {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
    padding: 0 2.5%;
}

.scrollup-fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
}

.nav-link {
    color: #333;
}

.nav-link.disabled,
.nav-link:focus,
.nav-link:hover {
    color: var(--assets-color)
}

.offcanvas.offcanvas-start {
    width: 80%;
}

@media (max-width: 768px) {
    .nav-item {
        width: 100%;
    }

    .nav-item:last-child {
        margin-bottom: 1rem;
    }
}

/* head end */

/* Swiper styles */
.swiper {
    width: 100%;
    height: 100vh;
}

.mySwiper .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}


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

.swiper-pagination-custom {
    bottom: 10%;
    left: 5%;
    width: max-content;
}

.swiper-pagination {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    height: 20px;
}

.pagination-progressbar {
    background: #d9d9d9;
    width: 7rem;
    height: .25rem;
}

.pagination-progressbar-fill {
    display: flex;
    background: #C90915;
    width: 100%;
    height: 100%;
    transform: scale(0);
    transform-origin: left top;
}

.swiper-button-next {
    top: auto;
    bottom: 8%;
    right: 5%;
}

.swiper-button-prev {
    top: auto;
    left: auto;
    bottom: 8%;
    right: 10%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    content: none;
    font-size: 4rem;
}

.swiper-button-next,
.swiper-button-prev {
    width: max-content;
    height: max-content;
    border-radius: 50%;
    color: var(--assets-color);
    font-size: 4rem;
    background-color: #fff;
}

@media (max-width: 768px) {
    .swiper-pagination-custom {
        bottom: 6%;
        left: 50%;
        width: max-content;
    }

    .swiper-button-next {
        top: auto;
        bottom: 5%;
        left: 20%;
    }

    .swiper-button-prev {
        top: auto;
        left: 5%;
        bottom: 5%;
        right: auto;
    }

    .swiper-button-next,
    .swiper-button-prev {
        font-size: 3rem;
    }
}

.mySwiper2 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1), rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1));
}

.mySwiper2 .swiper-slide {
    text-align: left;
    font-size: 18px;
    background: none;
    display: flex;
    justify-content: start;
    align-items: start;
    position: relative;
}

.banner-text {
    width: 50%;
    position: absolute;
    top: 25%;
    left: 5%;
}

.banner-text h1 {
    font-size: 6rem;
}

.banner-text div {
    width: 75%;
    height: 100%;
    overflow: hidden;
    padding: 1rem;
    border-left: 3px solid #666;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .banner-text {
        width: 95%;
    }

    .banner-text h1 {
        font-size: 3rem;
    }

}

/* Swiper end */

/* 文字環繞效果 */
.vdieo {
    position: absolute;
    left: 45%;
    bottom: 10%;
}

.vdioe-container {
    width: 12rem;
    height: 12rem;
    margin: 50px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vdioe-box {
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    /* border: 1px solid #000; */
    position: relative;
    z-index: 4;
}

.vdioe-circle {
    position: absolute;
    top: -6%;
    left: -6%;
    z-index: 5;
    width: 10rem;
    height: 10rem;
    animation: rotate 10s linear infinite;
}

.vdioe-text {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-origin: center;
    font-weight: bold;
    font-size: 14px;
}

.vdioe-text span {
    position: absolute;
    top: 0;
    left: 50%;
    transform-origin: 0 5rem;
    display: inline-block;
    width: 2px;
    height: 20px;
    text-align: center;
}

.vdieo-play {
    position: absolute;
    top: 7%;
    left: 35%;
    z-index: 6;
    font-size: 5rem;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* 效果 end */
.box-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 0;
}

.title-logo {
    margin: 1rem 0;
}

.title-logo img {
    max-width: 4rem;
    height: auto;
}

.title {
    text-align: center;
    color: #333;
    font-size: 4rem;
    letter-spacing: 1rem;
}

.title-text {
    color: #666;
}

@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }
}

.content-1 {
    width: 100%;
    padding: 1rem 5% 0 5%;
}

.about {
    display: flex;
    flex-direction: column;
    padding: 0 5%;
}

@media (max-width: 768px) {
    .about {
        padding: 5% 0;
    }
}

.about i {
    font-size: 2.5rem;
    margin-right: 1.5rem;
}

.about-text div {
    color: #666;
    margin-bottom: .5rem;
}

/*  */
.benefits-head {
    align-items: center;
    width: 100%;
}

.benefits {
    justify-content: space-between;
}

.benefits .flex-column {
    overflow: hidden;
}

.benefits img {
    height: 30rem;
    width: auto;
    max-width: none;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .benefits>div {
        margin-bottom: 2rem;
    }
}

.box-3 {
    width: 100%;
    position: relative;
    background-color: var(--bg-assets);
    display: inline-block;
}

.box-3::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
    width: 100%;
    height: 50%;
    background-color: #fff;
}

.box-3-div {
    padding: 3rem 0;
    position: relative;
    z-index: 2;
    display: flex;
    width: 135%;
}

.box-3-img {
    margin-right: 7rem;
}

.box-3-img img {
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .box-3-div {
        display: block;
        width: 100%;
    }

    .box-3-img {
        margin: 5%;
    }

    .box-3-img img {
        width: 100%;
        height: auto;
    }
}

.line-i {
    position: absolute;
    top: 3%;
    left: 5%;
    z-index: 2;
    font-size: 3rem;
    padding: .5rem;
    background-color: #C90915;
    color: #fff;
    width: 15%;
    text-align: center;
}

@media (max-width: 768px) {
    .line-i {
        width: max-content;
    }
}

.line-img {
    height: 100vh;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.line-img img {
    height: 100%;
    width: auto;
    max-width: none;
}

.line-texts {
    position: absolute;
    bottom: -1%;
    left: 0;
    z-index: 3;
    padding: 4rem;
    background-color: #fff;
    width: 100%;
    text-align: center;
    border-left: 1px solid #999;
    height: 30%;
    transition: all 0.3s ease;
    overflow: hidden;
}

.line-texts-content {
    transition: transform 0.3s ease;

}

.line-texts-hidden {
    opacity: 0;
    transition: all 0.3s ease;
}

.line-texts:hover {
    height: 50%;
}

.line-texts:hover .line-texts-content {
    transform: translateY(-50%);
}

.line-texts:hover .line-texts-hidden {
    opacity: 1;
}

.mySwiper3 {
    height: 29vw !important;
    /* margin-left: 2rem; */
}

.mySwiper3 .swiper-slide {
    color: #999;
    display: flex;
    align-items: center;
    padding-right: 1rem;
}

.mySwiper3 .swiper-slide-active {
    color: #333 !important;
}

.banner-li {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    border-left: 2px solid #999;
    height: 3rem;
    margin-right: 1rem;
}

.mySwiper4 {
    height: 40vw !important;
}

@media (max-width: 768px) {
    .mySwiper4 {
        height: 90vw !important;
    }
}

.video {
    position: relative;
    width: 100%;
    height: 100vh;
}

.video-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 10;
    background: rgb(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

video {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-top .title {
    color: #fff;
    margin-bottom: 5rem;
    width: 50%;
}

@media (max-width: 768px) {
    .video {
        height: 50vh;
    }

    .video-top {
        height: 50vh;
    }
}

.news-data {
    background-color: var(--assets-color);
    padding: .25rem;
    width: max-content;
    color: #fff;
    margin-top: 1rem;
    margin-bottom: .5rem;
}

.news-title {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.news-content {
    color: #999;
    font-size: 1.5rem;
    margin-bottom: 3rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-img {
    height: 30vw;
    overflow: hidden;
}

.news-img img {
    height: 100%;
    width: auto;
    max-width: none;
}

.news-left {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.news-right {
    display: flex;
    flex-direction: column;
    align-items: end;
    padding: 1rem;
}

@media (max-width: 768px) {
    .news-img {
        height: auto;
    }

    .news-img img {
        height: auto;
        width: 100%;
        max-height: none;
    }

    .news-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .news-content {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .news-right {
        align-items: start;
    }
}

.contact {
    position: relative;
    width: 100%;
    height: 75vh;
}

.contact-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75vh;
    z-index: 10;
    background: rgb(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact .title {
    color: #fff;
    margin-bottom: 1rem;
    width: 40%;
}

.contact-top .row {
    width: 40%;
}

.contact input {
    width: 90%;
    padding: 15px;
    margin: 0 5%;
}

.contact textarea {
    width: 95%;
    margin: 1.5rem 2.5% 0 2.5%;
    padding: 15px;
}

.contact .spend {
    position: absolute;
    right: 2.5%;
    bottom: 2.5%;
    font-size: 2rem;
    color: var(--assets-color);
    background-color: #fff;
    padding: .5rem;
    border-top: 2px solid var(--assets-color);
    border-left: 2px solid var(--assets-color);
    border-top-left-radius: 10px;
}

@media (max-width: 768px) {
    .contact {
        height: 75vh;
    }

    .contact-top {
        height: 75vh;
    }

    .contact .title {
        width: 90%;
    }

    .contact-top .row {
        width: 90%;
    }

    .contact input {
        margin: 5%;
    }
}

.footer .line {
    width: 5rem;
    height: 1.5px;
    background-color: #000;
}

.footer .content-1 {
    padding-bottom: 2rem;
    border-bottom: 1px solid #999;
}

.footer-end {
    width: 100%;
    margin-top: 5px;
    border-top: 1px solid #999;
    padding: 1rem 2.5% 3rem 2.5%;
}

@media (max-width: 768px) {
    .footer .flex-column {
        margin-bottom: 3rem;
    }
}

.scroll-image {
    display: block;
    transform: scale(1.1);
    opacity: 0.8;
    transform-origin: center center;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
        opacity 0.8s ease-out;
    will-change: transform, opacity;
}

.scroll-image.visible {
    transform: scale(1);
    opacity: 1;
}