:root {
    /*主色輔色 改色*/
    --main-color: #EDFF00;
    --sub-color: #FA590D;
    --sub2-color: #02D7C5;


    /*勿動*/
    --white-color: #fff;
    --black-color: #1e1e1e;
}

* {
    scroll-padding-top: 80px;
    letter-spacing: 1px;
}

.oswald {
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
}

.special-gothic {
    font-family: "Special Gothic Expanded One", sans-serif;
}


.text-justify {
    text-align: justify;
}

/* nav ---------- */
.navbar {
    background-color: #2C2C2C;
}

.nav-item a {
    color: var(--white-color);
    font-size: 1rem;
    line-height: 1rem;
    letter-spacing: 1px;
}

.nav-item a:hover {
    color: var(--sub-color);
}

.btn-ticket {
    background-color: var(--sub-color);
    color: var(--white-color);
    border: solid 2px var(--sub-color);
    border-radius: 2rem;
    padding: 0.75rem 1rem !important;
}

.btn-ticket:hover,
nav .btn-ticket:focus {
    background-color: var(--main-color);
    color: var(--black-color) !important;
    border: solid 2px var(--main-color);
}

nav .nav-link {
    margin-top: 0;
    margin-bottom: 0;
}

nav .mainlogo {
    display: flex;
    align-items: center;
}

nav .mainlogo img {
    max-width: 140px;
    text-align: left;
    padding-right: 5px;
}

nav .mainlogo img.school {
    max-width: 180px;
}

@media (max-width: 768px) {
    nav .navbar-collapse {
        display: flex;
    }

    nav .navbar-collapse .navbar-nav {
        width: 100%;
    }

    nav .nav-item {
        justify-content: center;
    }

    .nav-item a {
        font-size: 1rem;
        line-height: 1rem;
        padding: 1.25rem 0;
    }

    .nav-item a .sm-txt,
    .nav-item p .sm-txt {
        font-size: 13px;
    }

    .navbar-toggler,
    .navbar-toggler:focus,
    .navbar-toggler:active {
        padding: 2px;
        border: 0px;
    }

    .navbar img {
        width: 130px;
    }

    nav .mainlogo img.school {
        max-width: 130px;
    }

    nav .mainlogo img {
        max-width: 90px;
        height: auto;
    }

}

/* main ---------- */

#main .main-area {
    min-height: 600px;
}

#main img.main-title {
    left: 5%;
    top: 10%;
}

#main img.date {
    bottom: 5%;
    left: 5%;
}

#main #lottie-bg {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

@media (min-width: 1280px) {
    #main .main-area {
        min-height: 700px;
    }

    #main img.main-title {
        width: 50%;
        left: 5%;
        top: 10%;
    }
}

@media (max-width: 768px) {
    #main .main-area {
        min-height: 500px;
    }

    #main img.main-title {
        left: 0%;
        top: 10%;
    }

    #main img.date {
        bottom: 5%;
        left: 0%;
    }
}

/* sub-area ---------- */
#sub-area {
    background: url(../../images/pattern-03.svg), url(../../images/pattern-04.svg), var(--main-color);
    background-position: left top, right top, center;
    background-repeat: repeat-y;
    background-size: 170px, 70px;
}

@media (max-width: 768px) {
    #sub-area {
        padding: 5rem 0 3rem;
        background: url(../../images/pattern-03-sm.svg), url(../../images/pattern-04-sm.svg), var(--main-color);
        background-position: left top, right bottom, center;
        background-repeat: repeat-x;
        background-size: 340px, 100%;
    }
}

/* hlight ---------- */
/* #hlight {
    background: var(--main-color);
} */

#hlight h5 {
    font-weight: 400;
}

#hlight h5 span {
    font-size: 26px;
    font-weight: 700;
    color: var(--sub-color);
}

@media (max-width: 768px) {
    #hlight h5 {
        font-size: 16px;
    }

    #hlight h5 span {
        font-size: 21px;
    }
}

/* time ---------- */
#time {
    /* background: var(--main-color); */
    color: var(--white-color);
}

#time img {
    width: 80%;
    padding: 0;
}

#time .flex-l {
    flex-basis: 80%;
    background-color: #1E1E1E;
    /* border-radius: 10px; */
    padding: 1.5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

#time .flex h5.word {
    padding: 0 1rem;
}

#time input {
    background-color: #1E1E1E;
    border: none;
    color: #fff;
    font-size: 2.6rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
    max-width: 70px;
    line-height: 1;
    margin: 0 .8rem;
}

#time .time-w {
    font-size: 2.6rem;
    font-weight: 600;
    line-height: 1;
    padding: 10px .5rem;
}

@media (max-width: 992px) {
    #time .flex h5.word {
        padding: 0 .3rem;
    }

    #time input {
        font-size: 2rem;
        margin: 0 .3rem;
    }

    #time .time-w {
        font-size: 2rem;
        padding: 10px .3rem;
    }
}

