@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap");
html {
    width: 100%;
    height: 100%;
    font-size: 19px;
    font-weight: 400;
}

body {
    width: 100%;
    height: 100%;
    font-weight: 300;
    line-height: 1.47;
    color: #000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

*,
*::before,
*::after {
    font-family: "Noto Sans TC", sans-serif;
    box-sizing: border-box;
    background-position: 0 center;
    background-repeat: no-repeat;
    background-size: contain;
}

p {
    line-height: 1.5;
    white-space: pre-line;
    letter-spacing: 0.1em;
    text-align: left;
}

img {
    object-fit: cover;
}

h3 {
    color: #E62C3A;
    font-size: 1.95rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    display: inline-block;
    align-self: center;
    line-height: 1;
}

h3.red-bg {
    background-color: #E62C3A;
    color: white;
    padding: 6px 10px;
}

h3.white-bg {
    background-color: white;
    padding: 6px 10px;
}

input {
    background-color: transparent;
    border: none;
    outline: none;
}

button {
    background-color: transparent;
    border: none;
    outline: none;
}

textarea {
    outline: none;
    resize: none;
}

.lg-only {
    display: none;
}

@media (min-width: 992px) {
    .lg-only {
        display: block;
    }
}

@media (min-width: 992px) {
    .lg-hidden {
        display: none;
    }
}

header {
    position: relative;
    background-color: white;
    width: 100%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    display: flex;
    padding: 20px 20px;
    align-items: flex-start;
}

@media (min-width: 992px) {
    header {
        padding: 20px 40px;
        align-items: center;
    }
}

header .logo img {
    height: 64px;
    width: auto;
}

header .link button {
    width: 0.95rem;
    height: 0.95rem;
    margin: 0 3px;
}

header .link button:nth-child(1) {
    background-image: url("../assets/icons/icon-facebook.svg");
}

header .link button:nth-child(2) {
    background-image: url("../assets/icons/icon-instagram.svg");
}

header .link button:nth-child(3) {
    background-image: url("../assets/icons/icon-youtube.svg");
}

header .menu-button {
    width: 40px;
    height: 40px;
    background-image: url("../assets/icons/icon-menu.svg");
}

header>div {
    margin-left: auto;
    text-align: end;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}

@media (min-width: 992px) {
    header>div {
        display: none;
    }
}

header nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    align-items: flex-end;
    padding: 0.5rem 1rem 0.5rem 2rem;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
    background-color: white;
    z-index: 99999;
}

@media (min-width: 992px) {
    header nav {
        display: flex;
        position: relative;
        flex: 1;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
        box-shadow: none;
        padding: 0;
        top: unset;
        right: unset;
    }
    header nav::before {
        display: none;
    }
    header nav::after {
        display: none;
    }
}

header nav::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 20px;
    top: -10px;
    left: 0;
    background-color: white;
    z-index: 999;
}

header nav::after {
    content: "";
    position: absolute;
    width: 88%;
    height: 2px;
    top: -1px;
    left: 6%;
    background-color: #C4C4C4;
    z-index: 999;
}

header nav a {
    color: #000;
    font-size: 0.8rem;
    position: relative;
    padding: 3px 0;
    margin: 0.5rem 0.5rem;
    color: inherit;
    text-decoration: inherit;
    cursor: pointer;
}

header nav a:hover {
    color: inherit;
}

header nav a.disabled {
    cursor: default;
    opacity: 0.2;
}

header nav a:not(.disabled):hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    border: 1px solid #E62C3A;
}

header nav .font-size {
    display: none;
}

header .font-size button {
    color: #000;
    padding: 0 6px;
}

@media (min-width: 992px) {
    header nav .font-size {
        display: block;
    }
}

header.opened nav {
    display: flex;
}

header.opened .menu-button {
    background-image: url("../assets/icons/icon-menu-opened.svg");
}

header .font-size {
    display: flex;
    align-items: baseline;
}

header .font-size button:nth-child(1) {
    font-size: 12px;
}

header .font-size button:nth-child(2) {
    font-size: 20px;
}

header .font-size button:nth-child(3) {
    font-size: 26px;
}

header .font-size button::after {
    content: "A";
}

.content {
    flex: 1;
    position: relative;
    overflow-x: hidden;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
}

.content>* {
    flex-shrink: 0;
}

.banner {
    width: 100vw;
    height: calc(100vw * 645 / 1170);
}

@media (min-width: 992px) {
    .banner {
        height: calc(100vw * 180 / 1440);
    }
}

.tri {
    position: absolute;
    height: 500px;
    width: 280px;
    background-image: url("../assets/images/tri.svg");
    background-position: 0 center;
    background-repeat: no-repeat;
    background-size: contain;
    display: none;
}

@media (min-width: 992px) {
    .tri {
        display: block;
    }
}

section {
    position: relative;
    padding: 2rem 8vw;
    text-align: center;
    font-weight: 400;
}

@media (min-width: 992px) {
    section {
        text-align: left;
        padding: 3rem 3vw;
    }
}

