body {
    margin: 0;
    padding: 0;
    color: #5b5754;
    min-width: 1530px;
}
li{
    list-style:none;
}
a{
    color: #5b5754;
}
img{
    display: block;
    max-width: 100%;
}
p {
    margin: 0;
}
button:focus{
    outline: 0;
}

/* banner */
.banner {
    position: relative;
    padding-bottom: calc(1077 / 1910 * 100%);
    overflow: hidden;
}
.banner img {
    position: absolute;
    width: 100%;
    top: 0;
    left: 3px;
    opacity: 0;
}
#b1a {
    animation-name: slideBannerA;
    animation-duration: 16s;
    animation-iteration-count: infinite;
}
#b1b {
    animation-name: slideBannerB;
    animation-delay: 8s;
    animation-duration: 16s;
    animation-iteration-count: infinite;
}
.logo {
    position: absolute;
    top: 0;
    left: 2%;
    width: 20.529%;
    height: 12.37%;
    cursor: pointer;
}

/* form上面的内容 */
.lattice{
    background: #ffffff url('../img/img_2b.png') center center no-repeat;
    background-size: cover;
    text-align: center;
    height: 1156px;
}
.lattice .lat_text{
    padding-top: 50px;
    font-size: 16px;
}
.lattice .lat_text:nth-child(2) p {
    margin-bottom: 2px;
    letter-spacing: 5px;
}


/* 图片大小变化 */
.lattice .lat_text img{
    width: 605px;
    margin: auto;
    display: inline-block;
    animation-name: pulse;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

/* 字体大小变化 */
.lat_img{
    display: inline-block;
    position: relative;
    top: 137px;
}
.lattice_text h3 span{
    font-size: 15px;
}
.lattice_text{
    margin-top: 10px;
    margin-left: 6px;
    text-align: center;
    color: #78b53c;
    /* font-size: 25px; */
    letter-spacing: 5px;
}
.lattice_text h3{
    font-size: 28px;
    display: inline-block;
    animation-name: pulse;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    font-weight: bold;
}

.img_mb{
    display: none;
}

/* .lattice .lat_img img{
    margin: auto;
    width: 400px;
    padding-bottom: 15px;
    position: relative;
    top:10px;
} */


/* form表单 */
.form{
    text-align: center;
}
.form .title h3{
    width: 500px;
    letter-spacing: 10px;
    height: 75px;
    line-height: 75px;
    margin: auto;
    position: relative;
    top: 35px;
    font-size: 35px;
    color: #ffffff;
    background-color: #ffaa50;
    border-radius: 10px;
}
.form .text .block{
    display: inline-block;
    padding: 10px 15px;
    width: 45%;
}
.form .text .block:nth-child(2){
    width: 23%;
}
.form .text .block:nth-child(3){
    width: 22%;
}
.form .text .text_all{
    width: 91%;
}
.form .text .text_part{
    width: 45%;
    padding-left: 13px;
}
.form .text .block input,.form .text .block input::placeholder{
    width: 100%;
    height: 40px;
    border: 0;
    color:#ffaa50;
    padding-left: 8px;
}
.form .text .block input:focus {
    outline: -webkit-focus-ring-color auto 0px;
}
.form .text .block select{
    width: 100%;
    height: 40px;
    border: 0;
    color: #ffaa50;
    padding: 0 10px;
    background: #fff;
}
.block:nth-child(4) select[name=code] {
    width: 45%;
}
.block:nth-child(4) > input[type=text] {
    width: 53%;
}
.text .note{
    text-align: left;
    padding: 5px 60px;
    font-size: 13px;
    letter-spacing: 2px;
    line-height: 20px;
}
.text .note ul {
    padding-inline-start: 0px;
}
.text .note ul li{
    text-indent: -10px;
    padding-left: 10px;
}
.mb_note{
    display: none;
}
.text label{
    display: block;
    text-align: left;
    padding-left: 72px;
    padding-right: 57px;
    margin-bottom: 0;
    font-size: 13px;
    line-height: 18px;
    padding-left: 74px;
    text-indent: -18px;
}
.text label a{
    text-decoration: underline;
    color: #333;
}
#regist{
    border: 0;
    width: 100px;
    height: 100px;
    line-height: 70px;
    margin: auto;
    position: relative;
    top: -50px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 4px;
    color: #ffffff;
    background-color: #ffaa50;
    border-radius: 70px;
}
.form .text{
    background-color: #ffe5ca;
    width: 1000px;
    margin: auto;
    padding: 60px 30px;
    border-radius: 10px;
}

