@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body,
main {
    background: #dacae2 !important;
}

.main {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 400;
    max-width: 100%;
    margin: 0 auto;
    letter-spacing: 1px;
    overflow: hidden;
}

img {
    max-width: 100%;
}

sup {
    font-size: 12px;
}

.banner img {
    width: 100%;
}

.bb .pop,
.bt img,
.tt img,
.name {
    max-width: none;
    width: auto;
}

.bt img {
    max-height: 175px;
}

.tt {
    text-align: center;
}

tt img {
    max-height: 145px;
}

.aa {
    position: relative;
    max-width: 1920px;
    margin: 0 auto;
}

.aa .bt {
    position: absolute;
    width: 100%;
    bottom: 10%;
    display: flex;
    margin: 0 20px;
    gap: 20px;
}

.aa .bt a {
    flex: 1;
}

.aa .bt a:first-child {
    text-align: right;
}

.aa .bt img {
    max-width: 100%;
}

.bb {
    background: url(../images/bg6.webp) top center no-repeat;
    background-size: 100% 100%;
    padding-bottom: 150px;
}

.bb .content {
    max-width: 1460px;
    margin: 0 auto;
}

.bb .pop {
    max-height: 192px;
}

.bb ul {
    font-size: 30px;
    color: #39165c;
    list-style: none;
    margin-top: 10px;
    margin-left: 7%;
    padding: 0;
}

.bb ul li {
    position: relative;
    margin-left: 25px;
}

.bb ul li::before {
    position: absolute;
    content: "•";
    left: -30px;
}

.bb p {
    font-size: 22px;
    margin-top: 10px;
    margin-left: 20px;
}

.teacher {
    margin-left: 2%;
    margin-right: 2%;
    padding: 80px 0 40px 32%;
    background: url(../images/teacher.webp) no-repeat;
    background-size: 35%;
    background-position: 0 40%;
}

.doctor {
    margin-left: 6%;
    margin-right: 6%;
    padding: 15% 32% 30px 0;
    background: url(../images/doctor.webp) no-repeat;
    background-size: 40%;
    background-position: 95% 65%;
}

.name {
    max-height: 74px;
    border: 0;
    margin-top: 30px;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0 1% 0 2%;
}

.video {
    background: white;
    background: linear-gradient(to right, rgba(89, 19, 124, 1) 0%, rgba(150, 63, 193, 1) 50%, rgba(89, 19, 124, 1) 100%);
    padding: 15px;
    border-radius: 40px;
    position: relative;
    flex: 48%;
    flex-grow: 0;
    margin-bottom: 100px;
    position: relative;
}


.video::after {
    position: absolute;
    content: "";
    background: white;
    border-radius: 37px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    left: 3px;
    top: 3px;
}

/*.video:hover::before {
    position: absolute;
    content: "";
    background: #39165c;
    background-size: 100% 100%;
    border-radius: 37px;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 2;
    opacity: .5;
}*/

.video.off .bt {
    display: none;
}

.video h3,
.video .embed,
.video .bt {
    position: relative;
    z-index: 1;
}

.embed {
    position: relative;
    margin: 0;
    width: 100%;
    overflow: hidden;
    padding-top: 56%;
    /* 16:9 Aspect Ratio */
    border-radius: 28px;
    border: 3px solid #F3D176;
    background-color: #F3D176;
    z-index: 1;
}

.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 28px;
}

.video .bt {
    position: absolute;
    width: 100%;
    text-align: center;
    left: 0;
    top: calc(100% - 15px);
    z-index: 3;
}

.video h3 {
    color: #6b2a8b;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
}

.video h3 span {
    color: #c68ee2;
    font-weight: 400;
}

.video .bt img {
    max-height: 100px;
}

.cc .bt img {
    max-height: 160px;
}

.cc {
    background: url(../images/bg3.webp) top center no-repeat;
    background-size: 100% 100%;
    padding-top: 20%;
    padding-bottom: 8%;
}

.cc .content {
    margin: 0 5%;
    text-align: center;
}

.cc .bt {
    text-align: center;
    margin-top: 20px;
}

.dd {
    background: url(../images/bg4.webp) top center no-repeat;
    background-size: 100% 100%;
    padding-top: 20px;
    padding-bottom: 8%;
}

.dd .content {
    margin: 0 auto;
    max-width: 1350px;
}

