/*============================================= */
/* ＃01 表單：置頂版  */
/* ＃02 表單：基本型，含其他頁  */
/* ＃03 表單：Index、VIP的內容區  */
/* ＃04 動畫效果    */
/*============================================= */

.header .wrap1 {
    z-index: 300;
}

/* ====================================================================================
   ＃表單：置頂版 
==================================================================================== */
.form-fixedtop {
    position: relative;
    top: 60px;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    z-index: 100;
}

.form-fixedtop .lineForm .form_title {
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
}

.form-fixedtop .lineForm th {
    display: none;
}

.form-fixedtop .form_title_subtitle {
    color: #e50011;
}

.form-fixedtop .lineForm {
    background-color: #d9d9d9;
    border-radius: 0;
    padding-bottom: 10px;
}

.form-fixedtop .lineFormTable {
    width: 70%;
    margin: auto;
    max-width: 1000px;
}

.form-fixedtop .lineFormTable tbody {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: flex-start;
}

.form-fixedtop .lineFormTable tr {
    position: relative;
    flex: 1;
    display: block;
}

.form-fixedtop .lineFormTable tr:last-child {
    flex: 0 0 90px;
}

.form-fixedtop .lineFormTable td {
    display: inline-block;
    width: 100%;
    padding: 0 5px;
    text-align: center;
}

.form-fixedtop .lineForm_ps {
    display: none;
}

.form-fixedtop .lineFormTable tr:last-child td .lineForm_btn {
    margin-left: 2%;
    padding: 12px 0;
}

.form-fixedtop {
    display: none;
}

.form-fixedtop input::-webkit-input-placeholder {
    color: #999;
}

.form-fixedtop input::-moz-placeholder {
    color: #999;
    opacity: 1;
}

.form-fixedtop input:-ms-input-placeholder {
    color: #999;
}

.form-fixedtop input:placeholder-shown {
    color: #999;
}

.form-fixedtop input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
    color: #000;
}

.form-fixedtop .lineForm .lineForm_btnArea {
    margin: 0 auto;
    text-align: center;
}

.form-fixedtop .act-btn {
    padding: 10px 0;
}

.form-fixedtop .close_btn {
    position: absolute;
    opacity: 0;
    z-index: 1000;
    top: 50px;
    right: 60px;
}

.form-fixedtop .lineFormTable.active~.close_btn {
    opacity: 1;
    pointer-events: auto;
}

@media screen and (max-width: 899px) {
    .form-fixedtop .lineForm tr {
        padding: 0;
        display: block;
        width: 100%;
    }

    .form-fixedtop .lineFormTable {
        display: block;
        width: 100%;
        padding: 0 30px 10px 30px;
        margin: 0 auto;
    }

    .form-fixedtop .lineFormTable th {
        display: none;
    }

    .form-fixedtop .lineFormTable tbody {
        display: block;
    }

    .form-fixedtop .lineFormTable tr:not(:last-child) td {
        display: block;
        width: 100%;
        max-width: unset;
    }

    .form-fixedtop .lineFormTable tr.mobile-hidden {
        padding: 0;
    }

    .form-fixedtop .lineFormTable tr.mobile-hidden td {
        display: none;
        padding: 0;
    }

    .form-fixedtop .lineFormTable tr:not(:last-child) td input {
        display: block;
        width: 68%;
    }

    .form-fixedtop .lineFormTable tr:last-child td {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 30%;
        margin-right: 0;
        z-index: 1001;
    }

    .form-fixedtop .lineFormTable #mobile,
    .form-fixedtop .lineFormTable #mobile-fixedtop {
        border: 2px solid rgba(232, 55, 103, 1);
        -webkit-animation: mobileborderanimation 1s linear 0s infinite alternate;
        -o-animation: mobileborderanimation 1s linear 0s infinite alternate;
        -webkit-animation-name: mobileborderanimation;
        animation-name: mobileborderanimation;
        -webkit-animation-duration: 1s;
        animation-duration: 1s;
        -webkit-animation-iteration-count: infinite;
        animation-iteration-count: infinite;
        -webkit-animation-direction: alternate;
        animation-direction: alternate;
        -webkit-animation-timing-function: linear;
        animation-timing-function: linear;
        -webkit-animation-delay: 0s;
        animation-delay: 0s;
        margin-left: -6px;
        width: calc(65% + 8px);
    }

    .form-fixedtop .lineFormTable #mobile.off,
    .form-fixedtop .lineFormTable #mobile-fixedtop.off {
        -webkit-animation: none;
        animation: none;
    }

    .form-fixedtop .lineFormTable tr.mobile-hidden {
        max-height: 0;
        transition: max-height 0.5s ease-out;
    }

    .form-fixedtop .lineFormTable.active tr.mobile-hidden {
        max-height: 200px;
        padding-bottom: 10px;
    }

    .form-fixedtop .lineFormTable.active tr.mobile-hidden td {
        display: block;
    }

    .form-fixedtop .lineForm_ps {
        display: none;
    }
}

