.client_testi_ttl {
    position: relative;
    z-index: 1;
    right: 0px;
    text-align: end;
}

.client_testi_ttl h2 {
    color: #FFF;
    font-size: 20px;
    font-style: italic;
    font-weight: 400;
    line-height: 120%;
}

.testi_container {
    position: relative;
    width: 420px;
    height: 250px;
    margin-top: 30px;
}

.testi_container .card {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fff;
    width: 380px;
    height: 345px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    font-size: 12px;
    overflow: hidden;
    transform-origin: center;
    transition: 0.4s cubic-bezier(0.28, 0.55, 0.385, 1.65);
    border-radius: 12px;
}

.testi_container .next {
    position: absolute;
    bottom: 40px;
    right: 30px;
    cursor: pointer;
}

.testi_container .next i {
    background-color: hsl(218deg 37% 17% / 80%);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 14px;
    border-radius: 50%;
}

.testi_container .image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.testi_container .image img {
    width: 100%;
    height: 100%;
}

.testi_container .detail {
    padding: 30px 35px;
    position: relative;
}

.testi_container .detail h3 {
    font-size: 15px;
    margin: 0;
}

.testi_container .detail i {
    font-size: 10px;
    margin-bottom: 5px;
    color: #fc686d;
}

.testi_container .detail .detail_para {
    font-size: 16px;
    font-weight: 500;
    color: #001334;
    margin: 0;
    line-height: 24px;
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0px !important;
    max-height: 238px;
}

.testi_container .card:nth-child(1) {
    z-index: 10;
    top: 25px;
    transform-origin: top;
    transform: scale(1);
    opacity: 1;
}

.testi_container .card:nth-child(2) {
    z-index: 9;
    top: 8px;
    transform-origin: top;
    transform: scale(0.9);
    opacity: 0.9;
    left: -6px;
    height: 385px;
    width: 421px;
    background-color: #3150A4;
    box-shadow: 0px 4.012973308563232px 8.025946617126465px 0px rgba(0, 0, 0, 0.08);
}

.testi_container .card:nth-child(3) {
    z-index: 8;
    top: -8px;
    transform-origin: top;
    transform: scale(0.8);
    opacity: 0.8;
    left: -17px;
    width: 474px;
    height: 434px;
    background: #1A3886;
    box-shadow: 0px 4.012973308563232px 8.025946617126465px 0px rgba(0, 0, 0, 0.08);
}

.testi_container .card:nth-child(4) {
    z-index: 7;
    top: -45px;
    transform-origin: top;
    transform: scale(0.7);
    opacity: 0.7;
    left: 74px;
}

.testi_container .card:nth-child(5) {
    z-index: 6;
    top: -60px;
    transform-origin: top;
    transform: scale(0.6);
    opacity: 0.6;
}

.testi_container .card:first-child:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.testi_container .card:last-child {
    opacity: 0;
}

.testi_bottom {
    display: flex;
    align-items: center;
    position: absolute !important;
    bottom: 0;
    width: 100%;
    padding: 0px 35px 20px !important;
    background-color: transparent;
}

.testi_bottom .testi_img_lft {
    flex: 1 1 48px;
    max-width: 48px;
}

.testi_bottom .testi_img_lft img {
    width: 52px !important;
    height: 52px !important;
    border-radius: 100%;
    object-fit: cover !important;
}

.testi_bottom .testi_content_rht {
    padding-left: 16px;
    flex: 1 1 100%;
    max-width: calc(100% - 48px);
}

.testi_bottom .testi_content_rht h2 {
    color: #001334;
    font-size: 16px;
    font-weight: 500;
    font-family: 'HelveticaNeueMedium';
}

.testi_bottom .testi_content_rht p {
    font-size: 14px;
    color: #001334;
    font-weight: 400;
    margin-top: 4px;
}

@media(max-width:1280px) {
    .testi_container {
        width: 340px;
    }

    .testi_container .card {
        width: 340px;
    }

    .testi_container .card:nth-child(1) {
        width: 340px;
    }

    .testi_container .card:nth-child(2) {
        width: 380px;
    }

    .testi_container .card:nth-child(3) {
        width: 431px;
    }
}

@media(max-width:991px) {
    .testi_container {
        width: 300px;
    }

    .testi_container .card:nth-child(1) {
        width: 300px;
    }

    .testi_container .card:nth-child(2) {
        width: 338px;
    }

    .testi_container .card:nth-child(3) {
        width: 385px;
    }

    .testi_container .card {
        width: 300px;
    }
}

@media(max-width:767px) {
    .client_testi_ttl h2 {
        font-size: 18px;
    }
}

@media(max-width:575px) {
    .testi_container .detail {
        padding: 30px 20px;
    }
}

@media(max-width:400px) {
    .client_testi_ttl h2 {
        font-size: 16px;
    }

    .testi_bottom .testi_content_rht h2 {
        font-size: 13px;
    }

    .testi_bottom .testi_content_rht p {
        font-size: 11px;
    }
}

