@import url(//fonts.googleapis.com/earlyaccess/notosanstc.css);

.contact-box{
  width: 900px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  padding-top: 25px;
  padding-bottom: 80px;
  font-size: 0;
}
.contact-title{
    width: 150px;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  position: relative;
  display: block;
  margin: 0 auto;
}

.contact-title:after{
    content: '';
    width: 16px;
    height: 16px;
    display: block;
    background-image: url('../img/list-icon1.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 10px;
}

.contact-line{
  width: 100%;
  display: block;
  height: 1px;
  background-color: #aaaaaa;
  margin-top: 20px;
  margin-bottom: 20px;
}
.contact-info-form{
  width: 480px;
  max-width: 100%;
  padding-right: 20px;
  box-sizing: border-box;
  max-width: 100%;
  display: inline-block;
  vertical-align: top;
}

.contact-form-p{
  font-size: 16px;
  text-align: left;
  padding-bottom: 20px;
}

.contact-info-form li{
  width: 100%;
  display: block;
  position: relative;
  margin-bottom: 27px;
  font-size: 16px;
}
.contact-info-form li input{
  font-size: 16px;
  font-weight: bold;
  width: 100%;
  line-height: 40.5px;
  border: 1px solid #a0a0a0;
  box-sizing: border-box;
  padding-left: 60px;
  box-sizing: border-box;
}
.contact-lable{
  width: 45px;
  line-height: 44px;
  font-size: 28px;
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  border-right: 1px solid #a0a0a0;;
}
.contact-lable i{
  position: relative;
  bottom: 1px;
}
.contact-form-title{
  position: absolute;
  top: 10px;
  left: 60px;
  font-family: "Noto Sans TC";
}

.contact-form-title span{
  color:#ec1414;
  font-family: "Noto Sans TC";
}
.contact-textarea .contact-lable{
  width: 100%;
  border-right: 0;
  border-bottom: 1px solid #a0a0a0;
}
.contact-textarea textarea{
  width: 100%;
  height: 200px;
  border-right: 1px solid #a0a0a0;
  box-sizing: border-box;
  padding-top: 55px;
  padding-left: 5px;
  box-sizing: border-box;
  resize: none;
}
.contact-textarea .contact-form-title{
  left: 20px;
  top: 50px;
}

.contact-info-form li.verification-box{
  font-size: 0;
  width:290px;
  max-width: 100%;
  display: block;
  display: inline-block;
  vertical-align: top;
}
.contact-info-form li.verification-box .verification-show{
  width: 80px;
  max-width: 100%;
  height: 44px;
  background-color: #c490bf;
  display: inline-block;
  vertical-align: top;
}
.contact-info-form li.verification-box input{
  width: 150px;
  max-width: 100%;
  display: inline-block;
  font-size: 16px;
  padding-left: 20px;
  box-sizing: border-box;
}
::-webkit-input-placeholder { color: #000; }
:-moz-placeholder { color: #000; }
::-moz-placeholder { color: #000; }
:-ms-input-placeholder { color: #000; }


.contact-info-form li.button{
  width: 170px;
  max-width: 100%;
  display: block;
}
.contact-info-form li.button input{
  padding: 0;
  font-family: "Noto Sans TC";
  text-align: center;
  font-size: 20px;
  background-color: #ffca06;
  font-weight: 400;
  cursor: pointer;
}

.contact-info-box{
  width: 400px;
  max-width: 100%;
  padding-left: 10px;
  box-sizing: border-box;
  display: inline-block;
  vertical-align: top;
}
.contact-info-box .contact-info-name:nth-child(2),
.contact-list li{
    padding-top: 18px;
}
.contact-info-name{
  font-size: 14px;
  font-weight: bold;
}

.contact-list-box{
  width: 100%;
  display: block;
  font-size: 0;
}
.contact-list{
  width: calc(100% - 81px);
  display: inline-block;
  vertical-align: middle;
}

.contact-list li{
  font-size: 14px;
  display: block;
}
.contact-list li.contact-phone,
.contact-list li.contact-fax{
    display: inline-block;
}
.contact-list li.contact-fax{
    margin-left: 20px;
}
.contact-list li i{
    color: #009b41;
}
.contact-list-logo{
  width: 81px;
  max-width: 100%;
  display: inline-block;
  vertical-align: middle;
}
.map-box{
  width: 100%;
  height: 405px;
  display: block;
  margin-top: 10px;
}

/*表單送出*/
.contact-thanks-box{
  width: 100%;
  height: 100vh;
  display: none;
  position: fixed;
  z-index: 9;
  top: 0;
  left: 0;
}
.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{
  background-color: #ffca06;
  position: relative;
  padding: 80px;
  border-radius: 20px;
  z-index: 6;
}
.contact-thanks-p{
  font-size: 26px;
  line-height: 1.6;
  letter-spacing: 2px;
  font-weight: bold;
  color: #FFF;
  display: block;
}
.contact-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{
  width: 15px;
  height: 1px;
  background-color: #FFF;
  display: block;
  margin: 0 auto;
  position: relative;
}
.contact-out span:nth-child(1){
  top: 9px;
    left: 0.5px;
    transform: rotate(45deg);
}
.contact-out span:nth-child(2){
    top: 8px;
    left: 0.5px;
    transform: rotate(-45deg);
}
.contact-thanks-mask{
  width: 100%;
  height: 100vh;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.3);
}


#name:focus + label, 
#form-phone:focus + label, 
#mail:focus + label, 
#Subject:focus + label,
#message:focus + label{
    color: #009b41;
    transition: all .4s ease;
}
#name:focus + label .contact-form-title, 
#form-phone:focus + label .contact-form-title, 
#mail:focus + label .contact-form-title, 
#Subject:focus + label .contact-form-title,
#message:focus + label .contact-form-title{
  display: none;
}

.g-recaptcha{
  width: 100%;
  display: block;;
}

