﻿.index-contact-box{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    font-size: 0;
    background-color: #f5f5f5;
}
.contact-info-form{
    width: 1200px;
    max-width: 100%;
    display: block;
    position: relative;
    box-sizing: border-box;
    margin: 0 auto;
    padding-top: 30px;
    padding-bottom: 50px;
    z-index: 3;
}
.index-contact-title-box{
    width: 300px;
    display: inline-block;
    vertical-align: top;
    text-align: center;
}
.index-contact-title{
    font-size: 28px;
    font-weight: 800;
    display: block;
    transform: skewX(-10deg);
    letter-spacing: 6px;
}
.index-contact-title-warning{
    font-size: 14px;
    width: 135px;
    display: inline-block;
    text-align: left;
}
.index-contact-title-warning span{
    color: #d3202f;
}
.index-contact-info{
    width: 600px;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
}
.contact-form-list{
    margin-bottom: 20px;
}
.contact-form-list-title{
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 2;
}
.contact-form-text{
    width: 100%;
    height: 60px;
    box-sizing: border-box;
    font-size: 14px;
    color: #888;
    padding: 0 10px;
    border:1px solid #d1d1d1;
    font-family: "微軟正黑體";
}
.contact-form-list-textarea{
    width: 100%;
    height: 240px;
    box-sizing: border-box;
    font-size: 14px;
    color: #888;
    padding: 10px;
    border:1px solid #d1d1d1;
    resize: none;
    outline: none;
    font-family: "微軟正黑體";
}
.index-contact-bc-text{
    font-size: 160px;
    color: #d1d1d1;
    font-family: "Teko";
    position: absolute;
    bottom: 0;
    right: 40px;
    line-height: 0.8;
}

/*<-page->*/
.contact-page-box{
    width: 100%;
    display: block;
    position: relative;
    font-size: 0;
    margin-top: 80px;
    background-color: #f5f5f5;
}
.contact-page-title-box{
    display: block;
    margin-bottom: 30px;
}
.contact-page-title-box p{
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    transform: skewX(-10deg);
    letter-spacing: 1px;
}
.contact-page-title-box a{
    color: #d3202f;
}
.contact-page-form-all{
    width: 800px;
    max-width: 100%;
    display: block;
    position: relative;
    box-sizing: border-box;
    padding: 40px 0;
    margin: 0 auto;
    z-index: 2;
}
.contact-page-form-list{
    margin-bottom: 40px;
}
.contact-page-form-list-title{
    display: inline-block;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    transform: skewX(-10deg);
    vertical-align: middle;
}
.contact-page-form-list>span{
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    vertical-align: middle;
    color: #d3202f;
    margin-left: 5px;
}
.contact-page-form-text{
    width: 100%;
    display: block;
    height: 56px;
    border: none;
    background-color: #fff;
    margin-top: 10px;
    outline: none;
    box-sizing: border-box;
    padding: 0 15px;
    font-size: 14px;
    color: #888;
    letter-spacing: 1px;
    font-family: "微軟正黑體";
    outline:none;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
}
.contact-page-form-select{
    width: 100%;
    height: 56px;
    box-sizing: border-box;
    border: none;
    display: block;
    letter-spacing: 1px;
    padding:0 15px;
    color: #888;
    position: relative;
    -webkit-appearance: none; /*Chrome*/
    -moz-appearance: none; /*FF*/
    appearance: none;/*CSS3*/
    outline: none;
    background-color: #fff;
}
.contact-page-form-select-box{
    position: relative;
    margin-top: 10px;
    background-color: #fff;
}
.contact-page-form-select-box:after{
    content: 'none';
    font-size: 0;
    width: 0px;
    height: 0px;
    margin: 0 auto;
    border-right: 5px solid transparent;
    border-top: 10px solid #888;
    border-left: 5px solid transparent;
    display: block;
    position: absolute;
    right: 25px;
    top: calc(50% - 5px);
    pointer-events: none;
}
.contact-page-form-select-box:before{
    content: 'none';
    font-size: 0;
    width: 40px;
    height: 100%;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
    pointer-events: none;
}
.contact-page-form-list-textarea{
    width: 100%;
    display: block;
    height: 150px;
    border: none;
    background-color: #fff;
    margin-top: 10px;
    box-sizing: border-box;
    padding: 15px;
    font-size: 14px;
    resize: none;
    outline: none;
    font-family: "微軟正黑體";
}
.contact-page-button button{
    width: 100%;
    height: 60px;
    border: none;
    background-color: #313131;
    text-align: center;
    transition: all .3s linear;
    cursor: pointer;
}
.contact-page-button span{
    display: inline-block;
    font-size: 24px;
    letter-spacing: 1px;
    color: #fff;
    line-height: 60px;
    transform: skew(-10deg);
    transition: all .3s linear;
}

