.main-wrap {
  display: flex;
  margin-bottom: 40px;
}

/*
  【募集職種一覧】左ナビ
*/

.left-search-item + .left-search-item {
  margin: 24px 0 0;
}
.search-label {
  font-size: 14px;
  font-weight: 400;
  color: #6D7175;
  margin: 0 0 16px;
}
.search-select {
  position: relative;
}
.search-select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #6D7175;
  border-bottom: 2px solid #6D7175;
  transform: translateY(-50%) rotate(45deg);
  margin-top: -2px;
}
.search-select select {
  display: block;
  width: 100%;
  height: 46px;
  font-size: 14px;
  font-weight: 400;
  color: #202223;
  border: 1px solid #E6E6E6;
  border-radius: 3px;
  padding: 0 40px 0 16px;
  -webkit-appearance: none;
  appearance: none;
}
.search-input-li {
  margin: 0 0 16px;
}
.search-input-item {
  position: relative;
}
.search-input-item input {
  opacity: 0;
  position: absolute;
  left: 0;
}
.search-input-item input + label {
  display: inline-flex;
  align-items: center;
  font-weight: 400;
  margin: 0;
  cursor: pointer;
}
.search-input-item input + label::before {
  content: "";
  flex-shrink: 0;
  display: block;
  width: 20px;
  height: 20px;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj4NCiAgPHBhdGggaWQ9ImNoZWNrX2NpcmNsZV9GSUxMMV93Z2h0MzAwX0dSQUQwX29wc3o0OCIgZD0iTTEzLjQ0NywxOS40NDdsNy4xMDUtNy4xMDUtLjkyMS0uODk1LTYuMTg0LDYuMTg0TDEwLjM0MiwxNC41bC0uODk1LjkyMVpNMTUsMjVhOS42OSw5LjY5LDAsMCwxLTMuODgyLS43ODksMTAuMDI2LDEwLjAyNiwwLDAsMS01LjMyOS01LjMyOSwxMCwxMCwwLDAsMSwwLTcuNzg5QTkuOTc1LDkuOTc1LDAsMCwxLDcuOTM0LDcuOTIxYTEwLjI0NywxMC4yNDcsMCwwLDEsMy4xODQtMi4xMzIsMTAsMTAsMCwwLDEsNy43ODksMCw5LjkzMSw5LjkzMSwwLDAsMSw1LjMsNS4zLDEwLDEwLDAsMCwxLDAsNy43ODksMTAuMjQ3LDEwLjI0NywwLDAsMS0yLjEzMiwzLjE4NCw5Ljk3NSw5Ljk3NSwwLDAsMS0zLjE3MSwyLjE0NUE5Ljc1NCw5Ljc1NCwwLDAsMSwxNSwyNVoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01IC01KSIgZmlsbD0iI2M0YzRjNCIvPg0KPC9zdmc+DQo=);
  background-size: 20px;
  background-repeat: no-repeat;
  margin: 0 12px 0 0;
}
.search-input-item input:checked + label::before {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj4NCiAgPHBhdGggaWQ9ImNoZWNrX2NpcmNsZV9GSUxMMV93Z2h0MzAwX0dSQUQwX29wc3o0OC1iIiBkPSJNMTMuNDQ3LDE5LjQ0N2w3LjEwNS03LjEwNS0uOTIxLS44OTUtNi4xODQsNi4xODRMMTAuMzQyLDE0LjVsLS44OTUuOTIxWk0xNSwyNWE5LjY5LDkuNjksMCwwLDEtMy44ODItLjc4OSwxMC4wMjYsMTAuMDI2LDAsMCwxLTUuMzI5LTUuMzI5LDEwLDEwLDAsMCwxLDAtNy43ODlBOS45NzUsOS45NzUsMCwwLDEsNy45MzQsNy45MjFhMTAuMjQ3LDEwLjI0NywwLDAsMSwzLjE4NC0yLjEzMiwxMCwxMCwwLDAsMSw3Ljc4OSwwLDkuOTMxLDkuOTMxLDAsMCwxLDUuMyw1LjMsMTAsMTAsMCwwLDEsMCw3Ljc4OSwxMC4yNDcsMTAuMjQ3LDAsMCwxLTIuMTMyLDMuMTg0LDkuOTc1LDkuOTc1LDAsMCwxLTMuMTcxLDIuMTQ1QTkuNzU0LDkuNzU0LDAsMCwxLDE1LDI1WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUgLTUpIiBmaWxsPSIjNTk4NWI3Ii8+DQo8L3N2Zz4NCg==);
}
.search-action {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0 8px;
}
.search-action button {
  display: inline-block;
  width: 54px;
  font-size: 13px;
  font-weight: 400;
  border: 1px solid #5985B7;
  border-radius: 9999px;
  padding: 2px 0;
}
.clear-btn {
  color: #5985B7;
  background: #fff;
  transition: .3s;
}
.OK-btn {
  color: #fff;
  background: #5985B7;
  transition: .3s;
}
.left-search-main {
  max-width: 280px;
}

