:root {
    /*主色輔色 改色*/
    --main-color: #7FEA77;
    --sub-color: #0F6B38;
    --sub2-color: #F5F5F5;


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

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


/* nav ---------- */
.navbar {
    background-color: #fff;
    box-shadow: 0px 2px 16px #2b2b2b73;
}

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

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

nav .navbar-nav {
    gap: .25rem;
}


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

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

a.btn-ticket {
    color: var(--white-color);
}

.btn-ticket:hover,
nav .btn-ticket:focus {
    background-color: var(--main-color);
    color: var(--white-color);
    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: 150px;
    text-align: left;
    padding-right: 5px;
}

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

.navbar-dark .navbar-toggler-icon,
.navbar-dark .navbar-toggler-icon::before,
.navbar-dark .navbar-toggler-icon::after {
    background-color: var(--sub-color);
}

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

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

    nav .nav-item {
        width: 100%;
        justify-content: center;
    }

    .nav-item a {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        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,
#mov {
    --main-parallax-y: 0px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    /* aspect-ratio: 1280 / 580 ; */
}

#main::before,
#mov::before {
    content: "";
    position: absolute;
    inset: -8%;
    background: url(../../images/main-bg.jpg) center / cover no-repeat;
    transform: translate3d(0, var(--main-parallax-y), 0) scale(1.06);
    will-change: transform;
    z-index: 0;
}

#main>*,
#mov>* {
    position: relative;
    z-index: 1;
}

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

#main .main-title {
    font-size: 96px;
    font-weight: 900;
}

#main .main-sub-title {
    font-size: 68px;
    font-weight: 700;
}

#main .hashtag {
    /* mix-blend-mode: color-burn; */
    position: absolute;
    height: 1rem;
    width: auto;
}

#main .main-pin01 {
    top: 1rem;
    left: 1rem;
    opacity: 0;
    transform: translate(-220%, -220%);
    animation: main-pin01-enter 1.2s ease-out 1s forwards;
}

#main .main-pin02 {
    top: 1rem;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, -220%);
    animation: main-pin02-enter 1.2s ease-out 1s forwards;
}

#main .main-pin03 {
    top: 1rem;
    right: 1rem;
    opacity: 0;
    transform: translate(220%, -220%);
    animation: main-pin03-enter 1.2s ease-out 1s forwards;
}

#main .main-pin04 {
    bottom: 1rem;
    left: 1rem;
    opacity: 0;
    transform: translate(-220%, 220%);
    animation: main-pin04-enter 1.2s ease-out 1s forwards;
}

#main .main-pin05 {
    bottom: 1rem;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, 220%);
    animation: main-pin05-enter 1.2s ease-out 1s forwards;
}

#main .main-pin06 {
    bottom: 1rem;
    right: 1rem;
    opacity: 0;
    transform: translate(220%, 220%);
    animation: main-pin06-enter 1.2s ease-out 1s forwards;
}


@keyframes main-pin01-enter {
    to {
        opacity: 0.7;
        transform: translate(0, 0);
    }
}

@keyframes main-pin02-enter {
    to {
        opacity: 0.7;
        transform: translate(-50%, 0);
    }
}

@keyframes main-pin03-enter {
    to {
        opacity: 0.7;
        transform: translate(0, 0);
    }
}

@keyframes main-pin04-enter {
    to {
        opacity: 0.7;
        transform: translate(0, 0);
    }
}

@keyframes main-pin05-enter {
    to {
        opacity: 0.7;
        transform: translate(-50%, 0);
    }
}

@keyframes main-pin06-enter {
    to {
        opacity: 0.7;
        transform: translate(0, 0);
    }
}


@media (max-width: 768px) {
    #main .main-title {
        font-size: 58px;
    }

    #main .main-sub-title {
        font-size: 48px;
    }

    #main .hashtag {
        height: 0.5rem;
    }

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




/* hlight ---------- */
#hlight .hlight-intro {
    position: relative;
    z-index: 1;
}

