/* jobs */
.jobs-lead {
  padding: 48px 20px 24px;
}

.jobs-lead__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 5px;
  align-items: center;
}

.jobs-lead__person img {
  width: 100%;
  height: auto;
}

.jobs-lead__catch img {
  width: min(100%, 720px);
  height: auto;
  margin-bottom: 32px;
}

.jobs-lead__catch p {
  width: min(100%, 560px);
  margin: 0;
  font-size: 14px;
  line-height: 2;
  text-align: center;

}

.jobs-role__title {
  position: relative;
  margin: 0 0 16px;
  font-size: 26px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-weight: 900;
  line-height: 1.3;
  padding-left: 24px;
  border-left: none;
}

/* 左アクセント：上半分オレンジ / 下半分黒 */
.jobs-role__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  bottom: 0.12em;
  width: 5px;
  background: linear-gradient(to bottom,
      var(--c-orange) 0 20%,
      var(--c-ink) 20% 100%);
}

.jobs-role>p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: #333;
}

.jobs-role>p small {
  font-size: 13px;
  color: #666;
}

.info-box {
  margin-top: 24px;
  background: #f3f3f3;
  padding: 20px 22px;
  border-radius: 8px;
}

.info-box p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.8;
}

.info-box p:last-child {
  margin: 0;
}

.jobs-entry {
  padding: 0 20px 48px;
}

.jobs-entry__inner {
  max-width: 100%;
  width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.jobs-entry__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  background: var(--c-white);
  border: 2px solid var(--c-ink);
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 900;
  color: var(--c-ink);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.jobs-entry__link:hover {
  background: var(--c-ink);
  color: var(--c-white);
}

@media (max-width: 1023px) {
  .jobs-lead__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .jobs-lead__person {
    max-width: 140px;
    order: 3;
  }

  .jobs-entry__inner {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .jobs-lead__catch p {
    width: 100%;
    text-align: left;
  }

  .jobs-lead__catch p br {
    display: block;
  }

}