.contact {
  position: relative;
}
.contact:after {
  content: "";
  width: 100%;
  height: 63%;
  background: #f9f9f9;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
}
.contact-inner {
  padding: 0 70px;
  max-width: 1400px;
  margin: 0 auto;
}
.contact-wrap {
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  -webkit-justify-content: center;
  justify-content: center;
}
.contact-content {
  width: 35%;
  margin-left: 10%;
  margin-right: 17%;
  margin-top: 3vw;
}
.contact-list {
  margin-top: -8px;
}
.contact-list li {
  position: relative;
  padding: 8px 0 8px 40px;
}
.contact-icon {
  width: 15px;
  padding: 6px;
  margin: 0 auto;
  background: #dbdcdc;
  border-radius: 50%;
  position: absolute;
  top: 6px;
  left: 0;
}
.contact-icon img {
  width: 100%;
}
.contact-text {
  font-size: 0.875rem;
}
.contact-text a {
  -moz-transition: color 0.4s;
  -o-transition: color 0.4s;
  -webkit-transition: color 0.4s;
  transition: color 0.4s;
}
.contact-text a:hover {
  color: #000;
}
.contact-img {
  width: 30%;
  position: relative;
}
.contact-img.show:before {
  width: 0;
}
.contact-img:before {
  content: "";
  width: 100%;
  height: 100%;
  background: #dbdcdc;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  -moz-transition: width 0.8s;
  -o-transition: width 0.8s;
  -webkit-transition: width 0.8s;
  transition: width 0.8s;
}
.contact-img:after {
  content: "";
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border: 1px solid #d9b766;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.contact-img img {
  width: 100%;
}
.contact-map {
  width: 70%;
  height: 40vw;
  max-height: 550px;
  margin-left: 4%;
  margin-top: -7vw;
  background: #dbdcdc;
  position: relative;
}
.contact-map.show:before {
  height: 0;
}
.contact-map:before {
  content: "";
  width: 100%;
  height: 100%;
  background: #dbdcdc;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  -moz-transition: height 0.8s;
  -o-transition: height 0.8s;
  -webkit-transition: height 0.8s;
  transition: height 0.8s;
}
.contact-map:after {
  content: "";
  width: 100%;
  height: 100%;
  border: 1px solid #d9b766;
  position: absolute;
  top: 50%;
  left: 50%;
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.contact-map-in {
  width: 100%;
  height: 100%;
}

.consult {
  position: relative;
}
.consult:after {
  content: "";
  width: 100%;
  height: 20%;
  max-height: 320px;
  background: #f9f9f9;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
.consult-inner {
  padding: 0 70px;
  max-width: 1400px;
  margin: 0 auto;
}
.consult-img {
  width: 50%;
  margin-left: auto;
  position: relative;
}
.consult-img.show:before, .consult-img.show:after {
  width: 0;
}
.consult-img:before {
  content: "";
  width: 100%;
  height: 100%;
  background: #dbdcdc;
  position: absolute;
  top: 0;
  left: 0;
  -moz-transition: width 0.8s 0.6s;
  -o-transition: width 0.8s 0.6s;
  -webkit-transition: width 0.8s;
  -webkit-transition-delay: 0.6s;
  transition: width 0.8s 0.6s;
}
.consult-img:after {
  content: "";
  width: 100%;
  height: 100%;
  background: #f9f9f9;
  position: absolute;
  top: 0;
  left: 0;
  -moz-transition: width 0.8s;
  -o-transition: width 0.8s;
  -webkit-transition: width 0.8s;
  transition: width 0.8s;
}
.consult-img img {
  width: 100%;
}
.consult-wrap {
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
.consult-content {
  width: 47%;
}
.consult-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 5px;
  position: relative;
  padding: 4px 10px 4px 0;
  width: fit-content;
  opacity: 0;
  -moz-transform: translateX(-30px);
  -ms-transform: translateX(-30px);
  -webkit-transform: translateX(-30px);
  transform: translateX(-30px);
  -moz-transition: opacity 0.8s, -moz-transform 0.8s;
  -o-transition: opacity 0.8s, -o-transform 0.8s;
  -webkit-transition: opacity 0.8s, -webkit-transform 0.8s;
  transition: opacity 0.8s, transform 0.8s;
}
.consult-subtitle.show {
  opacity: 1;
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -webkit-transform: translateX(0);
  transform: translateX(0);
}
.consult-subtitle.show:before {
  width: 15px;
}
.consult-subtitle:before {
  content: "";
  width: 0px;
  height: 2px;
  background: #d9b766;
  display: inline-block;
  margin: 0px 10px 3.5px 0;
  -moz-transition: width 0.8s 0.2s;
  -o-transition: width 0.8s 0.2s;
  -webkit-transition: width 0.8s;
  -webkit-transition-delay: 0.2s;
  transition: width 0.8s 0.2s;
}
.consult-subtitle:after {
  content: "";
  width: calc(100% - 8px);
  height: 100%;
  background: #f9f9f9;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
}
.consult-item {
  padding-top: 10px;
}
.consult-message {
  padding-top: 30px;
}
.consult label {
  font-size: 0.875rem;
  letter-spacing: 0.3rem;
  color: #999;
}
.consult input, .consult select, .consult textarea {
  font-size: 0.875rem;
  border-top: unset;
  border-left: unset;
  border-right: unset;
  border-bottom: 1px solid #ccc;
  background: transparent;
  padding: 5px 0;
  width: -webkit-fill-available;
  width: -moz-available;
  color: #666;
  letter-spacing: 0.1rem;
}
.consult input::placeholder, .consult select::placeholder, .consult textarea::placeholder {
  color: #666;
}
.consult input::-webkit-input-placeholder, .consult select::-webkit-input-placeholder, .consult textarea::-webkit-input-placeholder {
  color: #666;
}
.consult input:-moz-placeholder, .consult select:-moz-placeholder, .consult textarea:-moz-placeholder {
  color: #666;
}
.consult input:-ms-input-placeholder, .consult select:-ms-input-placeholder, .consult textarea:-ms-input-placeholder {
  color: #666;
}
.consult input.error, .consult select.error, .consult textarea.error {
  color: #f73737;
}
.consult input.error::placeholder, .consult select.error::placeholder, .consult textarea.error::placeholder {
  color: #f73737;
}
.consult input.error::-webkit-input-placeholder, .consult select.error::-webkit-input-placeholder, .consult textarea.error::-webkit-input-placeholder {
  color: #f73737;
}
.consult input.error:-moz-placeholder, .consult select.error:-moz-placeholder, .consult textarea.error:-moz-placeholder {
  color: #f73737;
}
.consult input.error:-ms-input-placeholder, .consult select.error:-ms-input-placeholder, .consult textarea.error:-ms-input-placeholder {
  color: #f73737;
}
.consult input {
  padding: 6px 0;
}
.consult textarea {
  height: 250px;
}
.consult-confirm {
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: flex-end;
  align-items: flex-end;
}
.consult-code {
  display: -ms-flexbox;
  display: flex;
}
.consult-code input {
  width: 250px;
  margin-left: unset;
}
.consult-change {
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: flex-end;
  align-items: flex-end;
}
.consult-change img {
  height: 31px;
  margin-left: 10px;
}
.consult-button {
  display: -ms-flexbox;
  display: flex;
}
.consult-btn {
  margin-left: 25px;
}

@media screen and (max-width: 1100px) {
  .contact-inner {
    padding: 0 50px;
  }
  .contact-content {
    width: 40%;
    margin-left: unset;
    margin-right: 12%;
    margin-top: 5vw;
  }
  .contact-img {
    width: 40%;
  }
  .contact-map {
    width: 90%;
    height: 50vw;
    margin-left: unset;
    margin-top: -4vw;
  }

  .consult-inner {
    padding: 0 50px;
  }
  .consult-img {
    width: 70%;
  }
  .consult-title {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 80px;
  }
  .consult-form {
    max-width: 800px;
    margin: 0 auto;
  }
  .consult-wrap {
    display: block;
  }
  .consult-content {
    width: auto;
  }
  .consult-content:last-child {
    padding-top: 30px;
  }
}
@media screen and (max-width: 800px) {
  .contact:after {
    height: 40%;
  }
  .contact-wrap {
    display: block;
  }
  .contact-content {
    width: auto;
    margin: unset;
  }
  .contact-img {
    display: none;
  }
  .contact-map {
    margin-top: 50px;
    height: 55vw;
    width: auto;
  }

  .consult:after {
    height: 15%;
  }
  .consult-img {
    width: 80%;
    margin-right: -50px;
  }
  .consult-confirm {
    display: block;
    padding-top: 30px;
  }
  .consult-code input {
    width: -webkit-fill-available;
    width: -moz-available;
  }
  .consult-btn:nth-child(1) {
    margin-left: unset;
  }
}
@media screen and (max-width: 640px) {
  .contact-inner {
    padding: 0 30px;
  }
  .contact-map {
    height: 400px;
  }

  .consult-inner {
    padding: 0 30px;
  }
  .consult-img {
    width: 100%;
    margin-right: -30px;
  }
  .consult-title {
    margin-top: 50px;
  }
  .consult label {
    letter-spacing: 0.25rem;
  }
  .consult-confirm {
    display: block;
    padding-top: 30px;
  }
  .consult-code input {
    width: -webkit-fill-available;
    width: -moz-available;
  }
  .consult-btn {
    margin-left: 20px;
  }
}
