/* ==============================
   採用トップページ CSS
   ============================== */


/* ------------------------------
   KVセクション
   ------------------------------ */
.recruit-top-kv {
  position: relative;
  width: 100%;
  aspect-ratio: 1366 / 768; /* デザイン：KVの下端（クリーム色の始まり）は y=768 */
  background-color: #ffffff;
  z-index: 1; /* 下にはみ出す六角形をつぎのセクションより前に出す */
}

/* 背景イラスト：4枚のレイヤーが順にふわっと重なる */
.recruit-top-kv__layers {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.recruit-top-kv__layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease-out;
  pointer-events: none;
}

.recruit-top-kv__layer.is-visible {
  opacity: 1;
}

.recruit-top-kv__layer picture {
  display: block;
  width: 100%;
  height: 100%;
}

.recruit-top-kv__layer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* 六角形の装飾（デザイン 1366×910 の領域に対する割合で配置。KVの下にはみ出す分も含む） */
.recruit-top-kv__hexes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% * 910 / 768);
  overflow: hidden;
  pointer-events: none;
}

.recruit-top-kv__hex {
  position: absolute;
  display: block;
  height: auto;
  opacity: 0;
  transition: opacity 1.4s ease-out;
}

.recruit-top-kv__hex.is-visible {
  opacity: 1;
}

.recruit-top-kv__hexes--sp {
  display: none;
}

.recruit-top-kv__hex--1 { left: -0.659%; top: 10.44%; width: 6.369%; }
.recruit-top-kv__hex--2 { left: 2.562%; top: 48.57%; width: 6.369%; }
.recruit-top-kv__hex--3 { left: 30.234%; top: 76.04%; width: 9.004%; }
.recruit-top-kv__hex--4 { left: 85.944%; top: 71.98%; width: 9.663%; }
.recruit-top-kv__hex--5 { left: 94.290%; top: 88.57%; width: 6.369%; }

@media (prefers-reduced-motion: reduce) {
  .recruit-top-kv__layer,
  .recruit-top-kv__hex {
    opacity: 1;
    transition: none;
  }
}

.recruit-top-kv__inner {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* デザイン：見出しの左上が (103, 186)／1366×768 → 割合で配置 */
.recruit-top-kv__heading {
  position: absolute;
  top: 24.22%;
  left: 7.54%;
  margin: 0;
}

.recruit-top-kv__box {
  zoom: var(--kvs, 1); /* KVの幅に合わせて見出しも拡大縮小（JSが --kvs を設定） */
  box-sizing: border-box;
  display: flex;
  align-items: center;
  height: 72px;
  padding: 0 10px;
  border: 2px solid transparent;
  background-color: rgba(255, 255, 255, 0);
  transition:
    border-color 0.5s ease-out,
    background-color 0.5s ease-out;
}

.recruit-top-kv__box.is-visible {
  border-color: #0e212f;
  background-color: #ffffff;
}

.recruit-top-kv__box--line1 {
  width: 483px;
}

.recruit-top-kv__box--line2 {
  width: 537px;
  margin-top: 8px;
  gap: 6px;
}

.recruit-top-kv__text {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 1.44px;
  color: #0e212f;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s ease-out;
}

.recruit-top-kv__text.is-visible {
  opacity: 1;
}

.recruit-top-kv__kikutani {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.recruit-top-kv__kikutani-svg .st0,
.recruit-top-kv__kikutani-svg .st1,
.recruit-top-kv__kikutani-svg .st2,
.recruit-top-kv__kikutani-svg .st3,
.recruit-top-kv__kikutani-svg .st4,
.recruit-top-kv__kikutani-svg .st5 {
  opacity: 0;
}

.recruit-top-company {
  background: #fcfaf5;
  padding: 120px 0 62px;
}

.recruit-top-company__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}

.recruit-top-company__text {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
}

.recruit-top-company__tag {
  display: inline-flex;
  height: 36px;
  padding: 2px 12px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid #000;
  background: #fff;
  width: fit-content;
  color: #0e212f;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%;
  letter-spacing: 0.6px;
}

.recruit-top-company__heading {
  margin: 24px 0 0;
  color: #0e212f;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 1.2px;
}

.recruit-top-company__body {
  margin-top: 32px;
}

.recruit-top-company__body p {
  color: #0e212f;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 17px;
  font-style: normal;
  font-weight: 500;
  line-height: 180%;
  letter-spacing: 0.51px;
}

.recruit-top-company__body p + p {
  margin-top: 24px;
}

.recruit-top-company__photo {
  position: relative;
  flex: 0 0 auto;
  padding-top: 0;
}

.recruit-top-company__photo-frame {
  display: block;
  width: 600px;
  height: 406px;
  border-radius: 30px;
  background: #d9d9d9;
  object-fit: cover;
}

.recruit-top-company__label {
  position: absolute;
  top: -39px;
  right: 0;
  width: 528.577px;
  height: 75.727px;
}

.recruit-top-strength {
  background: #fcfaf5;
  padding: 0 0 120px;
  overflow: hidden;
}

.recruit-top-strength__inner {
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
}

.recruit-top-strength__circles {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.recruit-top-strength__circle {
  flex: 0 0 auto;
  width: 416px;
  height: 416px;
  border-radius: 416px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 35px;
}

.recruit-top-strength__circle + .recruit-top-strength__circle {
  margin-left: -44px;
}

.recruit-top-strength__circle:nth-child(3) {
  padding-top: 29px; /* 本文が5行と長いため、他の円と見出しの高さを揃えるための調整 */
}

.recruit-top-strength__icon {
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}

.recruit-top-strength__boat {
  position: absolute;
  right: 0;
  right: -107px;
  bottom: -125px;
  height: 231px;
  aspect-ratio: 137 / 77;
  object-fit: contain; /* SVG→PNG：SVGと同じく枠の中央に縦横比を保って表示 */
  z-index: 3;
  pointer-events: none;
}

.recruit-top-strength__heading {
  color: #2f4a66;
  text-align: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 27px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%;
  letter-spacing: 0.81px;
}

.recruit-top-strength__body {
  margin-top: 16px;
  color: #1d2e45;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 180%;
  letter-spacing: 0.54px;
}

.recruit-top-strength__slider {
  margin-top: 64px;
  overflow: hidden;
  width: 100%;
}

.recruit-top-strength__slider-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: recruit-top-strength-scroll 36s linear infinite;
}

.recruit-top-strength__photo {
  flex: 0 0 auto;
  width: 495px;
  height: 350px;
  border-radius: 20px;
  object-fit: cover;
  background: #d9d9d9;
}

@keyframes recruit-top-strength-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ------------------------------
   海と未来をつなぐ仲間へ CTA（recruit-interview.cssと共通）
   ------------------------------ */
.interview-cta {
  position: relative;
  z-index: 1;
  min-height: 856px;
}
.interview-cta__photo {
  position: relative;
  width: 100%;
  height: 604px;
  overflow: hidden;
}
.interview-cta__photo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: url(#ctaWaveClip);
}
.interview-cta__text {
  position: absolute;
  top: 242px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
}
.interview-cta__title {
  margin: 0;
  display: flex;
  justify-content: center;
}
.interview-cta__title img {
  display: block;
  height: auto;
}
.interview-cta__subtitle {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%;
  letter-spacing: 0.48px;
  color: #ffffff;
  text-align: center;
  margin: 24px 0 0;
}
.interview-cta__cards {
  position: absolute;
  top: 538px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 60px;
}
.interview-cta__card {
  flex: 0 0 460px;
  width: 460px;
  height: 286px;
  background: #0169b9;
  border-radius: 20px;
  padding: 32px 40px;
  box-sizing: border-box;
  display: block;
  text-decoration: none;
}
.interview-cta__card {
  transition: background-color 0.3s ease;
}
.interview-cta__card:hover,
.interview-cta__card:focus-visible {
  background: #6f97c6;
}

.interview-cta__card-label {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 8px;
}
.interview-cta__card-title {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 35px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  color: #ffffff;
  margin: 0 0 12px;
}
.interview-cta__card-desc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 180%;
  letter-spacing: 0.45px;
  color: #ffffff;
  margin: 0 0 20px;
}
.interview-cta__card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 180%;
  letter-spacing: 0.48px;
  color: #ffffff;
  text-decoration: none;
}
.interview-cta__card-arrow {
  display: block;
  width: 27px;
  height: 27px;
  flex-shrink: 0;
}
.interview-cta__card-arrow img {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 900px) {
  .interview-cta__cards {
    flex-direction: column;
  }
}

.recruit-top-business {
  position: relative;
}

/* ------------------------------
   上部イントロ（青背景 + 写真 + テキスト）
   ------------------------------ */
.recruit-top-business__intro {
  background: #0169b9;
  padding: 100px 0 140px;
}

.recruit-top-business__intro-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.recruit-top-business__photo {
  position: relative;
  flex: 0 0 600px;
  max-width: 600px;
}

.recruit-top-business__photo-frame {
  display: block;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 600 / 406;
  height: auto;
  border-radius: 30px;
  object-fit: cover;
  background: #d9d9d9;
}

/* 元はテキストだったが、専用の枠デザインがCSSで再現しづらいためSVG画像に変更 */
.recruit-top-business__label {
  position: absolute;
  top: -32px;
  left: 0;
  width: clamp(200px, calc(40vw / var(--z)), 400px);
  height: auto;
}