.ee {
    background: url(../images/bg5.webp) top center no-repeat;
    background-size: 100% 100%;
    padding-top: 20px;
    padding-bottom: 8%;
    color: white;
}

.ee .content {
    margin: 0 5%;
}

.ee h3 {
    font-size: 22px;
    color: #ffe49e;
    margin-top: 30px;
}

.ee p,
.ee ol {
    margin-left: 20px;
}

.mobile {
    display: none;
}

@media screen and (max-width: 1700px) {
    .aa .bt {
        width: auto;
    }
}

@media screen and (max-width: 1400px) {

    .bb .pop,
    .bt img,
    .tt img,
    .name {
        max-width: 100%;
    }
}


@media screen and (max-width: 1200px) {
    .bb .pop {
        max-height: 150px;
    }

    .bb .doctor .pop {
        max-height: 100px;
    }

    .bb ul {
        font-size: 26px;
    }

    .name {
        max-height: 40px;
    }

    .bb p {
        font-size: 18px;
    }

    .cc .bt img {
        max-height: 100px;
    }

    .video .bt img {
        max-height: 80px;
    }
}

@media screen and (max-width: 1000px) {
    .bb ul {
        font-size: 20px;
    }

    .bb .pop {
        max-height: 100px;
    }

    .bb p {
        margin-left: 10px;
    }

    .name {
        max-height: 30px;
        margin-top: 20px;
    }

    .doctor,
    .teacher {
        padding-bottom: 20px;
    }

    .doctor {
        padding-top: 10%;
    }

    .video {
        flex: 47%;
        flex-grow: 0;
        margin-bottom: 50px;
    }

    .video h3 {
        font-size: 20px;
    }

    .video .bt {
        bottom: -30px;
    }

    .video .bt img {
        max-height: 60px;
    }
}

@media screen and (max-width: 767px) {
    .pc {
        display: none;
    }

    .main .mobile,
    .mobile {
        display: block;
    }

    .aa .bt {
        display: block;
        margin: 0 10%;
        bottom: 5%;
    }

    .aa .bt a {
        display: block;
        margin-top: 10px;
    }

    .flex {
        display: block;
        margin: 0 2%;
    }

    .video {
        border-radius: 30px;
        margin-bottom: 80px;
    }

    .video.off::before {
        border-radius: 30px;
    }

    .video::after {
        border-radius: 28px;
    }

    .video:hover::before {
        display: none;
    }

    .responsive-iframe,
    .embed {
        border-radius: 20px;
    }

    .cc .bt img,
    .bt img {
        max-height: none;
        max-width: 100%;
    }

    .cc .bt {
        left: 15%;
        width: 70%;
    }

    .cc .bt {
        margin-left: 15%;
    }

    .video .bt {
        bottom: -30px;
    }

    .bb ul {
        font-size: 14px;
    }

    .bb ul li {
        margin-left: 15px;
    }

    .bb ul li::before {
        left: -15px;
    }

    .bb p {
        font-size: 13px;
    }

    .bb .teacher p br {
        display: none;
    }

    .name {
        max-height: 25px;
        margin-top: 10px;
    }

    .teacher {
        padding-top: 30px;
        padding-bottom: 0;
    }

    .bb {
        background: url(../images/bg6-m.webp) top center no-repeat;
        background-size: 100% 100%;
        padding-bottom: 80px;
    }

    .doctor {
        margin-left: 2%;
        margin-right: 2%;
        background-position: 95% 75%;
        padding-bottom: 0;
    }

    .cc {
        background: url(../images/bg3-m.webp) top center no-repeat;
        background-size: 100% 100%;
    }

    .dd {
        background: url(../images/bg4-m.webp) top center no-repeat;
        background-size: 100% 100%;
    }

    .ee {
        background: url(../images/bg5-m.webp) top center no-repeat;
        background-size: cover;

    }

    .ee .content {
        margin-left: 2%;
        margin-right: 2%;
    }

    .ee h3 {
        font-size: 18px;
    }

    .ee p,
    .ee ol {
        margin-left: 10px;
        font-size: 14px;
    }

    .tt {
        overflow: hidden;
    }

    .tt img {
        max-width: 120%;
        position: relative;
        left: -10%;
    }
}

@media screen and (max-width: 550px) {}

@media screen and (max-width: 370px) {}

div.video {
    position: relative;
}
div.video .mask{
    position: absolute;
    left: 0;
    top: 0;
    z-index: 999999;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);;
}