#problems{
    height: 40px;
    width: 58%;
    margin-left: 5px;
    display: none;
    font-size: 16px;
    line-height: 30px;
    float: right;
}


/* 页面tabs start */
.cases .nav ul{
    text-align: center;
    padding-left: 0;
    margin: auto;
}
.cases .nav li span{
    width: 240px;
    display: inline-block;
    padding: 0 50px;
    cursor: pointer;
}


/* 內容在左邊的中間圖片 */
.cases .tab .item .round_right{
    width: 20%;
    display: inline-block;
    padding-bottom: 320px;
}
/* 內容在右邊的中間圖片 */
.cases .tab .item .round_left {
    width: 20%;
    display: inline-block;
    vertical-align: top;
    padding-top:120px;
}
.round_left{
    position: relative;
}
.cases .tab .item .round_left img{
    width:315px;
}
.cases .tab .item .img_p{
    width: 40%;
    display: inline-block;
}
/* 內容在右邊 */
.cases .tab .item .detail{
    width: 39%;
    display: inline-block;
    vertical-align: top;
}
.cases .tab .item .det_left{
    padding-top: 100px;
    padding-left: 20px;
}
.cases .tab .item .det_left h2{
    color: #ffaa50;
    font-size: 3rem;
    letter-spacing: 8px;
}
.cases .tab .item .det_left h3{
    font-size: 2rem;
    letter-spacing: 5px;
}
/* 内容tab start */
.cases .tab .item .item_nav{
    width: 100%;
    margin-top: 20px;
}
.cases .tab .item .item_nav ul{
    width: 100%;
    padding: 0 0;
}
.cases .tab .item .item_nav ul li span{
    min-width: 200px;
    border: 2px solid #FFAA50;
    font-size: 22px;
    color: #FFAA50;
    text-align: center;
    line-height: 60px;
    cursor: pointer;
    padding: 0 0;
    letter-spacing: 5px;
}
/* .cases .tab .item .item_nav ul li:nth-child(2){
    border: none;
    border-bottom: 2px solid #FFAA50;
    border-top: 2px solid #FFAA50;
    border-right: 2px solid #FFAA50;
} */
.cases .tab .item .item_nav ul li .nav-link{
    padding: 0;
}
/* 主要內容裡面的tab */
.cases .tab .item .item_tab{
    width: 100%;
}
#myTabs_2 .active {
    background-color: #FFAA50;
    color: #FFF;
    height: 100%;
}
/* 個人體質及症型 */
.detail1 ul {
    margin-top: 20px;
    margin-left: 20px;
    width: 510px;
    padding:0 20px 0 10px;
}
.detail1 li{
    list-style-type: disc;
    padding-top: 5px;
}
.detail1 li{
    content: '';
    color:#FFAA50;
}
.detail1 li .detail1_text{
    color: #3F3F3F
}
/* 二師治療方案 */
.detail2 ul{
    width: 510px;
    margin-top: 20px;
    padding:0 10px 0 10px;
}
.detail2_text{
    color:#FFAA50;
}

/* 內容在左邊 */
.cases .tab .item .det_right{
    padding-right: 20px;
    /* float: right; */
    width: 100%;
    padding-left: 50px;
    padding-top: 100px;
}
.cases .tab .item .det_right h2{
    color: #ffaa50;
    font-size: 3rem;
    letter-spacing: 8px;
}
.det_right h3{
    font-size: 2rem;
}
.itemContent-1 .swiper-pagination{
    padding-left: 20px;
    text-align: left;
}
.itemContent-2 .swiper-pagination{
    padding-right: 20px;
    text-align: right;
}
.mb-itemContent-2 .swiper-pagination{
    padding-right: 20px;
    text-align: right;
}
.itemContent-3 .swiper-pagination{
    padding-left: 20px;
    text-align: left;
}
.itemContent-4 .swiper-pagination{
    padding-right: 20px;
    text-align: right;
}
.mb-itemContent-4 .swiper-pagination{
    padding-right: 20px;
    text-align: right;
}
.itemContent-5 .swiper-pagination{
    padding-left: 20px;
    text-align: left;
}

.swiper-pagination-bullets .swiper-pagination-bullet-active{
    opacity: 1;
    background: #78B43C;
}


/* 二師會診 3大優勢 */
.advantage{
    padding: 60px 100px;
    text-align: center;
    background-color: #D7E8C4;
    padding-bottom: 50px;
    margin-top: 50px;
}
.title{
    font-size: 3rem;
    letter-spacing: 10px;
    color: #78B33B;
}
.advantage .more{
    margin: auto;
}
.advantage .more img{
    display: inline-block;
    width: 200px;
    text-align: center;
    margin-left: 55px;
    margin-top: 50px;
}