/* END ＃01表單：置頂版 ====================================================================================  */

/* ====================================================================================
   ＃02 表單：基本型，含其他頁  
======================================================================================== */
.form .errstring,
.form-fixedtop .errstring {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding-top: 8px;
}

.form-fixedtop .errstring {
    text-align: left;
}

/* form_box START */
.form_box {
    width: 100%;
    padding: 15px 0;
    background-color: #eee;
    text-align: center;
    margin: 0;
    box-sizing: border-box;
}

/* 解決「貸款方案」系列頁的表單出現淺灰底的狀態 */
.projectpage .form_box {
    background-color: #fff;
}

.form_box .form_title_subtitle {
    padding: 15px;
    font-size: 18px;
    color: #e50011;
}

.form input[type="text"],
.form input[type="tel"],
.form-fixedtop input[type="text"],
.form-fixedtop input[type="tel"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-weight: normal;
    line-height: 1;
    background: #fff;
    border: 0;
    border-radius: 5px;
    -webkit-appearance: none;
}

.form-container {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-content: center;
    padding: 0 107px;
}

.form-container label {
    display: none;
}

.form-container .form-item-input {
    flex: 1 0 0px;
    padding: 5px 8px;
}

.form-fixedtop #mobile-fixedtop {
    border: 1px solid #e50011;
}

.form-container .form-item-button {
    flex: 0 0 80px;
    padding: 5px;
}

.form_box .act-btn,
.form-fixedtop .act-btn {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    border: 0;
    border-radius: 10px;
    color: #fff;
    -webkit-appearance: none;
}

@media screen and (max-width: 899px) {
    .form-container {
        flex-flow: row wrap;
        padding: 10px 15px;
    }

    .form-container label {
        display: block;
        text-align: left;
        padding-bottom: 5px;
        font-size: 16px;
        font-weight: bold;
        color: #026c6b;
    }

    .form-container label .required_mobile {
        font-size: 12px;
        font-weight: bold;
        color: #e50011;
    }

    .form-container .form-item-input,
    .form-container .form-item-button {
        flex: 0 0 100%;
        margin-bottom: 10px;
    }

    .form-container .form-item-button .act-btn {
        padding: 10px 0;
    }
}

/* form_box  END */

/* loan1.html */
.getleads_box_center .form {
    background: #fff;
}

/* qaBox Form TenTen Add 20190717 - START */
#qaBox .titleBox .form_box {
    width: 100%;
    padding: 15px 0;
    background-color: #d9d9d9;
    text-align: center;
    margin: 0;
    box-sizing: border-box;
}

#qaBox .titleBox .form_box .form_title_subtitle {
    padding: 15px;
    font-size: 18px;
    color: #e50011;
}

#qaBox [type="text"],
#qaBox [type="tel"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-weight: normal;
    line-height: 1;
    background: #fff;
    border: 0;
    border-radius: 5px;
    -webkit-appearance: none;
}

#qaBox .form-container {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-content: center;
    padding: 0 5%;
}

#qaBox .form-container label {
    display: block;
    text-align: left;
    padding-bottom: 5px;
    font-size: 16px;
    font-weight: bold;
    color: #026c6b;
}

#qaBox .form-container .form-item-input {
    flex: 1 0 0px;
    padding: 5px 8px;
}

#qaBox .form-container .form-item-button {
    flex: 0 0 80px;
    padding: 5px;
}

#qaBox .act-btn {
    display: block;
    width: 100%;
    height: 65%;
    margin: 30% auto 5%;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    border: 0;
    border-radius: 5px;
    color: #fff;
    background-color: #e50011;
    -webkit-appearance: none;
}

