/* ==========================================================================
   # Recruit
   ========================================================================== */

.recruit-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: "Figtree", sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #1b5da8;
}

.recruit-section-label span {
  width: 6px;
  height: 6px;
  background-color: #1b5da8;
  border-radius: 50%;
}

.recruit-section-label--white,
.recruit-section-label--white span {
  color: #fff;
  background-color: transparent;
}

.recruit-section-label--white span {
  background-color: #fff;
}

.recruit-section-label--center {
  display: flex;
  justify-content: center;
}

.recruit-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}

.recruit-head__lead {
  margin: 0;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.02em;
}

.recruit-head--white .recruit-head__lead {
  color: #fff;
}

/* FV */

.recruit-fv {
  --recruit-fv-left: calc((100% - var(--nk-header-width)) / 2);
  position: relative;
  color: #fff;
  background: linear-gradient(120deg, #185baa 0%, #2c7fa8 48%, #6eb83f 100%);
}

.recruit-fv-inner {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1440 / 977;
}

.recruit-fv-blur {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.recruit-fv-motif {
  position: absolute;
  z-index: 1;
  height: auto;
  max-width: none;
  pointer-events: none;
}

.recruit-fv-motif--1 {
  left: calc(-180 / 1440 * 100%);
  top: calc(-80 / 977 * 100%);
  width: calc(448 / 1440 * 100%);
}

.recruit-fv-motif--2 {
  left: calc(-20 / 1440 * 100%);
  top: calc(620 / 977 * 100%);
  width: calc(309 / 1440 * 100%);
}

.recruit-fv-visual {
  position: absolute;
  left: max(
    37.5%,
    calc(var(--recruit-fv-left) + min(529px, calc(529 / 1440 * 100%)))
  );
  right: auto;
  top: calc(57 / 977 * 100%);
  z-index: 5;
  width: calc(930 / 1440 * 100%);
  max-width: none;
  aspect-ratio: 930 / 825;
  pointer-events: none;
}

.recruit-fv-visual__svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.recruit-fv-tools {
  position: absolute;
  left: calc(var(--recruit-fv-left) + min(430px, calc(430 / 1440 * 100%)));
  top: calc(250 / 977 * 100%);
  z-index: 6;
  width: min(180px, calc(180 / 1440 * 100%));
  max-width: none;
  height: auto;
  pointer-events: none;
}

.recruit-fv-crumb {
  position: absolute;
  left: var(--recruit-fv-left);
  top: calc(136 / 977 * 100%);
  z-index: 4;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.recruit-fv-label {
  position: absolute;
  left: var(--recruit-fv-left);
  top: calc(281 / 977 * 100%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Figtree", sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.recruit-fv-label span {
  width: 8px;
  height: 8px;
  background-color: #fff;
  border-radius: 50%;
}

.recruit-fv-copy {
  position: absolute;
  left: calc(var(--recruit-fv-left) + min(113px, calc(113 / 1440 * 100%)));
  top: calc(356 / 977 * 100%);
  z-index: 5;
  width: min(363px, calc(363 / 1440 * 100%));
  margin: 0;
}

.recruit-fv-copy img {
  width: 100%;
  height: auto;
}

.recruit-fv-lead {
  position: absolute;
  left: var(--recruit-fv-left);
  top: calc(607 / 977 * 100%);
  z-index: 4;
  font-size: 16px;
  line-height: 1.8;
}

/* FV：画面の高さに収める（デザインは 1440×977。高さが足りないときは全体を高さに合わせて縮める） */
@media (min-width: 769px) {
  .recruit-fv {
    /* FV の高さと、デザイン 1px あたりの大きさ */
    --recruit-fv-h: max(560px, min(calc(100vw * 977 / 1440), 100vh));
    --recruit-fv-h: max(560px, min(calc(100vw * 977 / 1440), 100svh));
    --recruit-fv-u: calc(var(--recruit-fv-h) / 977);
    /* 「Recruit」・リード文は、キャッチコピー画像の左端にそろえる */
    --recruit-fv-copy-left: calc(var(--recruit-fv-left) + min(113px, calc(113 / 1440 * 100%)));
  }

  .recruit-fv-inner {
    height: var(--recruit-fv-h);
    aspect-ratio: auto;
  }

  .recruit-fv-visual {
    top: calc(57 * var(--recruit-fv-u));
    width: calc(930 * var(--recruit-fv-u));
  }

  .recruit-fv-tools {
    width: min(180px, calc(180 * var(--recruit-fv-u)));
  }

  .recruit-fv-copy {
    left: var(--recruit-fv-copy-left);
    width: min(363px, calc(363 * var(--recruit-fv-u)));
  }

  .recruit-fv-label,
  .recruit-fv-lead {
    left: var(--recruit-fv-copy-left);
  }

  /* パンくずはヘッダーのすぐ下に */
  .recruit-fv-crumb {
    top: calc(30px + clamp(48px, 34.62px + 3.57vw, 86px) + 14px);
  }
}

@media (max-width: 768px) {
  /* スマホも画面の高さを超えないようにする */
  .recruit-fv-inner {
    height: min(calc(100vw * 720 / 375), 100vh);
    height: min(calc(100vw * 720 / 375), 100svh);
    aspect-ratio: auto;
  }
}

/* Mission */

.recruit-mission {
  position: relative;
  z-index: 1;
  margin-top: -55px;
  margin-bottom: -55px;
}

.recruit-mission__panel {
  position: relative;
  overflow: hidden;
  border-radius: 55px;
  background-color: #fff;
}

.recruit-mission__panel {
  position: relative;
  overflow: hidden;
  border-radius: 55px;
  background-color: #fff;
}

.recruit-mission__bg {
  position: absolute;
  inset: -80px;
  z-index: 0;
  pointer-events: none;
}

.recruit-mission__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit-mission__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 600px);
  gap: 16px;
  align-items: start;
  padding-block: 120px;
}

.recruit-mission__label {
  display: inline-block;
  margin-bottom: 0;
  font-family: "Figtree", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0;
  white-space: nowrap;
  background: linear-gradient(90deg, #185baa 0%, #348daa 49.038%, #6eb83f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.recruit-mission__heading {
  margin: 0 0 70px;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 900;
  line-height: 1.84;
  letter-spacing: 0.037em;
  color: #1b5da8;
}

.recruit-mission__can {
  background: linear-gradient(90deg, #185baa 0%, #348daa 49.038%, #6eb83f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.recruit-mission__text {
  display: grid;
  gap: 34px;
  max-width: 549px;
  font-size: 17px;
  line-height: 2;
  letter-spacing: 0.02em;
  color: #333;
}

.recruit-mission__media {
  position: relative;
  width: 100%;
  margin-top: 57px;
  aspect-ratio: 600 / 722;
  justify-self: end;
}

.recruit-mission__image {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
}

.recruit-mission__image--top {
  top: 0;
  left: 17.37%;
  z-index: 3;
  width: 34.93%;
}

.recruit-mission__image--right {
  top: 19.67%;
  left: 63%;
  z-index: 2;
  width: 37%;
}

.recruit-mission__image--bottom {
  top: 45.15%;
  left: 0;
  z-index: 1;
  width: 76.5%;
}

/* Connect */

.recruit-connect {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  color: #fff;
}

.recruit-connect__bg {
  position: absolute;
  inset: 0;
  isolation: isolate;
}

.recruit-connect__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.recruit-connect__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #1b5da8;
  mix-blend-mode: multiply;
}

.recruit-connect__inner {
  --connect-diagram-width: 700px;
  --connect-gap: 32px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--connect-gap);
  padding-block: 100px;
}

.recruit-connect__copy {
  flex: 1 1 auto;
  width: calc(100% - var(--connect-diagram-width) - var(--connect-gap));
  min-width: 0;
}

.recruit-connect__heading {
  margin-bottom: 28px;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.45;
}

.recruit-connect__text {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.75;
}

.recruit-connect__diagram {
  position: relative;
  flex: 0 1 auto;
  width: var(--connect-diagram-width);
  max-width: 100%;
}

.recruit-connect__diagram-img {
  display: block;
  width: 100%;
  height: auto;
}

.recruit-connect__list {
  display: none;
}

.recruit-connect__item-name {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.recruit-connect__item-copy {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

/* Data */

.recruit-data {
  padding-block: 100px;
  background-color: #fff;
  border-radius: 55px 55px 0 0;
  overflow: hidden;
}

.recruit-data__heading {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 40px);
}

.recruit-data__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
}

.recruit-data-card {
  grid-column: span 2;
  min-height: 260px;
  padding: 28px 28px 24px;
  background-color: #ecf1f5;
  border-radius: 10px;
  overflow: hidden;
}

.recruit-data-card--wide {
  grid-column: span 3;
}

.recruit-data-card__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.recruit-data-card__label img {
  width: 9px;
  height: 9px;
}

.recruit-data-card__body {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  margin-top: 28px;
}

.recruit-data-card--wide .recruit-data-card__body {
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.recruit-data-card__content {
  flex-shrink: 0;
}

.recruit-data-card__value {
  margin: 0;
  font-family: "Figtree", sans-serif;
  font-size: 92px;
  font-weight: 700;
  line-height: 1;
  color: #1b5da8;
  white-space: nowrap;
}

.recruit-data-card__value--sm {
  font-size: 72px;
}

.recruit-data-card__value span,
.recruit-data-card__value small {
  margin-left: 6px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #333;
}

.recruit-data-card__unit {
  font-family: "Figtree", sans-serif !important;
  font-size: 22px !important;
}

.recruit-data-card__note {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.75;
}

.recruit-data-card__thumb {
  display: block;
  flex-shrink: 0;
}

.recruit-data-card__thumb--employees {
  width: 122px;
  height: 96px;
}

.recruit-data-card__thumb--paidleave {
  width: 127px;
  height: 119px;
}

.recruit-data-card__thumb--beginner {
  width: 77px;
  height: 121px;
}

.recruit-data-card__thumb--overtime {
  width: 106px;
  height: 96px;
}

.recruit-data-card__thumb--holiday {
  width: 97px;
  height: 99px;
}

.recruit-data-card__icon {
  display: flex;
  flex-shrink: 0;
  align-items: flex-end;
  gap: 8px;
}

.recruit-data-card__icon img {
  display: block;
}

.recruit-data-card__icon-wreath {
  width: 44px;
  height: 103px;
}

.recruit-data-card__icon-building {
  width: 78px;
  height: 129px;
}

.recruit-data-card__icon--sales img {
  width: 196px;
  height: 144px;
}

.recruit-data-card__ikukyu {
  display: grid;
  flex-shrink: 0;
  width: 87px;
  height: 143px;
}

.recruit-data-card__ikukyu-circle {
  grid-area: 1 / 1;
  align-self: center;
  justify-self: center;
  width: 76px;
  height: 76px;
}

.recruit-data-card__ikukyu-person {
  grid-area: 1 / 1;
  width: 87px;
  height: 143px;
}

/* Job */

.recruit-job {
  padding: 100px;
  background-color: #ecf1f5;
  background-image: url("../images/recruit/background-grid.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 55px 55px 0 0;
  overflow: hidden;
}

.recruit-job__head {
  margin-bottom: 48px;
  text-align: center;
}

.recruit-job__head .recruit-mission__label {
  display: block;
}

.recruit-job__heading {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 40px);
  text-align: center;
}

.recruit-job__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.recruit-job-card__role {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: calc(1.3em + 1.3 * 20px);
  margin-bottom: 16px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: #1b5da8;
}

.recruit-job-card__role::before,
.recruit-career__title::before {
  content: "";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #036eb8 50%, #71bc40 50%);
}

.recruit-job-card__role::before {
  margin-top: 9px;
}

.recruit-job-card__role-body {
  display: flex;
  flex-direction: column;
}

.recruit-job-card__role-sub {
  font-size: 20px;
}

.recruit-job-card__visual {
  position: relative;
  margin-bottom: 24px;
}

.recruit-job-card__catch {
  position: absolute;
  left: 0;
  top: 22%;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin: 0;
}

.recruit-job-card__catch span {
  display: inline-block;
  width: fit-content;
  padding: 8px 14px;
  background-color: #71BC40;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

/* 人物と背景の図形（土台）の上に、部品とドットを重ねる */
.recruit-job-card__media {
  position: relative;
  width: 515px;
  max-width: 100%;
  aspect-ratio: 515 / 471;
  margin-left: auto;
}

.recruit-job-card__media--engineer {
  width: 471px;
  aspect-ratio: 471 / 472;
}

.recruit-job-card__base {
  display: block;
  width: 100%;
  height: auto;
}

.recruit-job-card__part,
.recruit-job-card__dot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  width: var(--w);
  max-width: none;
  height: auto;
}

.recruit-job-card__dot {
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: #53b1f2;
}

.recruit-job-card__text {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
}

.recruit-job-card__link {
  font-size: 16px;
  font-weight: 700;
  border-bottom: 1px solid #1B5DA8;
  color: #1B5DA8;
}

button.recruit-job-card__link {
  font-family: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

/* Talk */

.recruit-talk__inner {
  position: relative;
  margin-top: 80px;
}

.recruit-talk__panel {
  position: relative;
  overflow: hidden;
  min-height: 402px;
  padding: 60px 40px 32px 134px;
  background-color: #1b5da8;
  background-image: url("../images/recruit/speech-bubble/cross_talk_background.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  color: #fff;
}

.recruit-talk__body {
  position: relative;
  z-index: 4;
  max-width: 364px;
}

.recruit-talk__en {
  margin: 0 0 4px -11px;
  font-family: "Figtree", sans-serif;
  font-size: 60px;
  font-weight: 700;
  font-style: italic;
  line-height: 70px;
  letter-spacing: 0;
}

.recruit-talk__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.32em;
}

.recruit-talk__times {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.recruit-talk__text {
  margin: 0 0 28px;
  max-width: 341px;
  font-size: 15px;
  line-height: 28px;
  letter-spacing: 0.02em;
}

.recruit-talk__btn {
  background-color: #333;
  color: #fff;
}

.recruit-talk__btn::after {
  background-color: #fff;
}

.recruit-talk__media {
  position: absolute;
  right: -3.6%;
  bottom: -8.2%;
  z-index: 4;
  width: 62.07%;
  pointer-events: none;
}

.recruit-talk__media img {
  display: block;
  width: 100%;
  height: auto;
}

.recruit-talk__bubbles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.recruit-talk__bubble {
  position: absolute;
  height: auto;
}

.recruit-talk__bubble--1 {
  left: -1%;
  top: 23.4%;
  width: 11.1%;
}

.recruit-talk__bubble--2 {
  left: 44.1%;
  top: 32.1%;
  width: 7.2%;
}

.recruit-talk__bubble--3 {
  left: 71.7%;
  top: 9.4%;
  width: 9.4%;
}

.recruit-talk__bubble--4 {
  left: 81.3%;
  top: 26.6%;
  width: 2.95%;
}

.recruit-talk__bubble--5 {
  left: 94.7%;
  top: 52.6%;
  width: 4.55%;
}

/* Career */

.recruit-career {
  padding-block: 160px;
}

/* 見出しの下に区切り線 */
.recruit-head--divider {
  padding-bottom: 32px;
  border-bottom: 1px solid #9b9fa2;
  margin-bottom: 64px;
}

.recruit-career__heading {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 40px);
}

.recruit-career__block + .recruit-career__block {
  margin-top: 48px;
}

.recruit-career__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 8px;
  row-gap: 4px;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #333;
}

.recruit-career__title::before {
  width: 34px;
  height: 34px;
  margin-right: 0;
}

.recruit-career__label {
  flex: 0 1 auto;
  min-width: 0;
}

/* 注記は見出しの右に小さく並べる */
.recruit-career__note {
  flex: 0 0 auto;
  margin-left: 16px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  color: #333;
}

.recruit-career__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.recruit-career__list li {
  position: relative;
  min-height: 290px;
  padding: 30px 40px 32px;
  background-color: #ecf1f5;
  border-radius: 10px;
}

.recruit-career__list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -22px;
  z-index: 1;
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-right: 0;
  border-bottom: 16px solid transparent;
  border-left: 22px solid #ecf1f5;
  transform: translateY(-50%);
}

.recruit-career__term {
  display: block;
  width: fit-content;
  margin: 0 auto 16px;
  padding: 4px 20px;
  background-color: #fff;
  color: #1b5da8;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  border: 0.8px solid #1b5da8;
  border-radius: 30px;
}

.recruit-career__name {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #1c5ca8;
  text-align: center;
}

.recruit-career__desc {
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.006em;
}

/* Welfare */

.recruit-welfare {
  padding-inline: calc(50 / 1440 * 100%);
  color: #fff;
}

/* 画面幅いっぱいではなく、左右に余白のある角丸パネル */
.recruit-welfare__panel {
  padding-block: 120px;
  border-radius: 20px;
  background: linear-gradient(120deg, #185baa 0%, #2c7fa8 48%, #6eb83f 100%);
}

.recruit-welfare__heading {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 40px);
}

.recruit-welfare__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.recruit-welfare__list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 290px;
  padding: 28px 24px;
  background-color: #fff;
  color: #333;
  border-radius: 10px;
  text-align: center;
}

.recruit-welfare__list img {
  width: 88px;
  height: 88px;
  margin-bottom: 28px;
  object-fit: contain;
}

.recruit-welfare__list h3 {
  margin-bottom: 16px;
  font-size: 18px;
  color: #1b5da8;
  letter-spacing: 0.04em;
}

.recruit-welfare__list p {
  font-size: 15px;
  line-height: 1.75;
  text-align: left;
}

/* SNS */

.recruit-sns {
  padding-block: 100px;
}

.recruit-sns__heading {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 40px);
}