.mb-itemContent-2{
    display: none;
}
.mb-itemContent-4{
    display: none;
}

/* 頁面footer */
.footer{
    height: 50px;
    background-color: #D7E8C4;
    font-size: 8px;
    text-align: center;
    padding-bottom: 10px;
    line-height: 50px;
}
.footer a{
    text-decoration: none;
    color: #333;
}
.footer span{
    margin-left: 50px;
}

.line{
    height:20px;
    background-color: #78B33B;
}
.advantage .more{
    display: block;
}
.advantage .mb-more{
    display: none;
}
.round_center{
    display: none;
}
.advantage h2{
    font-size: 3rem;
}

.item_video{
    width: 75%;
    margin: 30px 0;
    position: relative;
}
.item_video img{
    width: 100%;
}
/* .item_video a{
    width: 40%;
    height: 32%;
    position: absolute;
    right: 0;
    bottom: 45px; 
}*/
.donly{
    display: block;
}
.monly{
    display: none;
}



/*  mobile 
    min-width 768px
*/
@media (max-width: 768px){
    body{
        min-width: 320px;
    }
    .banner{
        position: relative;
        padding-bottom: calc(649 / 433 * 100%);
        overflow: hidden;
    }
    .logo {
        position: absolute;
        top: 0;
        left: 6%;
        width: 37.529%;
        height: 8.37%;
        cursor: pointer;
    }
    
    .lattice{
        width: 100%;
        height: auto;
        background: #fff;
    }
    .lat_first{
        height: 420px;
        background: url(../img/img3.png) no-repeat #fff;
        background-size: 100%;
    }
    .lattice .lat_text{
        font-size: 12px;
        padding-top: 15px;
        /* padding: 25px 30px 0 30px; */
    }
    .lattice .lat_text:nth-child(2) {
        padding-top: 10px;
        line-height: normal;
    }
    .lattice .lat_text:nth-child(2) p {
        /* margin-top: 10px; */
        margin-bottom: 2px;
        letter-spacing: 0;
    }
    .lattice .lat_text:nth-child(2) p:nth-child(3){
        width: 50%;
        margin: 0px auto;
    }
    .lattice .lat_text img{
        width: 240px;
        margin: auto;
        display: inline-block;
        animation-name: pulse;
        animation-duration: 1s;
        animation-iteration-count: infinite;
    }
    .lat_img{
        display: block;
        position: unset;
        margin-top: 10px;
    }
    .lattice_text{
        margin-top: 0px;
        margin-left: 0px;
    }
    .lattice_text h3 span{
        font-size: 12px;
        letter-spacing: 2px;
    }
    .lattice_text h3{
        font-size: 24px;
    }
    .img_mb{
        display: block;
    }
    .lattice .lat_img img{
        margin: auto;
        position: relative;
        width: 310px;
        top:25px;
        padding-bottom: 0px;
    }

    /* form */
    .form{
        padding:30px 20px;
    }
    .form .title h3{
        width: 310px;
        letter-spacing: 5px;
        height: 55px;
        line-height: 54px;
        top: 25px;
        font-size: 22px;
        font-weight: bold;
    }
    .form .text{
        width: 100%;
        background-color: #ffe5ca;
        padding: 35px 10px 75px 10px;
        border-radius: 10px;
    }
    .form .text .block{
        padding: 8px 10px;
        width: 100%;
    }
    .form .text .block:nth-child(2){
        width: 52%;
    }
    .form .text .block:nth-child(3){
        width: 46%;
    }
    .form .text .text_all{
        width: 100%;
    }
    .form .text .text_part{
        width: 100%;
    }
    .form .text .block input{
        height: 45px;
    }
    .form .text .block select{
        width:100%;
        height: 45px;
        padding-left: 15px;
        /* 設置下拉背景 */
        -webkit-appearance: none;   /* google */
        -moz-appearance: none;  /* firefox */
        appearance: none;
        background: #FFFFFF url(../img/select_2.png) no-repeat;
        background-position: 95% center;
    }
    .block:nth-child(4) select[name=code] {
        width: 45%;
    }
    .block:nth-child(4) > input[type=text] {
        width: 53%;
    }
    
    #regist {
        width: 120px;
        min-width: 120px;
        height: 120px;
        font-size: 18px;
        font-weight: bold;
        border-radius: 100%;
        top: -60px;
    }
    .text .pc_note{
        display: none;
    }
    .mb_note{
        display: block;
        padding: 5px 20px 0;
        margin-top: -60px;
        letter-spacing: 2px;
        line-height: 20px;
        word-break: break-all;
        font-size: 12px;
    }
    .mb_note .note ul{
        padding-inline-start: 0px;
    }
    .mb_note .note ul li{
        text-indent: -11px;
        padding-left: 15px;
    }
    .noselect{
        margin:0;
        line-height: 16px;
        padding-left: 16px;
        text-indent: -20px;
    }
    .mb_note > label:nth-child(2){
        padding-top: 5px;
    }
    .noselect a{
        text-decoration: underline;
        color: #333;
    }

    #problems{
        height: 35px;
    }

    /* 页面人物内容 */
    #cases_nav{
        display: none;
    }
    .cases .tab .item .img_p{
        width: 100%;
    }
    .img_p .swiper-slide{
        width: 100%;
    }
    .cases .tab .item .round_left{
        width: 100%;
        z-index: 2;
        margin-top: -173px;
        position: relative;
        top: 60px;
        padding-top:0;
        display: none;
    }
    .cases .tab .item .round_left img{
        width: 180px;
        margin: 0 auto;
    }
    .cases .tab .item .round_center{
        display: block;
        width: 100%;
        height: 213px;
        z-index: 2;
        margin-top: -173px;
        position: relative;
        top: 60px;
        padding-top:0;
    }
    .cases .tab .item .round_center img{
        width: 180px;
        margin: 0 auto;
    }

    /* mobile 人物數據動畫css start */

    .cases .tab .item .round_center > img:nth-child(3) {
        width: 20px;
        height: 20px;
        position: relative;
        top: -139px;
        left: 22px;
    }
    #randMB1{
        top: -142px;
        left: 0px;
        position: relative;
        height: 33px;
        width: 86px;
        display: none;
    }

    .cases .tab .mb-itemContent-2 .round_center > img:nth-child(3){
        width: 20px;
        height: 20px;
        position: relative;
        top: -140px;
        left: 26px;
    }
    #randMB2{
        top: -142px;
        left: 0px;
        position: relative;
        height: 33px;
        width: 86px;
        display: none;
    }

    .cases .tab .itemContent-3 .round_center > img:nth-child(3){
        width: 20px;
        height: 20px;
        position: relative;
        top: -143px;
        left: 20px;
    }
    #randMB4{
        top: -144px;
        left: 0px;
        position: relative;
        height: 33px;
        width: 86px;
        display: none;
    }

    .cases .tab .mb-itemContent-4 div.round_center > img:nth-child(3){
        width: 20px;
        height: 20px;
        position: relative;
        top: -143px;
        left: 19px;
    }
    #randMB3{
        top: -144px;
        left: 0px;
        position: relative;
        height: 33px;
        width: 86px;
        display: none;
    }
    
    .cases .tab .itemContent-5 .round_center > img:nth-child(3){
        width: 20px;
        height: 20px;
        position: relative;
        top: -144px;
        left: 15px;
    }
    #randMB5{
        top: -1448px;
        left: 0px;
        position: relative;
        height: 33px;
        width: 86px;
        display: none;
    }
    /* mobile 人物數據動畫css end */


    .cases .tab .item .det_left {
        padding: 35px 20px 0 20px;
        /* padding-left: 20px; */
    }
    .detail2 ul{
        width:auto;
    }
    .cases .tab .item .det_left h2 {
        font-size: 2.5rem;
    }
    .cases .tab .item .det_left h3 {
        font-size: 1.75rem;
    }
    .cases .tab .item .detail{
        width: 100%;
    }
    /* .cases .tab .item .item_nav ul{
        width: auto;
    } */
    .cases .tab .item .item_nav ul li{
        width: 48%;
    }
    .cases .tab .item .item_nav ul li span{
        min-width: auto;
        width: 100%;
        float: left;
        font-size: 14px;
        color: #FFAA50;
        text-align: center;
        line-height: 40px;
        cursor: pointer;
        padding: 0 0;
        letter-spacing: 3px;
    }
    /* .cases .tab .item .item_nav ul li span{
        padding: 0 1px;
    } */
    /* .cases .tab .item .item_nav ul li:nth-child(2){
        border: 2px solid #ffaa50;
    } */
    .detail1 ul{
        width: auto;
    }
    .cases .tab .item .det_right {
        padding-right: 20px;
        width: 100%;
        padding-left: 20px;
    }
    .cases .tab .item .det_right h2 {
        font-size: 2.5rem;
    }
    .cases .tab .item .det_right h3 {
        font-size: 1.75rem;
    }
    .cases .tab .item .round_left img:nth-child(3){
        width: 20px;
        height: 20px;
        top: 40px;
        left: 199px;
    }
    .mb-itemContent-2{
        display: block;
    }
    .mb-itemContent-4{
        display: block;
    }
    .itemContent-2{
        display: none;
    }
    .itemContent-4{
        display: none;
    }
    .detail1 li {
        padding-top: 0px;
    }
    .detail2_text {
        font-weight: bold;
    }
    /* 二師會診 */
    .advantage {
        padding: 40px 20px;
        margin-top: 20px;
    }
    .title {
        font-size: 2rem;
        letter-spacing: 5px;
        color: #78B33B;
    }
    .advantage .more {
        margin: auto;
        display: none;
    }
    .advantage .mb-more {
        display: block;
        margin-top: 25px;
        padding: 0 20px;
    }
    .mb-more img{
        margin-top: 10px;
    }

    /* 页面底部 */
    .footer {
        height: 80px;
        font-size: 12px;
        background-color: #D7E8C4;
        text-align: center;
        line-height: 50px;
        padding-bottom: 30;
        font-family: 'Kaiti';
    }
    .footer span{
        height: 15px;
        float: left;
        margin-left: 0px;
    }
    .footer span:nth-child(2){
        width: 50%;
        text-align: right;
        padding-right: 10px;
    }
    .footer span:nth-child(3){
        padding-left: 10px;
    }
    .copyright{
        width: 100%;
        text-align: center;
        line-height: normal;
        margin-bottom: 5px;
    }
    .line{
        position: relative;
        top: 60px;
    }
    .advantage h2{
        font-size: 26px;
    }

    .donly{
        display: none;
    }
    .monly{
        display: block;
    }
    .item_video{
        width: 100%;
        margin: 20px 0;
        position: relative;
    }
    /* .item_video a{
        width: 40%;
        height: 32%;
        position: absolute;
        right: 0;
        bottom: 28px;
    } */
}

