@import url('https://fonts.googleapis.com/css2?family=Afacad:ital,wght@0,400..700;1,400..700&family=M+PLUS+Rounded+1c&family=Noto+Sans+TC:wght@100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');
/* @import url('https://fonts.googleapis.com/css2?family=Afacad:ital,wght@0,400..700;1,400..700&family=M+PLUS+Rounded+1c&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap'); */

* {
    font-family: "Plus Jakarta Sans", "Noto Sans TC", "Microsoft JhengHei", 微軟正黑體, Arial, sans-serif;
    webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html,
body {
    /* overflow-x: hidden; */
    overflow-x: hidden !important;
    font-size: 18px;
    line-height: 1.5;
}

a {
    text-decoration: none;
}

/* 
*::selection {
    background: #00A8B1;
    color: #fff;
}

*::-moz-selection {
    background: #00A8B1;
    color: #fff;
}
 */

/*  */
.big {
    font-size: 48px;
    text-align: center;
    color: #464646;
    font-weight: bold;
}

.big p {
    margin: 0;
    font-size: 18px;
    color: #525252;
    font-weight: normal;
}

.color {
    color: #464646;
}

.bg_gray {
    background-color: #F2F2F2;
}

.bg_w {
    background-color: #Fff;
}

.h1 {
    font-size: 40px;
}

.h2 {
    font-size: 32px;
}

.h3 {
    font-size: 24px;
}

.h4 {
    font-size: 20px;
}

.h5 {
    font-size: 18px;
}

.title {
    font-size: 18px;
}

/*  */
.pd_top {
    padding: 66px 0 0;
}

.nav_top {
    padding: 10px;
    background-color: #8A036D;
}

.nav_top_data {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.nav_top_data li {
    padding: 0 10px;
    flex: 1;
}

.nav_top_data_icon {
    display: inline-block;
    vertical-align: text-bottom;
}

.nav_top_data_text {
    display: inline-block;
    font-size: 18px;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 0.3em;
}

.nav_top_line {
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
}

.nav_top_data a {
    cursor: pointer;
    display: block;
}

.swiper-container {
    width: 100%;
    /* height: 100%; */
}

.swiper-slide img {
    width: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.index_text {
    color: #525252;
    text-align: center;
}

.ahi {
    background-color: #F2F2F2;
    padding: 30px;
    border-radius: 100px;
}

.ahi_icon {
    color: #8A036D;
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 8px;
    flex: 0 0;
    flex-basis: 150px;
}

.ahi_text {
    display: inline-block;
    flex-grow: 2;
}

.ahi_text h3 {
    color: #8A036D;
    font-weight: bold;
}

.ahi_text p {
    font-size: 16px;
    margin: 0;
    color: #525252;
}

.ahi_row {
    display: flex;
    width: 100%;
}

.ahi_img {
    max-width: 100%;
    position: relative;
}

.ahi_img img {
    max-width: 100%;
}

@keyframes load {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

.progress-bar_ahi {
    position: absolute;
    top: 75px;
    width: 100%;
}

.progress-bar_ahi .progress-bar {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    /* Permalink - use to edit and share this gradient. 固定鏈接 - 用於編輯和分享此漸變： https://colorzilla.com/gradient-editor/#8a036d+0,51003f+100 */
    background: linear-gradient(to right, #8a036d 0%, #51003f 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    animation: load 5s ease-in-out 1;
}



.know_row {}

.know_row p {

    padding: 15px;
    margin: 0;
    font-size: 16px;
    color: #000000;

}

.know_row p span {

    padding: 5px;
    margin: 0;
    font-size: 24px;
    color: #8A036D;
    font-weight: bold;

}

.know_line {
    border-left: 1px solid #8A036D;
}

.index_yt {
    background-color: #F2F2F2;
    padding: 35px 0;
}

.video-container {
    position: relative;

    padding-bottom: 56.25%;

    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;
}

.index_about_item {
    background-color: #F2F2F2;
    padding: 25px;
    border-radius: 15px;
    display: block;
    cursor: pointer;
}

.index_about_item_top {
    display: flex;
    width: 100%;
    padding-bottom: 15px;
}

.index_about_item_img {
    flex: 0 0;
    flex-basis: 65px;
    align-self: center;

}

.index_about_item_title {
    flex-grow: 2;
    font-weight: bold;
    font-size: 24px;
    color: #8A036D;
    align-self: center;


}

.index_about_item_text {
    position: relative;
    font-size: 16px;
    color: #525252;
    padding: 0px 0 0 25px;
    min-height: 72px;
}

.index_about_item_text::before {
    content: "‘‘";
    font-size: 32px;
    color: #8A036D;
    position: absolute;
    left: 2px;
    top: -6px;
}

.index_about_item_btn {
    padding: 15px 0;
}

.risk_item {
    padding: 25px 15px 15px;

}

.risk_item_img {
    text-align: center;
}

.risk_item_img img {
    max-width: 100%;
    margin: 0 auto;
}

.risk_item_title {
    font-size: 18px;
    font-weight: bold;
    color: #464646;
    text-align: center;
}

.risk_item_title p {
    font-weight: normal;
}

.risk_bg_c {
    background-color: #F2F2F2;
}

.risk_bg {
    background-color: #CFCED0;
}

.index_type {
    background-color: #F2F2F2;
    padding: 25px;
    border-radius: 15px;
    height: 100%;
}

.index_type_bg {}

.index_type h3 {
    color: #8A036D;
    font-size: 24px;
    font-weight: bold;
}

.index_type p {
    color: #525252;
    font-size: 16px;
}

.index_type h4 {
    color: #525252;
    font-size: 16px;
}

.index_type_list {}

.index_type_list li {
    font-size: 16px;
    color: #525252;
    padding-left: 15px;
    position: relative;
}

.index_type_list li::before {
    content: "●";
    font-size: 11px;
    color: #8A036D;
    position: absolute;
    left: 1%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.index_type_img {
    text-align: right;
}

.consultation_item_img {
    text-align: center;
}

.consultation_item_img img {
    max-width: 100%;
}

.consultation_item h3 {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #525252;

}

.consultation_item p {
    text-align: center;
    font-size: 16px;
    color: #525252;
}

.treatment_bg {
    background-color: #F2F2F2;
    padding: 35px 0;
}


.treatment_item_img {
    width: 100%;
    overflow: hidden;
    -webkit-border-top-left-radius: 15px;
    -webkit-border-top-right-radius: 15px;
    -moz-border-radius-topleft: 15px;
    -moz-border-radius-topright: 15px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    position: relative;
    overflow: hidden;
}

.treatment_item_img_mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.treatment_item_img img {
    width: 100%;
}

.treatment_item p {
    font-size: 16px;
    color: #525252;
    text-align: justify;
    padding: 15px;
    min-height: 200px;
}

.treatment_item h3 {
    color: #8A036D;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

.treatment_item {}

.treatment_item:hover>.treatment_item_img .treatment_item_img_mask {
    animation: load_2 1s ease-in-out 1;
    animation-fill-mode: forwards;

}

@keyframes load_2 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.2);
    }
}


.detection_bg {
    background-color: #F2F2F2;
    border-radius: 15px;
}

.detection_row {
    padding: 30px 15px;
}

.detection_row h3 {
    color: #8A036D;
    font-size: 24px;
    font-weight: bold;
}

.detection_row h4 {
    color: #525252;
    font-size: 16px;
}

.detection_row p {
    font-size: 16px;
    color: #525252;
}

.detection_row ul {}

.detection_row ul li {
    font-size: 16px;
    color: #525252;
    padding-left: 15px;
    position: relative;
}

.detection_row ul li::before {
    content: "●";
    font-size: 11px;
    color: #8A036D;
    position: absolute;
    left: 0%;
    top: 4px;
   /* transform: translate(-50%, -50%); */
}

.detection_btn {
    text-align: right;
}

.detection_btn a {
    display: inline-block;
    padding: 5px 20px;
    background-color: #8A036D;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    margin-right: 10px;
}

.detection_pd {
    margin-top: 45px;
}

.footer_img {
    margin-top: 60px;
    /* background-image: url(../img/footer_top.svg);
    background-position: top, center;
    background-repeat: no-repeat; */
    width: 100%;
    height: 284px;
    overflow: hidden;
}

footer {
    background-color: #51003F;
}

.community {
    margin: 0 3px;
}

.footer_data {
    display: flex;
    width: 100%;


}

.footer_logo {
    align-self: center;
    flex: 0 0;
    flex-basis: 180px;
}

.footer_logo a {
    display: block;
    max-width: 150px;
}

.footer_logo a img {
    width: 100%;
}

.incorporated {
    padding: 0 0 15px;
    width: 100%;
    font-size: 14px;
    color: #fff;
}

.footer_text {
    flex-grow: 2;
}

.web_map {}

.web_map a {
    font-size: 14px;
    color: #fff;
    display: inline-block;
    margin: 0 15px 0 0px;
}

.reserved {
    text-align: center;
    color: #fff;
    font-size: 12px;
    padding: 25px 0;
}

/*  */
.breadcrumbs {
    padding: 15px 0;
}

.breadcrumbs a {
    font-size: 16px;
    color: #8A036D;
}

.article {
    display: block;
    width: 100%;
    padding: 0 0 15px;
}

.article h2 {}

.article_tab {
    max-width: 900px;
}
.article_tab_tag {
    color: #8A036D;
    padding: 5px 10px;
    font-size: 16px;
    border-radius: 50px;
    border: 1px solid #8A036D;
}

.tag_active {
    background-color: #8A036D;
    color: #fff;
}

.article_tab .item {
    padding: 10px 0;
    display: inline-block;
    margin: 0 10px 0 0;
}

/*  */
.counselling_item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    margin: 0 0 30px;
    transition: all 0.3s;

}

.counselling_item_img {
    width: 100%;
    position: relative;
}

.counselling_article_mask {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    /* background-repeat: no-repeat;
    background-position: center;
    background-size: contain; */
    /* opacity: 0; */

    overflow: hidden;
    transform: scale(1);
}

.counselling_item_img img {
    width: 100%;
}

.counselling_item_text {
    padding: 15px;
}

.counselling_item_text h3 {
    color: #292929;
    font-size: 24px;
    font-weight: bold;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    /*行數*/
    -webkit-box-orient: vertical;
    white-space: normal;
    height: 58px;
}

.counselling_item_text p {
    color: #292929;
    font-size: 16px;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    /*行數*/
    -webkit-box-orient: vertical;
    white-space: normal;
    height: 73px;
}

.counselling_item:hover {
    box-shadow: 0px 0px 31px 0px rgba(0, 0, 0, 0.3);
}

.counselling_item:hover>.counselling_item_text h3 {
    color: #8A036D;
}

.counselling_item:hover>.counselling_item_img .counselling_article_mask img {
    transition: all 0.5s;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    /* background-repeat: no-repeat;
    background-position: center;
    background-size: 150%; */
    transform: scale(1.5);
    /* display: block; */
    /* opacity: 1; */
}

/*  */
.page-item.disabled .page-link {
    color: #8A036D;
    pointer-events: none;
    cursor: auto;
    background-color: #F4ECF4;
    border-color: transparent;
    margin: 0 10px;
    font-size: 21px;
    cursor: pointer;
}

.page-link {
    color: #8A036D;
    pointer-events: none;
    cursor: auto;
    background-color: #F4ECF4;
    border-color: transparent;
    margin: 0 10px;
    font-size: 21px;
    border-radius: 5px;
    cursor: pointer;
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #8A036D;
    border-color: #8A036D;
}

.page-link:hover {
    color: #fff;
    background-color: #8A036D;
    border-color: #8A036D;
}

/*  */
.edit {}

.edit img {
    max-width: 100%;
}

.side_title {
    padding: 10px 0;
    border-bottom: 1px solid #CDCDCD;
}

.side_tag {
    padding: 10px 0;
}

.side_tag a {
    font-size: 12px;
    color: #7C7C7C;
    border: 1px solid #7C7C7C;
    border-radius: 50px;
    padding: 5px 15px;

}

.side_tag a:hover {
    font-size: 12px;
    color: #8A036D;
    border: 1px solid #8A036D;
}

.side_list {}

.side_list li {
    border-bottom: 1px solid #CDCDCD;
}

.side_list li a {
    padding: 10px 0;
    display: block;
    width: 100%;
    font-size: 16px;
    color: #7C7C7C;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: all 0.3s;
}

.side_list li a:hover {
    color: #8A036D;
}

/*  */
.share_item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    margin: 0 0 30px;
    transition: all 0.3s;
    border: 1px solid #D7D7D7;
}

.share_item_img {
    width: 100%;
    position: relative;
}

.share_item_img img {
    width: 100%;
}
.share_item_mask {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    /* background-repeat: no-repeat;
    background-position: center;
    background-size: contain; */
    /* opacity: 0; */
    overflow: hidden;
    transform: scale(1);
}
.share_item:hover >.share_item_img .share_item_mask img {
    transition: all 0.5s;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    /* background-repeat: no-repeat;
    background-position: center;
    background-size: 150%; */
    transform: scale(1.5);
    /* display: block; */
    /* opacity: 1; */
}
.share_item_text {
    padding: 15px;
}

.share_item_text h3 {
    color: #292929;
    font-size: 24px;
    font-weight: bold;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    /*行數*/
    -webkit-box-orient: vertical;
    white-space: normal;
    height: 58px;

}

.share_item_text p {
    color: #292929;
    font-size: 16px;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    /*行數*/
    -webkit-box-orient: vertical;
    white-space: normal;
    height: 73px;
}

.share_item:hover {
    border: 1px solid #8A036D;
}

.share_item:hover>.share_item_text h3 {
    color: #8A036D;
}

.share_item_btn {
    text-align: center;
}

.share_item_btn {
    text-align: center;
}

.share_item_btn a {
    font-size: 16px;
    color: #8A036D;
    background-color: #F4ECF4;
    border-radius: 50px;
    padding: 5px 25px;
}

.share_fix {
    background-color: rgba(0, 0, 0, 0.3);
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    display: none;
}

.share_row {
    width: 980px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 55px;
    border-radius: 25px;
    height: 100%;
    max-height: 700px;
}

.share_edit {
    overflow-y: auto;
    height: 600px;
}

.share_edit_title h4 {
    color: #464646;
    font-size: 18px;

}

.share_edit_title h2 {
    color: #8A036D;
    font-size: 40px;

}

.share_edit_title {
    border-bottom: 1px solid #981F75;
    margin: 0 0 25px;
}

.share_edit img {
    max-width: 100%;
}

.share_fix_close {
    width: 30px;
    display: block;
    position: absolute;
    top: 25px;
    right: 25px;
}

.share_fix_close img {
    width: 100%;
}

.dk {
    display: block;
}

.mo {
    display: none;
}

/*  */
/*  */

  .box {
    width: 100%;
    height: 284px;
    /* box-shadow: 0 2px 30px rgba(black, .2); */
    /* background: lighten(#f0f4c3, 10%); */
    position: relative;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
  }
  
  .wave {
    /*  opacity: .4; */
    position: absolute;
    /* background: #0af; */
    width: 550vw;
    height: 550vw;
    /* margin-left: -250px; */
    /* margin-top: -250px; */
    left: -225%;
    top: 55%;
    /* transform: translate(-50%, -50%); */
    transform-origin: 50% 50%;
    border-radius: 49%;
    /* animation: drift 1000ms infinite linear; */
  }
  .wave.-one {
    animation: drift 3000ms infinite linear;
    background: #FFAFED;
  }
  .wave.-two {
    animation: drift 5000ms infinite linear;
    /* opacity: .1; */
    background: #BC299B;
  }

  .wave.-three {
    animation: drift 7000ms infinite linear;
    background: #8A036D;
  }
  .wave.-four {
    animation: drift 9000ms infinite linear;
    background: #51003F;
  }
 
  
  .box:after {
    content: '';
    display: block;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(#e8a, 1), rgba(#def, 0) 80%, rgba(white, .5));
    z-index: 11;
    transform: translate3d(0, 0, 0);
  }
  

  @keyframes drift {
    from { transform: rotate(0deg); }
    from { transform: rotate(360deg); }
  }
  .link_a{
    display: inline-block;
    color: #8A036D;
    font-weight: bold;
    font-size: 16px;
  }
  .js-scroll{
    position: fixed;
    width: 100%;
    left: 0;
    top: 65px;
    z-index: 99;
  }
  .share_icon_img{
    width: 30px;
    display: inline-block;
    cursor: pointer;
}
.share_icon_img img{
    width:100%;
}
.share_edit .share_icon{
    padding: 0 0 15px;
}
/*  */
@media (max-width: 992px) {
    .js-scroll{
        position: inherit;
        width: inherit;
        left: inherit;
        top:inherit;
        z-index:inherit;
      }
    .wave {
        /* opacity: .4; */
        position: absolute;
        top: 50%;
        left: -110%;
        /* background: #0af; */
        width: 1200px;
        height: 1200px;
        /* margin-left: -250px; */
        /* margin-top: -250px; */
        transform-origin: 50% 48%;
        border-radius: 50%;
        animation: drift 3000ms infinite linear;
    }
    .dk {
        display: none;
    }

    .mo {
        display: block;


    }

    .treatment_item h3 {
        color: #8A036D;
        font-size: 24px;
        font-weight: bold;
        text-align: center;
        padding: 15px 0 0;
    }

    .treatment_item p {
        font-size: 16px;
        color: #525252;
        text-align: justify;
        padding: 15px;
        min-height: initial;
    }

    .nav_top {
        padding: 0;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 999;
    }

    .big {
        font-size: 40px;
        text-align: center;
        color: #464646;
        font-weight: bold;
    }

    .ahi_row {
        display: block;
        width: 100%;
    }

    .ahi_text {
        display: inline-block;
        flex-grow: 2;
        padding: 0 0 15px;
    }

    .ahi {
        background-color: #F2F2F2;
        padding: 30px;
        border-radius: 15px;
    }

    .ahi_text h3 {
        color: #8A036D;
        font-weight: bold;
        text-align: center;
    }

    .know_line {
        border-left: transparent;
        border-bottom: 1px solid #8A036D;
    }

    .know_row {
        padding: 15px;
    }

    .index_type_img {
        text-align: center;
    }

    .index_type_img img {
        width: 100%;
    }

    .index_type {
        background-color: #F2F2F2;
        padding: 25px;
        border-radius: 15px;
        height: 100%;
        margin: 0 0 15px;
    }

    .footer_data {
        display: block;
        width: 100%;
    }

    .footer_logo {
        align-self: inherit;
        flex: inherit;
        flex-basis: initial;
        text-align: center;
        width: 100%;
        padding: 0px 0 30px;
    }

    .footer_logo a {
        display: block;
        max-width: 150px;
        margin: 0 auto;
    }

    footer {
        background-color: #51003F;
        padding: 0 0 80px;
    }

    .share_row {
        width: 100%;
        position: absolute;
        left: 0;
        top: 0;
        transform: initial;
        background-color: #fff;
        padding: 30px 15px;
        border-radius: 0;
        height: 100%;
    }

    .share_fix_close {
        width: 20px;
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
    }

    .nav_top_data_text {
        display: inline-block;
        font-size: 11px;
        color: #fff;
        text-decoration: underline;
        text-underline-offset: 0.3em;
        display: none;
    }

    .nav_top_data_icon {
        display: inline-block;
        vertical-align: text-bottom;
        width: 30px;
    }

    .nav_top_data_icon img {
        width: 100%;

    }

    .nav_top_data a {
        cursor: pointer;
        display: block;
        padding: 10px 0;
    }
    nav .brand {
        display: block;
        position: relative;
        width: 230px;
        top: 15px;
    }
}