:root {
    --bs-blue: #0d6efd;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-pink: #E3636A;
    --bs-red: #C90915;
    --bs-orange: #fd7e14;
    --bs-yellow: #ffc107;
    --bs-green: #198754;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-black: #000;
    --bs-white: #fff;
    --bs-gray: #6c757d;
}
body {
    font-family: 'Noto Serif TC', 'NuttyBuddy';
}

@font-face {
    font-family: YueXinFont;
    src: url(/assets/fonts/YueXinFont.ttf) format("truetype");
    unicode-range: U+4E00-9FFF;
    font-display: swap;
}
@font-face {
    font-family: NuttyBuddy;
    src: url(/assets/fonts/NuttyBuddy.otf) format("opentype");
    unicode-range: U+00-024F;
    font-display: swap;
}
.NuttyBuddy {
    font-family: NuttyBuddy !important;
}
.YueXinFont {
    font-family: YueXinFont !important;
}

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

a {
    color: #636363;
}

a:hover {
    color: var(--bs-pink);
}

img {
    max-width: 100%;
}

/* hamburger-menu start */
.hamburger-menu {
    background-color: var(--bs-pink);
    color: #fff;
    padding: 0.5rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.hamburger-menu i {
    font-size: 1.5rem;
}

/* btn */
.btn-round {
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-system {
    width: 100%;
    height: 100%;
    padding: .25rem .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #636363;
}
.btn-system-pink {
    background-color: var(--bs-pink);
    color: #fff;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer; 
}
.btn-deafult-solid {
    font-weight: 600;
    color: #fff !important;
    border: 3px #E3636A solid !important;
    background-color: var(--bs-pink);
}
.btn-deafult-hollow {
    font-weight: 600;
    color: #636363;
    border: 3px #E3636A solid !important;
    background: none !important;
}
.btn-deafult-solid:hover, .btn-deafult-solid:focus {
    font-weight: 600;
    color: #E3636A !important;
    border: 1px #E3636A solid !important;
    background: #AC000000;
}
.btn-deafult-hollow:hover, .btn-deafult-hollow:focus {
    color: #fff !important;
    background-color: var(--bs-pink)!important;
}

.social-intercourse {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.social-intercourse a i {
  font-size: 32px;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
}

/* content block-item*/

.content-tag {
    font-size: 1rem;
    color: var(--bs-pink);
    font-weight: 300;
}

.tag-line-hr-2 {
    height: .15rem;
    width: 5rem;
    background-color: var(--bs-pink);
}

.content-title {
    font-size: 3.25rem;
    color: var(--bs-red);
    margin: 2rem 0;
    font-family: YueXinFont !important;
}

.content-text {
    font-size: 1rem;
    color: var(--bs-red);
    line-height: 2;
    letter-spacing: 0.35rem;
    margin-bottom: 2rem;
}

/* end */

.text-ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    overflow: hidden;
}
.text-ellipsis-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}
.text-ellipsis-7 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    line-clamp: 7;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.box-product img {
    width: 100%;
    transition: transform 0.5s ease;
}
.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;
    font-size: 18px;
    font-weight: 600;
}

.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-nav {
        text-align: left;
    }

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

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

.blog-item img {
    height: 100%;
    width: 100%;
    max-width: none;
}

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

.blog-title {
    font-size: 2rem;
    font-weight: bold;
    margin: 1rem 0;
    letter-spacing: .25rem;
    font-family: YueXinFont !important;
}

.blog-more {
    display: flex;
    align-items: center;
    justify-content: end;
    margin-top: 1.5rem;
    color: var(--bs-white);
    font-weight: bold;
}

.blog-more:hover {
    color: #fff;
    padding-bottom: 4px;
    text-decoration:underline;
}

.blog-btn:hover , .blog-btn:focus {
    color: #999;
}

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

.footer-slogan {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 6rem 0;
}
.footer-widget {
    display: flex;
    align-items: center;
    flex-direction: column;
}
.footer-widget .title {
    font-size: 18px;
}
.footer-widget p {
    font-size: 14px;
}

.footer-widget h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}
.footer-widget > .ft-menu {
  display: inline-block;
}
.footer-widget > .ft-menu > li {
  font-size: 16px;
  line-height: 18px;
  font-weight: 500;
  margin-bottom: 12px;
  color: #636363;
}
.footer-widget > .ft-menu > li:last-child {
  margin-bottom: 0;
}
.footer-widget > .ft-menu > li > a {
    font-size: 16px;
    font-weight: 300 !important;
    text-transform: capitalize;
    text-decoration: none;
    display: inherit;
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}
.footer-widget > .ft-menu > li > a:hover {
  color: #151515;
}

.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;
}
ul {
    list-style: outside none none;
    margin: 0;
    padding: 0;
}

.menu-main .nav-item {
    padding: 8px 0;
    font-size: 20px;
}


/* 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: -6%;
    z-index: 99;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

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

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

/* 懸浮按鈕 end */


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

.menu-line {
    padding-bottom: .725rem;
    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(--bs-pink);
}

.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:1024px){
    .block-item {
        position: absolute;
        /* top: 0%; */
        z-index: 1;
        width: 90%;
        background-color: rgba(201, 9, 21, 0.5);
        color: #fff;
        padding: 1.5rem;
    }
    .img-cover {
        width: 100% !important;
        height: 250px;
        object-fit: cover;
    }
}

