/*--------------------------------------pt1-------------------------------------------------*/
.pt1 {
    background-color: #f5df92;
    overflow: hidden;
}

.a01box {
    width: var(--box-width);
    margin: 1em auto;
    padding: 1em;
    background: #fff;
    border-radius: 15px;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: stretch;
       -moz-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    -webkit-justify-content: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
}

.a01-1 {
    margin: .2em;
    width: -webkit-calc((100% - .8em)/2);
    width: -moz-calc((100% - .8em)/2);
    width: calc((100% - .8em)/2);
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
}

.a01-L {
    width: 38%;
}

.a01-R {
    width: 58%;
}

.a01-R>h4 {
    color: #52227a;
    font-size: 1.2em;
}

.a01-R ul {
    margin: 0;
}

.a01-R li {
    position: relative;
    font-size: .8em;
    padding-left: 1.2em;
}

.a01-R li::before {
    content: '◎';
    position: absolute;
    top: 0;
    left: 0;

}

@media all and (max-width:768px) {
    .a01-L {
        width: 35%;
    }

    .a01-R {
        width: 64%;
    }
}

@media all and (max-width:576px) {
    .a01-1 {
        width: -webkit-calc((100% - .8em)/1);
        width: -moz-calc((100% - .8em)/1);
        width: calc((100% - .8em)/1);
    }

    .a01-R {
        width: 60%;
    }
}

@media all and (max-width:425px) {}

@media all and (max-width:375px) {

    .a01-L {
        width: 30%;
    }

    .a01-R {
        width: 68%;
    }
}


/*--------------------------------------#pt1-------------------------------------------------*/

/*--------------------------------------pt2-------------------------------------------------*/
.pt2 {
    background: #fbf2d3;
    overflow: hidden;
}

.b01title {
    position: relative;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    width: 80%;
    margin: 0 auto -1.8em;
    -webkit-align-items: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    z-index: 2;
}

.b01tit-L {
    width: 22%;
}

.b01tit-R {
    position: relative;
    width: 77%;
    margin-bottom: 1em;
}


.b01tit-R h2 {
    font-size: 2.5em;
    font-family: "DFMingStd" !important;
    color: #52227a;
}

.b01tit-R h3 {
    width: 100%;
    padding: 5px 0em;
    font-family: "DFMingStd" !important;
    color: #fff;
    background: #52227a;
    font-size: 2em;
    text-align: center;
}

.b01tit-R h3 span {
    font-family: "DFMingStd" !important;
    color: #f5df92;
}

@media all and (max-width:768px) {
    .b01tit-L {
        display: none;
    }

    .b01tit-R {
        width: 100%;
        margin-bottom: 1.5em;
    }

    .b01tit-R h3 {
        width: 100%;
        padding: 5px 1em;
    }

    .b01tit-R h2 {
        font-size: 2em;
        text-align: center;
    }
}

@media all and (max-width:576px) {}

@media all and (max-width:425px) {}

@media all and (max-width:375px) {}



/* -------------------心測開始----------------------- */
.testbox {
    width: var(--box-width);
    margin: 0 auto;
}

/* 開始頁面 */
.Qstartbox {
    position: relative;
    background: url(../img/page1/b01-1.png) center/cover no-repeat;
    /* display: flex;
    align-items: center;
    justify-content: center; */
    color: #000;
    padding: 1em 0em;
    border-radius: 15px;
    border: 2px solid #000;
}

.Qstart-p {
    position: relative;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 1em auto;
    text-align: center;
}

.QstartI {
    position: absolute;
    top: 50%;
    left: -8em;
    -webkit-transform: translateY(-50%);
       -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 40%;
}

.QstartI:nth-child(4) {
    left: unset;
    right: -8em;
}

.Qstart-p h3 {
    font-size: 2.5em;
    font-family: "DFMingStd" !important;
    color: #52227a;
}

@media all and (max-width:768px) {}

@media all and (max-width:576px) {
    .testbox {
        width: 90%;
    }

    .QstartI {
        left: -5em;
        width: 30%;
    }

    .QstartI:nth-child(4) {
        left: unset;
        right: -5em;
    }
}

