/* 真實見證 */

/* swiper */
.real_testimony .swiper-button-next, .real_testimony .swiper-button-prev{
    top: 30%;
}
.real_testimony .swiper-button-prev{
    left: 8%;
    right: auto;
}
.real_testimony .swiper-button-next{
    right: 8%;
    left: auto;
}
#testimony{
    padding-bottom: 245px;
}
#testimony .swiper-slide{
    width: 100%;
    padding-bottom: 50px;
}

/* main */
.real_testimony{
    background: url('../image/three_high/threehigh_background.png') no-repeat;
    background-size: 100%;
    min-height: 600px;
    margin-top: 0;
    transform: skewY(-3deg);
    margin-bottom: -151px;
}
.testimony_box{
    transform: skewY(3deg );
}

.real_main{
    width: 100%;
    margin: 0 auto;
    margin-bottom: 37px;
    padding-top: 100px;
    /* height: 920px; */
}
.real_main h2{
    width: 76%;
    margin: 0 auto;
    color: white;
    font-size: 36px;
}

.testimony_title{
    float: left;
    position: relative;
}
.true_main{
    width: 82%;
    margin: 0 auto;
    text-align: center;
}
.true_box{
    display: inline-block;
    width: 65%;
    margin: 0 auto;
    vertical-align: top;
    margin-top: 40px;
    position: relative;
}
.true_content{
    padding: 10px 0;
    width: 100%;
    /* min-height: 650px; */
    text-align: left;
    background: linear-gradient(315deg, transparent 20px, #FFFFFF 0);
}
.true_content::before{
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 29px;
    height: 29px;
    background: linear-gradient(315deg, transparent 50%, #F7F7F7 0); 
}
.true_title{
    padding: 0 35px;
    position: relative;
}
.true_title img{
    width: 40px;
    height: 40px;
}
.title_img1 {
    position: relative;
    top: 20px;
}
.title_img2{
    position: absolute;
    right: 30px;
    bottom: 45px;
}
.true_title h3{
    font-size: clamp(1.3rem, 3.5vw, 2rem); /* Slightly smaller font */
    line-height: 1.4; /* Better line spacing */
    display: flex;
    width: 95%;
    padding-left: clamp(1rem, 5vw, 3.125rem); /* 16px-50px responsive */
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: left;
    align-items: center;
    margin-block-start: 0;
    margin-block-end: 0;
}

.true_title h4{
    font-size: clamp(1rem, 3vw, 1.5rem); /* 16px-24px with 3vw growth */
    display: flex;
    width: 95%;
    padding-left: clamp(1rem, 5vw, 3.125rem); /* 16px-50px responsive */
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: left;
    align-items: center;
    margin-block-start: 0;
    margin-block-end: 0;
}

.true_title p {
    margin-top: 0.9375rem; /* 15px */
    font-size: clamp(0.875rem, 2.5vw, 1.25rem); /* 14px-20px with 2.5vw growth */
    padding-left: clamp(1rem, 5vw, 3.125rem); /* 16px-50px responsive */
}

.true_text h4{
    width: 100%;
    padding: 0.625rem clamp(1rem, 5vw, 2.5rem); /* 10px 16px-40px responsive */
    font-size: clamp(0.875rem, 2.5vw, 1.25rem); /* 14px-20px with 2.5vw growth */
    background: #FFCC01;
}

.true_text ul{
    list-style: none;
    padding-top: 0.625rem; /* 10px */
    padding-left: clamp(1rem, 5vw, 2.5rem); /* 16px-40px responsive */
}

.true_text ul li{
    width: 82%;
    padding: 0.3125rem; /* 5px */
    font-size: clamp(0.875rem, 2.5vw, 1.25rem); /* 14px-20px with 2.5vw growth */
    text-indent: -1.8125rem; /* -29px */
    padding-left: 1.8125rem; /* 29px */
    line-height: 1.875rem; /* 30px */
}

.true_text img {
    width: clamp(1rem, 3vw, 1.25rem); /* 16px-20px responsive */
    height: clamp(1rem, 3vw, 1.25rem); /* 16px-20px responsive */
    vertical-align: middle;
    padding-right: 0.625rem; /* 10px */
}

.truesmalltext{
    font-size: 17px !important;
    line-height: 20px !important;
}

.testimony_user{
    display: inline-block;
    width: 35%;
    min-width: 518px;
    margin-left: -150px;
    padding-top: 120px;
}

.testimony_user img{
    width: 100%;
}

/* 真實見證底部 */
.true_footer{
    width: 100%;
    position: absolute;
    top: 80%;
    z-index: 999;
}
.true_footer img{
    width: 100%;
}

.real_main_mb{
    display: none;
}

@media(max-width:1679px){
    #testimony{
        padding-bottom: 185px;
    }
	
	.true_title h3 {
		font-size: clamp(1.3rem, 3.5vw, 1.5rem);
	}
	
	.true_text ul li {
		font-size: clamp(0.875rem, 2.5vw, 1.15rem);
	}

}

/* mb */
@media(max-width:1024px){
    .real_testimony{
        background: url('../image/three_high/threehigh_background_m.png') no-repeat;
        background-size: 100%;
        min-height: 600px;
        margin-top: 0;
        -webkit-transform: skewY(-3deg);
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .real_main h2{
        text-align: center;
    }
    .real_main{
        display: none;
    }
    .real_main_mb{
        display: block;
        width: 100%;
        padding-top: 40px;
    }

    .real_main_mb h2{
        width: 100%;
        text-align: center;
        color: white;
        margin-bottom: 0;
        font-size: 26px;
        font-weight: bold !important;
        font-family: Arial, "Microsoft JhengHei", sans-serif;
    }

    /* swiper */
    .real_testimony .swiper-button-next, .real_testimony .swiper-button-prev{
        top: 40%;
    }
    .real_testimony .swiper-button-next{
        right: 10px;
    }
    .real_testimony .swiper-button-prev{
        left: 10px;
    }
    #testimony_mb {
        padding-bottom: 55px;
    }
    #testimony .swiper-slide {
        display: block;
    }

    
    /* slide内的主要内容 */
    .testimony_title{
        float: left;
        padding-top: 70px;
        position: unset;
    }
    .testimony_content_mb{
        background: linear-gradient(315deg, transparent 8px, #FFFFFF 0);
        width: 100%;
        min-height: 520px;
        padding: 15px 0 0px;
        position: relative;
    }
    /* 使用背景颜色 linear-gradient 实现折角效果 */
    .testimony_content_mb::before{
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 10px;
        height: 10px;
        background: linear-gradient(315deg, transparent 50%, #F7F7F7 0); 
    }
    .content_top{
        width: 100%;
        position: relative;
        padding-left: 15px;
        padding-bottom: 5px;
    }
    .content_top h3{
        width: 60%;
        font-size: 18px;
        font-weight: bold;
        text-indent: 0;
        padding-left: 25px;
    }
    .c_img{
        width: 20px;
    }
    .img_close{
        position: absolute;
        bottom: 75px;
        left: 60%;
    }
    .content_top p{
        width: 60%;
        font-size: 15px;
        padding-left: 25px;
        clear:left;
    }

    /* 治療/療效 */
    .content_box h4{
        width: 100%;
        background: #FFCC01;
        font-size: 18px;
        color: #fff;
        padding: 5px 40px 3px;
        position: sticky;
        z-index: 5;
    }
    .content_box ul{
        padding-left: 40px;
        padding-bottom: 15px;
    }
    .content_box ul li{
        width: 85%;
        list-style: none;
        padding-left: 32px;
        text-indent: -32px;
    }
    .content_box ul li img{
        width: 25px;
        padding-right:5px;
    }
    .zhiliao ul{
        margin-bottom: 0;
    }

    /* 人物圖片輪播 */
    .testimony_user_mb{
        width: 35%;
        position: absolute;
        bottom: 0;
        right: 0;
    }
    .testimony_user_mb img{
        width: 99%;
    }

    /* 真實見證底部 */
    .true_footer_m {
        width: 100%;
        position: relative;
        top: 20px;
        display: inline-block;
    }
    .true_footer_m img{
        width: 100%;
    }

    /* slide 左右切換 */
    .truewitness_left_mb{
        color:lightgrey;
    }
    .truewitness_right_mb{
        color:lightgrey;
    }
}

@media(max-width:768px){
    #testimony_mb {
        margin-top: 0;
    }
}