.recruit-sns__grid {
  display: grid;
  grid-template-columns: 560fr 540fr;
  gap: 100px;
  align-items: start;
}

.recruit-sns-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  margin-bottom: 20px;
  color: #333;
  transition: opacity 0.3s;
}

.recruit-sns-card__head:hover {
  opacity: 0.7;
}

.recruit-sns-card__icon {
  width: 24px;
  height: auto;
}

.recruit-sns-card--x .recruit-sns-card__icon {
  width: 18px;
}

.recruit-sns-card__name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
}

.recruit-sns-card__id {
  display: block;
  color: #8a8f93;
  font-size: 12px;
  line-height: 16px;
}

.recruit-sns-card__feed {
  width: 100%;
}

/* Instagram は 3 列 */
.recruit-sns-card__feed #sbi_images {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px !important;
  width: 100% !important;
  padding: 0 !important;
}

.recruit-sns-card__feed #sbi_images .sbi_item {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.recruit-sns-card__feed .sb_instagram_header,
.recruit-sns-card__feed #sbi_load {
  display: none !important;
}

/* X（Twitter）の埋め込み枠 */
.recruit-x {
  overflow: hidden;
  border: 1px solid #d2d6db;
  border-radius: 8px;
  background-color: #fff;
}

.recruit-x__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 16px 16px;
  border-bottom: 1px solid #d2d6db;
}