@media screen and (max-width: 899px) {
    #qaBox .form-container {
        flex-flow: row wrap;
        padding: 10px 15px;
    }

    #qaBox .form-container label .required_mobile {
        font-size: 12px;
        font-weight: bold;
        color: #e50011;
    }

    #qaBox .form-container .form-item-input,
    #qaBox .form-container .form-item-button {
        flex: 0 0 100%;
        margin-bottom: 10px;
    }

    #qaBox .form-container .form-item-button .act-btn {
        padding: 10px 0;
    }

    #qaBox .act-btn {
        height: 100%;
        margin: 0 auto;
    }
}

.inquiryForm.form_box.qa {
    padding-top: 0;
    padding-bottom: 0;
}

/* qaBox Form TenTen Add 20190717 - END */
/* End ＃02 表單：基本型，含其他頁  ======================================================================================== */

/* ====================================================================================
   ＃03 表單：Index、VIP的內容區 
====================================================================================  */

/* index.html */
.form.index {
    display: block;
}

.form.index .form_cont {
    width: 100%;
}

.form.index .form_cont .lineForm {
    width: 90%;
    margin: 0 auto;
}

/* 表單：內容欄位*/
.form.index .lineFormTable {
    display: block;
    width: 100%;
    border-collapse: collapse;
    border: 0;
}

.form.index .lineFormTable tbody,
.form.index .lineFormTable tr,
.form.index .lineFormTable th,
.form.index .lineFormTable td {
    display: block;
    white-space: nowrap;
    text-align: left;
    padding-bottom: 0px;
}

.form.index .lineFormTable th {
    width: 100%;
    padding-bottom: 10px;
    font-size: 18px;
    color: #fff;
}

.ForVIP .form.index .lineFormTable th {
    /* 特調VIP的按紐顏色*/
    color: #ffffff;
}

.form.index .lineFormTable td {
    width: 100%;
    padding-bottom: 20px;
}

.ForVIP .required_mobile {
    font-size: 12px;
    font-weight: bold;
    color: #ffec70;
}

/* 表單：欄位內文字狀態 */
.form.index .lineFormTable .required:after {
    content: "必填";
    display: inline-block;
    font-size: 14px;
    color: #feef94;
}

.ForVIP .form.index .lineFormTable .required:after {
    content: "必填";
    display: none;
}

.form.index .lineFormTable [type="text"],
.form.index .lineFormTable [type="tel"] {
    width: 100%;
    line-height: 1;
    font-size: 22px;
    font-weight: normal;
    border-radius: 0;
    color: #000;
}

.form.index .lineFormTable input::-webkit-input-placeholder {
    /*For Safari , Chrome 設定*/
    color: #999999;
    font-size: 16px;
}

.form.index .lineFormTable input::-moz-placeholder {
    /*For Firefox 19+ 設定*/
    color: #999999;
    font-size: 16px;
}

.form.index .lineFormTable input:-ms-input-placeholder {
    /*For IE 設定*/
    color: #999999;
    font-size: 16px;
}

/* 表單：按紐區 */
.form.index .lineForm_btnArea .lineForm_btn {
    display: block;
    width: 100%;
    padding: 14px 10px;
    margin-top: 10px;
    font-size: 22px;
    font-weight: bold;
    line-height: 1;
    color: #da0735;
    background-color: #feef94;
    -webkit-appearance: none;
}

.ForVIP .form.index .lineForm_btnArea .lineForm_btn {
    /* 特調VIP的按紐顏色*/
    color: #da0735;
    background-color: #ffec70;
}

.form.index .lineForm .close_btn {
    position: absolute;
    opacity: 0;
    z-index: 1000;
    top: 50px;
    right: 60px;
}

.form.index .lineFormTable.active~.close_btn {
    opacity: 1;
    pointer-events: auto;
}

/* 表單：注意事項文字 */
.form.index .form_cont .lineForm_ps {
    font-size: 12px;
    text-align: center;
    color: #fff;
    margin-top: -2%;
}

.ForVIP .form.index .form_cont .lineForm_ps {
    /* 特調VIP的按紐顏色*/
    color: #ffffff;
}

