:root {
    /*主色輔色 改色*/
    --main-color: #FFEF00;
    --sub-color: #FEFDEE;
    --sub2-color: #DCE4F7;


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


body{
    background: var(--sub-color);
}

.owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev, .owl-carousel button.owl-dot {
     background-color: transparent; 
}


/* nav ---------- */
.navbar{
    /* background-color:  #414141; */
}
.nav-item a{
    color:var(--white-color);
    font-size: 1rem;
    line-height: 1rem;
    letter-spacing: 1px;
}
.nav-item a:hover{
    color:var(--sub2-color);
}
.btn-ticket{
    background-color: var(--main-color);
    color: var(--white-color);
    border: solid 2px var(--main-color);
    border-radius: 2rem;
    padding: 0.75rem 1rem !important ;
}
.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: 160px;
    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-item a {
        font-size: 1rem;
        line-height: 1rem;
        padding: 0.75rem 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: 150px;
    }
    nav .mainlogo img.school {
        max-width: 150px;
        padding-left: 1px;
    }
    nav .mainlogo img {
        max-width: 90px;
        height: auto;
    }

}


/* main ---------- */
#main{
    position: relative;
    overflow-x: clip;
}
#main .main-box{
    z-index: 10;
    /* margin-top: 2rem; */
}
#main .main-title2{
    transform: translate(0.2rem, -2rem);
}
#main .sub-title{
    margin-bottom: 1rem;
}
#main .bg-records1{
    position: absolute;
    z-index: 1;
    top: -40%;
    right: 15%;
    padding: 0;
    width: 45%;
    aspect-ratio: 1 / 1;
    animation: rotate 20s linear infinite;
}
#main .bg-records2{
    position: absolute;
    z-index: 1;
    top: 30%;
    right: -10%;
    padding: 0;
    width: 45%;
    aspect-ratio: 1 / 1;
    animation: 30s rotate2 linear infinite;
}
#main .bg-records3{
    position: absolute;
    z-index: 1;
    top: 26%;
    right: -14%;
    padding: 0;
    width: 52%;
    aspect-ratio: 1 / 1;
    animation: 1.5s heartbeat  ease-in-out infinite;
}


@media (max-width: 768px) {
    #main .bg-records1 {
        top: -20%;
        right: -5%;
        padding: 0;
        width: 65%;
    }
    #main #news-podcast{
        margin-top: 7rem;
    }
    #main .bg-records2{
        top: 43%;
        right: 17%;
        padding: 0;
        width: 65%;
    }
    #main .bg-records3{
        top: 39%;
        right: 12%;
        padding: 0;
        width: 75%;
    }
}

/* cta-top */
.cta-top{
    width: 60px;
    height: 60px;
    display: inline-block;
    padding: 0;
    text-align: center;
    position: relative;
}
.cta-top h4{
    position: relative;
    z-index: 10;
    font-size: 24px;
    line-height: 28px;
    color: #000;
    top: 6px;
    right: 6px;
}
.cta-top::after{
    content: '';
    position: absolute;
    background: url(../../img/icon-needle.png);
    background-position: right top;
    background-repeat: no-repeat;
    background-size: cover;
    width: 133px;
    height: 336px;
    right: -28px;
    top: -60px;
    z-index: 6;
    transform: rotate(90deg);
    transform-origin: 70px 98px;
    transition: .25s all linear;
    pointer-events: none;
}
.cta-top.rotate-after::after {
    transform: rotate(70deg);
}

@media (max-width: 768px) {
    .pointer{
        margin: 3rem 0 5rem;
    }
    .cta-top h4{
        font-size: 21px;
        right: 0px;
    }
    .cta-top::after{
        background: url(../../img/icon-needle-mob.png);
        width: 113px;
        height: 209px;
        right: -26px;
        top: -35px;
        z-index: 6;
        transform: rotate(30deg);
        transform-origin: 56px 72px;
        animation: 5s rotate3 linear infinite;
    }
}


/* podcast ---------- */
#podcast{
    position: relative;
    overflow:hidden;
    padding-top: 5rem;
    padding-bottom: 5rem;
    /* background: linear-gradient(to bottom , #FFFEFE 0% , #fffefe96 50% , #FFFEFE 100%); */
}
#podcast::before{
    content: '';
    position: absolute;
    background: url(../../img/bg_white.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    /* width: 110vw; */
    width: 100%;
    /* height: 110vw; */
    height: 100%;
    left: 0%;
    top: 0%;
    z-index: 1;
}
#podcast .container{
    position: relative;
    z-index: 5;
}
.podcast-box{
    padding: 1rem;
}
.podcast-box img{
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 1rem;
    overflow: hidden;
}
#podcast h3{ 
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-weight: bold;
}
#podcast h6{ 
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    font-weight: 200;
    color: #696E72;
    margin-top: 1.5rem;
}

#podcast .nav-tabs{
    border: unset;
}

