/*
 * 募集職種（jobs）下層ページ専用スタイル。
 * デザイン基準幅: 1920px（Figma「採用TOP_募集職種」）
 */

.jobs-page {
  --jb-red: #811c21;
  --jb-red-deep: #751b1e;
  --jb-teal: #257f78;
  --jb-ink: #333;
  --jb-font-yu: "Yu Gothic", YuGothic, "游ゴシック体", "游ゴシック", "Noto Sans JP", sans-serif;
  --jb-font-noto: "Noto Sans JP", sans-serif;
  font-family: var(--jb-font-noto);
  color: var(--jb-ink);
  overflow-x: clip;
}

.jobs-page img {
  max-width: 100%;
}

/* ---------------------------------- intro + job buttons */

.jb-intro {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding-top: clamp(48px, 4.4vw, 85px);
  text-align: center;
}

.jb-intro__heading {
  margin: 0;
  font-family: var(--jb-font-yu);
  font-weight: 700;
  font-size: clamp(26px, 2.3vw, 44px);
  line-height: 2;
  color: #000;
}

.jb-intro__lead {
  margin: clamp(20px, 2vw, 39px) 0 0;
  font-family: var(--jb-font-yu);
  font-weight: 700;
  font-size: clamp(14px, 0.85vw, 16px);
  line-height: 2.1;
  color: #000;
}

.jb-intro__buttons {
  display: flex;
  gap: clamp(20px, 2.1vw, 40px);
  margin-top: clamp(48px, 4.2vw, 80px);
}

.jb-intro__buttons a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: clamp(84px, 6.9vw, 132px);
  padding: 0 clamp(40px, 3vw, 56px);
  background: var(--jb-teal);
  border: 1px solid var(--jb-teal);
  font-family: var(--jb-font-yu);
  font-weight: 700;
  font-size: clamp(16px, 1.25vw, 24px);
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.jb-intro__buttons a:hover {
  opacity: 0.85;
}

.jb-intro__buttons a::after {
  content: "";
  position: absolute;
  right: clamp(14px, 1.15vw, 22px);
  bottom: clamp(24px, 3.2vw, 62px);
  width: 29px;
  height: 8px;
  background: url("../images/jobs/arrow_white.svg") no-repeat center / contain;
}

.jb-intro__divider {
  width: min(1200px, 100%);
  margin: clamp(48px, 4.2vw, 80px) auto 0;
  border: 0;
  border-top: 1px solid var(--jb-red-deep);
}

/* ---------------------------------- 募集背景 */

.jb-background {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: clamp(48px, 4.2vw, 80px) 0 0;
}

.jb-background__heading {
  margin: 0;
  font-family: var(--jb-font-yu);
  font-weight: 700;
  font-size: clamp(26px, 2.3vw, 44px);
  line-height: 2;
  color: #000;
  text-align: center;
}

.jb-background__lead {
  margin: clamp(20px, 2.1vw, 40px) 0 0;
  font-family: var(--jb-font-yu);
  font-weight: 700;
  font-size: clamp(14px, 0.85vw, 16px);
  line-height: 2.1;
  color: #000;
  text-align: center;
}

.jb-background__items {
    width: min(800px, 100%);
    margin: clamp(50px, 5.1vw, 120px) auto 0;
    display: grid;
    gap: clamp(24px, 2.1vw, 40px);
}

.jb-item__heading {
  margin: 0;
  padding-bottom: clamp(8px, 0.7vw, 14px);
  border-bottom: 2px solid #811d21;
  font-family: var(--jb-font-yu);
  font-weight: 700;
  font-size: clamp(24px, 2.1vw, 40px);
  line-height: 1.65;
  color: var(--jb-red-deep);
}

.jb-item__text {
  margin: clamp(16px, 1.5vw, 29px) 0 0;
  font-family: var(--jb-font-yu);
  font-weight: 700;
  font-size: clamp(14px, 0.85vw, 16px);
  line-height: 2.1;
  color: #000;
}

.jb-background__logo {
  width: min(480px, 60%);
  margin: clamp(40px, 3.3vw, 64px) auto 0;
}

.jb-background__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.jb-background + .recruit-links {
  margin-top: clamp(80px, 8vw, 154px);
}

/* ---------------------------------- responsive */

@media (max-width: 900px) {
  .jb-intro__buttons {
    flex-direction: column;
  }

  .jb-intro__buttons a {
    width: 100%;
  }
}