@media screen and (min-width: 750px) {
    .ForVIP .form.index .Kv_FormTitle {
        /* 特調VIP的區域範圍*/
        width: 90%;
        max-width: 400px;
        margin: 0 auto;
    }

    .ForVIP .form.index .form_cont {
        /* 特調VIP的區域範圍*/
        background-color: #008a8f;
        width: 90%;
        margin: -14% auto 0;
        padding: 12% 0 4%;
        border-radius: 10px;
        border: 2px solid #fff;
        box-shadow: 0 30px rgba(87, 34, 0, 0.8);
    }

    .form.index .lineFormTable tr {
        display: inline-block;
        width: 25%;
        font-size: 0;
        vertical-align: bottom;
        padding: 0 5px;
    }

    .form.index .lineFormTable th {
        font-size: 16px;
        padding-bottom: 5px;
    }

    .ForVIP .form.index .lineFormTable tr {
        /* 特調VIP的排列狀態*/
        display: block;
        width: 100%;
    }

    .ForVIP .form.index .lineFormTable th {
        /* 特調VIP的排列狀態*/
        display: inline-block;
        vertical-align: top;
        width: 90px;
    }

    .ForVIP .form.index .lineFormTable td {
        /* 特調VIP的排列狀態*/
        display: inline-block;
        vertical-align: top;
        width: calc(100% - 90px);
    }

    .ForVIP .form.index .lineFormTable td.lineForm_btnArea {
        /* 特調VIP的排列狀態*/
        display: inline-block;
        width: 100%;
        margin: -10px 0;
    }

    .ForVIP .required_mobile {
        display: block;
    }

    .form.index .lineFormTable [type="text"],
    .form.index .lineFormTable [type="tel"] {
        line-height: 1;
        font-size: 17px;
    }

    .form.index .lineFormTable input::-webkit-input-placeholder {
        /*For Safari , Chrome 設定*/
        font-size: 16px;
    }

    .form.index .lineFormTable input::-moz-placeholder {
        /*For Firefox 19+ 設定*/
        font-size: 16px;
    }

    .form.index .lineFormTable input:-ms-input-placeholder {
        /*For IE 設定*/
        font-size: 16px;
    }

    .form.index .form_cont .lineForm_ps {
        text-align: right;
    }

    .ForVIP .form.index .form_cont .lineForm_ps {
        /* 特調VIP的按紐顏色*/
        text-align: right;
    }

    .form.index .lineForm_btnArea .lineForm_btn {
        padding: 10px 10px;
    }
}

@media screen and (min-width: 900px) {
    .ForVIP .form.index .lineFormTable td.lineForm_btnArea {
        /* 特調VIP的排列狀態*/
        width: calc(100% - 90px);
    }
}

@media screen and (min-width: 1200px) {
    .form.index .form_cont .lineForm_ps {
        margin-top: -1.5%;
    }
}

/* index、VIP 置頂表單 */
.form-fixedtop.index .form_title_subtitle {
    color: #fff;
}

.form-fixedtop.index .lineForm {
    /* background-color: #5A3410; */
    background: linear-gradient(180deg, #9c6530 0%, #73481F 53%, #5A3410 100%);
    border-radius: 0;
    padding-bottom: 0px;
}

@media screen and (min-width: 768px) {
    .form.index .form-fixedtop .lineFormTable {
        padding-bottom: 0;
        width: 100%;
    }

    .form-fixedtop.index .lineForm {
        padding-bottom: 10px;
    }
}

/* End ＃03 表單：Index、VIP的內容區 ====================================================================================  */

/* STAR ＃04 動畫效果 ==================================================================================== */
/* 手機板行動電話邊框動畫效果 */
@keyframes mobileborderanimation {
    0% {
        border: 2px solid rgba(232, 55, 103, 1);
    }

    50% {
        border: 2px solid rgba(232, 55, 103, 0.3);
    }

    100% {
        border: 2px solid rgba(232, 55, 103, 1);
    }
}

@-webkit-keyframes mobileborderanimation {
    0% {
        border: 2px solid rgba(232, 55, 103, 1);
    }

    50% {
        border: 2px solid rgba(232, 55, 103, 0.3);
    }

    100% {
        border: 2px solid rgba(232, 55, 103, 1);
    }
}

/* END ＃04 動畫效果 ==================================================================================== */