/* web */
@media (min-width:576px) {
    .footer .social-intercourse {
        margin: 0  30rem;
    }
    .footer .social-intercourse i {
        font-size: 62px;
    }
    .social-intercourse .fs-line {
        font-size: 55px !important;
    }
    .block-item {
        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-hr {
        width: 9rem;
        height: .1rem;
        background-color: #fff;
        margin: 0.5rem 0 1rem 0;
    }
    .content-text-p {
        font-size: 1rem;
        color: var(--bs-white);
        line-height: 1.5;
        letter-spacing: 0.35rem;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 7;
        line-clamp: 7;
        overflow: hidden;
    }
    .content-block {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
    }
    .product-menu {
        width: 50%;
        height: 37.5vw;
        background-color: var(--bs-pink);
        padding-right: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
    }
    /* 遮罩层 mask  */
    .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%;
    }
    .mask-content .titleh3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }
    .blog-btn {
        color: #ccc;
        font-size: 6rem;
    }
    .content-text-2 {
        font-size: 1rem;
        color: var(--bs-white);
        line-height: 2;
        letter-spacing: 0.35rem;
        margin-bottom: 2rem;
    }
    .footer-line-x {
        border-left: 2px solid #ccc;
        border-right: 2px solid #ccc;
    }
 }

/* moblie */
@media (max-width:576px) {
    .footer .social-intercourse {
        margin: 0  2rem;
    }
    .footer .social-intercourse i {
        font-size: 35px;
    }
    .social-intercourse .fs-line {
        font-size: 32px !important;
    }
    .block-item {
        position: absolute;
        bottom: 5.5%;
        left: 5%;
        z-index: 1;
        width: 90%;
        height: 31vh;
        background-color: rgba(201, 9, 21, 0.5);
        color: #fff;
        padding: 0rem;
    }
    .tag-line-hr {
        width: 7rem;
        height: 0.15rem;
        background-color: #fff;
        margin: 2rem 0 1rem 0.875rem;
    }
    .content-text-p {
        font-size: 1rem;
        color: var(--bs-white);
        line-height: 1.5;
        letter-spacing: 0.35rem;
        padding: 0.875rem;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 7;
        line-clamp: 7;
        overflow: hidden;
    }
    .content-block {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 1rem;
    }
    .product-menu {
        background-color: var(--bs-pink);
        width: 100%;
        height: 50vw;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding-left: 2rem;
    }
    /* 遮罩层 mask  */
    .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: center;
        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: 0.25rem;
        max-width: 85%;
    }
    .mask-content .titleh3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }
    .blog-btn {
        color: #ccc;
        font-size: 2rem;
    }
    .blog-box {
        margin: 0 auto;
        width: 90%;
        height: 35rem;
    }
    .blog-text {
        padding: 2.5rem 1.5rem;
        background-color: var(--bs-pink);
        color: #fff;
        letter-spacing: .25rem;
        
    }
    .blog-title {
        font-size: 1.5rem;
        font-weight: bold;
        margin: 1rem 0;
        letter-spacing: .25rem;
        font-family: YueXinFont !important;
    }
    .content-text-2 {
        font-size: 1rem;
        color: var(--bs-white);
        line-height: 2;
        letter-spacing: 0.35rem;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        line-clamp: 4;
        overflow: hidden;
    }
    .footer-widget {
        display: flex;
        align-items: flex-start !important;
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px #c5c5c5 solid;
    }
    .footer-slogan {
        margin: 3rem 0 2rem 0;
    }
    .footer-line-x {
        border-left: 0px;
        border-right: 0px;
    }
    .modal-body {
        padding: 0.5rem;
    }
    .scrollstore-fixed {
        right: -33%;
    }

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

@media (min-width: 768px) and (max-width: 1024px){
    .product-menu {
        width: 100%;
        height: 37.5vw;
        background-color: var(--bs-pink);
        padding-left: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }
    .blog-box {
        margin: 0 auto;
        width: 90%;
        height: 60rem;
    }
    .blog-btn {
        color: #ccc;
        font-size: 2rem;
    }
    .blog-text {
        padding: 2.5rem 1.5rem;
        background-color: var(--bs-pink);
        color: #fff;
        letter-spacing: .25rem;
    }
    .img-cover {
        width: 100% !important;
        height: 420px;
        object-fit: cover;
    }
    .block-item {
        position: absolute;
        top: 6%;
        z-index: 1;
        width: 90%;
        background-color: rgba(201, 9, 21, 0.5);
        color: #fff;
        padding: 1.5rem;
    }
}

@media (max-width:1024px){
    /* .block-item {
        position: absolute;
        top: 0%;
        z-index: 1;
        width: 90%;
        background-color: rgba(201, 9, 21, 0.5);
        color: #fff;
        padding: 1.5rem;
    } */
    /* .img-cover {
        width: 100% !important;
        height: 250px;
        object-fit: cover;
    } */
}

/* ipad */
@media (min-width: 576.98px) and (max-width: 1199.98px) {
    .offcanvas-menu {
        width: 30%;
    }
}