﻿.index-contact-box{
    width: 100%;
    display: block;
    margin: 0 auto;
}
.contact-box{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    min-height: 100vh;
    padding-top: 130px;
}
.contact-all-box{
    width: 800px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    position: relative;
    box-sizing: border-box;
    padding: 160px 0;
}
.contact-title-box{
    width: 100%;
    display: block;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}
.contact-title-box h3{
    font-size: 36px;
    color: #000;
    letter-spacing: 0.06em;
    line-height: 60px;
    font-family: 'Noto Sans TC';
    font-weight: 700;
    margin-bottom: 40px;
}
.contact-title-box h2{
    font-size: 100px;
    font-family: 'Roboto';
    font-weight: 100;
    color: #965455;
    line-height: 65px;
    letter-spacing: 0.06em;
}

.contact-info-form{
    width: 100%;
    display: block;
    margin-top: 140px;
}
.contact-form-list-title{
    width: 200px;
    display: inline-block;
    vertical-align: top;
    font-size: 20px;
    color: #000;
    font-family: 'Noto Sans TC';
    font-weight: 700;
    line-height: 58px;
}
.contact-form-list{
    margin-top: 55px;
}
.contact-form-list:first-child{
    margin-top: 0;
}
.contact-form-text{
    width: calc(100% - 200px);
    display: inline-block;
    vertical-align: top;
    font-size: 16px;
    color: #000;
    font-family: 'Noto Sans TC';
    background-color: #f5f5f5;
    line-height: 60px;
    letter-spacing: 0.06em;
    border: 1px solid transparent;
    box-sizing: border-box;
    padding: 0 10px;
    transition: all .3s linear;
}
.contact-form-list-textarea{
    width: calc(100% - 200px);
    height: 200px;
    display: inline-block;
    vertical-align: top;
    font-size: 16px;
    color: #000;
    font-family: 'Noto Sans TC';
    background-color: #f5f5f5;
    line-height: 1.4;
    letter-spacing: 0.06em;
    border: 1px solid transparent;
    box-sizing: border-box;
    padding: 20px 10px;
    resize: none;
    transition: all .3s linear;
}
.contact-form-text::-webkit-input-placeholder,
.contact-form-list-textarea::-webkit-input-placeholder{
    font-family: 'Noto Sans TC';
}
.contact-form-text:-moz-placeholder,
.contact-form-list-textarea:-moz-placeholder{
    font-family: 'Noto Sans TC';
}
.contact-form-text::-moz-placeholder,
.contact-form-list-textarea::-moz-placeholder{
    font-family: 'Noto Sans TC';
}

/*--------contact共用-----------*/
.contact-form-list-title span{
    color: #666;
    font-size: 14px;
    margin-left: 5px;
}

button{
    font-family: "微軟正黑體","Microsoft JhengHei";
}
.button {
    margin: 0;
    padding: 0;
    outline: 0;
    vertical-align: baseline;
    background: transparent;
    font-weight: normal;
    width: 100%;
    margin-top: 60px;
    background-color: transparent;
}
.button button{
    width: calc(100% - 200px);
    display: block;
    margin-left: auto;
    background-color: #a37e7f;
    text-align: center;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Noto Sans TC';
    font-weight: 700;
    line-height: 60px;
    letter-spacing: 0.06em;
    box-sizing: border-box;
    padding: 0;
    border: none;
    cursor: pointer;
    transition: all .3s linear;
}

/*表單送出*/
.contact-thanks-box{
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    display: none;
}
.contact-thanks-box.active{
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    display: -webkit-flex;
    display: flex;
}
.contact-thanks{
    max-width: 500px;
    min-width: 200px;
    width: 400px;
    padding: 40px 30px;
    box-sizing: border-box;
    background-color: #fff;
    position: relative;
    z-index: 1;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
}
.contact-thanks-p{
    font-size: 16px;
    color: #555;
    transform: scaleY(1.05);
    letter-spacing:  1px;
    line-height: 2;   
}
.contact-out{
    width: 21px;
    height: 21px;
    max-width: 100%;
    display: block;
    position: absolute;
    border-radius: 50%;
    top: 5px;
    right: 5px;
    cursor: pointer;
}
.contact-out span{
    width: 15px;
    height: 1px;
    background-color: #888;
    display: block;
    margin: 0 auto;
    position: relative;
}
.contact-out span:nth-child(1){
    top: 10px;
    left: 0px;
    transform: rotate(45deg);
}
.contact-out span:nth-child(2){
    top: 9px;
    left: 0px;
    transform: rotate(-45deg);
}