@media screen and (min-width: 768px) {
  .clear-btn:hover {
    color: #fff;
    background: #5985B7;
  }
  .OK-btn:hover {
    color: #5985B7;
    background: #fff;
  }
  .left-button-sp {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .left-search {
    margin-top: -32px;
  }
  .left-search-main {
    display: none;
    padding: 32px 0 24px;
  }
  .search-form.is-open .left-search-main {
    display: block;
  }
  .left-button-sp {
    background: #E0EEFD;
    padding: 24px 16px;
    margin: 0 -16px;
  }
  .left-button-sp button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    border: 1px solid #CCDAE8;
    border-radius: 3px;
    background: #fff;
    padding: 10px 24px;
  }
  .js-form-open {
    color: #5985B7;
  }
  .search-form.is-open .open-btn {
    display: none;
  }
  .js-form-open span {
    position: relative;
    flex-shrink: 0;
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background: #5985B7;
    margin: 0 12px 0 0;
  }
  .js-form-open span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-block;
    width: 2px;
    height: 10px;
    background: #fff;
    transform: translate(-50%, -50%);
  }
  .js-form-open span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-block;
    width: 10px;
    height: 2px;
    background: #fff;
    transform: translate(-50%, -50%);
  }
  .close-btn {
    display: none;
  }
  .search-form.is-open .close-btn {
    display: flex;
  }
  .js-form-close span {
    position: relative;
    flex-shrink: 0;
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background: #6D7175;
    margin: 0 12px 0 0;
  }
  .js-form-close span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-block;
    width: 2px;
    height: 10px;
    background: #fff;
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .js-form-close span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-block;
    width: 10px;
    height: 2px;
    background: #fff;
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .main-wrap {
    margin-top: 32px;
    flex-direction: column;
  }
}

/*
【募集職種一覧】リストアイテム
*/

.result {
  margin: 0 0 80px;
}
.result-head {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 0 0 40px;
}
.result-ttl {
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0 16px 0 0;
}
.result-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  border-radius: 9999px;
  background: #F6F6F6;
  padding: 0 16px;
}
.result-num span {
  font-size: 18px;
}
.result-item + .result-item {
  margin: 16px 0 0;
}
.result-item a {
  display: flex;
  flex-direction: row-reverse;
  /* align-items: center; */
  /* height: 210px; */
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, .05);
  background: #fff;
}
.w-100 {
  width: 100% !important;
}
.w-0 {
  width: 0% !important;
}
.result-data {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 58.28%;
  padding: 24px;
}
.article-ttl {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  margin: 0 0 8px;
  order: 2;
}
.article-head {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 0;
  width: 100%;
  margin: 0 0 8px;
  order: 1;
}
.article-cat {
  font-size: 12px;
  color: #5985B7;
}
.article-date {
  font-size: 12px;
  color: #B2B2B2;
}
.article-facility {
  display: flex;
  align-items: center;
  gap: 4px 16px;
  margin: 0 0 8px;
  order: 3;
}
.article-salary,
.article-type {
  /* display: flex; */
  align-items: center;
  gap: 4px 16px;
  margin: 0 0 8px;
  order: 3;
}
.article-type-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #6D7175;
}
.article-type .article-type-item.salary {
  max-width: 400px;
}
.article-type-item:last-of-type {
  flex-shrink: 1;
}
.article-type-item img {
  flex-shrink: 0;
  margin: 0 8px 0 0;
}
.article-type-item span {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.article-btn {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #5985B7;
  text-align: center;
  border: 1px solid #5985B7;
  border-radius: 9999px;
  background: #fff;
  padding: 6px 8px;
  transition: .3s;
  order: 4;
}
.article-img {
  width: 41.72%;
  /* height: 210px; */
  overflow: hidden;
}
.article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transition: .3s;
}

@media screen and (min-width: 768px) {
  .result-item a:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, .1);
  }
  .result-item a:hover .article-btn {
    color: #fff;
    background: #5985B7;
  }
  .result-item a:hover .article-img img {
    transform: scale(1.1);
  }
}

@media screen and (max-width: 767px) {
  .result {
    margin: 0 0 40px;
  }
  .result-head {
    justify-content: space-between;
    margin: 0 0 24px;
  }
  .result-item a {
    flex-direction: column-reverse;
    height: auto;
  }
  .result-data {
    width: auto;
  }
  .article-ttl {
    margin: 0 0 12px;
  }
  .article-head {
    margin: 0 0 12px;
  }
  .article-facility {
    flex-wrap: wrap;
  }
  .article-salary,
  .article-type {
    flex-wrap: wrap;
  }
  .article-type-item:last-of-type {
    flex: 1 1 100%;
  }
  .article-btn {
    width: 100%;
  }
  .article-img {
    width: auto;
    height: auto;
  }
}



/*ページネーション*/
.pagination {
  display: flex;
  justify-content: center;
  margin: -40px 0 0;
}
.pagination > span {
  display: block;
  margin: 0 8px;
}
.pagination > span a {
  display: block;
  position: relative;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 3px;
  font-weight: bold;
  color: #333;
  text-align: center;
  background: #fff;
}
.pagination > span.active a {
  color: #fff;
  background: #5985B7;
}
.pagination > span.previous-inactive a::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 17px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: rotate(-135deg);
  transition: .3s;
}
.pagination > span.next a::before {
  content: "";
  position: absolute;
  top: 15px;
  right: 17px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: rotate(45deg);
  transition: .3s;
}

.previous-inactive span,
.next span {
  display: none;
}
@media screen and (min-width: 768px) {
  .pagination > span a:hover {
    color: #fff;
    background: #5985B7;
    text-decoration: none;
  }
  .pagination > span.previous-inactive a:hover::before {
    border-color: #fff;
  }
  .pagination > span.next a:hover::before {
    border-color: #fff;
  }
}

@media screen and (max-width: 767px) {
  .pagination {
    margin-top: -16px;
  }
  .pagination > span a {
    width: 32px;
    height: 32px;
    line-height: 32px;
  }
  .pagination > span.previous-inactive a::before {
    top: 12px;
    left: 13px;
  }
  .pagination > span.next a::before {
    top: 12px;
    right: 13px;
  }
}

.article-profession .article-cat {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block!important;
}

.article-type .article-type-item span {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.article-profession .article-cat {
  max-width: 280px;
}

