/*
 * 求人詳細（労務カスタマーサポート／労務DX/AIコーディネーター）共通スタイル。
 * デザイン基準幅: 1920px（Figma「採用TOP_労務カスタマーサポート」）
 */

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

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

/* 共通: セクション見出し（英字 + 日本語） */

.jd-eyebrow {
  margin: 0;
  font-family: var(--jd-font-yu);
  font-weight: 700;
  font-size: clamp(17px, 1.25vw, 24px);
  line-height: 1.9;
  color: var(--jd-red-deep);
}

.jd-heading {
  margin: clamp(6px, 0.6vw, 12px) 0 0;
  font-family: var(--jd-font-yu);
  font-weight: 700;
  font-size: clamp(26px, 2.1vw, 40px);
  line-height: 1.15;
  color: #000;
}

/* ---------------------------------- 求める人物像 */

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

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

.jd-person__intro {
  margin-top: clamp(48px, 5.1vw, 98px);
}

.jd-person__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
  margin-top: clamp(32px, 3.3vw, 63px);
}

.jd-person__cards li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(96px, 6.6vw, 127px);
  padding: 16px 14px;
  background: #fff;
  border: 1px solid var(--jd-red);
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  font-family: var(--jd-font-yu);
  font-weight: 700;
  font-size: clamp(16px, 1.15vw, 22px);
  line-height: 1.55;
  color: #000;
}

.jd-person__cards {
  list-style: none;
  padding-left: 0;
}

/* ---------------------------------- 全幅写真 */

.jd-photo {
 /**margin-top: clamp(80px, 8.4vw, 162px);**/
}

.jd-photo img {
  display: block;
  width: 100%;
  height: clamp(320px, 41.5vw, 797px);
  object-fit: cover;
}

/* ---------------------------------- ミッション */

.jd-mission {
  /*background: var(--jd-cream);*/
  padding: clamp(60px, 5.9vw, 114px) 0 clamp(56px, 5.5vw, 106px);
	    margin: clamp(80px, 8.3vw, 160px) auto 0;
}

.jd-mission__inner {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(32px, 3vw, 60px);
}

.jd-mission__text {
  width: min(580px, 100%);
}

.jd-mission__body {
  margin: clamp(32px, 3.2vw, 61px) 0 0;
  font-family: var(--jd-font-yu);
  font-weight: 700;
  font-size: clamp(16px, 1.15vw, 22px);
  line-height: 1.8;
  color: #000;
}

.jd-mission__mark {
  flex: 0 0 min(408px, 30%);
}

.jd-mission__mark img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------------------------------- 就業ルール */

.jd-rule {
  width: min(1200px, 92%);
  margin: clamp(80px, 7.9vw, 151px) auto 0;
}

.jd-rule__table {
  margin: clamp(24px, 2.1vw, 41px) 0 0;
}

.jd-rule__row {
  display: flex;
  padding: 20px;
  margin-top: 21px;
  border-bottom: 1px solid var(--jd-red-deep);
  font-size: clamp(14px, 0.85vw, 16px);
  color: #000;
}

.jd-rule__row:first-child {
  margin-top: 0;
  border-top: 1px solid var(--jd-red-deep);
}

.jd-rule__row dt {
  flex: 0 0 clamp(96px, 7.3vw, 140px);
  font-family: var(--jd-font-yu);
  font-weight: 700;
  line-height: 2;
}

.jd-rule__row dd {
  margin: 0;
  font-family: var(--jd-font-yu);
  font-weight: 600;
  line-height: 2;
}

/* ---------------------------------- 業務内容 */

.jd-work {
  width: min(1200px, 92%);
  margin: clamp(80px, 8.3vw, 160px) auto 0;
}

.jd-work__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 40px;
  margin-top: clamp(28px, 2.5vw, 48px);
}

