* {
    padding: 0;
    margin: 0;
    font-family: Arial, 'Noto Sans TC', sans-serif;
    color: #4D4D4D;
    font-weight: 500;
}

*,
*::after,
*::before {
    box-sizing: border-box;
}

div {
    display: block;
    position: relative;
}

.main {
    margin-top: 75px;
}

.mT {
    margin-top: 2em;
}

.container {
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* -- Coming Soon -- */
.main.coming-soon {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    margin-top: 0 !important;
}

.main.coming-soon p {
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.6;
}

/* --------- Header CSS --------- */
header {
    width: 100%;
    padding: 5px 20px;
    height: 75px;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
}

header>nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header img {
    width: auto;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

header>nav>* {
    height: 100%;
}

header .header-left {
    display: flex;
    align-items: center;
}

header .header-left .logo-img {
    height: 100%;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

header .logo-img.sm>img {
    height: 70%;
}

header .header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

header .header-right * {
    color: #A4216E;
    font-size: .875rem;
    font-weight: 500;
    text-align: center;
}

header .header-right a {
    text-decoration: none;
    display: block;
    cursor: pointer;
    margin-left: 1.5em;
}

header .header-right a span {
    display: block;
}

header .header-right a span.en {
    font-size: .75rem;
}

header .mobile-menu-btn {
    display: none;
    cursor: pointer;
    z-index: 2;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

header .mobile-menu-btn .bar {
    width: 35px;
    height: 2px;
    background-color: #A4216E;
    transition: 0.4s;
}

header .mobile-menu-btn .bar:not(:last-of-type) {
    margin-bottom: 8px;
}

header.open .mobile-menu-btn .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 9px);
    transform: rotate(-45deg) translate(-9px, 9px);
}

header.open .mobile-menu-btn .bar2 {
    opacity: 0;
}

header.open .mobile-menu-btn .bar3 {
    -webkit-transform: rotate(45deg) translate(-5px, -5px);
    transform: rotate(45deg) translate(-5px, -5px);
}

/* --------- Banner CSS --------- */
.slogan {
    height: 400px;
    width: 100%;
}

.slogan img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slogan.slogan2  {
    height: 500px;
}

/* --------- Content CSS --------- */
.wrapper {
    width: 100%;
    padding: 0 20px;
}

.content {
    margin: 2em auto;
}

.content * {
    line-height: 1.6;
}

.text-row {
    width: 100%;
    margin-bottom: 4em;
}

.text-row.gift * {
    font-size: .875rem;
}

.title-wrapper {
    width: 100%;
    height: auto;
    position: relative;
    margin-bottom: 1em;
}

.title-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    background: #A4216E;
}

.title {
    z-index: 2;
    display: block;
    font-weight: 700;
    font-size: 1.5rem;
    color: #A4216E;
    width: fit-content;
    background-color: #fff;
    position: relative;
    padding-right: 10px;
}

.sm-title {
    color: #A4216E;
    font-weight: 700;
}

.red-text,
.red-text * {
    color: #A4216E !important;
}

.strong {
    font-weight: 700;
}

.list-num {
    counter-reset: counter;
    list-style: none;
}

.list-num>li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 2em;
}

.list-num>li::after {
    counter-increment: counter;
    content: counter(counter) '. ';
    position: absolute;
    top: 0;
    left: 0;
    font-size: inherit;
    color: inherit;
}

.img-container {
    margin: 1.5em 0;
}

.img-container>img {
    width: auto;
    height: auto;
    max-width: 100%;
}

.info-list>li {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
}

.info-list>li .list-title {
    width: 30%;
}

.info-list>li .info {
    width: 65%;
    position: relative;
    padding-left: 3ch;
}

.info-list>li .info::after {
    content: "：";
    position: absolute;
    top: 0;
    left: 0;
}

.speakers-container {
    width: 100%;
}

.speaker-block {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5em;
}

.speaker-block .left {
    width: 25%;
}

.speaker-block .left>span {
    font-size: 1.125rem;
}

.speaker-block .speaker-img {
    width: 100%;
    padding: 100% 0 0 0;
    border: 1px solid #000;
}

.speaker-block .speaker-img>img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.speaker-block .right {
    width: 70%;
}


/* --------- Form CSS --------- */
textarea {
    resize: none;
}

.input-col {
    width: 100%;
    margin-bottom: 1.5em;
}

.input-col .input-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1rem;
}

.label.light {
    font-weight: 500;
}

.label.mb {
    margin-bottom: 1em;
}

.bold {
    font-weight: 700 !important;
    color: #000  !important;
}

.input-col .input-wrapper .label {
    width: 40%;
    color: #A4216E !important;
}

.input-col .input-wrapper .input-container {
    width: 58%;
    margin-bottom: 10px;
}

.input-col .input-wrapper .input-container>* {
    width: 100%;
    background-color: #fff;
    border: 1px solid #A4216E;
    padding: 5px 10px;
    font-size: 1rem;
}