.recruit-x__title {
  color: #0f1419;
  font-size: 15px;
  font-weight: 700;
}

.recruit-x__follow {
  flex-shrink: 0;
  padding: 7px 18px;
  border-radius: 999px;
  background-color: #0f1419;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: opacity 0.3s;
}

.recruit-x__follow:hover {
  opacity: 0.8;
}

.recruit-x__timeline {
  min-height: 480px;
  max-height: 480px;
  overflow-y: auto;
}

/* ウィジェットを読み込めないときはリンクを表示 */
.recruit-x__timeline > .twitter-timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  color: #1b5da8;
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .recruit-sns__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.nk-plugin-missing {
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #d4dde5;
  color: #333;
  font-size: 14px;
  line-height: 1.7;
}

/* Entry */

.recruit-entry {
  padding: 100px 0 120px;
  background-color: #ecf1f5;
  background-image: radial-gradient(#d4dde5 1px, transparent 1px);
  background-size: 6px 6px;
}

.recruit-entry__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
}

.recruit-entry .c-top-section-title__main {
  font-size: clamp(48px, 7vw, 82px);
}

.recruit-entry__lead {
  margin-top: 16px;
  line-height: 1.8;
}

.recruit-entry__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.recruit-entry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 200px;
  padding: 28px 32px 64px;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
}


.recruit-entry-card--new {
  background-color: #1b5da8;
}

.recruit-entry-card--mid {
  background-color: #6eb83f;
}

.recruit-entry-card__en {
  font-family: "Figtree", sans-serif;
  font-size: 14px;
  line-height: 24px;
}

.recruit-entry-card__ja {
  margin: 4px 0 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.recruit-entry-card__text {
  font-size: 14px;
  line-height: 1.6;
}

.recruit-entry-card__icon {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 2px;
}

.recruit-entry-card__icon img {
  display: block;
  width: 16px;
  height: 12px;
}

/* Job modal */

.recruit-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  overflow-y: auto;
  padding: 40px 20px 60px;
}

.recruit-modal.is-open {
  display: block;
}

.recruit-modal__backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(105, 105, 105, 0.8);
}

.recruit-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.recruit-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #1b5da8;
  border-radius: 50%;
}

.recruit-modal__close img {
  width: 18px;
  height: 18px;
  transform: rotate(45deg);
}

.recruit-modal__inner {
  padding: 80px 100px 0;
}

.recruit-modal__en {
  margin-bottom: 8px;
  font-family: "Figtree", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: #71bc40;
  text-align: center;
}

.recruit-modal__title {
  margin-bottom: 24px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #1b5da8;
  text-align: center;
}

.recruit-modal__hero {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 998 / 440;
  object-fit: cover;
  background-color: #ecf1f5;
  border-radius: 10px;
}

.recruit-modal__catch {
  display: grid;
  gap: 12px;
  margin: 40px 0 0;
  padding-bottom: 40px;
  border-bottom: 1px solid #d9d9d9;
}

.recruit-modal__catch span {
  display: inline-block;
  width: fit-content;
  padding: 4px 12px;
  background-color: #71bc40;
  color: #fff;
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.4;
}

.recruit-modal__heading {
  margin-bottom: 20px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1b5da8;
}

.recruit-modal__heading--center {
  text-align: center;
}

.recruit-modal__work {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 430px);
  gap: 40px;
  align-items: start;
  margin-top: 48px;
}

.recruit-modal__work-body p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.75;
}

.recruit-modal__note {
  padding: 20px 24px;
  background-color: #ecf1f5;
  border-radius: 10px;
}

.recruit-modal__note p {
  margin-bottom: 0;
}

.recruit-modal__note p + p {
  margin-top: 4px;
}

.recruit-modal__note-list {
  display: grid;
  gap: 6px;
  font-size: 14px;
  line-height: 1.43;
  letter-spacing: 0.03em;
}

.recruit-modal__note-list li {
  display: flex;
}

.recruit-modal__note-list li::before {
  content: "・";
}

.recruit-modal__work-image,
.recruit-modal__edu-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 430 / 275;
  object-fit: cover;
  background-color: #ecf1f5;
  border-radius: 10px;
}

.recruit-modal__weapons {
  margin-top: 80px;
  padding-bottom: 80px;
}

.recruit-modal__weapon-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.recruit-modal__weapon-list li {
  overflow: hidden;
  background-color: #e3f2d9;
  border-radius: 10px;
}

