/* ==========================================================================
   求める人物 / 募集要項 / 応募〜入社の流れ / よくあるご質問 / クロージング
   ========================================================================== */

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

.lx-persona {
  position: relative;
  height: 1219px;
  margin-top: -45px;
  background: var(--lx-gray);
  clip-path: polygon(0 0, 100% 67.72px, 100% 100%, 0 100%);
}

.lx-persona__photo {
  position: absolute;
  top: -7px;
  left: -109px;
  width: 630px;
  height: 344px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(187deg, #000 11.5%, transparent 79%);
  mask-image: linear-gradient(187deg, #000 11.5%, transparent 79%);
}

.lx-persona__photo img {
  position: absolute;
  top: -22.3px;
  left: 18px;
  width: 620.5px;
  height: 352px;
  object-fit: cover;
}

.lx-persona__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.lx-persona__band-red {
  top: 68px;
  left: 0;
  width: 176px;
  height: 53px;
}

.lx-persona__band-white {
  top: 78px;
  left: 175px;
  width: 62px;
}

.lx-persona__title-main {
  top: 77px;
  left: 25px;
  font-size: 48px;
}

.lx-persona__title-sub {
  top: 78px;
  left: 181px;
}

.lx-persona__lead {
  position: absolute;
  top: 158px;
  left: 20px;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.4;
  isolation: isolate;
}

/* Figma：同じ文字を白で重ね、10pxぼかして不透明度70%にした光彩 */
.lx-persona__lead::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  color: var(--lx-white);
  opacity: 0.7;
  filter: blur(10px);
}

.lx-persona__text {
  position: absolute;
  top: 219px;
  left: 20px;
  width: 350px;
  font-size: 14px;
  line-height: 1.6;
}

.lx-persona__text-gap {
  margin-top: 14px;
}

.lx-persona__box {
  position: absolute;
  left: 20px;
  width: 350px;
  padding: 19px 0 0 45px;
  border: 1px solid var(--lx-red);
  background: var(--lx-white);
}

.lx-persona__box.is-fit {
  top: 397px;
  height: 339px;
}

.lx-persona__box.is-unfit {
  top: 763px;
  height: 274px;
  border-color: var(--lx-black);
}

.lx-persona__box h3 {
  margin: 0 0 23px -45px;
  padding-bottom: 8px;
  background: url("../images/persona-bar-red.svg") center bottom 0 / 49px 3px no-repeat;
  font-family: "Inter", var(--lx-font-sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
}

.lx-persona__box.is-unfit h3 {
  background-image: url("../images/persona-bar-black.svg");
}

.lx-persona__box ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 275px;
}

.lx-persona__box li {
  position: relative;
  padding-left: 23px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
}

.lx-persona__box li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 16px;
  height: 16px;
  background: url("../images/check-red.svg") center / contain no-repeat;
}

.lx-persona__box.is-unfit li {
  font-weight: 500;
}

.lx-persona__box.is-unfit li::before {
  background-image: url("../images/check-black.svg");
}

.lx-persona__box strong {
  color: var(--lx-red);
  font-weight: 800;
}

.lx-persona__closing {
  position: absolute;
  top: 1065px;
  left: 0;
  width: 390px;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.lx-persona__closing p:first-child {
  line-height: 26px;
}

.lx-persona__closing-strong {
  margin-top: 18px;
  line-height: 1.5;
}

/* 2行目の下に赤い点線 */
.lx-persona__closing-strong::after {
  content: "";
  display: block;
  width: 253px;
  height: 2px;
  margin: 8px auto 0;
  background: url("../images/persona-underline.svg") center / 253px 2px no-repeat;
}

/* --- 募集要項 ---------------------------------------------------------- */

.lx-requirements {
  position: relative;
  padding: 84px 20px 40px;
  background: var(--lx-gray);
}

.lx-requirements__band {
  top: 31px;
  left: 0;
  width: 244px;
}

.lx-requirements__title {
  top: 32px;
  left: 20px;
}

.lx-requirements__card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0;
  padding: 24px 20px;
  border-radius: 8px;
  background: var(--lx-white);
  box-shadow: var(--lx-shadow);
}

.lx-requirements__row dt {
  padding: 4px 14px;
  background: var(--lx-pink);
  font-size: 17px;
  font-weight: 600;
  line-height: 26px;
}

.lx-requirements__row dd {
  margin-top: 6px;
  padding: 2px 14px;
  font-size: 15px;
  line-height: 1.6;
}

.lx-requirements__row ul {
  padding-left: 22.5px;
  list-style: disc;
}

/* Figma（ヒラギノ）の小さめの黒丸に合わせる */
.lx-requirements__row li::marker {
  font-size: 0.7em;
}

.lx-requirements__note {
  margin-top: 24px;
}

.lx-requirements__sub {
  font-weight: 700;
}

.lx-requirements__row ul + .lx-requirements__sub {
  margin-top: 8px;
}

/* --- 応募〜入社の流れ -------------------------------------------------- */

