@charset "utf-8";

img {max-width: 100%;}
.title {
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.title h2 {font-size: 28px;}
.more-btn {
  background: #f4f5f8;
  width: 90px;
  height: 30px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  transition: all .2s;
}
.more-btn span {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.7;
}
.more-btn img {
  width: 6px;
  opacity: 0.4;
}
.more-btn:hover {background: #dfe1e6;}
.more-btn:hover span,
.more-btn:hover img {opacity: 1;}
.admin-btn {
  position: relative;
  z-index: 10;
  margin-top: 30px;
  text-align: center;
}
.admin-btn a {
  font-size: 20px;
  color: #ef2727;
  display: inline-block;
}
.board-list li a {
  display: block;
  transition: all .2s;
  overflow: hidden;
}
.board-list .subject {
  font-size: 17px;
  font-weight: bold;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 라인수 */
  -webkit-box-orient: vertical;
  word-wrap:break-word;
  line-height: 1.5em;
  height: 3em;
  overflow: hidden;
}
.board-list .new {
  background: #2f58ed;
  width: 13px;
  height: 13px;
  line-height: 13px;
  text-align: center;
  display: inline-block;
  vertical-align: top;
  margin-top: 5px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: bold;
  color: #fff;
  margin-right: 3px;
}
.board-list .info {
  display: flex;
  align-items: center;
  margin-top: 30px;
  font-size: 14px;
  color: rgba(0,0,0,0.5);
}
.board-list .date {
  font-size: 14px;
  color: rgba(0,0,0,0.5);
}
.recruitment-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -20px;
}
.recruitment-list li {
  margin-right: 20px;
  margin-bottom: 20px;
}
.recruitment-list li a {
  background: #f4f5f8;
  border: 1px solid transparent;
  border-radius: 10px;
}
.recruitment-list li a:hover {
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.recruitment-list .img {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  aspect-ratio: 248 / 150;
}
.recruitment-list .img .no_image {
  background: url(/img/assets/no_img.jpg) center / cover no-repeat;
}
.recruitment-list .txt {padding: 20px 25px 25px;}
.recruitment-list .info {
  border-top: 1px solid #ddd;
  margin-top: 25px;
  padding-top: 15px;
  justify-content: space-between;
}
.sale-list li {
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}
.sale-list li:first-child {padding-top: 0;}
.sale-list li a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.sale-list li a:hover {color: #2f58ed;}
.sale-list .img {
  border-radius: 10px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background: #f8f8f8;
  aspect-ratio: 130 / 90;
}
.sale-list .img .no_image {
  background: url(/img/assets/no_img.jpg) center / cover no-repeat;
}
.sale-list .txt {
  width: calc(100% - 130px);
  padding-left: 30px;
}
.sale-list .category {
  font-size: 14px;
  font-weight: bold;
  color: #2f58ed;
  margin-bottom: 10px;
}
.sale-list .subject {
  text-overflow: ellipsis;
  white-space: nowrap;
  word-wrap: normal;
  overflow: hidden;
  height: auto;
  display: block;
}
.sale-list .info {margin-top: 15px;}
.sale-list .info > div::after {
  content: "";
  background: #ddd;
  width: 1px;
  height: 10px;
  display: inline-block;
  vertical-align: middle;
  margin: 0 15px;
}
.sale-list .info > div:last-child::after {content: none;}

@media all and (max-width: 767px) {
  .title {margin-bottom: 20px;}
  .title h2 {font-size: 20px;}
  .more-btn {
    width: 70px;
    height: 28px;
    padding: 0 12px;
  }
  .more-btn span {font-size: 13px;}
  .board-list .subject {font-size: 15px;}
  .board-list .info,
  .board-list .date {font-size: 12px;}

  .recruitment-list {margin-bottom: -10px;}
  .recruitment-list li {
    width: calc((100% - 10px)/2) !important;
    margin-right: 10px !important;
    margin-bottom: 10px !important;
  }
  .recruitment-list li:nth-child(4n) {margin-right: 10px !important;}
  .recruitment-list li:nth-child(2n) {margin-right: 0 !important;}
  .recruitment-list li a {border-radius: 5px;}
  .recruitment-list .txt {padding: 15px;}
  .recruitment-list .info {
    margin-top: 15px;
    padding-top: 10px;
  }
  .sale-list li {padding: 10px 0;}
  .sale-list .img {
    width: 100px !important;
    border-radius: 5px !important;
  }
  .sale-list .txt {
    width: calc(100% - 100px) !important;
    padding-left: 15px !important;
  }
  .sale-list .info {margin-top: 5px;}
  .sale-list .info > div::after {margin: 0 10px;}
}

/*메인*/
.main section {margin-bottom: 80px;}
.main section:last-child {margin-bottom: 0;}
.recruitment-list li {width: calc((100% - 80px)/5);}
.recruitment-list li:nth-child(5n) {margin-right: 0;}
.main .quick {
  background: #f4f5f8;
  padding: 60px 0;
}
.main .quick ul {
  display: flex;
  flex-wrap: wrap;
}
.main .quick ul li {
  width: calc((100% - 700px)/7);
  margin: 0 50px;
}
.main .quick ul li a {display: block;}
.main .quick ul .ico {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 100px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.main .quick ul p {
  font-size: 17px;
  font-weight: bold;
  opacity: 0.7;
  text-align: center;
  margin-top: 18px;
  transition: all .2s;
  word-break: keep-all;
}
.main .quick ul li a:hover {color: #2f58ed;}
.main .quick ul li a:hover .ico {box-shadow: none;}
.main .news .news-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -20px;
}
.main .news .news-list li {
  width: calc((100% - 40px)/3);
  margin-right: 20px;
  margin-bottom: 20px;
}
.main .news .news-list li:nth-child(3n) {margin-right: 0;}
.main .news .news-list li a {
  border: 1px solid #ddd;
  padding: 30px;
  border-radius: 10px;
}
.main .news .news-list .date {margin-top: 20px;}
.main .news .news-list li a:hover {border-color: #2f58ed;}
.main .sale .sale-wrap {
  display: flex;
  flex-wrap: wrap;
}
.main .sale .sale-wrap > div {
  width: calc((100% - 50px)/2);
  margin-right: 50px;
}
.main .sale .sale-wrap > div:last-child {margin-right: 0;}
.main .sale .sale-list .img {
  width: 130px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.main .sale .sale-list .txt {width: calc(100% - 130px);}

@media all and (max-width: 1380px) {
  .main .quick ul li {
    width: calc((100% - 420px)/7);
    margin: 0 30px;
  }
}
@media all and (max-width: 991px) {
  .main .recruitment .recruitment-list li {width: calc((100% - 60px)/4)}
  .main .recruitment .recruitment-list li:nth-child(5n) {margin-right: 20px;}
  .main .recruitment .recruitment-list li:nth-child(4n) {margin-right: 0;}
  .main .quick ul li {
    width: calc((100% - 210px)/7);
    margin: 0 15px;
  }
  .main .sale .sale-list .img {width: 100px;}
  .main .sale .sale-list .txt {
    width: calc(100% - 100px);
    padding-left: 20px;
  }
}
@media all and (max-width: 767px) {
  .main section {margin-bottom: 50px;}
  .main .quick {padding: 30px 0;}
  .main .quick ul {
    justify-content: center;
    margin-bottom: -25px;
  }
  .main .quick ul li {
    width: calc((100% - 80px)/4);
    margin: 0 10px 25px;
  }
  .main .quick ul .ico img {
    max-width: 30px;
    max-height: 30px;
  }
  .main .quick ul p {
    font-size: 14px;
    margin-top: 12px;
  }
  .main .news .news-list {margin-bottom: -10px;}
  .main .news .news-list li {
    width: calc((100% - 10px)/2);
    margin-right: 10px;
    margin-bottom: 10px;
  }
  .main .news .news-list li:nth-child(3n) {margin-right: 10px;}
  .main .news .news-list li:nth-child(2n) {margin-right: 0;}
  .main .news .news-list li a {
    padding: 15px;
    border-radius: 5px;
  }
  .main .news .news-list .date {margin-top: 15px;}
  .main .sale .sale-wrap > div {
    width: 100%;
    margin: 0 0 30px;
  }
  .main .sale .sale-wrap > div:last-child {margin-bottom: 0;}
}

/*모달*/
.apply-modal .modal-dialog {max-width: 600px;}
.apply-modal .form-group {margin-bottom: 30px;}
.apply-modal .form-label {
  font-size: 18px;
  font-weight: 500;
  display: block;
  margin-bottom: 10px;
}
.apply-modal .form-input {
  height: 50px;
  line-height: 50px;
  border-radius: 5px;
  padding: 0 20px;
  font-size: 18px;
  border: 1px solid #ddd;
  width: 100%;
}
.apply-modal .agree-group .modal-btn {
  color: #2f58ed;
  cursor: pointer;
}
.apply-modal .btn-group {
  margin-top: 30px;
  text-align: center;
}
.apply-modal .btn-group .submit-btn {
  height: 50px;
  line-height: 50px;
  border-radius: 5px;
  background: #2f58ed;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  margin: 0 5px;
  padding: 0 50px;
}
@media all and (max-width: 767px) {
  .apply-modal .form-group {margin-bottom: 20px;}
  .apply-modal .form-label {font-size: 15px;}
  .apply-modal .form-input {
    height: 45px;
    line-height: 45px;
    font-size: 16px;
    padding: 0 15px;
  }
  .apply-modal .btn-group {margin-top: 25px;}
  .apply-modal .btn-group .submit-btn {
    height: 45px;
    line-height: 45px;
    font-size: 16px;
  }
}

/*광고 배너*/
.ad-wrap .container {position: relative}
.ad-wrap img {
  max-width: none;
  width: 100%;
}
.ad-wrap .ad-top img {margin-bottom: 50px;}
.ad-wrap .ad-bottom img {margin-top: 50px;}
.ad-wrap .ad-left,
.ad-wrap .ad-right {
  position: absolute;
  top: 0;
  width: 150px;
}
.ad-wrap .ad-left {left: -170px;}
.ad-wrap .ad-left .admin-btn {text-align: right;}
.ad-wrap .ad-right {right: -170px;}
.ad-wrap .ad-right .admin-btn {text-align: left;}
.ad-wrap .ad-left img,
.ad-wrap .ad-right img {width: 100%;}
