@charset "UTF-8";

/* main */
#main {
  height: fit-content;
  padding-bottom: 0;
}
#main .width-wrap .top-area .left-zone h1 {
  text-transform: none;
}
#main .width-wrap .top-area .left-zone h1.fill {
  height: 115%;
}
.img-area {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.img-area img {
  width: 100%;
}

/* contents */
#contents .width-wrap .contents-area {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
  margin-top: 60px;
}
#contents .width-wrap .contents-area .content img {
  width: 100%;
  border-radius: 20px;
  transition: all 0.25s linear;
}
#contents .width-wrap .contents-area .content .bottom-zone {
  padding: 28px 8px;
  box-sizing: border-box;
  transition: all 0.25s linear;
}
#contents .width-wrap .contents-area .content .bottom-zone p:nth-child(2) {
  margin: 8px 0 20px;
}
#contents .width-wrap .contents-area .content .bottom-zone p:last-child {
  height: 65px;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
#contents .width-wrap .contents-area .content:hover img {
  transform: translateY(-20px);
  box-shadow: 4px 4px 20px 2px rgba(28, 28, 28, 0.16);
}

/* responsive */
@media all and (max-width: 1630px) {
  #main .img-area {
    width: 100%;
  }
}
@media all and (max-width: 1200px) {
  #contents .width-wrap .contents-area {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
  }
}
@media all and (max-width: 680px) {
  #contents .width-wrap .contents-area {
    grid-template-columns: 1fr;
    gap: 20px 12px;
  }
}
@media all and (max-width: 500px) {
  #main .img-area {
    height: 180px !important;
  }

  #contents .width-wrap .contents-area {
    margin-top: 28px;
    gap: 0;
  }
  #contents .width-wrap .contents-area .content:hover img {
    transform: translateY(0);
    margin-bottom: 20px;
  }
  #contents .width-wrap .contents-area .content .bottom-zone {
    padding: 28px 8px 36px;
  }
  #contents .width-wrap .contents-area .content .bottom-zone p:nth-child(2) {
    font-size: 12px;
    letter-spacing: -0.48px;
  }
}