@media only screen and (max-width: 1000px){
    .contact-box{
        padding-top: 80px;
    }
    .contact-all-box{
        width: 750px;
        padding: 100px 0;
    }
    .contact-title-box h3{
        font-size: 26px;
        line-height: 40px;
        margin-bottom: 20px;
    }
    .contact-title-box h2{
        font-size: 60px;
        line-height: 40px;
    }
    .contact-info-form{
        margin-top: 80px;
    }
}
@media only screen and (max-width: 768px){
    .contact-all-box{
        width: 550px;
        padding: 40px 0;
    }
    .contact-info-form{
        margin-top: 60px;
    }
    .contact-title-box h3{
        font-size: 22px;
        line-height: 30px;
        margin-bottom: 10px;
    }
    .contact-title-box h2{
        font-size: 40px;
        line-height: 26px;
    }
    .contact-form-list{
        margin-top: 35px;
    }
    .contact-form-list-title{
        width: 150px;
        font-size: 16px;
        line-height: 48px;
    }
    .contact-form-text{
        width: calc(100% - 150px);
        line-height: 50px;
        font-size: 14px;
    }
    .contact-form-list-textarea{
        width: calc(100% - 150px);
        font-size: 14px;
        padding: 17px 10px;
    }
    .button{
        margin-top: 40px;
    }
    .button button {
        width: calc(100% - 150px);
        font-size: 18px;
        line-height: 50px;
    }
}
@media only screen and (max-width: 550px){
    .contact-box{
        padding-top: 60px;
    }
    .contact-all-box{
        width: 95vw;
        padding: 20px 0;
    }
    .contact-title-box h3{
        font-size: 18px;
        line-height: 24px;
    }
    .contact-title-box h2{
        font-size: 30px;
        line-height: 20px;
    }
    .contact-info-form{
        margin-top: 40px;
    }
    .contact-form-list{
        margin-top: 15px;
    }
    .contact-form-list-title{
        width: 100px;
        font-size: 14px;
        line-height: 38px;
    }
    .contact-form-list-title span{
        font-size: 12px;
        margin-left: 2px;
    }
    .contact-form-text{
        width: calc(100% - 100px);
        line-height: 40px;
    }
    .contact-form-list-textarea{
        width: calc(100% - 100px);
        height: 100px;
        padding: 10px 10px;
    }
    .button{
        margin-top: 20px;
    }
    .button button {
        width: calc(100% - 100px);
        font-size: 14px;
        line-height: 40px;
    }
}
@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;
    }
}



@media only screen and (min-width: 1001px){
    .contact-title-box h3,
    .contact-title-box h2,
    .contact-form-list,
    .button button{
        opacity: 0;
    }
    .contact-title-box.anima h3{
        animation: fadeInRight 1s ease .2s 1 both;
    }
    .contact-title-box.anima h2{
        animation: fade 1s ease 0s 1 both;
    }
    .contact-form-list.anima{
        animation: fadeInDown 1s ease 0s 1 both;
    }
    .button.anima button{
        animation: fadeInLeft 1s ease 0s 1 both;
    }

    .button button:hover{
        /* background-color: #ead1d3; */
        /* box-shadow: 0 0 5px rgba(0, 0, 0, 0.4); */
        color: rgba(0, 0, 0, 0.8);
    }
    .contact-form-text:hover,
    .contact-form-list-textarea:hover{
        border-color: #ead1d3;
    }
    .contact-form-text:focus,
    .contact-form-list-textarea:focus{
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
        border-color: #ead1d3;
    }
}