@charset "utf-8";

/* ---------------------------------- */
/*  index-banner
------------------------------------- */
@media screen and (max-width: 480px) {
    .index-banner-title {
        transform: scale(1.8);
        margin-top: -30px;
    }

    .index-banner-text {
        transform: scale(2.2);
        margin-left: -50px;
    }
}


/* ---------------------------------- */
/*  bg-gradient 漸層背景
------------------------------------- */
.bg-gradient {
    background: #002A3B;
    background: radial-gradient(800px 800px at 30% 60%, #012f64 0%, #002855 100%) !important;
}


/* ---------------------------------- */
/*  banner-title 首頁標題
------------------------------------- */
.banner-title {
    color: var(--secondry-color);
    font-weight: 600;
    font-size: 50px;
    text-shadow: 0 5px 20px rgba(0, 0, 0, .1);
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;
    writing-mode: tb-lr;
    line-height: 1.2;
    letter-spacing: 6px;
}

.banner-title.info {
    color: #ffffff;
    font-size: 34px;
    font-weight: 400;
}

.banner-title.describe,
.banner-title.describe-2 {
    font-size: 20px;
    font-weight: 400;
}

@media screen and (max-width: 767px) {
    .banner-title {
        transform: scale(1.2);
        letter-spacing: 3px;
    }

    .banner-title.describe,
    .banner-title.describe-2 {
        transform: scale(0.9);
        letter-spacing: 4px;
    }

    .banner-title.describe {
        margin-top: -140px;
    }

    .banner-title.describe-2 {
        margin-top: -150px;
    }
}

@media screen and (max-width: 480px) {

    .banner-title.info {
        padding-right: 50px!important;
    }

    .banner-title.describe,
    .banner-title.describe-2 {
        transform: scale(1.4)!important;
    }

    .banner-title.describe {
        margin-top: -180px;
        padding-left: 6px!important;
    }

    .banner-title.describe-2 {
        margin-top: -200px;
        letter-spacing: 3px;
    }

    .dental-implants {
        transform: scale(1.3);
    }

}


/* ---------------------------------- */
/*  more-btn
------------------------------------- */
.more-btn {
    display: block;
    border-radius: 999rem;
    border: 1px solid #ffffff;
    padding: 10px 20px;
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffffff;
    transition: 0.3s !important;
}

.more-btn:hover {
    border: 1px solid var(--fourth-color);
    background-color: var(--fourth-color);
}

@media screen and (max-width: 767px) {
    .more-btn {
        font-size: 1rem;
    }
}

@media screen and (max-width: 540px) {
    .more-btn {
        margin-top: 12px;
        font-size: 0.9rem;
    }
}


/* ---------------------------------- */
/*  special-title 特殊標題
------------------------------------- */
.special-title {
    font-size: 3.8rem;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary-color);
    text-align: center;
    text-transform: uppercase;
}

@media screen and (max-width: 767px) {
    .special-title {
        font-size: 2.5rem;
        -webkit-text-stroke: 1.2px var(--primary-color);
    }
}


/* ---------------------------------- */
/*  product-info 產品介紹
------------------------------------- */
.product-info {
    display: flex;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 60px auto 40px auto;
    gap: 35px;
}

.product-list {
    flex: 1;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgb(0, 0, 0, 0.1);
    transition: .3s;
}

.product-list:hover {
    box-shadow: 0 10px 25px rgb(0, 0, 0, 0.2);
}

.product-list .product-pic {
    width: 100%;
    height: 250px;
}

.product-list .product-pic img {
    object-fit: cover;
    object-position: 50% 50%;
    width: 100%;
    height: 100%;
}

.product-list .product-title {
    padding: 1.5rem 1.8rem 2rem 1.8rem;
    max-height: 220px;
}

.product-list .product-title h3 {
    font-size: 1.4rem;
    margin: 0 0 10px 0;
}

.read-more {
    display: flex;
    justify-content: flex-end;
    padding: 22px 15px;
    transition: .3s;
}

.read-more p {
    font-weight: 500;
    text-transform: uppercase;
}

.read-more i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
}

.product-list:hover .read-more {
    transform: translateX(4px);
    color: var(--fifth-color);
}

@media screen and (max-width: 767px) {
    .product-info {
        flex-direction: column;
        margin: 30px auto;
        gap: 10px;
    }

    .product-list .product-pic {
        height: 200px;
    }

    .product-list .product-title {
        padding-bottom: 0;
    }
}