.recruit-modal__weapon-list img {
  display: block;
  width: 100%;
  height: 173px;
  object-fit: cover;
  background-color: #d9d9d9;
}

.recruit-modal__weapon-body {
  padding: 20px 24px 28px;
}

.recruit-modal__weapon-body h4 {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}

.recruit-modal__weapon-body p {
  font-size: 15px;
  line-height: 1.73;
}

.recruit-modal__env {
  margin-top: 64px;
  margin-bottom: 80px;
  padding: 40px 48px 44px;
  background-color: #e3f2d9;
  border-radius: 10px;
}

.recruit-modal__env-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
}

.recruit-modal__env-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.recruit-modal__env-list li::before {
  content: "";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: url("../images/recruit/modal/check.svg") center / contain no-repeat;
}

.recruit-modal__voice {
  padding: 48px 100px 72px;
  background-color: #ecf1f5;
  background-image: url("../images/recruit/background-grid.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.recruit-modal__voice-badge {
  position: relative;
  width: 120px;
  height: 34px;
  margin: 0 auto 12px;
  background-color: #71bc40;
  color: #fff;
  font-family: "Figtree", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 34px;
  text-align: center;
  border-radius: 40px;
}

.recruit-modal__voice-badge::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 13px;
  height: 11px;
  background: url("../images/recruit/modal/voice-badge-tail.svg") no-repeat center / contain;
  transform: translateX(-50%);
}

.recruit-modal__voice-row {
  display: flex;
  align-items: center;
  gap: 28px;
}

.recruit-modal__voice-photo {
  flex-shrink: 0;
  width: 157px;
  height: 157px;
  object-fit: cover;
  background-color: #d9d9d9;
  border: 3px solid #71bc40;
  border-radius: 50%;
}

.recruit-modal__voice-bubble {
  position: relative;
  flex: 1;
  padding: 28px 36px;
  background-color: #1b5da8;
  color: #fff;
  border-radius: 10px;
}

.recruit-modal__voice-bubble::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -16px;
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-right: 16px solid #1b5da8;
  border-bottom: 14px solid transparent;
  transform: translateY(-50%);
}

.recruit-modal__voice-row--photo-right .recruit-modal__voice-bubble::before {
  left: auto;
  right: -16px;
  border-right: 0;
  border-left: 16px solid #1b5da8;
}

.recruit-modal__voice-bubble p {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.75;
}

.recruit-modal__voice-bubble footer {
  font-size: 16px;
  line-height: 1.75;
}

.recruit-modal__fit {
  padding-top: 64px;
}

.recruit-modal__fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.recruit-modal__fit-card {
  padding: 28px 32px 32px;
  background-color: #ecf1f5;
  border-radius: 10px;
}

.recruit-modal__fit-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.recruit-modal__fit-label::before,
.recruit-modal__fit-label::after {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background: url("../images/recruit/modal/fit-slash.svg") center / contain no-repeat;
}

.recruit-modal__fit-label::after {
  transform: scaleY(-1);
}

.recruit-modal__fit-label span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.recruit-modal__fit-label span::before {
  content: "";
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #1b5da8;
}

.recruit-modal__fit-label--yes span::before {
  background-image: radial-gradient(
    circle,
    transparent 4px,
    #fff 4px,
    #fff 5px,
    transparent 5px,
    transparent 8px,
    #fff 8px,
    #fff 9px,
    transparent 9px
  );
}

.recruit-modal__fit-label--no span::after {
  content: "";
  position: absolute;
  left: 10px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 14px solid #fff;
}

.recruit-modal__fit-card p {
  font-size: 16px;
  line-height: 1.75;
}

.recruit-modal__edu {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 430px);
  gap: 40px;
  align-items: start;
  padding: 72px 0 80px;
}

.recruit-modal__edu-body p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.75;
}

.recruit-modal__edu-body strong {
  font-weight: 700;
}

.recruit-modal__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  background-color: #1b5da8;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   # Recruit — Media queries
   ========================================================================== */
