@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Huninn&display=swap');

.Wrapper-hero {
    background-image: url(../images/join_teach_pic_hero_bg.webp);
    background-size: cover;
    background-position: center top;
    height: 960px;
    background-repeat: no-repeat;
}

    .Wrapper-hero img {
        width: 340px;
    }

.hero-font-red {
    /* font-family: "Huninn", sans-serif; */
    font-weight: 600;
    color: #cb2219;
    font-size: 110px;
    font-optical-sizing: auto;
    margin-top: 0px;
    margin-bottom: 15px;
}

.hero-font-black {
    /* font-family: "Huninn", sans-serif; */
    font-weight: 500;
    color: #18243b;
    font-size: 60px;
    font-optical-sizing: auto;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 70px;
}

    .hero-content .btn-submit {
        display: inline-flex;
        background-color: #cb221900;
        color: #cb2219;
        border: 2px solid #cb2219;
        border-radius: 50px;
        font-size: 24px;
        font-optical-sizing: auto;
        font-weight: bold;
        padding: 9px 60px;
        animation: breathing 2s infinite ease-in-out;
        transition: all 0.3s ease;
    }

        .hero-content .btn-submit:hover {
            background-color: #cb2219;
            color: #ffffff;
            border: 2px solid #cb2219;
            border-radius: 50px;
            font-size: 24px;
            font-weight: bold;
            padding: 9px 60px;
            animation: breathing 2s infinite ease-in-out;
            transition: all 0.3s ease;
        }

.Wrapper-a {
    background-color: #fcfaf8;
    padding-top: 60px;
    padding-bottom: 30px;
}

.Wrapper-b {
    background-color: #fcfaf8;
    padding-top: 30px;
    padding-bottom: 60px;
}

/* 標題列佈局 */
.title-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

    /* H2 標籤與左側紅線 */
    .title-row h2 {
        color: #18243b;
        /* 深藍色 */
        font-weight: bold;
        font-size: 30px;
        font-optical-sizing: auto;
        margin: 0;
        padding-left: 9px;
        border-left: 5px solid #d92d20;
        /* 左側紅線 */
        white-space: nowrap;
        /* 電腦版文字不換行 */
        line-height: 1;
    }

/* 右側虛線 */
.dashed-line {
    flex-grow: 1;
    height: 0;
    border-top: 1px dashed #999999;
    /* 灰虛線 */
    margin-left: 15px;
}

/* 下方描述文字 */
.Wrapper-a .description,
.Wrapper-b .description {
    color: rgba(24, 36, 59, 0.87);
    /* 深灰字 */
    font-size: 15px;
    font-optical-sizing: auto;
    margin-bottom: 60px;
    padding-left: 14px;
    /* 與上方標題對齊 */
    line-height: 1.6;
}

.Wrapper-b .description {
    margin-bottom: 36px;
}

.icon_01 {
    width: 150px;
    height: auto;
    overflow: hidden;
    margin: 0 auto 24px;
}

.Wrapper-a h3,
.Wrapper-b h3 {
    font-size: 24px;
    font-optical-sizing: auto;
    color: #18243b;
    font-weight: bold;
    margin-bottom: 12px;
}

.hero-content p {
    width: 600px;
    margin: auto;
}

.Wrapper-a p,
.Wrapper-b p,
.hero-content p {
    font-size: 16px;
    font-optical-sizing: auto;
}

.Wrapper-b ul li {
    list-style-type: none;
    position: relative;
    padding-left: 18px;
    margin-bottom: 7px;
    font-optical-sizing: auto;
}

    .Wrapper-b ul li::before {
        content: "★";
        margin-right: 5px;
        position: absolute;
        left: 0;
    }

.Wrapper-c {
    background-image: url(../images/join_teach_pic_bg.webp);
    background-size: cover;
    background-position: center;
    padding: 60px 15px;
    background-color: #18243b;
}

