@charset "UTF-8";
/* ============================================================
   03_採用情報_pc / 1440x3425
   ============================================================ */

.work { height: 1759px; padding-top: 100px; }   /* デザイン y=442 */
.work__inner {
  width: var(--design-w);
  margin-inline: auto;
  padding-left: 120px;
  display: flex;
  gap: 78px;
}

/* 縦書きの見出し */
.work__label { display: flex; gap: 16px; height: 525px; flex: none; color: var(--ink); }
.work__label-ja {
  writing-mode: vertical-rl;
  font-size: 32px;
  line-height: 32px;
  font-weight: 500;
  letter-spacing: .09em;
}
.work__label-en {
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--ff-en);
  font-size: 22px;
  line-height: 22px;
  color: var(--green-mid);
}
.work__label-en .label__dot { width: 8px; height: 8px; }
.work__br { display: none; }   /* SP のみ改行 */

.work__list { width: 1053px; }
.work-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 218px;
}
/* 各項目の 52px 下に区切り線（Figma: 項目 → gap52 → Line → gap52 → 次の項目） */
.work-item + .work-item { margin-top: 104px; }
.work-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 52px);
  height: 1px;
  background: #f2e6cd;
}

.work-item__body { width: 657px; }
.work-item__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 70px;
  padding: 12px 20px 16px;
  background: var(--green);
  border-radius: 5px;
  color: #fff;
  font-size: 42px;
  line-height: 42px;
  font-weight: 700;
}
.work-item__no { font-family: var(--ff-en); font-size: 22px; line-height: 22px; font-weight: 400; }
.work-item__text {
  margin-top: 32px;
  font-size: 18px;
  line-height: 30px;
  font-weight: 400;
  color: #000;
}

.work-item__photo { flex: none; width: 356px; height: 218px; border-radius: 10px; }
.crop--work-1 > img { left: -28px; top: -23px; width: 412px; height: 275px; }
.crop--work-2 > img { left: -18px; top:  -9px; width: 392px; height: 261px; }
.crop--work-3 > img { left:  -6px; top: -11px; width: 369px; height: 246px; }
.crop--work-4 > img { left: -15px; top: -14px; width: 371px; height: 280px; }
.crop--work-5 > img { left: -24px; top: -11px; width: 403px; height: 268px; }

/* ============================================================
   採用サイトへのバナー（Figma: Frame 1321317892 / 1200x250）
   ============================================================ */
.recruit-cta { height: 440px; padding-top: 50px; }   /* デザイン y=2151 */
.recruit-cta__inner {
  position: relative;
  display: block;
  width: var(--container);
  height: 250px;
  margin-inline: auto;
  border-radius: 10px;
  overflow: hidden;
  background: var(--green-mid) url("../img/green-paper.jpg") center / cover no-repeat;
  color: #fff;
  transition: filter .25s ease;
}
.recruit-cta__inner:hover { filter: brightness(1.06); }

/* 背面に薄く流れる英字 */
.recruit-cta__bg-text {
  position: absolute;
  font-family: var(--ff-en);
  font-size: 90px;
  line-height: 90px;
  font-weight: 400;
  color: #fff;
  opacity: .2;
  white-space: nowrap;
  pointer-events: none;
}
.recruit-cta__bg-text--1 { left: 602px; top: -13px; }
.recruit-cta__bg-text--2 { left: 760px; top: 173px; }

/* 左側の白地に写真3枚 */
.recruit-cta__photos {
  position: absolute;
  left: 0; top: 0;
  width: 603px; height: 250px;
  background: #fff;
  display: flex;
}
.recruit-cta__photos .crop { width: 201px; height: 250px; }
.crop--rec-cta-1 > img { left: -59px; top: -108px; width: 306px; height: 380px; }
.crop--rec-cta-2 > img { left: -38px; top:  -29px; width: 258px; height: 292px; }
.crop--rec-cta-3 > img { left: -100px; top: -42px; width: 609px; height: 406px; }

.recruit-cta__link {
  position: absolute;
  left: 705px; top: 95px;
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 38px;
  line-height: 38px;
  font-weight: 900;
}
.recruit-cta__ico {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #fff;
  color: #06982d;
  display: grid; place-items: center;
  flex: none;
  transition: transform .25s ease;
}
.recruit-cta__inner:hover .recruit-cta__ico { transform: translate(3px, -3px); }

/* ============================================================
   SP（760px 以下 / 03_採用情報）
   ============================================================ */
@media (max-width: 760px) {
  /* カートピアジャンボの仕事を知る */
  .work { height: auto; padding: 40px 0 24px; }
  .work__inner { width: auto; padding: 0 16px; flex-direction: column; gap: 24px; }
  /* 見出し：英字ラベルを上、和文 2 行を下に中央揃え */
  .work__label { flex-direction: column; align-items: center; height: auto; gap: 8px; text-align: center; }
  .work__label-ja { order: 2; writing-mode: horizontal-tb; font-size: 22px; line-height: 33px; }
  .work__label-en { order: 1; writing-mode: horizontal-tb; font-size: 14px; line-height: 14px; gap: 8px; }
  .work__label-en .label__dot { width: 6px; height: 6px; }
  .work__br { display: inline; }

  .work__list { width: 100%; }
  .work-item { flex-direction: column; align-items: stretch; gap: 22px; min-height: 0; }
  .work-item + .work-item { margin-top: 48px; }
  .work-item::after { top: calc(100% + 23px); }
  .work-item__body { width: 100%; }
  .work-item__chip { min-height: 46px; gap: 6px; padding: 10px 12px 12px; font-size: 20px; line-height: 20px; }
  .work-item__no { font-size: 12px; line-height: 12px; }
  .work-item__text { margin-top: 16px; font-size: 14px; line-height: 25px; }
  /* PC と同じ比率・トリミング（356×218 の枠に対する位置を % 換算） */
  .work-item__photo { width: 100%; height: auto; aspect-ratio: 356 / 218; }
  .crop--work-1 > img { left: -7.9%; top: -10.6%; width: 115.7%; height: 126.1%; }
  .crop--work-2 > img { left: -5.1%; top:  -4.1%; width: 110.1%; height: 119.7%; }
  .crop--work-3 > img { left: -1.7%; top:  -5.0%; width: 103.7%; height: 112.8%; }
  .crop--work-4 > img { left: -4.2%; top:  -6.4%; width: 104.2%; height: 128.4%; transform: scaleX(-1); }   /* SP デザインは左右反転 */
  .crop--work-5 > img { left: -6.7%; top:  -5.0%; width: 113.2%; height: 122.9%; }

  /* 採用サイトへのバナー */
  .recruit-cta { height: auto; padding: 20px 0 40px; }
  .recruit-cta__inner { width: auto; height: auto; margin-inline: 16px; padding: 20px 16px 24px; }
  .recruit-cta__bg-text { display: none; }
  .recruit-cta__photos {
    position: static;
    width: auto;
    height: 140px;
    margin: 0 -16px;
    border-radius: 0;
  }
  .recruit-cta__photos .crop { flex: 1; width: auto; height: 140px; }
  .crop--rec-cta-1 > img, .crop--rec-cta-2 > img, .crop--rec-cta-3 > img { left: 0; top: 0; width: 100%; height: 100%; }
  .recruit-cta__link {
    position: static;
    margin-top: 20px;
    justify-content: center;
    gap: 12px;
    font-size: 20px;
    line-height: 20px;
  }
  .recruit-cta__ico { width: 40px; height: 40px; }
}