@media (max-width: 1000px) {
  .recruit-connect__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .recruit-connect__copy,
  .recruit-connect__diagram {
    width: 100%;
  }

  .recruit-connect__diagram {
    max-width: var(--connect-diagram-width);
    margin-inline: auto;
  }

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

  .recruit-data-card,
  .recruit-data-card--wide {
    grid-column: span 1;
  }

  .recruit-welfare__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .recruit-head {
    display: grid;
    gap: 16px;
  }

  .recruit-head__lead {
    max-width: none;
    text-align: left;
  }

  .recruit-mission__inner {
    grid-template-columns: 1fr;
    padding-block: 64px 48px;
  }

  .recruit-mission__heading {
    margin-bottom: 32px;
  }

  .recruit-mission__media {
    max-width: 520px;
    margin-top: 24px;
    margin-inline: auto;
    justify-self: center;
  }

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

  .recruit-modal__inner {
    padding: 64px 24px 0;
  }

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

  .recruit-modal__weapon-list {
    grid-template-columns: 1fr;
  }

  .recruit-modal__env {
    padding: 32px 20px 36px;
  }

  .recruit-modal__env-list {
    grid-template-columns: 1fr;
  }

  .recruit-modal__voice {
    padding: 40px 24px 56px;
  }

  .recruit-modal__voice-row {
    flex-direction: column;
    text-align: center;
  }

  .recruit-modal__voice-row--photo-right .recruit-modal__voice-photo {
    order: -1;
  }

  .recruit-modal__voice-bubble::before,
  .recruit-modal__voice-row--photo-right .recruit-modal__voice-bubble::before {
    top: -16px;
    left: 50%;
    right: auto;
    border-top: 0;
    border-right: 14px solid transparent;
    border-bottom: 16px solid #1b5da8;
    border-left: 14px solid transparent;
    transform: translateX(-50%);
  }

  .recruit-modal__fit-grid {
    grid-template-columns: 1fr;
  }
  .recruit-modal__fit {
    padding-top: 0;
  }
  .recruit-career {
    padding:16px 0 0;
  }

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

@media (max-width: 768px) {
  .recruit-fv-inner {
    aspect-ratio: 375 / 720;
  }

  .recruit-fv-motif--1 {
    left: calc(-80 / 375 * 100%);
    top: calc(-40 / 720 * 100%);
    width: calc(220 / 375 * 100%);
  }

  .recruit-fv-motif--2 {
    left: calc(-40 / 375 * 100%);
    top: calc(520 / 720 * 100%);
    width: calc(160 / 375 * 100%);
  }

  .recruit-fv-visual {
    left: auto;
    right: calc(-80 / 375 * 100%);
    top: 35%;
    width: calc(360 / 375 * 100%);
  }

  .recruit-fv-tools {
    left: auto;
    right: 5%;
    top: 17%;
    width: 27%;
  }

  .recruit-fv-crumb {
    left: calc((100% - var(--nk-header-width)) / 2);
    top: calc(110 / 720 * 100%);
  }

  .recruit-fv-label {
    left: calc((100% - var(--nk-header-width)) / 2);
    top: 20%;
  }

  .recruit-fv-copy {
    left: calc((100% - var(--nk-header-width)) / 2);
    top: 26%;
    z-index: 6;
    width: calc(220 / 375 * 100%);
    filter: drop-shadow(0 2px 8px rgb(0 30 80 / 55%));
  }

  .recruit-fv-lead {
    left: 0;
    right: 0;
    top: auto;
    bottom: calc(72 / 720 * 100%);
    z-index: 7;
    max-width: none;
    padding-inline: 20px;
    text-align: center;
    font-size: 13px;
    line-height: 1.7;
  }

  .recruit-connect {
    min-height: auto;
  }

  .recruit-connect__inner {
    padding-block: 48px 24px;
  }

  .recruit-connect__diagram {
    max-width: none;
  }

  .recruit-connect__diagram-img {
    display: block;
  }

  .recruit-connect__list {
    display: none;
  }

  .recruit-data {
    padding-block: 64px;
  }

  .recruit-data__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .recruit-data__heading {
    font-size: 24px;
    letter-spacing: 0.058em;
  }

  .recruit-data-card,
  .recruit-data-card--wide {
    min-height: 180px;
    padding: 20px 16px 12px;
  }

  .recruit-data-card__body {
    margin-top: 8px;
    gap: 12px;
    min-width: 0;
  }

  .recruit-data-card--wide .recruit-data-card__body {
    justify-content: space-between;
    gap: 8px;
  }

  .recruit-data-card__content {
    flex: 1 1 auto;
    min-width: 0;
  }

  .recruit-data-card__value,
  .recruit-data-card__value--sm {
    font-size: 60px;
  }

  .recruit-data-card__value span,
  .recruit-data-card__value small {
    font-size: 24px;
  }

  .recruit-data-card__unit {
    font-size: 18px !important;
  }

  .recruit-data-card__note {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.5;
  }

  .recruit-data-card__icon {
    gap: 4px;
  }

  .recruit-data-card__icon-wreath {
    width: 27px;
    height: 63px;
  }

  .recruit-data-card__icon-building {
    width: 48px;
    height: 79px;
  }

  .recruit-data-card__icon--sales img {
    width: 121px;
    height: 89px;
  }

  .recruit-data-card__thumb--employees {
    width: 88px;
    height: 69px;
  }

  .recruit-data-card__thumb--paidleave {
    width: 69px;
    height: 65px;
  }

  .recruit-data-card__thumb--beginner {
    width: 51px;
    height: 80px;
  }

  .recruit-data-card__thumb--overtime {
    width: 77px;
    height: 71px;
  }

  .recruit-data-card__thumb--holiday {
    width: 70px;
    height: 72px;
  }

  .recruit-data-card__ikukyu {
    width: 43px;
    height: 70px;
  }

  .recruit-data-card__ikukyu-circle {
    width: 38px;
    height: 38px;
  }

  .recruit-data-card__ikukyu-person {
    width: 43px;
    height: 70px;
  }

  .recruit-job__grid {
    grid-template-columns: 1fr;
  }
  .recruit-job {
    padding: 0;
  }
  .recruit-job-card__role {
    min-height: calc(1.3em + 1.3 * 16px);
    font-size: 24px;
  }
  .recruit-job-card__role::before {
    margin-top: 4px;
  }
  .recruit-job-card__role-sub {
    font-size: 16px;
  }
  .recruit-job-card__catch {
    top: 18%;
  }
  .recruit-job-card__catch span {
    font-size: 16px;
    padding: 6px 10px;
  }

  .recruit-talk__inner {
    margin-top: 48px;
  }

  .recruit-talk__panel {
    min-height: 0;
    padding: 40px 24px 0;
  }

  .recruit-talk__body {
    max-width: none;
  }

  .recruit-talk__en {
    margin-left: 0;
    font-size: 36px;
    line-height: 1.15;
  }

  .recruit-talk__meta {
    font-size: 16px;
    letter-spacing: 0.2em;
  }

  .recruit-talk__times {
    font-size: 24px;
  }

  .recruit-talk__text {
    max-width: none;
  }

  .recruit-talk__btn {
    width: 100%;
    max-width: 280px;
  }

  .recruit-talk__media {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% + 48px);
    max-width: none;
    margin: 16px -24px 0;
  }

  .recruit-talk__bubble--1 {
    left: -2%;
    top: 8%;
    width: 18%;
  }

  .recruit-talk__bubble--2,
  .recruit-talk__bubble--4 {
    display: none;
  }

  .recruit-talk__bubble--3 {
    left: auto;
    right: 8%;
    top: 4%;
    width: 16%;
  }

  .recruit-talk__bubble--5 {
    left: auto;
    right: -2%;
    top: auto;
    bottom: 18%;
    width: 10%;
  }

  .recruit-career__title::before {
    width: 24px;
    height: 24px;
  }

  .recruit-career__list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .recruit-career__list li:not(:last-child)::after {
    display: none;
  }

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

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

/* ==========================================================================
   # Recruit - Motion
   ========================================================================== */

/* ---------- FV：ブラシ線で写真を描き出すマスクアニメーション ---------- */

.recruit-fv-stroke {
  fill: none;
  stroke-width: 300;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 0;
}

.recruit-fv-stroke--reveal {
  stroke: #fff;
}

.recruit-fv-stroke--brush {
  stroke: url("#recruit-fv-brush-color");
}

/* JS が有効なときだけ、最初は隠しておく（JS が無い環境ではそのまま写真を表示） */
.recruit-fv.js-fv-anim .recruit-fv-stroke {
  stroke-dashoffset: 1;
}

.recruit-fv.js-fv-anim :is(.recruit-fv-label, .recruit-fv-copy, .recruit-fv-lead, .recruit-fv-tools, .recruit-fv-crumb) {
  opacity: 0;
}

/* 描き出しが終わったらブラシ線は消し、写真のすき間から背景が見えるようにする */
.recruit-fv.is-fv-play .recruit-fv-stroke--brush {
  animation:
    recruit-fv-draw 2s cubic-bezier(0.65, 0, 0.35, 1) forwards,
    recruit-fv-fade-out 0.6s ease 2.4s forwards;
}

@keyframes recruit-fv-fade-out {
  to {
    opacity: 0;
  }
}

.recruit-fv.is-fv-play .recruit-fv-stroke--reveal {
  animation: recruit-fv-draw 2s cubic-bezier(0.65, 0, 0.35, 1) 0.35s forwards;
}

/* 描き終わったら、写真が下から上へゆっくり流れ続ける（列ごとに速さを変え、1 周分ずらしてループ） */
.recruit-fv.is-fv-play .recruit-fv-visual__scroll {
  animation: recruit-fv-scroll var(--scroll-duration, 36s) linear 2.6s infinite;
}

@keyframes recruit-fv-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(0, calc(var(--strip-h) * -1), 0);
  }
}

/* 描き終わったら写真がポンと弾む */
.recruit-fv.is-fv-play .recruit-fv-visual__svg {
  transform-origin: 60% 50%;
  animation: recruit-fv-bounce 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 2.3s both;
}

.recruit-fv.is-fv-play .recruit-fv-crumb {
  animation: recruit-fade-up 0.6s ease-out 0.2s both;
}

.recruit-fv.is-fv-play .recruit-fv-label {
  animation: recruit-pop-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s both;
}

.recruit-fv.is-fv-play .recruit-fv-copy {
  animation: recruit-fv-copy 1s cubic-bezier(0.22, 1, 0.36, 1) 0.9s both;
}

.recruit-fv.is-fv-play .recruit-fv-lead {
  animation: recruit-fade-up 0.8s ease-out 1.6s both;
}

/* 部品のイラストは上から落ちてきて弾み、その後ふわふわ浮く */
.recruit-fv.is-fv-play .recruit-fv-tools {
  animation:
    recruit-fv-drop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 2s both,
    recruit-float 4s ease-in-out 2.9s infinite;
}

.recruit-fv-motif {
  animation: recruit-float 7s ease-in-out infinite;
}

.recruit-fv-motif--2 {
  animation-duration: 9s;
  animation-delay: -3s;
}

@keyframes recruit-fv-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes recruit-fv-bounce {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.035);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes recruit-fv-copy {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    clip-path: inset(0 -5% 0 0);
    transform: none;
  }
}

@keyframes recruit-fv-drop {
  from {
    opacity: 0;
    transform: translateY(-120px) rotate(-40deg);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes recruit-float {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-14px) rotate(3deg);
  }
}

