.block-beforeafter {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  -ms-align-items: center;
  align-items: center;
  margin-bottom: 70px;
}

.block-beforeafter__item {
  width: calc((100% - 70px) / 2);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  height: 360px;
  position: relative;
  z-index: 1;
  border: 2px solid #111111;
  position: relative;
}

.block-beforeafter__itemTitle {
  position: relative;
  top: 0;
  left: 0;
  width: 100px;
  height: 35px;
  background-color: rgba(17, 17, 17, 0.8);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  -ms-align-items: center;
  align-items: center;
}

.block-beforeafter__arrow {
  content: '';
  width:50px;
  height:50px;
  position: relative;
  top: 50%;
  left: 22px;
  box-sizing: border-box;
  border: 40px solid transparent;
  border-left: 30px solid #111111;
}

@media screen and (max-width: 640px) {
  .block-beforeafter {
    display: block;
    margin-bottom: 30px;
  }
  .block-beforeafter__item {
    width: 100%;
    /* height: 200px; */
  }
  .block-beforeafter__arrow {
    position: relative;
    top: 20px;
    left: 50%;
    -webkit-transform: translate(-50%,0);
    transform: translate(-50%,0);
    border: 40px solid transparent;
    border-left: 40px solid transparent;
    border-top: 20px solid #111111;
  }
}