.top {
  position: relative;
}
.top-image {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center;
}

.contact-wrap {
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
}
.contact-content {
  width: 35%;
  margin: 0 5%;
}
.contact-title {
  position: relative;
  padding: 10% 15%;
}
.contact-title-bg {
  position: absolute;
  bottom: 0;
  right: 30%;
  width: 0;
  height: 100%;
  background: #f6f6f6;
  -moz-transition: width 0.6s;
  -o-transition: width 0.6s;
  -webkit-transition: width 0.6s;
  transition: width 0.6s;
}
.show .contact-title-bg {
  width: 150%;
}
.contact-title .title {
  position: relative;
}
.contact-text {
  margin: 10% 15% 0;
}
.contact-text li {
  margin-bottom: 10px;
}
.contact-text .tt {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border: #ccc solid 1px;
  border-radius: 50%;
  margin-right: 10px;
  background: #FFF;
  color: #999;
}
.contact-text a:hover {
  color: #000;
}
.contact-map {
  position: relative;
  width: 55%;
  padding-bottom: 35%;
}
.contact-map:after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #FFF;
  -moz-transition: width 0.6s;
  -o-transition: width 0.6s;
  -webkit-transition: width 0.6s;
  transition: width 0.6s;
}
.contact-map.show:after {
  width: 0;
}
.contact-map iframe {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}

.consult-wrap {
  display: -ms-flexbox;
  display: flex;
}
.consult-img {
  width: 33%;
  background-size: auto 100%;
  background-position: 0 cneter;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
.consult-content {
  width: 57%;
  padding: 5%;
}
.consult-form {
  margin-top: 10%;
}
.consult-inner {
  margin-bottom: 30px;
}
.consult-subtitle {
  color: #999;
  font-size: 1.125rem;
  margin-bottom: 30px;
  opacity: 0;
  -moz-transform: translateX(40px);
  -ms-transform: translateX(40px);
  -webkit-transform: translateX(40px);
  transform: translateX(40px);
  -moz-transition: opacity 0.6s, -moz-transform 0.6s;
  -o-transition: opacity 0.6s, -o-transform 0.6s;
  -webkit-transition: opacity 0.6s, -webkit-transform 0.6s;
  transition: opacity 0.6s, transform 0.6s;
}
.consult-subtitle.show {
  opacity: 1;
  -moz-transform: translateX(0px);
  -ms-transform: translateX(0px);
  -webkit-transform: translateX(0px);
  transform: translateX(0px);
}
.consult-subtitle .en {
  font-family: "Cormorant Garamond", serif;
}
.consult-text, .consult .city-selector {
  district: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  font-size: 0.875em;
}
.consult-item {
  position: relative;
  margin-bottom: 30px;
  line-height: 30px;
  opacity: 0;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
}
.consult-item.show {
  opacity: 1;
}
.consult-label {
  width: 100%;
  margin-bottom: 10px;
  color: #000;
  opacity: 0;
  -moz-transform: translateX(40px);
  -ms-transform: translateX(40px);
  -webkit-transform: translateX(40px);
  transform: translateX(40px);
  -moz-transition: opacity 0.6s, -moz-transform 0.6s;
  -o-transition: opacity 0.6s, -o-transform 0.6s;
  -webkit-transition: opacity 0.6s, -webkit-transform 0.6s;
  transition: opacity 0.6s, transform 0.6s;
}
.consult-label.show {
  opacity: 1;
  -moz-transform: translateX(0px);
  -ms-transform: translateX(0px);
  -webkit-transform: translateX(0px);
  transform: translateX(0px);
}
.consult-code {
  position: relative;
  opacity: 0;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
}
.consult-code.show {
  opacity: 1;
}
.consult-code a {
  position: absolute;
  top: 10px;
  left: 10px;
  padding-right: 10px;
  border-right: #ccc solid 1px;
}
.consult-code .input1 {
  padding-left: 150px;
}
.consult-btn {
  margin-top: 40px;
  text-align: center;
  line-height: 30px;
  font-size: 0.75em;
  letter-spacing: 5px;
  opacity: 0;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
}
.consult-btn.show {
  opacity: 1;
}
.consult-btn a {
  display: inline-block;
  margin: 0 20px;
}
.consult-btn-icon {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  border: #ccc solid 1px;
  border-radius: 50%;
  text-align: center;
  letter-spacing: 0;
}
.consult-btn a:hover {
  color: #000;
}

.label {
  position: absolute;
  top: -10px;
  right: 10px;
  background: #FFF;
  font-size: 0.75em;
  line-height: 20px;
  padding: 0 10px;
  opacity: 0;
}
.onfocus .label {
  opacity: 1;
}

input, textarea, select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  box-sizing: border-box;
  color: #666;
  line-height: 30px;
  font-size: 0.875rem;
  border: #ccc solid 1px;
  padding: 10px 20px;
}
input::placeholder, textarea::placeholder, select::placeholder {
  color: #999;
}
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder, select::-webkit-input-placeholder {
  color: #999;
}
input:-moz-placeholder, textarea:-moz-placeholder, select:-moz-placeholder {
  color: #999;
}
input:-ms-input-placeholder, textarea:-ms-input-placeholder, select:-ms-input-placeholder {
  color: #999;
}
.onfocus input, .onfocus textarea, .onfocus select {
  border-color: #000;
}
input.error, textarea.error, select.error {
  border-color: #d00;
  color: #d00;
}
input.error::placeholder, textarea.error::placeholder, select.error::placeholder {
  color: #d00;
}
input.error::-webkit-input-placeholder, textarea.error::-webkit-input-placeholder, select.error::-webkit-input-placeholder {
  color: #d00;
}
input.error:-moz-placeholder, textarea.error:-moz-placeholder, select.error:-moz-placeholder {
  color: #d00;
}
input.error:-ms-input-placeholder, textarea.error:-ms-input-placeholder, select.error:-ms-input-placeholder {
  color: #d00;
}