#hlight .hlight-intro::before {
    content: "";
    position: absolute;
    left: -16px;
    top: -12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(96.54% 96.54% at 22.5% 15%,
            #C9ECD7 0%,
            #98D8B2 21.1538%,
            #82C47D 100%);
    z-index: -1;
    pointer-events: none;
}

/* suitable ---------- */
/* #suitable{
    background-color: #ffffff;
} */

#suitable .suitable-grid>.col {
    display: flex;
}

#suitable .suitable-card {
    background-color: #efefef;
    border: 3px solid var(--main-color);
    border-radius: 10px;
    padding: 1rem 0.875rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 0.5rem;
    width: 100%;
    height: 100%;
}

/* #suitable .suitable-icon{
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 0.5rem;
} */


@media (max-width: 768px) {
    #hlight .hlight-intro::before {
        left: -10px;
        top: -10px;
    }

    #suitable .suitable-card {
        min-height: 175px;
        padding: 0.875rem 0.75rem 0.7rem;
    }

}


/* More ---------- */

#More {
    background: url(../../images/more-bg.png), #EEE;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#More .more-img-box {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

#More a h6 {
    color: var(--sub-color);
    font-weight: bolder;
    min-height: 96px;
    overflow: hidden;
    text-overflow: ellipsis;
}

#More .more-img-box img {
    object-fit: cover;
    /* filter: brightness(0.75); */
}

#More a:hover .more-img-box img {
    transform: scale(1.05);
    transition: .25s all linear;
    filter: brightness(1);
}

/* #More a:hover h6 {
    color: var(--sub2-color);
    transition: .25s all linear;
} */
#More a p {
    line-height: 16px;
    color: #1e1e1e;
}

#More .owl-theme .owl-nav {
    position: absolute;
    left: -2rem;
    right: -2rem;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    justify-content: space-between;
    display: flex;
}

#More .owl-carousel .owl-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

#More .owl-carousel button.owl-dot {
    background-color: transparent;
    color: #C1C1C1;
    width: 70px;
    height: 30px;
    margin: 0;
    border-radius: 0;
    font-size: 1.25rem;
    align-content: center;
}

#More .owl-carousel .owl-dots .owl-dot span {
    width: 70px;
    height: 6px;
    margin: 0;
    background: #C1C1C1;
    display: block;
    -webkit-backface-visibility: visible;
    transition: opacity .2s ease;
    border-radius: 0px;
}

#More .owl-carousel .owl-dots .owl-dot.active span,
#More .owl-carousel .owl-dots .owl-dot:hover span {
    background: var(--sub-color);
}

#More .carousel-title h4 {
    padding-right: 1rem;
    border-right: 3px solid #1e1e1e;
}

#More .carousel-title h6 {
    padding-left: 1rem;
    font-weight: 300;
    color: var(--sub-color);
    line-height: 32px;
}

#More .owl-carousel {
    position: relative;
    border-top: 1px solid #1e1e1e;
    /* border-bottom: 1px solid #1e1e1e; */
}

.owl-theme .owl-nav [class*=owl-]:hover {
    background-color: var(--sub-color);
}

@media (max-width: 768px) {
    #More .owl-theme .owl-nav {
        position: absolute;
        right: 12px;
        transform: translateY(-50%);
        justify-content: end;
        display: flex;
        top: -32px;
    }
}



#mov .unit-title h3 {
    color: var(--white-color);
}

#mov .unit-title p {
    display: inline-block;
    background: var(--white-color);
    margin-top: 1rem;
    padding: 3px;
}

#mov .podcast-icon {
    padding: 2px;
}

#mov .podcast-icon:hover {
    background: var(--black-color);
    /* box-shadow: 0px 0px 6px #1e1e1e; */
}

#magazine {
    background: var(--sub2-color);
}

#magazine img {
    object-fit: contain;
}

#magazine a {
    background: var(--sub-color);
    color: var(--white-color);
    padding: 0.75rem 1rem;
}

#magazine a:hover {
    background: var(--black-color);
}


@media (max-width: 768px) {
    #magazine a {
        font-size: 14px;
            padding: 0.5rem 0.5rem;
    }
    #magazine .date{
        font-size: 14px;
    }
    #magazine p{
        letter-spacing: 0;
    }
}


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

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

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