.top {
  position: relative;
  height: calc((100vw - 100px) * 1080 / 1920);
  margin-right: 80px;
  overflow: hidden;
}
.top-slogn {
  font-size: 26px;
  line-height: 1.5em;
  position: relative;
  left: 50%;
  text-align: center;
  z-index: 4;
  padding: 50px 0 20px;
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.top-pic {
  width: 80px;
  margin: auto;
}
.top-pic img {
  width: 100%;
}
.top-tw {
  color: #a5877d;
  margin: 30px 0 0;
}
.top-en {
  color: #a99e95;
  font-size: 16px;
}
.top-line {
  width: 30px;
  height: 1px;
  margin: 10px auto 0;
  background: #a99e95;
}

.bg {
  overflow: hidden;
}
.bg .pic {
  position: absolute;
  top: 0;
  -moz-transition: -moz-transform 1s cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -o-transition: -o-transform 1s cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -webkit-transition: -webkit-transform 1s cubic-bezier(0.25, 0.25, 0.75, 0.75);
  transition: transform 1s cubic-bezier(0.25, 0.25, 0.75, 0.75);
}
.bg .pic img {
  width: 100%;
}
.bg .pic.move-img {
  -moz-transition-duration: 6s;
  -o-transition-duration: 6s;
  -webkit-transition-duration: 6s;
  transition-duration: 6s;
}

.select {
  display: none;
  text-align: center;
  padding: 50px 0;
}
.select li {
  display: inline-block;
  margin: 0 10px;
  cursor: pointer;
}
.select li:after {
  content: "";
  position: relative;
  top: 5px;
  display: block;
  margin: auto;
  width: 0px;
  height: 1px;
  background: #a99e95;
}
.select li:hover:after {
  width: 30px;
  -moz-transition: width 0.3s ease-in-out;
  -o-transition: width 0.3s ease-in-out;
  -webkit-transition: width 0.3s ease-in-out;
  transition: width 0.3s ease-in-out;
}

.consult {
  margin: 20px 0 50px;
}
.consult-content {
  text-align: center;
  width: 400px;
  margin: auto;
  padding-bottom: 80px;
}
.consult-stitle {
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 20px;
}
.consult-stitle span {
  display: block;
}

.form {
  width: 65%;
  margin: auto;
}
.form-out {
  display: flex;
}
.form-box {
  width: 50%;
  padding: 0 20px;
  box-sizing: border-box;
}
.form li {
  display: inline-block;
  padding-bottom: 10px;
  height: 80px;
}
.form .f1 {
  width: 100%;
}
.form .f2 {
  width: 49%;
}
.form .f3 {
  padding: 0 20px;
  box-sizing: border-box;
}
.form .f4 {
  width: 95%;
}
.form .f5 {
  width: 30px;
  border: none;
  border-bottom: 1px solid #ece3d5;
}
.form .f6 {
  width: 49%;
}
.form .f7 {
  width: 95%;
}
.form .f8 {
  height: 30px;
}
.form .dsblk {
  display: block;
  height: 28px;
}
.form .dsibk {
  display: inline-block;
}
.form .m5 {
  margin-right: 5px;
}
.form .need {
  font-size: 8px;
  color: red;
}
.form .code {
  text-align: center;
  padding: 30px 0;
}
.form .changecode {
  display: inline-block;
}
.form .changecode img {
  display: inline-block;
}
.form .send {
  border: 1px solid #ece3d5;
  padding: 10px 0;
  width: 110px;
  text-align: center;
  margin: auto;
  cursor: pointer;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.form .send:hover {
  background: #ece3d5;
  color: #fff;
}
.form label {
  position: relative;
}
.form label:after {
  content: "";
  width: 100%;
  height: 5px;
  background: #ece3d5;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  display: block;
}
.form input {
  border: 1px solid #ece3d5;
  height: 20px;
  margin: 0;
  vertical-align: middle;
  color: #888;
  font-family: Quicksand, "Microsoft JhengHei", Arial, Helvetica, sans-serif;
  font-size: 0.85em;
  letter-spacing: 0.2em;
  line-height: 1.8em;
  padding: 3px 0 3px 3px;
}
.form select {
  border: 1px solid #ece3d5;
  height: 26px;
  margin: 0;
  vertical-align: middle;
  color: #888;
  font-family: Quicksand, "Microsoft JhengHei", Arial, Helvetica, sans-serif;
  font-size: 0.85em;
  letter-spacing: 0.2em;
  line-height: 1.8em;
  padding: 3px 0 3px 3px;
}
.form textarea {
  resize: none;
  border: 1px solid #ece3d5;
  color: #888;
  height: 80px;
  font-family: Quicksand, "Microsoft JhengHei", Arial, Helvetica, sans-serif;
  font-size: 0.85em;
  letter-spacing: 0.2em;
  line-height: 1.8em;
}

.consult-content,
.form {
  opacity: 0;
  -moz-transform: translateY(80px);
  -ms-transform: translateY(80px);
  -webkit-transform: translateY(80px);
  transform: translateY(80px);
}

.consult-content,
.form {
  -moz-transition: opacity 1.2s, -moz-transform 1.5s;
  -o-transition: opacity 1.2s, -o-transform 1.5s;
  -webkit-transition: opacity 1.2s, -webkit-transform 1.5s;
  transition: opacity 1.2s, transform 1.5s;
}
.consult-content.show,
.form.show {
  opacity: 1;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

@media screen and (max-width: 1550px) {
  .form li {
    height: 70px;
  }
  .form .f5 {
    width: 60px;
  }
  .form .f6 {
    width: 100%;
    display: block;
  }
  .form .f7 {
    width: 100%;
  }
  .form .f8 {
    height: 50px;
    margin-top: -20px;
  }
}
@media screen and (max-width: 1150px) {
  .form-out {
    display: block;
  }
  .form-box {
    width: 100%;
  }
  .form li {
    height: unset;
  }
  .form .f6 {
    width: 49%;
    display: inline-block;
  }
  .form .f5 {
    width: 40px;
  }
  .form .f7 {
    width: 95%;
  }
  .form .f8 {
    height: unset;
  }
}
@media screen and (max-width: 1100px) {
  .top {
    height: calc(100vw * 1080 / 1920);
    margin: 90px 0 0 0;
  }

  .select {
    display: block;
  }
}
@media screen and (max-width: 780px) {
  .form {
    width: 70%;
  }
  .form .f2,
  .form .f4,
  .form .f6,
  .form .f7 {
    width: 100%;
  }
  .form .f5 {
    width: 20%;
  }
}
@media screen and (max-width: 550px) {
  .select li {
    display: block;
    width: 100px;
    margin: 10px auto;
    color: #fff;
    background: #d0c8bf;
  }
  .select li:after {
    display: none;
  }
  .select li:hover {
    color: #555;
    background: #ece3d5;
  }
}
@media screen and (max-width: 460px) {
  .form {
    width: 95%;
  }
  .form .f2,
  .form .f6 {
    width: 100%;
  }
  .form .f5 {
    width: 20%;
  }

  .consult-content {
    width: 80%;
  }
}
