html {

    font-size: 130% !important;
}

body {
    overflow-x: hidden;
    font-family: PingFang TC, Microsoft JhengHei, sans-serif;
    box-sizing: border-box;
}

.container {
    width: 100%;
    height: auto;
    padding-left: 5%;
}

.page1 {
    width: 100%;
    /* height: 100vh; */
    display: flex;
}

.page1_left {
    width: 10%;
    /* height: 100%; */
    display: flex;
    justify-content: center;
    position: relative;
    /* margin-left: 5%; */
    left: 0;
    top: 0;
    overflow: hidden;
}

.page1_left>a {

    position: absolute;
    left: 0;
    bottom: 100%;
    transform-origin: left top;
    display: flex;
    align-items: center;
    color: #191f23;
    font-family: 'Montserrat', 'Noto Sans TW', "PingFang", "PingFangTC", "Microsoft JhengHei", Helvetica, Arial, sans-serif;
    z-index: 88;
    font-weight: bold;
    /* font-size: 16px; */

    font-size: clamp(0.7rem, 0.489rem + 1.05rem, 1.2rem);
    transition: all 0.45s ease;
    transform: rotate(-90deg) translate(calc(-100% - 32px));
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

.page1_left>a>span {
    width: 180%;
    font-size: 18px;
}

.page1_left>a::before {
    content: '';
    display: block;
    width: 1.8rem;
    height: 0.5px;
    margin-right: 5%;
    background-color: #b3b3b3;
}

.page1_left>a:hover {
    letter-spacing: 2px;
}

.page1_content {
    width: 80%;
}

.page1_container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.page1Input {
    width: 30%;
    margin-right: 3%;
    margin-bottom: 2%;

    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s, transform 1s linear;
}

.yzm {
    width: 50%;
}

.yzm div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.yzm div input {
    width: 60%;
}

.yzm div img {
    width: 35%;
    object-fit: contain;
}

.InputBox {
    width: 100%;
    border: 0;
    margin-top: 5%;
    font-size: 18px;
    color: #191f23;
    height: 3.5rem;
    border-radius: 5px;
    background-color: #f5f5f6;
    padding-left: 5%;
    margin-bottom: 2%;
}

.InputBox:focus {
    /* border: 2px solid #cccccc !important; */
    outline: 1px solid #cccccc;
    background-color: #f5f5f6;
}

.required>h5::after {
    content: "*";
    color: red;
    margin-left: 3%;
}

.area {
    width: 100% !important;
}

.area>.InputBox {
    margin-top: 2%;
    height: 300px;
    padding-left: 1%;
    padding-top: 2%;
}

.send {
    width: 15%;
    height: 8%;
    display: flex;
    align-items: center;
    font-weight: bold;
    background-color: #000;
    color: #fff;
    border: 0;
    border-radius: 5px;
    font-size: max(18px,1rem);
    padding-left: 1%;
    padding-right: 1%;
    transition: all 0.5s ease;
    cursor: pointer;
    padding: 2% 1%;
    margin: 2% 2% 5% auto;
}

.send:hover {
    background-color: #036eb8;
}

.send>.icon {
    width: 15%;
    transform: rotate(180deg);
    margin-left: auto;
}

.page1Input>span {
    color: red;
    opacity: 0;
}

.Mask {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 1s ease;
}

.dialog {
    width: 40%;
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-direction: column;
    /* background-color: #000; */

    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.dialog>div:first-child {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: #036eb8;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;

    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;

}

.dialog>div:last-child {
    width: 90%;
    height: 80%;
    border-radius: 3%;
    background-color: #fff;
    margin-top: -2rem;
    margin-left: 1.5rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.cross_animate:hover {
    transform: scale(1.2);
}

.cross_animate>div {
    display: block;
    width: 20px;
    border-top: 2px solid #fff;
    position: absolute;
    /* right: 5%; */

    transition: all 0.4s ease;
}

.cross_animate>div:first-child {
    transform: rotate(135deg);
}

.cross_animate>div:last-child {
    transform: rotate(45deg);
}

.dialog>div:last-child>div {
    width: 60%;
    height: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.dialog>div:last-child>div>h4 {
    font-size: 3rem;
}

.dialog>div:last-child>div>p {
    margin-top: 10%;
}

@media (max-width: 1200px) {
    .page1Input {
        width: 46%;
    }

    .send {
        width: 30%;
        height: 6%;
        margin-bottom: 15%;
    }
}

@media (max-width: 900px) {
    html {
        font-size: 90% !important;
    }

    .page1Input {
        width: 100%;
    }

    .InputBox {
        height: 40px;
    }

    .send {
        height: 4%;
        margin-bottom: 15%;
    }
}

@media (max-width: 600px) {
    html {
        font-size: 70% !important;
    }

    .send {
        width: 30%;
    }
}

.ScrollDown {
    cursor: pointer;
}

@media (max-width:1200px) {
    .page1_left {
        opacity: 0;
    }
}

@media (max-width:740px) {
    .page1_left {
        display: none;
    }

    .page1_content {
        margin-left: 5%;
    }
}

@media (max-width:480px){
    .send {
        width: 100%;
        padding: 5%;
    }
}