#header.disable {
  z-index: 10;
}
#container.disable {
  transform: none;
  position: static;
}

#archive_offer {
  padding: 120px 0 150px;
}
@media screen and (max-width: 1000px) {
  #archive_offer {
    padding: 100px 0;
  }
}
@media screen and (max-width: 800px) {
  #archive_offer {
    padding: 40px 0;
  }
}


/* 検索 ------------------------------------------- */
.search_wrapper {
  width: 1030px;
  margin: 0 auto;
}
#toggleSpSearch {
  display: none;
}
#search .button {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
#search .button a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border: 1px solid var(--main_color);
  border-radius: 30px;
  color: var(--main_color);
  font-weight: 500;
}
#search .button a:hover {
  color: #ffff;
  background: var(--main_color);
}
#search .button a svg {
  display: block;
  fill: var(--main_color);
  transition: all .25s;
}
#search .button a:hover svg {
  fill: #fff;
}
.search_item {
  display: flex;
}
.search_item h3 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 160px;
  padding: 16px;
  background: #ddd;
  border-bottom: 1px solid #fff;
}
.search_item h3 + * {
  flex: 1;
  padding: 16px;
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #ddd;
}
.search_item:first-of-type h3 + * {
  border-top: 1px solid #ddd;
}
@media screen and (max-width: 1391px) {
  .search_wrapper {
    width: auto;
    max-width: 1030px;
    margin: 0 100px;
  }
}
@media screen and (max-width: 1000px) {
  .search_wrapper {
    margin: 0 50px;
  }
}
@media screen and (max-width: 800px) {
  .search_wrapper {
    margin: 0 20px;
  }
  #toggleSpSearch {
    display: block;
    padding: 16px;
    border: 1px solid #999;
    cursor: pointer;
    font-weight: 500;
    text-align: center;
    position: relative;
  }
  #toggleSpSearch svg {
    display: block;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 8px;
  }
  #toggleSpSearch.active svg {
    transform: rotate(180deg);
  }
  #search {
    display: none;
    margin-top: 10px;
  }
  #search.active {
    display: block;
  }
  .search_item h3 {
    width: 105px;
  }
  .toggle_button {
    display: none;
  }
}
@media screen and (max-width: 600px) {
  .search_item {
    flex-direction: column;
  }
  .search_item + .search_item {
    margin-top: 16px;
  }
  .search_item h3 {
    justify-content: flex-start;
    width: 100%;
    border-bottom: none;
  }
  .search_item h3 + * {
    margin-top: 16px;
    padding: 0;
    border-bottom: none;
  }
  .search_item:first-of-type h3 + * {
    border-top: none;
  }
}