@keyframes recruit-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes recruit-pop-in {
  from {
    opacity: 0;
    transform: scale(0.3) rotate(-12deg);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 各セクション：POP な登場演出 ---------- */

@media (prefers-reduced-motion: no-preference) {
  /* 見出しは 1 文字ずつ跳ねながら登場 */
  .recruit .js-reveal .js-pop-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.9em) scale(0.3) rotate(18deg);
  }

  .recruit .js-reveal.is-visible .js-pop-char {
    animation: recruit-char-jump 0.7s cubic-bezier(0.34, 1.7, 0.64, 1) both;
    animation-delay: calc(0.2s + var(--ci, 0) * 0.035s);
  }

  /* 英字ラベルはぽよんと弾む */
  .recruit .js-reveal:not(#recruit-sns, #recruit-entry) :is(.recruit-mission__label, .recruit-section-label) {
    opacity: 0;
    transform: scale(0.4);
  }

  .recruit .js-reveal.is-visible:not(#recruit-sns, #recruit-entry) :is(.recruit-mission__label, .recruit-section-label) {
    animation: recruit-label-boing 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  }

  /* カード類は順番にポップアップ（交互に少し傾けて） */
  .recruit .js-reveal .js-pop {
    opacity: 0;
    transform: translateY(60px) scale(0.6) rotate(var(--pr, -6deg));
  }

  .recruit .js-reveal.is-visible .js-pop {
    animation: recruit-card-pop 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: calc(0.35s + var(--pi, 0) * 0.1s);
  }

  /* 写真は回転しながら飛び出す */
  .recruit .js-reveal.is-visible .js-pop--photo {
    animation-name: recruit-photo-pop;
  }

  /* 図解（社会とのつながり）はぐるっと回って登場 */
  .recruit .js-reveal .recruit-connect__diagram {
    opacity: 0;
    transform: scale(0.4) rotate(-90deg);
  }

  .recruit .js-reveal.is-visible .recruit-connect__diagram {
    animation: recruit-spin-in 1.2s cubic-bezier(0.34, 1.4, 0.64, 1) 0.3s both;
  }

  /* 画面に入った時点で既に見えていたら演出しない */
  .recruit .js-reveal.is-reveal-instant :is(.js-pop, .js-pop-char, .recruit-mission__label, .recruit-section-label, .recruit-connect__diagram) {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@keyframes recruit-char-jump {
  0% {
    opacity: 0;
    transform: translateY(0.9em) scale(0.3) rotate(18deg);
  }

  60% {
    opacity: 1;
    transform: translateY(-0.25em) scale(1.15) rotate(-6deg);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes recruit-label-boing {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }

  50% {
    opacity: 1;
    transform: scale(1.25, 0.85);
  }

  70% {
    transform: scale(0.92, 1.08);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes recruit-card-pop {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.6) rotate(var(--pr, -6deg));
  }

  60% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes recruit-photo-pop {
  0% {
    opacity: 0;
    transform: scale(0.2) rotate(calc(var(--pr, -6deg) * 3));
  }

  60% {
    opacity: 1;
    transform: scale(1.08) rotate(calc(var(--pr, -6deg) * -0.5));
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes recruit-icon-hop {
  0%,
  100% {
    transform: none;
  }

  40% {
    transform: translateY(-14px) scale(1.1, 0.92);
  }

  70% {
    transform: translateY(0) scale(0.95, 1.05);
  }
}

@keyframes recruit-spin-in {
  from {
    opacity: 0;
    transform: scale(0.4) rotate(-90deg);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .recruit-fv-motif,
  .recruit-fv.is-fv-play * {
    animation: none !important;
  }

  .recruit-fv.js-fv-anim .recruit-fv-stroke {
    stroke-dashoffset: 0;
  }

  .recruit-fv.js-fv-anim :is(.recruit-fv-label, .recruit-fv-copy, .recruit-fv-lead, .recruit-fv-tools, .recruit-fv-crumb) {
    opacity: 1;
  }
}


/* ---------- 職種カード：見出し → キャッチ → 部品がふわふわ浮遊 ---------- */

@media (prefers-reduced-motion: no-preference) {
  .recruit .js-reveal .recruit-job-card__role,
  .recruit .js-reveal .recruit-job-card__catch span,
  .recruit .js-reveal :is(.recruit-job-card__part, .recruit-job-card__dot) {
    opacity: 0;
  }

  /* 職種名がぽよんと弾む */
  .recruit .js-reveal.is-visible .recruit-job-card__role {
    transform-origin: left center;
    animation: recruit-label-boing 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s both;
  }

  /* キャッチの帯が左から順に伸びる */
  .recruit .js-reveal.is-visible .recruit-job-card__catch span {
    animation: recruit-catch-wipe 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .recruit .js-reveal.is-visible .recruit-job-card__catch span:nth-child(1) {
    animation-delay: 1s;
  }

  .recruit .js-reveal.is-visible .recruit-job-card__catch span:nth-child(2) {
    animation-delay: 1.2s;
  }

  /* 部品は人物の後ろから飛び出し、その後それぞれのリズムで浮遊し続ける */
  .recruit .js-reveal.is-visible :is(.recruit-job-card__part, .recruit-job-card__dot) {
    animation:
      recruit-part-in 0.7s cubic-bezier(0.34, 1.7, 0.64, 1) both,
      recruit-part-float calc(3.2s + var(--i) * 0.45s) ease-in-out infinite alternate;
    animation-delay:
      calc(1.6s + var(--i) * 0.12s),
      calc(2.3s + var(--i) * 0.12s);
  }

  .recruit .js-reveal.is-visible .recruit-job-card__part:nth-of-type(even) {
    animation-name: recruit-part-in, recruit-part-float-alt;
  }

  .recruit .js-reveal.is-reveal-instant :is(.recruit-job-card__role, .recruit-job-card__catch span) {
    opacity: 1;
    animation: none;
  }

  .recruit .js-reveal.is-reveal-instant :is(.recruit-job-card__part, .recruit-job-card__dot) {
    opacity: 1;
    animation: recruit-part-float calc(3.2s + var(--i) * 0.45s) ease-in-out infinite alternate;
  }
}

@keyframes recruit-catch-wipe {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }

  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes recruit-part-in {
  from {
    opacity: 0;
    transform: translate(60%, 40%) scale(0.2) rotate(-60deg);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes recruit-part-float {
  from {
    transform: translate(0, 0) rotate(0);
  }

  to {
    transform: translate(6px, -16px) rotate(8deg);
  }
}

@keyframes recruit-part-float-alt {
  from {
    transform: translate(0, 0) rotate(0);
  }

  to {
    transform: translate(-8px, -12px) rotate(-10deg);
  }
}

/* ---------- CROSS TALK：おしゃべりが始まるような演出 ---------- */

@media (prefers-reduced-motion: no-preference) {
  .recruit-talk.js-talk :is(.recruit-talk__panel, .recruit-talk__bubble, .recruit-talk__meta span, .recruit-talk__text, .recruit-talk__btn, .recruit-talk__media img, .js-talk-char) {
    opacity: 0;
  }

  /* パネルが下から弾んで登場 */
  .recruit-talk.is-talk-play .recruit-talk__panel {
    animation: recruit-talk-panel 0.9s cubic-bezier(0.34, 1.4, 0.64, 1) both;
  }

  /* 吹き出しが 1 つずつポンポン出てきて、その後もおしゃべりするように揺れる */
  .recruit-talk.is-talk-play .recruit-talk__bubble {
    transform-origin: 30% 90%;
    animation:
      recruit-bubble-pop 0.6s cubic-bezier(0.34, 1.8, 0.64, 1) both,
      recruit-bubble-chat calc(1.6s + var(--b) * 0.3s) ease-in-out infinite;
    animation-delay:
      calc(0.5s + var(--b) * 0.18s),
      calc(1.2s + var(--b) * 0.18s);
  }

  .recruit-talk__bubble--1 {
    --b: 0;
  }

  .recruit-talk__bubble--2 {
    --b: 2;
  }

  .recruit-talk__bubble--3 {
    --b: 1;
  }

  .recruit-talk__bubble--4 {
    --b: 4;
  }

  .recruit-talk__bubble--5 {
    --b: 3;
  }

  /* CROSS TALK の文字がチャットのように 1 文字ずつ跳ねて出る */
  .recruit-talk.is-talk-play .js-talk-char {
    display: inline-block;
    animation: recruit-char-jump 0.6s cubic-bezier(0.34, 1.7, 0.64, 1) both;
    animation-delay: calc(0.6s + var(--ci) * 0.05s);
  }

  /* 営業と製造が左右から飛び込み、× でぶつかって弾ける */
  .recruit-talk.is-talk-play .recruit-talk__meta span:first-child {
    animation: recruit-talk-left 0.6s cubic-bezier(0.34, 1.6, 0.64, 1) 1.1s both;
  }

  .recruit-talk.is-talk-play .recruit-talk__meta span:last-child {
    animation: recruit-talk-right 0.6s cubic-bezier(0.34, 1.6, 0.64, 1) 1.1s both;
  }

  .recruit-talk.is-talk-play .recruit-talk__times {
    display: inline-block;
    animation: recruit-talk-clash 0.7s cubic-bezier(0.34, 1.8, 0.64, 1) 1.5s both;
  }

  .recruit-talk.is-talk-play .recruit-talk__text {
    animation: recruit-fade-up 0.7s ease-out 1.8s both;
  }

  .recruit-talk.is-talk-play .recruit-talk__btn {
    animation: recruit-pop-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 2.1s both;
  }

  /* 3 人の写真は下からぴょんと登場 */
  .recruit-talk.is-talk-play .recruit-talk__media img {
    transform-origin: 50% 100%;
    animation: recruit-talk-people 0.9s cubic-bezier(0.34, 1.5, 0.64, 1) 0.8s both;
  }
}

@keyframes recruit-talk-panel {
  from {
    opacity: 0;
    transform: translateY(80px) scale(0.9) rotate(-2deg);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes recruit-bubble-pop {
  from {
    opacity: 0;
    transform: scale(0) rotate(-25deg);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes recruit-bubble-chat {
  0%,
  100% {
    transform: none;
  }

  25% {
    transform: translateY(-6px) rotate(-4deg) scale(1.04);
  }

  50% {
    transform: translateY(0) rotate(2deg);
  }

  75% {
    transform: translateY(-3px) scale(0.98);
  }
}

@keyframes recruit-talk-left {
  from {
    opacity: 0;
    transform: translateX(-80px) rotate(-12deg);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes recruit-talk-right {
  from {
    opacity: 0;
    transform: translateX(80px) rotate(12deg);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes recruit-talk-clash {
  0% {
    opacity: 0;
    transform: scale(0) rotate(-180deg);
  }

  60% {
    opacity: 1;
    transform: scale(1.6) rotate(15deg);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes recruit-talk-people {
  from {
    opacity: 0;
    transform: translateY(40%) scale(0.85);
  }

  to {
    opacity: 1;
    transform: none;
  }
}


/* ---------- 数字で見るナカヤマ精密：数字だけ弾ませる ---------- */

@media (prefers-reduced-motion: no-preference) {
  .recruit .js-reveal .recruit-data-card__value {
    display: inline-block;
    transform-origin: left bottom;
  }

  .recruit .js-reveal.is-visible .recruit-data-card__value {
    animation: recruit-number-pop 0.8s cubic-bezier(0.34, 1.7, 0.64, 1) 0.4s both;
  }

  .recruit .js-reveal.is-reveal-instant .recruit-data-card__value {
    animation: none;
  }
}

@keyframes recruit-number-pop {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.6);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- SNS・ENTRY：インビュー（下からふわっと順番に表示） ---------- */

@media (prefers-reduced-motion: no-preference) {
  .recruit .js-reveal .js-fade {
    opacity: 0;
    transform: translateY(32px);
    transition:
      opacity 0.8s ease-out,
      transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(0.2s + var(--fi, 0) * 0.15s);
  }

  .recruit .js-reveal.is-visible .js-fade {
    opacity: 1;
    transform: none;
  }

  .recruit .js-reveal.is-reveal-instant .js-fade {
    transition: none;
  }
}

/* ---------- 職種カード：ホバーで部品が動く（エリアは画像部分） ---------- */

/* 浮遊アニメーション（transform）とは別の translate で、マウスに合わせてずらす */
.recruit-job-card__part,
.recruit-job-card__dot {
  translate: var(--mx, 0px) var(--my, 0px);
  transition:
    translate 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    scale 0.4s cubic-bezier(0.34, 1.7, 0.64, 1);
}

@media (hover: hover) {
  .recruit-job-card__visual:hover :is(.recruit-job-card__part, .recruit-job-card__dot) {
    scale: 1.15;
  }

  .recruit-job-card__visual:hover .recruit-job-card__base {
    transform: scale(1.02);
  }
}

.recruit-job-card__base {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}


/* ---------- ENTRY ボタンのホバー ---------- */

.recruit-entry-card {
  overflow: hidden;
  isolation: isolate;
  transition:
    translate 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s ease;
}

/* インビュー演出（.js-fade）の遅延がホバーにかからないよう、プロパティごとに指定 */
.recruit .js-reveal .recruit-entry-card.js-fade {
  transition:
    opacity 0.8s ease-out calc(0.2s + var(--fi, 0) * 0.15s),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) calc(0.2s + var(--fi, 0) * 0.15s),
    translate 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0s,
    box-shadow 0.4s ease 0s;
}

/* 濃い色の幕が左から広がる */
.recruit-entry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: rgb(0 30 70 / 22%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 斜めの光がスッと横切る */
.recruit-entry-card::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  z-index: -1;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / 30%), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}

.recruit-entry-card__ja,
.recruit-entry-card__en {
  transition: translate 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.recruit-entry-card__icon {
  overflow: hidden;
  transition:
    scale 0.4s cubic-bezier(0.34, 1.8, 0.64, 1),
    border-radius 0.4s ease;
}

@media (hover: hover) {
  a.recruit-entry-card:hover {
    translate: 0 -6px;
    box-shadow: 0 16px 30px rgb(0 40 90 / 25%);
  }

  a.recruit-entry-card:hover::before {
    transform: scaleX(1);
  }

  a.recruit-entry-card:hover::after {
    animation: recruit-entry-shine 0.8s ease-out;
  }

  a.recruit-entry-card:hover .recruit-entry-card__ja {
    translate: 8px 0;
  }

  a.recruit-entry-card:hover .recruit-entry-card__en {
    translate: 4px 0;
  }

  /* 矢印ボタンが弾み、矢印が右へ抜けて左から戻ってくる */
  a.recruit-entry-card:hover .recruit-entry-card__icon {
    scale: 1.15;
    border-radius: 50%;
  }

  a.recruit-entry-card:hover .recruit-entry-card__icon img {
    animation: recruit-entry-arrow 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  }
}

a.recruit-entry-card:focus-visible {
  outline: 3px solid #a7f573;
  outline-offset: 3px;
}

@keyframes recruit-entry-shine {
  from {
    left: -60%;
  }

  to {
    left: 130%;
  }
}

@keyframes recruit-entry-arrow {
  0% {
    transform: none;
  }

  45% {
    transform: translateX(30px);
  }

  46% {
    transform: translateX(-30px);
  }

  100% {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  a.recruit-entry-card:hover::after,
  a.recruit-entry-card:hover .recruit-entry-card__icon img {
    animation: none;
  }
}

/* ==========================================================================
   # Recruit - 仕事と社会のつながり（スマホ用の図）
   Figma（幅 375）の座標を、--u（デザイン 1px の大きさ）で画面幅に合わせて拡大縮小する
   ========================================================================== */

.recruit-connect__map {
  display: none;
}

@media (max-width: 768px) {
  .recruit-connect__diagram-img {
    display: none;
  }

  .recruit-connect__map {
    --u: calc(min(100vw, 480px) / 375);
    display: block;
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
  }

  .recruit-connect__map-stage {
    position: relative;
    width: calc(375 * var(--u));
    height: calc(434 * var(--u));
    margin-inline: auto;
  }

  .recruit-connect__map-stage > * {
    position: absolute;
    left: calc(var(--x) * var(--u));
    top: calc(var(--y) * var(--u));
  }

  .recruit-connect__map-ring,
  .recruit-connect__map-circle {
    width: calc(var(--w) * var(--u));
    max-width: none;
    height: auto;
  }

  .recruit-connect__map-dot {
    width: calc(4 * var(--u));
    height: calc(4 * var(--u));
    border-radius: 50%;
    background: #fff;
  }

  /* 写真は円形に切り抜く */
  .recruit-connect__map-photo {
    width: calc(var(--w) * var(--u));
    height: calc(var(--w) * var(--u));
    overflow: hidden;
    border-radius: 50%;
  }

  .recruit-connect__map-photo img {
    position: absolute;
    left: calc(var(--x) * var(--u));
    top: calc(var(--y) * var(--u));
    width: calc(var(--w) * var(--u));
    height: calc(var(--h) * var(--u));
    max-width: none;
    object-fit: cover;
  }

  .recruit-connect__map-name {
    color: #fff;
    font-size: calc(17 * var(--u));
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.12em;
    text-align: center;
    white-space: nowrap;
    transform: translateX(-50%);
  }

  .recruit-connect__map-name.is-center {
    transform: translate(-50%, -50%);
  }

  .recruit-connect__map-copy {
    color: #fff;
    font-size: calc(13 * var(--u));
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   # Recruit - スマホの調整（見出し・余白・職種カード・CROSS TALK・スライダー）
   ========================================================================== */

@media (max-width: 768px) {
  /* ミッションの見出し：375px で各行が改行されない大きさに */
  .recruit-mission__heading {
    font-size: min(5.9vw, 26px);
    white-space: nowrap;
  }

  /* 上のセクション（白い角丸パネル）との間をあける */
  .recruit-connect__inner {
    padding-block: 110px 24px;
  }

  /* ---------- プロフェッショナルとしての働き方 ---------- */
  .recruit-job {
    padding: 60px 0 40px;
    border-radius: 30px;
  }

  .recruit-job__head {
    margin-bottom: 32px;
    text-align: left;
  }

  .recruit-job__head .recruit-mission__label {
    font-size: 16px;
  }

  .recruit-job__heading {
    font-size: 24px;
    line-height: 1.6;
    text-align: left;
  }

  .recruit-job__grid {
    gap: 48px;
  }

  .recruit-job-card__role {
    min-height: 0;
    margin-bottom: 12px;
    font-size: 26px;
  }

  .recruit-job-card__role::before {
    width: 21px;
    height: 21px;
    margin-top: 8px;
  }

  .recruit-job-card__role-sub {
    font-size: 15px;
  }

  .recruit-job-card__visual {
    margin-bottom: 20px;
  }

  .recruit-job-card__catch {
    top: 20%;
    gap: 6px;
  }

  .recruit-job-card__catch span {
    padding: 4px 8px;
    font-size: 14px;
  }

  .recruit-job-card__media {
    width: 82%;
  }

  .recruit-job-card__text {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 2;
  }

  /* 「詳しい内容を見る •」右寄せ・下線 */
  .recruit-job-card__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 180px;
    margin-left: auto;
    padding-bottom: 8px;
  }

  .recruit-job-card__link::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
  }

  /* ---------- CROSS TALK ---------- */
  .recruit-talk__inner {
    margin-top: 72px;
  }

  .recruit-talk__panel {
    overflow: visible;
    padding: 48px 32px 0;
  }

  .recruit-talk__media img {
    border-radius: 0 0 10px 10px;
  }

  .recruit-talk__body {
    text-align: center;
  }

  .recruit-talk__en {
    margin: 0;
    font-size: min(12.3vw, 50px);
    line-height: 1.1;
    white-space: nowrap;
  }

  .recruit-talk__meta {
    justify-content: center;
    margin: 4px 0 24px;
  }

  .recruit-talk__text {
    font-size: 14px;
    line-height: 1.85;
    text-align: left;
  }

  .recruit-talk__btn {
    margin-inline: auto;
  }

  /* 吹き出し：カードの角からはみ出すように */
  .recruit-talk__bubble--1 {
    left: -15px;
    top: -49px;
    width: 118px;
  }

  .recruit-talk__bubble--2 {
    display: block;
    left: auto;
    right: -18px;
    top: 103px;
    width: 58px;
  }

  .recruit-talk__bubble--3,
  .recruit-talk__bubble--4 {
    display: none;
  }

  .recruit-talk__bubble--5 {
    left: 26%;
    right: auto;
    top: auto;
    bottom: 19%;
    width: 26px;
  }

  /* 技術職の説明はデザインどおり改行なしで流す */
  .recruit-job-card:nth-child(2) .recruit-job-card__text br {
    display: none;
  }

  .recruit-career__heading,
  .recruit-welfare__heading,
  .recruit-data__heading {
    font-size: min(6.4vw, 26px);
    white-space: nowrap;
  }

  /* ---------- キャリアマップ・福利厚生：横スクロールのスライダー ---------- */
  .recruit-career__list,
  .recruit-welfare__list {
    display: flex;
    gap: 12px;
    margin-inline: -16px;
    padding: 4px 16px 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
  }

  .recruit-career__list::-webkit-scrollbar,
  .recruit-welfare__list::-webkit-scrollbar {
    display: none;
  }

  .recruit-career__list > li,
  .recruit-welfare__list > li {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
}

/* ==========================================================================
   # Recruit - スマホの調整 2
   ========================================================================== */

/* 画面下に追従するエントリーボタン（スマホのみ） */
.recruit-float-entry {
  display: none;
}

@media (max-width: 768px) {
  .recruit-float-entry {
    position: fixed;
    left: 50%;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 250;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: min(240px, calc(100% - 32px));
    height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    background: linear-gradient(90deg, #185baa 0%, #348daa 49%, #6eb83f 100%);
    box-shadow: 0 6px 18px rgb(24 91 170 / 35%);
    color: #fff;
    transform: translateX(-50%);
    transition:
      opacity 0.3s,
      transform 0.3s;
  }

  .recruit-float-entry__en {
    font-family: "Figtree", sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.1em;
  }

  .recruit-float-entry__ja {
    font-size: 12px;
    font-weight: 700;
  }

  /* ファーストビューの間と、エントリー欄が見えているときは隠す */
  .recruit-float-entry.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 20px);
  }

  /* キャリアマップの見出し：375px で 1 行に */
  .recruit-career__title {
    flex-wrap: nowrap;
    font-size: min(5.3vw, 22px);
    white-space: nowrap;
  }

  .recruit-career__title::before {
    width: 20px;
    height: 20px;
  }

  .recruit-career__note {
    margin-left: 0;
  }

  .recruit-career__title:has(.recruit-career__note) {
    flex-wrap: wrap;
  }

  .recruit-career__title:has(.recruit-career__note) .recruit-career__note {
    flex-basis: 100%;
    padding-left: 28px;
  }

  /* スライダーのカードを広めに */
  .recruit-career__list > li,
  .recruit-welfare__list > li {
    flex-basis: 88%;
  }

  /* キャリアマップの上にしっかり余白 */
  .recruit-career {
    padding-top: 80px;
  }

  /* 福利厚生のパネルの上下余白は 1/3 程度に */
  .recruit-welfare__panel {
    padding-block: 40px;
  }
}

/* 募集停止中など、URL がないエントリーカード（クリックできない） */
.recruit-entry-card.is-disabled {
  cursor: default;
}
