/*
 * ヘッダー（案件一覧固有）
 */
.l-header__inner,
.l-fixHeader__inner {
  max-width: 1104px !important;
}

/*
 * タイトル周り
 */
#content {
  padding-top: 0;
  max-width: 1056px;
  padding-left: var(--swl-pad_container,0);
  padding-right: var(--swl-pad_container,0);
}

@media screen and (max-width: 959px) {
  #content {
    padding-left: 20px;
    padding-right: 20px;
  }  
}

#main_content {
  padding-top: 0;
  max-width: 960px;
  padding-left: 0;
  padding-right: 0;
}

@media screen and (max-width: 959px) {
  #main_content {
    padding: 0;
  }  
}

.jobs-archive-title {
  display: flex;
  background-image: url(../../../../assets/img/pc_anken_bg.jpg);
  background-size: cover;
  align-items: center;
  padding-top: 32px;
  margin: 0 calc(50% - 50vw + 144px) 24px;
  width: calc(100vw - 288px);
  justify-content: center;
  padding-left: var(--swl-pad_container,0);
  padding-right: var(--swl-pad_container,0);
}

@media screen and (max-width: 1023px) {
  .jobs-archive-title {
    margin: 0 calc(50% - 50vw);
    width: 100vw;
  }

  @media screen and (max-width: 599px) {
    .jobs-archive-title {
      background-image: url(../../../../assets/img/sp_anken_bg.jpg);
      flex-wrap: wrap;
      flex-direction: column;
      padding-top: 0;
      padding-left: 0;
      padding-right: 0;
    }
  }
}

.jobs-archive-title-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 960px;
  width: 100%;
  padding: 0;
}

@media screen and (max-width: 599px) {
  .jobs-archive-title-inner {
    padding: 0 20px;
  }
}

.jobs-archive-title h1 {
  width: 50%;
  font-size: var(--text-3xl);
  line-height: var(--height-3xl);
  font-weight: bold;
  margin-bottom: 32px;
}

.jobs-archive-title img {
  width: 50%;
}

@media screen and (max-width: 1023px) {
  .jobs-archive-title h1 {
    font-size: var(--text-2xl);
    line-height: var(--height-2xl);
  }

  .jobs-archive-title img {
    width: 40%;
  }

  @media screen and (max-width: 599px) {
    .jobs-archive-title h1 {
      width: calc(100% - 120px);
      margin-bottom: 0;
    }

    .jobs-archive-title img {
      width: 120px;
    }
  }
}

.jobs-archive-title p {
  font-size: var(--text-sm);
  line-height: var(--height-sm);
  text-align: right;
}

.jobs-archive-title p span {
  font-size: var(--text-base);
  line-height: var(--height-base);
  font-weight: bold;
}

/*
 * 絞り込み検索
 */
.cta-header-text {
  font-size: var(--text-lg);
  line-height: var(--height-lg);
  font-weight: bold;
}

@media screen and (min-width: 1024px) {
  .accordion_content {
    overflow: visible;
  }
}

@media screen and (max-width: 1023px) {
  #body_right {
    margin: 0 calc(50% - 50vw) 16px;
    width: 100vw;
  }

  .cta-inner {
    padding: 12px calc(32px + var(--swl-pad_container, 0));
    background: #4B4B4B;
  }

  .cta-inner:has(.active) {
    background: #4B4B4B;
  }

  .accordion_content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }
  
  .accordion_content.active {
    overflow: visible;
    margin-bottom: 32px;
  }

  .cta-header-text {
    font-size: var(--text-base);
    line-height: var(--height-base);
    position: relative;
  }

  .cta-header-text:after {
    content: "\e910";
    display: inline-block;
    font-family: icomoon;
    font-size: 16px;
    transition: -webkit-transform .25s;
    transition: transform .25s;
    transition: transform .25s, -webkit-transform .25s;
    font-weight: 400;
    color: #fff;
    pointer-events: none;
    margin-left: 8px;
    vertical-align: middle;
  }

  .cta-header:has(+.active) .cta-header-text:after {
      transform: rotate(180deg);
  }

  @media screen and (max-width: 599px) {
    .cta-inner {
      padding: 12px 20px;
    }
  }
}

#cta-wrap dt {
  font-weight: bold;
}

.module-skill .wpcf7-checkbox .wpcf7-list-item > label,
.module-experience .wpcf7-checkbox .wpcf7-list-item > label {
  font-size: var(--text-sm);
  line-height: var(--height-sm);
}

.accordion_content dd {
  position: relative;
}

.accordion_content dd:has(select):before {
  content: "\e910";
  display: block;
  font-family: icomoon;
  font-size: 16px;
  transition: -webkit-transform .25s;
  transition: transform .25s;
  transition: transform .25s, -webkit-transform .25s;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 400;
  color: #333;
  z-index: 9999;
  line-height: 24px;
  pointer-events: none;
}

#cta-wrap select {
  background: #fff;
}

.job_kara {
  text-align: center;
  color: #fff;
  writing-mode: vertical-rl;
  margin: 8px auto;
}

.jobs-submit {
  background: var(--color_cta);
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 3px 8px 4px rgba(0, 0, 15, 0.2);
  font-weight: bold;
  width: 100%;
  font-size: var(--text-sm);
  line-height: var(--height-sm);
  border-radius: 4px;
  padding: 12px;
  margin-top: 40px;
}

