/* ========================================
   業種一覧：リード文
   ======================================== */
.p-jobs-lead {
  position: relative;
  background-color: #fff;
}
.p-jobs-lead__text {
  margin: 0;
  font-weight: 500;
  color: #444;
  text-align: center;
}
.p-jobs-lead__text--sub {
  color: #181818;
  font-weight: 700;
}

/* 職種マップ */
.p-jobs-map {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.p-jobs-map__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  text-align: center;
  color: #fff;
  line-height: 1.4;
}
.p-jobs-map__item--red {
  background-color: #d71e1e;
}
.p-jobs-map__item--blue {
  background-color: #3d87de;
}

@media print, screen and (width >= 768px) {
  .p-jobs-lead {
    padding: 100px 0 80px;
  }
  .p-jobs-lead__text {
    margin-bottom: 20px;
    font-size: 0.2rem;
    line-height: 1.8;
  }
  .p-jobs-lead__text--sub {
    margin-top: 30px;
    margin-bottom: 60px;
    font-size: 0.22rem;
  }
  .p-jobs-map {
    gap: 20px;
  }
  .p-jobs-map__item {
    width: 160px;
    height: 160px;
    font-size: 0.2rem;
  }
}
@media screen and (width < 768px) {
  .p-jobs-lead {
    padding: 0.5rem 0 0.6rem;
  }
  .p-jobs-lead__text {
    margin-bottom: 0.12rem;
    font-size: 0.17rem;
    line-height: 1.8;
  }
  .p-jobs-lead__text--sub {
    margin-top: 0.2rem;
    margin-bottom: 0.4rem;
    font-size: 0.18rem;
  }
  .p-jobs-map {
    gap: 0.12rem;
  }
  .p-jobs-map__item {
    width: 1.3rem;
    height: 1.3rem;
    font-size: 0.17rem;
  }
}


/* ========================================
   業種一覧：各セクション
   ======================================== */
.p-jobs-section {
  position: relative;
  background-color: #fff;
}
.p-jobs-section--alt {
  background-color: rgba(215, 30, 30, 0.03);
}

.p-jobs-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.p-jobs-item--reverse {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}
.p-jobs-item__image {
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.p-jobs-item__figure {
  margin: 0;
  overflow: hidden;
}
.p-jobs-item__figure img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.p-jobs-item__body {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.p-jobs-item__title {
  position: relative;
  margin: 0;
  font-weight: 700;
  color: #181818;
  line-height: 1.3;
}
.p-jobs-item__title::before {
  content: "";
  display: block;
  background-color: #d71e1e;
  border-radius: 2px;
}
.p-jobs-item--reverse .p-jobs-item__title::before {
  background-color: #3d87de;
}
.p-jobs-item__text {
  margin: 0;
  font-weight: 500;
  color: #444;
  line-height: 1.8;
}
.p-jobs-item__button {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background-color: #d71e1e;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 40px;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
  letter-spacing: 0.05em;
}
.p-jobs-item__button--blue {
  background-color: #3d87de;
}
.p-jobs-item__button:hover {
  opacity: 0.8;
}

@media print, screen and (width >= 768px) {
  .p-jobs-section {
    padding: 100px 0;
  }
  .p-jobs-item {
    gap: 80px;
  }
  .p-jobs-item__image {
    width: 480px;
  }
  .p-jobs-item__figure {
    height: 320px;
  }
  .p-jobs-item__title {
    margin-bottom: 30px;
    padding-left: 24px;
    font-size: 0.45rem;
  }
  .p-jobs-item__title::before {
    position: absolute;
    top: 6px;
    left: 0;
    width: 8px;
    height: 100%;
  }
  .p-jobs-item__text {
    margin-bottom: 36px;
    font-size: 0.2rem;
  }
  .p-jobs-item__button {
    min-width: 240px;
    padding: 14px 32px;
    font-size: 0.2rem;
  }
}
@media screen and (768px <= width < 1080px) {
  .p-jobs-item {
    gap: 40px;
  }
  .p-jobs-item__image {
    width: 360px;
  }
}
@media screen and (width < 768px) {
  .p-jobs-section {
    padding: 0.55rem 0 0.6rem;
  }
  .p-jobs-item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 0.3rem;
  }
  .p-jobs-item--reverse {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .p-jobs-item__image {
    width: 100%;
  }
  .p-jobs-item__figure {
    height: 2.0rem;
  }
  .p-jobs-item__title {
    margin-bottom: 0.2rem;
    padding-left: 0.18rem;
    font-size: 0.3rem;
  }
  .p-jobs-item__title::before {
    position: absolute;
    top: 0.04rem;
    left: 0;
    width: 0.06rem;
    height: 100%;
  }
  .p-jobs-item__text {
    margin-bottom: 0.28rem;
    font-size: 0.17rem;
  }
  .p-jobs-item__button {
    min-width: 2.4rem;
    padding: 0.12rem 0.28rem;
    font-size: 0.18rem;
  }
}


/* ========================================
   p-recruit-hero（募集要項ページと共通）
   ======================================== */
.p-recruit-hero {
  position: relative;
  background-color: #fff;
  overflow: hidden;
}
.p-recruit-hero::before {
  content: "";
  position: absolute;
  right: 0;
  pointer-events: none;
  background: url("../img/recruit/interview/decoration_introduce_01.svg") center/100% auto no-repeat;
}

@media print, screen and (width >= 768px) {
  .p-recruit-hero {
    padding: 100px 0 200px;
  }
  .p-recruit-hero::before {
    top: 115px;
    width: 394px;
    height: 381px;
  }
}
@media screen and (width < 768px) {
  .p-recruit-hero {
    padding: 0.5rem 0 0.4rem;
  }
  .p-recruit-hero::before {
    top: 0.08rem;
    width: 1.12rem;
    height: 1.14rem;
    background-image: url("../img/recruit/interview/sp/decoration_introduce_01.svg");
  }
}