#podcast .btn-area .podcast-btn:hover,
#podcast .btn-area .spotify-btn:hover,
#podcast .btn-area .kkbox-btn:hover{
    background-color: var(--main-color);
    border-radius: 50%;
}
#podcast .nav-tabs .nav-link{
    border-bottom: .5rem transparent solid;
    color: #81868a;
}
#podcast .nav-tabs .nav-link:focus,
#podcast .nav-tabs .nav-link:hover {
    isolation: isolate;
    border-color: transparent;
}
#podcast .nav-tabs .nav-item.show .nav-link,
#podcast .nav-tabs .nav-link.active {
    color: var(--bs-nav-tabs-link-active-color);
    background-color: unset;
    border-color: transparent;
    border-bottom: .5rem var(--main-color) solid;
}




@media (max-width: 768px) {

    #podcast{
        overflow: hidden;
    }
    #podcast-container{
        max-height: 600px;
        overflow-y: scroll;
    }
    #podcast::before{
        width: 200%;
        height: 200%;
        left: -50%;
        top: -50%;
    }
    .owl-carousel .owl-item img {
        display: block;
        width: 70%;
    }
    .owl-carousel .owl-item .btn-area img {
        width: 100%;
    }
    .owl-theme .owl-dots{
        width: 100%;
    }
    .owl-theme .owl-nav{
        top: calc(50% - 40px);
        left: 5%;
        position: absolute;
        width: 90%;
        display: flex;
        justify-content: space-between;
    }
    .owl-carousel .owl-nav button.owl-next, 
    .owl-carousel .owl-nav button.owl-prev{
        background-color: #1e1e1eb1;
        color: #eff4fe;
        width: 32px;
        height: 32px;
        margin-bottom: 9px !important;
        border-radius: 0;
        font-size: 1.75rem;
        align-items: center;
        display: flex;
        justify-content: center;
    }
    .owl-carousel .owl-nav button.owl-next span, 
    .owl-carousel .owl-nav button.owl-prev span{
        margin-bottom: 9px !important;
    }
}
/* More ---------- */
#More{
    position: relative;
}

#More #report .more-img-box {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
#More #report a h6 {
    color: #696E72;
    align-content: center;
}
#More #report .more-img-box img {
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75);
}
#More #report a:hover .more-img-box img {
    transform: scale(1.05);
    transition: .25s all linear;
    filter: brightness(1);
}
#More #report a:hover h6 {
    color: #696E72;
    transition: .25s all linear;
}
#More #report a{
    position: relative;
    overflow: hidden;
    padding: 10px 0;
    border-bottom: 1px solid #8f8f8f;
}
#More #report a:nth-child(1){
    border-top: 1px solid #8f8f8f;
}
#More #report a>div,
#More #report a>h6{
    position: relative;
    z-index: 10;
}
#More #report a::before {
    position: absolute;
    width: 100%;
    height: 100%;
    content: '';
    background: linear-gradient( to left , #fff783 , #FEFDEE);
    top: 0;
    left: -100%;
    z-index: 1;
}
#More #report a:hover::before {
    left: 0;
    transition: .25s all linear;
}
@media (max-width: 768px){
    #More{
        padding-bottom: 0;
    }
    #More #report .more-img-box {
        aspect-ratio: 1 / 1;
    }
    #More #report a h6 {
        display: -webkit-box;
        -webkit-line-clamp: 2; 
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 28px;
    }
}

#rhino-info{
    background: url(../../img/bg-report.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: center;
    align-content: space-between;
    padding: 1rem;
}
#rhino-info .icon-area{
    gap: 1rem;
}
#rhino-info .icon-area a{
    width: 40px;
    height: 40px;
}
@media (max-width: 768px) {
    #rhino-info .img-sq{
        width: 40%;
    }
    #rhino-info .icon-area{
        width: 55%;
        gap: .5rem;
    }
    #rhino-info{
        background: #211F1D;
        align-content: space-between;
        padding: 1rem;
    }
    #rhino-info .icon-area{
        justify-content: end;
    }
    #rhino-info .icon-area a{
        width: 30px;
        height: 30px;
    }
}

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

#footer {
    position: absolute;
    width: 100%;
    background-color: #211F1D;
    color: var(--white-color);
    padding-bottom: 5rem;
}


#adbtn{
    background: #000;
    color: var(--white-color);
    padding:0.5rem 1rem;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999;
    width: 100%;
}

#adbtn h5{
    /* background: #FF1F1F; */
    color: var(--white-color);
    padding: 2px 6px;
}
#adbtn h3{
    font-weight: 600;
    padding: 2px 1rem;
}
#adbtn a{
    background: #FFE91F;
    color: #1e1e1e;
    padding: 6px 1rem;
    border-radius: 2px;
    font-size: 18px ;
    font-weight: 600;
}
@media (max-width: 768px) {
    #adbtn{
        padding:0.5rem 0rem;
    }
    #adbtn a{
        font-size: 14px;
        width: 12%;
        padding: 6px;
    }
    #adbtn h3{
        font-size: 16px;
        width: 65%;
        padding: 6px;
    }
}

#logo-bot img{
    height: 40px;
    width: auto;
}