.recruit-top-business__text {
  flex: 1 1 320px;
  max-width: 560px;
}

.recruit-top-business__tag {
  display: inline-flex;
  height: 36px;
  padding: 2px 12px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid #000;
  background: #fff;
  width: fit-content;
  color: #0e212f;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%;
  letter-spacing: 0.6px;
}

.recruit-top-business__heading {
  margin: 24px 0 0;
  color: #fff;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 1.2px;
}

.recruit-top-business__body {
  margin-top: 20px;
}

.recruit-top-business__body p {
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 17px;
  font-style: normal;
  font-weight: 500;
  line-height: 180%;
  letter-spacing: 0.51px;
}

/* ------------------------------
   スティッキーカードスタック
   （スクロールに合わせて下のカードが上のカードに被さる）
   ------------------------------ */
.recruit-top-business__stack {
  position: relative;
  background: #0169b9;
}

/* 4枚重なりきった状態を少し見せてから次のセクションへ抜けるための余白（実要素で確保） */
.recruit-top-business__stack-spacer {
  height: 256px;
}

/* .stack の外側（＝スティッキーの基準ボックスの外）に置く余白。
   カード4が固定表示から外れた「後」に、次のセクションとの間隔を104pxに保つための実要素。
   .stack の内側に置くと、スティッキー解除のタイミングと相殺されて効果が出ないため、
   あえて .stack の外に配置している。 */
.recruit-top-business__stack-gap {
  height: 128px;
  background: #0169b9;
}

/* スティッキーカードを直接の兄弟要素として並べることで、
   前のカードが自分の高さ分だけ画面に留まり続け、
   後続のカードがその上に重なっていく（1〜4がずっと重なった状態を維持） */
.recruit-top-business__card {
  position: sticky;
  top: 90px;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  height: 582px;
  background: #fff;
  border: 2px solid #4783c1;
  border-radius: 30px;
  box-sizing: border-box;
  padding: 70px 50px 104px;
}

.recruit-top-business__card:nth-child(2) {
  transform: translateY(8px);
}

.recruit-top-business__card:nth-child(3) {
  transform: translateY(16px);
}

.recruit-top-business__card:nth-child(4) {
  transform: translateY(24px);
}

.recruit-top-business__card-inner {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  height: 100%;
}

.recruit-top-business__card-text {
  flex: 1 1 320px;
  max-width: 480px;
}

.recruit-top-business__card-eyebrow {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  color: #0169b9;
  font-family: "Inter", sans-serif;
  font-weight: 700;
}

.recruit-top-business__card-number {
  color: #4783c1;
  font-family: "Inter", sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 1.6px;
}

.recruit-top-business__card-label {
  color: #4783c1;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  letter-spacing: 1px;
}

.recruit-top-business__card-dept {
  margin: 12px 0 0;
  color: #4783c1;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 1.08px;
}

.recruit-top-business__card-title {
  margin: 16px 0 0;
  color: #4783c1;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 0.96px;
}

.recruit-top-business__card-desc {
  margin: 24px 0 0;
  color: #4783c1;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 17px;
  font-style: normal;
  font-weight: 600;
  line-height: 180%;
  letter-spacing: 0.51px;
}

/* 幅は流動化してあります。イラスト・写真の細かい配置調整はモバイル用CSSで別途対応してください */
.recruit-top-business__card-visual {
  position: relative;
  flex: 1 1 280px;
  width: 100%;
  max-width: 505px;
  aspect-ratio: 505 / 442;
}

/* card（position: sticky）を基準に配置（カードの枠線2pxぶんを引いた値）。
   Figma（PC 2026.10.23）：イラスト枠の大きさ・位置。2倍で書き出した透明PNGを入れる。
   object-fit: contain … 枠と縦横比が違う画像を入れても、つぶれない */
.recruit-top-business__card-illustration {
  position: absolute;
  top: 29px;
  left: 301px;
  width: 329px;
  height: 229px;
  aspect-ratio: 329 / 229;
  object-fit: contain;
  z-index: 4;
}

/* カードごとにイラストの大きさ・位置が違う（PC） */
.recruit-top-business__card:nth-of-type(2) .recruit-top-business__card-illustration {
  top: 44px;
  left: 388px;
  width: 215px;
  height: 242px;
  aspect-ratio: 215 / 242;
}

.recruit-top-business__card:nth-of-type(3) .recruit-top-business__card-illustration {
  top: 78px;
  left: 410px;
  width: 347px;
  height: 205px;
  aspect-ratio: 347 / 205;
}

.recruit-top-business__card:nth-of-type(4) .recruit-top-business__card-illustration {
  top: 80px;
  left: 374px;
  width: 250px;
  height: 209px;
  aspect-ratio: 250 / 209;
}

/* card（position: sticky）を基準に配置。カードの上端から70px、右は50px（絶対配置はpaddingを無視するため数値で指定） */
.recruit-top-business__card-photo {
  position: absolute;
  top: 70px;
  right: 50px;
  width: 505px;
  max-width: 100%;
  height: 442px;
  object-fit: cover;
  border-radius: 12px;
  background: #d9d9d9;
  z-index: 2;
}

/* card基準。写真(top:70/right:50, 505x442)の右に13px・下に38pxはみ出す位置 */
.recruit-top-business__card-note {
  position: absolute;
  top: 455px;
  right: 37px;
  width: 245.999px;
  height: 95px;
  margin: 0;
  object-fit: contain;
  z-index: 3;
}

/* ------------------------------
   KEYWORDセクション（数字で見る菊谷茂吉商店）
   ------------------------------ */
.recruit-top-keyword {
  position: relative;
  background-color: #cfe6f7;
  background-image: url(../image/recruittop/keyword-bg.png);
  background-repeat: repeat-y;
  background-position: top center;
  background-size: 100% auto;
  padding: 100px 0 0;
  overflow: hidden;
}

.recruit-top-keyword__inner {
  position: relative;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}

.recruit-top-keyword__heading {
  position: relative;
  text-align: center;
  margin-bottom: 30px;
}

/* TODO: KEYWORDの文字は画像で書き出し予定（file: keyword-title.svg） */
.recruit-top-keyword__title-img {
  position: relative;
  z-index: 3;
  display: block;
  width: 519.866px;
  height: 75.727px;
  max-width: 100%;
  margin: 0 auto;
}

.recruit-top-keyword__bubble {
  position: relative;
  z-index: 2;
  width: 679px;
  max-width: 100%;
  min-height: 151px;
  margin: -15px auto 0;
  padding: 20px 24px 28px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* TODO: 吹き出し（枠線+しっぽ）は画像で書き出し予定（file: keyword-bubble.svg） */
.recruit-top-keyword__bubble-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: -1;
  pointer-events: none;
}

.recruit-top-keyword__eyebrow {
  margin-top: -15px;
  color: #2f4a66;
  text-align: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%;
  letter-spacing: 0.6px;
}

.recruit-top-keyword__lead {
  margin: 4px 0 0;
  color: #0e212f;
  text-align: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 1.2px;
}

.recruit-top-keyword__lead-break {
  display: none;
}

