/* contact */
.contact {
  padding: var(--m-pd) 0;
}

.contact .sub-info {
  text-align: center;
  margin-bottom: 20px;
}

.contact .row {
  row-gap: 20px;
}

.contact .block {
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--style-color);
}

.contact .top-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact .icon {
  width: 50px;
  height: 50px;
  overflow: hidden;
}

.contact .icon img {
  width: auto;
  height: 100%;
}

.contact .num {
  color: #E8E8E8;
  font-family: 'DMSans-Bold';
}

.contact .tit {
  margin-top: 15px;
  margin-bottom: 10px;
}

@media (min-width: 1200px) {
  .contact {
    padding-top: 40px;
  }

  .contact .sub-info {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
  }

  .contact .row {
    margin-left: -20px;
    margin-right: -20px;
    row-gap: 40px;
  }

  .contact .row>div {
    padding: 0 20px;
  }

  .contact .block {
    padding: 44px 39px 39px;
  }

  .contact .block:hover {
    color: #fff;
    background: var(--style-color);
  }

  .contact .block:hover .icon img {
    position: relative;
    top: -50px;
    filter: drop-shadow(0 50px #fff);
  }

  .contact .block:hover .num {
    color: rgba(255, 255, 255, 0.40);
  }

  .contact .tit {
    margin-top: 25px;
  }

  .contact .block:hover .tit {
    color: #fff;
  }
}

@media (min-width: 1440px) {
  .contact .lt {
    padding-right: 60px;
  }
}


/* contact-form */
.contact-form {
  padding: var(--m-pd) 0;
  background: #F6F7F9;
}

.contact-form .title span {
  color: var(--style-color);
}

.contact-form .sub-info {
  text-align: center;
  margin-bottom: 20px;
}

.contact-form .lt {
  margin-bottom: 20px;
}

.contact-form .sub-title {
  margin-bottom: 20px;
}

.contact-form .item-list {
  margin-bottom: 20px;
}

.contact-form .item-list li {
  display: flex;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #EBEBEB;
}

.contact-form .item-list li:not(:last-child) {
  margin-bottom: 20px;
}

.contact-form .icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form .icon i {
  font-size: 24px;
}

.contact-form .item-info {
  font-family: 'DMSans-Regular';
}

.contact-form .bottom-list {
  margin-top: 10px;
}

.contact-form .bottom-list li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-form .bottom-list li:not(:last-child) {
  margin-bottom: 10px;
}

.contact-form .bottom-list li i {
  font-size: 1.2em;
  line-height: 1;
  color: var(--style-color);
}

.contact-form .rt {
  padding: 20px;
  color: #fff;
  border-radius: 20px;
  background: var(--style-color);
  box-shadow: 0 4px 10px 2px rgba(0, 0, 0, 0.10);
}

.contact-form .rt .title {
  text-align: left;
  color: #fff;
  font-family: 'DMSans-Semibold';
}

.contact-form .rt .title::after {
  margin-left: 0;
  background: #fff;
}

.contact-form .form-control {
  border-color: #EBEBEB;
  border-radius: 10px;
  font-family: 'DMSans-Regular';
}

.contact-form textarea.form-control {
  height: 126px;
  padding-top: 15px;
  padding-bottom: 15px;
}

.contact-form .form-control.file-item {
  padding: 0;
  height: 0;
  opacity: 0;
  border: none;
  visibility: hidden;
}

.contact-form .file-upload {
  width: fit-content;
  color: rgba(255, 255, 255, 0.80);
  font-size: 14px;
  padding-left: 30px;
  font-family: 'DMSans-Regular';
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.contact-form .file-upload span {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 2px;
  border: 1px solid #EBEBEB;
  background: #FAFAFA;
  display: block;
}

.contact-form .file-upload.active span {
  background: var(--style-color);
  border-color: var(--style-color);
}

.contact-form .file-upload span::after {
  content: '\e613';
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 12px;
  line-height: 1;
  color: #fff;
  transform: translate(-50%, -50%);
  font-family: "iconfont" !important;
  opacity: 0;
}

.contact-form .file-upload.active span::after {
  opacity: 1;
}

.contact-form .btn {
  width: fit-content;
  color: #fff;
  font-size: 16px;
  margin-top: 20px;
  border-radius: 10px;
  padding: 7px 20px;
  border: 1px solid #fff;
}

.contact-form .form-control::-webkit-input-placeholder {
  color: #999;
}

.contact-form .form-control:-moz-placeholder {
  color: #999;
}

.contact-form .form-control::-moz-placeholder {
  color: #999;
}

.contact-form .form-control:-ms-input-placeholder {
  color: #999;
}

@media (min-width: 768px) {
  .contact-form .item-list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 30px;
  }

  .contact-form .item-list li:nth-child(-n+2) {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (min-width: 1200px) {
  .contact-form .sub-info {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
  }

  .contact-form .item-wrap {
    display: flex;
  }

  .contact-form .lt {
    flex: 1;
    padding-right: 30px;
    margin-bottom: 0;
  }

  .contact-form .sub-title {
    margin-bottom: 36px;
  }

  .contact-form .item-list {
    margin-bottom: 40px;
  }

  .contact-form .item-list li {
    padding-bottom: 36px;
  }

  .contact-form .item-list li:not(:last-child) {
    margin-bottom: 36px;
  }

  .contact-form .item-info a:hover {
    color: var(--style-color);
    text-decoration: underline;
  }

  .contact-form .bottom-list {
    margin-top: 20px;
  }

  .contact-form .bottom-list li:not(:last-child) {
    margin-bottom: 20px;
  }

  .contact-form .rt {
    padding: 25px 30px;
    flex: 0 0 calc((720 / 1400) * 100%);
  }

  .contact-form .form-group {
    margin-bottom: 30px;
  }

  .contact-form .row>div:nth-last-child(2) .form-group {
    margin-bottom: 18px;
  }

  .contact-form .form-control {
    padding-left: 20px;
    padding-right: 20px;
  }

  .contact-form input.form-control {
    height: 54px;
  }

  .contact-form .file-upload {
    font-size: 16px;
  }

  .contact-form .btn {
    padding: 12px 40px;
    font-size: 20px;
    margin-top: 30px;
    transition: all 0.3s;
  }

  .contact-form .btn:hover {
    color: var(--style-color);
    background: #fff;
  }
}

@media (min-width: 1440px) {
  .contact-form .lt {
    padding-right: 50px;
  }

  .contact-form .rt {
    padding: 40px 50px 50px;
  }
}