.title-row2 {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

    .title-row2 h2.center_position {
        color: rgba(255, 255, 255, 1);
        font-weight: bold;
        font-size: 30px;
        font-optical-sizing: auto;
        margin-bottom: 60px;
        line-height: 1;
    }

.Wrapper-c h3 {
    color: rgba(255, 255, 255, 1);
    font-size: 24px;
    font-optical-sizing: auto;
    font-weight: bold;
    margin-bottom: 12px;
}

.Wrapper-c p {
    color: rgba(255, 255, 255, .87);
    font-size: 16px;
    font-optical-sizing: auto;
}

.Wrapper-d .form-control::-webkit-input-placeholder {
    color: rgba(24, 36, 59, 0.54);
    font-size: 16px;
    font-optical-sizing: auto;
}

.Wrapper-d .form-control input::-moz-placeholder {
    color: rgba(24, 36, 59, 0.54);
    font-size: 16px;
    font-optical-sizing: auto;
}

.Wrapper-d .form-control::-ms-input-placeholder {
    color: rgba(24, 36, 59, 0.54);
    font-size: 16px;
    font-optical-sizing: auto;
}

.Wrapper-d .link_underlined {
    font-size: 16px;
    font-optical-sizing: auto;
}

.Wrapper-d .title-row2 h2.center_position {
    color: #18243b;
    font-weight: bold;
    font-size: 30px;
    font-optical-sizing: auto;
    margin-bottom: 12px;
    line-height: 1;
}

.Wrapper-d {
    background-color: #fafafa;
    padding-top: 60px;
    padding-bottom: 45px;
}

    .Wrapper-d .description {
        color: rgba(24, 36, 59, 0.87);
    }

    .Wrapper-d .form-check {
        margin-bottom: 7px;
    }

    .Wrapper-d .btn-submit {
        display: inline-flex;
        background-color: #213b7e;
        color: #ffffff;
        border: 1px solid #ffffff;
        border-radius: 50px;
        font-size: 20px;
        padding: 10px 30px;
        animation: breathing 2s infinite ease-in-out;
        transition: all 0.3s ease;
    }

        .Wrapper-d .btn-submit:hover {
            background-color: #1a2749;
            color: #fff;
            border-color: #ffffff;
        }

    .Wrapper-d .btn-submit-s {
        display: inline-flex;
        background-color: #213b7e!important;
        color: #ffffff;
        border: 1px solid #ffffff;
        border-radius: 0.375rem;
        font-size: 16px;
        height: 48px;
        padding: 10px 20px;
        /*animation: breathing 2s infinite ease-in-out;
        transition: all 0.3s ease;*/
    }

        .Wrapper-d .btn-submit-s:disabled {
            /*background: color(srgb 0 0 0 / 0.38);*/
            background-color: color(srgb 0 0 0 / 0.38)!important;
        }

        .Wrapper-d .btn-submit-s:hover {
            background-color: #1a2749;
            color: #fff;
            border-color: #ffffff;
        }

.Wrapper-qa-color {
    background-color: #1a2749;
    padding-top: 60px;
    padding-bottom: 60px;
}

    .Wrapper-qa-color .title-row2 h2.center_position {
        color: rgba(255, 255, 255, 1);
        font-weight: bold;
        font-size: 30px;
        line-height: 1;
        margin-bottom: auto;
    }

    .Wrapper-qa-color .description {
        color: rgba(255, 255, 255, 0.87);
        margin-bottom: 0px;
    }

.qa-bg-color {
    background-color: rgba(255, 255, 255, .12);
}

.Wrapper-qa-color .card-body {
    padding: 15px;
    background-color: #c9ccd3;
}

.Wrapper-qa-color .qa_title {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 0;
    padding: 15px;
}

.Wrapper-qa-color p {
    font-size: 16px;
    font-optical-sizing: auto;
}

.qa_gap {
    gap: 24px 0;
}

.Wrapper-qa-color .autoRotate > i {
    color: #fafafa;
}

.btn-goto {
    display: inline-flex;
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 50px;
    font-size: 20px;
    font-optical-sizing: auto;
    padding: 10px 30px;
    animation: breathing 2s infinite ease-in-out;
    transition: all 0.3s ease;
}

    .btn-goto:hover {
        background-color: #ffffff;
        color: #18243b;
        border-color: #ffffff;
    }

@media (max-width: 1399.98px) {
    .Wrapper-hero {
        background-image: url(../images/join_teach_pic_hero_bg.webp);
        /* background-size: 1920px; */
        background-position: center top;
        height: 750px;
    }

    .hero-font-red {
        font-size: 80px;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .hero-font-black {
        font-size: 45px;
    }

    .hero-content p {
        width: 550px;
        margin: auto;
    }

    .hero-content {
        row-gap: 45px;
    }
}

@media (max-width: 1199.98px) {
    .Wrapper-hero {
        background-image: url(../images/join_teach_pic_hero_bg.webp);
        background-size: 1550px;
        background-position: center -190px;
        height: 600px;
    }

    .hero-content {
        row-gap: 45px;
    }
}

@media (min-width: 992px) {
}

@media (max-width: 991.98px) {
    .hero-font-red {
        font-size: 60px;
        margin-top: 0px;
        margin-bottom: 5px;
    }

    .hero-font-black {
        font-size: 42px;
    }

    .hero-content p {
        width: 460px;
        margin: auto;
    }

    .hero-content {
        row-gap: 57px;
    }

        .hero-content .btn-submit {
            display: inline-flex;
            background-color: #cb221900;
            color: #cb2219;
            border: 2px solid #cb2219;
            border-radius: 50px;
            font-size: 20px;
            font-optical-sizing: auto;
            font-weight: bold;
            padding: 9px 40px;
            animation: breathing 2s infinite ease-in-out;
            transition: all 0.3s ease;
        }

            .hero-content .btn-submit:hover {
                background-color: #cb2219;
                color: #ffffff;
                border: 2px solid #cb2219;
                border-radius: 50px;
                font-size: 20px;
                font-weight: bold;
                padding: 9px 40px;
                animation: breathing 2s infinite ease-in-out;
                transition: all 0.3s ease;
            }

    .title-row h2 {
        color: #18243b;
        font-weight: bold;
        font-size: 27px;
        font-optical-sizing: auto;
        margin: 0;
        padding-left: 9px;
        border-left: 5px solid #d92d20;
        white-space: nowrap;
        line-height: 1;
    }

    .title-row2 h2.center_position {
        font-size: 27px;
    }

    .Wrapper-d .title-row2 h2.center_position {
        font-size: 27px;
    }

    .Wrapper-qa-color .title-row2 h2.center_position {
        font-size: 27px;
    }

    .Wrapper-a h3,
    .Wrapper-b h3 {
        font-size: 20px;
        font-optical-sizing: auto;
        color: #18243b;
        font-weight: bold;
        margin-bottom: 12px;
    }

    .Wrapper-b img {
        width: 180px;
        display: block;
        margin: auto;
    }

    .Wrapper-c h3 {
        color: rgba(255, 255, 255, 1);
        font-size: 20px;
        font-optical-sizing: auto;
        font-weight: bold;
        margin-bottom: 6px;
    }

    .Wrapper-d {
        background-color: #fafafa;
        padding-top: 45px;
        padding-bottom: 45px;
    }
}

@media (max-width: 767.98px) {
    .Wrapper-qa-color .description {
        margin-bottom: 0px;
    }

    .hero-font-red {
        font-size: 45px;
        margin-top: 0px;
        margin-bottom: 5px;
    }

    .hero-font-black {
        font-size: 30px;
    }

    .hero-content {
        row-gap: 40px;
    }

    .Wrapper-hero {
        background-image: url(../images/join_teach_pic_hero_bg.webp);
        background-size: 1380px;
        background-position: center -190px;
        height: 520px;
    }

    .Wrapper-b img {
        width: 360px;
        display: block;
        margin: auto;
    }

    .Wrapper-c picture {
        width: 150px;
    }
}

@media (max-width:575.98px) {
    .Wrapper-a {
        padding-top: 45px;
    }

    .Wrapper-b {
        padding-bottom: 45px;
    }

    .hero-content p {
        width: 90%;
    }

    .title-row {
        margin-bottom: 7px;
    }

        .title-row h2 {
            color: #18243b;
            font-weight: bold;
            font-size: 24px;
            font-optical-sizing: auto;
            margin: 0;
            padding-left: 9px;
            border-left: 5px solid #d92d20;
            white-space: normal;
            line-height: 1.4;
        }

    .dashed-line {
        display: none;
    }

    .icon_01 {
        width: 120px;
        height: auto;
        overflow: hidden;
        margin: 0 auto 24px;
    }

    .Wrapper-b img {
        width: 310px;
        display: block;
        margin: auto;
    }

    .title-row2 h2.center_position {
        margin-bottom: 45px;
    }

    .Wrapper-d .form-check {
        margin-bottom: 12px;
    }

    .Wrapper-qa-color {
        background-color: #1a2749;
        padding-top: 60px;
        padding-bottom: 45px;
    }

    .Wrapper-c {
        padding: 60px 7px;
    }

        .Wrapper-c picture {
            width: 210px;
        }

    .Wrapper-hero {
        background-image: unset;
        background-color: #e6e2df;
        background-size: 1710px;
        background-position: center -150px;
        height: auto;
    }

    .hero-content {
        row-gap: 50px;
        padding: 0 0 45px;
    }
}