@media(max-width:300px) {
    .testi_container {
        width: 204px;
    }

    .testi_container .card {
        width: 190px;
        height: 380px;
    }

    .testi_container .card:nth-child(1) {
        width: 190px;
        height: 380px;
    }

    .testi_container .card:nth-child(2) {
        width: 214px;
        height: 440px;
    }

    .testi_container .card:nth-child(3) {
        width: 241px;
        height: 514px;
    }

    .testi_container .detail p {
        font-size: 13px;
    }
}

@media(max-width:319px) and (min-width:280px) {
    .testi_container {
        width: 210px;
    }

    .testi_container .card:nth-child(1) {
        width: 235px;
        height: 390px;
    }

    .testi_container .card:nth-child(2) {
        width: 266px;
        height: 430px;
    }

    .testi_container .card:nth-child(3) {
        width: 307px;
        height: 485px;
    }

    .client_testi_ttl {
        right: -40px;
    }

    .testi_container .card {
        width: 200px;
    }

    .testi_container .next {
        right: 20px;
    }

    .testi_container .next i {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .testi_container .detail .detail_para {
        font-size: 14px;
        max-height: 265px;
        -webkit-line-clamp: 11;
    }
}

@media(max-width:352px) and (min-width:320px) {
    .testi_container {
        width: 250px;
    }

    .testi_container .card:nth-child(1) {
        width: 270px;
        height: 332px;
    }

    .testi_container .card:nth-child(2) {
        width: 304px;
        height: 367px;
    }

    .testi_container .card:nth-child(3) {
        width: 350px;
        height: 412px;
    }

    .client_testi_ttl {
        right: -40px;
    }

    .testi_container .card {
        width: 200px;
    }

    .testi_container .next {
        right: 20px;
    }

    .testi_container .next i {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .testi_container .detail .detail_para {
        font-size: 14px;
    }
}

@media(max-width:383px) and (min-width:353px) {
    .about_banner_row .about_rht_col.about_rht_col_testi{
        justify-content: flex-start;
    }
    .testi_container {
        width: 300px;
    }

    .testi_container .card:nth-child(1) {
        width: 295px;
        height: 355px;
    }

    .testi_container .card:nth-child(2) {
        width: 335px;
        height: 390px;
    }

    .testi_container .card:nth-child(3) {
        width: 385px;
        height: 435px;
    }

    .client_testi_ttl {
        right: -24px;
    }

    .testi_container .next {
        right: 32px;
    }
}

@media(max-width:383px) and (min-width:375px) {
    .about_banner_row .about_rht_col.about_rht_col_testi{
        justify-content: flex-start;
    }
    .testi_container {
        width: 300px;
    }

    .testi_container .card:nth-child(1) {
        width: 312px;
        height: 330px;
    }

    .testi_container .card:nth-child(2) {
        width: 352px;
        height: 360px;
    }

    .testi_container .card:nth-child(3) {
        width: 404px;
        height: 401px;
    }

    .client_testi_ttl {
        right: -24px;
    }

    .testi_container .next {
        right: 24px;
    }
}

@media(max-width:479px) and (min-width:384px) {
    .about_banner_row .about_rht_col.about_rht_col_testi{
        justify-content: flex-start;
    }
    .testi_container {
        width: 300px;
    }

    .testi_container .card:nth-child(1) {
        width: 321px;
    }

    .testi_container .card:nth-child(2) {
        width: 362px;
    }

    .testi_container .card:nth-child(3) {
        width: 415px;
    }

    .client_testi_ttl {
        right: -50px;
    }

    .testi_container .next {
        right: 24px;
    }
}

@media(max-width:479px) and (min-width:400px) {
    .testi_container {
        width: 343px;
    }

    .testi_container .card:nth-child(1) {
        width: 349px;
    }

    .testi_container .card:nth-child(2) {
        width: 392px;
    }

    .testi_container .card:nth-child(3) {
        width: 445px;
    }

    .client_testi_ttl {
        right: -40px;
    }
    .testi_container .next{
        right: 35px;
    }
}

@media(max-width:539px) and (min-width:480px) {
    .testi_container {
        width: 407px;
    }

    .testi_container .card:nth-child(1) {
        width: 415px;
    }

    .testi_container .card:nth-child(2) {
        width: 463px;
    }

    .testi_container .card:nth-child(3) {
        width: 520px;
    }

    .client_testi_ttl {
        right: -40px;
    }
}

@media (max-width:575px) and (min-width:540px) {
    .testi_container {
        width: 467px;
    }

    .testi_container .card:nth-child(1) {
        width: 476px;
    }

    .testi_container .card:nth-child(2) {
        width: 528px;
    }

    .testi_container .card:nth-child(3) {
        width: 590px;
    }

    .client_testi_ttl {
        right: -40px;
    }
}

@media(max-width:767px) and (min-width:576px) {
    .testi_container {
        width: 500px;
    }

    .testi_container .card:nth-child(1) {
        width: 509px;
    }

    .testi_container .card:nth-child(2) {
        width: 558px;
    }

    .testi_container .card:nth-child(3) {
        width: 620px;
    }
}

@media(max-width:991px) and (min-width:768px) {
    .testi_container .next {
        right: 20px;
    }

    .testi_container .next i {
        width: 36px;
        height: 36px;
    }
}