.wrapper {
    min-height: 100vh;
}

.pagetitle {
    width: 112px;
    margin: 0 auto;
    margin-right: 2%;
    font-size: 0;
    padding-top: 3%;
}

.caseArea {
    width: 85.46875%;
    margin: 0 auto;
    margin-right: 0%;
    position: relative;
    padding-top: 5%;
}

.caseArea .caseBox .container {
    margin-right: 14%;
}

.Img .innerImg {
    width: 100%;
    /* margin-left: 15%; */
    padding-top: 103%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /* transform: translateY(20%); */
}

.Img:before {
    left: 0;
    right: auto;
    opacity: 0.3;
}

@media(max-width: 991px) {
    .UbitTitle {
        top: 50%;
        left: 50%;
    }
    .bannerBox .outer .scene .layer.cloth2 {
        width: 166%;
        right: -70%;
        top: auto;
        bottom: 0;
        padding-top: 83%;
        transform: rotate(-38deg);
    }
    .bannerBox .outer .scene .layer.cloth {
        width: 227%;
        left: -87%;
        top: -20%;
        background-size: 100% 100%;
        padding-top: 125%;
    }
    .CASE .outer .scene .layer.cloth {
        width: 100%;
        left: 0%;
        background-size: 400% 100% !important;
        background-repeat: no-repeat;
        padding-top: 90%;
        background-position: center;
        background-image: url(../images/home/A.png) !important;
    }
    .CASE.show .outer .scene .layer.cloth2 {
        top: 40%;
        right: -76%;
    }
}

.caseArea .caseBox {
    /*min-height: 90vh;*/
    justify-content: center;
    align-items: center;
    padding-bottom: 10%;
    /*background-color: rgb(49 49 49 / 69%);*/
    /*background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.8) 80%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0) 100%);*/
    /*background: -o-linear-gradient(top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.8) 80%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0) 100%);*/
    /*background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.8) 80%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0) 100%);*/
}

.caseList {
    z-index: 11;
}

.caseArea .caseBox .Img {
    padding: 0;
    z-index: 15;
}

.caseBox .Txt {
    background-color: #fff;
    padding: 11% 3%;
    /*transform: translateY(15%);*/
    margin-top: 6%;
    color: #333;
    display: flex;
    align-items: center;
}

.caseBox .Txt p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    border-left: 1px solid #eeee;
    padding-left: 10px;
}

.caseList .item {
    margin-bottom: 5%;
    position: relative;
}

.caseArea .caseBox .Txt .caseName span {
    font-size: 15px;
}

.caseList .item:nth-child(even) {
    flex-direction: row-reverse;
}

@media(max-width: 991px) {
    .bannerBox .pageTitle:before {
        top: auto;
        bottom: -24%;
        opacity: 1;
        width: 50%;
        padding-top: 50%;
        background-position: right;
    }
    .caseArea {
        padding: 10% 0;
        padding-top: 0;
        overflow: hidden;
    }
    .caseArea .caseBox {
        padding: 0;
    }
    .caseArea .caseBox .Img {
        margin-bottom: 5%;
    }
    .caseArea .caseBox .Txt {
        background-color: transparent;
        padding-left: 20%;
        /*padding-top: 0;*/
    }
    .caseList {
        margin-left: -40px;
        margin-right: -40px;
    }
    .caseList .item:before {
        content: '';
        position: absolute;
        right: 0;
        bottom: 0;
        width: 85%;
        height: 90%;
        background-color: #fff;
    }
    .caseArea .caseBox .Txt:before {
        display: none;
    }
    .caseList .item:nth-child(even) {
        flex-direction: column;
    }
    .caseList .item .caseInfo {
        padding: 0% 0 10%;
        padding-right: 18%;
    }
}

.caseArea .caseBox {
    /*min-height: 90vh;*/
    justify-content: center;
    align-items: center;
    /*background-color: rgb(49 49 49 / 69%);*/
    /*background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.8) 80%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0) 100%);*/
    /*background: -o-linear-gradient(top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.8) 80%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0) 100%);*/
    /*background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.8) 80%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0) 100%);*/
}

.CaseArea {
    z-index: 11;
}

.CaseArea .Img {
    padding: 0;
    z-index: 15;
}

.caseArea .caseBox .Txt {
    background-color: #fff;
    padding: 3%;
    /*transform: translateY(15%);*/
    margin-top: 6%;
    color: #333;
    display: flex;
    align-items: center;
    z-index: 15;
}

.caseArea .caseBox .Txt p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    border-left: 1px solid #eeee;
    padding-left: 10px;
}

.caseList .item {
    margin-bottom: 5%;
}

.caseArea .caseBox .Txt .caseName {
    font-size: 1.5rem;
    font-family: 'Noto Serif TC', serif;
}

.caseArea .caseBox .Txt .caseName span {
    font-size: 16px;
}

.caseList .item:nth-child(even) {
    flex-direction: row-reverse;
}

@media(max-width: 991px) {
    .pagetitle {
        width: 112px;
        margin-right: auto;
        padding: 15% 0%;
    }
    .bannerBox .pageTitle:before {
        top: auto;
        bottom: -24%;
        opacity: 1;
        width: 50%;
        padding-top: 50%;
        background-position: right;
    }
    .caseArea {
        width: 100%;
        padding: 10% 0;
        padding-top: 0;
        overflow: hidden;
    }
    .caseArea .caseBox {
        padding: 0;
    }
    .caseArea .caseBox .Img {
        margin-bottom: 5%;
    }
    .caseArea .caseBox .Txt {
        background-color: transparent;
        padding-left: 20%;
        /*padding-top: 0;*/
    }
    .caseList {
        margin-left: -40px;
        margin-right: -40px;
    }
    .caseList .item:before {
        content: '';
        position: absolute;
        right: 0;
        bottom: 0;
        width: 85%;
        height: 90%;
        background-color: #fff;
    }
    .caseArea .caseBox .Txt:before {
        display: none;
    }
    .caseList .item:nth-child(even) {
        flex-direction: column;
    }
    .caseList .item .caseInfo {
        padding: 0% 0 10%;
        padding-right: 18%;
    }
    .caseArea .caseBox .Txt .caseName {
        font-size: 1.2rem;
    }
    .caseArea .caseBox .Txt .caseName span {
        font-size: 12px;
    }
}