:root {
    --color-active-red: #fa6046
}

body.alert-open {
    overflow: hidden;
}

section {
    margin: 0 auto 120px;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 198px calc((100vw - var(--size-safearea)) / 2) 200px;
    background: linear-gradient(180deg, #FFE6E1 0%, rgba(255, 245, 243, 0) 100%);
    /* background-image: url(https://zhiyun-website-shenzhen.oss-cn-shenzhen.aliyuncs.com/images/20210324/1616559275396-zRtymSEN.jpg); */
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    /* margin-bottom: 220px; */
}

.header h4 {
    width: 50%;
    font-weight: 400;
    line-height: 160%;
}

.header span {
    font-size: 90px;
    color: var(--color-active-red);
}

.header-img {
    width: 600px;
    position: absolute;
    bottom: 150px;
    right: calc((100% - var(--size-safearea)) / 2 - 60px);
    height: 740px;
    object-fit: cover;
    box-shadow: 20px 20px var(--color-active-red);
}

.button-enter {
    padding: 16px 40px;
    background-color: var(--color-active-red);
    width: max-content;
    color: white !important;
    font-weight: 600;
    display: block;
    margin-right: 24px;
    border: none;
    box-shadow: 20px 20px 40px #ef604a1e;
    cursor: pointer;
    transition: all 0.2s;
}

.button-can-get {
    border: none;
    background: none;
}

.button-enter:hover {
    box-shadow: 20px 20px 40px #ef604a34;
    transform: scale(1.06);
}

.header-button-ctn {
    display: flex;
    align-items: center;
    margin-top: 36px;
}

.header-button-ctn>a {
    font-size: 14px;
}

.logo-ctn {
    display: flex;
    align-items: center;
    font-size: 72px;
}

.logo-ctn>* {
    margin-right: 12px;
}

.logo-ctn>img {
    width: 120px;
}

.logo-ctn>svg {
    width: 160px;
    height: auto;
}

.logo-ctn>div {
    margin-bottom: 8px;
}

.header * {
    color: var(--color-black);
}

.header>.text {
    margin-right: 32px;
}

.header>.img {
    width: 500px;
    height: 600px;
    background-color: antiquewhite;
}

h1 {
    font-size: 90px;
    margin: 12px 0px;
    font-weight: 800;
}

h3 {
    font-size: 24px;
    margin: 12px 0px;
    font-weight: 800;
}

.active-detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - var(--size-grid-gap) * 2);
    max-width: var(--size-safearea);
}

.sec-text {
    width: 50%;
}

.step-text span {
    font-size: unset;
    color: var(--color-active-red);
    font-weight: 600;
    line-height: 160%;
}

.active-detail h2 {
    font-size: 50px;
    margin-bottom: 24px;
    font-weight: 800;
    color: var(--color-active-red);
}

.sec-text>.body {
    font-size: 16px;
    line-height: 150%;
    font-size: 17px;
    line-height: 160%;
}

#sec3 {
    flex-direction: column;
    align-items: baseline;
}

#sec3>div {
    align-items: baseline;
    display: flex;
    margin-top: 12px;
    position: relative;
    flex-wrap: wrap;
    flex-direction: row;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    width: 60px;
    height: 60px;
    background-color: #fff5f3;
    border-radius: 30px;
    color: var(--color-active-red);
    flex-shrink: 0;
    margin-right: 24px;
}

.step-text {
    display: flex;
    align-items: center;
    color: var(--color-black);
}

.form-step .step-text {
    font-size: 14px
}

.form-step .step-ctn {
    padding: 16px
}

.form-step .step-number {
    width: 40px;
    height: 40px;
}

.form-step svg {
    width: 24px;
    height: 24px;
}

.step-ctn {
    width: 100%;
    display: flex;
    z-index: 1;
    padding: 24px;
    box-sizing: border-box;
    box-shadow: 0px 35px 19px -24px #3C36350A;
    border-radius: 8px;
    border: 1px solid #f2f2f2;
    margin-bottom: 24px;
}

.step-line {
    position: absolute;
    width: 1px;
    height: 100%;
    padding-right: 60px;
    border-right: 2px dashed black;
}

