.index_hyyy_txt_item {
  cursor: pointer;
}

.index_hyyy_txt_item * {
  transition: all 0.5s;
  -moz-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
}

.index_hyyy_txt_item .index_hyyy_txt_container {
  padding: 2rem;
  position: absolute;
  color: white;
}

.index_hyyy_txt_container .index_hyyy_txt_container_more {
  max-height: 0;
  overflow-y: hidden;
}

@media (max-width: 767px) {
  .index_hyyy_txt_container .index_hyyy_txt_container_more {
    max-height: 1000px;
  }
}

.index_hyyy_txt_item .bg {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
}

/* .swiper-slide:hover .bg {
  left: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  position: absolute;
} */

.index_hyyy_txt_item:hover .index_hyyy_txt_container .index_hyyy_txt_container_more {
  max-height: 300px;
}

.index_hyyy_txt_container h4 {
  font-weight: lighter;
}

#hyyy_2 .index_hyyy_txt_container, #hyyy_2 .bg {
  left: 3rem;
  top: calc(100% - 13rem);
  right: calc(100% - 38rem);
  bottom: 3rem;
}

/* #hyyy_2:hover .index_hyyy_txt_container {
  top: 3rem;
} */

@media (max-width: 767px) {
  #hyyy_2 .index_hyyy_txt_container {
    left: 1rem;
    top: calc(100% - 8rem);
    right: 1rem;
    bottom: 1rem;
    background-color: rgba(0, 0, 0, 0.8);
  }
}

@media (max-width: 767px) {
  #hyyy_2 .bg {
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
  }
}

#hyyy_1 .index_hyyy_txt_container, #hyyy_1 .bg {
  right: calc(100% - 38rem);
  top: 3rem;
  left: 3rem;
  bottom: calc(100% - 15rem);
}

/* #hyyy_1:hover .index_hyyy_txt_container {
  top: 0;
} */

@media (max-width: 767px) {
  #hyyy_1 .index_hyyy_txt_container {
    left: 1rem;
    top: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 767px) {
  #hyyy_1:hover .index_hyyy_txt_container {
    top: 1rem;
  }
}

@media (max-width: 767px) {
  #hyyy_1 .bg {
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
  }
}

#hyyy_0 .index_hyyy_txt_container,
#hyyy_0 .bg {
  right: calc(100% - 38rem);
  bottom: 3rem;
  left: 3rem;
  top: calc(100% - 15rem);
}

@media (max-width: 767px) {
  #hyyy_0 .index_hyyy_txt_container {
    left: 1rem;
    top: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 767px) {
  #hyyy_0:hover .index_hyyy_txt_container {
    top: 1rem;
  }
}

@media (max-width: 767px) {
  #hyyy_0 .bg {
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
  }
}

#hyyy_3 .index_hyyy_txt_container,
#hyyy_3 .bg {
  top: calc(100% - 12rem);
  right: calc(100% - 33rem);
  bottom: 2rem;
  left: 2rem;
}

/* #hyyy_3:hover .index_hyyy_txt_container {
  top: 0rem;
} */

@media (max-width: 767px) {
  #hyyy_3 .index_hyyy_txt_container {
    left: 1rem;
    top: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 767px) {
  #hyyy_3:hover .index_hyyy_txt_container {
    top: 1rem;
  }
}

@media (max-width: 767px) {
  #hyyy_3 .bg {
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
  }
}

#hyyy_4 .index_hyyy_txt_container,
#hyyy_4 .bg {
  left: calc(100% - 38rem);
  top: calc(3rem);
  right: 3rem;
  bottom: calc(100% - 15rem);
}

/* #hyyy_4:hover .index_hyyy_txt_container {
  top: 0;
  right: calc(100% - 45rem);
} */

/* left: 3rem;
  top: calc(50% - 6rem);
  right: calc(100% - 38rem);
  bottom: calc(50% - 6rem);
} */

@media (max-width: 767px) {
  #hyyy_4 .index_hyyy_txt_container {
    left: 1rem;
    top: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 767px) {
  #hyyy_4:hover .index_hyyy_txt_container {
    top: 1rem;
  }
}

@media (max-width: 767px) {
  #hyyy_4 .bg {
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
  }
}

@media (max-width: 767px) {
  .index_hyyy_txt_item .index_hyyy_txt_container {
    padding: 0.5rem;
  }
}

