@charset "UTF-8";
/* =========================================================
   JLB LP — Stylesheet
   Fonts: Noto Sans JP
   Design tokens from Figma:
     知財/main       #0086CC
     知財/text_main  #101418
   ========================================================= */
:root {
  --color-main: #0086cc;
  --color-main-dark: #0067a3;
  --color-text: #101418;
  --color-badge-bg: #dbeafe;
  --color-accent-from: #d77515;
  --color-accent-to: #d72917;
  --color-bg-light: #eef6fd;
  --color-white: #ffffff;
  --shadow-card: 0 0 23.4px rgba(28, 100, 148, 0.16);
  --shadow-blue: 0 0 39.9px #b3ecff;
  --container: 1000px;
  --radius-lg: 24px;
  --radius-pill: 100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* SEO/アクセシビリティ用：視覚的に隠すが読み上げ・クローラには読ませる */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
}

/* 横スクロール・右側の余白（ページ全体が縮んで表示される現象）を防止。
   html と body の両方で、はみ出した部分を切り取る（stickyヘッダーが効く clip を使用） */
html,
body {
  overflow-x: clip;
}

/* reCAPTCHA のバッジ（公開サーバー側で自動で追加される右下のアイコン）対策。
   標準では画面の右外へ約186pxはみ出して固定表示され、iPhoneのSafariではそのはみ出しで
   ページ全体が縮小され右側に白い余白が出ることがある。表示幅を画面内（アイコン部分の70px）に収め、
   マウスを乗せた時だけ説明部分を広げる。バッジ自体は表示したまま（Googleの利用規約上、隠さない） */
.grecaptcha-badge {
  right: 0 !important;
  width: 70px !important;
  overflow: hidden !important;
  transition: width 0.3s ease !important;
  /* iOS Safari 等でもフォーム等の要素より手前に確実に表示されるよう最前面に固定する */
  z-index: 2147483647 !important;
}

.grecaptcha-badge:hover {
  width: 256px !important;
}

/* 全幅の要素は 100vw（スクロールバー分を含む）ではなく、スクロールバーを除いた画面幅 --page-w を使う
   （--page-w は index.html の head 内のJSで設定。JSが動かない時は 100vw） */
body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  /* コンテンツ幅を1000pxに（左右padding 24px分を足して確保） */
  max-width: calc(var(--container) + 48px);
  margin-inline: auto;
  padding-inline: 24px;
}

/* Accent gradient text (orange) */
.accent-grad {
  background-image: linear-gradient(20deg, var(--color-accent-from) 6%, var(--color-accent-to) 93%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-main {
  color: var(--color-main);
}

/* 見出し内の接続助詞（が / を）を縮小（Figma準拠：32px→約25px） */
.conj {
  font-size: 0.78em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.btn-primary {
  background: linear-gradient(90deg, #ff8a3d, #ff5a2c);
  color: #fff;
  font-size: 22px;
  padding: 20px 56px;
  box-shadow: 0 10px 24px rgba(255, 90, 44, 0.35);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-main);
  border: 2px solid var(--color-main);
  font-size: 18px;
  padding: 16px 40px;
}

/* ---------- Shared section heading ---------- */
.section {
  padding: 82px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-title {
  display: inline-block;
  position: relative;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.05em;
  transition: opacity 600ms ease 200ms, transform 600ms ease 200ms;
}

/* スクロールで下からふわっと出現（JS有効時のみ初期非表示） */
.js .section-title {
  opacity: 0;
  transform: translateY(30px);
}

.js .section-title.is-in {
  opacity: 1;
  transform: none;
}

/* 他セクションの見出しにも同じ出現アニメ */
.js .why__heading,
.js .testimonials__heading,
.js .jobs__title,
.js .faq__title {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms ease 200ms, transform 600ms ease 200ms;
}

.js .why__heading.is-in,
.js .testimonials__heading.is-in,
.js .jobs__title.is-in,
.js .faq__title.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .section-title,
  .js .why__heading,
  .js .testimonials__heading,
  .js .jobs__title,
  .js .faq__title {
    opacity: 1;
    transform: none;
  }
}
.section-title--underline::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -8px;
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, #ffd54a, #ffb300);
  border-radius: 6px;
  opacity: 0.85;
  z-index: -1;
}

.section-title .text-main {
  color: var(--color-main);
}

/* SVG下線（画像はご用意ください：images/title-underline.svg） */
.section-title__line {
  display: block;
  width: 100%;
  height: auto;
  margin: 4px auto 0;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; /* 絶対配置の .hero__people / .hero__shape の基準にする */
  overflow: hidden;
  /* 背景ベースは白の単色 */
  background: #ffffff;
  padding: 45px 0 178px;
  height: 710px;
}

/* PC：ヒーローをヘッダー高さ分だけ上へ拡張し、背景・装飾・人物をヘッダー背後まで回り込ませる。
   ページ上端からの位置は Figma どおり（文字の上端104px・ヒーロー下端715px） */
@media (min-width: 901px) {
  .hero {
    margin-top: calc(-1 * var(--header-h, 58px));
    padding-top: 104px;
    height: 715px;
  }
}
/* 装飾シェイプのラッパー（コンテナ） */
.hero__decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* シェイプごとの視差レイヤー。data-depth に応じて動きの量を変える（大きいシェイプほど大きく） */
.hero__parallax {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: transform 250ms ease-out;
  will-change: transform;
}

/* decorative shapes — individual images, ordered left → right = 1,2,3,4.
   Positions/sizes derived from the Figma layout (% of the 1536px design width). */
.hero__shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  height: auto;
}

/* anchored to the centered 1000px content (matches the Figma 268px margins) */
.hero__shape--1 {
  left: calc(48% - 804px);
  top: 25%;
  width: 579px;
} /* 大・左下 */
.hero__shape--2 {
  left: calc(50% - 127px);
  top: -16%;
  width: 213px;
} /* 上・中央寄り */
.hero__shape--3 {
  left: calc(47% + 520px);
  top: 0%;
  width: 221px;
} /* 小・右上 */
.hero__shape--4 {
  left: calc(50% + 516px);
  top: 4%;
  width: 388px;
} /* 縦長・右 */
/* 読み込み時：拡大(1.5)からゆっくり本来サイズへ／常時ゆらぎ（PC・SP共通）。
   独立した scale / translate プロパティを使い、拡大と揺れを競合させず両立 */
@keyframes heroShapeZoom {
  from {
    scale: 1.5;
  }
  to {
    scale: 1;
  }
}
@keyframes heroFloat {
  0% {
    translate: 0 0;
  }
  25% {
    translate: 12px -8px;
  }
  50% {
    translate: 0 -16px;
  }
  75% {
    translate: -12px -8px;
  }
  100% {
    translate: 0 0;
  }
}
.hero__shape {
  animation: heroShapeZoom 6000ms ease-out both, heroFloat 5.5s ease-in-out infinite;
}

.hero__parallax:nth-child(1) .hero__shape {
  animation-duration: 6000ms, 6s;
  animation-delay: 0s, -0.4s;
}

.hero__parallax:nth-child(2) .hero__shape {
  animation-duration: 6000ms, 5s;
  animation-delay: 0s, -1.6s;
}

.hero__parallax:nth-child(3) .hero__shape {
  animation-duration: 6000ms, 6.5s;
  animation-delay: 0s, -2.4s;
}

.hero__parallax:nth-child(4) .hero__shape {
  animation-duration: 6000ms, 7s;
  animation-delay: 0s, -0.9s;
}

@media (prefers-reduced-motion: reduce) {
  .hero__shape {
    animation: none;
  }
}
.hero__inner {
  position: relative;
  z-index: 1;
  transition: opacity 1000ms ease 300ms, transform 1000ms ease 300ms;
}

/* PCで画面が狭いときは文字部分を縮小して表示（倍率は head 内のJSで計算。改行位置を変えない） */
@media (min-width: 901px) {
  .hero__inner {
    zoom: var(--zoom-hero, 1);
  }
}
/* サイト読み込み時にゆっくり出現（JS有効時のみ初期非表示） */
.js .hero__inner {
  opacity: 0;
  transform: translateY(20px);
}

.js .hero__inner.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .hero__inner {
    opacity: 1;
    transform: none;
  }
}
/* 対象職種バッジ（4つ横並び） */
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin-bottom: 9px;
}

.hero__badge {
  background: var(--color-badge-bg);
  color: var(--color-main);
  font-weight: 700;
  font-size: 18px;
  line-height: 19px;
  letter-spacing: 0.08em;
  padding: 7px 12px; /* Figma：高さ33px */
  border-radius: 88px;
}

.hero__title {
  font-size: 62px;
  font-weight: 800;
  line-height: 86px; /* Figma：1行目と2行目の文字の上端の間隔86px */
  letter-spacing: 0.04em;
  font-feature-settings: "palt"; /* 約物・カナのアキを詰めて Figma の字詰めに近づける */
  white-space: nowrap;
  margin-bottom: 15px;
}

/* 背景の装飾に重なっても読めるよう、白い光彩を敷く（Figma の白ぼかし表現の代替） */
.hero__title-line2,
.hero__desc {
  text-shadow: 0 0 8px #fff, 0 0 4px #fff;
}

.hero__desc {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 23px;
}

.hero__desc strong {
  font-weight: 700;
}

/* 3つの特長（白ボックス×3を半透明の青パネルで囲む） */
.hero__benefits {
  display: inline-flex;
  gap: 14px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(59, 123, 187, 0.24);
}

