/* =========================================================
  공고보기 리스트
  ========================================================= */
#jobListBody {
  display: flex;
  flex-direction: column;
  min-height: 100%; 
  min-height: 100dvh;  
}
.main.page-main {
  flex: 1; 
}
#footer {
  flex-shrink: 0;
}
.page-main {
  margin-top: 72px;
  padding-top: 60px;
}
.page-tit {
  font-size: 1.8rem;
  font-weight: 500;
}
.page-sub-tit {
  display: flex;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 60px;
  color: var(--gray-800);
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -1.6px;
}
.page-sub-tit b {
  color: var(--primary-700);
  font-size: 4.7rem;
  font-weight: 700;
  letter-spacing: -1.88px;
}
.job-filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  /* margin-top: 60px; */
}
.job-list-search {
  display: flex;
  align-items: center;
  gap: 40px;
}
.job-search-field {
  display: flex;
  align-items: center;
}
.job-search-input {
  position: relative;
  width: 244px;
}
.job-search-btn {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: url(/images/common/btn-search-black.png) no-repeat left top/100%;
}
.job-btn-group {
  display: flex;
  align-items: center;
  gap: 6px;
}
.list-filter-bar {
  display: flex;
  align-items: center;
  gap: 16px;
}
.filter-group {
  display: flex;
  align-items: center;
}
.view-toggle-box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 68px;
  height: 36px;
  background-color: var(--gray-100);
  border-radius: 100px;
}
.btn-toggle-card {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: url(/images/common/ico-card.png) no-repeat center center/24px;
  border-radius: 50%;
  transition: all 0.2s;
}
.btn-toggle-card.active {
  background: var(--white) url(/images/common/ico-card-purple.png) no-repeat center center/24px;
}
.btn-toggle-list {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: url(/images/common/ico-list.png) no-repeat center center/24px;
  border-radius: 50%;
  transition: all 0.2s;
}
.btn-toggle-list.active {
  background: var(--white) url(/images/common/ico-list-purple.png) no-repeat center center/24px;
}
.job-list-sec {
  margin-top: 40px;
  padding-bottom: 120px;
}
.job-recruit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2%;
}
.job-recruit-list .job-card {
  background: #F9F9FD;
}
.job-recurit-item {
  position: relative;
  width: 31.8%;
  margin-bottom: 2.2%;
}
.job-recurit-item .job-card-inner {
  width: 100%;
}
.job-recruit-list .job-footer {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: calc(100% - 40px);
}
.job-recruit-list.list .job-footer {
  position: relative;
  left: 0;
  bottom: 0;
}
.job-recurit-item:hover .job-card {
  box-shadow: 0 5px 10px 0 rgba(54, 43, 71, 0.12);
}
.job-recurit-item:hover .job-card::before {
  opacity: 1;
}
.job-recurit-item:hover .job-card::after {
  opacity: 1;
}
.job-recurit-item:hover .job-card .job-card-inner::before {
  opacity: 1;
}
.job-recurit-item:hover .job-card .job-card-inner::after {
  opacity: 1;
}
.job-recurit-item:hover .job-card .job-match-txt span {
  transform: translate(-13px, -4px);
}
.job-recurit-item:hover .job-card .match-num-wrap {
  color: var(--primary-700);
  transform: scale(1.5);
  transform-origin: right bottom;
}

/* 리스트형 */
.no-transition,
.no-transition * {
  transition: none !important;
}
.job-recruit-list.list {
  gap: 0;
}
.job-recruit-list.list .job-recurit-item {
  width: 100%;
  margin-bottom: 0;
  border-top: 1px solid #DEDEED;
}
.job-recruit-list.list .job-card {
  background-color: var(--white);
  border: none;
  border-bottom: 1px solid #DEDEED;
  border-radius: 0;
  transition: none;
}
.job-recruit-list.list .job-card:hover {
  background: #F9F9FD;
  border-color: var(--primary-700);
  transition: all 0.2s;
}
.job-recruit-list.list .job-card-inner {
  display: flex;
  align-items: center;
  gap: 2.2%;
  padding: 16px;
}
.job-recruit-list.list .job-card:hover {
  box-shadow: none;
  transition: none;
}
.job-recruit-list.list .job-card::before,
.job-recruit-list.list .job-card::after,
.job-recruit-list.list .job-card-inner::before,
.job-recruit-list.list .job-card-inner::after {
  display: none;
}
.job-recruit-list.list .job-card-inner {
  min-height: 132px;
}
.job-recruit-list.list .job-company {
  width: 22.3%;
}
.job-recruit-list.list .job-card-txt {
  width: 38%;
}
.job-recruit-list.list .job-footer {
  width: 32%;
  margin-top: 0;
}
.job-recruit-list.list .job-company-logo {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
}
.job-recruit-list.list .job-card-tit {
  margin-top: 0;
  font-size: 1.8rem;
}
.job-recruit-list.list .job-match {
  display: none;
}
.job-recruit-list.list .job-date {
  flex-shrink: 0;
}
.job-recruit-list.list .job-bookmark {
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
}