input[type="radio"] {
  position: relative;
  margin: 0 5px 0 0;
  vertical-align: middle;
  padding: 10px;
}

input[type="radio"]:checked:after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: #ccc;
  border-radius: 3px;
}

.city-selector {
  display: flex;
}
.city-selector .county, .city-selector .district {
  background: url(../images/lco-arrow.png) no-repeat scroll 95% center transparent;
  width: 48%;
}
.city-selector select::-ms-expand {
  display: none;
}

.item1 {
  width: 48%;
}

.item2 {
  width: 100%;
}

.item3 {
  width: 18%;
}

.item4 {
  width: 38%;
}

.item5 {
  width: 31.3333%;
  border: #ccc solid 1px;
  padding: 10px 20px;
  border-radius: 5px;
  box-sizing: border-box;
}

.input1 {
  width: 100%;
}

.input2 {
  border: none;
  border-bottom: #ccc solid 1px;
  padding: 0 10px;
  border-radius: 0;
  margin-top: -2px;
  width: calc(100% - 70px);
}

.input3 {
  width: 100%;
}

.input4 {
  border: none;
  border-bottom: #ccc solid 1px;
  padding: 0 20px;
  border-radius: 0;
  margin-top: -2px;
  width: calc(100% - 125px);
}

.price {
  margin: 0 auto;
}
.price-content {
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: center;
  align-items: center;
}
.price-text {
  width: 100%;
  box-sizing: border-box;
  padding: 0 20px 20px;
  border: #ccc solid 1px;
  opacity: 0;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
}
.price-text.show {
  opacity: 1;
}
.price-text .text {
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}
.price-text .text ul {
  width: 50%;
}
.price-subtitle {
  margin: 20px 0;
  color: #000;
}
.price-subtitle .tw {
  font-size: 0.875em;
  display: block;
  margin-top: 10px;
}

@media screen and (max-width: 1100px) {
  .contact-content {
    width: 45%;
  }
  .contact-map {
    width: 45%;
    padding-bottom: 55%;
  }

  .consult-img {
    display: none;
  }
  .consult-content {
    width: auto;
  }
}
@media screen and (max-width: 800px) {
  .contact-wrap {
    display: block;
  }
  .contact-content {
    width: auto;
  }
  .contact-map {
    width: auto;
    padding-bottom: 100%;
  }
  .contact-form {
    margin-top: 80px;
  }
  .contact-title {
    padding: 5% 0;
  }
  .contact-title-bg {
    right: 0;
  }
  .contact-text {
    margin: 10vw 0;
    overflow: hidden;
  }
  .contact-text li {
    float: left;
    width: 50%;
  }
  .contact-text .addr {
    width: 100%;
  }

  .consult-label {
    margin-top: 20px;
  }
  .consult-label:nth-child(1), .consult-label:nth-child(4) {
    margin-top: 0;
  }

  .item3 {
    width: 48%;
    margin-bottom: 10px;
  }

  .item4 {
    width: 48%;
  }

  .item5 {
    width: 100%;
    margin-bottom: 15px;
  }
  .item5:last-child {
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 640px) {
  .contact-text li {
    width: auto;
    float: none;
  }

  .consult-label:nth-child(4) {
    margin-top: 15px;
  }

  .consult-btn a {
    margin: 5px 15px;
  }

  .item1 {
    width: 100%;
    margin-bottom: 15px;
  }

  .item4 {
    width: 100%;
  }

  .price-text .text ul {
    width: 100%;
  }
}
