/* contact-header */
.contact-header {
  background-image: url(../images/contact/header-bg.png);
  background-size: cover;
  height: 168px;
  line-height: 168px;
  text-align: center;
  font-size: 44px;
  color: #ffffff;
}
.contact-header span {
  padding: 0px 40px;
}

/* branchs */
.branchs {
  display: flex;
  flex-wrap: wrap;
  padding: 0 1%;
}
.branchs .branchs-item {
  width: 31%;
  height: 430px;
  margin: 0px 1.16% 40px;
  border-bottom: 1px solid #eeeeee;
  overflow: hidden;
  cursor: pointer;
}
.branchs .branchs-inner {
  height: 460px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease-in-out;
}
.branchs .branchs-img {
  flex: 1;
  overflow: hidden;
}
.branchs .branchs-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.branchs .branchs-info {
  height: 130px;
}
.branchs .branchs-info h4 {
  font-size: 16px;
  margin-top: 30px;
}
.branchs .branchs-info p {
  font-size: 14px;
  color: #212121;
  margin-top: 5px;
}
.branchs .branchs-info a {
  display: block;
  font-size: 14px;
  color: #ff0024;
  margin-top: 20px;
}
.branchs .branchs-item:hover {
  border-bottom: 3px solid #ff0024;
}
.branchs .branchs-item:hover .branchs-inner {
  transform: translateY(-30px);
}

@media screen and (max-width: 900px) {
  .contact-header {
    font-size: 20px;
  }

  .branchs {
    padding: 0px 10px;
  }
  .branchs .branchs-item {
    width: 100%;
    height: 330px;
    margin: 0px 0px 20px;
  }
  .branchs .branchs-inner {
    height: 360px;
  }
}
