﻿.contact-box{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    margin-top: 180px;
    min-height: calc(100vh - 180px);
    background-color: #fafafa;
}
.contact-all-box{
    width: 1200px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    box-sizing: border-box;
    padding: 40px 0;
    position: relative;
}
.contact-bg-box{
    width: calc(100% + 360px);
    height: 100%;
    background-color: #f5f5f5;
    position: absolute;
    top: 0;
    left: 0;
}
.contact-left-box{
    width: calc(100% - 460px);
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding: 80px 120px;
    position: relative;
}
.contact-title-box {
    position: relative;
    z-index: 1;
}
.contact-title-box p{
    font-size: 60px;
    font-family: 'roboto';
    font-weight: 500;
    letter-spacing: 0.06em;
    display: inline-block;
    color: #14213b;
    line-height: 50px;
}
.contact-title-box p>span{
    font-size: 16px;
    font-family: '微軟正黑體';
    letter-spacing: 0.06em;
    display: block;
    color: #555555;
    text-align: right;
    padding-right: 5px;
}
.contact-left-text-box{
    font-size: 18px;
    letter-spacing: 0.06em;
    line-height: 30px;
    display: block;
    color: #666;
    margin-top: 30px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}
.contact-left-info-box{
    width: 100%;
    background-color: #14213b;
    display:         flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction:column;
    box-sizing: border-box;
    padding: 45px 10px;
    position: relative;
    z-index: 1;

    font-size: 16px;
    letter-spacing: 0.06em;
    line-height: 1.6;
    color: #fff;
    word-break: break-all;

}
.contact-left-info:last-child{
    margin-top: 9px;
}
.contact-left-info>span{
    font-size: 24px;
    letter-spacing: 0.06em;
    line-height: 50px;
    display: block;
    color: #fff;
    text-align: center;
}
.contact-left-info>p{
    font-size: 28px;
    font-family: 'roboto';
    letter-spacing: 0.06em;
    line-height: 50px;
    display: block;
    color: #fff;
    text-align: center;
}
.contact-left-info a>p{
    font-size: 36px;
    font-family: 'roboto';
    letter-spacing: 0.06em;
    line-height: 50px;
    display: block;
    color: #fff;
    text-align: center;
    transition: all .3s linear;
}
.contact-left-info a:hover>p{
    color: #ce2d44;
}
.contact-left-info p>span{
    font-family: "微軟正黑體";
    display: inline-block;
}


.contact-right-box{
    width: 460px;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding: 20px 30px;
    background-color: #fff;
    box-shadow: -10px 10px 30px rgba(20, 33, 59, 0.25);
    margin-top: 40px;
    position: relative;
    z-index: 1;
}
.contact-form-list{
    margin-bottom: 25px;
    position: relative;
}
.contact-form-list-title{
    font-size: 18px;
    line-height: 1;
    font-weight: bold;
    color: #14213b;
    letter-spacing: 0.06em;
}
.contact-form-text{
    width: 100%;
    height: 50px;
    display: block;
    box-sizing: border-box;
    border: 1px solid #d1d1d1;
    background-color: #fafafa;
    margin-top: 10px;
    padding: 0 15px;
    font-size: 16px;
    letter-spacing: 0.06em;
    color: #666;
    font-family: "微軟正黑體";
    transition: all .3s linear;
}
.contact-form-list-textarea{
    width: 100%;
    height: 200px;
    display: block;
    box-sizing: border-box;
    border: 1px solid #d1d1d1;
    background-color: #fafafa;
    margin-top: 10px;
    padding: 10px 15px;
    font-size: 16px;
    letter-spacing: 0.06em;
    color: #666;
    font-family: "微軟正黑體";
    resize: none;
    transition: all .3s linear;
}

.contact-form-text::-webkit-input-placeholder,
.contact-form-list-textarea::-webkit-input-placeholder{
    font-family: "微軟正黑體";
    color: #000;
    opacity: 0.3;
}
.contact-form-text:-moz-placeholder,
.contact-form-list-textarea:-moz-placeholder{
    font-family: "微軟正黑體";
    color: #000;
    opacity: 0.3;
}
.contact-form-text::-moz-placeholder,
.contact-form-list-textarea::-moz-placeholder{
    font-family: "微軟正黑體";
    color: #000;
    opacity: 0.3;
}