#sec4 {
    flex-direction: column;
    align-items: center;
    padding: 160px calc((100vw - var(--size-safearea)) / 2) 160px;
    background-color: #FBF5F4;
    width: unset;
    margin-bottom: 0px !important;
}

#sec4>h2 {
    width: calc(100% - var(--size-grid-gap) * 2);
    max-width: var(--size-safearea);
}

#sec4>button {
    padding: 24px 60px;
    margin-top: 140px;
    font-size: 18px;
}

#sec4>div {
    display: grid;
    margin-top: 16px;
    grid-gap: 36px;
    grid-template-columns: repeat(3, 1fr);
}

#sec4>div>div {
    padding: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: white;
    width: 100%;
    box-shadow: 0px 55px 27px -24px #F2E6E4;
    box-sizing: border-box;
    /* border-radius: 16px; */
}

#sec1-1>img,
#sec1-1>.sec-text,
#sec1-2>img,
#sec1-2>.sec-text {
    width: 48%;
}

#sec1-1>img,
#sec1-2>img {
    box-shadow: 12px 12px var(--color-active-red);
    width: 40%;
    height: 420px;
    object-fit: cover;
}

#sec2 {
    width: unset;
    max-width: unset;
    flex-direction: column;
}

#sec2>img {
    width: 100%;
}

.sec2-text {
    padding: 108px calc((100vw - var(--size-safearea)) / 2) 108px;
    background-color: #fbf5f4;
    margin: unset;
    width: unset;
}

.top>div {
    display: flex;
    width: 100%;
    align-items: center;
    margin-bottom: 12px;
    color: var(--color-grey-black);
}

.top>div>img {
    width: 20px;
    height: auto;
    margin-right: 12px;
}

.top>img {
    margin-bottom: 30px;
    width: 240px;
}

.bonus {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-black) !important;
}

#sec5 {
    display: block;
    flex-direction: column;
    align-items: baseline;
    background-color: rgb(255, 255, 255);
    padding: 80px;
    box-sizing: border-box;
    position: fixed;
    z-index: 9999999999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    height: auto;
    /* background: rgb(255 255 255 / 80%);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px); */
    transform: scale(0.96);
    visibility: hidden;
    opacity: 0;
    overflow-y: scroll;
    pointer-events: none;
    transition: all 0.3s;
}

#sec5.complete {
    overflow: scroll;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(4, 100%);
    overflow-x: hidden;
    --size-alert-height: auto;
    height: var(--size-alert-height);
    margin-bottom: 20px;
}

.form-grid>div {
    height: var(--size-alert-height);
    overflow: hidden;
    transition: all 0.3s;
}

.form-grid>div:nth-child(4) .form-textarea {
    grid-column: 1/ 3;
}

.form-ctn {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    grid-gap: 24px;
    margin: 8px auto 32px;
    padding: 4px;
    box-sizing: border-box;
}

.input-defaul-form {
    width: 100%;
    margin-top: 8px;
}

.textarea-defaul-form {
    width: 100%;
    margin-top: 8px;
}

.form-button-ctn {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-button-ctn>div {
    display: flex;
    align-items: center;
}

.form-button-ctn>div>button {
    margin-right: 12px;
    padding: 12px 54px;
}

.form-button-ctn>button {
    padding: 12px 24px;
    font-size: 16px;
    display: none;
}

.submit-btn {
    border: none;
    background-color: var(--color-active-red);
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
}

.back-btn {
    border: 1px solid var(--color-active-red);
    color: var(--color-active-red);
    font-size: 16px;
    font-weight: 600;
    background: none;
    padding: 12px 24px;
    display: none;
}

.close-btn {
    border: 1px solid var(--color-active-red);
    color: var(--color-active-red);
    font-size: 16px;
    font-weight: 600;
    background: none;
    padding: 12px 24px;
}

.form-step .close-btn {
    margin: 24px 0px 38px;
}

#sec5>div {
    width: 100%;
}

.form-bar {
    top: 0px;
    position: absolute;
    width: var(--size-bar-width) !important;
    height: 3px;
    background-color: #ee614a;
    left: 0;
    transition: all 0.3s;
    --size-bar-width: 0
}

