@charset "utf-8";
/* CSS Document */
.case-item {
  position: relative;
  width: 31.25%;
  margin-right: 3.125%;
  margin-bottom: 45px;
}
.case-item:nth-of-type(3n) {
  margin-right: 0;
}

.case-item::before {
  content: '';
  position: absolute;
  right: -5%;
  top: 0;
  width: 1px;
  height: 28.6%;
  background-color: #F1F1F1;
  transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}

.case-item::after {
  content: '';
  position: absolute;
  right: -5.3%;
  top: 0;
  width: 3px;
  height: 0;
  background-color: #108DBB;
  z-index: 1;
  transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}

.case-item .img {
  position: relative;
  padding-bottom: 60%;
  overflow: hidden;
}

.case-item .img img {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  object-fit: cover;
}

.case-item .name {
  height: 80px;
  text-align: center;
  background-color: #fff;
}

.case-item .name p {
  font-size: 16px;
  padding: 0 3%;
  line-height: 80px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.case-item:hover::before {
  height: 94%;
}

.case-item:hover::after {
  height: 28.6%;
}

.case-item:hover img {
  transform: scale(1.04);
}

.case-item:hover .name p {
  color: #108DBB;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}


.case .case-items {
  margin-bottom: 10px;
}
.case .case-item .img::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  z-index: 1;
}
.case .case-item .hover-txt {
  position: absolute;
  left: 0;
  top: 45%;
  transform: translateY(-50%);
  width: 100%;
  padding: 0 8.89%;
  opacity: 0;
  visibility: hidden;
  z-index: 2;
}
.case .case-item .hover-txt * {
  font-size: 14px;
  line-height: 1.1;
  color: #fff;
}
.case .case-item .hover-txt .item:not(:last-of-type) {
  margin-bottom: 18px;
}
.case .case-item .hover-txt .item span {
  margin-left: 3.56%;
}
.case .case-item:hover .img::before {
  left: 0;
  width: 100%;
}
.case .case-item:hover .hover-txt {
  top: 50%;
  opacity: 1;
  visibility: visible;
}