section h3 {
    margin-bottom: 1rem;
}

.arrow,
.arrow-white {
    padding: 0 3.5rem;
    position: relative;
}

.arrow::before,
.arrow::after,
.arrow-white::before,
.arrow-white::after {
    content: "";
    position: absolute;
    width: 3.15rem;
    height: 100%;
    top: 0;
    background-image: url("../assets/images/arrow.svg");
}

.arrow::before,
.arrow-white::before {
    left: 0;
}

.arrow::after,
.arrow-white::after {
    right: 0;
    transform: scaleX(-1);
}

.arrow-white {
    color: white;
}

.arrow-white::before,
.arrow-white::after {
    background-image: url("../assets/images/arrow-white.svg");
}

footer {
    position: relative;
    background-color: white;
    width: 100%;
    box-shadow: 0 -4px 4px 0 rgba(0, 0, 0, 0.25);
    font-size: 0.716rem;
    line-height: 1.4;
    padding: 1rem 8vw;
}

@media (min-width: 992px) {
    footer {
        padding: 1rem 0;
    }
}

footer .row {
    width: 100%;
    padding: 0;
    margin: 0;
}

footer .row>div {
    padding: 1rem;
    text-align: center;
}

@media (min-width: 992px) {
    footer .row>div {
        padding: 0 40px;
    }
}

footer .row>div:not(:last-child) {
    border-bottom: 1px solid black;
}

@media (min-width: 992px) {
    footer .row>div:not(:last-child) {
        border-bottom: none;
        border-right: 1px solid black;
    }
}

footer p {
    text-align: center;
    margin-bottom: 0.5rem;
}

@media (min-width: 992px) {
    footer p {
        text-align: left;
    }
}

footer .footer-img {
    object-fit: contain;
    width: 207px;
    height: 95px;
}

@media (min-width: 992px) {
    footer .footer-img {
        width: 100%;
        height: 100%;
    }
}

.vjs-big-play-button {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 4.75rem !important;
    height: 4.75rem !important;
    background-image: url("../assets/icons/icon-play.svg") !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    border: none !important;
    background-color: transparent !important;
    cursor: pointer !important;
}

.vjs-big-play-button .vjs-icon-placeholder::before {
    content: unset !important;
}

.news-item {
    background-color: white;
    width: 80vw;
    min-height: calc(80vw * 451 / 308);
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
}

.news-item * {
    flex-shrink: 0;
}

@media (min-width: 992px) {
    .news-item {
        width: 308px;
        min-height: 522px;
    }
}

.news-item img {
    width: 80vw;
    height: calc(80vw * 225 / 308);
    object-fit: cover;
}

@media (min-width: 992px) {
    .news-item img {
        width: 308px;
        height: 225px;
    }
}

.news-item h4 {
    font-size: 1.0526rem;
    font-weight: 500;
    min-height: 3.1578rem;
    line-height: 1.5;
    margin: 0.5rem 0;
}