.hero__benefit {
  width: 194px;
  height: 94px; /* Figma：94px。文字は上下中央 */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.hero__benefit .em,
.hero__benefit .em-dark {
  font-weight: 900;
}

.hero__benefit .lg {
  font-size: 24px;
}

/* form-appeal の特徴ピル（チェックアイコン付き） */
.hero__feature {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.65);
  padding: 2px 16px 2px 14px;
  border-radius: var(--radius-pill);
  /* デザインに忠実な青系の影 */
  box-shadow: 0 6px 20px rgba(0, 134, 204, 0.22), 0 0 14px rgba(155, 220, 255, 0.65);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: 1.4px;
  white-space: nowrap; /* PCでは改行しない */
}

.hero__feature svg {
  flex: none;
  width: 24px;
  height: 24px;
}

.hero__feature .em {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.4;
}

.hero__feature .sp-br {
  display: none;
} /* SPのみ改行 */
/* PCのみの改行（SPでは無効） */
.pc-br {
  display: inline;
}

.hero__text {
  position: relative;
  z-index: 2;
  width: fit-content;
  max-width: 100%;
}

/* 人物写真（Figma：hero-professionals-gallery 361×628）。.hero__text を基準に絶対配置し、
   .hero__inner の縮小（zoom）に合わせて一緒に縮む。座標は Figma の値そのまま */
.hero__people {
  position: absolute;
  left: 686.57px; /* Figma：954.57 − 文字の左端268 */
  top: -106px; /* Figma：−2 − 文字の上端104（ヘッダーの裏まで回り込む） */
  width: 361.08px;
  height: 627.71px;
  z-index: 1;
  pointer-events: none;
}

.hero__photo {
  position: relative;
  width: 100%;
  height: 100%;
}

/* .hero__inner と同じ登場アニメ */
.js .hero__photo {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1000ms ease 300ms, transform 1000ms ease 300ms;
}

.js .hero__photo.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .hero__photo {
    opacity: 1;
    transform: none;
  }
}
/* 1枚分のパネル：ガラス枠(SVG) → 傾けて切り抜いた写真 → ぼかした白い縁 の3層 */
.hero-person {
  position: absolute;
}

.hero-person--1 {
  left: 149.84px;
  top: 0;
  width: 211.24px;
  height: 327.92px;
} /* 右上：男性（眼鏡） */
.hero-person--2 {
  left: 0;
  top: 96px;
  width: 222.82px;
  height: 344.77px;
} /* 左：女性 */
.hero-person--3 {
  left: 93.07px;
  top: 260.4px;
  width: 237.51px;
  height: 367.3px;
} /* 下：男性 */
.hero-person__frame {
  position: absolute;
  top: 0;
  display: block;
  max-width: none;
}

.hero-person--1 .hero-person__frame {
  left: 0;
  width: 211.239px;
  height: 327.229px;
}

.hero-person--2 .hero-person__frame {
  left: 1.69px;
  width: 221.131px;
  height: 342.551px;
}

.hero-person--3 .hero-person__frame {
  left: 2px;
  width: 235.512px;
  height: 364.83px;
}

/* 写真の切り抜き：白い縁と同じ「12°回転＋12°斜め＋縦98%」の角丸で切り抜き、写真は角丸の中にそのまま置く。
   .hero-person__crop は切り抜き形の外接枠（Figma：crop-mask）、中の .hero-person__tilt が傾いた角丸 */