.lx-flow {
  position: relative;
  padding: 97px 20px 40px;
  background: var(--lx-gray);
}

.lx-flow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/flow-bg.webp") center / 100% 100% no-repeat;
  opacity: 0.7;
}

.lx-flow__band-white {
  top: 31px;
  left: 0;
  width: 243px;
}

.lx-flow__band-red {
  top: 31px;
  left: 166px;
  width: 77px;
}

.lx-flow__title-sub {
  top: 32px;
  left: 20px;
}

.lx-flow__title-main {
  top: 30px;
  left: 171px;
  font-size: 32px;
}

.lx-flow__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 53px;
}

.lx-flow__step {
  position: relative;
  min-height: 229px;
  padding: 93px 16px 20px;
  background: var(--lx-white);
}

.lx-flow__step.is-short {
  min-height: 205px;
}

/* カード間の下向きシェブロン */
.lx-flow__step:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -37.5px;
  left: 167px;
  width: 16px;
  height: 25.5px;
  background: url("../images/chevron-red-sm.svg") center / contain no-repeat;
}

.lx-flow__no {
  position: absolute;
  top: 0;
  left: 0;
  width: 87px;
  height: 37px;
  padding: 2px 0 0 9px;
  color: var(--lx-white);
  font-size: 13.85px;
  line-height: 30px;
  white-space: nowrap;
  isolation: isolate;
}

.lx-flow__no::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../images/step-label.svg") 0 0 / 100% 100% no-repeat;
  transform: scaleX(-1);
}

.lx-flow__no span {
  font-size: 22px;
}

.lx-flow__icon {
  position: absolute;
}

.lx-flow__icon--line { top: 37px; left: 231px; }
.lx-flow__icon--interview { top: 37px; left: 234px; }
.lx-flow__icon--car { top: 36px; left: 226px; transform: scaleX(-1); }
.lx-flow__icon--handle { top: 45px; left: 221px; }
.lx-flow__icon--checklist { top: 37px; left: 280px; }
.lx-flow__icon--delivery { top: 28px; left: 244px; transform: scaleX(-1); }

.lx-flow__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
}

.lx-flow__body {
  width: 323px;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
}

.lx-flow__step:nth-child(1) .lx-flow__body {
  width: 318px;
}

.lx-flow__step:nth-child(2) .lx-flow__body p:last-child {
  font-feature-settings: "palt";
}

/* --- よくあるご質問 ---------------------------------------------------- */

.lx-faq {
  position: relative;
  padding: 89px 20px 40px;
  background: var(--lx-white);
}

.lx-faq__band {
  top: 31px;
  left: 0;
  width: 244px;
}

.lx-faq__title {
  top: 32px;
  left: 20px;
  color: var(--lx-white);
}

.lx-faq__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0;
}

.lx-faq__item {
  padding-bottom: 24px;
  background: url("../images/faq-divider.svg") left bottom / 350px 2px no-repeat;
}

.lx-faq__item dt,
.lx-faq__item dd {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.lx-faq__item dt {
  font-size: 17px;
  line-height: 26px;
}

.lx-faq__item dd {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 400;
  line-height: 26px;
}

.lx-faq__item dd div {
  width: 298px;
}

.lx-faq__mark {
  flex-shrink: 0;
  width: 36px;
  height: 18px;
  margin-top: 4px;
  border-radius: 100px;
  background: var(--lx-red);
  color: var(--lx-white);
  font-size: 14px;
  line-height: 18px;
  text-align: center;
}

.lx-faq__item dd .lx-faq__mark {
  border: 1px solid var(--lx-black);
  background: var(--lx-white);
  color: var(--lx-black);
  line-height: 16px;
}

/* --- クロージング写真 -------------------------------------------------- */

.lx-closing {
  position: relative;
  height: 309px;
  margin-top: -13px;
  background: url("../images/closing-frame.svg") -23px 0 / 436px 309px no-repeat;
}

.lx-closing__photo {
  position: absolute;
  top: 6px;
  left: -23px;
  width: 436px;
  height: 303px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 50px, 100% 100%, 0 100%);
}

.lx-closing__photo img {
  position: absolute;
  top: -3px;
  left: -69px;
  width: 529px;
  height: 298px;
  object-fit: cover;
  object-position: bottom;
}

.lx-closing__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(-44.66deg, rgba(34, 34, 34, 0.83) 14.2%, rgba(34, 34, 34, 0.111) 64.8%);
}

.lx-closing__catch {
  position: absolute;
  top: 201px;
  left: 195px;
  color: var(--lx-white);
  font-size: 27px;
  font-weight: 800;
  line-height: 1.4;
  white-space: nowrap;
}

/* --- 最終CTA・フッター ------------------------------------------------- */

.lx-final {
  position: relative;
  padding: 40px 20px 43px;
  background: var(--lx-red);
  color: var(--lx-white);
}

.lx-final__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.lx-footer {
  padding: 16px 8px;
  background: var(--lx-black);
  color: var(--lx-white);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.03em;
  text-align: center;
}

.lx-footer small {
  font-size: inherit;
}
