:root {
    --assets-color: #E3636A;
    --text-assets: #C90915;
}

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;
}

.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(--assets-color);
}

/* background end */

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

.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;
}

/* button end */

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

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

/* Swiper styles */
.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%;
    object-fit: cover;
}

.swiper-pagination-bullet {
    width: 5%;
    height: 5px;
    opacity: 1;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0;
}

.swiper-pagination-bullet-active {
    background: #ffffff;
}

/* Swiper end */

/* 懸浮按鈕 */
.scrollup-fixed {
    position: fixed;
    bottom: 5%;
    right: 2%;
    z-index: 99;
}

.scrollmenu-fixed {
    position: fixed;
    top: 3%;
    left: 2%;
    z-index: 99;
}

.scrollstore-fixed {
    position: fixed;
    bottom: 12%;
    right: -5%;
    z-index: 99;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.scrollstore-fixed:hover {
    transform: translateX(-60%);
}

.go-store {
    width: 200%;
    height: 100%;
    padding: .25rem .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #000;
}

.go-store:hover {
    background-color: var(--assets-color);
    color: #fff;
}

.offcanvas-menu {
    top: 0;
    left: 2%;
    width: 20%;
    height: max-content;
    border: 1px solid var(--assets-color);
    border-radius: 0.25rem;
    transform: translatey(-100%)
}

@media (max-width: 768px) {
    .scrollstore-fixed {
        right: -20%;
    }

    .offcanvas-menu {
        top: 0;
        left: 2%;
        width: 50%;
    }
}

/* 懸浮按鈕 end */

/* 懸浮彈框 start*/
.modal-body {
    padding: 0 1.5rem 1.25rem 1.5rem;
}


.menu-line {
    padding-bottom: .25rem;
    border-bottom: 1px solid #999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.menu-main {
    width: 100%;
    display: flex;
    flex-direction: column;
    color: #999;
    padding: 1rem;
}

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

.menu-main a:focus {
    color: #000;
}

.menu-link i::before {
    font-size: 2rem;
    color: #999;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    .modal-body {
        padding: 0.5rem;
    }
}

/* 懸浮彈框 end */

/* content */
.pos-rel {
    position: relative;
}

.div-tag {
    position: absolute;
    bottom: 7.5%;
    left: 5%;
    z-index: 1;
    width: 65%;
    height: 30vh;
    background-color: rgba(201, 9, 21, 0.5);
    color: #fff;
    padding: 2rem;
}

.tag-line {
    width: 7rem;
    height: .1rem;
    background-color: #fff;
    margin: 2rem 0 1rem 0;
}

.text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.content-tag {
    font-size: 1.25rem;
    color: var(--assets-color);
    font-weight: bold;
}

.content-line {
    height: .15rem;
    width: 5rem;
    background-color: var(--assets-color);
}

.content-title {
    font-size: 3.25rem;
    color: var(--text-assets);
    margin: 2rem 0;
}

.content-text {
    font-size: 1.25rem;
    color: var(--text-assets);
    line-height: 1.75;
    /* text-align: justify; */
    letter-spacing: 0.35rem;
}

.product-1 {
    width: 20vw;
    display: flex;
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 1rem;
}

.overflow-1 {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.overflow-7 {
    display: -webkit-box;
    -webkit-line-clamp: 7;
    /* 限制行数 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.product-menu {
    width: 50%;
    height: 37.5vw;
    background-color: var(--assets-color);
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.product-nav {
    text-align: right;
    --bs-nav-link-padding-x: 1rem;
    --bs-nav-link-padding-y: 0.5rem;
    --bs-nav-link-font-weight: ;
    --bs-nav-link-color: #ccc;
    --bs-nav-link-hover-color: #fff;
    --bs-nav-link-disabled-color: #ffffff;
    list-style: none
}

.product-nav .nav-link {
    padding: 1rem .5rem;
}


.nav-pills {
    --bs-nav-pills-link-active-color: #fff;
    --bs-nav-pills-link-active-bg: none;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: var(--bs-nav-pills-link-active-color);
    background-color: var(--bs-nav-pills-link-active-bg);
    position: relative;
}

.nav-pills .nav-link.active::after,
.nav-pills .show>.nav-link::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: 10%;
    width: 3rem;
    height: 0.1rem;
    background-color: white;
}

@media (max-width: 768px) {
    .product-menu {
        width: 100%;
        height: 60vw;
        align-items: flex-start;
        padding-left: 2rem;
    }

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

    .nav-pills .nav-link.active::after,
    .nav-pills .show>.nav-link::after {
        left: 10%;
    }
}

/* product */
.box-product {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.box-product img {
    width: 100%;
    transition: transform 0.5s ease;
}

/* 遮罩层 */
.puroduct-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: end;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

/* 悬停时的遮罩层 */
.box-product:hover .puroduct-mask {
    opacity: 1;
    transform: translateY(0);
}

/* 悬停时的图片 */
.box-product:hover img {
    transform: scale(1.05);
}

/* 遮罩层内的文字 */
.mask-content {
    color: white;
    text-align: center;
    padding: 1rem;
    max-width: 80%;
}

/* product end */

/* news start */
.news {
    margin: 0 auto;
    width: 75%;
    height: 35rem;
}

.news-img {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.news-text {
    padding: 5rem 3rem;
    background-color: var(--assets-color);
    color: #fff;
    letter-spacing: .25rem;
}

.news-title {
    font-size: 2rem;
    font-weight: bold;
    margin: 1rem 0;
}

.news-a {
    display: flex;
    align-items: center;
    justify-content: end;
    margin-top: 1.5rem;
    color: var(--text-assets);
    font-weight: bold;
}

.news-a:hover {
    color: #fff;
}

.news-btn {
    color: #ccc;
    font-size: 6rem;
}

.news-btn:hover {
    color: #999;
}

.news-btn:focus {
    color: #ccc;
}

@media (max-width: 768px) {
    .news {
        margin: 0 1rem;
        width: calc(100% - 2rem);
        height: auto;
    }

    .news-img {
        height: 20rem;
    }

    .news-text {
        padding: 2rem;
    }

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

    .news-btn {
        font-size: 2rem;
    }
}

/* news end */

/* footer start */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.footer-slogan {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 6rem 0;
}

.footer h3 {
    font-weight: bold;
    letter-spacing: .25rem;
}

.footer-main {
    width: 100%;
    padding: 0 5% 2% 5%;
    border-bottom: 1px solid #ccc;
}

.footer-line-x {
    border-left: 2px solid #ccc;
    border-right: 2px solid #ccc;
}

.footer-main .flex-center {
    align-self: start;
}

.footer-link {
    width: 100%;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #ccc;
    padding: 1rem 0;
}

.footer-link i {
    font-size: 4rem;
    color: #999;
}

@media (max-width: 768px) {
    .footer-slogan {
        margin: 3rem 0 2rem 0;
    }

    .footer h3 {
        font-size: 1.5rem;
    }

    .footer-main {
        padding: 0;
    }

    .footer-main .flex-center {
        align-self: start;
        justify-content: start;
        padding: 1rem;
        border-bottom: 1px solid #ccc;
    }

    .footer-line-x {
        border-left: 0px;
        border-right: 0px;
    }

    .footer-link i {
        font-size: 3rem;
    }
}

/* footer end */