/*--------contact共用-----------*/
button{
    font-family: "微軟正黑體","Microsoft JhengHei";
}
.button button{
    width: 100%;
    line-height: 60px;
    display: block;
    background-color: #14213b;
    box-sizing: border-box;
    border: none;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.2em;
    padding: 0;
    padding-left: 0.2em;
    color: #fff;
    transition: all .3s linear;
    cursor: pointer;
}
.button button:hover{
    background-color: #ce2d44;
}

/*表單送出*/
.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);
}


.contact-form-text:focus,
.contact-form-list-textarea:focus{
    border-color: #ce2d44;
}


.verification-img{
    position: absolute;
    bottom: 6px;
    right: 6px;
}


@media only screen and (max-width: 1200px){
    .contact-all-box{
        width: 1000px;
    }
    .contact-left-box{
        padding: 80px;
    }
}
@media only screen and (max-width: 1000px){
    .contact-box{
        margin-top: 102px;
        min-height: calc(100% - 102px);
    }
    .contact-all-box{
        width: 750px;
    }
    .contact-title-box p {
        font-size: 50px;
        line-height: 30px;
    }
    .contact-title-box p>span {
        font-size: 14px;
    }
    .contact-left-text-box{
        font-size: 16px;
        margin-top: 20px;
        margin-bottom: 30px;
    }
    .contact-left-info-box{
        padding: 10px;
    }
    .contact-left-info>span{
        font-size: 20px;
        line-height: 36px;
    }
    .contact-left-info a>p {
        font-size: 28px;
        line-height: 36px;
    }
    .contact-left-info>p{
        font-size: 22px;
        line-height: 36px;
    }
    .contact-left-box{
        width: 100%;
        display: block;
        padding: 0;
    }
    .contact-bg-box{
        display: none;
    }
    .contact-right-box{
        width: 100%;
        display: block;
        box-shadow: none;
        margin-top: 20px;
    }
}
@media only screen and (max-width: 768px){
    .contact-all-box{
        width: 95%;
    }
}
@media only screen and (max-width: 550px){
    .contact-all-box{
        padding: 20px 0;
    }
    .contact-box{
        margin-top: 73px;
        min-height: calc(100% - 73px);
    }
    .contact-title-box p {
        font-size: 30px;
        line-height: 30px;
    }
    .contact-title-box p>span {
        font-size: 12px;
        line-height: 20px;
    }
    .contact-left-text-box{
        font-size: 14px;
        line-height: 24px;
        margin-top: 10px;
        margin-bottom: 15px;
    }
    .contact-left-info>span{
        font-size: 16px;
        line-height: 30px;
    }
    .contact-left-info a>p {
        font-size: 20px;
        line-height: 30px;
    }
    .contact-left-info>p{
        font-size: 18px;
        line-height: 30px;
    }
    .contact-right-box{
        padding: 10px;
    }
    .contact-form-list-title{
        font-size: 14px;
    }
    .contact-form-text{
        margin-top: 5px;
        padding: 0 10px;
        font-size: 12px;
    }
    .contact-form-list {
        margin-bottom: 15px;
    }
    .contact-form-list-textarea{
        height: 100px;
        padding: 5px 10px;
        font-size: 12px;
    }
    .button button{
        line-height: 40px;
        font-size: 18px;
        letter-spacing: 0.06em;
        padding-left: 0;
    }
}
@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 h2 p,
    .contact-title-box h2 p>span{
        opacity: 0;
    }
    .contact-left-box.anima .contact-title-box h2 p{
        animation: fadeInUp 1s ease 0s 1 both;
    }
    .contact-left-box.anima .contact-title-box h2 p>span{
        animation: fade 1s ease .5s 1 both;
    }
    .contact-left-box.anima .contact-left-text-box{
        animation: fadeInUp 1s ease .5s 1 both;
    }
    .contact-left-box.anima .contact-left-info-box{
        animation: fade 1s ease .6s 1 both;
    }
    .contact-right-box.anima{
        animation: fadeInLeft 1s ease .3s 1 both;
    }
}