@media (max-width: 360px){
    /* lattice */
    .lattice{
        width: 100%;
        height: auto;
        background: #fff;
    }
    .lat_first{
        height: 382px;
        /* background: url(../img/img3.png);
        background-size: 100%; */
    }
    .lattice .lat_text{
        font-size: 12px;
        padding-top: 15px;
        /* padding: 25px 30px 0 30px; */
    }
    .lattice .lat_text:nth-child(2) {
        padding-top: 10px;
    }
    .lattice .lat_text:nth-child(2) p {
        /* margin-top: 10px; */
        margin-bottom: 2px;
        letter-spacing: 0;
    }
    .lattice .lat_text:nth-child(2) p:nth-child(3){
        width: 60%;
        margin: 0px auto;
    }
    .lattice .lat_text img{
        width: 180px;
        margin: auto;
        display: inline-block;
        animation-name: pulse;
        animation-duration: 1s;
        animation-iteration-count: infinite;
    }
    .lat_img{
        display: block;
        position: unset;
        margin-top: 10px;
    }
    .lattice_text h3 span{
        font-size: 12px;
        letter-spacing: 2px;
    }
    .lattice_text h3{
        font-size: 20px;
    }
    .lattice .lat_img img{
        width: 310px;
        top:25px;
        padding-bottom: 13px;
    }

}

@media (max-width: 320px){
    
    .lat_first {
        height: 340px;
    }
    .lattice .lat_text img {
        width: 150px;
    }
    .lat_img {
        margin-top: 0px;
    }
    .form .title h3 {
        width: 100%;
    }
    .form .text {
        padding: 35px 5px 75px 5px;
    }
    .cases .tab .item .det_left {
        padding: 30px 20px 0 20px;
    }
    .advantage h2{
        font-size: 20px;
    }

}

@media (max-width: 318px) {
    body {
        min-width: 318px;
    }
    .cases .tab .item .item_nav ul li{
        font-size: 12px;
    }
    .form .text .block:nth-child(2){
        width: 52%;
    }
    .form .text .block:nth-child(3){
        width: 46%;
    }
    .form .text .block:nth-child(4) select {
        width: 47%;
    }
    .form .text .block:nth-child(4) input {
        width: 51%;
    }

    /* #regist{
        font-size: 14px;
    } */

    .mb-itemContent-2{
        display: block;
    }
    .mb-itemContent-4{
        display: block;
    }
    .itemContent-2{
        display: none;
    }
    .itemContent-4{
        display: none;
    }
}

