﻿.contact-block{
  width: 100%;
  display: block;
  background-color:#c80010; 
}



.contact-title-box{
    margin-bottom: 10px;
    font-size: 0;
    position: relative;
    z-index: 1;
}
.contact-title{
    display: inline-block;
    vertical-align: bottom;
    font-size: 18px;
    font-family:"Anton";
    color: #FFF;
    letter-spacing: 2px;
    padding-left: 10px;
    padding-bottom: 5px;
}
.contact-title-box span{
    font-size: 36px;
    color: #000;
    letter-spacing: 2px;
    display: inline-block;
    vertical-align: bottom;
    font-weight: bold;
    color: #FFF;
}
.contact-block{
  width: 100%;
  font-size: 0;
  height: 720px;
  overflow: hidden;
}

.contact-info-box{
  width: calc(100% - 600px);
  display: block;
  float: right;
  height: 100%;
  padding: 30px 50px;
  box-sizing: border-box;
  position: relative;
}

.map-box{
  width: 600px;
  max-width: 100%;
  display: block;
  float: left;
  height: 100%;
}
.contact-p{
  font-size: 12px;
  color: #FFF;
  letter-spacing: 1px;
  padding-bottom: 10px;
}
.contact-info-form{
  width: 800px;
  max-width: 100%;
  display: block;
  position: relative;
  z-index: 3;
}
.contact-form-list-title{
  font-size: 14px;
  color: #FFF;
  letter-spacing: 2px;
  padding-bottom: 10px;
}
.contact-form-list{
  width: 380px;
  max-width: 100%;
  display: block;
  float: left;
  margin-top: 35px;
}

.contact-info-form .contact-form-list:nth-child(even){
  float: right;
}
.contact-form-textarea{
  width: 100%;
  float: left;
  margin-top: 35px;
}
.contact-form-text{
  width: 100%;
  display: block;
  height: 40px;
  border: 1px solid #d1d1d1;
  background-color: #FFF;
  padding-left: 5px;
  box-sizing: border-box;
  outline: none;
}

.contact-form-list-textarea{
  width: 100%;
  height: 150px;
  display: block;
  resize: none;
  border: 1px solid #d1d1d1;
  padding-left: 5px;
  box-sizing: border-box;
  outline: none;
}
.button{
  float: left;
  clear: both;
  width: 200px;
  max-width: 100%;
  display: block;
  margin-top: 35px;
}
.button button{
  height: 60px;
  width: 100%;
  background-color: #1b1b1b;
  border: 0;
  color: #FFF;
  position: relative;
  padding: 0 20px;
  outline: none;
  box-sizing: border-box;
  overflow: hidden;
  cursor: pointer;
}
.button-title{
  font-size: 16px;
  color: #FFF;
  letter-spacing: 2px;
  font-family: "微軟正黑體";
  text-align: left;
  transition: all .5s ease;
  padding:0;
}
.button-p{
  font-size: 16px;
  color: #FFF;
  position: absolute;
  top: calc(50% - 10px);
  right: 15%;
  transition: all .5s ease;
}

.contact-info-logo{
  width: 600px;
  max-width: 100%;
  opacity: 0.2;
  position: absolute;
  pointer-events: none;
  right: 5%;
  top: calc(50% - 338px);
}


/*--------contact共用-----------*/
.contact-radio-lable,
.contact-checkbox-lable{
  display: inline-block; 

}
.contact-radio-lable input,
.contact-checkbox-lable input{
  opacity: 0;
  position: absolute;
  pointer-events: none;
}
.contact-radio-lable span,
.contact-checkbox-lable span{
  position: relative;
  display: block;
  vertical-align: middle;
  letter-spacing: 2px;
  padding-left: 30px;
}

.contact-radio-lable span:before,
.contact-checkbox-lable span:before{
  content: 'none';
  font-size: 0;
  width: 20px;
  height: 20px;
  display: block;
  position: absolute;
  left: 0;
  top: 4px;
  vertical-align: middle;
  box-sizing: border-box;
  border: 1px solid #d1d1d1;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin-right: 5px;
}

.contact-form-radio-list{
  margin-top: 10px;
}
.contact-form-list-title span{
  color: #c71313;
}

button{
  font-family: "微軟正黑體","Microsoft JhengHei";
}
.contact-form-select{
  width: 100%;
  height: 40px;
  box-sizing: border-box;
  border: 1px solid #555;
  display: block;
  letter-spacing: 2px;
  padding-left: 10px;
  color: #555;
  position: relative;
  -webkit-appearance: none; /*Chrome*/
  -moz-appearance: none; /*FF*/
  appearance: none;/*CSS3*/
  cursor: pointer;
  transition: all .5s ease;
}
.contact-form-select-box{
  position: relative;
  cursor: pointer;
}
.contact-form-select-box:after{
  content: "\f0d7";
  font-family: "Font Awesome 5 Free";
  font-size: 14px;
  color: #FFF;
  font-weight: 900;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: block;
  position: absolute;
  z-index: 3;
  pointer-events: none;
  right: 0;
  width: 40px;
  text-align: center;
  top: calc(50% - 11px);
  pointer-events: none;
}
.contact-form-select-box:before{
  content: 'none';
  font-size: 0;
  width: 40px;
  height: 100%;
  display: block;
  background-color: #1b1b1b;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
  pointer-events: none;
}
.contact-checkbox-lable input:checked + span:before{
  background-image: url(../img/front/checked.png);
  background-repeat: no-repeat;
  background-size: 80%;
  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: #e60012;
  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);
}