@media (max-width: 768px) {
    #time {
        position: fixed;
        bottom: 0;
        z-index: 99;
        padding: 0;
    }

    #time img {
        width: 100%;
        padding: 0;
    }

    #time .flex-l {
        flex-basis: 100%;
        padding: 0.5rem 0;
        flex-wrap: wrap;
        margin: 0;
        border-radius: 0;
        justify-content: center;
    }

    #time .flex-l h5 {
        width: 100%;
    }

    #time input {
        margin: 0 0rem;
        font-size: 1.5rem;
        padding: 4px 8px;
    }

    #time form p {
        margin: 0 0rem;
        font-size: .5rem;
    }

    #time form>div {
        margin: 0;
    }

    #time .btn-ticket {
        padding: 6px 12px !important;
    }
}


#hlight2 {
    background: linear-gradient(to right, #1e1e1e00 0%, #1e1e1eba 70%), url(../../images/bg-spk.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--white-color);
}


#hlight2 ul li {
    font-size: 18px;
    font-weight: 400;
    margin-top: 6px;
}

@media (min-width: 1280px) {
    #hlight2 img.speaker {
        width: 390px;
    }
}

@media (max-width: 768px) {
    #hlight2 {
        height: 750px;
    }
}

#hlight4 {
    background: url(../../images/pattern-07.svg), url(../../images/pattern-08.svg);
    background-position: top left, bottom right;
    background-repeat: no-repeat;
    background-size: 140px, 140px;
}

#hlight3 {
    background: #BBCBC1;
}

#hlight4 .unit-title::after,
#hlight3 .unit-title::after {
    content: '';
    background: url(../../images/quote-l.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 50%;
    left: 0;
    width: 32px;
    height: 96px;
    transform: translateY(-50%);
}

#hlight4 .unit-title::before,
#hlight3 .unit-title::before {
    content: '';
    background: url(../../images/quote-r.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 50%;
    right: 0;
    width: 32px;
    height: 96px;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    #hlight4 {
        background: unset;
    }
}



/* 課綱／議程[華麗式] */
#agenda7 {
    background: #F5F5F5;
}

#agenda7 h6 span.hashtag {
    padding: 3px 10px;
    background-color: #f2f2f2;
    border: 1px solid #1e1e1e;
    color: #1e1e1e;
    /* border-radius: 100px; */
}

#agenda7 .time {
    font-weight: 300;
    font-size: 1.5rem;
}

#agenda7 .sub-title {
    background-color: #DE3C2F;
    padding: 5px 15px 5px 5px;
    color: #fff;
}

#agenda7 .title {
    color: var(--black-color);
    padding: 6px 8px;
    margin-top: 1rem;
    background: linear-gradient(to right, #03D3C0, #83EB57, #EDFF00);
}

#agenda7 .sub-title.color2 {
    background-color: #2B48B3;
    padding: 5px 15px 5px 5px;
    color: #fff;
}

#agenda7 .title.color2 {
    color: var(--black-color);
    padding: 6px 8px;
    margin-top: 1rem;
    background: linear-gradient(to right, #03D3C0, #83EB57, #EDFF00);
}

#agenda7 .agenda-CTA:hover {
    transform: scale(1.05);
    transition: .05s linear;
}

@media (max-width: 768px) {
    #agenda .agenda-info {
        order: 1;
    }

    #agenda7 .agenda-video {
        order: 2;
    }

    /* #agenda7 .agenda-CTA {
        order: 3;
    } */
}

/* list ---------- */

#list {
    background: url(../../images/pattern-05.svg), url(../../images/pattern-06.svg);
    background-position: left top, right top;
    background-repeat: repeat-y;
    background-size: 30px, 30px;
}

#list .list-table>div {
    background: #F7F7F7;
}

#list .list-table .hlight {
    background-color: var(--sub-color);
    color: var(--white-color);
}

#list .list-table .h-table::after {
    content: '';
    background: #E44900;
    height: 700%;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: -1;
}

#list .list-table .h-table::before {
    content: '';
    outline: .5rem solid var(--sub2-color);
    height: 700%;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 2;
}

@media (max-width: 768px) {
    #list {
        background: url(../../images/pattern-05.svg), url(../../images/pattern-06.svg);
        background-position: left top, right top;
        background-repeat: repeat-y;
        background-size: 10px, 10px;
    }

    #list .unit-title h2 {
        font-size: 1.5rem;
    }
}



/* 課程推薦－3堂 */
#recommend2 {
    background-color: #F6F3F6;
}

#recommend2 .image-link {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    overflow: hidden;
}

#recommend2 .image-link img {
    object-fit: cover;
}

#recommend2 .image-link:hover {
    transform: translateY(1rem);
    transition: all .25s linear;
    border-bottom: 6px solid var(--sub2-color);
}

#recommend2 .recommend-box {
    padding: 20px 0px 10px;
    position: relative;
    text-align: left;
    transition: .25s;
}

#recommend2 h4 {
    margin-top: -25px;
    text-align: center;
    position: absolute;
    left: 0;
    top: -220px;
    padding: 0px 15px;
    transition: .25s;
    color: var(--black-color);
    background: var(--main-color);
}