/*--------contact共用-----------*/
.contact-form-select option{
    font-family: "微軟正黑體";
}

.contact-radio-lable,
.contact-checkbox-lable{
    display: inline-block; 

}
.contact-radio-lable input,
.contact-checkbox-lable input{
    opacity: 0;
    position: absolute;
    pointer-events: none;
}
.contact-radio-lable span,
.contact-checkbox-lable span{
    position: relative;
    display: block;
    vertical-align: middle;
    letter-spacing: 2px;
    padding-left: 30px;
}

.contact-radio-lable span:before,
.contact-checkbox-lable span:before{
    content: 'none';
    font-size: 0;
    width: 20px;
    height: 20px;
    display: block;
    position: absolute;
    left: 0;
    top: 4px;
    vertical-align: middle;
    box-sizing: border-box;
    border: 1px solid #d1d1d1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-right: 5px;
}

.contact-form-radio-list{
    margin-top: 10px;
}
.contact-form-list-title span{
    color: #d3202f;
    font-size: 14px;
}

button{
    font-family: "微軟正黑體","Microsoft JhengHei";
}
.button{
    padding-top: 10px;
}
.button button{
    width: 100%;
    height: 60px;
    border: none;
    background-color: #d3202f;
    text-align: center;
    transition: all .3s linear;
    cursor: pointer;
}
.button span{
    display: inline-block;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
    line-height: 60px;
    transform: skew(-10deg);
    transition: all .3s linear;
}
.contact-form-select{
    width: 100%;
    height: 60px;
    box-sizing: border-box;
    border: 1px solid #d1d1d1;
    display: block;
    letter-spacing: 1px;
    padding:0 10px;
    color: #888;
    position: relative;
    -webkit-appearance: none; /*Chrome*/
    -moz-appearance: none; /*FF*/
    appearance: none;/*CSS3*/
    outline: none;
    background-color: #fff;
}
.contact-form-select-box{
    position: relative;
}
.contact-form-select-box:after{
    content: 'none';
    font-size: 0;
    width: 0px;
    height: 0px;
    margin: 0 auto;
    border-right: 5px solid transparent;
    border-top: 9px solid #000;
    border-left: 5px solid transparent;
    display: block;
    position: absolute;
    right: 10px;
    top: calc(50% - 5px);
    pointer-events: none;
}
.contact-form-select-box:before{
    content: 'none';
    font-size: 0;
    width: 40px;
    height: 100%;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
    pointer-events: none;
}
.contact-checkbox-lable input:checked + span:before{
    background-image: url(../img/front/checked.png);
    background-repeat: no-repeat;
    background-size: 80%;
    background-position: center;
}
.contact-checkbox-lable input:checked + span:before{
    background-image: url(../img/front/checked.png);
    background-size: 70%;
}

/*表單送出*/
.contact-thanks-box,
.alert-box{
    width: 100%;
    height: 100vh;
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
}
.contact-thanks-box.active,
.alert-box.active{
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    display: -webkit-flex;
    display:flex;
}
.contact-thanks,
.alert-info{
    background-color: #000;
    position: relative;
    padding: 80px;
    border-radius: 5px;
    z-index: 6;
}
.alert-info-box{
    position: relative;
}
.contact-thanks-p{
    font-size: 26px;
    line-height: 1.6;
    letter-spacing: 2px;
    font-weight: bold;
    color: #FFF;
    display: block;
}
.contact-out,
.alert-out{
    width: 20px;
    height: 20px;
    max-width: 100%;
    display: block;
    position: absolute;
    border-radius: 50%;
    border: 1px solid #FFF;
    top: 4%;
    right: 4%;
    cursor: pointer;
}
.contact-out span,
.alert-out span{
    width: 15px;
    height: 1px;
    background-color: #FFF;
    display: block;
    margin: 0 auto;
    position: relative;
}
.alert-out{
    z-index: 6;
}
.contact-out span:nth-child(1),
.alert-out span:nth-child(1){
    top: 9px;
        left: 0.5px;
        transform: rotate(45deg);
}
.contact-out span:nth-child(2),
.alert-out span:nth-child(2){
        top: 8px;
        left: 0.5px;
        transform: rotate(-45deg);
}
.contact-thanks-mask,
.alert-mask{
    width: 100%;
    height: 100vh;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.3);
}
.confirm-block {
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    display: -webkit-flex;
    display: flex;
}
.confirm-box {
    min-width: 300px;
    max-width: 100%;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px #555;
}
.confirm-info-box {
    position: relative;
}
.contact-thanks, .confirm-info {
    position: relative;
    padding: 20px;
    border-radius: 5px;
    z-index: 6;
    color: #000;
}
.confirm-status {
    text-align: center;
    padding-bottom: 20px;
}
.confirm-status-save{
    padding: 5px 15px;
    box-sizing: border-box;
    background-color: #888;
    border: none;
    border-radius: 5px;
    outline: none;
    color: #fff;
    margin-right: 10px;
    cursor: pointer;
}
.confirm-status-no {
    padding: 5px 15px;
    box-sizing: border-box;
    background-color: #888;
    border: none;
    border-radius: 5px;
    outline: none;
    color: #fff;
    cursor: pointer;
}