/* =========================================================
  공고 상세보기 - 페이지형
  ========================================================= */
#jobListDetailBody {
  overflow-x: clip;
}
.job-detail-page {
  width: 100%;
  max-width: 1476px;
  margin: 112px auto 0;
  padding: 0 40px;
}
.job-detail-page .detail-job-side {
  padding-top: 40px;
}
.job-detail-page .anchor-tab-wrap {
  top: 72px;
}
.job-detail-page .detail-job-side {
  top: 72px;
}





/* =========================================================
  공고기업
  ========================================================= */
#jobCompanyBody {
  display: flex;
  flex-direction: column;
  min-height: 100%; 
  min-height: 100dvh;    
  overflow-x: clip;
}
.job-company-container {
  display: flex;
  gap: 32px;
  /* margin-top: 60px; */
  padding-bottom: 120px;
}
.job-company-cont {
  width: calc(100% - 357px);
}
.company-tbl-wrap {
  margin-top: 20px;
}
.company-tbl {
  width: 100%;
  border-collapse: collapse;
  font-family: sans-serif;
  font-size: 1.4rem;
}
.company-tbl thead th {
  padding: 12px 0;  
  background-color: var(--gray-600);
  color: var(--white);
  font-weight: 600;
  border-right: 1px solid var(--gray-700);
  text-align: center;
}
.company-tbl thead th:last-child {
  border-right: none;
}
.company-tbl tbody td {
  padding: 12px;
  vertical-align: middle;
  border-bottom: 1px solid #DEDEED;
  text-align: center;
}
.company-tbl tbody tr:hover td {
  background-color: #F9F9FD;
  border-color: var(--primary-700);
}
.company-tbl-info {
  display: flex;
  align-items: center;
  gap: 16px;
}
.company-tbl-logo {
  display: flex;
  align-items: center;
  justify-content: center;  
  width: 40px;
  height: 40px;
  padding: 4px;
  border: 1px solid var(--gray-100);
  border-radius: 4px;
  background-color: var(--white);
}
.company-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.company-tbl-tit {
  font-size: 1.5rem;
  font-weight: 600;
}
.company-tbl-add {
  color: var(--gray-400);
}
.company-tbl-link {
  color: var(--em-text-blue);
  font-size: 1.6rem;
  font-weight: 500;
}
.company-tbl-link a {
  text-decoration: underline;
}
.company-btn-star {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: url(/images/pages/ico-star.png) no-repeat center center/20px;
}
.company-btn-star.active {
  background-image: url(/images/pages/ico-star-yellow.png);
}
.job-company-side {
  flex-shrink: 0;
  align-self: flex-start;
  position: sticky;
  top: 80px;
  width: 325px;
  height: calc(100vh - 80px);
}
.side-company-wrap {
  height: calc(100vh - 370px);
  margin-top: 20px;
  overflow-y: auto;
}
.job-company-side .side-list-head {
  margin-top: 0;
}
.custom-select-wrap.custom-select-company {
  min-width: 160px;
}
.side-company-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.side-company-list-item {
  position: relative;
  background: #F9F9FD;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #DEDEED;
}
.side-company-list-item::before {
  content: '';
  position: absolute;
  left: -1px;
  bottom: -1px;
  width: 22px;
  height: 22px;
  background: url(/images/common/border-bottom-left.png) no-repeat left top/100%;
  opacity: 0;
  z-index: 50;
  transition: opacity 0.3s;    
}
.side-company-list-item::after {
  content: '';
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 22px;
  height: 22px;
  background: url(/images/common/border-bottom-right.png) no-repeat left top/100%;
  opacity: 0;
  transition: opacity 0.3s;   
}
.side-company-list-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 22px;
  height: 22px;
  background: url(/images/common/border-top-left.png) no-repeat left top/100%;
  opacity: 0;
  transition: opacity 0.3s;
}
.side-company-list-card::after {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 22px;
  height: 22px;
  background: url(/images/common/border-top-right.png) no-repeat left top/100%;
  opacity: 0;
  transition: opacity 0.3s;  
}
.side-company-list-item:hover {
  background-color: var(--white);
}
.side-company-list-item:hover::before,
.side-company-list-item:hover::after {
  opacity: 1;
}
.side-company-list-item:hover .side-company-list-card::before,
.side-company-list-item:hover .side-company-list-card::after {
  opacity: 1;
}
.side-company-tit {
  width: 100%;
  margin-bottom: 10px;
  font-size: 1.5rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;   
}
.side-company-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}
.company-stats {
  display: flex;
  align-items: center;
  gap: 20px; 
}
.company-stat-item {
  display: flex;
  align-items: center;
  gap: 8px; 
}
.company-stat-label {
  color: var(--gray-500);
  font-size: 1.4rem;
  font-weight: 500;
}
.company-stat-count {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-700);
}

/* =========================================================
  공고기업 상세보기
  ========================================================= */