.recruit-top-keyword__list {
  display: grid;
  grid-template-columns: repeat(3, 363px);
  gap: 36px;
  justify-content: center;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.recruit-top-keyword__item {
  position: relative;
  width: 363px;
  height: 363px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 59px 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  background-color: #fff;
  background-image: url(../image/recruittop/dot.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 28.5px;
}

.recruit-top-keyword__icon {
  display: block;
  width: 63px;
  height: 63px;
  margin: 0 auto;
  object-fit: contain;
}

/* アイコンごとの実寸（縦横比が異なるため個別指定） */
.recruit-top-keyword__icon[src$="keyword-icon-02.svg"] {
  width: 73px;
  height: 66px;
}
.recruit-top-keyword__icon[src$="keyword-icon-03.svg"] {
  width: 70px;
  height: 64px;
}
.recruit-top-keyword__icon[src$="keyword-icon-04.svg"] {
  width: 69px;
  height: 69px;
}
.recruit-top-keyword__icon[src$="keyword-icon-05.svg"] {
  width: 106px;
  height: 63px;
}
.recruit-top-keyword__icon[src$="keyword-icon-06.svg"] {
  width: 68px;
  height: 84px;
}
.recruit-top-keyword__icon[src$="keyword-icon-07.svg"] {
  width: 79px;
  height: 66px;
}
.recruit-top-keyword__icon[src$="keyword-icon-08.svg"] {
  width: 80px;
  height: 74px;
}
.recruit-top-keyword__icon[src$="keyword-icon-09.svg"] {
  width: 52px;
  height: 72px;
}

.recruit-top-keyword__label {
  margin: 12px 0 0;
  color: #2f4a66;
  text-align: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%; /* 51.2px */
  letter-spacing: 0.96px;
}

.recruit-top-keyword__number {
  position: relative;
  z-index: 0;
  display: inline-block;
  margin: 0 0 0;
  color: #2f4a66;
  font-family: "Inter", sans-serif;
}

.recruit-top-keyword__count {
  display: inline-block;
  color: #2f4a66;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 64px;
  font-style: normal;
  font-weight: 900;
  line-height: 160%; /* 102.4px */
  letter-spacing: 1.92px;
}

.recruit-top-keyword__count--stress {
  margin-top: -21px;
}

.recruit-top-keyword__count--employees {
  margin-top: -18px;
}

.recruit-top-keyword__count--founded {
  margin-top: -18px;
}

/* 数字の下の黄色いマーカー線（数字+単位をまとめた.numberの幅を基準に中央寄せ） */
.recruit-top-keyword__number::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  width: 173px;
  height: 10px;
  background: #fffb00;
  z-index: -1;
}

/* ストレスの「0」（単位なし）だけは数字の幅ぴったりに敷く */
.recruit-top-keyword__number--auto::after {
  left: 0;
  right: 0;
  width: auto;
  transform: none;
}

.recruit-top-keyword__unit {
  margin-left: 2px;
  color: #2f4a66;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 72px */
  letter-spacing: 1.44px;
}

.recruit-top-keyword__caption {
  margin: 10px 0 0;
  color: #2f4a66;
  text-align: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%; /* 51.2px */
  letter-spacing: 0.96px;
}

.recruit-top-keyword__caption--founded {
  margin-top: 0;
}

/* 「年間休日」など（バリエーション指定のない数字のカード）：
   ラベルと数字の間、数字と「以上」の間の隙間を詰める（PC・スマホ共通） */
.recruit-top-keyword__item:has(.recruit-top-keyword__caption) .recruit-top-keyword__count:not(.recruit-top-keyword__count--founded):not(.recruit-top-keyword__count--stress):not(.recruit-top-keyword__count--employees) {
  margin-top: -18px;
}

.recruit-top-keyword__item:has(.recruit-top-keyword__count:not(.recruit-top-keyword__count--founded):not(.recruit-top-keyword__count--stress):not(.recruit-top-keyword__count--employees)) .recruit-top-keyword__caption {
  margin-top: -8px;
}

/* 海と未来をつなぐ仲間へセクションと同じ波形クリップ（#ctaWaveClip）を再利用。
   このクリップは元々「箱の下端」を波形にする形なので、上端を波形にするために
   .photo側をscaleY(-1)で上下反転し、中の写真はさらにscaleY(-1)で打ち消して正立させる */
.recruit-top-keyword__photo {
  position: relative;
  margin-top: 64px;
  width: 100%;
  height: calc(40vw / var(--z)); /* 画面幅に比例（デザイン比のままなら420÷1366≒30.7vw） */
  overflow: hidden;
  clip-path: url(#ctaWaveClip);
  transform: scaleY(-1);
}

.recruit-top-keyword__photo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 写真の見せる位置（縦）。0%＝写真の上側を見せる（頭が切れにくい）／100%＝下側。
     ※ 枠ごと上下反転しているため、この値は見た目どおりに効きます */
  object-position: 50% 0%;
  transform: scaleY(-1);
  background: #d9d9d9;
}

/* ------------------------------
   WELFAREセクション（働く環境について）
   COMPANYセクションと同じ構成、写真とテキストの左右が逆
   ------------------------------ */
.recruit-top-welfare {
  background: #fff;
  padding: 120px 0 104px;
}

.recruit-top-welfare__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}

.recruit-top-welfare__photo {
  position: relative;
  flex: 0 0 auto;
  padding-top: 0;
}

.recruit-top-welfare__photo-frame {
  display: block;
  width: 600px;
  height: 406px;
  border-radius: 30px;
  background: #d9d9d9;
  object-fit: cover;
}

.recruit-top-welfare__label {
  position: absolute;
  bottom: -36px;
  left: 0;
  width: 479.863px;
  height: 73.818px;
}

.recruit-top-welfare__text {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
}

.recruit-top-welfare__tag {
  display: inline-flex;
  height: 36px;
  padding: 2px 12px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid #000;
  background: #fff;
  width: fit-content;
  color: #0e212f;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%;
  letter-spacing: 0.6px;
}

.recruit-top-welfare__heading {
  margin: 24px 0 0;
  color: #0e212f;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 1.2px;
}

.recruit-top-welfare__body {
  margin-top: 32px;
}

.recruit-top-welfare__body p {
  color: #0e212f;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 17px;
  font-style: normal;
  font-weight: 500;
  line-height: 180%;
  letter-spacing: 0.51px;
}

.recruit-top-welfare__list {
  max-width: 1160px;
  margin: 92px auto 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.recruit-top-welfare__item {
  display: flex;
  align-items: center;
  gap: 50px;
  background: #e9f0fb;
  border-radius: 24px;
  padding: 50px 60px;
}

.recruit-top-welfare__item-photo {
  display: block;
  flex: 0 0 331px;
  width: 331px;
  height: 200px;
  border-radius: 20px;
  object-fit: cover;
  background: #d9d9d9;
}

.recruit-top-welfare__item-heading {
  margin: 0 0 16px;
  color: #0e212f;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 1.08px;
}

.recruit-top-welfare__item-body {
  margin: 0;
  color: #0e212f;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 180%;
  letter-spacing: 0.54px;
}

.recruit-top-welfare__benefits {
  max-width: 1160px;
  margin: 60px auto 0;
  background: #e9f0fb;
  border-radius: 24px;
  padding: 40px;
}

.recruit-top-welfare__benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.recruit-top-welfare__benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 331px;
  height: 230px;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-sizing: border-box;
  text-align: center;
}

.recruit-top-welfare__benefit-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
}

.recruit-top-welfare__benefit-icon {
  display: block;
  width: auto;
  height: auto;
  max-width: 56px;
  max-height: 56px;
}

.recruit-top-welfare__benefit-heading {
  margin: 12px 0 0;
  color: #0e212f;
  text-align: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 0.72px;
}

.recruit-top-welfare__benefit-body {
  margin: 12px 0 0;
  color: #0e212f;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%;
  letter-spacing: 0.45px;
}

/* ------------------------------
   FAQセクション（よくある質問・採用までの流れ）
   ------------------------------ */
.recruit-top-faq {
  background: #fdf8f0;
  padding: 100px 0 120px;
}

.recruit-top-faq__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.recruit-top-faq__heading {
  margin: 0;
  color: #0e212f;
  text-align: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 1.2px;
}

.recruit-top-faq__list {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recruit-top-faq__item {
  width: 100%;
}

.recruit-top-faq__question {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
  height: 90px;
  padding: 22px 40px;
  box-sizing: border-box;
  border: none;
  border-radius: 10px;
  background: #bfd9f2;
  cursor: pointer;
  text-align: left;
}

.recruit-top-faq__question[aria-expanded="true"] {
  border-radius: 10px 10px 0 0;
}

.recruit-top-faq__badge {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #fff;
}

.recruit-top-faq__badge--q {
  color: #4783c1;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 25px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
}

.recruit-top-faq__badge--a {
  background: #4783c1;
  color: #fff;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 25px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
}

.recruit-top-faq__question-text {
  flex: 1 1 auto;
  color: #0e212f;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%;
}

.recruit-top-faq__toggle {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
}

.recruit-top-faq__toggle::before,
.recruit-top-faq__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #4783c1;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.recruit-top-faq__toggle::before {
  width: 28px;
  height: 8px;
}

.recruit-top-faq__toggle::after {
  width: 8px;
  height: 28px;
  transition: transform 0.3s ease;
  transform: translate(-50%, -50%) rotate(0deg);
}

.recruit-top-faq__question[aria-expanded="true"]
  .recruit-top-faq__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.recruit-top-faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  border-radius: 0 0 10px 10px;
  border: 0 solid #bfd9f2;
  background: #fff;
  box-sizing: border-box;
  overflow: hidden;
  transition:
    grid-template-rows 0.3s ease,
    border-width 0.3s ease;
}

.recruit-top-faq__answer.is-open {
  grid-template-rows: 1fr;
  border-width: 2px;
}

.recruit-top-faq__answer-inner {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  min-height: 0;
  overflow: hidden;
  padding: 0 40px;
  transition: padding 0.3s ease;
}

.recruit-top-faq__answer.is-open .recruit-top-faq__answer-inner {
  padding: 50px 40px;
}

.recruit-top-faq__answer-text {
  margin: 0;
  color: #111;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%;
  letter-spacing: 0.6px;
}

.recruit-top-faq__flow-heading {
  margin: 120px 0 0;
  color: #0e212f;
  text-align: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 1.2px;
}

