﻿.contact-narrative-box{
  padding: 70px 0;
  display: block;
  text-align: center;
}
.contact-narrative-line{
  width: 100%;
  height: 1px;
  background-color: #d1d1d1
}
.contact-narrative{
  padding: 40px 0;
}
.contact-narrative i{
  font-size: 40px;
  color: #d1d1d1;
}
.contact-narrative-p,
.contact-list-item-p{
  font-size: 16px;
  display: block;
  margin-top: 20px;
  letter-spacing: 1px;
}
.contact-info-form{
  font-size: 0;
  display: block;
  padding: 0 35px;
  box-sizing: border-box;
}
.contact-form-list{
  display: inline-block;
  vertical-align: top;
  width: 50%;
  box-sizing: border-box;
  margin-bottom: 40px;
}
.contact-form-list-title{
  font-size: 14px;
  letter-spacing: 2px;

}
.contact-form-list-title span{
  font-size: 14px;
  color: #cc1e1e;
  letter-spacing: 2px;
}
.contact-form-list-text{
  width: 100%;
  background-color: #f1f1f1;
  font-size: 16px;
  border: 0;
  padding-left: 10px;
  box-sizing: border-box;
  height: 46px;
  margin-top: 20px;
}
.contact-form-list:nth-child(odd){
  padding-right: 20px;
}
.contact-form-list:nth-child(even){
  padding-left: 20px;
}
.contact-checkbox-lable{
  width: 25%;
  display: inline-block;
  vertical-align: top;
  color: #555555;
   margin-bottom: 5px;
}

.contact-checkbox-lable span:before{
  content: 'none';
  width: 10px;
  height: 10px;
  display:inline-block;
  vertical-align: middle;
  border: 1px solid #555555;
  font-size: 0;
  margin-right: 10px;
}
.contact-checkbox-lable input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.contact-checkbox-lable span{
  font-size: 14px;
  letter-spacing: 1px;
  color: #555555;
  display: inline-block;
  vertical-align: middle;
}
.contact-form-radio-list{
  width: 100%;
  margin-top: 20px;
  padding: 32px 0;
  border: 1px solid #d1d1d1;
  border-left: 0;
  border-right: 0;
}

.contact-form-list-textarea{
  resize: none;
  width: 100%;
  margin-top: 20px;
  display: block;
  height: 120px;
  background-color: #f1f1f1;
  box-sizing: border-box;
  border: 0;
}
.button{
  padding: 50px 0;
}
.button button{
  width: 100px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  background-color: #333333;
  border-radius: 5px;
  color: #FFF;
  font-size: 14px;
  letter-spacing: 1px;
  height: 40px;
  border: 0;
  letter-spacing: 1px;
  font-family: "Microsoft JhengHei";
  transition: all .5s ease;
  cursor: pointer;
}
.map-box{
  width: 100%;
  height: 300px;
  display: block;
}

.contact-checkbox-lable input:checked + span:before{
  background-repeat: no-repeat;
  background-size: 80%;
  background-image: url(../img/front/checked.png);
  background-position: center;
}


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

