﻿.contact-box{
  width: 100%;
  min-height: calc(100vh - 74px);
  position: relative;
  display:         flex;
  display: -webkit-flex;
  align-items: center;
  -webkit-align-items: center;
  justify-content: center;    
  -webkit-justify-content: center;
  padding-top: 74px ;
  height: 800px;
}
.contact-info-box{
  width: 1160px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  font-size: 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.contact-info-form-box{
  width: 800px;
  max-width: 100%;
  display: inline-block;
  vertical-align: top;
  background-color:rgba(0,0,0,0.7);
  padding: 30px;
  box-sizing: border-box;
  position: relative;
  z-index: 1
}
.contact-company-box{
  width: calc(100%  - 800px);
  display: inline-block;
  vertical-align: top;
  position: relative;
}
.contact-info-title{
  font-size: 20px;
  letter-spacing: 3px;
  font-weight: 400;
  color: #FFF;
}
.contact-info-title span{
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 200;
  color: #a8ad6a;
  letter-spacing: 1px;
}
.contact-info-form{
  display: inline-block;
  vertical-align: top;
}
.contact-list{
  width: 350px;
  max-width: 100%;
  display: block;
  position: relative;
  font-size: 12px;
  margin-top: 20px;
  border-bottom: 1px solid #FFF;
}
.contact-list input{
  width: 100%;
  height: 30px;
  line-height: 30px;
  border: 0;
  background-color: transparent;
  font-size: 14px;
  color: #FFF;
  outline: none;
}
.contact-lable{
  position: absolute;
  top: 5px;
  left: 0;
  font-size: 12px;
  color: #FFF;
  pointer-events: none;
  letter-spacing: 1px;
}
.contact-lable span{
  color: #a8ad6a;
}

.contact-textarea{
  width: 100%;
  display: block;
  position: relative;
  margin-top: 20px;
  border-bottom: 1px solid #FFF;
}
.contact-textarea textarea{
  width: 100%;
  height: 130px;
  background-color: transparent;
  resize: none;
  outline: none;
  border: 0;
  font-size: 14px;
  color: #FFF;
}
.contact-info-form2{
  margin-left: 40px;
}

.contact-list input:focus + label,
.contact-textarea textarea:focus + label{
  display: none;
}

.button{
  width: 160px;
  max-width: 100%;
  height: 40px;
  border: 1px solid #FFF;
  position: relative;
  box-sizing: border-box;
  margin-top: 30px;
  overflow: hidden;
}
.button:after{
  content: '→';
  display: block;
  width: 40px;
  height: 38px;
  line-height: 38px;
  text-align: center;
  font-size: 12px;
  font-family: "微軟正黑體",  "Microsoft JhengHei";
  position: absolute;
  right: 0;
  top: 0;
  background-color: #000;
  color: #FFF;
  transition: all .5s ease;
}
.button button{
  width: 100%;
  height: 100%;
  background-color: transparent;
  border: 0;
  cursor: pointer;
}
.button button span{
  width: 60px;
  color: #FFF;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  height: 40px;
  line-height: 40px;
  padding:0 15px;
  box-sizing: border-box;
  letter-spacing:2px;
  transition: all .5s ease;
}

.contact-company{
  width: 100%;
  display: block;
  box-sizing: border-box;
  background-color: #000;
  padding: 51px 30px;
}

.contact-company-box .contact-company:nth-child(2){
    padding-top: 25px;
}
.contact-company-title{
  font-size: 12px;
  color: #FFF;
  letter-spacing: 1px;
}
.contact-company-title span{
  font-size: 12px;
  color: #a8ad6a;
  letter-spacing: 1px;
}
.contact-company-list{
  font-size: 12px;
  color: #FFF;
  letter-spacing: 1px;
  margin-top: 10px;
}

.contact-map-box{
  width: 100%;
  height:250px;
}
.about-bg{
  background-attachment: fixed;
}

.contact-info-bg-box{
  width:800px;
  height: 600px;
  overflow: hidden;
  position: absolute;
  top: 100px;
  left: calc(50% - 400px);
  display: block;
  
}
.contact-info-bg-box span{
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  position: absolute;
  top: -4px;
  left: -4px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  -webkit-filter: blur(3px);
            -moz-filter: blur(3px);
            -o-filter: blur(3px);
            -ms-filter: blur(3px);
            filter: blur(3px);
}
.contact-mask{
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: rgba(0,0,0,0.3);
  top: 0;
  left: 0;
  pointer-events: none;
}

/*表單送出*/
.contact-thanks-box,
.alert-box{
  width: 100%;
  height: 100vh;
  display: none;
  position: fixed;
  z-index: 9;
  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: 20px;
  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);
}
