@charset "utf-8";

.es-content-main {
  padding: 30px;
}

.es-student-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.es-student-item {
  min-height: 209px;
  padding: 0 0 32px;
  border-bottom: 1px dashed #999999;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.es-student-item + .es-student-item {
  margin-top: 24px;
}

.es-student-link {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  column-gap: 24px;
  align-items: start;
  min-height: 177px;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.es-student-visual {
  display: block;
  width: 264px;
  height: 177px;
  overflow: hidden;
  background: #edf3fb;
}

.es-student-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1) translateY(0);
  transition: transform 0.45s ease;
  will-change: transform;
}

.es-student-item:hover .es-student-image,
.es-student-item:focus-within .es-student-image {
  transform: scale(1.06) translateY(-2px);
}

.es-student-item:hover,
.es-student-item:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 50, 119, 0.08);
  border-bottom-color: #d6e2f3;
}

.es-student-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 177px;
}

.es-student-title {
  color: var(--color-primary-2);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.es-student-title a {
  color: inherit;
  text-decoration: none;
}

.es-student-title a:hover {
  text-decoration: none;
}

.es-student-summary {
  margin-top: 12px;
  color: #788393;
  font-size: 16px;
  line-height: 24px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.es-student-date {
  margin-top: auto;
  color: #788393;
  font-size: 18px;
  line-height: 24px;
}

@media (max-width: 1140px) {
  .es-student-link {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .es-student-visual {
    width: 240px;
  }
}

@media (max-width: 960px) {
  .es-content-main {
    padding: 28px;
  }

  .es-student-item {
    min-height: 0;
    padding-bottom: 28px;
  }

  .es-student-link {
    grid-template-columns: 220px minmax(0, 1fr);
    column-gap: 20px;
  }

  .es-student-visual {
    width: 220px;
    height: 148px;
  }

  .es-student-body {
    min-height: 148px;
  }

  .es-student-date {
    font-size: 18px;
  }
}

@media (max-width: 720px) {
  .es-content-main {
    padding: 24px 20px;
  }

  .es-student-item {
    padding-bottom: 24px;
  }

  .es-student-item + .es-student-item {
    margin-top: 18px;
  }

  .es-student-link {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .es-student-visual {
    width: 100%;
    height: 220px;
  }

  .es-student-body {
    min-height: 0;
  }

  .es-student-date {
    margin-top: 18px;
    font-size: 17px;
  }
}

@media (max-width: 540px) {
  .es-content-main {
    padding: 22px 16px;
  }

  .es-student-visual {
    height: 190px;
  }

  .es-student-title {
    font-size: 18px;
  }

  .es-student-summary {
    font-size: 15px;
    line-height: 22px;
  }

  .es-student-date {
    font-size: 16px;
  }
}

@media (hover: none) {
  .es-student-item {
    transition: none;
  }

  .es-student-item:hover,
  .es-student-item:focus-within {
    transform: none;
    box-shadow: none;
    border-bottom-color: #999999;
  }

  .es-student-image {
    transition: none;
  }

  .es-student-item:hover .es-student-image,
  .es-student-item:focus-within .es-student-image {
    transform: none;
  }
}