.jd-work__card {
  padding: clamp(16px, 1.5vw, 26px) clamp(24px, 2.1vw, 40px) clamp(24px, 1.9vw, 36px);
  background: #fafafa;
  border-radius: 6px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

.jd-work__card h3 {
  margin: 0;
  font-family: var(--jd-font-yu);
  font-weight: 700;
  font-size: clamp(22px, 1.25vw, 24px);
  line-height: 1.65;
  color: var(--jd-red-deep);
}

.jd-work__card p {
  margin: clamp(16px, 0.75vw, 20px) 0 0;
  font-family: var(--jd-font-yu);
  font-weight: 700;
  font-size: clamp(16px, 0.85vw, 18px);
  line-height: 2.1;
  color: #000;
}

/* ---------------------------------- 仕事の醍醐味 / この仕事で得られるもの */

.jd-features {
    display: grid;
    gap: clamp(80px, 6.3vw, 140px);
    margin-top: clamp(64px, 7vw, 134px);
    padding: clamp(60px, 8.2vw, 130px) 0;
    background: #f8f8f8;
}

.jd-feature {
  display: flex;
  align-items: center;
  gap: clamp(40px, 7.3vw, 140px);
}

.jd-feature--photo-right {
  justify-content: flex-end;
}

.jd-feature__photo {
  display: block;
  flex: 0 0 49%;
  width: 49%;
  aspect-ratio: 940 / 679;
  height: auto;
  object-fit: cover;
}

.jd-feature--photo-right .jd-feature__photo {
  object-position: center 69%;
}

.jd-feature--photo-left .jd-feature__photo {
  object-position: 56% center;
}

.jd-feature__text {
  width: min(580px, 40%);
  flex-shrink: 0;
}

.jd-feature__heading {
  margin: 0;
  font-family: var(--jd-font-yu);
  font-weight: 700;
  font-size: clamp(26px, 2.3vw, 44px);
  line-height: 2;
  color: var(--jd-red-deep);
}

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

.jd-feature__body p {
  margin: 0;
}

.jd-feature__body p + p {
  margin-top: 2.1em;
}

/* 「この仕事で得られるもの」箇条書きバリエーション */
.jd-feature__body--list {
  font-size: clamp(14px, 1.25vw, 24px);
  line-height: 1.9;
}

/* ---------------------------------- 入社後のSTEP（労務DX/AIコーディネーター） */

.jd-career {
  background: var(--jd-cream);
  padding: clamp(48px, 4.2vw, 80px) 0;
}

.jd-career__inner {
  width: min(1327px, 92%);
  margin: 0 auto;
}

.jd-career__lead {
  margin: clamp(16px, 1.2vw, 22px) 0 0;
  font-family: var(--jd-font-yu);
  font-weight: 700;
  font-size: clamp(16px, 0.85vw, 20px);
  line-height: 2.1;
  color: #000;
}

.jd-career__steps {
  margin-top: clamp(40px, 4.1vw, 79px);
}

.jd-step {
  padding: clamp(24px, 2.5vw, 48px);
  background: #fff;
  border: 1px solid var(--jd-red-deep);
}

.jd-step--02 {
  border-color: #26988a;
}

.jd-step__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 2vw, 40px);
}

.jd-step__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(12px, 1.25vw, 24px);
}

.jd-step__badge {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--jd-red-deep);
  font-weight: 800;
  font-size: clamp(16px, 1.05vw, 20px);
  line-height: 1;
  color: #fff;
}

.jd-step--02 .jd-step__badge {
  background: #26988a;
}

.jd-step__time {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: clamp(15px, 1.05vw, 20px);
  color: var(--jd-red-deep);
}

.jd-step--02 .jd-step__time {
  color: #26988a;
}

.jd-step__time img {
  width: 24px;
  height: 24px;
}

.jd-step__title {
  margin: clamp(16px, 1.7vw, 32px) 0 0;
  font-family: var(--jd-font-noto);
  font-weight: 600;
  font-size: clamp(24px, 1.9vw, 36px);
  line-height: 1.4;
  color: #000;
}

.jd-step__note {
  margin: clamp(16px, 1.8vw, 34px) 0 0;
  font-weight: 500;
  font-size: clamp(16px, 1.15vw, 22px);
  line-height: 1.6;
  color: #000;
}

.jd-step--02 .jd-step__note {
  font-size: clamp(14px, 0.85vw, 16px);
}

.jd-step__photo {
  display: block;
  flex: 0 0 min(417px, 34%);
  width: min(417px, 34%);
  aspect-ratio: 417 / 218;
  object-fit: cover;
}

.jd-step__tools {
  margin-top: clamp(20px, 1.7vw, 32px);
  display: grid;
  gap: clamp(20px, 1.7vw, 32px);
}

.jd-step__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 700;
  font-size: clamp(15px, 0.95vw, 18px);
  color: var(--jd-red-deep);
}