.recruit-top-faq__flow {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.recruit-top-faq__flow-item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.recruit-top-faq__flow-icon-wrap {
  width: 260px;
  height: 285px;
}

.recruit-top-faq__flow-icon {
  display: block;
  width: 260px;
  height: 285px;
}

.recruit-top-faq__flow-title {
  margin: 32px 0 0;
  color: #0e212f;
  text-align: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 0.6px;
}

.recruit-top-faq__flow-desc {
  margin: 8px 0 0;
  color: #0e212f;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%;
  letter-spacing: 0.45px;
}

/* ------------------------------
   MESSAGEセクション（採用メッセージ）
   ------------------------------ */
.recruit-top-message {
  background: #cfe4f7;
  padding: 80px 0;
  overflow: hidden;
}

.recruit-top-message__inner {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  height: 715px;
}

.recruit-top-message__photo {
  position: absolute;
  top: 0;
  left: 20px;
  z-index: 2;
}

.recruit-top-message__photo picture {
  display: block;
}

.recruit-top-message__photo-frame {
  display: block;
  width: 533px;
  height: 625px;
  border-radius: 30px;
  object-fit: cover;
  background: #d9d9d9;
}

.recruit-top-message__card {
  position: absolute;
  top: 66px;
  left: 220px;
  width: 960px;
  height: 649px;
  z-index: 1;
  background: #fff;
  border-radius: 40px;
  padding: 60px 60px 60px 395px;
  box-sizing: border-box;
}

.recruit-top-message__label {
  position: absolute;
  top: -38px;
  left: 395px;
  width: 480px;
  height: auto;
}

.recruit-top-message__tag {
  display: inline-flex;
  height: 36px;
  padding: 2px 12px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid #000;
  background: #fff;
  width: fit-content;
  color: #0e212f;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%;
  letter-spacing: 0.6px;
}

.recruit-top-message__heading {
  margin: 24px 0 0;
  color: #0e212f;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 1.08px;
}

.recruit-top-message__body {
  margin: 32px 0 0;
  color: #0e212f;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 180%;
}

.recruit-top-message__signature {
  margin: 32px 0 0;
  text-align: right;
  color: #0e212f;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  font-weight: 700;
}

/* ------------------------------
   REQUIREMENTSセクション（募集要項）
   ------------------------------ */
.recruit-top-requirements {
  background: #1a4fa0;
  padding: 80px 0;
}

.recruit-top-requirements__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.recruit-top-requirements__top {
  position: relative;
}

.recruit-top-requirements__illustration {
  position: absolute;
  top: -36px;
  right: -78px;
  width: 460px;
  height: 428px;
  aspect-ratio: 115 / 107;
  z-index: 2;
  pointer-events: none;
}

.recruit-top-requirements__head {
  text-align: center;
}

.recruit-top-requirements__label {
  display: block;
  margin: 0 auto;
  width: 480px;
  max-width: 100%;
  height: auto;
}

.recruit-top-requirements__subtitle {
  margin: 16px 0 0;
  color: #fff;
  text-align: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 1.2px;
}

.recruit-top-requirements__tabs {
  display: flex;
  margin-top: 40px;
}

.recruit-top-requirements__tab {
  width: 300px;
  height: 95px;
  border: none;
  border-radius: 30px 30px 0 0;
  cursor: pointer;
  background: #e3e7ed;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  letter-spacing: 0.96px;
  text-align: center;
  box-sizing: border-box;
}

.recruit-top-requirements__tab.is-active {
  background: #bfd9f2;
  color: #2f4a66;
}

.recruit-top-requirements__card {
  position: relative;
  margin-top: 0;
  background: #fff;
  border-radius: 0 0 40px 40px;
  padding: 100px 100px 100px;
  box-sizing: border-box;
}

.recruit-top-requirements__panel[hidden] {
  display: none;
}

.recruit-top-requirements__list {
  margin: 0;
}

.recruit-top-requirements__row {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid #bebebe;
}

.recruit-top-requirements__row-label {
  flex: 0 0 158.629px;
  width: 158.629px;
  height: 36px;
  margin: 0;
  color: #0e212f;
  font-feature-settings: "palt" on;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 200%;
  letter-spacing: 0.54px;
}

.recruit-top-requirements__row-value {
  flex: 1 1 auto;
  margin: 0;
  color: #0e212f;
  font-feature-settings: "palt" on;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 200%;
  letter-spacing: 0.54px;
}

.recruit-top-requirements__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  margin: 80px auto 0;
  width: 351px;
  height: 75px;
  padding: 22px 30px 21px 50px;
  border-radius: 10px;
  background: #0169b9;
  color: #fff;
  text-decoration: none;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
  line-height: 160%;
  letter-spacing: 0.6px;
}

