/* CASE STUDIES */
.case-box {
  background-color: #ffffff;
}
.case-box .center-box {
  width: 100%;
  max-width: 1920px;
  padding: 60px 70px 80px;
}
.case-box .center-box .title {
  font-size: 40px;
  font-weight: bold;
  color: #21619a;
  margin-bottom: 40px;
  text-align: center;
}
.case-box .center-box .desc {
  font-size: 18px;
  color: #3b3b3b;
  text-align: center;
  margin: 0 auto 60px;
  line-height: 40px;
  width: calc(100% - 10vw);
}
.case-box .center-box .case-list {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.case-box .center-box .case-list .right-case {
  max-width: 1400px;
  width: 100%;
  padding: 0 50px;
  margin: 0 auto;
}
.case-box .center-box .case-list .right-case .classify {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.case-box .center-box .case-list .right-case .classify .classify-item {
  padding: 8px 16px;
  border-radius: 8px;
  white-space: nowrap;
  max-width: 100%;
  display: block;
  text-align: center;
  font-size: 16px;
  margin-right: 18px;
  margin-bottom: 18px;
  margin: 0 9px 18px;
  color: #21619a;
  border: solid 1px #21619a;
  position: relative;
  z-index: 10;
  transition: 300ms;
  overflow: hidden;
  box-shadow: 0 0 0 rgba(33, 97, 154, 0);
}
.case-box .center-box .case-list .right-case .classify .classify-item.active {
  background-color: #21619a;
  color: #ffffff;
  box-shadow: 0 10px 15px rgba(33, 97, 154, 0.2);
}
.case-box .center-box .case-list .right-case .classify .classify-item::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  background-color: #21619a;
  transform: translateY(100%);
  transition: 300ms;
}
.case-box .center-box .case-list .right-case .classify .classify-item:hover {
  color: #ffffff;
  box-shadow: 0 10px 15px rgba(33, 97, 154, 0.2);
}
.case-box .center-box .case-list .right-case .classify .classify-item:hover::after {
  transform: translateY(0%);
}
.case-box .center-box .case-list .right-case .list {
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.case-box .center-box .case-list .right-case .list .case-item {
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 10px;
  background-color: #f6f5f5;
  border-bottom: solid 4px #bfbfbf;
  transition: 300ms;
}
.case-box .center-box .case-list .right-case .list .case-item:hover {
  border-color: #21619a;
}
.case-box .center-box .case-list .right-case .list .case-item:hover .desc-item {
  color: #21619a;
}
.case-box .center-box .case-list .right-case .list .case-item:hover .pic img {
  transform: scale(1.2);
}
.case-box .center-box .case-list .right-case .list .case-item .pic {
  width: 100%;
  height: auto;
  position: relative;
  padding: 41% 0;
  overflow: hidden;
}
.case-box .center-box .case-list .right-case .list .case-item .pic img {
  transition: 500ms;
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
}
.case-box .center-box .case-list .right-case .list .case-item .desc-item {
  transition: 300ms;
  color: #707070;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  width: 100%;
  height: 80px;
}
.case-box .center-box .case-list .right-case .list .case-item .desc-item h1 {
  font-size: 18px;
  width: 100%;
  text-align: center;
  padding: 0 15px;
}
.case-box .center-box .case-list .right-case .list .case-item:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 1400px) {
  .case-box .center-box .right-case {
    padding: 0 !important;
  }
  .case-box .center-box .right-case .list {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media screen and (max-width: 1200px) {
  .case-box .center-box .right-case {
    padding: 0 !important;
  }
  .case-box .center-box .right-case .list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media screen and (max-width: 750px) {
  .classify .classify-item {
    width: 100% !important;
  }
  .case-box .center-box .right-case {
    padding: 0 !important;
  }
  .case-box .center-box .right-case .list {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }
}