﻿@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);
.contact-box{
  width: 100%;
  height: 940px;
  padding: 190px 0;
  overflow: hidden;
  display: -webkit-flex;
  display:         flex;
  align-items: center;
  -webkit-align-items: center;
  justify-content: center;
  -webkit-justify-content: center;
  flex-direction:column;
  position: relative;
}
#contact .index-works-border-line-box span:nth-last-child(1){
    display: none;
}
.contact-info-box{
  width: 100%;
  height: 100%;
  position: relative;
  font-size: 0;
  display: -webkit-flex;
  display:         flex;
  justify-content: center;
  -webkit-justify-content: center;
}
.contact-title-box{
  vertical-align: top;
  display: inline-block;
  width: 187px;
  max-width: 100%;
  padding-left: 2px;
  box-sizing: border-box;
}
.contact-title{
  width: 100%;
  overflow: hidden;
  
}
.contact-info-title{
  font-size: 18px;
  color: #555;
  letter-spacing: 2px;
  display: block;
  margin-top: 30px;
}
.contact-info-title2{
  font-size: 20px;
  font-family: "Noto Sans TC";
  letter-spacing: 2px;
  color: #ddd;
}
.contact-info-form-box,
.contact-right-box{
  width: 750px;
}
.contact-right-box{
  margin-top: 188px;
}
.contact-info-form-box{
  position: relative;
  z-index: 1;
}
.contact-info-form{
  display: inline-block;
  vertical-align: top;
  width: 563px;
  height: 563px;
  padding: 85px 131px;
  box-sizing: border-box;
  background-color: #f39800;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-image: url('../img/contact-bg.png');
}
.contact-info{
  width: 375px;
  height: 375px;
  max-width: 100%;
  background-color: #EEE;
  display: inline-block;
  position: relative;
  z-index: 3;
  vertical-align: top;
  margin-top: 188px;
  padding: 30px 19px;
  box-sizing: border-box;
}
.contact-img-box{
  width: 375px;
  height: 375px;
  max-width: 100%;
  display: inline-block;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-image: url(../img/contact-img.jpg);
}

.contact-info-form li{
  width: 300px;
  display: block;
  border-bottom: 1px solid #FFF;
  margin-bottom: 30px;
}
.contact-info-form li.button{
  border-bottom: 0;
}
.contact-info-form li input{
  width: 100%;
  font-size: 14px;
  letter-spacing: 2px;
  color: #FFF;
  line-height: 1.6;
  background-color: transparent;
  border: 0;
}
.contact-textarea{
  width: 100%;
  height: 100px;
  background-color: transparent;
  border: 0;
  resize: none;
}
.button button{
  width: 100%;
  height: 40px;
  border: 1px solid #FFF;
  box-sizing: border-box;
  font-family: "微軟正黑體",  "Microsoft JhengHei";
  letter-spacing: 2px;
  background-color: transparent;
  color: #FFF;
}
.contact-info-list{
  font-size: 14px;
  padding-bottom: 10px;
  color: #555;
  letter-spacing: 2px;
}
.contact-info-list:last-child{
  padding-bottom: 0;
}

.contact-input::-webkit-input-placeholder { color: #FFF;font-family: "微軟正黑體",  "Microsoft JhengHei"; letter-spacing: 4px; }
.contact-input:-moz-placeholder { color: #FFF;font-family: "微軟正黑體",  "Microsoft JhengHei"; letter-spacing: 4px; }
.contact-input::-moz-placeholder {  color: #FFF;font-family: "微軟正黑體",  "Microsoft JhengHei" ; letter-spacing: 4px;}
.contact-input:-ms-input-placeholder {  color: #FFF;font-family: "微軟正黑體",  "Microsoft JhengHei"; letter-spacing: 4px; }

.contact-textarea::-webkit-input-placeholder { color: #FFF;font-family: "微軟正黑體",  "Microsoft JhengHei"; letter-spacing: 4px; }
.contact-textarea:-moz-placeholder { color: #FFF;font-family: "微軟正黑體",  "Microsoft JhengHei"; letter-spacing: 4px; }
.contact-textarea::-moz-placeholder {  color: #FFF;font-family: "微軟正黑體",  "Microsoft JhengHei" ; letter-spacing: 4px;}
.contact-textarea:-ms-input-placeholder {  color: #FFF;font-family: "微軟正黑體",  "Microsoft JhengHei"; letter-spacing: 4px; }

#contact .index-works-border-line-box,
#contact .index-works-border-line2-box{
  z-index: 1;
}


/*表單送出*/
.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: #f39800;
  position: relative;
  padding: 80px;
  border-radius: 20px;
  z-index: 6;
}
.alert-info{
  color: #FFF;
  letter-spacing: 2px;
  font-size: 16px;
}
.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;
}
.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(1){
    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);
}

.contact-info-list a{
  transition: all .5s ease;
}
.contact-info-list a:hover{
  color: #f39800;
  
}