/* header 有使用到的 */

.header {
    position: sticky;
    left: 0%;
    top: 0%;
    margin: 0 auto;
    /* 依據開版寬度 */
    max-width: 1920px;
    /* 自行修改 */
    background-color: #389DFF;
    z-index: 999;
    padding: 15px 0;
}

.w-100 {
    width: 100%;
}

.txt_yellow {
    color: #FFFF00;
}

.ps-5 {
    padding-left: 40px;
}

.pe-5 {
    padding-right: 40px;
}

.navControl {
    display: flex;
    margin: 0 auto;
    /* 可自行修改寬度  用於調整導覽列內的文字間距*/
    max-width: 700px;
}

.navControl li:nth-child(2) {
    border-left: 5px solid #FFF;
    border-right: 5px solid #FFF;
}

.navControl a {
    display: block;
    text-align: center;
    width: 100%;
    /* 自行修改文字大小 */
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
}

@media (max-width:768px) {
    .header {
        padding: 8px 0;
    }

    .navControl li:nth-child(2) {
        border-left: 3px solid #FFF;
        border-right: 3px solid #FFF;
    }

    .navControl a {
        font-size: 1.25rem;
    }

    .ps-5 {
        padding-left: 0px;
    }

    .pe-5 {
        padding-right: 0px;
    }
}


/* 收合 */

.close_img {
    width: 100%;
    max-height: 0;
    transition: max-height .8s cubic-bezier(1, 0.2, 0.2, 1);
    overflow: hidden;
}

.show {
    max-height: 5000px;
}

.QABTN {
    cursor: pointer;
}

.step1 {
    animation: step 2s 1s infinite steps(2);
}

.step2 {
    animation: step 2s infinite steps(2);
}

@keyframes step {
    0% {
        transform: scale(0.85);
    }

    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0.85);
    }
}


/* 按鈕動畫 */

@keyframes hoverAnim {
    0% {
        -webkit-transform: translate(-100%, 0);
        transform: translate(-100%, 0);
    }

    30% {
        -webkit-transform: translate(100%, 0);
        transform: translate(100%, 0);
    }

    100% {
        -webkit-transform: translate(100%, 0);
        transform: translate(100%, 0);
    }
}

.Link {
    transition: 0.8s;
}

.Link span {
    position: relative;
    display: block;
    overflow: hidden;
}

.Link span:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(124deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 40%, rgba(255, 255, 255, 0.75) 50%, rgba(0, 0, 0, 0) 65%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0) 100%);
    -webkit-transform: translate(-100%, 0);
    transform: translate(-100%, 0);
    pointer-events: none;
    animation-name: hoverAnim;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@media screen and (max-width: 640px) {
    .Link span:after {
        animation-duration: 4s;
    }
}


/* Swiper */

.bg15 .swiper-button-next {
    color: #FFD94D;
    right: 2%;
    top: 45%;
}

.bg15 .swiper-button-prev {
    color: #FFD94D;
    left: 2%;
    top: 45%;
}

.bg15 .swiper-button-next:after,
.bg15 .swiper-button-prev::after {
    filter: drop-shadow(0px 0px 1px rgb(0, 0, 0, 0.5));
}

.bg15 .swiper-pagination {
    top: 78%;
}

.bg15 .swiper-pagination .swiper-pagination-bullet {
    margin: 0 10px;
    width: 15px;
    height: 15px;
}

.bg15 .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #FFD94D;
}

@media (max-width:768px) {
    .bg15 .swiper-pagination .swiper-pagination-bullet {
        margin: 0 5px;
        width: 8px;
        height: 8px;
    }

    .bg15 .swiper-button-next:after,
    .bg15 .swiper-button-prev::after {
        font-size: 30px;
    }

    .bg15 .swiper-button-next {
        right: 0%;
    }

    .bg15 .swiper-button-prev {
        left: 0%;
    }
}


/* footer */

.imgcut {
    padding-top: 0px;
    padding-bottom: 0px;
    display: block;
}

.footer,
.footer a {
    text-align: center;
    font-size: 25px;
    line-height: 40px;
    color: #645f49;
}

.footer {
    padding: 2%;
    background-color: #FFFFFF;
    color: #645f49;
    width: 96%;
}

@media screen and (max-width: 800px) {

    .footer,
    .footer a {
        text-align: center;
        font-size: 25px;
        line-height: 30px;
        /* color: #FFFFFF; */
    }

    /* 文字設定 */
}

.slide-bottom {
    animation: slide-bottom 2s cubic-bezier(0, 1.02, .19, .99);
    opacity: 1;
}

@keyframes slide-bottom {
    0% {
        transform: translateY(-500px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}