body {
    margin: 0;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: Arial, "Microsoft JhengHei", sans-serif;
}
.hidden { visibility: hidden; }
.disappear { display: none; }
.donly { display: block; }
.monly { display: none; }
.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.left { float: left; }
.right { float: right; }
.float_group:after {
    content: "";
    display: table;
    clear: both;
}
.flex_direction_vertically_center {
    display: flex;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.absolute_vertically_center {
    display: inline-block;
    position: absolute;
    margin: 0;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
}

@keyframes singleBanner {
    0%   {opacity: 0.8; transform: scale(1);}
    100% {opacity: 1; transform: scale(1.05);}
}


@keyframes pulse {
    from {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }

    50% {
        -webkit-transform: scale3d(0.98, 0.98, 0.98);
        transform: scale3d(0.98, 0.98, 0.98);
    }

    to {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

/* form */
#form .header {
    /* padding: 80px 0 40px; */
    width: 100%;
    overflow: hidden;
}
#form .header .text1 {
    text-align: center;
    color: #454545;
    /* padding-bottom: 10px; */
    font-size: 24px;
    /* font-weight: bold; */
}
#form .header .text2 {
    text-align: center;
    color: #aa323c;
    padding-bottom: 10px;
    font-size: 32px;
    padding-top: 1%;
}
#form .header .text2 div {
    display: inline-block;
    animation-name: pulse;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}
#form .header .text2 span {
    font-size: 16px;
}
#form .header .text3 {
    text-align: center;
    color: #494949;
    padding-top:1%;
}
#form .header .text3 span {
    font-size: 12px;
}
#form .header .text3 div {
    display: inline-block;
    margin: 0 10px;
}

#form .body {
    background: #f4dad0;
    padding: 40px;
    text-align: center;

}

#form .body .image {
    display: inline-block;
    vertical-align: top;
    width: 456px;
}
#form .body .image img {
    max-width: 456px;
}

#form .body .form {
    display: inline-block;
    vertical-align: top;
    margin-left: 30px;
    width: 500px;
    text-align: left;
}

#form .body .form .block {
    position: relative;
    width: 100%;
    height: 32px;
    margin-bottom: 10px;
}

#form .body .form .block input[type=text],
#form .body .form .block select {
    width: 100%;
    height: 100%;
    border: 0;
    outline: 0;
    border-radius: 0;
    padding: 0 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: white;
    color: #000;
    font-size: 14px;
}
#form .body .form .block input[type=text]::placeholder {
    opacity: 1;
    color: #000;
}

.arrow_down {
    position: absolute;
    pointer-events: none;
    right: 1%;
    top: 11px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #000;
}

#form .body .form .note {
    padding: 0 10px 10px;
    color: #000;
    font-size: 13px;
}

#form .body .form .agger {
    position: relative;
    display: block;
    width: 100%;
    padding-left: 28px;
    color: #000;
    font-size: 13px;
    line-height: 16px;
    margin-bottom: 10px;
}

#form .body .form .agger a {
    color: #000;
}

#form .body .form .agger input {
    position: absolute;
    opacity: 0;
}

#form .body .form .agger .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 16px;
    width: 16px;
    background-color: #fff;
}

#form .body .form .agger .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

#form .body .form .agger input:checked ~ .checkmark:after {
    display: block;
}

#form .body .form .agger .checkmark:after {
    left: 5px;
    top: 3px;
    width: 3px;
    height: 6px;
    border: solid black;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    box-sizing: unset;
}

#form .body .form .submit {
    margin-top: 20px;
    text-align: center;
}
#form .body .form .submit button{
    border: 0;
    width: 200px;
    height: 50px;
    font-size: 22px;
    color: #fff;
    background: #bd1622;
    cursor: pointer;
    outline: 0;
}

#form .body .form .submit button:hover {
    border: 2px solid white;
    color: #bd1622;
    background: white;
}

#form .footer {
    background-color: white;
    width: 100%;
    height: 80px;
}


/* footer */
footer {
    border-top: 1px solid #e5e5e5;
    background-color: white;
    text-align: center;
    padding: 0px 15px 15px;
    color: #494949;
}
footer a {
    color: #494949;
    text-decoration: none;
}
footer div {
    display: inline-block;
    margin: 15px 10px 0;
    font-size: 12px;
    height: 40px;
    padding: 14px 0;
    line-height: 1;
    vertical-align: middle;
}
footer div.footer_logo {
    padding: 0;
}

@media (max-width:1200px) {
    .donly { display: none; }
    .monly { display: block; }


    /* form */
    #form .body .image {
        width: 100%;
    }
    #form .body .image img {
        max-width: 768px;
        width: 100%;
    }
    #form .body .form {
        width: 100%;
        max-width: 768px;
        margin-left: 0;
        margin-top: 20px;
    }
    #form .header .text0{
        text-align: center;
        color: #aa323c;
        padding-bottom: 10px;
        font-size: 24px;
        padding-top: 1%;
        font-weight: 600;
    }
    #form .header .text1{
        /* font-size: 19px; */
        font-weight: 400;
        padding: 0px 21px 10px;
        font-size: 18px;
    }
    #form .header .text2 {
        font-size: 24px;
    }
}

@media (max-width:768px) {
    .donly { display: none; }
    .monly { display: block; }

    /* form */
    #form .header .text2 div {
        display: block;
        width: 100%;
    }
    #form .header .text3 div {
        display: block;
        margin: 0;
        width: 100%;
    }
    #form .header .text0{
        text-align: center;
        color: #aa323c;
        padding-bottom: 10px;
        font-size: 24px;
        padding-top: 1%;
        font-weight: 600;
    }
    #form .header .text1{
        /* font-size: 19px; */
        font-weight: 400;
        padding: 0px 21px 10px;
        font-size: 15px;
    }
    #form .header .text2 {
        font-size: 24px;
    }
}