/********************/
/* 掲載中の募集案件 */
/********************/
#job {
  padding: 64px 0px 48px 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  overflow: hidden;

  background-image: url("/wp-content/themes/base/assets/img/lp-craftsmen_v2/job_background_sp.jpg");
  background-position-x: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#job .sub-title {
  position: relative;

  color: white;
  font-weight: 900;
  font-size: 20px;
  line-height: 140%;
  text-align: center;
  letter-spacing: 0.2em;
  font-style: italic;
}

#job > .sub-title::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: -32px;
  height: 100%;
  width: 18px;

  background-image: url("/wp-content/themes/base/assets/img/lp-craftsmen_v2/job_leftbar.svg");
  background-position-x: center;
  background-size: contain;
  background-repeat: no-repeat;
}

#job > .sub-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: -44px;
  height: 100%;
  width: 18px;

  background-image: url("/wp-content/themes/base/assets/img/lp-craftsmen_v2/job_rightbar.svg");
  background-position-x: center;
  background-size: contain;
  background-repeat: no-repeat;
}

#job > .title {
  margin-top: 16px;

  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.2em;

  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 24px;

  background: #2db7af;
  color: #fff;
  transform: matrix(1, 0, -0.17, 0.98, 0, 0);
}

#job > .description {
  margin-top: 16px;
  color: #fff;

  font-weight: 900;
  font-size: 14px;
  line-height: 200%;
  display: flex;
  align-items: center;
  text-align: center;
  letter-spacing: 0.05em;
}

#job .job-image {
  width: 150vw;
  margin-inline: calc(50% - 50vw);
  max-width: none;
  margin-top: 38px;
}

#job > .cta-button {
  margin-top: 24px;
}

@media screen and (min-width: 768px) {
  #job {
    padding: 151px 0;
    background-image: url("/wp-content/themes/base/assets/img/lp-craftsmen_v2/job_background_pc.jpg");
  }

  #job .sub-title {
    font-size: 36px;
  }

  #job > .sub-title::before {
    bottom: -8px;
    left: -36px;
    height: 100%;
    width: 18px;
  }

  #job > .sub-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: -24px;
    height: 100%;
    width: 18px;
  }

  #job > .title {
    font-size: 48px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  #job > .description {
    margin-top: 40px;
    font-size: 20px;
  }

  #job .job-image {
    margin-top: 80px;
    max-width: 1120px;
    width: 100%;
    margin: 66px auto 0 auto;
  }

  #job > .cta-button {
    margin-top: 32px;
  }
}

#job .cases {
  margin-top: 24px;
  width: 100%;
}

#job .cases .case {
  padding: 0;
  background: white;
  box-shadow: 0px 16px 32px -4px rgba(12, 12, 13, 0.1),
    0px 4px 4px -4px rgba(12, 12, 13, 0.05);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  height: auto;

  /* min-height: 440px; */
}

#job .cases .case .swiper-slide-item {
  height: 100%;
}

#job .case .image-banner {
  width: 100%;
  max-width: none;
}
#job .case .operator-icon {
  position: absolute;
  right: 12px;
  top: -20px;
  width: 40px;
  height: 40px;
}

#job .case .title {
  position: relative;
  font-weight: bold;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: 0.1em;
  text-align: center;

  color: #ffffff;
  background: #2fc6bd;
  padding: 8px 8px;
}

#job .case .salary-container {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 8px;
  padding: 9px 16px 20px 16px;
}

#job .salary-container .label {
  padding: 4px 0;
  border: 1px solid #333;
  writing-mode: vertical-lr;

  font-size: 12px;
  font-weight: bold;
  line-height: 140%;
  letter-spacing: 0.12em;
}

#job .salary-container .salary-numbers {
  display: flex;
  align-items: baseline;
  font-size: 15px;
  letter-spacing: 0.14em;
  font-weight: bold;
}

#job .salary-container .number {
  font-size: 28px;
  letter-spacing: 0.14em;
  margin-right: -0.14em;
  font-weight: bold;
  color: #ff0000;
  white-space: nowrap;
}

#job .salary-container .unit {
  font-size: 15px;
  letter-spacing: 0.14em;
  font-weight: bold;
}

#job .case .description-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
  width: 100%;
}

#job .case .description-container .title {
  font-size: 15px;
  letter-spacing: 0.2em;
  font-weight: bold;
  color: white;
  padding: 3px 16px;
  min-height: 29px;
  width: 70%;
  background-color: #2db7af;
  text-align: center;
  border-radius: 5px;
}

#job .case .description {
  font-weight: 800;
  font-size: 12px;
  line-height: 160%;
  letter-spacing: 0.2em;
  text-align: center;

  padding: 22px 18px;
  width: 100%;
  background: #eaeaea;
  border-radius: 5px;
  margin-top: -16px;
}

#job .case .tag-containers {
  padding: 16px 0 28px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 8px;
  row-gap: 8px;

  width: 90%;
  margin: 0 auto;
}

#job .case .tag-container {
  width: 48%;
  text-align: center;
}

#job .case .tag-container .tag {
  font-weight: 800;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  letter-spacing: 0.05em;

  padding: 2px 6px;
  background: #ffd74e;
  border-radius: 4px;
}

#job .case .tag-container .tag-content {
  font-weight: 700;
  font-size: 12px;
  line-height: 180%;
  letter-spacing: 0.2em;
}

#job .showmore {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;

  /* margin-top: 40px; */
  margin: 40px calc(50% - 50vw) 0 calc(50% - 50vw);
  width: 100vw;
  padding: 20% 0;

  background-image: url("/wp-content/themes/base/assets/img/lp-craftsmen_v2/cases_showmore.png");
  background-position-x: center;
  background-size: cover;
  background-repeat: no-repeat;

  aspect-ratio: 335/ 390;
}

#job .showmore .title {
  font-weight: 900;
  font-size: 20px;
  line-height: 200%;
  color: #ffffff;
  text-align: center;
}

#job .showmore .description {
  margin-top: 8px;

  font-weight: 900;
  font-size: 13px;
  line-height: 200%;
  letter-spacing: 0.05em;
  color: #ffffff;
}

#job .showmore .cta-link {
  margin-top: 27px;

  font-weight: 900;
  font-size: 13px;
  line-height: 200%;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-decoration: underline;
}

#job {
  position: relative;
}

#job .floating-image-container {
  position: relative;
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
}

#job .floating {
  display: none;
  position: absolute;
  width: min(11vw, 146px);
  height: min(11vw, 146px);
}

#job .image01 {
  top: -32px;
  left: 0;
}

#job .image02 {
  top: 146px;
  left: 70px;
}

#job .image03 {
  top: -32px;
  right: 0;
}

#job .image04 {
  top: 146px;
  right: 70px;
}

@media screen and (max-width: 1024px) {
  #job .floating-image-container {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  #job .floating-image-container {
    display: flex;
    flex-direction: column;
  }

  #job .floating {
    position: relative;
    inset: 0;
    width: 78px;
    height: 78px;
    margin-bottom: 12px;
  }

  #job .floating-image-container .top {
    display: flex;
    justify-content: center;
    gap: 22px;
  }

  #job .floating-image-container .bottom {
    margin-top: -39px;
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
}