/*<---------------hover--------------->*/
.button button:hover,
.contact-page-button button:hover{
    background-color: #960915;
}
.confirm-status-no:hover,
.confirm-status-save:hover{
    background-color: #960915;
}
@media only screen and (max-width: 1750px){
    .index-contact-bc-text{
        right: 20px;
        font-size: 140px;
    }
}
@media only screen and (max-width: 1560px){
    .index-contact-bc-text{
        right: 20px;
        font-size: 100px;
    }
}
@media only screen and (max-width: 1366px){
    .contact-info-form{
        padding-bottom: 100px;
    }
}
@media only screen and (max-width: 1000px){
    .contact-page-box{
        margin-top: 62px;
    }
}
@media only screen and (max-width: 900px){
    .contact-info-form{
        padding: 40px 0;
        width: 95%;
    }
    .index-contact-bc-text{
        display: none;
    }
    .index-contact-title-box{
        width: 100%;
        text-align: left;
    }
    .index-contact-info{
        width: 100%;
    }
}

@media only screen and (max-width: 800px){
    .contact-page-form-all{
        width: 95%;
        padding: 20px 0;
    }
}
@media only screen and (max-width: 600px){
    .contact-info-form{
        padding: 20px 0;
    }
    .index-contact-title{
        font-size: 24px;
        letter-spacing: 1px;
    }
    .index-contact-title-warning{
        font-size: 12px;
    }
    .contact-form-list-title{
        font-size: 16px;
    }
    .contact-form-list-title span{
        font-size: 12px;
    }
    .contact-form-text,
    .contact-form-select{
        height: 40px;
    }
    .contact-form-list-textarea{
        height: 180px;
    }
    .contact-form-list{
        margin-bottom: 10px;
    }
    .button button{
        height: 40px;
    }
    .button span{
        font-size: 20px;
        line-height: 40px;
    }
    .contact-page-box{
        margin-top: 42px;
    }
    .contact-page-title-box p{
        font-size: 16px;
    }
    .contact-page-title-box{
        margin-bottom: 15px;
    }
    .contact-page-form-list{
        margin-bottom: 20px;
    }
}


@media only screen and (max-width: 480px){

    .contact-thanks, .alert-info{
        width: 95%;
        box-sizing: border-box;
        margin: 0 auto;
    }
    .contact-thanks-p{
        font-size: 20px;
    }
    .contact-form-list-title{
        font-size: 14px;
    }
    .contact-info-form{
        padding: 10px 0;
    }
    .contact-form-list{
        margin-bottom: 0;
    }
    .index-contact-title{
        font-size: 20px;
    }
    .contact-form-list-textarea{
        height: 120px;
    }
    .button span{
        font-size: 18px;
    }
    .contact-page-title-box{
        margin-bottom: 20px;
    }
    .contact-page-form-list{
        margin-bottom: 10px;
    }
    .contact-page-form-list-title{
        font-size: 14px;
    }
    .contact-page-form-text,
    .contact-page-form-select{
        height: 36px;
    }
    .contact-page-button button{
        height: 40px;
    }
    .contact-page-button span{
        line-height: 40px;
        font-size: 20px;
    }
}


/*animation*/
/*<-------------動畫------------->*/

@media only screen and (min-width: 1001px){
    .contact-page-button button,
    .contact-page-title-box,
    .contact-page-form-list{
        opacity: 0;
    }
    .contact-page-title-box.active{
        animation: animation_fade 1s ease both;
    }
    .contact-page-form-list.active{
        animation: animation_rtol 1s ease both;
    }
    .contact-page-button button.active{
        animation: animation_btot 1s ease both;
    }
}