.input-col .input-error {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.input-col .input-error .error-des {
    font-size: .75rem;
    color: #A4216E;
    margin-top: 5px;
    display: none;
}

.input-col .input-error .error-des.show {
    display: block;
}

input::placeholder {
    color: #999999;
}

.checkbox_group {
    display: flex;
    margin-top: 1em;
    align-items: flex-start;
}

.checkbox_input {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    margin-top: 3px;
}

.policy_text {
    margin-left: 10px;
}

.policy_text a {
    color: blue;
    cursor: pointer;
    text-decoration: underline;
}

.btn_container {
    display: flex;
    width: 100%;
    justify-content: center;
    margin: 4em 0;
}

.btn-submit {
    width: auto;
    padding: 5px 2em;
    background-color: #A4216E;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 500;
    text-align: center;
    border: none;
    outline: none;
    cursor: pointer;
}

.checkbox-radio-group {
    border: none !important;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.checkbox-radio-group label {
    cursor: pointer;
}

.checkbox-radio-group input[type="radio"],
.checkbox-radio-group input[type="checkbox"] {
    display: none;
}

.checkbox-radio-group input[type="radio"]~.checkbox-radio,
.checkbox-radio-group input[type="checkbox"]~.checkbox-radio {
    width: 15px;
    min-width: 15px;
    height: 15px;
    position: relative;
    border: 1px solid #A4216E;
    display: block;
    cursor: pointer;
    margin-top: 5px;
    margin-right: 10px;
}

.checkbox-radio-group input[type="radio"]:checked~.checkbox-radio,
.checkbox-radio-group input[type="checkbox"]:checked~.checkbox-radio {
    background-color: #A4216E;
}

.checkbox-radio-group input[type="radio"]:checked~.checkbox-radio::after,
.checkbox-radio-group input[type="checkbox"]:checked~.checkbox-radio::after {
    content: "\2713";
    position: absolute;
    width: auto;
    height: auto;
    top: 50%;
    left: 50%;
    color: #fff;
    line-height: 1;
    font-size: 12px;
    transform: translate(-50%, -50%);
}

.checkbox-radio-group a {
    text-decoration: none;
    font-weight: 600;
}

.checkbox-with-input {
    border: none !important;
}

.checkbox-with-input>.input-container {
    padding-left: 25px;
    margin-top: 10px;
    margin-bottom: 0 !important;
    width: 100% !important;
}

.collapse-group {
    width: 100%;
    margin: 30px 0;
}

.collapse-group .collapse-parent {
    width: fit-content;
    padding-right: 30px;
    cursor: pointer;
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1rem;
    color: #000;
    position: relative;
}

.collapse-group .collapse-parent::after {
    content: "\25BC";
    position: absolute;
    right: 0;
    font-size: 12px;
    bottom: 6px;
    transition: transform .3s ease-in-out;
}

.collapse-group.open .collapse-parent::after {
    transform: rotate(180deg);
}

.collapse-group .collaspe-content {
    height: auto;
    max-height: 0;
    width: 100%;
    overflow: hidden;
    transition: max-height .3s ease-in-out;
}

.collapse-group.open .collaspe-content {
    max-height: 5000px !important;
    overflow: auto;
}

.href-btn {
    cursor: pointer;
}


/* --------- Footer CSS --------- */
footer {
    width: 100%;
    padding: 30px 20px;
    background-color: #A4216E;
    display: block;
}

footer * {
    color: #fff;
}

footer .contact-info {
    margin-bottom: 3em;
}

footer .contact-info * {
    font-size: 1.25rem;
}

footer .contact-info a {
    display: block;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    margin-top: 5px;
    width: fit-content;
}

footer .contact-info a.contact-phone {
    padding-left: 25px;
}

footer .contact-info a.contact-phone::after {
    content: "\260E";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

footer .footer-link *,
footer .footer-des * {
    font-size: .875rem;
    text-decoration: none;
    font-weight: 400;
}

footer .footer-link {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

footer .footer-link>div {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    margin-bottom: 10px;
}

footer .footer-link>div:not(:last-of-type) {
    margin-right: 10px;
}

footer .footer-link>div:not(:last-of-type)::after {
    content: '';
    width: 1px;
    height: 80%;
    background-color: #fff;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateX(5px) translateY(-50%);
}

footer .footer-link a {
    display: block;
    margin-right: 3px;
}

@media (max-width:1000px) {
    .slogan.slogan2  {
        height: 400px;
    }

    footer .footer-link {
        flex-direction: column;
    }

    footer .footer-link>div:not(:last-of-type)::after {
        display: none;
    }
}

@media (max-width:630px) {
 

    header {
        padding: 10px 20px;
    }

    header>nav::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100%;
        background-color: #fff;
    }

    header .header-left {
        z-index: 10;
    }

    header .mobile-menu-btn {
        display: flex;
        z-index: 10;
    }

    header .header-right {
        display: flex;
        position: absolute;
        width: 100%;
        height: 0;
        top: 0;
        left: 0;
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
        background: #A4216E;
        padding: 95px 20px 20px;
        visibility: hidden;
        pointer-events: none;
        transition: height .3s ease-in-out;
    }

    header.open .header-right {
        height: 100vh;
        visibility: visible;
        pointer-events: all;
    }

    header .header-right * {
        color: #fff;
        text-align: left;
    }

    header .header-right a {
        margin-left: 0;
        margin-bottom: 20px;
        width: 100%;
    }

    footer .footer-link>div {
        flex-direction: column;
    }
}

@media (max-width:500px) {
    .slogan.slogan2  {
        height: 300px;
    }

    /* .slogan {
        height: 250px;
    } */
    header {
        padding: 15px 20px;
    }

    header .mobile-menu-btn .bar {
        width: 25px;
    }

    header .mobile-menu-btn .bar:not(:last-of-type) {
        margin-bottom: 5px;
    }

    header.open .mobile-menu-btn .bar1 {
        -webkit-transform: rotate(-45deg) translate(-4px, 4px);
        transform: rotate(-45deg) translate(-4px, 4px);
    }

    header.open .mobile-menu-btn .bar3 {
        -webkit-transform: rotate(45deg) translate(-6px, -6px);
        transform: rotate(45deg) translate(-6px, -6px);
    }

    .speaker-block {
        flex-direction: column;
    }

    .speaker-block .left {
        width: 100%;
        max-width: 250px;
        margin-bottom: 10px;
    }

    .speaker-block .right {
        width: 100%;
    }
}