﻿.contact-box{
  padding-bottom: 100px;
}

.contact-icon-box{
  width: 100%;
  text-align: center;
  font-size: 0;
  margin-bottom: 30px;
}
.contact-icon-list{
  width: 280px;
  max-width: 100%;
  display: inline-block;
  vertical-align: top;
}
.contact-icon-list-img{
  width: 100px;
  height: 100px;
  display: block;
  max-width: 100%;
  background-repeat: no-repeat;
  background-size: 70px;
  background-position: center;
  transition: all .5s ease;
  margin: 0 auto;
}
.contact-icon-mail .contact-icon-list-img{
  background-image: url(../img/front/icon-1-1.png);
}
.contact-icon-phone .contact-icon-list-img{
  background-image: url(../img/front/icon-2-1.png);
}
.contact-icon-line .contact-icon-list-img{
  background-image: url(../img/front/icon-3-1.png);
}
.contact-icon-link{
  width: 100%;
  display: block;
  border: 1px solid #d1d1d1;
  box-sizing: border-box;
  padding: 25px 50px;
  text-align: left;
  position: relative;
  top: -5px;
  transition: all .5s ease;
  opacity: 0;
}
.contact-icon-link:after{
  content: 'none';
  font-size: 0;
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  top: -10px;
  left: calc(50% - 10px);
  border-left: 1px solid #d1d1d1;
  border-bottom: 1px solid #d1d1d1;
  background-color: #FFF;
  transform: rotate(135deg);
}
.contact-icon-link-title{
  font-size: 18px;
  font-family: 'Noto Sans TC';
  letter-spacing: 3px;
}
.contact-icon-link-p{
  font-size: 18px;
  color: #555555;
  display: block;
  letter-spacing: 2px;
  font-family: "Anton";
  padding-top: 5px;
}
.contact-info-box{
  width: 1800px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  background-color: #f1f1f1;
  transition: all .5s ease;
}
.contact-list{
  margin-bottom: 40px;
}
.contact-info-form{
  width: 700px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  padding-bottom: 50px;
}
.contact-info-title{
  font-size: 16px;
  color: #888888;
  font-family: 'Noto Sans TC';
  letter-spacing: 1px;
  padding: 50px 0;
}
.contact-info-title span{
  color: #ee1b2d;
}
.contact-list-title{
  font-size: 16px;
  color: #000;
  font-family: 'Noto Sans TC';
  margin-bottom: 10px;
  letter-spacing: 3px;
}
.contact-list-title-en{
  padding-left: 10px;
  color: #555555;
}
.contact-list-required{
  color: #ee1b2d;
}
.contact-input{
  width: 100%;
  height: 46px;
  border: 0;
  box-sizing: border-box;
  padding-left: 5px;

}

.contact-form-select-box{
  width: 100%;
  display: block;
  position: relative;
}
.contact-form-select-box i{
  position: absolute;
  right: 10px;
  font-size: 18px;
  top: calc(50% - 9px);
  pointer-events: none;
}
.contact-form-select{
  width: 100%;
  border: 0;
  height: 46px;
  background-color: #FFF;
  padding-left: 5px;
  box-sizing: border-box;
  font-family: "微軟正黑體";
  letter-spacing: 1px;
  outline: none;
  -webkit-appearance: none; /*Chrome*/
  -moz-appearance: none; /*FF*/
  appearance: none;/*CSS3*/
  cursor: pointer;
}
.contact-textarea{
  border: none;
  background-color: #FFF;
  resize: none;
  height: 200px;
  width: 100%;

}
.button{
  width: 300px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  border: 1px solid #d1d1d1;
  box-sizing: border-box;
  position: relative;
  margin-top: 50px;
  overflow: hidden;
}

.button button{
  width: 100%;
  height: 78px;
  padding: 0 20px;
  box-sizing: border-box;
  text-align: left;
  background-color: #FFF;
  border: none;
  font-family: 'Noto Sans TC';
  letter-spacing: 5px;
  cursor: pointer;
  outline: none;
  overflow: hidden;
  transition: all .5s ease;
}
.button button i{
  position: absolute;
  font-size: 18px;
  color: #ee1b2d;
  right: 20px;
  top: calc(50% - 9px);
  transition: all .5s ease;
}

.button .line-left1{
  height: 40px;
  transition: all .3s linear;
  transition-delay: .5s;
}
.button .line-top1{
  width: 40px;
  transition: all .5s linear;
  transition-delay: .3s;
}
.button .line-right1{
  height: 0;
  transition: all .3s linear;
}
.button .line-bottom1{
  width:  0;
  transition: all .5s linear;
}
.map-box{
  width: 100%;
  display: block;
  height: 300px;
  margin-top: 20px;
}

.contact-icon-box .contact-icon-list:nth-child(1) .contact-icon-link{
  padding: 25px 20px;
}
.button-p{
  font-size: 18px;
  font-family: 'Noto Sans TC';
  transition: all .5s ease;
}

/*表單送出*/
.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: #ee1b2d;
  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);
}

