@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;500;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alkatra:wght@500;700&family=BIZ+UDPGothic:wght@400;700&family=Dela+Gothic+One&family=Kaisei+Decol:wght@400;500;700&family=Klee+One:wght@400;600&family=Kosugi+Maru&family=Lobster&family=Mochiy+Pop+One&family=Noto+Serif+TC:wght@500;700;900&family=Potta+One&family=Yuji+Syuku&family=Yusei+Magic&family=ZCOOL+QingKe+HuangYou&family=Zen+Kurenaido&family=Zen+Maru+Gothic:wght@300;400;500;700;900&display=swap');

/* 由大到小 */

* {
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: 'BIZ UDPGothic', Microsoft JhengHei, sans-serif;
    font-weight: 400, 500, 500;
}

.bg-danger {
    background-color: #e66868!important;
}

.allBg {
    display: block;
    position: fixed;
    z-index: -3!important;
    background: url(../images/bg.webp) no-repeat top center;
    background-size: cover;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.circleShow {
    border-radius: 100%;
    border: 1vw solid #00f3bebd;
    position: absolute;
    z-index: -1;
    top: 10%;
    left: 8%;
    width: 15%;
    aspect-ratio: 1/1;
    transform: translate(-50%, -50%);
}

@keyframes ring {
    0% {
        opacity: 0;
    }
    20% {
        width: 20%;
        height: auto;
        aspect-ratio: 1/1;
        opacity: 0;
    }
    21% {
        opacity: 0.5;
    }
    80% {
        width: 50%;
        height: auto;
        opacity: 0;
    }
    100% {
        width: 0px;
        height: auto;
        opacity: 0;
    }
}

.circleShow:nth-child(1) {
    background: #00f3be57;
    border: none;
}

.circleShow:nth-child(2) {
    animation: ring 4s infinite;
}

.circleShow:nth-child(3) {
    opacity: 0;
    animation: ring 4s infinite;
    animation-delay: 2s;
}

.wrap {
    min-height: 100vh;
    overflow: hidden;
    padding: 7% 0;
}

.wrap .row {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

header {
    padding-top: 0%;
    position: relative;
    padding-bottom: 5%;
}

.headH2 {
    background: linear-gradient(to top, #344d88cc 0%, #344d8863 100%);
    color: #ffffff;
    font-family: 'BIZ UDPGothic', sans-serif;
    font-weight: 400;
    padding: 3px 0;
}

.headTitle {
    position: relative;
}

.headTitle img {
    width: 100%;
}

.titleLeft {
    position: relative;
}

.titleRight {
    position: relative;
    margin-left: -7%;
}

.headTitle .titleImg2 {
    position: absolute;
    z-index: 2;
    left: 0;
    top: 0;
    animation: jump-bg 1s infinite;
}

.headTitle .titleImg4 {
    position: absolute;
    z-index: 4;
    left: 0;
    top: 0;
}

.headTitle .titleImg5 {
    position: absolute;
    z-index: 5;
    left: 0;
    top: 0;
    animation: jump 1s infinite;
}

.headTitle .titleImg6 {
    position: absolute;
    z-index: 6;
    left: 0;
    top: 0;
}

.titleImg7 {
    position: relative;
    display: block;
    animation: flicker 4s infinite alternate, shake 10s infinite ease-in-out;
}

@keyframes jump {
    0% {
        top: -5px;
    }
    40% {
        top: -15px;
        transform: translateX(5px) scale(0.95, 1.1);
    }
    70% {
        top: 0px;
        transform: translateX(0) scale(1);
    }
}

@keyframes jump-bg {
    0% {
        top: 0;
    }
    40% {
        top: -3px;
        left: -8px;
    }
    70% {
        top: 0;
    }
}

@keyframes shake {
    0% {
        transform: translate(0, -10px);
    }
    50% {
        transform: translate(0, -30px);
    }
    100% {
        transform: translate(0, -10px);
    }
}

.topText p {
    color: #ffffff;
    font-family: 'BIZ UDPGothic', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    margin-bottom: 0;
}

.titleLeft .topText {
    position: absolute;
    top: -0.5rem;
    right: -100%;
    transform: rotate(-10deg);
    transform-origin: -50% 0;
}

.titleLeft .topText p {
    padding-bottom: 0.7rem;
    animation: titleTalk 8s infinite;
    opacity: 0;
}

.titleLeft .topText p:nth-child(2) {
    animation-delay: 3s;
}

.titleImg7 .topText p {
    font-size: 1.7rem;
    position: absolute;
    top: -2.5rem;
    width: 22rem;
    left: -1.7rem;
    animation: titleTalk2 4s infinite;
    opacity: 0;
}

@keyframes titleTalk {
    0% {
        opacity: 0;
    }
    40% {
        opacity: 0.8;
    }
    80% {
        opacity: 0;
    }
}

@keyframes titleTalk2 {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.secBox {
    background: url(../images/boxBg-mid.png) center center repeat-y;
    background-size: 100%;
    text-align: center;
    padding: 30px 10px;
}

.sec1 .secSubtitle {
    background: #ffffffe5;
    border-radius: 50px;
    font-size: 1.4rem;
    display: inline-block;
    padding: 3px 20px;
    font-family: 'BIZ UDPGothic', sans-serif;
    font-weight: 700;
    color: #344d88;
    margin-top: -30px;
}

.secTitle {
    background: linear-gradient(to top, #fff 0%, #fff 70%, #ffffff00 100%);
    background: -webkit-linear-gradient(to top, #fff 0%, #fff 70%, #ffffff 100%);
    font-weight: 400;
    font-family: 'Mochiy Pop One', sans-serif;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-size: 3.5rem;
    letter-spacing: 2px;
}

.secEnd {
    background: linear-gradient(to top, #fff 0%, #fff 70%, #ffffff00 100%);
    background: -webkit-linear-gradient(to top, #fff 0%, #fff 70%, #ffffff 100%);
    font-weight: 400;
    font-family: 'Mochiy Pop One', sans-serif;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-size: 2.5rem;
    letter-spacing: 2px;
}

.engNum {
    font-family: 'Alkatra', cursive;
    font-weight: 700;
    margin-right: 3px;
}

.sec1 .infoBox-out {
    border: 3px solid #ffffffd7;
    padding: 10px;
    animation: spin 12s infinite;
    transform: rotateX(0deg);
}

@keyframes spin {
    0% {
        transform: rotateX(0deg);
    }
    10% {
        transform: rotateX(360deg);
    }
    50% {
        transform: rotateX(360deg);
    }
    60% {
        transform: rotateX(0deg);
    }
    100% {
        transform: rotateX(0deg);
    }
}

.sec1 .infoBox {
    position: relative;
    background: #ffffffd7;
    padding: 10px;
    overflow: hidden;
}

.sec1 .infoBox::before {
    content: "";
    position: absolute;
    top: -60%;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient( 180deg, rgba(255, 255, 255, 0) 0%, rgba(104, 174, 221, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    animation: scanline 3s linear infinite;
    z-index: 1;
}

.sec1 .infoBox h4 {
    position: relative;
    color: #344d88;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 0;
    z-index: 2;
}

@keyframes scanline {
    0% {
        top: -60%;
    }
    50% {
        top: 100%;
    }
    100% {
        top: -60%;
    }
}

.sec2 .steps {
    position: relative;
    padding: 5% 0;
    border-bottom: 1px solid #ffffffb0;
    width: 95%;
    margin: 0 auto;
}

.sec2 .steps:nth-child(7) {
    border-bottom: none;
}

.sec2 .stepCircle {
    margin-right: 2.5vmin;
}

.sec2 .stepNum {
    padding: 5px;
    background-color: #fff;
    background-repeat: 5px;
    position: relative;
    overflow: hidden;
    z-index: 2;
    border-radius: 50%;
    text-align: center;
    width: 8vmin;
    height: auto;
    aspect-ratio: 1/1;
}

.sec2 .stepNum b {
    color: #fff;
    z-index: 3;
    position: relative;
    font-size: 5vmin;
    font-family: 'Alkatra', cursive;
    font-weight: 700;
    line-height: 1.5;
}

.sec2 .stepNum::before {
    content: '';
    width: 200%;
    height: 200%;
    background-color: #d7ffbb;
    position: absolute;
    left: -50%;
    top: -50%;
    background-image: conic-gradient(transparent, #31a740, transparent 30%);
    z-index: 0;
    animation: rotate 5s linear infinite;
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

.sec2 .stepNum::after {
    content: '';
    position: absolute;
    inset: 0.5vmin;
    background: #344d88;
    z-index: 1;
    border-radius: 50%;
    width: 7vmin;
    height: auto;
    aspect-ratio: 1/1;
}

.sec2 .stepText {
    padding-top: 1.5vmin;
    color: #fff;
    text-align: left;
    font-size: 3vmin;
}

.sec2 .stepText p {
    font-size: 2.5vmin;
    text-align: justify;
    margin-bottom: 0;
}

.sec2 .stepText p small {
    font-size: 2.2vmin;
}

.sec2 .stepText img {
    width: 90%;
    margin: 1.5vmin auto;
}

:root {
    --time-slot-length: 0.1s;
    --t1x: var(--time-slot-length);
    --t2x: calc(var(--time-slot-length) * 2);
    --t3x: calc(var(--time-slot-length) * 3);
    --t4x: calc(var(--time-slot-length) * 4);
    --linkColor: #bbffe3;
}

.linkList {
    padding: 0;
    margin-bottom: 0;
}

.linkList li {
    padding: 1vmin;
    font-size: 2.5vmin;
    box-sizing: border-box;
}

.linkList li a {
    display: block;
    color: white;
    text-transform: uppercase;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 0.1em;
    text-align: center;
    padding: 3px 5px;
    line-height: 1.5;
    position: relative;
}

.linkList li a:hover {
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--linkColor);
}

.linkList li a .linkIcon {
    position: absolute;
    right: -1.25vmin;
    bottom: -1.25vmin;
    color: #344d88;
    background: #fff;
    border-radius: 50%;
    z-index: 5;
}

.linkList li a:hover .linkIcon {
    color: var(--linkColor);
    background: #344d88;
}

.linkList li a::before,
.linkList li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-radius: inherit;
    visibility: hidden;
}

.linkList li a::before {
    top: 0;
    left: 0;
    border: 2px solid;
    border-color: var(--linkColor) var(--linkColor) transparent transparent;
    transition: height var(--t1x) linear var(--t2x), width var(--t1x) linear var(--t3x), visibility 0s linear var(--t4x);
}

.linkList li a::after {
    bottom: 0;
    right: 0;
    border: 2px solid;
    border-color: transparent transparent var(--linkColor) var(--linkColor);
    transition: height var(--t1x) linear var(--t1x), width var(--t1x) linear var(--t1x), visibility 0s linear var(--t2x);
}

.linkList li a:hover::before,
.linkList li a:hover::after {
    width: 100%;
    height: 100%;
    visibility: visible;
}

.linkList li a:hover::before {
    transition: visibility 0s linear, width var(--t1x) linear, height var(--t1x) linear var(--t1x);
}

.linkList li a:hover::after {
    transition: visibility 0s linear var(--t2x), width var(--t1x) linear var(--t2x), height var(--t1x) linear var(--t3x);
}

.example-group .expandBtn {
    display: block;
    background-color: #192b53;
    color: #ffffff;
    padding: 3px 15px;
    text-align: center;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
}

.example-group .collapseBtn {
    display: block;
    background-color: #3d4e72;
    color: #e9ffd8;
    padding: 3px 15px;
    text-align: center;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
}

.example-group img {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    display: block;
}

.example-group.expanded img {
    max-height: 1200px;
    opacity: 1;
}

.steps .whity {
    position: absolute;
    width: 240px;
    max-width: 30vw;
    animation: shake 5s infinite ease-in-out;
}

.steps .whity01 {
    left: -10px;
    bottom: -30px;
}

.steps .whity02 {
    right: -30px;
    bottom: -30px;
}

.steps .whity03 {
    left: -10px;
    bottom: -30px;
}

@media screen and (max-width: 1199px) {
    /* 平板橫置 */
    .wrap {
        padding: 8% 0;
    }
    .topText p {
        font-size: 1.3rem;
    }
    .titleImg7 .topText p {
        font-size: 1.3rem;
        position: absolute;
        top: -2rem;
        width: 17rem;
        left: -2.4rem;
    }
    .headH2 {
        font-size: 1.3rem;
    }
    .secTitle {
        font-size: 3rem;
    }
    .secEnd {
        font-size: 2rem;
    }
    .sec2 .secTitle {
        font-size: 2.5rem;
    }
    .steps .whity {
        width: 200px;
        max-width: 30vw;
    }
}

@media screen and (max-width: 991px) {
    /* 平板直置 */
    header {
        padding-top: 4%;
        padding-bottom: 10%;
    }
    .headH2 {
        font-size: 1.5rem;
    }
    .titleImg7 {
        margin-top: -10px;
        animation: flicker 4s infinite alternate;
    }
    .topText p {
        margin-top: 10px;
        font-size: 1.5rem;
    }
    .sec1 .secSubtitle {
        font-size: 1.2rem;
    }
    .secTitle {
        font-size: 2.5rem;
    }
    .secEnd {
        font-size: 1.7rem;
    }
    .sec2 .secTitle {
        font-size: 1.8rem;
    }
    .sec1 .infoBox-out {
        margin-bottom: 10px;
        padding: 5px;
    }
    .sec1 .infoBox {
        padding: 3px;
    }
    .sec2 .stepCircle {
        margin-right: 1.5vmin;
    }
    .steps .whity {
        width: 160px;
        max-width: 30vw;
    }
}

@media screen and (max-width: 767px) {
    /* 手機 */
    .headH2 {
        font-size: 1.2rem;
    }
    .topText p {
        font-size: 1rem;
    }
    .sec1 .secSubtitle {
        font-size: 1.2rem;
        margin-top: 0px;
    }
    .secTitle {
        background: linear-gradient(to top, #fff 0%, #fff 35%, #ffffff00 49%, #fff 50%, #fff 80%, #ffffff00 100%);
        background: -webkit-linear-gradient(to top, #fff 0%, #fff 35%, #ffffff00 49%, #fff 50%, #fff 80%, #ffffff00 100%);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        font-size: 2.3rem;
    }
    .secEnd {
        background: linear-gradient(to top, #fff 0%, #fff 35%, #ffffff00 49%, #fff 50%, #fff 80%, #ffffff00 100%);
        background: -webkit-linear-gradient(to top, #fff 0%, #fff 35%, #ffffff00 49%, #fff 50%, #fff 80%, #ffffff00 100%);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        font-size: 1.5rem;
    }
    .sec2 .stepNum b {
        line-height: 1;
    }
    .sec2 .stepText {
        padding-top: 1vmin;
        font-size: 4.7vmin;
    }
    .sec2 .stepText p {
        font-size: 3.7vmin;
    }
    .sec2 .stepText p small {
        font-size: 3.4vmin;
    }
    .linkList li {
        font-size: 3.4vmin;
    }
}