.jd-step__label--dark {
  color: #121212;
}

.jd-step__label::before {
  content: "";
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background: currentColor;
}

.jd-step__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.jd-step__tags li {
  padding: 8px 16px;
  border-radius: 8px;
  background: #783a3a;
  font-size: clamp(14px, 0.85vw, 16px);
  color: #fff;
}

.jd-step__tags li.jd-step__tag--plain {
  padding-left: 0;
  padding-right: 0;
  background: none;
  color: #545454;
}

.jd-step--02 .jd-step__tags li {
  background: #26988a;
  font-size: clamp(16px, 1.25vw, 24px);
}

.jd-step__chat {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 16px 0 0;
  font-weight: 600;
  font-size: clamp(16px, 1.05vw, 20px);
  color: #000;
}

.jd-step__chat span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.jd-step__chat span::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background: #040404;
}

.jd-step__chat .jd-step__chat-tail {
  font-weight: 500;
}

.jd-step__chat .jd-step__chat-tail::before {
  display: none;
}

.jd-step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(80px, 6.25vw, 120px);
}

.jd-step-arrow span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--jd-red-deep);
}

.jd-step-arrow img {
  width: 32px;
  height: 32px;
}

.jd-career + .jd-req {
  margin-top: clamp(64px, 6.7vw, 128px);
}

/* ---------------------------------- 応募条件 / 雇用条件 */

.jd-req {
    width: min(1200px, 92%);
    margin: clamp(60px, 7.6vw, 110px) auto 0;
    padding: clamp(32px, 3.5vw, 68px) clamp(24px, 3.3vw, 63px) clamp(32px, 3.3vw, 64px);
    background: #fff;
    border: 1px solid var(--jd-red);
    border-radius: 20px;
}

.jd-req + .jd-req {
  margin-top: 27px;
}

.jd-req__heading {
  margin: 0;
  font-family: var(--jd-font-yu);
  font-weight: 700;
  font-size: clamp(26px, 2.1vw, 40px);
  line-height: 1.15;
  color: var(--jd-red-deep);
}

.jd-req__body {
  margin: clamp(16px, 2vw, 39px) 0 0;
  font-size: clamp(15px, 0.95vw, 18px);
  line-height: 1.6;
  color: #000;
}

.jd-req__body p {
  margin: 0;
}

.jd-req__body p + p {
  margin-top: 1.6em;
}

/* ---------------------------------- 応募ボタン */

.jd-apply {
  display: flex;
  justify-content: center;
  margin: clamp(32px, 2.9vw, 56px) auto clamp(80px, 6vw, 162px);
  width: min(1200px, 92%);
}

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

.jd-apply__button:hover {
  opacity: 0.85;
}

.jd-apply__button::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;
}

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

@media (max-width: 900px) {
  .jd-person__cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }
.jd-feature__body {
    font-size: clamp(14px, 0.85vw, 16px);
}
  .jd-mission__inner {
    flex-direction: column;
    align-items: center;
  }

  .jd-mission__text {
    width: 100%;
  }

  .jd-mission__mark {
    flex: none;
    width: min(280px, 60%);
  }

  .jd-rule__row {
    flex-direction: column;
    gap: 4px;
    padding: 14px 8px;
    margin-top: 12px;
  }

  .jd-work__cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .jd-features {
    gap: 48px;
  }

  .jd-feature {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  /* 写真が左（DOM順: 写真→文章）の行は、SPでは文章を上・写真を下に */
  .jd-feature--photo-left {
    flex-direction: column-reverse;
  }

  .jd-feature__photo {
    flex: none;
    width: 100%;
    aspect-ratio: 3 / 2;
  }

  .jd-feature__text {
    width: 92%;
    margin: 0 auto;
  }

  .jd-step__head {
    flex-direction: column;
    align-items: stretch;
  }

  .jd-step__photo {
    flex: none;
    width: 100%;
    margin-top: 20px;
  }
	.jd-rule__row dt {
    flex: 0 0 clamp(32px, 7.3vw, 140px);
    font-family: var(--jd-font-yu);
    font-weight: 700;
    line-height: 2;
}
	.jd-mission {
    /* background: var(--jd-cream); */
    margin: clamp(40px, 8.3vw, 160px) auto 0;
}
}