.hero-person__crop,
.hero-person__edge {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-person--1 .hero-person__crop {
  left: 0;
  top: 9.62px;
  width: 187.444px;
  height: 317.33px;
}

.hero-person--2 .hero-person__crop {
  left: 0;
  top: 11.2px;
  width: 196.908px;
  height: 333.353px;
}

.hero-person--3 .hero-person__crop {
  left: 0;
  top: 10.88px;
  width: 210.436px;
  height: 356.254px;
}

.hero-person__tilt,
.hero-person__edge > div {
  flex: none;
  position: relative;
  box-sizing: border-box;
  rotate: 12deg;
  scale: 1 0.98;
  transform: skewX(12deg);
}

.hero-person__tilt {
  overflow: hidden;
}

.hero-person--1 .hero-person__tilt {
  width: 191.632px;
  height: 277.488px;
  border-radius: 25.141px;
}

.hero-person--2 .hero-person__tilt {
  width: 201.307px;
  height: 291.499px;
  border-radius: 26.318px;
}

.hero-person--3 .hero-person__tilt {
  width: 215.137px;
  height: 311.524px;
  border-radius: 28.029px;
}

/* 写真は角丸に収まる範囲だけを切り出した画像（2倍解像度） */
.hero-person__tilt img {
  position: absolute;
  display: block;
  max-width: none;
}

.hero-person--1 .hero-person__tilt img {
  left: -2.66px;
  top: -2.75px;
  width: 198px;
  height: 283px;
}

.hero-person--2 .hero-person__tilt img {
  left: -2.37px;
  top: -2.54px;
  width: 206px;
  height: 297px;
}

.hero-person--3 .hero-person__tilt img {
  left: -2.18px;
  top: -1.87px;
  width: 220px;
  height: 314.5px;
}

/* ぼかした白い縁 */
.hero-person__edge > div {
  border: solid #fff;
}

.hero-person--1 .hero-person__edge {
  left: 0;
  top: 10.59px;
  width: 187.444px;
  height: 317.33px;
}

.hero-person--2 .hero-person__edge {
  left: 0.67px;
  top: 10.87px;
  width: 197.232px;
  height: 333.901px;
}

.hero-person--3 .hero-person__edge {
  left: 0.13px;
  top: 11.4px;
  width: 210.227px;
  height: 355.9px;
}

.hero-person--1 .hero-person__edge > div {
  width: 191.632px;
  height: 277.488px;
  border-width: 0.838px;
  border-radius: 25.141px;
  filter: blur(1.676px);
}

.hero-person--2 .hero-person__edge > div {
  width: 201.638px;
  height: 291.978px;
  border-width: 0.877px;
  border-radius: 26.318px;
  filter: blur(1.755px);
}

.hero-person--3 .hero-person__edge > div {
  width: 214.923px;
  height: 311.215px;
  border-width: 0.934px;
  border-radius: 28.029px;
  filter: blur(1.869px);
}

@media (max-width: 900px) {
  /* Figma SP（2907-23855）：文字の上端67px・ヒーロー下端592px（ヘッダーの裏まで回り込む） */
  .hero {
    height: auto;
    min-height: 0;
    margin-top: calc(-1 * var(--header-h, 54px));
    padding: calc(13px + var(--header-h, 54px)) 0 95px;
  }
  /* SPでも装飾シェイプを表示（Figma座標を390px幅基準で%指定） */
  .hero__shape {
    display: block;
  }
  .hero__shape--1 {
    left: 8%;
    top: -6px;
    right: auto;
    width: 23%;
  }
  .hero__shape--2 {
    left: 78%;
    top: -2px;
    right: auto;
    width: 25%;
  }
  .hero__shape--3 {
    left: -32%;
    top: 150px;
    right: auto;
    width: 43%;
  }
  .hero__shape--4 {
    left: 82%;
    top: 283px;
    right: auto;
    width: 50%;
  }
  .hero__text {
    max-width: none;
    width: auto;
    position: relative;
    z-index: 1;
    top: 0;
  }
  .pc-br {
    display: none;
  }
  .hero__badges {
    gap: 4px;
    margin-bottom: 4px;
    flex-wrap: nowrap;
  }
  .hero__badge {
    font-size: 12px;
    line-height: 13px;
    padding: 6px 8px 6px 10px;
    letter-spacing: 0.05em;
    white-space: nowrap;
  } /* 高さ25px */
  .hero__title {
    font-size: 34px;
    line-height: 45px;
    letter-spacing: 0;
    margin-bottom: 6px;
  }
  .hero__title-line2 {
    letter-spacing: 0.02em;
  } /* Figma：2行目の幅350px */
  /* 3行の改行位置を Figma（幅354px）と同じにするため、幅を4px広げて文字を画面幅に連動 */
  .hero__desc {
    font-size: min(14px, 3.59vw);
    line-height: 1.5;
    width: calc(100% + 4px);
    margin-bottom: 0;
  }
  /* SPの特長は横3つ（白ボックスを半透明の青パネルで囲む・Figma：各106×51px） */
  .hero__benefits {
    display: flex;
    width: 100%;
    gap: 7.63px;
    padding: 8.72px;
    border-radius: 6.54px;
    margin-top: -14px;
    position: relative;
    z-index: 2;
  }
  .hero__benefit {
    flex: 1 1 0;
    width: auto;
    height: 51px;
    padding: 0 2px;
    border-radius: 6.54px;
    font-size: 11px;
    line-height: 1.3;
  }
  .hero__benefit .lg {
    font-size: 13px;
  }
  /* form-appeal の特徴ピル */
  .hero__feature {
    font-size: 14px;
    padding: 6px 10px 6px 6px;
    gap: 6px;
    letter-spacing: 0.42px;
    white-space: normal;
  }
  .hero__feature .em {
    font-size: 16px;
  }
  .hero__feature svg {
    width: 18px;
    height: 18px;
  }
  .hero__feature .sp-br {
    display: inline;
  } /* SPで改行を有効化 */
  /* 人物写真：説明文の下に3枚を横並び（Figma：hero-person-list 306×196）。
     パネルはPCと同じ作りのまま、1枚ずつ Figma の倍率で縮小して並べる */
  .hero__people {
    position: relative;
    left: auto;
    top: auto;
    width: 306.06px;
    height: 195.73px;
    margin: -8.6px auto 0;
    zoom: var(--zoom-sp-fit, 1); /* 346px未満の狭い端末では幅に合わせて縮小 */
  }
  .hero-person {
    transform-origin: 0 0;
  }
  .hero-person--1 {
    left: 202.81px;
    top: 0;
    transform: scale(0.48876);
  } /* 右：男性（眼鏡） */
  .hero-person--2 {
    left: 102.81px;
    top: 12px;
    transform: scale(0.47742);
  } /* 中：女性 */
  .hero-person--3 {
    left: 0;
    top: 26px;
    transform: scale(0.46211);
  } /* 左：男性 */
}
/* =========================================================
   CTA (repeatable band)
   ========================================================= */
.cta-band {
  padding: 60px 0;
}

.cta-band--light {
  background: #f1faff;
}

/* 「選ばれる理由」直後の相談CTA（Figma：白背景・下70px） */
.cta-band--consult {
  background: #fff;
  padding: 0 0 70px;
}

.cta-box {
  position: relative;
  max-width: 1000px;
  margin-inline: auto;
  border: 3px solid #9ffaff;
  border-radius: 60px;
  /* Figma：上下60px（枠線込み・文字の上端から）→ 1行の箱で高さ245px */
  padding: 42.5px 27px 57px;
  /* 背景画像（images/cta-bg.webp）をグラデーションに乗算合成 */
  background-color: #0d5bb0;
  background-image: url("images/cta-bg.webp"), linear-gradient(90deg, #0051a9 0%, #36b4fa 100%);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-blend-mode: multiply, normal;
  box-shadow: 0 0 19px #b3ecff, inset 0 0 58px rgba(124, 224, 255, 0.8);
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta-box:hover {
  transform: scale(1.05);
}

.cta-box__title {
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-shadow: 0 0 30px #0c66ba;
  margin-bottom: 26px;
}

.cta-box__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(460px, 100%);
  height: 66px;
  border-radius: 12px;
  background: linear-gradient(45deg, #d77515 6%, #d72917 93%);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 4px 4px 23px rgba(88, 88, 88, 0.5);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.cta-box__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* 一番下のCTAボタンのみ：中央揃えを解除して左に33pxパディング */
.cta-box__btn--start {
  justify-content: center;
}

.cta-box__btn svg,
.cta-box__btn-arrow {
  width: 34px;
  height: 34px;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

/* SPのみの改行 */
.sp-only-br {
  display: none;
}

@media (max-width: 900px) {
  .sp-only-br {
    display: inline;
  }
  /* Figma SP：枠3px・角丸16px・上下24px（文字の上端から）・ボタン300×54px */
  .cta-box {
    border-radius: 16px;
    padding: 12.85px 27px 21px;
    box-shadow: 0 0 9px #b3ecff, inset 0 0 58px rgba(124, 224, 255, 0.8);
  }
  .cta-box__title {
    font-size: 18px;
  }
  .cta-box__btn {
    width: 300px;
    max-width: 100%;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    height: 54px;
    white-space: nowrap;
  }
  .cta-box__btn--start {
    padding: 0 50px 0 30px;
  } /* Figma：文字を少し左寄せ */
  .cta-box__btn svg,
  .cta-box__btn-arrow {
    width: 26px;
    height: 26px;
    right: 14px;
  }
  .voices .cta-box {
    padding: 18.85px 27px 27px;
  } /* 相談会CTAは上下30px */
}
/* スクロールで下からイーズイン（feature-card / faq の各アイテム） */
.js .feature-card,
.js .faq-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js .feature-card.is-in,
.js .faq-item.is-in {
  opacity: 1;
  transform: none;
}

/* PCは横並びで同時に入るため左から順に遅延 */
@media (min-width: 1101px) {
  .js .features .feature-card:nth-child(2) {
    transition-delay: 150ms;
  }
  .js .features .feature-card:nth-child(3) {
    transition-delay: 300ms;
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .feature-card,
  .js .faq-item {
    opacity: 1;
    transform: none;
  }
}
/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.why {
  background: linear-gradient(180deg, #f1faff 0%, #ffffff 100%);
  padding: 0 0 74px;
}

/* 3枚横並びのカード用にコンテンツ幅を1344pxへ拡張（Figma：why-choose-us-inner） */
.container--wide {
  max-width: 1392px;
}

.why__heading {
  text-align: center;
  margin-bottom: 50px;
}

.why__heading .deco {
  width: 32px;
  height: auto;
  display: block;
  margin: 0px auto 0px;
  padding-bottom: 2px;
}

/* PC：王冠は63px幅（Figma）。見出しの下50px（文字基準）にカード */
@media (min-width: 901px) {
  .why__heading {
    margin-bottom: 35.5px;
  }
  .why__heading .deco {
    width: 63px;
    margin-bottom: 3.5px;
  }
}
/* brand logo (SVG) shown inline within the heading */
.why__brand {
  height: auto;
  width: 359px;
  vertical-align: middle;
  display: inline-block;
  padding-bottom: 4px;
  margin-right: 4px;
}

.why__heading h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.08em;
  display: inline;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  min-height: 354px;
  /* Figma：高さ354px・上下50px（文字の上端／実績欄の下端から） */
  padding: 42px 24px 50px;
  border-radius: 60px;
  background: linear-gradient(90deg, #85d3ff, #3086e2);
  box-shadow: var(--shadow-card);
  color: #fff;
}

.feature-card--reverse {
  background: linear-gradient(90deg, #3086e2, #85d3ff);
}

.feature-card__head {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.feature-card__head .lg {
  font-size: 24px;
  font-weight: 900;
}

.feature-card__desc {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.05em;
  margin-bottom: 11px;
}

/* 強調語は白地に赤文字（行をまたいでも行ごとに白地を付ける） */
.feature-card__desc .em-red {
  color: #be1a20;
  font-weight: 900;
  background: #fff;
  padding: 0 2px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.feature-card__note {
  margin-top: auto; /* 実績ノートはカード下端に揃える */
  background: #fff;
  border-radius: 88px;
  min-height: 64px;
  padding: 8px 20px;
  text-align: center;
  color: var(--color-text);
  /* ラベル・数値・単位を下揃え（captionは下段へ折り返し） */
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  column-gap: 2px;
}

.feature-card__note .stat {
  color: #be1a20;
  font-weight: 900;
  font-size: 35px;
  line-height: 1;
  display: inline-block;
  padding: 0 1px 3px 2px;
  /* 上下のハーフレディングをトリミング */
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
  text-box: trim-both cap alphabetic;
}

.feature-card__note .stat-label {
  font-size: 16px;
  font-weight: 700;
}

.feature-card__note .stat-label--red {
  color: #be1a20;
}

/* 2行ラベル（例：知財業界での／累計転職支援実績） */
.feature-card__note .stat-label--multiline {
  display: inline-block;
  text-align: left;
  font-size: 14px;
  line-height: 1.2;
}

.feature-card__note .caption {
  flex-basis: 100%;
  color: #828282;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
  margin-top: 2px;
}

/* PCで画面が狭いときは縮小して表示（倍率は index.html の head 内のJSで計算）。
   カードは横3枚のまま、見出し・説明文の改行位置もデザイン幅（1392px）と同じに保つ */
@media (min-width: 901px) {
  .why .container--wide {
    zoom: var(--zoom-why, 1);
  }
}
/* =========================================================
   TESTIMONIALS（独立セクション。角丸の水色パネル内にカルーセル＋CTA）
   ========================================================= */
.voices {
  background: linear-gradient(180deg, #ffffff 36%, #f1faff 100%);
  padding-bottom: 74px;
} /* 下の「よくある質問」との間隔 */
.voices__inner {
  background: linear-gradient(180deg, #f1faff 0%, #a1d9fc 100%);
  border-radius: 200px;
  padding: 74px 0 74px;
  overflow: hidden;
}

.voices .cta-box {
  margin-top: 50px;
}

.testimonials__heading {
  text-align: center;
  margin-bottom: 33px;
}

.testimonials__heading .deco {
  width: 44px;
  height: auto;
  display: block;
  margin: 0 auto 2px;
}

/* PC：飾りは67px幅（Figma）。カードの下40pxにページ送りの丸 */
@media (min-width: 901px) {
  .testimonials__heading .deco {
    width: 67px;
    margin-bottom: 7px;
  }
  .testimonials__dots {
    margin-top: 24px;
  }
}
.testimonials__heading h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: normal;
}

.testimonials__heading .why__brand {
  height: auto;
}

.testimonials__viewport {
  overflow: hidden;
  /* 画面いっぱいの全幅（コンテナからはみ出して表示、カードが見切れない） */
  width: var(--page-w, 100vw);
  position: relative;
  left: 50%;
  margin-left: calc(var(--page-w, 100vw) / -2);
  /* 上下paddingは影のスペース。ネガティブマージンで見た目の余白は据え置き */
  padding: 20px 0;
  margin-top: -12px;
  margin-bottom: -4px;
  touch-action: pan-y; /* 縦スクロールはブラウザに任せ、横の指の動きはカルーセルで受け取る */
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.testimonials__viewport.is-dragging {
  cursor: grabbing;
}

/* カルーセル（求人例と同じ方式）：前後に複製カードを並べて途切れず回り、一定間隔で自動で次へ送る。
   位置はJSで指定（動きは index.html 末尾のJS） */
.testimonials__list {
  display: flex;
  gap: 28px;
  width: max-content;
  will-change: transform;
}

.testimonials__list.is-animating {
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.testimonials__list img {
  -webkit-user-drag: none;
  pointer-events: none;
}

/* pagination dots (testimonials-divider をイメージ) */
/* Figma：8pxの丸・間隔10px。今の位置は赤い丸（横長にしない） */
.testimonials__dots {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.testimonials__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.testimonials__dot.is-active {
  background: #be1a20;
}

.testimonial-card {
  flex: 0 0 390px;
  background: #fff;
  border-radius: 30px;
  padding: 16px;
  box-shadow: 0 0 11.7px rgba(28, 100, 148, 0.16);
}

/* スクロールで右から左のカードから順にスライドイン（カルーセルらしい送り出し感） */
.js .testimonials__list .testimonial-card {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.js .testimonials__list.is-in .testimonial-card {
  opacity: 1;
  transform: none;
}

/* 前に複製カードが5枚並ぶため、5枚ごとの順番で遅らせる */
.js .testimonials__list.is-in .testimonial-card:nth-child(5n+2) {
  transition-delay: 120ms;
}

.js .testimonials__list.is-in .testimonial-card:nth-child(5n+3) {
  transition-delay: 240ms;
}

.js .testimonials__list.is-in .testimonial-card:nth-child(5n+4) {
  transition-delay: 360ms;
}

.js .testimonials__list.is-in .testimonial-card:nth-child(5n) {
  transition-delay: 480ms;
}

@media (prefers-reduced-motion: reduce) {
  .js .testimonials__list .testimonial-card {
    opacity: 1;
    transform: none;
  }
  .testimonials__list.is-animating {
    transition-duration: 0.01s;
  }
}
.testimonial-card__head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}

.testimonial-card__avatar {
  width: 66px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

.testimonial-card__meta {
  font-weight: 700;
  font-size: 16px;
}

.testimonial-card__meta .sep {
  color: var(--color-main);
  margin: 0 6px;
}

.testimonial-card__body {
  background: #f1faff;
  border-radius: 16px;
  padding: 10px 12px; /* Figma：カード高さ317px */
  color: var(--color-main);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
}

@media (max-width: 900px) {
  .why {
    padding: 0;
  } /* 下の相談CTAとの間は .cta-band--consult の上30px */
  .features {
    grid-template-columns: 1fr;
    gap: 16px;
  } /* SPは縦1列 */
  .why__heading {
    margin-bottom: 20px;
  }
  /* 見出し全体（ロゴ＋テキスト）を画面幅に連動させ常に1行に収める。
     h2フォントをvw連動にし、ロゴ幅はそのフォント基準(em)で拡縮させる */
  .why__heading h2 {
    font-size: min(18px, 4.62vw);
    white-space: nowrap;
  }
  .why__brand {
    width: 11.7em;
    height: auto;
  }
  /* Figma SP：上下24px（文字の上端から）・見出し20/16px・3枚とも左が濃い青のグラデーション */
  .feature-card {
    min-height: 0;
    padding: 16px 16px 22.5px;
    border-radius: 16px;
  }
  .feature-card,
  .feature-card--reverse {
    background: linear-gradient(90deg, #3086e2, #85d3ff);
  }
  .feature-card__head {
    font-size: 16px;
    letter-spacing: 0.07em;
    margin-bottom: 9.7px;
  }
  .feature-card__head .lg {
    font-size: 20px;
    letter-spacing: 0.056em;
  }
  .feature-card__desc {
    font-size: 14px;
    letter-spacing: 0.05em;
    margin-bottom: 19px;
  }
  .feature-card__note {
    min-height: 54px;
    padding: 6px 16px;
  }
  .feature-card__note .stat {
    font-size: 28px;
  }
  .feature-card__note .stat-label {
    font-size: 14px;
  }
  .feature-card__note .stat-label--multiline {
    font-size: 12px;
  }
  .feature-card__note .caption {
    font-size: 8px;
  }
  /* testimonials */
  .voices {
    padding-bottom: 24px;
  }
  /* Figma SP：上30px・ロゴ飾りの下10px・見出しとカードの間24px・カードの下31pxにCTA */
  .voices__inner {
    border-radius: 38px;
    padding: 30px 0 28px;
  }
  .voices .cta-box {
    margin-top: 31px;
  }
  .testimonials__heading {
    margin-bottom: 12px;
  }
  .testimonials__heading .deco {
    margin-bottom: 5px;
  }
  .testimonials__heading h2 {
    font-size: 18px;
  }
  .testimonials__list {
    gap: 16px;
  }
  /* SPは横スクロール領域なので、横移動でなく縦のフェードアップに */
  .js .testimonials__list .testimonial-card {
    transform: translateY(20px);
  }
  .js .testimonials__list.is-in .testimonial-card {
    transform: none;
  }
  .testimonial-card {
    flex-basis: min(340px, var(--page-w, 100vw) - 40px);
    border-radius: 16px;
  } /* Figma SP：幅340px */
  .testimonial-card__avatar {
    width: 54px;
    height: 54px;
  }
  .testimonial-card__meta {
    font-size: 14px;
  }
  .testimonial-card__body {
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.45;
    padding: 10px 12px;
  } /* Figma SP：カード高さ282px */
}
/* =========================================================
   JOBS
   ========================================================= */
.jobs {
  background: #f1faff;
  padding: 15px 0 74px; /* 上：entry-btns-band の下余白と合わせて Figma の間隔に（見出しの文字の上端が箱の下58px） */
}

.jobs__title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 41px;
  line-height: normal;
}

/* カルーセル（benri_lp と同じ方式）：カードの並び（.jobs__grid）を左右に動かして表示。
   前後に複製カードを並べて途切れず回り、一定間隔で自動で次へ送る（動きは index.html 末尾のJS） */
.jobs__carousel,
.testimonials__carousel {
  position: relative;
}

.jobs__viewport {
  overflow: hidden;
  /* 画面いっぱいの全幅（左右のカードは見切れて覗かせる） */
  width: var(--page-w, 100vw);
  margin-left: calc(50% - var(--page-w, 100vw) / 2);
  /* 上下paddingは影のスペース。同量のネガティブマージンで見た目の余白は据え置き */
  padding: 20px 0;
  margin-top: -20px;
  margin-bottom: -20px;
  touch-action: pan-y; /* 縦スクロールはブラウザに任せ、横の指の動きはカルーセルで受け取る */
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.jobs__viewport.is-dragging {
  cursor: grabbing;
}

.jobs__grid {
  display: flex;
  gap: 20px; /* Figma：カード314px・間隔20px */
  width: max-content;
  /* 位置はJSで指定（今のカードの左端を画面の左端に揃える） */
  will-change: transform;
}

.jobs__grid.is-animating {
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.jobs__grid img {
  -webkit-user-drag: none;
  pointer-events: none;
}

/* 「〈」「〉」ボタン（PCのみ。Figmaにデザインがないため、メインカラーでCSSのみで作成）。
   転職された方の声（.testimonials__carousel）も同じボタンを使う */
.jobs__arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  padding: 0;
  border: 2px solid var(--color-main);
  border-radius: 50%;
  background: var(--color-main);
  box-shadow: 0 2px 12px rgba(28, 100, 148, 0.25);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.jobs__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transition: border-color 0.2s ease;
}

/* 画面の左右端から24px内側（極端に広い画面ではデザイン幅1536pxの端に合わせる） */
.jobs__arrow--prev {
  left: max(50% - var(--page-w, 100vw) / 2 + 24px, 50% - 744px);
}

.jobs__arrow--next {
  right: max(50% - var(--page-w, 100vw) / 2 + 24px, 50% - 744px);
}

.jobs__arrow--prev::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.jobs__arrow--next::before {
  transform: translate(-70%, -50%) rotate(45deg);
}

.jobs__arrow:hover {
  background: #fff;
}

.jobs__arrow:hover::before {
  border-color: var(--color-main);
}

.jobs__arrow:active {
  transform: scale(0.94);
}

.jobs__arrow:focus-visible {
  outline: 3px solid #36b4fa;
  outline-offset: 3px;
}

/* スクロールで下からイーズイン */
.js .jobs__grid .job-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js .jobs__grid.is-in .job-card {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .jobs__grid .job-card {
    opacity: 1;
    transform: none;
  }
  .jobs__grid.is-animating {
    transition-duration: 0.01s;
  }
}
.job-card {
  flex: 0 0 314px;
  border-radius: 30px;
  box-shadow: 0 0 11.7px rgba(28, 100, 148, 0.16);
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.job-card__company {
  background: linear-gradient(90deg, #0051a9, #36b4fa);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  text-align: center;
  /* 2行の社名（日清食品ホールディングス株式会社）でも高さを揃える */
  height: 60px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.17;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* 社名内の改行はSPのみ。PCでは改行させない */
.job-company-br {
  display: none;
}

.job-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  flex: 1;
}

/* logo+badge+tags を上ブロック、salary を下ブロックとして上下に分ける */
.job-card__main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.job-card__logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.job-card__logo img {
  max-height: 100%;
  max-width: 90%;
  object-fit: contain;
}

.job-card__badge {
  align-self: center;
  background: #dbeafe;
  color: var(--color-main);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 7px 12px;
  border-radius: 88px;
}

/* Figma：タグ2行で高さ46px（1行20px＋間隔6px） */
.job-card__tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* gap:0 で黒テキストと赤テキストを密着。アイコンの間隔はsvgのmarginで確保 */
.job-card__tag {
  display: flex;
  gap: 0;
  align-items: center;
  min-height: 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.04em;
  white-space: nowrap;
} /* 長いタグ（世界法律事務所ランキング…）も1行に収める */
.job-card__tag svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-right: 4px;
}

/* テキストは残り幅いっぱいに広げ、<br> の位置でのみ改行させる（flexで縮んで誤改行するのを防ぐ） */
.job-card__tag-text {
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}

/* PCではタグ内の改行(br)を無効化（1行に）。SPのみ改行 */
.job-card__tag-text br {
  display: none;
}

.job-card__tag .em-red {
  color: #be1a20;
}

.job-card__salary {
  border-top: 1px solid var(--color-main);
  padding: 12px 0; /* Figma：年収の帯の高さ約64px（下にカード本体の余白16px） */
  display: flex;
  gap: 12px;
  align-items: center;
}

.job-card__salary-label {
  background: var(--color-main);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 30px;
  white-space: nowrap;
}

.job-card__salary-value {
  color: #394862;
  white-space: nowrap;
}

.job-card__salary-value .num {
  color: #bcab68;
  font-weight: 700; /* din-2014-narrowは400/700のみ */
  font-size: 38px;
  line-height: 1; /* 数字の上下の余白を詰める（Figma のトリミングに合わせる） */
  font-family: "din-2014-narrow", "DIN 2014", "Arial Narrow", sans-serif;
}

.job-card__salary-value .unit {
  font-weight: 800;
  font-size: 16px;
  color: var(--color-text);
}

/* pagination dots */
/* Figma：灰色(#B1B1B1)の8pxの丸・間隔10px。今の位置は青(#0086CC)の横長 24×8px */
.jobs__dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 30px 0 74px;
}

.jobs__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #b1b1b1;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.jobs__dot.is-active {
  width: 24px;
  border-radius: 4px;
  background: var(--color-main);
}

@media (max-width: 900px) {
  .jobs {
    padding: 0 0 30px;
  } /* Figma SP：見出しは「今のお気持ち」の箱の下24px、CTA箱の下30px */
  /* SP：カード間隔を詰め、上下の影スペースも小さく。「〈」「〉」は出さず、指のスワイプで送る */
  .jobs__viewport {
    padding: 18px 0;
    margin-top: -18px;
    margin-bottom: -18px;
  }
  .jobs__grid {
    gap: 18px;
  } /* Figma SP：カード間隔18px */
  .jobs__arrow {
    display: none;
  }
  /* Figma SP（2907-23855）：カードはPCと同じ 314×350px・同じ文字サイズ。
     狭い端末（354px未満）では左右20pxずつ空けて縮める */
  .job-card {
    flex: 0 0 min(314px, var(--page-w, 100vw) - 40px);
  }
  .jobs__title {
    font-size: 18px;
    margin-bottom: 19px;
  }
  .jobs__dots {
    margin-top: 30px;
    margin-bottom: 25px;
  }
}
/* =========================================================
   FAQ
   ========================================================= */
.faq {
  background: #f1faff;
  padding: 0 0 74px 0;
  /* 直下 .form-section の丸角の奥を #f1faff で埋める（白い角を解消） */
  box-shadow: 0 200px 0 0 #f1faff;
}

.faq__title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 41px;
  line-height: normal;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 0 11.7px rgba(28, 100, 148, 0.16);
  padding: 20px 24px;
}

.faq-item__q {
  display: flex;
  gap: 16px;
  align-items: center;
  cursor: pointer;
}

/* 開閉用の矢印 */
.faq-item__q::after {
  content: "";
  margin-left: auto;
  flex: none;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10' fill='none'%3E%3Cpath d='M2 2l6 6 6-6' stroke='%230086cc' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px 10px no-repeat;
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-item__q::after {
  transform: rotate(180deg);
}

.faq-item__icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
}

.faq-item__icon--q {
  background: linear-gradient(90deg, #0051a9, #36b4fa);
  color: #fff;
}

.faq-item__icon--a {
  background: #d5f0ff;
  color: var(--color-main);
}

.faq-item__q-text {
  font-size: 18px;
  font-weight: 700;
}

.faq-item__a {
  gap: 16px;
  align-items: center;
  border-top: 1px dashed #88d4ff;
  margin-top: 18px;
  padding-top: 18px;
}

/* アコーディオン（PC・SP共通）：回答は開いた時だけ表示 */
.faq-item__a {
  display: none;
}

.faq-item.is-open .faq-item__a {
  display: flex;
}

.faq-item__a-text {
  font-size: 14px;
  line-height: 1.6;
}

@media (min-width: 901px) {
  /* Figma：回答は2行でもバッジ(36px)の高さに収め、各項目148px */
  .faq-item__a-text {
    margin: -4.4px 0;
  }
}
@media (max-width: 900px) {
  .jobs__title,
  .faq__title {
    font-size: 18px;
  } /* Figma SP */
  .faq__title {
    margin-bottom: 19px;
  }
  .faq__list {
    gap: 16px;
  }
  /* Figma SP：各項目 高さ68px（上下16px＋36px）。質問文は幅248px・2行で36px */
  .faq-item {
    border-radius: 16px;
    padding: 16px;
  }
  .faq-item__q {
    gap: 10px;
  }
  .faq-item__icon {
    padding-bottom: 4px;
    box-sizing: border-box;
  }
  .faq-item__q-text {
    font-size: 16px;
    line-height: 18px;
    flex: 0 1 248px;
  }
  .faq-item__a-text {
    font-size: 14px;
  }
  .faq-item__a {
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
  }
}
/* PCの矢印は Figma どおり 22×11px（閉じている時∨、開くと∧） */
@media (min-width: 901px) {
  .faq-item__q::after {
    width: 25px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1.5 -1.5 25 14' fill='none'%3E%3Cpath d='M0 0l11 11L22 0' stroke='%230086cc' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/25px 14px no-repeat;
  }
}
/* キーボード操作時の枠 */
.faq-item__q:focus-visible {
  outline: 2px solid var(--color-main);
  outline-offset: 6px;
  border-radius: 8px;
}

/* =========================================================
   ENTRY FORM
   ========================================================= */
.form-section {
  position: relative;
  /* #form へのアンカー移動時、固定ヘッダーに隠れないようオフセット */
  scroll-margin-top: 12px;
  border-radius: 200px 200px 0 0;
  /* 背景グラデーションは画像で差し替え（images/form-bg.webp）。未配置時は色でフォールバック */
  background-color: #0086cc;
  background-image: url("images/form-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 82px 0 69px; /* Figma：高さ770px */
  overflow: hidden;
}

/* 「ENTRY FORM」を複製し横スクロールで無限ループさせるマーキー */
.form-section__marquee {
  position: absolute;
  bottom: -6%;
  left: 0;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  line-height: 1;
  z-index: 0;
}

.form-section__marquee-track {
  display: flex;
  width: max-content;
  animation: entryFormMarquee 22s linear infinite;
}

.form-section__marquee-track span {
  font-family: "Arial", sans-serif;
  font-weight: 700;
  font-size: 15.5vw;
  color: rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

/* 2つの複製で構成し -50% 移動＝1つ分ずれるので継ぎ目なくループ */
@keyframes entryFormMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .form-section__marquee-track {
    animation: none;
  }
}
.form-section__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.form-appeal {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  color: #fff;
}

.form-appeal__top {
  display: flex;
  gap: 14px;
  align-items: center;
}

.form-appeal__badge {
  flex: none;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
}

/* スクロールで到達したとき、一瞬だけ少し拡大してすぐ元のサイズに戻す */
@keyframes badgePop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.22);
  }
  100% {
    transform: scale(1);
  }
}
.js .form-appeal__badge.is-in {
  animation: badgePop 800ms ease;
}

/* form-appealの特徴ピルは上から順に左からフェードイン */
.js .form-appeal__features .hero__feature {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.js .form-appeal__features.is-in .hero__feature {
  opacity: 1;
  transform: none;
}

.js .form-appeal__features.is-in .hero__feature:nth-child(2) {
  transition-delay: 150ms;
}

.js .form-appeal__features.is-in .hero__feature:nth-child(3) {
  transition-delay: 300ms;
}

@media (prefers-reduced-motion: reduce) {
  .js .form-appeal__badge.is-in {
    animation: none;
  }
  .js .form-appeal__features .hero__feature {
    opacity: 1;
    transform: none;
  }
}
.form-appeal__badge .big {
  font-size: 20px;
  font-weight: 900;
  display: block;
  margin-top: 2px;
}

.form-appeal__title {
  text-align: center;
}

.form-appeal__title .row1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 26px;
  font-weight: 800;
}

.form-appeal__title .pill {
  height: 40px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

.form-appeal__title .row2 {
  font-size: 40px;
  font-weight: 800;
  margin: 12px 0;
  line-height: 1;
  /* 上下のハーフレディングをトリミング */
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
  text-box: trim-both cap alphabetic;
}

.form-appeal__title .row2 .sm {
  font-size: 33px;
}

/* 「無料登録が完了!」下の下線SVG（images/form-title-underline.svg） */
.form-appeal__title-underline {
  display: block;
  width: 100%;
  max-width: 328px;
  height: auto;
  margin: 0 auto;
}

.form-appeal__decoration {
  width: 286px;
  height: auto;
  display: block;
  margin: 20px auto 27px;
} /* Figma：幅286px */
.form-appeal__features {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.form-appeal__features .hero__feature {
  font-size: 18px;
  background: #fff;
}

/* pill内テキストは #101418（emのグラデーションはそのまま） */
.form-appeal__features .hero__feature span:not(.em) {
  color: #101418;
}

.form-appeal__features .hero__feature .em {
  font-size: 20px;
}

/* 登録フォームは React が .wizard-form 内に .entry-form を描画する。
   SPの .form-section__inner は justify-items: center のため、ラッパーを stretch させて
   .entry-form が親幅まで広がる（＝幅がデザインどおりになる）ようにする。 */
.wizard-form {
  justify-self: stretch;
  width: 100%;
  max-width: 433px;
}

/* SP：画面幅−左右20px余白に収める。width:100% だけだと親(.form-section__inner)の
   padding を跨いで全幅化し、狭い端末でステップ2(生年月日の3列)が右にはみ出すため上限を付ける。
   --page-w は head のJSが設定（未設定時は 100vw フォールバック）。 */
@media (max-width: 900px) {
  .wizard-form {
    max-width: calc(var(--page-w, 100vw) - 40px);
  }
}
.entry-form {
  width: 433px;
  border-radius: 30px; /* Figma：水色の枠線・光彩なし */
  background: #fff;
  overflow: hidden;
  /* SPで #form→入力欄へスクロールした際、固定ヘッダーに隠れないようオフセット */
  scroll-margin-top: calc(var(--header-h, 56px) + 10px);
}

/* --- step indicator (3 steps with connecting line) --- */
.entry-form__steps {
  display: flex;
  justify-content: space-between;
  padding: 12px 23px 12px; /* 横幅を .entry-form__panel（body padding）と揃える */
  background: #fff;
  position: relative;
}

.entry-form__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  color: #b1b1b1;
  position: relative;
  flex: 0 0 auto; /* 文字量に応じた幅 */
}

/* connector line split into 2 segments (step1↔2 = ::before, step2↔3 = ::after) */
.entry-form__steps::before,
.entry-form__steps::after {
  content: "";
  position: absolute;
  top: 27px;
  height: 2px;
  background: #e1e1e1;
  z-index: 0;
}

.entry-form__steps::before {
  left: 48px;
  right: 50%;
} /* 希望条件 ↔ プロフィール */
.entry-form__steps::after {
  left: 50%;
  right: 48px;
} /* プロフィール ↔ 登録情報 */
/* progress: 完了したステップの手前区間を青に */
.entry-form__steps:has(.entry-form__step[data-step="1"].entry-form__step--done)::before {
  background: var(--color-main);
}

.entry-form__steps:has(.entry-form__step[data-step="2"].entry-form__step--done)::after {
  background: var(--color-main);
}

.entry-form__step .dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e1e1e1;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  position: relative;
  z-index: 1;
}

.entry-form__step--active .dot {
  background: #fff;
  border: 2px solid var(--color-main);
  color: var(--color-main);
  box-shadow: 0 0 4.8px #b3ecff;
}

.entry-form__step--active {
  color: var(--color-text);
}

.entry-form__step--done .dot {
  background: var(--color-main);
  color: #fff;
  font-size: 0;
}

/* チェックマークSVG（images/check.svg） */
.entry-form__step--done .dot::after {
  content: "";
  width: 15px;
  height: 15px;
  background: url("images/check.svg") center/contain no-repeat;
}

/* --- body / panels --- */
.entry-form__body {
  background: #f1faff;
  padding: 16px 23px 20px;
}

.entry-form__panel {
  display: none;
}

.entry-form__panel--active {
  display: block;
  animation: formFade 0.25s ease;
}

@keyframes formFade {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.entry-form__field {
  margin-bottom: 13px;
}

.entry-form__label {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.entry-form__label .req {
  color: #be1a20;
  font-size: 10px;
}

.entry-form__label .opt {
  color: #828282;
  font-size: 10px;
}

.entry-form__label .hint {
  color: #b1b1b1;
  font-size: 10px;
  font-weight: 500;
  flex-basis: 100%;
  margin-top: 1px;
  line-height: 1.5;
  /* 上下のハーフレディングをトリミング */
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
  text-box: trim-both cap alphabetic;
}

/* button-group (single choice via radios) */
.entry-form__btn-group {
  display: grid;
  gap: 8px;
}

.entry-form__btn-group--2col {
  grid-template-columns: 1fr 1fr;
}

.entry-form__choice {
  background: #fff;
  border: 1px solid #c5c5c5;
  border-radius: 100px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.entry-form__choice input {
  display: none;
}

/* 選択時デザインは Figma の field-job-type-option-3 を参照
   （青グラデーション #0051a9→#36b4fa・白文字・枠なし・Medium） */
.entry-form__choice:has(input:checked) {
  border: none;
  background: linear-gradient(90deg, #0051a9, #36b4fa);
  color: #ffffff;
  font-weight: 500;
}

/* chips (multi choice via checkboxes) */
.entry-form__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.entry-form__chip {
  background: #fff;
  border: 1px solid #c5c5c5;
  border-radius: 100px;
  padding: 7px 16px;
  width: 89px;
  box-sizing: border-box;
  text-align: center;
  font-size: 13px;
  letter-spacing: -0.03em;
  cursor: pointer;
  /* 「・」など約物の余分なアキを詰める（プロポーショナルメトリクス） */
  font-feature-settings: "palt";
  /* 行末に入る字間の分だけ左へ寄せて中央揃えのズレを補正 */
  text-indent: -0.03em;
  transition: all 0.15s ease;
}

/* PCは1行に収まるよう改行禁止＋強めに字詰め（補正も同量） */
@media (min-width: 901px) {
  .entry-form__chip {
    white-space: nowrap;
    letter-spacing: -0.05em;
    text-indent: -0.05em;
  }
  .entry-form__chip--bio {
    text-indent: -0.35em;
  }
}
.entry-form__chip input {
  display: none;
}

/* 選択時は job-type-option-3 と同じ青グラデーション（枠なし・白文字） */
.entry-form__chip:has(input:checked) {
  border: none;
  padding: 9px 17px; /* 枠線1px分をpaddingで補正しサイズ維持 */
  background: linear-gradient(90deg, #0051a9, #36b4fa);
  color: #ffffff;
  font-weight: 500;
}

/* inputs & selects */
.entry-form__input,
.entry-form__select {
  height: 38px;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
  background: #fff;
  color: var(--color-text);
  font-family: inherit;
}

.entry-form__input::placeholder {
  color: #b1b1b1;
}

/* select: カスタム下向き矢印（右端から約10px内側へ） */
.entry-form__select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23101418' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 40px;
}

.entry-form__input--full,
.entry-form__select--full {
  width: 100%;
}

.entry-form__row {
  display: flex;
  gap: 12px;
}

.entry-form__row .entry-form__input {
  flex: 1;
  min-width: 0;
}

.entry-form__row--3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.entry-form__row--3 .entry-form__select {
  width: 100%;
}

/* 生年月日：未選択（年・月・日）はグレー表示（PC・SP共通） */
.entry-form__row--3 .entry-form__select:invalid {
  color: #b1b1b1;
}

.entry-form__select option {
  color: var(--color-text);
}

.entry-form__input.is-error,
.entry-form__select.is-error {
  border-color: #be1a20;
  background: #fff5f5;
}

/* 必須の選択（ラジオ）が未選択の時は選択肢を赤枠に */
.entry-form__btn-group.is-error .entry-form__choice {
  border-color: #be1a20;
}

/* 入力エラー（電話番号・メールアドレス・パスワードの形式）。欄の直後に理由を表示 */
.entry-form__error {
  margin-top: 4px;
  color: #be1a20;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}

.entry-form__error[hidden] {
  display: none;
}

@media (max-width: 900px) {
  .entry-form__btn-group.is-error .entry-form__choice {
    box-shadow: inset 0 0 0 1px #be1a20;
  }
  .entry-form__error {
    font-size: 10px;
  }
}
/* nav buttons */
.entry-form__nav {
  margin-top: 24px;
}

.entry-form__nav--split {
  display: flex;
  align-items: center;
  gap: 16px;
}

.entry-form__next {
  display: block;
  width: 260px;
  max-width: 100%;
  margin: 0 auto;
  height: 54px;
  border: none;
  border-radius: 12px;
  background: var(--color-main);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.entry-form__nav--split .entry-form__next {
  margin: 0;
  flex: 1;
}

.entry-form__next:hover {
  filter: brightness(1.13);
}

/* 必須未入力時の非アクティブ状態（デザイン同様のグレー） */
.entry-form__next:disabled,
.entry-form__next.is-disabled {
  background: #c5c5c5;
  cursor: default;
}

.entry-form__next:disabled:hover,
.entry-form__next.is-disabled:hover {
  filter: none;
  transform: none;
}

.entry-form__next-arrow {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  display: inline-block;
}

.entry-form__back {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 700;
  padding: 8px 4px;
  white-space: nowrap;
}

.entry-form__back:hover {
  color: var(--color-main);
}

/* 戻るの左向き矢印（Figma icon-arrow-left：下向き12×7を90°回転） */
.entry-form__back::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 7px;
  margin: 0 1.5px 0 -2.5px; /* 回転後の見た目 7×12 に合わせて幅を補正 */
  vertical-align: middle;
  background: url("images/arrow-back.svg") center/12px 7px no-repeat;
  transform: rotate(90deg);
}

.entry-form__register {
  flex: 1;
  min-height: 54px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(45deg, #d77515 6%, #d72917 93%);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  cursor: pointer;
  box-shadow: 4px 4px 23px rgba(88, 88, 88, 0.3);
  transition: filter 0.15s ease;
}

.entry-form__register:hover {
  filter: brightness(1.1);
}

/* 必須未入力時は「次へ」同様のグレー（PC/SP共通） */
.entry-form__register:disabled,
.entry-form__register.is-disabled {
  background: #c5c5c5;
  box-shadow: none;
  cursor: default;
}

.entry-form__register:disabled:hover,
.entry-form__register.is-disabled:hover {
  filter: none;
}

.entry-form__legal {
  text-align: center;
  margin-top: 14px;
  display: flex;
  gap: 18px;
  justify-content: center;
}

.entry-form__legal a {
  color: var(--color-main);
  font-size: 12px;
  text-decoration: underline;
}

/* PC：Figma コンポーネント form-registration（node 2813:2289）に合わせた表示
   （SPは下の max-width: 900px 内の SP専用デザインのまま） */
@media (min-width: 901px) {
  /* ステップ表示：内側380px・番号28px・番号と文字の間8px。線は番号の両脇4.5pxあけて133pxずつ */
  .entry-form__steps {
    padding: 14px 26.5px 11px;
  } /* 下は文字の行送り分を詰めて Figma の高さ71pxに */
  .entry-form__step {
    gap: 8px;
    font-weight: 500;
    line-height: 1;
  }
  .entry-form__steps::before,
  .entry-form__steps::after {
    right: auto;
    width: 133px;
    border-radius: 1px;
  }
  .entry-form__steps::before {
    left: 65px;
  }
  .entry-form__steps::after {
    left: 235px;
  }
  .entry-form__step--done .dot {
    background: url("images/step-done.svg") center/28px 28px no-repeat;
  }
  .entry-form__step--done .dot::after {
    content: none;
  }
  /* 本体：高さ535px・内側22px/26.5px。入力欄は上、ボタンは下端にそろえる（全ステップ同じ高さ） */
  .entry-form__body {
    display: flex;
    flex-direction: column;
    min-height: 535px;
    box-sizing: border-box;
    padding: 22px 26.5px;
  }
  .entry-form__panel--active {
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .entry-form__field {
    margin-bottom: 20px;
  }
  .entry-form__label {
    gap: 0 6px;
    margin-bottom: 10px;
    line-height: 14px;
    letter-spacing: 0.05em;
  }
  .entry-form__label .req,
  .entry-form__label .opt {
    letter-spacing: 0;
  }
  .entry-form__label .hint {
    color: var(--color-text);
    line-height: 14px;
    letter-spacing: 0;
    margin-top: 0;
    text-box: normal;
  }
  /* 選択ボタン・入力欄：14px Medium・字間0.05em */
  .entry-form__choice {
    font-weight: 500;
    letter-spacing: 0.05em;
  }
  .entry-form__chip {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc((100% - 24px) / 4);
    height: 38px;
    padding: 0 2px;
    border-color: #e1e1e1;
    border-radius: 200px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    text-indent: 0;
  }
  .entry-form__chip--bio {
    text-indent: 0;
    letter-spacing: -0.03em;
  }
  .entry-form__chip:has(input:checked) {
    padding: 0 2px;
  }
  .entry-form__input,
  .entry-form__select {
    font-weight: 500;
    letter-spacing: 0.05em;
  }
  .entry-form__select--full {
    height: 40px;
    margin-bottom: -2px;
  } /* Figma：枠38pxに40pxの欄がはみ出す配置 */
  .entry-form__select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8.41' viewBox='0 0 14 8.41421' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23101418' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: 14px 8.41px;
    background-position: right 11px center;
  }
  .entry-form__row,
  .entry-form__row--3 {
    gap: 8px;
  }
  /* ボタン：次へ260×54（矢印は右端から13px）、戻る＋次へは幅345px・間36px */
  .entry-form__nav {
    margin-top: auto;
  }
  .entry-form__next {
    position: relative;
  }
  .entry-form__next-arrow {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
  }
  .entry-form__nav--split {
    width: 345px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    gap: 36px;
  }
  .entry-form__nav--split .entry-form__next {
    flex: none;
    width: 260px;
  }
  .entry-form__back {
    flex: 1;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    align-self: center;
    padding: 0 0 4px;
    border-bottom: 1px solid var(--color-text);
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0.05em;
  }
  .entry-form__back::before {
    margin: 0 -2.5px;
  }
  .entry-form__register {
    flex: none;
    width: 260px;
    min-height: 64px;
    background: linear-gradient(59.6deg, #d77515 6.29%, #d72917 92.82%);
    box-shadow: none;
    font-size: 18px;
    font-weight: 700;
  }
  .entry-form__legal {
    margin-top: 16px;
    gap: 14px;
  }
  .entry-form__legal a {
    font-weight: 500;
    line-height: 1;
  }
}
.shake {
  animation: formShake 0.4s ease;
}

@keyframes formShake {
  0%, 100% {
    transform: translateX(0);
  }
  20%, 60% {
    transform: translateX(-6px);
  }
  40%, 80% {
    transform: translateX(6px);
  }
}
/* 横並び（見出し＋特長512px・間40px・フォーム433px）が収まらない幅では縦1列に */
@media (max-width: 1080px) {
  .form-section__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 28px;
  }
  .entry-form {
    width: 100%;
    max-width: 433px;
    border-radius: 16px;
  }
}
/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #373737;
  color: #fff;
  text-align: center;
  padding: 37px 20px; /* Figma：高さ150px */
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.8;
}

/* Figma SP：高さ100px・文字12px */
@media (max-width: 900px) {
  .footer {
    padding: 17.5px 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
  }
}
.footer a {
  color: #fff;
  text-decoration: underline;
}

.footer a:hover {
  opacity: 0.8;
}

/* =========================================================
   GLOBAL MOBILE ADJUSTMENTS
   ========================================================= */
@media (max-width: 900px) {
  .container {
    padding-inline: 20px;
  } /* Figma SP：左右20px */
  .section {
    padding: 56px 0;
  }
  .section-head {
    margin-bottom: 34px;
  }
  .section-title {
    font-size: 22px;
  }
  .section-title--underline::after {
    height: 8px;
    bottom: -6px;
  }
  .section-title__line {
    width: 77%;
    margin: 2px auto 0;
  }
  /* SP：見出しの出現を速く */
  .js .section-title {
    transition: opacity 400ms ease 100ms, transform 400ms ease 100ms;
  }
  /* Figma SP：白カードの影は shadow_sp（0 0 18px rgba(28,100,148,.16)）に統一 */
  .entry-btns,
  .testimonial-card,
  .job-card,
  .faq-item {
    box-shadow: 0 0 18px rgba(28, 100, 148, 0.16);
  }
  /* CTA bands */
  .cta-band,
  .cta-band--light {
    padding: 24px 0;
  }
  .cta-band--consult {
    padding: 30px 0;
  } /* Figma SP：上下30px */
  .cta-box__title {
    font-size: 18px;
    margin-bottom: 18.35px;
  }
  /* form appeal */
  .form-section {
    border-radius: 38px 38px 0 0;
    padding: 24px 0 30px 0;
    background-image: url("images/form-bg-sp.webp");
  }
  /* Figma SP：スマホ画像・特長ピル・「ENTRY FORM」の流れる文字は出さず、見出しの下18pxにフォーム */
  .form-appeal__decoration,
  .form-appeal__features,
  .form-section__marquee {
    display: none;
  }
  .form-section__inner {
    gap: 18px;
  }
  .form-appeal__top {
    zoom: var(--zoom-sp-fit, 1);
  } /* 346px未満の狭い端末では幅に合わせて縮小 */
  .form-appeal__features {
    width: 100%;
    margin-top: 4px;
  }
  /* Figma SP：文字14px・強調16px。1枚目は内容幅で1行、2・3枚目は全幅で折り返し。影はFigma準拠 */
  /* 各ピルはテキスト幅に合わせて縮める（右の余分な余白を出さない） */
  .form-appeal__features .hero__feature {
    font-size: 14px;
    align-self: flex-start;
    white-space: normal;
    padding: 4px 2.6vw 6px 1.6vw;
    line-height: 1.2;
    box-shadow: 0 0 14px rgba(179, 236, 255, 0.8);
  }
  .form-appeal__features .hero__feature:first-child {
    white-space: nowrap;
  }
  .form-appeal__features .hero__feature .em {
    font-size: 16px;
  }
  .faq {
    padding: 0 0 30px 0;
  }
  .form-appeal__title .row1 {
    font-size: 20px;
  }
  .form-appeal__title .pill {
    height: 32px;
  }
  .form-appeal__title .row2 {
    font-size: 30px;
    letter-spacing: 0.04em;
    margin: 12px 0 8px 0;
  }
  .form-appeal__title .row2 .sm {
    font-size: 23px;
  }
  .form-appeal__badge {
    width: 108px;
    height: 108px;
    font-size: 12px;
  }
  .form-appeal__badge .big {
    font-size: 18px;
    line-height: 1.2;
  }
  .form-appeal__decoration {
    width: 220px;
  }
  .form-section__marquee {
    bottom: -12px;
  }
  /* ===== entry-form（SP：Figma registration-form／node 3049:16559 に合わせた表示。PCはbase＋min-width: 901px の指定） ===== */
  /* ステップ表示：番号24px・文字8px（間4px）。線は番号の両脇4pxあけ、真ん中の番号は常に中央 */
  .entry-form__steps {
    padding: 10px 16px 8px;
  }
  .entry-form__step {
    gap: 4px;
    font-size: 8px;
    font-weight: 500;
    line-height: 1;
  }
  .entry-form__steps::before,
  .entry-form__steps::after {
    top: 21px;
    border-radius: 1px;
  }
  .entry-form__steps::before {
    left: 48px;
    right: calc(50% + 16px);
  }
  .entry-form__steps::after {
    left: calc(50% + 16px);
    right: 48px;
  }
  .entry-form__step .dot {
    width: 24px;
    height: 24px;
    font-size: 10px;
    padding-bottom: 3px;
    box-sizing: border-box;
  }
  .entry-form__step--done .dot {
    background: url("images/step-done-sp.svg") center/24px 24px no-repeat;
    font-size: 0;
  }
  .entry-form__step--done .dot::after {
    content: none;
  }
  /* 本体：内側 上16px・左右16px・下20px。項目の間14px、見出しと入力欄の間6px */
  .entry-form__body {
    padding: 16px 16px 20px;
  }
  .entry-form__field {
    margin-bottom: 14px;
  }
  .entry-form__field:has(+ .entry-form__nav) {
    margin-bottom: 0;
  }
  .entry-form__label {
    gap: 0 4px;
    font-size: 10px;
    margin-bottom: 6px;
    line-height: 14px;
    letter-spacing: 0.05em;
  }
  .entry-form__label .req,
  .entry-form__label .opt {
    font-size: 8px;
    letter-spacing: 0;
  }
  .entry-form__label .opt {
    display: none;
  } /* Figma SP は「※任意」の表記なし */
  .entry-form__label .hint {
    color: var(--color-text);
    font-size: 8px;
    line-height: 11.5px;
    letter-spacing: 0;
    margin: 1.5px 0 1px;
    text-box: normal;
  }
  .entry-form__label:has(.hint) {
    margin-top: -3px;
  } /* Figma：補足文つきの見出しは文字の上端から配置 */
  /* 選択ボタン：高さ36px・12px。枠線は inset の影で表現し、選択前後でサイズ不変 */
  .entry-form__btn-group {
    gap: 8px;
  }
  .entry-form__choice {
    border: none;
    box-shadow: inset 0 0 0 1px #c5c5c5;
    height: 36px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.2;
  }
  .entry-form__choice:has(input:checked) {
    border: none;
    box-shadow: none;
  }
  /* 専門分野：幅74px×高さ36px・10px。1行目は両端そろえで4つ、2行目は同じ列位置に3つ */
  .entry-form__chips {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 74px));
    justify-content: space-between;
    gap: 8px 4px;
  }
  .entry-form__chip {
    border: none;
    box-shadow: inset 0 0 0 1px #e1e1e1;
    border-radius: 200px;
    width: auto;
    height: 36px;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-indent: 0;
    line-height: 1.2;
    white-space: nowrap;
  }
  .entry-form__chip:has(input:checked) {
    border: none;
    box-shadow: none;
    padding: 0;
  }
  .entry-form__chip--bio {
    letter-spacing: 0;
  }
  /* 入力欄・選択欄：高さ36px・12px。矢印は Figma の chevron（14×8.4px） */
  .entry-form__input,
  .entry-form__select {
    height: 36px;
    padding: 0 12px 2px;
    box-sizing: border-box;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 32px;
  }
  .entry-form__select {
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8.41' viewBox='0 0 14 8.41421' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23101418' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: 14px 8.41px;
    background-position: right 11px center;
  }
  .entry-form__row,
  .entry-form__row--3 {
    gap: 8px;
  }
  /* ボタン：入力欄との間24px。次へ230×48（矢印26px・右から11px） */
  .entry-form__nav {
    margin-top: 24px;
  }
  .entry-form__next {
    position: relative;
    width: 230px;
    height: 48px;
    border-radius: 10px;
    font-size: 16px;
  }
  .entry-form__next-arrow {
    width: 26px;
    height: 26px;
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    vertical-align: initial;
  }
  /* 戻る＋次へ／登録：戻るは左の余白の中央に、矢印＋文字の下に線 */
  .entry-form__nav--split {
    gap: 6px;
  }
  .entry-form__nav--split .entry-form__next {
    margin: 0;
    flex: 0 1 230px;
    min-width: 0;
    width: auto;
    border-radius: 12px;
  } /* 狭い端末では縮めてはみ出し防止 */
  .entry-form__back {
    flex: none;
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 0 4px;
    border-bottom: 1px solid var(--color-text);
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.05em;
  }
  .entry-form__back::before {
    margin: 0 -2.5px;
  }
  .entry-form__register {
    flex: 0 1 230px;
    min-width: 0;
    width: auto;
    min-height: 60px;
    border-radius: 12px;
    background: linear-gradient(61deg, #d77515 6.29%, #d72917 92.82%);
    box-shadow: none;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
  }
  .entry-form__legal {
    margin-top: 16px;
    gap: 14px;
  }
  .entry-form__legal a {
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
  }
}
/* 390px以下：ヒーローの特徴ピルを相対値で縮小し、右の人物画像に被らないようにする */
/* 354px未満の狭い端末：カードが314pxより細くなるため、長いタグは折り返し、年収は少し小さくして1行に収める */
@media (max-width: 353px) {
  .job-card__tag {
    white-space: normal;
    letter-spacing: 0;
  }
  .job-card__salary {
    gap: 8px;
  }
  .job-card__salary-value .num {
    font-size: 33px;
  }
  .job-card__salary-value .unit {
    font-size: 14px;
  }
}
@media (max-width: 390px) {
  /* ヒーロー：390px幅の Figma と同じ見え方のまま、画面幅に合わせて縮小（はみ出し防止） */
  .hero__badges {
    gap: 1.03vw;
  }
  .hero__badge {
    font-size: 3.08vw;
    line-height: 3.33vw;
    padding: 1.54vw 2.05vw 1.54vw 2.56vw;
  }
  .hero__title {
    font-size: 8.72vw;
    line-height: 11.54vw;
  }
  .hero__benefit {
    font-size: 2.82vw;
  }
  .hero__benefit .lg {
    font-size: 3.33vw;
  }
  .hero__feature {
    font-size: 3.6vw;
    letter-spacing: 0.1vw;
    padding: 6px 2.6vw 6px 1.6vw;
    gap: 1.6vw;
  }
  .hero__feature .em {
    font-size: 4.1vw;
  }
  .hero__feature svg {
    width: 4.6vw;
    height: 4.6vw;
  }
  /* form-appealの見出しは改行させず画面幅に合わせて縮小 */
  .form-appeal__title .row1 {
    font-size: 5.1vw;
    white-space: nowrap;
  }
  .form-appeal__title .pill {
    height: 8.2vw;
  }
  .form-appeal__title .row2 {
    font-size: 7.7vw;
    white-space: nowrap;
  }
  .form-appeal__title .row2 .sm {
    font-size: 5.9vw;
  }
  /* このCTA見出しは指定の<br>以外で改行させない */
  .cta-box__title--nowrap {
    white-space: nowrap;
  }
}
@media (max-width: 380px) {
  .section-title,
  .jobs__title,
  .faq__title,
  .cta-box__title {
    font-size: 19px;
  }
}
/* =========================================================
   SITE HEADER (sticky, translucent)
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* サイトを開いた時にヘッダーごと上からスライドイン */
.js .site-header {
  transform: translateY(-100%);
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .site-header.is-in {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .site-header {
    opacity: 1;
    transform: none;
  }
}
/* ロゴはクリックでページ上部へ */
.site-header__logo {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding-top: 9px;
  padding-bottom: 9px;
  gap: 16px;
}

.site-header__logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.site-header__logo-img {
  height: 17px;
  width: auto;
  max-width: 97%;
  display: block;
}

.site-header__brand {
  font-weight: 900;
  font-size: 20px;
  color: var(--color-main);
  letter-spacing: 0.04em;
}

.site-header__tagline {
  font-size: 10px;
  color: #101010;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-header__link {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  line-height: normal;
}

/* リンク先頭の矢印SVG（images/link-arrow.svg） */
.site-header__link::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 12px;
  margin-right: 6px;
  vertical-align: middle;
  background: url("images/link-arrow.svg") center/contain no-repeat;
}

.site-header__link:hover {
  color: var(--color-main);
}

.site-header__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(65deg, #d77515 6%, #d72917 93%);
  color: #fff;
  border-radius: 6px;
  padding: 4px 18px;
  min-width: 136px;
  transition: filter 0.15s ease;
}

.site-header__cta:hover {
  filter: brightness(1.1);
}

.site-header__cta-note {
  font-size: 11px;
  font-weight: 600;
  line-height: normal;
}

.site-header__cta-main {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: normal;
}

/* =========================================================
   ENTRY BTNS (intent choice card)
   ========================================================= */
/* the card straddles .hero and .entry-btns-band.
   display:flow-root でマージン相殺を止め、帯の背景は動かさずカードだけを上へ重ねる */
.entry-btns-band {
  background: #f1faff;
  padding: 0 0 30px;
  display: flow-root;
}

.entry-btns {
  position: relative;
  z-index: 5;
  margin-top: -124px; /* カードを .hero の下端に食い込ませて跨がせる（Figma：上端591px） */
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 0 23.4px rgba(28, 100, 148, 0.16);
  padding: 35px 24px 40px; /* Figma：高さ186px */
  text-align: center;
}

/* スクロールで下からフェードイン */
.js .entry-btns {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.js .entry-btns.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .entry-btns {
    opacity: 1;
    transform: none;
  }
}
.entry-btns__title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 26px;
  line-height: 100%;
}

.entry-btns__group {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
} /* Figma：ボタン間40px */
.entry-btns__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 330px;
  max-width: 100%;
  height: 60px;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.entry-btns__btn svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.entry-btns__btn-arrow {
  width: 26px;
  height: 26px;
  flex: none;
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-50%);
}

.entry-btns__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.09);
}

.entry-btns__btn--consult {
  background: linear-gradient(52deg, #d77515 6%, #d72917 93%);
  color: #fff;
  padding-right: 12px;
}

.entry-btns__btn--info {
  background: #fff;
  color: #d62a17;
  border: 2px solid #d62a17;
}

@media (max-width: 900px) {
  .site-header__inner {
    min-height: 54px;
    height: 54px;
    padding-top: 0;
    padding-bottom: 0;
    gap: 8px;
  }
  .site-header__logo {
    gap: 3px;
  }
  .site-header__tagline {
    display: block;
    font-size: 9px;
  }
  .site-header__logo-img {
    height: 15px;
  }
  .site-header__right {
    gap: 8px;
  }
  /* 「採用のご相談はこちら」を黒枠の角丸ボタンに（Figma SP準拠・2行） */
  .site-header__link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid #101418;
    border-radius: 6px;
    height: 40px;
    padding: 0 8px;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.2;
    width: 80px;
    white-space: normal;
  }
  .site-header__link::before {
    display: none;
  }
  .site-header__cta {
    min-width: 0;
    width: 92px;
    height: 40px;
    justify-content: center;
    padding: 0 8px;
  }
  .site-header__cta-note {
    font-size: 9px;
  }
  .site-header__cta-main {
    font-size: 12px;
  }
  /* SPは features に被らないよう控えめの重なりに（下げる） */
  .entry-btns-band {
    padding-bottom: 24px;
  }
  .entry-btns {
    padding: 23px 10px 24px;
    margin-top: -80px;
    border-radius: 16px;
    box-shadow: 0 0 18px rgba(28, 100, 148, 0.16);
  } /* Figma SP：上端512px・高さ206px */
  /* SPは出現開始をワンテンポ遅らせる（速度は700msのまま） */
  .js .entry-btns {
    transition: opacity 700ms ease 300ms, transform 700ms ease 300ms;
  }
  .entry-btns__title {
    font-size: 16px;
    letter-spacing: 0.03em;
    margin-bottom: 21px;
  }
  .entry-btns__btn {
    border-radius: 10px;
    height: 54px;
  }
  .entry-btns__group {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .entry-btns__btn {
    width: 300px;
    max-width: 100%;
    font-size: 16px;
  }
}
