/* ========== 求人詳細：関連する求人を見る ========== */

.detail_related_job_area {
  padding-top: 30px;
  background-color: var(--color-grey-97, #f8f8f8);
}

.detail_related_job_area .detail_related_job_area_title {
  max-width: 350px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--color-orange-48, #f5a100);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.detail_related_job_area .detail_related_job_area_title::before,
.detail_related_job_area .detail_related_job_area_title::after {
  content: "";
  display: inline-block;
  width: 100%;
  height: 1px;
  background-color: var(--color-orange-48, #f5a100);
}

.detail_related_job_area .detail_related_job_area_swiper {
  position: relative;
  max-width: none;
  margin: 0 auto;
  margin-bottom: 0;
  padding-left: 20px;
  padding-right: 20px;
  background-color: #f8f8f8;
}

.detail_related_job_area .swiper {
  margin: 0 auto;
}

.detail_related_job_area .swiper-wrapper {
  width: 100% !important;
  padding: 0 !important;
}

.detail_related_job_area .swiper-slide {
  background: var(--white, #fff) !important;
  width: 100% !important;
  height: auto !important;
  padding: 0;
  border-radius: 0 !important;
  margin-right: 0 !important;
}

.detail_related_job_area .swiper-pagination-bullet {
  width: 8px !important;
  height: 8px !important;
  background-color: rgba(66, 66, 66, 0.3) !important;
  opacity: 1 !important;
  display: inline-block !important;
  visibility: visible !important;
  margin: 0 !important;
}

.detail_related_job_area .swiper-pagination-bullet-active {
  background-color: #424242 !important;
}

.detail_related_job_area .swiper-button-prev,
.detail_related_job_area .swiper-button-next {
  top: calc(50% - 60px) !important;
  background-color: rgba(51, 51, 51, 0.7);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail_related_job_area .swiper-button-prev::before,
.detail_related_job_area .swiper-button-next::before {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
}

.detail_related_job_area .swiper-button-prev {
  left: 10px !important;
  padding-left: 3px;
}

.detail_related_job_area .swiper-button-prev::before {
  transform: rotate(-135deg);
}

.detail_related_job_area .swiper-button-next {
  right: 10px !important;
  padding-right: 3px;
}

.detail_related_job_area .swiper-button-next::before {
  transform: rotate(45deg);
}

.detail_related_job_area .swiper-navigation-icon {
  display: none;
}

.detail_related_job_area .swiper-pagination {
  bottom: 30px !important;
  height: 8px;
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  padding: 4px 0;
}

/* Job card */
.detail_related_job_area .detail_related_job_card {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  background-color: var(--white, #fff);
  padding: 30px 20px;
  list-style: none;
}

.detail_related_job_area .detail_related_job_card .detail_related_job_img {
  display: none;
  order: 2;
  text-align: center;
  margin-bottom: 10px;
  width: 100%;
}

.detail_related_job_area .detail_related_job_card .detail_related_job_img img {
  max-width: 100%;
  height: auto;
}

.detail_related_job_area .detail_related_job_card .detail_related_job_info {
  display: contents;
}

.detail_related_job_area .detail_related_job_card .detail_related_job_ttl {
  order: 1;
  color: #007bf5;
  margin-bottom: 12px;
  font-size: 18px;
}

.detail_related_job_area .detail_related_job_card .detail_related_job_ttl .search_work_no {
  display: inline-block;
  font-size: 65%;
  margin-bottom: 12px;
}

.detail_related_job_area .detail_related_job_card .detail_related_job_ttl a {
  color: #007bf5;
  text-decoration: none;
}

.detail_related_job_area .detail_related_job_card .detail_related_job_meta {
  order: 3;
  font-size: 14px;
  color: var(--black80, #333);
  width: 100%;
  margin-bottom: 12px;
  padding: 0;
  list-style: none;
}

.detail_related_job_area .detail_related_job_card .detail_related_job_meta li {
  display: flex;
  justify-content: start;
  gap: 14px;
}

.detail_related_job_area .detail_related_job_card .detail_related_job_meta li:nth-child(n + 2) {
  margin-top: 10px;
}

.detail_related_job_area .detail_related_job_card .detail_related_job_meta li .detail_related_job_meta_ttl {
  padding-left: 26px;
  position: relative;
  font-weight: bold;
  white-space: nowrap;
}

.detail_related_job_area .detail_related_job_card .detail_related_job_meta li .detail_related_job_meta_ttl::before {
  content: "";
  width: 18px;
  height: 18px;
  position: absolute;
  left: 0;
  top: 1px;
}

.detail_related_job_area .detail_related_job_card .detail_related_job_meta li .detail_related_job_meta_data {
  max-width: calc(100% - 4em - 26px);
  width: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail_related_job_area .detail_related_job_card .detail_related_job_meta li.jtype .detail_related_job_meta_ttl::before {
  background: url(../img/icn_bag.svg) no-repeat center center/contain;
}

.detail_related_job_area .detail_related_job_card .detail_related_job_meta li.jcad .detail_related_job_meta_ttl {
  letter-spacing: 0.4em;
}

.detail_related_job_area .detail_related_job_card .detail_related_job_meta li.jcad .detail_related_job_meta_ttl::before {
  background: url(../img/icn_display.svg) no-repeat center center/contain;
}

.detail_related_job_area .detail_related_job_card .detail_related_job_meta li.jplace .detail_related_job_meta_ttl::before {
  background: url(../img/icn_point.svg) no-repeat center center/contain;
}

.detail_related_job_area .detail_related_job_card .detail_related_job_meta li.jstation .detail_related_job_meta_ttl::before {
  background: url(../img/icn_train.svg) no-repeat center center/contain;
}

.detail_related_job_area .detail_related_job_card .detail_related_job_meta li.jguara .detail_related_job_meta_ttl::before {
  background: url(../img/icn_yen.svg) no-repeat center center/contain;
}

.detail_related_job_area .detail_related_job_card .detail_related_job_meta li.jguara .detail_related_job_meta_data {
  background: linear-gradient(transparent 0 60%, #fcff35 60% 90%, transparent 90% 100%);
}

.detail_related_job_area .detail_related_job_card .detail_related_job_btnbox {
  order: 5;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0;
  list-style: none;
}

.detail_related_job_area .detail_related_job_card .detail_related_job_btnbox li {
  width: 48%;
  max-width: 270px;
}

.detail_related_job_area .detail_related_job_card .detail_related_job_btnbox li:nth-child(n + 2) {
  margin-left: 4%;
}

.detail_related_job_area .detail_related_job_card .detail_related_job_btnbox li a {
  display: inline-block;
  width: 100%;
  height: 40px;
  line-height: 38px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  position: relative;
  text-decoration: none;
}

.detail_related_job_area .detail_related_job_card .detail_related_job_btnbox li a.detail_btn {
  border: var(--orange, #f5a100) solid 1px;
  color: var(--orange, #f5a100);
  border-radius: 5px;
  box-shadow: 0 4px 3px 0 rgba(0, 0, 0, 0.16);
}

.detail_related_job_area .detail_related_job_card .detail_related_job_btnbox li a.apply_btn {
  color: var(--white, #fff);
  background-color: #007bf5;
  border-radius: 5px;
  box-shadow: 0 4px 3px 0 rgba(0, 0, 0, 0.16);
}

/* Keep button */
.u_detail .detail_related_job_area .detail_related_job_card .content_list_title_check,
.u_detail .detail_related_job_area .detail_related_job_card a.content_list_title_check {
  width: 123px;
  border: #007bf5 solid 1px;
  border-radius: 5px;
  background-image: none;
  height: 40px;
  line-height: 40px;
  padding: 0;
  position: absolute;
  top: 11px;
  right: 11px;
  display: inline-block;
  text-align: center;
  background-color: transparent;
  cursor: pointer;
  z-index: 2;
  text-decoration: none;
  box-sizing: border-box;
}

.u_detail .detail_related_job_area .detail_related_job_card .content_list_title_check::before,
.u_detail .detail_related_job_area .detail_related_job_card a.content_list_title_check::before {
  content: "☆キープに登録";
  font-size: 13px;
  font-weight: 700;
}

.u_detail .detail_related_job_area .detail_related_job_card .content_list_title_check.entry_checked {
  background-color: #007bf5;
}

.u_detail .detail_related_job_area .detail_related_job_card .content_list_title_check.entry_checked::before {
  content: "★キープ済";
  color: var(--white, #fff);
}

.u_detail .detail_related_job_area .detail_related_job_card .content_list_title_check.completed {
  background-color: #e1ecf8;
  border-color: #e1ecf8;
}

.u_detail .detail_related_job_area .detail_related_job_card .content_list_title_check.completed::before {
  content: "エントリー済";
  color: #007bf5;
}

.u_detail .detail_related_job_area .detail_related_job_card .content_list_title_check input[type="checkbox"] {
  display: none;
}

@media (min-width: 1001px) {
  .detail_related_job_area .detail_related_job_area_swiper {
    position: relative;
    max-width: 1360px;
    margin: 0 auto;
    margin-bottom: 0;
    padding-bottom: 103px;
    background-color: #f8f8f8;
  }

  .detail_related_job_area .swiper {
    max-width: 1200px;
    margin: 0 auto;
  }

  .detail_related_job_area .detail_related_job_card {
    gap: 40px;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row-reverse;
    padding: 40px;
    transition: 0.3s;
  }

  .detail_related_job_area .detail_related_job_card .detail_related_job_img {
    flex-shrink: 0;
    display: block;
    margin-bottom: 0;
    width: 360px;
    max-width: 360px;
  }

  .detail_related_job_area .detail_related_job_card .detail_related_job_info {
    flex: 1;
    display: block;
  }

  .detail_related_job_area .detail_related_job_card .detail_related_job_ttl {
    font-size: 20px;
  }

  .detail_related_job_area .detail_related_job_card .detail_related_job_meta {
    font-size: 16px;
    display: grid;
    grid-template-columns: auto 1fr;
    justify-items: start;
  }

  .detail_related_job_area .detail_related_job_card .detail_related_job_meta li {
    gap: 16px;
  }

  .detail_related_job_area .detail_related_job_card .detail_related_job_meta li .detail_related_job_meta_ttl {
    padding-left: 28px;
  }

  .detail_related_job_area .detail_related_job_card .detail_related_job_meta li:nth-child(n + 2) {
    margin-top: 0;
    max-width: 500px;
    width: auto;
  }

  .detail_related_job_area .detail_related_job_card .detail_related_job_meta li:nth-child(n + 3) {
    margin-top: 15px;
  }

  .detail_related_job_area .detail_related_job_card .detail_related_job_meta li:nth-child(1),
  .detail_related_job_area .detail_related_job_card .detail_related_job_meta li:nth-child(3) {
    max-width: 16em;
    width: 16em;
  }

  .detail_related_job_area .detail_related_job_card .detail_related_job_meta li .detail_related_job_meta_data {
    display: inline-block;
  }

  .detail_related_job_area .detail_related_job_card .detail_related_job_btnbox {
    margin-top: 30px;
    justify-content: flex-start;
  }

  .detail_related_job_area .detail_related_job_card .detail_related_job_btnbox li a {
    height: 50px;
    line-height: 48px;
    font-size: 16px;
    transition: 0.3s;
  }

  .detail_related_job_area .swiper-button-prev,
  .detail_related_job_area .swiper-button-next {
    top: calc(50% - 60px) !important;
    background-color: #333333b2;
    width: 60px;
    height: 60px;
    border-radius: 50%;
  }

  .detail_related_job_area .swiper-button-prev {
    left: 0 !important;
    padding-left: 5px;
  }

  .detail_related_job_area .swiper-button-prev::before,
  .detail_related_job_area .swiper-button-next::before {
    width: 16px;
    height: 16px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
  }

  .detail_related_job_area .swiper-pagination {
    bottom: 30px !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    padding: 4px 0;
  }

  .u_detail .detail_related_job_area .detail_related_job_card .content_list_title_check,
  .u_detail .detail_related_job_area .detail_related_job_card a.content_list_title_check {
    top: 21px;
    right: 21px;
    transition: 0.3s;
  }

  .u_detail .detail_related_job_area .detail_related_job_card .content_list_title_check:hover,
  .u_detail .detail_related_job_area .detail_related_job_card a.content_list_title_check:hover {
    opacity: 0.7;
  }
}

@media (max-width: 1000px) {
  .detail_related_job_area .detail_related_job_area_swiper {
    padding-bottom: 58px !important;
  }

  .detail_related_job_area .swiper-pagination {
    bottom: 30px !important;
  }
}
