.offers {
  margin-bottom: 150px;
}
.offers_list {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 76px auto 0;
  padding-bottom: 134px;
}
.offers_list a {
  position: relative;
  display: inline-block;
  width: 24.7%;
  margin-bottom: 20px;
  padding: 0 20px;
  vertical-align: top;
  text-align: center;
}
.offers_list a::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -3px;
  margin: auto;
  width: 1px;
  background-color: #ccc;
}
.offers_list a:nth-child(4n)::before {
  display: none;
}
.offers_list a::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 20px;
  left: 20px;
  margin: auto;
  height: 1px;
  background-color: #ccc;
}
.offers_list a .loader {
  height: 260px;
  background-position: top center;
}
.offers_list a .ttl {
  position: relative;
  margin: 19px 0 12px;
  font-size: 18px;
  line-height: 1;
  color: #222222;
  letter-spacing: -0.025em;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.offers_list a .ymd {
  font-size: 14px;
  font-weight: normal;
  line-height: 1;
  letter-spacing: normal;
  color: #888888;
  margin-bottom: 20px;
}
.offers_list a .loader{
  /* background: url(http://img.einet.kr/P202005002/responsive/offers/altImg.jpg) no-repeat center; */
  background: url(http://img.einet.kr/P202005002/responsive/offers/altImg2.jpg) no-repeat center;
  background-size: cover;
}

.offers-pagination {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.offers-pagination > div {
  width: 34px;
  height: 34px;
  border: solid 1px #cccccc;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
  font-size: 16px;
  font-weight: 500;
  color: #222;
  cursor: pointer;
}
.offers-pagination > div:last-child {
  margin-right: 0;
}
.offers-pagination > div.elips {
  border: none;
  position: relative;
  top: 0;
  left: 0;
  width: 46px;
  /* height: 4px; */
  background: url(http://img.einet.kr/P202005002/responsive/elips.png) no-repeat
    center;
}
.offers-pagination > div.elips.mb-s{
  display: none !important;
}
.offers-pagination > div.pre {
  display: none;
}
.offers-pagination > div.btn {
  width: 46px;
  font-size: 12px;
}
.offers-pagination > div.on,
.offers-pagination > div:hover:not(.elips) {
  background: #3e8492;
  color: #fff;
  border-color: #3e8492;
}

@media (max-width: 1024px) {
  .offers_list a {
    width: 100%;
    padding: 0 15px;
  }
  .offers_list a:nth-child(3n) {
    /* width: 33.4%; */
  }
  .offers_list a:nth-child(3n)::before {
    /* display: none; */
  }
  .offers_list a:nth-child(4n)::before {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 1px;
    background-color: #ccc;
  }

  .offers_list {
    padding-bottom: 54px;
  }
  .offers_list a .loader {
    height: auto;
    min-height: 170px;
    padding-top: 56%;
  }
  .offers-pagination > div {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }
  .offers-pagination > div.btn {
    width: 32px;
    font-size: 10px;
  }

  .offers_list a .ttl {
    font-size: 16px;
    margin: 19px 0 8px;
  }
  .offers_list a .ymd {
    font-size: 12px;
  }
  .offers {
    margin-bottom: 80px;
  }
  .offers_list {
    margin: 50px auto 0;
  }
}

@media (max-width: 655px) {
  /* .offers {
    padding: 35px 0 60px;
  }
  .offers_list {
    max-width: calc(100% - 30px);
    margin: 35px auto 0;
  }
  .offers_list a,
  .offers_list a:nth-child(3n) {
    width: 100%;
    height: auto;
    padding: 0;
  }
  .offers_list a::before,
  .offers_list a:nth-child(4n)::before {
    display: none;
  }
  .offers_list a::after {
    right: 0;
    left: 0;
  }
  .offers_list a .loader {
    height: 200px;
  }
  .offers_list a .ttl {
    margin-top: 10px;
    margin-bottom: 16px;
    font-size: 12px;
  } */
}