.sec5-mask {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: #00000091;
    z-index: 9999999999;
    top: 0;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
}

#sec5.active {
    transform: scale(1);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.sec5-mask.active {
    opacity: 1;
    visibility: visible;
}

#sec5>svg {
    position: absolute;
    right: 36px;
    top: 36px;
    cursor: pointer;
}

footer {
    margin-top: 0px;
}

.input-defaul-form {
    background-color: #f0f3f5;
}

.textarea-defaul-form {
    background-color: #edf1f3;
}

textarea {
    resize: none;
}

.zy-form.fail {
    border: 1px solid #ee614a;
}

.form-supplement {
    font-size: 13px;
    margin-bottom: 12px;
    color: #6c7379;
}

.all-candidates {
    grid-column: 1 / 4;
    padding: 54px !important;
}

.all-candidates-supplement {
    text-align: center;
    font-size: 12px;
    color: var(--color-grey-gray) !important;
}

.all-candidates>div {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    grid-gap: 12px;
    margin-bottom: 12px;
    color: var(--color-grey-black);
}

.all-candidates>h2 {
    color: var(--color-black);
}

.form-step {
    width: calc(100% - 160px) !important;
    visibility: hidden;
    flex-direction: column;
    position: absolute;
    top: 60px;
}

.form-alert-footer {
    margin-bottom: 80px;
}

.form-alert-footer a {
    color: var(--color-link);
}

.form-step.complete {
    visibility: visible;
    display: flex;
    grid-template-rows: auto;
}

.form-grid.complete {
    display: none;
}

.form-alert-footer.complete {
    display: none;
}

.form-step>.step-ctn:nth-child(2) {
    /* background-color: #fa6046; */
    color: white;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.form-step>.step-ctn:nth-child(2)>.step-number {
    background-color: #fff;
    color: #fa6046;
    z-index: 1;
}

.form-step>.step-ctn:nth-child(2)>.step-text {
    color: white;
    z-index: 1;
}

.form-step-one-bar {
    width: 0%;
    height: 100%;
    background-color: #fa6046;
    position: absolute;
    left: 0;
    top: 0;
    transition: all 0.6s cubic-bezier(1, 0.01, 1, 1);
}

.form-step-one-bar.complete {
    width: 100%;
}

.sec2-img-ctn {
    display: flex;
    align-items: baseline;
}

.sec2-img-ctn>img {
    width: 100%;
    font-size: 0px;
    display: block;
}

.sec2-img-ctn>img:nth-child(2) {
    display: none;
}

#sec3 .step-text>.button-enter {
    margin-left: 24px;
    padding: 12px 16px;
    font-size: 12px;
    border-radius: 24px;
}

@media screen and (max-width:1201px) {
    h1 {
        font-size: 80px;
    }
    .header span {
        font-size: 80px;
    }
    .logo-ctn>svg {
        width: 144px;
    }
    .logo-ctn>img {
        width: 110px;
    }
    h3 {
        font-size: 18px;
    }
    .header h4 {
        font-size: 14px;
    }
    .header-img {
        width: 480px;
        right: calc((100% - var(--size-safearea)));
        bottom: 165px;
        height: 670px;
    }
    #sec4>div>div {
        padding: 36px !important;
    }
    #sec4>div {
        grid-template-columns: unset;
    }
    .all-candidates {
        grid-column: unset;
    }
}