.news-item>div {
    padding: 0.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-item a {
    align-self: flex-start;
    text-decoration: none;
    background-color: #E62C3A;
    margin-top: auto;
    padding: 0.4rem 2.2rem;
    color: white;
}

.news-item a::after {
    content: "了解更多";
}

.swiper-button {
    width: 165px;
    height: 150px;
    background-image: url("../assets/images/arrow-button.svg");
    position: absolute;
    bottom: 20%;
}

.swiper-button.prev-button {
    left: 0;
}

.swiper-button.next-button {
    right: 0;
    transform: scaleX(-1);
}

.links {
    padding: 19px 57px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    background-color: white;
}

@media (min-width: 992px) {
    .links {
        padding: 38px 57px;
    }
}

.links .link-item,
.links .book-item,
.links .video-item,
.links .doc-item {
    display: flex;
    flex-direction: column;
    padding: 0.8rem 0;
    border-bottom: 1px solid #C4C4C4;
    margin-bottom: 0.2rem;
}

@media (min-width: 992px) {
    .links .link-item,
    .links .book-item,
    .links .video-item,
    .links .doc-item {
        flex-direction: row;
        align-items: center;
        margin-bottom: 0;
    }
}

.links .link-item a,
.links .book-item a,
.links .video-item a,
.links .doc-item a {
    color: black;
    text-decoration: none;
    letter-spacing: 0.1em;
    flex: 1;
    padding: 0.3rem 0;
    align-items: center;
    line-height: 1;
    text-align: left;
}

@media (min-width: 992px) {
    .links .link-item a,
    .links .book-item a,
    .links .video-item a,
    .links .doc-item a {
        margin-right: 60px;
        border-right: 1px solid #C4C4C4;
    }
}

.links .link-item::after,
.links .book-item::after,
.links .video-item::after,
.links .doc-item::after {
    content: "";
    width: 104px;
    height: 34px;
    margin-top: 10px;
}

@media (min-width: 992px) {
    .links .link-item::after,
    .links .book-item::after,
    .links .video-item::after,
    .links .doc-item::after {
        margin: 0 !important;
    }
}

.links .link-item.reverse,
.links .book-item.reverse,
.links .video-item.reverse,
.links .doc-item.reverse {
    flex-direction: column-reverse;
}

@media (min-width: 992px) {
    .links .link-item.reverse,
    .links .book-item.reverse,
    .links .video-item.reverse,
    .links .doc-item.reverse {
        flex-direction: row-reverse;
    }
}

@media (min-width: 992px) {
    .links .link-item.reverse a,
    .links .book-item.reverse a,
    .links .video-item.reverse a,
    .links .doc-item.reverse a {
        margin-right: 0;
        border-right: none;
        margin-left: 60px;
        border-left: 1px solid #C4C4C4;
        padding-left: 60px;
    }
}

.links .link-item.reverse::after,
.links .book-item.reverse::after,
.links .video-item.reverse::after,
.links .doc-item.reverse::after {
    margin-top: 0;
    margin-bottom: 10px;
}

.links .link-item::after {
    background-image: url("../assets/images/link.svg");
}

.links .book-item::after {
    background-image: url("../assets/images/book.svg");
}

.links .video-item::after {
    background-image: url("../assets/images/video.svg");
}

.links .doc-item::after {
    background-image: url("../assets/images/doc.svg");
}

.to-top-button {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 34px;
    height: 70px;
    background-image: url("../assets/images/to-top.svg");
}

.scroll-more {
    position: relative;
    width: fit-content;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-more::before {
    content: "向下捲動";
    display: block;
    letter-spacing: 0.1em;
}

.scroll-more::after {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    background-image: url("../assets/icons/icon-down-arrow.svg");
}

.scroll-elem {
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.scroll-elem.animated {
    opacity: 1;
}

.overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    top: 0;
    left: 0;
    overflow: hidden scroll;
    padding: 0 15vw;
    z-index: 99999;
}

.overlay .click-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.overlay .close-button {
    position: absolute;
    top: 1em;
    right: 1em;
    width: 1em;
    height: 1em;
    background-image: url("../assets/icons/icon-close.svg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    cursor: pointer;
}

.overlay>div:nth-child(2) {
    margin: 6vw 0;
    position: relative;
}

.overlay .video-overlay {
    width: 100%;
    height: 100%;
    margin: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.overlay .video-overlay * {
    pointer-events: all;
}

.overlay .video-overlay iframe {
    width: 90vw;
    height: calc(90vw * 9 / 16);
}

@media (min-width: 992px) {
    .overlay .video-overlay iframe {
        width: 70vw;
        height: calc(70vw * 9 / 16);
    }
}

.question-box-open {
    background-image: url(../assets/images/question-box.svg);
    width: 95px;
    height: 162px;
    position: absolute;
    right: 2vw;
    bottom: 50px;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    z-index: 3;
}

.question-box {
    z-index: 2;
    width: 340px;
    height: fit-content;
    position: absolute;
    right: 3vw;
    bottom: 114px;
    background-color: #F29100;
    border-radius: 20px;
    overflow: hidden;
    display: none;
    padding-bottom: 65px;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.question-box .question-box-nav {
    height: 43px;
    width: 100%;
    background-color: #9C1D26;
    border-radius: 20px 20px 0 0;
    padding: 10px;
}

.question-box .question-box-nav .show {
    width: 25px !important;
}

.question-box .question-box-nav .back-btn svg {
    width: 0;
    vertical-align: top;
}

.question-box .question-box-nav .box-close-btn {
    background-image: url("../assets/images/question-box-delBtn.svg");
    height: 25px;
    width: 25px;
    float: right;
}

.question-box .question-wrapper {
    display: flex;
    position: relative;
}

.question-box a {
    text-decoration: none;
    color: #FFFFFF;
}

.question-box .question {
    border: 1px solid #FFFFFF;
    padding: 5px;
    border-radius: 10px;
    margin-bottom: 8px;
    min-width: 330px;
    cursor: pointer;
}

.question-box .question:active {
    background-color: #E62C3A;
}

.question-box .question-box-step1 {
    padding: 15px 5px;
    letter-spacing: 0.1em;
    color: #FFFFFF;
    position: relative;
}

.question-box .question-box-step2 {
    color: #FFFFFF;
    padding: 8px 5px;
    letter-spacing: 0.1em;
    position: relative;
    display: none;
}

.question-box .question-box-step2 .question-q {
    padding: 5px 0;
    margin-bottom: 8px;
    cursor: default;
}

.question-box .question-box-step2 .question {
    text-align: center;
}

.question-box img {
    position: absolute;
    left: 20px;
    bottom: 30px;
}

@media (max-width: 639px) {
    .header-logo img {
        max-height: 55px;
    }
    header .menu-button {
        width: 30px;
        height: 30px;
    }
    header .font-size button:nth-child(1) {
        font-size: 10px;
    }
    header .font-size button:nth-child(2) {
        font-size: 18px;
    }
    header .font-size button:nth-child(3) {
        font-size: 22px;
    }
    header {
        padding: 10px 10px;
    }
}