#recommend2 .btn-a {
    width: 100%;
    font-size: 20px;
    line-height: 40px;
    font-weight: 600;
    background-color: var(--sub-color);
    cursor: pointer;
    height: 50px;
    text-align: center;
    border: none;
    border-radius: 0;
    background-size: 300% 100%;
    transition: all .4s ease-in-out;
}

#recommend2 .btn-a:hover {
    background-position: 100% 0;
    background-color: var(--black-color);
    transition: all .4s ease-in-out;
}

#recommend2 .btn-a:focus {
    outline: none;
}

@media (max-width: 768px) {
    #recommend2 h4 {
        top: -181px;
        text-align: start;
    }

    #recommend2 .btn-a {
        height: auto;
    }
}

/* 課程資訊－一般B */
#infomation3,
#qna {
    background: url(../../images/agenda-bg.png), #282828;
    background-position: left top;
    background-repeat: repeat-y;
    background-size: 25px;
    color: var(--white-color);
}

#infomation3 .co-qa {
    color: var(--main-color);
}

#infomation3 .btn-sold .sold01 {
    background: linear-gradient(to right bottom, #03D3C0, #20948B);
    padding: 1.5rem;
    border-radius: 3px;
    color: var(--black-color);
}

#infomation3 .btn-sold .hotsold {
    background: linear-gradient(to right bottom, #EDFF00, #CADA00);
    padding: 1.5rem;
    margin-top: 0;
    border-radius: 3px;
    color: var(--black-color);
}

#infomation3 .btn-sold .sold-normal {
    background: linear-gradient(to right bottom, #FFFFFF, #FBFFC3);
    padding: 1.5rem;
    border-radius: 3px;
    color: var(--black-color);
}

#infomation3 .btn-sold .sold-normal:hover,
#infomation3 .btn-sold .sold-normal:focus,
#infomation3 .btn-sold .hotsold:hover,
#infomation3 .btn-sold .hotsold:focus,
#infomation3 .btn-sold .sold01:hover,
#infomation3 .btn-sold .sold01:focus {
    background: linear-gradient(to right bottom, #FA590D, #c13f03);
    transition: .5s;
    color: #fff;
}

#infomation3 .btn-sold .sold-out {
    background: var(--white-color);
    padding: 1.5rem;
    border-radius: 3px;
    color: var(--black-color);
    position: relative;
    filter: opacity(0.5);
}

#infomation3 .btn-sold .sold-out::before {
    content: 'SOLD OUT';
    position: absolute;
    top: calc(50% - 18px);
    left: calc(50% - 50px);
    padding: 6px 12px;
    background-color: #EC5650;
    color: var(--white-color);
    transform: rotate(-20deg);
}

#infomation3 .btn-ticket {
    background-color: var(--main-color);
    color: var(--white-color);
    border: solid 2px var(--main-color);
    border-radius: 2rem;
    padding: .8rem 3.5rem !important;
}

#infomation3 .btn-ticket:hover,
#infomation2 .btn-ticket:focus {
    background-color: #EC5650;
    color: var(--white-color);
    border: solid 2px #EC5650;
}

.shine-button::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #03D3C0 50%, rgba(255, 255, 255, 0) 100%);
}

#infomation3 .btn-sold .sold01:hover.shine-button::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #ff7332 50%, rgba(255, 255, 255, 0) 100%);
}

@media (max-width: 768px) {

    #infomation3,
    #qna {
        background: url(../../images/agenda-top.svg), url(../../images/agenda-top.svg), #282828;
        background-position: left top, left bottom;
        background-repeat: repeat-x;
        background-size: 100%;
        color: var(--white-color);
        padding: 6rem 0;
    }
}



/* Marquee ---------- */
#Marquee {
    position: relative;
    background-image: url(../../images/business-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    overflow: hidden;
    min-height: 630px;
    color: #FBFFC7;
}

#Marquee .cta-group {
    font-family: "Noto Serif TC", serif;
    background: #FA590D;
    color: var(--white-color);
    font-weight: 700;
    padding: .5rem 1.25rem;
    border-radius: 50px;
    font-size: 24px;
    margin-top: 1rem;
    display: inline-block;
}

#Marquee .cta-group:hover {
    background: #ca4101;
    color: var(--white-color);
    transition: .2s all linear;
}


@media (max-width: 768px) {
    #Marquee {
        min-height: 600px;
    }

    #Marquee h3 {
        font-size: 21px;
        line-height: 1.75rem;
    }

    #Marquee h5 {
        font-size: 16px;
        font-weight: 400;
        line-height: 1.5rem;
    }
}


/* Q&A ---------- */
#qna li p {
    color: #dddddd;
}

#qna .Answer-list li {
    margin-bottom: 3px;
    list-style: circle;
    margin-left: 2.5rem;
    font-weight: 300;
    color: #dddddd;
}

#qna a {
    color: var(--main-color);
}

/*footer改色 ---------- */

#footer {
    position: absolute;
    width: 100%;
    background-color: var(--sub2-color);
    color: var(--black-color);
}

#footer .scrolltop {
    background: var(--sub-color);
    color: var(--white-color);
    opacity: .9;
}