html,
body {
    background: url(../images/other-bg.jpg) top center repeat-y #1D1945;
    background-size: cover;
}

#kv{
    margin-bottom: 0;
}

/*--font-sppppppp--*/
.sp-tea01 {
    font-size: 2.188vw; /*-42-*/
    font-weight: bold;
    background: linear-gradient(90deg, #FFF 0%, #FFF491 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    letter-spacing: -0.06vw;
}

.sp-tea01+.xs-f{
    background: linear-gradient(90deg, #FFF 0%, #FFF491 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sp-tea02 {
    /*-20-*/
    font-size: 1.042vw;
}

.sp-tea03 {
    /*-16-*/
    font-size: 0.833vw;
}

.xs-f {
    font-size: 1.56vw;
}
/*--tab--*/
div.tabbox .tabNav{
    display: flex;
    justify-content: center;
    margin: var(--xxm) auto var(--xl);
    max-width: 1430px;
    width: 80vw;
}

div.tabbox .tabNav > button{
    padding: 1vw 2vw;
    border: 0.15vw solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    cursor: pointer;
    position: relative;
    border-radius: 1vw;
    margin: 0 1vw;
    opacity: 0.6;
    transition: 0.3s ease;
}

div.tabbox .tabNav > button.agenda-btn{
    position: relative;
    left: 15vw;
    border: none;
    opacity: 1;
    margin: 0;
    padding: 0;
    width: 21.45vw;
    filter: brightness(100%);
    transition: 0.3s ease;
}

div.tabbox .tabNav > button.agenda-btn:hover{
    filter: brightness(120%);
    transition: 0.3s ease;
}

div.tabbox .tabNav > button.is-active{
    border: 0.15vw solid rgba(255, 255, 255, 0.3);
    opacity: 1;
    transition: 0.3s ease;
}

div.tabbox .tabNav > button:nth-child(4).is-active{
    background: linear-gradient(180deg, #EC661A 11.11%, #FFE500 95.15%);
    color: #ffffff;
}

div.tabbox .tabNav > button:nth-child(1).is-active{
    background: linear-gradient(180deg, rgba(0, 141, 255, 0.70) 5.16%, rgba(0, 58, 104, 0.70) 95.15%);
    color: #ffffff;
}

div.tabbox .tabNav > button:nth-child(2).is-active{
    background: linear-gradient(180deg, rgba(153, 0, 255, 0.70) 7.94%, rgba(62, 0, 103, 0.70) 95.15%);
    color: #ffffff;
}

div.tabbox .tabNav > button:nth-child(3).is-active{
    background: linear-gradient(180deg, rgba(255, 0, 221, 0.70) 0%, rgba(88, 26, 80, 0.70) 100%);
    color: #ffffff;
}

.tab_contentA.is-active{
    display: block !important;
}

.tab_contentA{
    display: none !important;
}

.tabA01{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

/*--背景區域--*/
.tab_contentA > article{
    width: 84vw;
    max-width: 1600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto 2vw;
    background-size: contain;
    aspect-ratio: 1600 / 572;
}

.tab_contentA > article:nth-child(odd){
    align-items: flex-end;
    padding: 1vw 3vw 2vw 0;
}

.tab_contentA > article:nth-child(even){
    align-items: flex-start;
    padding: 1vw 0 2vw 3vw;
}

.tab_contentA > article.teacRight{
    align-items: flex-end;
    padding: 1vw 3vw 2vw 0;
}

.tab_contentA > article.teacLeft{
    align-items: flex-start;
    padding: 1vw 0 2vw 3vw;
}

.tab01-1{
    background: url(../images/teacher/1-1.png)top center no-repeat;
}

.tab01-2{
    background: url(../images/teacher/1-2.png)top center no-repeat;
}

.tab01-3{
    background: url(../images/teacher/1-3.png)top center no-repeat;
}

.tab01-4{
    background: url(../images/teacher/1-4.png)top center no-repeat;
}

.tab01-5{
    background: url(../images/teacher/1-5.png)top center no-repeat;
}

.tab01-6{
    background: url(../images/teacher/1-6.png)top center no-repeat;
}

.tab02-1{
    background: url(../images/teacher/2-1.png)top center no-repeat;
}

.tab02-2{
    background: url(../images/teacher/2-2.png)top center no-repeat;
}

.tab02-3{
    background: url(../images/teacher/2-3.png)top center no-repeat;
}

.tab02-4{
    background: url(../images/teacher/2-4.png)top center no-repeat;
}

.tab02-5{
    background: url(../images/teacher/2-5.png)top center no-repeat;
}

.tab02-6{
    background: url(../images/teacher/2-6.png)top center no-repeat;
}

.tab02-7{
    background: url(../images/teacher/2-7.png)top center no-repeat;
}

.tab02-8{
    background: url(../images/teacher/2-8.png)top center no-repeat;
}

.tab02-9{
    background: url(../images/teacher/2-9.png)top center no-repeat;
}

.tab03-1{
    background: url(../images/teacher/3-1.png)top center no-repeat;
}

.tab03-2{
    background: url(../images/teacher/3-2.png)top center no-repeat;
}

.tab03-3{
    background: url(../images/teacher/3-3.png)top center no-repeat;
}

.tab03-4{
    background: url(../images/teacher/3-4.png)top center no-repeat;
}

.tab03-5{
    background: url(../images/teacher/3-5.png)top center no-repeat;
}

.tab04-1{
    background: url(../images/teacher/4-1.png)top center no-repeat;
}

.tab04-2{
    background: url(../images/teacher/4-2.png)top center no-repeat;
}

.tab04-3{
    background: url(../images/teacher/4-3.png)top center no-repeat;
    padding: 0vw 3vw 2vw 0 !important;
}

.tab04-4{
    background: url(../images/teacher/4-4.png)top center no-repeat;
}

.tab04-5{
    background: url(../images/teacher/4-5.png)top center no-repeat;
}

.tab04-6{
    background: url(../images/teacher/4-6.png)top center no-repeat;
}

.tab04-7{
    background: url(../images/teacher/4-7.png)top center no-repeat;
}

.tab04-8{
    background: url(../images/teacher/4-8.png)top center no-repeat;
}


/*--tab_other--*/
.tea-text{
    text-align: justify;
    position: relative;
    width: 48.5vw;
}

.w-small{
    width: 42vw;
}

.tea-text > *{
    margin-bottom: 1vw;
}

.tea-time{
    background: url(../images/teacher/timedata-bg.png) top center no-repeat;
    background-size: contain;
    width: 32vw;
    max-width: 607px;
    aspect-ratio: 607 / 57;
    padding: 0.2vw 0vw 0vw 1vw;
    position: relative;
}

.tea-time span{
    display: inline-block;
    color: #FFE500;
}

.tea-time > p:first-child{
    font-weight: bold;
}

.tea-time > p:last-child{
    position: absolute;
    top: 1.3vw;
    right: 1.3vw;
}

.add-x{
    right: 0.8vw !important;
}

.add-s{
    right: 2.3vw !important;
}

.tea-about{
    width: 47vw;
    margin-bottom: 0;
}

/*--自訂卷軸--*/
.card-content {
    height: 11vw;
    padding-right: 0.5vw;
    text-align: justify;
    overflow-y: auto;
    overflow-x: hidden;
}

.card-content::-webkit-scrollbar {
    width: 0.3vw;
}

.card-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0.5vw;
    margin: 0.4vw 0;
}

.card-content::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        #d9d9d9,
        #bfbfbf
    );
    border-radius: 0.5vw;
}
/*--自訂卷軸_END--*/

@media screen and (min-width: 1921px) {
    .xxs-f {
        font-size: 1.15rem;
    }

    .xs-f {
        font-size: 0.95rem;
    }

    .sp-tea01 {
        font-size: 1.7rem;
        letter-spacing: -0.15rem;
    }

    .sp-tea02 {
        font-size: 0.7rem;
    }

    .sp-tea03 {
        font-size: 0.59rem;
    }

    .tab_contentA > article {
        width: 63rem;
        padding: 1rem 2rem 2rem 0;
    }

    .tea-text {
        width: 31rem;
    }

    .tea-text > * {
        margin-bottom: 0.6rem;
    }

    .tea-time {
        width: 24rem;
        padding: 0.2rem 0vw 0vw 1rem;
    }

    .tea-time > p:last-child {
        top: 1.1rem;
        right: 1.3rem;
    }

    .tea-time > p:last-child.add-x {
        right: 0.8rem;
        top: 1.1rem;
    }

    .tea-about{
        width: 31rem;
    }
}

@media screen and (max-width:767px) {
    #kv > picture{
        width: 200%;
        display: block;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    div.tabbox .tabNav > button {
        padding: 2vw;
        margin: 0 1vw 2vw;
        font-size: 2.7vw;
    }

    .xxs-f{
        /*-13-*/
        font-size: 2.031vw;
    }

    .sp-tea01 {
        /*-21-*/
        font-size: 3.281vw;
    }

    .tab01-1 .sp-tea01 > span,
    .tab01-2 .sp-tea01 > span,
    .tab01-3 .sp-tea01 > span{
        display: inline;
    }

    .sp-tea02 {
        /*-10-*/
        font-size: 1.563vw;
    }

    .w-small {
        width: 45vw;
    }

    .tea-about{
        display: none;
    }

    .tea-time{
        width: 43vw;
        padding: 0.3vw 0vw 0vw 2vw;
    }

    .tea-time > p:last-child {
        top: 1.8vw;
        right: 1.5vw;
    }

    .tea-time > p:last-child.add-x {
        right: 0.8vw;
        top: 1.8vw;
    }

    .card-content {
        height: 32vw;
        padding-right: 1vw;
    }

    .card-content::-webkit-scrollbar {
        width: 0.8vw;
    }

    .card-content::-webkit-scrollbar-track {
        margin: 1vw 0;
    }

}