/* 職種・事業部・勤務地・こだわり */
.search_item dl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.search_item dd .tags {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px;
  color: #888;
  font-size: 14px;
  line-height: 1.5;
}
.search_item dd .tags span:not(:last-of-type):after {
  content: ',';
}
@media screen and (max-width: 600px) {
  .search_item dl {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* 雇用形態 */
.treatment_field {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}
.treatment_field input {
  display: none;
}
.treatment_field label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.treatment_field label:before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border: 1px solid #ddd;
  border-radius: 50%;
}
.treatment_field input:checked + label:before {
  background: var(--main_color) url(../images/check_white.svg) center / 15px no-repeat;
  border-color: var(--main_color);
}

/* 給与 */
.salary_field {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 35px;
}
.salary_field li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.salary_field select {
  padding: 8px 16px 8px 4px;
  font-size: 16px;
  border-color: #ddd;
  border-radius: 0;
  font-weight: 500;
  line-height: 22px;
}
.salary_field .select_unit {
  width: 140px;
}
.salary_field .select_salary {
  width: 200px;
}

/* キーワード */
.keyword_field input {
  display: block;
  width: 100%;
  height: 38px;
  padding: 0 8px;
  border: 1px solid #ddd;
  font-size: 16px;
}

/* 詳細ボタン */
.toggle_button {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}
.toggle_button a {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
}
.toggle_button a svg {
  display: block;
  width: 20px;
  height: 20px;
  transition: all .25s;
}
.toggle_button a:hover svg {
  fill: var(--main_color);
}
@media screen and (max-width: 800px) {
  .toggle_button {
    display: none;
  }
}

/* 検索ボタン */
.term_btn {
  display: flex;
  align-items: center;
  gap: 2px;
}
.term_btn span {
  display: block;
  padding-top: 2px;
  font-size: 14px;
  line-height: 1;
}
.term_btn svg {
  width: 20px;
  height: 20px;
  transition: all .25s;
}
.term_btn:hover svg {
  fill: var(--main_color);
}

/* モーダル */
#overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 20px;
  background: rgba(0,0,0,.16);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  transform: none;
}
#overlay .content {
  width: 100%;
  max-width: 800px;
  max-height: calc(100% - 32px);
  margin-top: 32px;
  padding: 20px;
  background: #fff;
  position: relative;
  overflow-y: auto;
}
#overlay .close_modal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #000;
  border-radius: 0 0 0 8px;
  color: #fff;
  line-height: 18px;
  position: absolute;
  top: 0%;
  right: 0;
}
#overlay h2 {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 700;
}
#overlay .flexbox {
  display: flex;
}
#overlay .flexbox h4 {
  width: 160px;
  padding: 16px;
  background: #ddd;
  border-bottom: 1px solid #fff;
}
#overlay .flexbox:last-of-type h4 {
  border-bottom: none;
}
#overlay .flexbox h4 + ul {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 16px;
  border-bottom: 1px solid #ddd;
}
#overlay .flexbox:first-of-type h4 + ul {
  border-top: 1px solid #ddd;
}
#overlay .flexbox .g_child {
  width: 100%;
}
#overlay .flexbox .g_child ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 8px;
}
#overlay .flexbox input {
  display: none;
}
#overlay .flexbox label {
  display: flex;
  align-items: center;
  gap: 8px;
}
#overlay .flexbox label:before {
  content: '';
  flex: none;
  display: block;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
}
#overlay .flexbox input:checked + label:before {
  background: var(--main_color) url(../images/check_white.svg) center / 15px no-repeat;
  border-color: var(--main_color);
}
@media screen and (max-width: 600px) {
  #overlay .flexbox {
    flex-direction: column;
  }
  #overlay .flexbox h4 {
    width: 100%;
    border-bottom: none;
  }
  #overlay .flexbox h4 + ul {
    border-bottom: none;
  }
  #overlay .flexbox:first-of-type h4 + ul {
    border-top: none;
  }
  #overlay .flexbox:last-of-type h4 + ul {
    border-bottom: 1px solid #ddd;
  }
}



/* 並び替え ------------------------------------------- */
#sort {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  width: 1030px;
  margin: 110px auto 35px;
}
#sort h3 {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
}
#sort h3 svg {
  width: 22px;
  height: 22px;
}
#sort select {
  display: block;
  width: 160px;
  padding: 8px 4px;
  border-radius: 0;
}
@media screen and (max-width: 1391px) {
  #sort {
    width: auto;
    max-width: 1030px;
    margin: 110px 100px 35px;
  }
}
@media screen and (max-width: 1000px) {
  #sort {
    margin: 90px 50px 35px;
  }
}
@media screen and (max-width: 800px) {
  #sort {
    margin: 35px 20px 20px;
  }
}
@media screen and (max-width: 600px) {
  #sort select {
    width: 120px;
  }
}

/* 求人リスト ------------------------------------------- */
/* ローディングテキスト / エンプティーテキスト */
.offer_loading,
.empty_block {
  width: 1030px;
  margin: 0 auto;
  padding: 100px 20px;
  border: 1px solid #ddd;
  line-height: 1.5;
  text-align: center;
}
@media screen and (max-width: 1391px) {
  .offer_loading,
  .empty_block {
    width: auto;
    max-width: 1030px;
    margin: 0 100px;
  }
}
@media screen and (max-width: 1000px) {
  .offer_loading,
  .empty_block {
    margin: 0 50px;
  }
}
@media screen and (max-width: 800px) {
  .offer_loading,
  .empty_block {
    margin: 0 20px;
  }
}

/* リスト */
.blog_list .title {
  margin-bottom: 0;
}
.blog_list .description {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.5;
}
.blog_list .info {
  margin-top: 20px;
}
.blog_list .info p {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
}
.blog_list .info .place {
  margin-top: 5px;
}
.blog_list .content a svg {
  width: 20px;
  height: 20px;
  transition: all 0.25s ease;
}
.blog_list .content a:hover svg {
  stroke: var(--main_color);
}
.blog_list .content .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 20px;
}
.blog_list .content .tags span {
  display: block;
  padding: 8px 10px;
  background: #000;
  cursor: pointer;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  transition: all .2s;
}
.blog_list .content .tags span.sub {
  background: #666;
}
.blog_list .content .tags span:hover {
  background: var(--main_color);
}
@media screen and (max-width: 1200px) {
  .blog_list .description {
    margin-top: 15px;
  }
  .blog_list .info {
    margin-top: 15px;
  }
}
@media screen and (max-width: 600px) {
  .blog_list .description {
    margin-top: 5px;
  }
  .blog_list .info {
    margin-top: 5px;
  }
}