:root {
  --my-ink: #282b2d;
  --my-base: #f1ece9;
  --my-border: #cbc8c6;
  --my-muted: #6e6b65;
}

.my-recruit-positions {
  width: min(1240px, calc(100% - 96px));
  margin: 0 auto;
  padding: 100px 0 40px;
  color: var(--my-ink);
  position: relative;
  z-index: 3;
}

.my-recruit-positions__head {
  margin-bottom: 48px;
}

.my-recruit-positions__head > p {
  margin-bottom: 18px;
  color: var(--my-muted);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.my-recruit-positions__head h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.03em;
}

.my-recruit-positions__lead {
  margin-top: 20px;
  max-width: 42em;
  font-size: 15px;
  line-height: 2;
  color: #444;
}

.my-recruit-positions__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--my-border);
  border-bottom: 1px solid var(--my-border);
}

.my-recruit-card__visual {
  height: 240px;
  margin: 12px 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
}

.my-recruit-card__visual img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

body.recruiting .recruit_fv_mv {
  overflow: hidden;
}
body.recruiting .recruit_fv_mv picture,
body.recruiting .recruit_fv_mv img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
  object-position: center;
}

.my-recruit-apply .l_btn {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.my-recruit-card {
  min-width: 0;
  padding: 36px 32px 48px;
  border-right: 1px solid var(--my-border);
  background: rgba(255, 255, 255, 0.28);
}

.my-recruit-card:last-child {
  border-right: 0;
}

.my-recruit-card__no {
  color: var(--my-muted);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.my-recruit-card__en {
  margin-top: 18px;
  color: var(--my-muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.my-recruit-card h3 {
  margin-top: 10px;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  line-height: 1.5;
}

.my-recruit-card p {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.9;
  color: #3a3a3a;
}

.my-recruit-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.my-recruit-card__tags span {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--my-border);
  background: #fff;
  color: #555;
  font-size: 12px;
  line-height: 1.4;
}

.my-recruit-apply {
  width: min(1240px, calc(100% - 96px));
  margin: 0 auto;
  padding: 48px 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.my-recruit-apply p {
  max-width: 36em;
  font-size: 15px;
  line-height: 1.9;
  color: #444;
}

@media (max-width: 1023px) {
  .my-recruit-positions,
  .my-recruit-apply {
    width: calc(100% - 48px);
  }

  .my-recruit-positions {
    padding: 72px 0 24px;
  }

  .my-recruit-positions__grid {
    grid-template-columns: 1fr;
  }

  .my-recruit-card {
    border-right: 0;
    border-bottom: 1px solid var(--my-border);
    padding: 28px 8px 36px;
  }

  .my-recruit-card:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .my-recruit-positions,
  .my-recruit-apply {
    width: calc(100% - 40px);
  }
}

/* Recruit CV：1カラムでも横幅を確保し、指定の2行で読めるようにする */
@media (min-width: 1024px) {
  body.recruiting .m_cv_item {
    width: 100%;
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 4rem;
  }
}
body.recruiting .m_cv_itemTxt {
  text-align: center;
  max-width: 32em;
  margin-left: auto;
  margin-right: auto;
}
body.recruiting .m_cv_itemTxt p {
  line-height: 2;
  letter-spacing: 0.04em;
}
@media (max-width: 1023px) {
  body.recruiting .m_cv_itemTxt {
    max-width: 20em;
  }
}