@media all and (max-width:425px) {}

@media all and (max-width:375px) {}


/* 開始按鈕 */
.Qstart-a {
    position: absolute;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    margin: 0 auto;
    bottom: -2em;
    left: 50%;
    -webkit-transform: translateX(-50%);
       -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
}

.Qstart-a:hover a {
    box-shadow: 0px 0px 2px 1px #6809fb;
    -webkit-transform: scale(.9);
       -moz-transform: scale(.9);
        -ms-transform: scale(.9);
            transform: scale(.9);
    -webkit-transition: all .15s ease-in-out;
    -moz-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
}

.Qstart-a:hover i {
    -webkit-animation: forwards;
       -moz-animation: forwards;
            animation: forwards;
}

.Qstart-a a {
    display: block;
    background: -webkit-linear-gradient(left, #e20062 0%, #6809fb 100%);
    background: -moz-linear-gradient(left, #e20062 0%, #6809fb 100%);
    background: linear-gradient(to right, #e20062 0%, #6809fb 100%);
    border-radius: 40px;
    padding: 5px;
    color: #fff;
    box-shadow: 1px 4px 9px #6809fb;
}

.Qstart-a span {
    display: block;
    background: -webkit-linear-gradient(left, #e20062 0%, #6809fb 100%);
    background: -moz-linear-gradient(left, #e20062 0%, #6809fb 100%);
    background: linear-gradient(to right, #e20062 0%, #6809fb 100%);
    padding: 2px 1.5em;
    font-size: 1.2em;
    border-radius: 40px;
    border: 2px solid #fff;
}

.Qstart-a i {
    margin-left: .5em;
    -webkit-animation: Qstart-a 2s linear infinite;
       -moz-animation: Qstart-a 2s linear infinite;
            animation: Qstart-a 2s linear infinite;
}

@-webkit-keyframes Qstart-a {
    0% {
        -webkit-transform: translateX(0%);
                transform: translateX(0%);
    }

    50% {
        -webkit-transform: translateX(50%);
                transform: translateX(50%);
    }

    100% {
        -webkit-transform: translateX(0%);
                transform: translateX(0%);
    }
}

@-moz-keyframes Qstart-a {
    0% {
        -moz-transform: translateX(0%);
             transform: translateX(0%);
    }

    50% {
        -moz-transform: translateX(50%);
             transform: translateX(50%);
    }

    100% {
        -moz-transform: translateX(0%);
             transform: translateX(0%);
    }
}

@keyframes Qstart-a {
    0% {
        -webkit-transform: translateX(0%);
           -moz-transform: translateX(0%);
                transform: translateX(0%);
    }

    50% {
        -webkit-transform: translateX(50%);
           -moz-transform: translateX(50%);
                transform: translateX(50%);
    }

    100% {
        -webkit-transform: translateX(0%);
           -moz-transform: translateX(0%);
                transform: translateX(0%);
    }
}

@media all and (max-width:768px) {}

@media all and (max-width:576px) {}

@media all and (max-width:425px) {}

@media all and (max-width:375px) {}

/* 測驗題目頁面 */
#question {
    display: none;
    margin: 0em auto;
    padding: 2em 3em;
    background: #f2ecea;
    border-radius: 15px;
    border: 2px solid #000;
}

.ifr-title {
    width: 100%;
    color: #d60050;
    text-align: center;
    line-height: 2;
    border-bottom: 1px solid #d60050;
}

.ifr-title h3 {
    font-family: "DFMingStd" !important;
}

.quest {
    margin: 2em 0;
}

.quest h4,
#question>h6 {
    color: #52227a;
}

.quest label {
    display: inline;
}

@media all and (max-width:768px) {}

@media all and (max-width:576px) {
    #question {
        padding: 2em;
    }

}

@media all and (max-width:425px) {}

@media all and (max-width:375px) {}

/* 送出按鈕 */
.answerSure {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
}

.answerSure a {
    display: block;
    background: -webkit-linear-gradient(left, #e20062 0%, #6809fb 100%);
    background: -moz-linear-gradient(left, #e20062 0%, #6809fb 100%);
    background: linear-gradient(to right, #e20062 0%, #6809fb 100%);
    border-radius: 40px;
    padding: 5px;
    color: #000;
    box-shadow: 1px 4px 9px #6809fb;
}

.answerSure a:hover {
    box-shadow: 0px 0px 2px 1px #6809fb;
    -webkit-transform: scale(.9);
       -moz-transform: scale(.9);
        -ms-transform: scale(.9);
            transform: scale(.9);
    -webkit-transition: all .15s ease-in-out;
    -moz-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
}

.answerSure span {
    display: block;
    background: -webkit-linear-gradient(left, #e20062 0%, #6809fb 100%);
    background: -moz-linear-gradient(left, #e20062 0%, #6809fb 100%);
    background: linear-gradient(to right, #e20062 0%, #6809fb 100%);
    padding: 0px 1.5em;
    font-size: 1.2em;
    border-radius: 40px;
    border: 2px solid #fff;
}

.answerSure i {
    cursor: pointer;
    display: none;
    margin-left: .5em;
}

@media all and (max-width:768px) {}

@media all and (max-width:576px) {}

@media all and (max-width:425px) {}

@media all and (max-width:375px) {}

/* 院所標題 */
.testh3 {
    position: relative;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0em auto;
}

.testh3>h3 {
    font-family: "DFMingStd" !important;
    color: #d60050;
    text-align: center;
    font-size: 2em;
}

.testh3img {
    position: absolute;
    bottom: 0em;
    right: -85px;
    width: 20%;
}

@media all and (max-width:576px) {
    .testh3img {
        bottom: 2em;
        right: -60px;
        width: 25%;
    }
}

@media all and (max-width:425px) {}

@media all and (max-width:375px) {}

/* -------------------院所篩選----------------------- */
.schoolbox {
    margin: 2em auto;
    /* display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start; */
}

.schoolbox>small {
    display: block;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 1em auto;
}

/* -----標籤頁tab------ */
.schoolbox .tab {
    /* overflow: hidden; */
    width: 100%;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
}

.tablinks {
    width: -webkit-calc((100% - 2em)/5);
    width: -moz-calc((100% - 2em)/5);
    width: calc((100% - 2em)/5);
    margin: .2em;
    padding: 5px;
    background: -webkit-linear-gradient(left, #e20062 0%, #6809fb 100%);
    background: -moz-linear-gradient(left, #e20062 0%, #6809fb 100%);
    background: linear-gradient(to right, #e20062 0%, #6809fb 100%);
    cursor: pointer;
    text-align: center;
    color: #fff;
    border-radius: 40px;
    box-shadow: 1px 4px 9px #6809fb;
}


.tablinks span {
    display: block;
    background: -webkit-linear-gradient(left, #e20062 0%, #6809fb 100%);
    background: -moz-linear-gradient(left, #e20062 0%, #6809fb 100%);
    background: linear-gradient(to right, #e20062 0%, #6809fb 100%);
    padding: 0px 10px;
    font-size: 1em;
    border-radius: 40px;
    border: 2px solid #fff;
}

.tablinks span br {
    display: none;
}

.tablinks:hover {
    background: #f5df92;
    color: #52227a;
    -webkit-transform: translate(0.25em, 0.1em) scale(0.9);
       -moz-transform: translate(0.25em, 0.1em) scale(0.9);
        -ms-transform: translate(0.25em, 0.1em) scale(0.9);
            transform: translate(0.25em, 0.1em) scale(0.9);
    -webkit-transition: all .15s ease-in-out;
    -moz-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
}

.tablinks:hover span,
.tablinks.active span {
    background: #f5df92;
    border: 2px solid #52227a;
}

.tablinks.active {
    background: #f5df92;
    color: #52227a;
}

@media all and (max-width:768px) {
    .schoolbox .tab .tablinks {
        width: -webkit-calc((100% - 1.2em)/3);
        width: -moz-calc((100% - 1.2em)/3);
        width: calc((100% - 1.2em)/3);
        margin: .5em .2em;
    }
}

@media all and (max-width:576px) {
    .tablinks span {
        font-size: .9em;
    }
}

@media all and (max-width:425px) {

    .tablinks span {
        padding: 0px 2em;
        text-align: left;
        width: -webkit-fit-content;
        width: -moz-fit-content;
        width: fit-content;
        margin: 0 auto;
        font-size: 1em;
    }

    .tablinks span br {
        display: block;
    }
}

@media all and (max-width:375px) {}


/* ------答案區塊-------- */
.ansbox {
    width: 100%;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-justify-content: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    background: #f2ecea;
    padding: 1em;
    border: 2px solid #52227a;
    border-radius: 15px;
    -webkit-align-items: stretch;
       -moz-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
}

.ansbox>h3 {
    width: 100%;
    background: #52227a;
    text-align: center;
    border-radius: 10px;
    padding: .2em 0;
    font-size: 1.8em;
    color: #fff;
}

.title-ans {
    display: none;
    width: 100%;
    margin-bottom: .5em;
    text-align: center;
    font-size: 1.2em;
    color: #c7114d;
    border-bottom: 2px solid #c7114d;
}

.schans {
    /* width: 30%; */
    display: none;
    line-height: 2.8em;
}

/* 心測答案 */
.answer {
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    width: 70%;
    margin: 0 auto;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-align-items: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-align-content: flex-start;
        -ms-flex-line-pack: start;
            align-content: flex-start;
}

.anstop {
    width: 28%;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-justify-content: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.answerbox {
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    font-size: 3em;
    font-weight: 600;
    color: #c7114d;
    -webkit-justify-content: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    line-height: 1em;
}

.ans-1 {
    width: 100%;
}

/* 心測答案描述 */
.ansbot {
    width: 72%;
    color: #52227a;
    border-left: 2px dashed #52227a;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
}

.answerP {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
    font-size: 1.2em;
    text-align: left;
}



/* 院所答案 */
.school {
    width: 30%;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-align-items: flex-start;
       -moz-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    border-left: 2px solid #c7114d;
}

.tabcontent {
    display: none;
    -webkit-animation: fadeEffect 1s;
       -moz-animation: fadeEffect 1s;
            animation: fadeEffect 1s;
    width: 100%;
    margin: 0 auto;
    -webkit-align-items: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-justify-content: flex-start;
       -moz-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
}

@-webkit-keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-moz-keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


.stud-1 {
    width: 90%;
    margin: 0 auto;
}

@media all and (max-width:768px) {
    .answer {
        width: 100%;
        -webkit-align-items: stretch;
           -moz-box-align: stretch;
            -ms-flex-align: stretch;
                align-items: stretch;
    }

    .school {
        width: 100%;
        border-left: unset;
    }

    .title-ans {
        width: 100%;
        font-size: 1.5em;
    }


    .stud-1 {
        width: 85%;
        margin: 0 auto;
        font-size: 1.5em;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
            -ms-flex-wrap: wrap;
                flex-wrap: wrap;
    }

    .stud-1 li {
        width: 50%;
    }

    .table2 .stud-1 li,
    .table5 .stud-1 li {
        text-align: center;
    }

}

@media all and (max-width:576px) {
    .ansbox>h3 {
        font-size: 1.5em;
    }

    .answerP {
        font-size: 1em;
    }

    .title-ans>small {
        font-size: .5em;
    }

    .stud-1 {
        width: 100%;
        font-size: 1.2em;
    }

    .stud-1 li {
        width: 100%;
    }
}

@media all and (max-width:425px) {}

@media all and (max-width:375px) {}



/*--------------------------------------#pt2-------------------------------------------------*/


/*--------------------------------------pt3-------------------------------------------------*/
.pt3 {
    background: #f5df92;
    overflow: hidden;
}

/*--------------------------------------#pt3-------------------------------------------------*/