@media screen and (max-width:768px) {
    section {
        margin: 0 auto 40px;
    }
    .header {
        flex-direction: column;
        padding: 120px calc((100vw - var(--size-safearea)) / 2) 0px;
    }
    .header * {
        text-align: center;
        /* width: calc(100% - var(--size-grid-gap) * 2);
        margin: 12px auto; */
    }
    .logo-ctn {
        justify-content: center;
        font-size: 48px;
    }
    .logo-ctn>svg {
        width: 100px;
    }
    .header h4 {
        width: 100%;
    }
    .header-img {
        position: unset;
        height: 450px;
        width: calc(100% - var(--size-grid-gap) * 2);
        margin: 60px 0px;
    }
    .header h3 {
        width: calc(100% - var(--size-grid-gap) * 2);
        margin: 0 auto;
    }
    .header h4 {
        width: calc(100% - var(--size-grid-gap) * 2);
        margin: 12px auto;
    }
    .header>.text {
        margin-right: 0px;
    }
    .header-button-ctn {
        justify-content: center;
    }
    .button-enter {
        margin-right: 12px;
    }
    h1 {
        font-size: 70px;
    }
    .header span {
        font-size: 70px;
    }
    .logo-ctn>img {
        width: 80px;
    }
    #sec1-1>img,
    #sec1-1>.sec-text,
    #sec1-2>img,
    #sec1-2>.sec-text {
        width: 100%;
    }
    .active-detail {
        flex-direction: column;
    }
    .sec-text {
        margin-top: 36px;
        padding: 0px;
    }
    .header-img {
        display: none;
    }
    #sec1-2>.sec-text {
        order: 1;
    }
    .sec-text>.body {
        font-size: 15px;
    }
    /* .active-detail h2 {
        width: calc(100% - var(--size-grid-gap) * 2);
        margin: 0 auto;
    } */
    .sec2-text>.body {
        width: calc(100% - var(--size-grid-gap) * 2);
        margin: 24px auto 24px
    }
    .sec2-text>h2 {
        width: calc(100% - var(--size-grid-gap) * 2);
        margin: 60px auto 0px;
    }
    #sec1-1>img,
    #sec1-2>img {
        box-shadow: unset;
    }
    .step-text {
        font-size: 13px;
        font-weight: 400;
    }
    .step-ctn {
        padding: 12px;
    }
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }
    #sec4>h2 {
        margin: 72px auto 32px;
    }
    #sec4>div {
        margin-top: 0px;
    }
    #sec4 {
        margin-top: 24px;
        padding: 0px;
    }
    #sec4>div>div {
        width: calc(100% - var(--size-grid-gap) * 2);
        margin: 0 auto;
    }
    .all-candidates>h2 {
        font-size: 32px !important;
    }
    .active-detail h2 {
        font-size: 40px;
    }
    .all-candidates>div {
        justify-content: flex-start;
        text-align: left;
        font-size: 14px;
    }
    .all-candidates-supplement {
        font-size: 12px !important;
    }
    #sec4>button {
        margin: 80px 0px;
    }
    .sec2-img-ctn>img {
        width: 300vw;
    }
    .sec2-img-ctn>img:nth-child(2) {
        display: block;
    }
    #sec2 {
        align-items: baseline;
        overflow: hidden;
    }
    .sec2-img-ctn {
        animation: sec2ImgAnimation 50s linear infinite
    }
    #sec5 {
        padding: 62px 32px 32px;
        height: auto;
        width: 100%;
    }
    #sec5.complete {
        overflow: scroll;
    }
    .form-supplement {
        display: none;
    }
    .form-grid {
        height: auto;
        --size-alert-height: auto
    }
    .form-grid>div {
        height: auto;
    }
    .form-ctn {
        grid-template-columns: repeat(1, 1fr);
    }
    .form-button-ctn {
        flex-direction: column;
        justify-content: space-between;
    }
    .form-step {
        width: calc(100% - 64px) !important;
    }
    .step-number>svg {
        width: 24px;
    }
    #sec4>button {
        padding: 16px 48px;
    }
    .online-service-btn-ctn {
        position: absolute;
    }
    .form-alert-footer {
        margin-bottom: 40px;
    }
    .form-button-ctn>div>button {
        margin-right: 0px;
        width: 100%;
        margin-bottom: 12px;
    }
    .form-button-ctn>div {
        width: 100%;
        flex-direction: column;
    }
    .form-button-ctn>button {
        width: 100%;
        border: none;
        color: var(--color-grey-black);
        font-weight: 400;
        font-size: 16px;
        display: block;
    }
}

@keyframes sec2ImgAnimation {
    0% {
        transform: translateX(0vw);
    }
    100% {
        transform: translateX(-300vw);
    }
}