.jobs-submit:hover {
  box-shadow: 3px 4px 4px rgba(0, 0, 15, 0.2);
  margin-top: 44px;
  margin-bottom: -4px;
  opacity: 0.8;
}

/*
 * 一覧画面
 */
.p-archiveContent {
  margin-top: 24px !important;
}
 
@media screen and (max-width: 599px) {
  .p-archiveContent {
    margin-top: 16px !important;
  }
}

.archive-job-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  align-items: flex-start;
}

.archive-job-wrapper .job-col {
  width: calc(100% / 2 - 16px);
  max-width: calc(100% / 2 - 16px);
  display: flex;
  flex-direction: column;
  margin-left: 0;
  margin-right: 0;
}

@media screen and (max-width: 767px) {
  .archive-job-wrapper .job-col {
    width: 100%;
    max-width: initial;
    padding: 20px 20px 24px;
  }
}

.job-col {
  display: block;
  color: var(--color_black);
  position: relative;
}

.job-close:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(150, 150, 150, 0.2);
}

.job-col-module-close {
  background-color: #969696;
}

.job-col-status {
  max-width: 88%;
}

.job-col-title {
  min-height: 64px;
  flex-grow: 0;
}

.all-jobs {
  width: 100%;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color_black);
  border-radius: 8px;
}

.all-jobs:hover {
  background-color: var(--color_main);
}

.all-jobs:hover {
  color: #fff;
}

.all-jobs img {
  margin-top: 10px;
  margin-right: 24px;
}

.all-jobs-text {
  font-size: var(--text-lg);
  line-height: var(--height-lg);
  font-weight: bold;
  margin-right: 44px;
}

.all-jobs-text p {
  margin-bottom: 8px;
}

.all-jobs-text p:nth-child(2) {
  font-size: var(--text-xl);
  line-height: var(--height-xl);
}

.all-jobs-text strong {
  font-size: var(--text-2xl);
  line-height: var(--height-2xl);
}

.all-jobs-cta {
  text-align: center;
}

.all-jobs-cta .btn_main {
  display: block;
  margin-top: 16px;
}

.all-jobs-cta .btn_main .btn_inner {
  background-color: var(--color_cta) !important;
  border: 1px solid var(--color_cta);
  color: #fff;
}

@media screen and (max-width: 767px) {
  .all-jobs {
    flex-direction: column;
  }

  .all-jobs img {
    order: 2;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 24px;
  }

  .all-jobs-text {
    order: 1;
    margin-top: 24px;
    margin-bottom: 24px;
    text-align: center;
    margin-right: 0;
  }

  .all-jobs-cta {
    order: 3;
    margin-bottom: 24px;
    width: 100%;
  }

  .all-jobs-cta .btn_main {
    padding-left: 20px;
    padding-right: 20px;
  }

  .all-jobs-cta .btn_main .btn_inner {
    width: 100%;
    margin: auto;
    display: block;
  }
}

/* 現在の検索条件 */
.jobs-archive-display-conditions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.jobs-archive-display-conditions p {
  font-size: var(--text-sm);
  line-height: var(--height-sm);
}

.jobs-archive-display-conditions select {
  border: 1px solid var(--color_main);
  background: #fff;
  color: var(--color_main);
  font-size: var(--text-sm);
  line-height: var(--height-sm);
  font-weight: bold;
  -webkit-appearance: none;
  padding: 8px 48px 8px 22px;
  cursor: pointer;
  border-radius: 4px;
}

.jobs-archive-display-conditions select option {
  font-weight: bold;
}

.sort-form {
  position: relative;
}

.sort-form:before {
  content: "\e910";
  display: block;
  font-family: icomoon;
  font-size: 16px;
  transition: -webkit-transform .25s;
  transition: transform .25s;
  transition: transform .25s, -webkit-transform .25s;
  position: absolute;
  right: 22px;
  top: 0;
  font-weight: 400;
  color: var(--color_main);
  z-index: 9999;
  line-height: 28px;
  pointer-events: none;
  padding: 6px 0;
}

.search-conditions {
  padding: 24px 16px;
  border-radius: 8px;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.15);
  background-color: #fff;
  align-self: stretch;
  height: auto !important;
}

.search-conditions h2 {
  font-size: var(--text-lg);
  line-height: var(--height-lg);
  text-align: center;
  margin-bottom: 16px;
}

.search-conditions-inner {
  display: flex;
  justify-content: space-around;
}

.search-conditions-inner dl {
  width: calc(25% - 4px);
  text-align: center;
  padding: 0 20px;
}

.search-conditions-inner dl:not(:last-child) {
  border-right: 1px solid var(--color_main);
}

.search-conditions-inner dl dt {
  font-weight: bold;
  color: var(--color_cta);
  margin-bottom: 8px;
}

@media screen and (max-width: 767px) {
  .search-conditions-inner {
    flex-wrap: wrap;
  }

  .search-conditions-inner dl {
    width: calc(50% - 8px);
    padding: 16px;
  }

  .search-conditions-inner dl:not(:last-child) {
    border-right: none;
  }
}

/* SP時の固定フッターボタン */
#fix_bottom_menu .menu_list a:before {
  content: "案件を検索する";
  font-size: var(--text-sm);
  line-height: var(--height-sm);
  font-weight: bold;
  margin-top: 0;
  border-radius: 36px;
  padding: 12px;
  display: block;
}

#fix_bottom_menu .menu_list span {
  display: none;
}