.recruit-top-requirements__cta-arrow {
  display: block;
  width: 20px;
  height: 8px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.recruit-top-requirements__cta:hover .recruit-top-requirements__cta-arrow {
  transform: translateX(15px);
}

@media (max-width: 900px) {
  .recruit-top-requirements__illustration {
    width: 220px;
    height: 205px;
    aspect-ratio: 115 / 107;
  }

  .recruit-top-requirements__label {
    width: 70%;
  }

  .recruit-top-requirements__subtitle {
    font-size: 26px;
  }

  .recruit-top-requirements__card {
    margin-top: 24px;
  }

  .recruit-top-requirements__tabs {
    width: 100%;
  }

  .recruit-top-requirements__tab {
    width: 50%;
    height: 64px;
    font-size: 18px;
  }

  .recruit-top-requirements__body {
    padding: 32px 20px 24px;
  }

  .recruit-top-requirements__row {
    flex-direction: column;
    gap: 8px;
    padding: 16px 0;
  }

  .recruit-top-requirements__row-label {
    width: auto;
    height: auto;
    flex: none;
  }

  .recruit-top-requirements__cta {
    width: 100%;
    margin: 40px auto 0;
    font-size: 16px;
  }
}

.recruit-top-people {
  background: #fdf8f0;
  padding: 100px 0;
  overflow: hidden;
}

/* PC：セクション上端 →「人について」タグの上端 = 120px（Figma）
   ※ 見出しブロックはイラストの高さに合わせて縦中央に並ぶため、タグはセクション上端＋余白＋約80px の位置になる */
@media (min-width: 561px) {
  .recruit-top-people {
    padding-top: 40px;
  }
}

.recruit-top-people__inner {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}

.recruit-top-people__head {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 0px;
}

.recruit-top-people__text {
  flex: 0 0 492px;
  width: 492px;
  max-width: 492px;
}

.recruit-top-people__tag {
  display: inline-flex;
  height: 36px;
  padding: 2px 12px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid #000;
  background: #fff;
  width: fit-content;
  color: #0e212f;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%;
  letter-spacing: 0.6px;
  margin: 0 0 24px;
}

.recruit-top-people__heading {
  margin: 0 0 24px;
  color: #0e212f;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 1.2px;
  white-space: nowrap;
}

.recruit-top-people__body {
  margin: 0;
  color: #0e212f;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 17px;
  font-style: normal;
  font-weight: 500;
  line-height: 180%;
  letter-spacing: 0.51px;
}

.recruit-top-people__illustration {
  flex: 0 0 773px;
  max-width: 773px;
  width: 100%;
  height: auto;
}

.recruit-top-people__nav {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  width: fit-content;
  margin-left: auto;
}

.recruit-top-people__cards-wrap {
  position: relative;
  margin-top: 48px;
}

/* 背景のシームレステキストスライダー（テキストは画像で書き出し） */
.recruit-top-people__marquee {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100vw / var(--z));
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.recruit-top-people__marquee-track {
  display: flex;
  width: max-content;
  animation: recruit-top-people-marquee 50s linear infinite;
}

.recruit-top-people__marquee-group {
  display: flex;
  flex-shrink: 0;
}

.recruit-top-people__marquee-group img {
  width: 797.263px;
  height: 93.701px;
  margin-right: 60px;
}

@keyframes recruit-top-people-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* カード・カルーセル部分は recruit-interview.css の「他の先輩のインタビュー」と同じデザインを再利用
   （.interview-others__card, .interview-others__nav-btn, Swiperの設定など） */
.recruit-top-people__swiper {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.recruit-top-people__swiper .swiper-slide {
  width: 470px;
  height: auto;
}

.interview-others__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 49px;
  height: 49px;
  border-radius: 50%;
  border: 1px solid #0e212f;
  background: #ffffff;
  cursor: pointer;
  transition: opacity 0.2s;
  padding: 0;
}

.interview-others__nav-btn:hover {
  opacity: 0.7;
}

.interview-others__card {
  position: relative;
  display: block;
  width: 470px;
  box-sizing: border-box;
  text-decoration: none;
}

.interview-others__card-top {
  position: relative;
  padding: 20px 20px 0;
  height: 520px;
  box-sizing: border-box;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect x='0' y='4' width='8' height='2' rx='1' fill='currentColor'/%3E%3Crect x='10' y='14' width='8' height='2' rx='1' fill='currentColor'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 20px 20px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 30px;
  border: 2px solid #000000;
  overflow: hidden;
}

.interview-others__card--green .interview-others__card-top {
  background-image: url("../image/interview/midorihaikei.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.interview-others__card--blue .interview-others__card-top {
  background-image: url("../image/interview/aohaikei.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.interview-others__card--orange .interview-others__card-top {
  background-image: url("../image/interview/orangehaikei.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.interview-others__card--teal .interview-others__card-top {
  background-image: url("../image/interview/tealhaikei.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.interview-others__card-tag {
  position: absolute;
  top: 0;
  left: 0;
  /* Figma：262×69 固定、文字は中央（部署名の長さによらず同じ大きさ） */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 262px;
  height: 69px;
  padding: 0;
  border-radius: 30px 0 20px 0;
  background: #ffffff;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 900;
  line-height: 150%;
  letter-spacing: 0.72px;
  text-align: center;
  color: #2f4a66;
  white-space: nowrap;
  box-sizing: border-box;
}

.interview-others__card-avatar {
  display: block;
  width: 410px;
  height: 424px;
}

.interview-others__card-body {
  position: relative;
  width: 424px;
  margin: -55px auto 0;
  padding: 20px 24px 16px;
  border-radius: 20px;
  border: 2px solid #0e212f;
  background: #ffffff;
  box-sizing: border-box;
  z-index: 1;
}

.interview-others__card-copy {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 27px;
  font-style: normal;
  font-weight: 700;
  color: #2f4a66;
  line-height: 150%;
  letter-spacing: 0.9px;
  margin: 0;
}

.interview-others__card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.interview-others__card-meta {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
}

.interview-others__card-meta-year {
  font-size: 16px;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 0.48px;
  color: #2f4a66;
}

.interview-others__card-meta-sep {
  font-size: 16px;
  font-weight: 700;
  color: #2f4a66;
}

.interview-others__card-meta-initial {
  font-size: 20px;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 0.6px;
  color: #2f4a66;
}

.interview-others__card-arrow {
  display: block;
  width: 27px;
  height: 27px;
  flex-shrink: 0;
}

.interview-others__card-arrow img {
  display: block;
  width: 100%;
  height: 100%;
}

/* 一覧カード用イラスト（470×520の枠いっぱいに、人物の位置込みで書き出した画像） */
.interview-others__card .interview-others__card-avatar--full {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center bottom;
}

/* マウスオンで、イラストからふわっと写真に切り替える */
.interview-others__card-tag {
  z-index: 2;
}
.interview-others__card-avatar {
  transition: opacity 0.5s ease;
}
.interview-others__card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
@media (hover: hover) {
  .interview-others__card:hover .interview-others__card-photo {
    opacity: 1;
  }
  .interview-others__card:hover .interview-others__card-avatar {
    opacity: 0;
  }
}
.interview-others__card:focus-visible .interview-others__card-photo {
  opacity: 1;
}
.interview-others__card:focus-visible .interview-others__card-avatar {
  opacity: 0;
}

/* ==============================
   SPスタイル（max-width: 560px）
   ============================== */
@media (max-width: 560px) {
  /* ------------------------------
     KVセクション（デザイン 710×940 の割合で配置。スマホのデザイン幅は375px）
     ------------------------------ */
  .recruit-top-kv {
    aspect-ratio: 710 / 940; /* 下端（クリーム色の始まり）は y=940 */
  }

  /* イラストのキャンバス：幅100%（左右に白い線が出ないように）・上14.89%（748×882の比率） */
  .recruit-top-kv__layers {
    left: 0;
    top: 14.89%;
    right: auto;
    bottom: auto;
    width: 100%;
    aspect-ratio: 748 / 882;
    overflow: visible;
  }

  .recruit-top-kv__layer img {
    height: 100%;
  }

  /* PC用の六角形は隠し、スマホ用（mv-hex-sp-N）を表示 */
  .recruit-top-kv__hexes {
    display: none;
  }

  .recruit-top-kv__hexes--sp {
    display: block;
    height: calc(100% * 1340 / 940);
  }

  .recruit-top-kv__hex--sp-1 { left: 12.39%; top: 8.66%; width: 14.6%; }
  .recruit-top-kv__hex--sp-2 { left: 54.51%; top: 70.82%; width: 31.41%; }
  .recruit-top-kv__hex--sp-3 { left: 12.11%; top: 83.43%; width: 23.1%; }
  .recruit-top-kv__hex--sp-4 { left: 76.76%; top: 87.16%; width: 20.7%; }

  .recruit-top-kv__inner {
    padding: 0;
  }

  /* キャッチコピー：デザインでは左5.92%・上95.0%（KVの下端をまたぐ） */
  .recruit-top-kv__heading {
    top: 95%;
    left: 5.92%;
  }

  .recruit-top-kv__box {
    zoom: var(--kvs-sp, 1); /* 画面幅 ÷ 375 */
  }

  /* 枠の高さは文字の行間(43.5px)＋罫線で決まる（PC用の固定72pxを解除） */
  /* デザイン：枠の内側の余白は 上2・下3・左10・右11（罫線2pxを含む）→ 箱の高さは 2+43.5+3 */
  .recruit-top-kv__box {
    height: auto;
    min-height: 0;
    padding: 0 9px 1px 8px;
  }

  .recruit-top-kv__box--line1 {
    width: fit-content;
  }

  .recruit-top-kv__box--line2 {
    width: fit-content;
    margin-top: 8px;
    gap: 6px;
  }

  .recruit-top-kv__text {
    color: #0e212f;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 29px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 43.5px */
    letter-spacing: 0.87px;
  }

  .recruit-top-kv__text--line2 {
    letter-spacing: 0.87px; /* デザインでは1行目と同じ字間 */
  }

  .recruit-top-kv__kikutani-svg {
    width: 161px;
    height: 30px;
  }

  /* ------------------------------
     会社を知るセクション
     ------------------------------ */
  .recruit-top-company {
    padding-top: 65.9vw; /* KVの六角形・キャッチコピーが重なる分（デザイン：468/710） */
    padding-bottom: 33px;
  }

  .recruit-top-company__tag {
    font-size: 18px;
    line-height: 160%; /* 28.8px */
    letter-spacing: 0.54px;
  }

  .recruit-top-company__heading {
    font-size: 30px;
    line-height: 150%; /* 45px */
    letter-spacing: 0.9px;
  }

  .recruit-top-company__body p {
    font-size: 16px;
    line-height: 180%; /* 28.8px */
    letter-spacing: 0.48px;
  }

  /* TODO: 写真まわりのレイアウトは仮組み（横幅はみ出し防止のみ）。実寸が決まり次第調整してください */
  .recruit-top-company__inner {
    flex-direction: column;
    gap: 56px; /* 本文の下→COMPANYラベルの上 36px ＋ ラベルが写真に重なる 20px */
    padding: 0 22px;
  }

  .recruit-top-company__photo {
    width: 100%;
  }

  .recruit-top-company__photo-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 600 / 406;
  }

  .recruit-top-company__label {
    width: 265.645px;
    height: 38.864px;
    max-width: none;
    top: -20px;
    right: 5.4px;
  }

  /* ------------------------------
     強みセクション（3つの円クラスター）
     ------------------------------ */
  .recruit-top-strength {
    padding: 0 0 80px;
  }

  .recruit-top-strength__circles {
    height: 401px;
  }

  .recruit-top-strength__circle {
    position: absolute;
    width: 215px;
    height: 215px;
    border-radius: 50%;
    padding: 0 20px;
  }

  .recruit-top-strength__circle + .recruit-top-strength__circle {
    margin-left: 0;
  }

  .recruit-top-strength__circle:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
  }

  .recruit-top-strength__circle:nth-child(2) {
    top: 186px;
    left: calc(50% - 197.5px);
    z-index: 2;
  }

  .recruit-top-strength__circle:nth-child(3) {
    top: 186px;
    left: calc(50% - 17.5px);
    padding: 0 12px;
    z-index: 2;
  }

  .recruit-top-strength__icon {
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
  }

  /* アイコンの大きさ（Figma）：時計 22×25 ／ 船 25×25 ／ 日本地図 28×25 */
  .recruit-top-strength__circle:nth-child(1) .recruit-top-strength__icon {
    width: 22px;
    height: 25px;
  }

  .recruit-top-strength__circle:nth-child(2) .recruit-top-strength__icon {
    width: 25px;
    height: 25px;
  }

  .recruit-top-strength__circle:nth-child(3) .recruit-top-strength__icon {
    width: 28px;
    height: 25px;
  }

  .recruit-top-strength__heading {
    font-size: 16px;
    line-height: 130%; /* 20.8px */
    letter-spacing: 0.48px;
    color: #2f4a66;
  }

  .recruit-top-strength__body {
    margin-top: 8px;
    font-size: 12px;
    line-height: 180%; /* 21.6px */
    letter-spacing: 0.36px;
    color: #1d2e45;
  }

  .recruit-top-strength__slider {
    margin-top: 109px;
  }

  .recruit-top-strength__boat {
    top: 100%;
    right: 0;
    bottom: auto;
    left: auto;
    width: 224px;
    height: 126px;
    aspect-ratio: 16 / 9;
    bottom: -138px;
    top: auto;
  }

  .recruit-top-strength__photo {
    width: 300px;
    height: 210px;
  }

  /* ------------------------------
     仕事を知る（BUSINESS）セクション
     ------------------------------ */
  .recruit-top-business__tag {
    font-size: 18px;
    line-height: 160%; /* 28.8px */
    letter-spacing: 0.54px;
  }

  .recruit-top-business__heading {
    font-size: 30px;
    line-height: 150%; /* 45px */
    letter-spacing: 0.9px;
  }

  .recruit-top-business__body p {
    font-size: 16px;
    line-height: 180%; /* 28.8px */
    letter-spacing: 0.48px;
  }

  .recruit-top-business__intro {
    padding-top: 60px;
    padding-bottom: 0;
  }

  .recruit-top-business__intro-inner {
    padding: 0 22px;
  }

  .recruit-top-business__photo {
    flex: 1 1 100%;
    max-width: 100%;
    order: 2;
  }

  .recruit-top-business__text {
    order: 1;
    max-width: 100%;
  }

  .recruit-top-business__label {
    width: 254.086px;
    height: 38.881px;
    max-width: none;
    top: -15px;
  }

  .recruit-top-business__card-number {
    font-size: 24px;
    line-height: 150%; /* 36px */
    letter-spacing: 1.2px;
  }

  .recruit-top-business__card-label {
    font-size: 18px;
    line-height: 150%; /* 27px */
    letter-spacing: 0.9px;
  }

  .recruit-top-business__card-dept {
    font-size: 24px;
    line-height: 150%; /* 36px */
    letter-spacing: 0.72px;
  }

  .recruit-top-business__card-title {
    font-size: 20px;
    line-height: 150%; /* 30px */
    letter-spacing: 0.6px;
  }

  .recruit-top-business__card-desc {
    font-size: 15px;
    line-height: 180%; /* 27px */
    letter-spacing: 0.45px;
  }

  .recruit-top-business__stack {
    padding-top: 30px;
  }

  /* スマホでは画面が低い端末だとスティッキー表示中に
     カード下部（写真・メモ）が見えなくなる恐れがあるため、
     スマホ幅ではスティッキーを解除し、通常の縦積みにする */
  .recruit-top-business__card {
    position: relative; /* イラストをカードごとの右上基準で配置するため（スティッキーは解除済み） */
    top: auto;
    transform: none;
    height: auto;
    width: auto;
    margin: 0 22px;
    padding: 50px 30px 40px;
  }

  .recruit-top-business__card + .recruit-top-business__card {
    margin-top: 24px;
  }

  .recruit-top-business__card:nth-child(2),
  .recruit-top-business__card:nth-child(3),
  .recruit-top-business__card:nth-child(4) {
    transform: none;
  }

  .recruit-top-business__stack-spacer {
    height: 0;
  }

  .recruit-top-business__stack-gap {
    height: 60px;
  }

  .recruit-top-business__card-inner {
    gap: 32px;
  }

  .recruit-top-business__card-text {
    max-width: 100%;
  }

  .recruit-top-business__card-visual {
    display: none;
  }

  .recruit-top-business__card-illustration {
    position: absolute;
    top: 50px;
    right: 22px;
    left: auto;
    bottom: auto;
    width: 180px;
    height: 118px;
    aspect-ratio: 90 / 59;
  }

  /* スマホ：イラストは各カードの右上基準（PC用のカード別 left / top / width を打ち消して指定） */
  .recruit-top-business__card:nth-of-type(n) .recruit-top-business__card-illustration {
    left: auto;
    bottom: auto;
  }

  .recruit-top-business__card:nth-of-type(1) .recruit-top-business__card-illustration {
    top: 37px;
    right: -1px;
    width: 180px;
    height: 118px;
    aspect-ratio: 90 / 59;
  }

  .recruit-top-business__card:nth-of-type(2) .recruit-top-business__card-illustration {
    top: 0;
    right: -1px;
    width: 135px;
    height: 127px;
    aspect-ratio: 118 / 111;
  }

  .recruit-top-business__card:nth-of-type(3) .recruit-top-business__card-illustration {
    top: 12px;
    right: -2px;
    width: 189px;
    height: 110px;
    aspect-ratio: 189 / 110;
  }

  .recruit-top-business__card:nth-of-type(4) .recruit-top-business__card-illustration {
    top: 31px;
    right: -2px;
    width: 164px;
    height: 108px;
    aspect-ratio: 41 / 27;
  }

  .recruit-top-business__card-eyebrow {
    max-width: 145px;
  }

  /* 見出し・本文の間隔：Figma（SP）に合わせる（見出し→小見出し 11px、小見出し→本文 10px） */
  .recruit-top-business__card-title {
    margin-top: 11px;
  }

  .recruit-top-business__card-desc {
    margin-top: 10px;
  }

  /* 部署名は折り返さず1行で表示（例：エンジニアリング部） */
  .recruit-top-business__card-dept {
    max-width: none;
    white-space: nowrap;
  }

  /* 見出し・本文：カーニング（palt）を切ってFigmaの文字幅・改行位置に合わせる */
  .recruit-top-business__card-dept,
  .recruit-top-business__card-title,
  .recruit-top-business__card-desc {
    font-feature-settings: normal;
    font-kerning: none;
  }

  /* 見出しは [改行] の位置だけで折り返す（例：必要なものを、必要な時に。） */
  .recruit-top-business__card-title {
    white-space: nowrap;
  }

  .recruit-top-business__card-photo {
    position: static;
    display: block;
    margin: 16px auto 0;
    width: 271px;
    max-width: 100%;
    height: 200px;
  }

  .recruit-top-business__card-note {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    margin: -20px 0 0 auto;
    width: 134.42px;
    height: 46.52px;
    z-index: 3;
  }

  /* ------------------------------
     数字で見るセクション（KEYWORD）
     ------------------------------ */
  .recruit-top-keyword {
    padding-top: 66px; /* セクション上端 → KEYWORD文字の上端（Figma: 66.11px） */
  }

  .recruit-top-keyword__inner {
    padding: 0 22px;
  }

  .recruit-top-keyword__title-img {
    width: 257.933px;
    height: 35.864px;
  }

  .recruit-top-keyword__bubble {
    width: 331px;
    min-height: 164px;
    max-width: 100%;
    padding: 20px 16px 24px;
  }

  .recruit-top-keyword__eyebrow {
    font-size: 16px;
    line-height: 160%; /* 25.6px */
    letter-spacing: 0.48px;
  }

  .recruit-top-keyword__lead {
    font-size: 25px;
    line-height: 150%; /* 37.5px */
    letter-spacing: 0.75px;
  }

  .recruit-top-keyword__lead-break {
    display: inline;
  }

  .recruit-top-keyword__list {
    /* minmax(0, 1fr)：中身の長さに引っ張られず、左右のカードを必ず同じ幅にする */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 11px;
    row-gap: 20px;
  }

  .recruit-top-keyword__item {
    width: auto;
    height: auto;
    margin: 0;
    padding: 28px 12px 20px;
    border: 3px solid #4783c1;
    border-radius: 16px;
  }

  .recruit-top-keyword__label {
    font-size: 24px;
    line-height: 160%; /* 38.4px */
    letter-spacing: 0.72px;
  }

  .recruit-top-keyword__label--members,
  .recruit-top-keyword__label-sub {
    font-size: 22px;
    line-height: 160%; /* 35.2px */
    letter-spacing: 0.66px;
  }

  .recruit-top-keyword__label-sub {
    display: inline-block;
    white-space: nowrap;
  }

  .recruit-top-keyword__count {
    font-size: 40px;
    line-height: 160%; /* 64px */
    letter-spacing: 1.2px;
  }

  .recruit-top-keyword__unit {
    font-size: 28px;
    line-height: 150%; /* 42px */
    letter-spacing: 0.84px;
  }

  .recruit-top-keyword__caption {
    font-size: 20px;
    line-height: 160%; /* 32px */
    letter-spacing: 0.6px;
  }

  .recruit-top-keyword__number::after {
    left: 0;
    width: 100%;
    transform: none;
    height: 6px;
  }

  .recruit-top-keyword__icon {
    width: 48px;
    height: 48px;
  }

  .recruit-top-keyword__icon[src$="keyword-icon-02.svg"] {
    width: 53px;
    height: 48px;
  }

  .recruit-top-keyword__icon[src$="keyword-icon-03.svg"] {
    width: 53px;
    height: 48px;
  }

  .recruit-top-keyword__icon[src$="keyword-icon-04.svg"] {
    width: 46px;
    height: 46px;
  }

  .recruit-top-keyword__icon[src$="keyword-icon-05.svg"] {
    width: 82px;
    height: 48px;
  }

  .recruit-top-keyword__icon[src$="keyword-icon-06.svg"] {
    width: 44px;
    height: 54px;
  }

  .recruit-top-keyword__icon[src$="keyword-icon-07.svg"] {
    width: 58px;
    height: 48px;
  }

  .recruit-top-keyword__icon[src$="keyword-icon-08.svg"] {
    width: 54px;
    height: 50px;
  }

  .recruit-top-keyword__icon[src$="keyword-icon-09.svg"] {
    width: 35px;
    height: 48px;
  }

  .recruit-top-keyword__photo {
    height: 228px;
  }

  /* ------------------------------
     人についてセクション（PEOPLE）
     recruit-interview.css の「他の先輩のインタビュー」SP実装
     （.interview-others__card 等）と同じ考え方で構築
     ------------------------------ */
  .recruit-top-people {
    padding: 60px 0;
  }

  /* ------------------------------
     働く環境についてセクション（WELFARE）
     ------------------------------ */
  .recruit-top-welfare__tag {
    font-size: 18px;
    line-height: 160%; /* 28.8px */
    letter-spacing: 0.54px;
  }

  .recruit-top-welfare__heading {
    font-size: 30px;
    line-height: 150%; /* 45px */
    letter-spacing: 0.9px;
  }

  .recruit-top-welfare__label {
    width: 241.096px;
    height: 37.909px;
    bottom: -19px;
  }

  .recruit-top-welfare__item-heading {
    font-size: 28px;
    line-height: 150%; /* 42px */
    letter-spacing: 0.84px;
  }

  .recruit-top-welfare__item-body {
    font-size: 16px;
    line-height: 180%; /* 28.8px */
    letter-spacing: 0.48px;
  }

  .recruit-top-welfare__inner {
    max-width: none;
    padding: 0 22px;
    flex-direction: column;
    gap: 30px;
  }

  .recruit-top-welfare__photo-frame {
    width: 331px;
    height: 230px;
  }

  .recruit-top-welfare__photo {
    order: 2;
  }

  .recruit-top-welfare__text {
    order: 1;
    flex: 0 0 auto;
    min-width: 0;
  }

  .recruit-top-welfare__list {
    max-width: none;
    margin: 66px 0 0;
    padding: 0 22px;
    gap: 30px;
  }

  .recruit-top-welfare__item {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 40px 30px;
    border-radius: 20px;
  }

  .recruit-top-welfare__item-photo {
    order: 2;
    flex: none;
    width: 100%;
    height: 160px;
    border-radius: 20px;
    background: #ebf3fb;
  }

  .recruit-top-welfare__item-text {
    order: 1;
  }

  .recruit-top-welfare__benefits {
    max-width: none;
    width: 100%;
    margin: 50px 0 0;
    margin-left: 0;
    margin-right: 0;
    padding: 50px 16px 24px;
  }

  .recruit-top-welfare__benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 11px;
    row-gap: 0; /* カード間の縦の間隔は各カードの margin-bottom で取る（下のsubgridのため） */
    justify-content: normal;
  }

  /* 同じ行のカードで「アイコン・見出し・本文」の上辺をそろえる（subgrid）。
     見出しが1行のカードは、2行のカードの見出し枠の中央に置く */
  .recruit-top-welfare__benefit {
    grid-row: span 3;
    display: grid;
    grid-template-rows: subgrid;
    row-gap: 0;
    width: auto;
    height: auto;
    padding: 16px 16px 24px;
    margin-bottom: 20px;
  }

  .recruit-top-welfare__benefit:nth-last-child(-n + 2) {
    margin-bottom: 0;
  }

  .recruit-top-welfare__benefit-heading {
    align-self: center;
  }

  .recruit-top-welfare__benefit-body {
    align-self: start;
  }

  .recruit-top-welfare__benefit-icon {
    width: 44px;
    height: 44px;
    max-width: none;
    max-height: none;
  }

  .recruit-top-welfare__benefit-icon[src$="welfare-icon-02.svg"] {
    width: 45px;
    height: 41px;
  }

  .recruit-top-welfare__benefit-icon[src$="welfare-icon-04.svg"] {
    width: 59px;
    height: 41px;
  }

  .recruit-top-welfare__benefit-icon[src$="welfare-icon-05.svg"] {
    width: 46px;
    height: 41px;
  }

  .recruit-top-welfare__benefit-icon[src$="welfare-icon-06.svg"] {
    width: 41px;
    height: 41px;
  }

  .recruit-top-welfare__benefit-icon[src$="welfare-icon-07.svg"] {
    width: 65px;
    height: 41px;
  }

  .recruit-top-welfare__benefit-icon[src$="welfare-icon-08.svg"] {
    width: 41px;
    height: 41px;
  }

  .recruit-top-welfare__benefit-icon[src$="welfare-icon-09.svg"] {
    width: 34px;
    height: 41px;
  }

  .recruit-top-welfare__benefit-icon[src$="welfare-icon-10.svg"] {
    width: 41px;
    height: 41px;
  }

  .recruit-top-welfare__benefit-icon[src$="welfare-icon-11.svg"] {
    width: 41px;
    height: 41px;
  }

  .recruit-top-welfare__benefit-icon[src$="welfare-icon-13.svg"] {
    width: 51px;
    height: 41px;
  }

  .recruit-top-welfare__benefit-icon[src$="welfare-icon-12.svg"] {
    width: 43px;
    height: 41px;
    transform: scaleX(-1);
  }

  .recruit-top-welfare__benefit-heading {
    font-size: 18px;
    line-height: 130%;
    letter-spacing: 0.54px;
  }

  .recruit-top-welfare__benefit-body {
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0.42px;
  }

  .recruit-top-people__tag {
    height: 29px;
    margin: 0 0 16px;
    font-size: 18px;
    line-height: 160%; /* 28.8px */
    letter-spacing: 0.54px;
  }

  .recruit-top-people__heading {
    margin: 0 0 16px;
    font-size: 30px;
    line-height: 150%; /* 45px */
    letter-spacing: 0.9px;
    white-space: normal;
  }

  .recruit-top-people__body {
    font-size: 16px;
    line-height: 180%; /* 28.8px */
    letter-spacing: 0.48px;
  }

  /* スマホ：見出しの右にイラスト、本文は幅いっぱい */
  .recruit-top-people__head {
    display: block;
    position: relative;
  }

  .recruit-top-people__text {
    width: auto;
    max-width: none;
  }

  .recruit-top-people__illustration {
    position: absolute;
    top: 38px;
    right: -30px;
    width: 217px;
    height: 145px;
    aspect-ratio: 217 / 145;
    max-width: none;
  }

  .recruit-top-people__marquee-group img {
    width: auto;
    height: 44.861px;
  }

  .recruit-top-people__inner {
    position: relative;
  }

  /* 矢印はカードの縦中央あたり（見出し3行＋本文7行のデザイン基準。カード上端から約133px下） */
  .recruit-top-people__cards-wrap {
    margin-top: 28px;
  }

  .recruit-top-people__nav {
    position: absolute;
    top: 558px;
    left: 0;
    width: 100%;
    right: auto;
    transform: none;
    margin: 0;
    justify-content: space-between;
    padding: 0 38px;
    box-sizing: border-box;
    z-index: 2;
    pointer-events: none;
  }

  .recruit-top-people__nav .interview-others__nav-btn {
    pointer-events: auto;
  }

  .recruit-top-people__nav .interview-others__nav-btn svg {
    width: 11px;
    height: 17px;
  }

  .recruit-top-people__swiper {
    padding: 0 22px;
    box-sizing: border-box;
  }

  .recruit-top-people__swiper .swiper-slide {
    width: 331px;
  }

  .interview-others__card {
    width: 250px;
    margin: 0 auto;
  }

  .interview-others__card-top {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    width: 250px;
    height: 280px;
    padding: 0;
  }

  .interview-others__card-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 56px;
    padding: 0;
    font-size: 18px;
    line-height: 150%; /* 27px */
    letter-spacing: 0.54px;
    white-space: normal;
    text-align: center;
  }

  .interview-others__card-avatar {
    /* デザイン：イラストは全体が見える大きさ（幅221px）で、カード下端に合わせる */
    width: 221px;
    height: auto;
    max-width: none;
    object-fit: contain;
  }

  .interview-others__card-body {
    width: 250px;
    margin: -32px auto 0;
    padding: 15px 12px 12px 20px;
    border-radius: 20px;
    border: 2px solid #0e212f;
    background: #fff;
  }

  .interview-others__card-copy {
    font-size: 20px;
    line-height: 130%; /* 26px */
    letter-spacing: 0.6px;
  }

  .interview-others__card-arrow {
    width: 27px;
    height: 27px;
  }

  .interview-others__card-meta-sep {
    display: inline-block;
    width: 1px;
    height: 18px;
    margin: 0 8px;
    font-size: 0;
    line-height: 0;
    color: transparent;
    background: #2f4a66;
    vertical-align: middle;
  }

  /* 海と未来をつなぐ仲間へ (CTA) : recruit-interview.css と同じデザインを再利用 */
  .interview-cta {
    min-height: 773px;
  }
  .interview-cta__photo {
    height: 331px;
  }
  .interview-cta__text {
    top: 117px;
  }
  .interview-cta__title img {
    width: 174px;
  }
  .interview-cta__subtitle {
    font-size: 14px;
    letter-spacing: 0.42px;
    margin: 8px 0 0;
  }
  .interview-cta__cards {
    top: 299px;
    left: 22px;
    transform: none;
    flex-direction: column;
    gap: 20px;
    width: 331px;
  }
  .interview-cta__card {
    flex: none;
    width: 331px;
    height: 197px;
    border-radius: 15px;
    padding: 24px 38px 24px 40px;
  }
  .interview-cta__card-label {
    font-size: 13px;
    letter-spacing: 0.39px;
    margin: 0 0 4px;
  }
  .interview-cta__card-title {
    font-size: 28px;
    margin: 0 0 8px;
  }
  .interview-cta__card-desc {
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: 0.39px;
    margin: 0 0 10px;
  }
  .interview-cta__card-link {
    font-size: 14px;
    letter-spacing: 0.42px;
  }
  .interview-cta__card-arrow {
    width: 19px;
    height: 19px;
  }

  /* よくある質問 (FAQ) */
  .recruit-top-faq__question-text {
    font-size: 16px;
    font-weight: 700;
    line-height: 150%;
  }

  .recruit-top-faq__badge {
    width: 25px;
    height: 25px;
  }

  .recruit-top-faq__badge--q {
    font-size: 15px;
    line-height: 150%;
  }

  .recruit-top-faq__badge--a {
    font-size: 15px;
    line-height: 150%;
  }

  .recruit-top-faq__answer-text {
    font-size: 14px;
    line-height: 160%;
    letter-spacing: 0.42px;
  }

  .recruit-top-faq__answer-inner {
    padding-left: 20px;
    padding-right: 20px;
    gap: 17px;
  }

  .recruit-top-faq__answer.is-open .recruit-top-faq__answer-inner {
    padding-top: 22px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 24px;
  }

  .recruit-top-faq__heading {
    font-size: 30px;
    line-height: 150%;
    letter-spacing: 0.9px;
  }

  .recruit-top-welfare {
    padding-top: 60px;
    padding-bottom: 0;
    position: relative;
    z-index: 2;
    background: transparent;
  }

  .recruit-top-faq {
    margin-top: -30px;
    position: relative;
    z-index: 1;
    padding-bottom: 60px;
  }

  .recruit-top-faq__list {
    margin-top: 30px;
  }

  .recruit-top-faq__flow-heading {
    font-size: 30px;
    line-height: 150%;
    letter-spacing: 0.9px;
    margin-top: 60px;
  }

  .recruit-top-faq__flow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: normal;
    gap: 20px 15px; /* 丸の左端が 36px / 209px になる間隔（Figma） */
    margin-top: 30px;
  }

  .recruit-top-faq__flow-item {
    flex: none;
  }

  /* STEPの丸は 130×130（Figma）。画像は丸＋STEPバッジで 260:285 のため、幅130pxにすると丸が130pxになる */
  .recruit-top-faq__flow-icon-wrap {
    width: 130px;
    height: auto;
  }

  .recruit-top-faq__flow-icon {
    width: 130px;
    height: auto;
  }

  .recruit-top-faq__flow-title {
    font-size: 17px;
    line-height: 130%;
    letter-spacing: 0.51px;
  }

  .recruit-top-faq__flow-desc {
    font-size: 14px;
    line-height: 160%;
    letter-spacing: 0.42px;
  }

  /* MESSAGE (採用メッセージ) : 他セクションの共通パターンを踏襲 */
  .recruit-top-message {
    padding: 60px 0;
    overflow: visible;
  }

  .recruit-top-message__inner {
    max-width: none;
    height: auto;
    padding: 0 22px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }

  .recruit-top-message__photo {
    position: static;
    z-index: 2;
  }

  .recruit-top-message__photo-frame {
    width: 260px;
    height: 205px;
  }

  /* 写真が264→205pxに低くなった分（59px）、カードの上端位置はそのまま・文字の開始位置は写真に合わせて上げる */
  .recruit-top-message__card {
    position: static;
    width: 100%;
    height: auto;
    padding: 116px 22px 32px;
    border-radius: 20px;
    margin-top: -131px;
    z-index: auto;
    padding-bottom: 50px;
  }

  .recruit-top-message__label {
    position: relative;
    top: 0;
    left: 0;
    width: 247.194px;
    height: 38.881px;
    margin: 0 0 47px;
    z-index: 3;
  }

  .recruit-top-message__tag {
    height: auto;
    padding: 4px 12px;
    font-size: 18px;
    line-height: 160%;
    letter-spacing: 0.54px;
  }

  .recruit-top-message__heading {
    font-size: 30px;
    line-height: 150%;
    letter-spacing: 0.9px;
    margin-top: 20px;
  }

  .recruit-top-message__body {
    font-size: 16px;
    line-height: 180%;
  }

  .recruit-top-message__signature {
    font-size: 16px;
    font-weight: 500;
    line-height: 180%;
    letter-spacing: 0.48px;
    text-align: left;
    margin-top: 18px;
  }

  .recruit-top-message__signature-name {
    font-size: 18px;
    font-weight: 500;
    line-height: 180%;
    letter-spacing: 0.54px;
  }

  /* REQUIREMENTS (募集要項) */
  .recruit-top-requirements__illustration {
    display: none;
  }

  /* REQUIREMENTS の文字画像（Figma: 305.018 × 32.688） */
  .recruit-top-requirements__label {
    width: 305.018px;
    height: 32.688px;
    max-width: none;
  }

  .recruit-top-requirements__subtitle {
    font-size: 30px;
    line-height: 150%;
    letter-spacing: 0.9px;
  }

  .recruit-top-requirements__inner {
    padding: 0 15px;
  }

  .recruit-top-requirements__tabs {
    width: auto;
    gap: 7px;
  }

  .recruit-top-requirements__tab {
    flex: 0 1 163px; /* タブが3つ以上でも画面からはみ出さないよう縮める */
    min-width: 0;
    width: 163px;
    height: 66px;
    padding: 18px 0;
    border-radius: 15px 15px 0 0;
    color: #fff;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: 0.6px;
  }

  .recruit-top-requirements__tab.is-active {
    color: #2f4a66;
  }

  /* タブが3つ以上のときは文字を小さくして収める */
  .recruit-top-requirements__tabs:has(.recruit-top-requirements__tab:nth-child(3)) .recruit-top-requirements__tab {
    padding: 0 2px;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .recruit-top-requirements__card {
    margin-top: 0;
    border-radius: 0 20px 20px 20px;
    background: #fff;
    padding: 60px 25px;
  }

  .recruit-top-requirements__list {
    border-top: 1px solid rgba(190, 190, 190, 0.93);
  }

  .recruit-top-requirements__row {
    flex-direction: column;
    gap: 8px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(190, 190, 190, 0.93);
  }

  .recruit-top-requirements__row-label {
    font-size: 16px;
    font-weight: 700;
    line-height: 200%;
    letter-spacing: 0.48px;
  }

  .recruit-top-requirements__row-value {
    font-size: 16px;
    font-weight: 500;
    line-height: 160%;
    letter-spacing: 0.48px;
  }

  .recruit-top-faq__question {
    height: auto; /* PC用の固定高さ90pxを解除。1行なら 18+24+18 = 60px、2行なら自動で伸びる */
    min-height: 60px;
    padding: 18px 20px;
    gap: 17px;
  }

  .recruit-top-faq__toggle::before {
    width: 20px;
    height: 4px;
  }

  .recruit-top-faq__toggle::after {
    width: 4px;
    height: 20px;
  }
}

/* ==============================
   ノートPC対応：「人について」「他の先輩のインタビュー」カードを
   画面の幅・高さに合わせて縮める（561px以上。SPは変更なし）
   ※ recruit-top.css / recruit-interview.css 共通
   ============================== */
@media (min-width: 561px) {
  .interview-others__swiper,
  .recruit-top-people__swiper {
    --cw: clamp(300px, min(34vw, 62vh), 470px);
  }
}
@media (min-width: 1025px) {
  .interview-others__swiper,
  .recruit-top-people__swiper {
    --cw: 470px;
  }
}
@media (min-width: 561px) {
  .interview-others__swiper .swiper-slide,
  .recruit-top-people__swiper .swiper-slide {
    width: var(--cw);
  }
  .interview-others__card {
    width: var(--cw);
  }
  .interview-others__card-top {
    padding: calc(var(--cw) * 20 / 470) calc(var(--cw) * 20 / 470) 0;
    height: calc(var(--cw) * 520 / 470);
    border-radius: calc(var(--cw) * 30 / 470);
  }
  .interview-others__card-tag {
    width: calc(var(--cw) * 262 / 470);
    height: calc(var(--cw) * 69 / 470);
    padding: 0;
    font-size: calc(var(--cw) * 24 / 470);
    letter-spacing: calc(var(--cw) * 0.72 / 470);
    border-radius: calc(var(--cw) * 30 / 470) 0 calc(var(--cw) * 20 / 470) 0;
  }
  .interview-others__card-avatar {
    width: calc(var(--cw) * 410 / 470);
    height: calc(var(--cw) * 424 / 470);
    object-fit: contain;
  }
  .interview-others__card-body {
    width: calc(var(--cw) * 424 / 470);
    margin: calc(var(--cw) * -55 / 470) auto 0;
    padding: calc(var(--cw) * 20 / 470) calc(var(--cw) * 24 / 470) calc(var(--cw) * 16 / 470);
    border-radius: calc(var(--cw) * 20 / 470);
  }
  .interview-others__card-copy {
    font-size: calc(var(--cw) * 27 / 470);
    letter-spacing: calc(var(--cw) * 0.9 / 470);
  }
  .interview-others__card-meta-row {
    margin-top: calc(var(--cw) * 12 / 470);
  }
  .interview-others__card-meta-year,
  .interview-others__card-meta-sep {
    font-size: calc(var(--cw) * 16 / 470);
  }
  .interview-others__card-meta-initial {
    font-size: calc(var(--cw) * 20 / 470);
  }
  .interview-others__card-arrow {
    width: calc(var(--cw) * 27 / 470);
    height: calc(var(--cw) * 27 / 470);
  }
}

/* 人についてセクション：ノートPC幅で見出し・イラスト・背景文字を縮める */
@media (min-width: 561px) and (max-width: 1024px) {
  .recruit-top-people {
    padding: 70px 0 80px;
  }
  .recruit-top-people__text {
    flex: 0 1 44%;
    width: auto;
    min-width: 0;
  }
  .recruit-top-people__heading {
    font-size: clamp(28px, 3.3vw, 40px);
  }
  .recruit-top-people__body {
    font-size: clamp(14px, 1.4vw, 17px);
  }
  .recruit-top-people__illustration {
    flex: 1 1 0;
    min-width: 0;
    max-width: 773px;
  }
  .recruit-top-people__nav {
    margin-top: 28px;
  }
  .recruit-top-people__cards-wrap {
    margin-top: 32px;
  }
  .recruit-top-people__marquee-group img {
    width: clamp(480px, 58vw, 797px);
    height: auto;
    margin-right: clamp(36px, 4.4vw, 60px);
  }
}