.link-company-list {
  position: relative;
  padding-left: 16px;
}
.link-company-list::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 5px;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid var(--gray-800);
  border-right: 1.5px solid var(--gray-800);
  transform: rotate(225deg);
}
.com-detail-cont {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid var(--line-gray1);
}
.company-detail-list {
  margin-top: 16px;
}
.company-detail-list .job-recruit-list.list .job-company-logo {
  width: 60px;
  height: 60px;
}
.company-detail-list .job-recruit-list.list .job-card-inner {
  min-height: 92px;
}






/* responsive */
@media (max-width: 1279px) {
  /* 공고보기 리스트 */
  .job-recurit-item {
    width: 48.9%;
  }

  /* 공고기업 */
  .job-company-main .job-filter-row {
    flex-wrap: wrap;
    gap: 20px;
  }
  .job-company-main .job-list-search,
  .job-company-main .list-filter-bar {
    width: 100%;
  }

  /* 공고기업 상세보기 */
  .company-detail-list .job-company-logo {
    display: none;
  }
  .company-detail-list .job-date {
    display: none;
  }

}

@media (max-width: 1079px) {
  /* 공고보기 리스트 */
  .job-filter-row {
    gap: 20px;
  }
  .job-list-search {
    gap: 20px;
  }
  .view-toggle-box {
    display: none;
  }

  /* 공고기업 */
  .job-company-cont {
    width: 100%;
  }
  .job-company-side {
    display: none;
  }
  .job-company-side .side-company-wrap {
    display: none;
  }
}

@media (max-width: 959px) {
  /* 공고보기 리스트 */
  .job-filter-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .job-recurit-item {
    width: 100%;
  }  
}

@media (max-width: 767px) {
  /* 공고보기 리스트 */
  .page-main {
    padding-top: 40px;
  }
  .page-sub-tit {
    font-size: 2.8rem;
  }
  .page-sub-tit b {
    font-size: 3.4rem;
  }
  .job-list-search {
    flex-direction: column;
    width: 100%;
  }
  .job-list-search form {
    width: 100%;
  }
  .job-search-field {
    width: 100%;
  }
  .job-search-input {
    width: calc(100% - 40px);
  }
  .job-btn-group {
    width: 100%;
  }  
  .job-btn-group>button {
    flex: 1;
  }
  .list-filter-bar {
    justify-content: flex-end;
    width: 100%;
  }
  .filter-group {
    gap: 4px;
  }

  /* 공고기업 */
  .company-tbl thead {
    display: none;
  }
  .company-tbl,
  .company-tbl tbody {
    display: block;
  }
  .company-tbl tbody {
    width: 100%;
  }
  .company-tbl tbody tr {
    display: block;
    position: relative;
    width: 100%;
    margin-bottom: 12px;
    padding: 24px 16px;
    border: 1px solid #DEDEED;
    border-radius: 8px;
  }
  .company-tbl tbody td {
    display: block;
    margin-top: 20px;
    padding: 0;
    background-color: var(--white);
    border-bottom: 0;
    text-align: left;
  }
  .company-tbl tbody td:first-child {
    margin-top: 0;
  }
  .company-tbl tbody tr:hover td {
    background-color: var(--white);
    border-color: #DEDEED;
  }
  .company-tbl-logo {
    display: none;
  }
  .company-tbl .job-tags {
    justify-content: start;
  }
  .company-tbl tbody td.company-tbl-add {
    display: inline-flex;
    position: relative;
    margin-right: 32px;
    color: var(--gray-600);
    font-weight: 500;
  }
  .company-tbl tbody td.company-tbl-add::before {
    content: '지역';
    margin-right: 8px;
    color: var(--gray-600);
    font-size: 1.4rem;
    font-weight: 400;
  }
  .company-tbl tbody td.company-tbl-add::after {
    content: '';
    position: absolute;
    top: 3px;
    right: -16px;
    width: 1px;
    height: 16px;
    background-color: var(--gray-300);
  }
  .company-tbl tbody td.company-tbl-link {
    display: inline-flex;
    align-items: center;
    position: relative;
    top: 1px;
  }
  .company-tbl tbody td.company-tbl-link::before {
    content: '채용중 공고';
    margin-right: 8px;
    color: var(--gray-600);
    font-size: 1.4rem;
    font-weight: 400;
  }  

  .company-tbl tbody td.company-tbl-star {
    position: absolute;
    top: 5px;
    right: 5px;
  }

  /* 공고기업 상세보기 */
  .company-detail-list .job-recruit-list.list {
    gap: 20px;
  }
  .company-detail-list .job-recruit-list.list .job-card {
    border: 1px solid #DEDEED;
    border-radius: 8px;
  }
  .company-detail-list .job-recruit-list.list .job-card-inner {
    flex-direction: column;
    gap: 24px;
  }
  .company-detail-list .job-recruit-list.list .job-card-inner>div {
    width: 100%;
  }
  .company-detail-list .job-company-logo {
    display: flex;
  }
  .company-detail-list .job-recruit-list.list .job-recurit-item {
    border-top: none;
  }
  .company-detail-list .job-recruit-list.list .job-bookmark {
    display: none;
  }
  .company-detail-list .job-card-txt p:nth-of-type(2) {
    display: none;
  }

  


}













