@charset "UTF-8";

/* =========================================================
   トップページ（/index.php）専用スタイル
   - SP 先行。PC 用は @media (min-width: 601px) に書く
   - MV / ロゴ帯など Figma の座標をそのまま持つ箇所は、
     デザイン幅（SP 390px / PC 1440px）に対する % と vw で組み、
     PC は min(Xvw, Ypx) で 1440px を超えたら固定する
   ========================================================= */

:root {
    --navy: #1a3261;
    --orange: #e95513;
    --bg: #f2f2f2;
    --text: #1f1f1f;
    --arc: #cdd3e0;
    /* セクション左右の余白。601px で PC 版に切り替わるが、Figma の 80px は
       1000px 未満では広すぎて本文が潰れるので段階的に広げる */
    --gutter: 16px;
    /* 背景の円弧を配置するときの基準幅。Figma の PC アートボードが 1440px なので、
       そこまでは画面幅に比例させ、それより広い画面では拡大を止める。
       止めないと本文が max-width で頭打ちになった後も弧だけ太く大きくなり続けて
       レイアウトから浮く */
    --arc-w: min(100vw, 1440px);
    --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Yu Gothic", Meiryo, sans-serif;
    /* Figma は英字に Gabarito を指定しているが Web フォントを増やさない方針のため代替 */
    --font-en: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;
    /* Figma の SP アートボードは 390px 幅ちょうどで、本文の多くが「390px に収まる字数」で
       改行位置を決め打ちしてある（テキストノード自身が whitespace-nowrap で枠から溢れている
       ものすらある）。そのため 375px / 360px の実機では同じ字数が 1 行に入らず、
       デザインに無い位置で折り返して行数が増える。
       390px 未満のときだけ不足ぶんに比例して文字を縮め、Figma の改行位置を保つ。
       SP 先行ブロックの font-size は全て「数値 x この変数」で書いてある（390px 以上では 1px なので無変化）。 */
    --sp-px: 1px;
}

@media (max-width: 389px) {
    :root {
        /* 358px = 390px アートボードの本文幅（左右 16px を引いたもの）。
           34px は左右余白 32px + スクロールバー等の 2px ぶんの逃げ */
        --sp-px: calc((100vw - 34px) / 358);
    }
}

/* ---------- reset / base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    /* Figma ではヘッダ枠と MV のコンテナがどちらも y=0 に置かれ、ヘッダが MV に
       重なっている（ヘッダは塗り無しなので地色が透けて見えているだけ）。
       ヘッダの高さぶん本文を下げると MV の中身が丸ごとその高さぶん下がり、
       ヘッダと見出しの間隔が Figma の倍近くまで開いてしまうため、余白は持たせない。
       MV のヘッダに隠れる帯（SP 上 56px / PC 上 80px）は Figma でも地色だけで何も無い */
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-ja);
    font-size: calc(16 * var(--sp-px));
    line-height: 1.6;
    overflow-x: hidden;
    /* 円弧装飾がセクション幅を越えて伸びるため */
}

h1,
h2,
h3,
p,
ul,
figure {
    margin: 0;
}

ul {
    padding: 0;
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

/* SP 用画像の出し分けで <img> を <picture> で包むが、既存の CSS はすべて
   「<img> が親要素の直下にある」前提で書かれている。display:contents で
   <picture> をボックスツリーから消し、レイアウトを包む前と同一に保つ */
picture {
    display: contents;
}

/* <picture> が display:contents で消えると <source> が親の直接の子として残り、
   親が flex だと gap がひとつぶん余計に入る（.p-mv__banner が 16px ずれた）。
   要素自体を箱にしないことで防ぐ。画像の出し分けは CSS ではなく DOM を見て決まるので影響しない */
picture > source {
    display: none;
}

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

/* ---------- 共通パーツ: ネイビー帯（斜体テキスト） ---------- */
/* 帯そのものは水平、中のテキストだけを skew する（Figma と同じ見え方） */
.c-band {
    display: inline-block;
    background-color: var(--navy);
    color: #fff;
    /* Figma のロゴ帯見出しは 342x99.5（= 文字 83.5px + 上下 8px、左右 24px） */
    padding: 8px 24px;
    font-weight: 900;
    line-height: 1.47;
}

.c-band__text {
    display: inline-block;
    transform: skewX(-6.34deg) scaleY(0.99);
}

.c-band--white {
    background-color: #fff;
    color: var(--navy);
}

/* ---------- 共通パーツ: ボタン / CTA ---------- */
.c-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

/* Figma の SP は 319x22 の 1 行（PC の 16px より小さい）。22 文字が折り返さない字送りにする */
.c-cta__lead {
    font-size: calc(15 * var(--sp-px));
    font-weight: 700;
    line-height: 1.467;
    letter-spacing: -0.04em;
    text-align: center;
}

.c-cta__buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 400px;
}

/* Figma の SP はロゴ帯・流れの CTA だけ 319px 幅（ABOUT US の CTA は 358px の全幅） */
.p-offices .c-cta,
.p-process .c-cta {
    max-width: 319px;
}

/* Figma の流れセクションだけボタン間が 16px */
.p-process .c-cta__buttons {
    gap: 16px;
}

.c-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 54px;
    padding: 15px 22px;
    border-radius: 999px;
    font-size: calc(15 * var(--sp-px));
    font-weight: 700;
    text-align: center;
    transition: opacity 0.2s;
}

.c-btn:hover {
    opacity: 0.85;
}

.c-btn__arrow {
    font-size: calc(18 * var(--sp-px));
    line-height: 1;
}

.c-btn--primary {
    background-color: var(--orange);
    color: #fff;
}

/* Figma は塗り／線どちらのボタンも 54px。border 1px ぶんを padding から差し引く */
.c-btn--outline {
    background-color: #fff;
    border: 1px solid var(--orange);
    padding: 14px 21px;
    color: var(--orange);
}

/* ---------- 共通パーツ: 白カード ---------- */
.c-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #fff;
    border-radius: 20px;
    padding: 16px;
}

/* Figma: 見出しと本文の間は 8px（PC / SP 共通） */
.c-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.c-card__image {
    border-radius: 10px;
    overflow: hidden;
}

.c-card__image img {
    display: block;
    width: 100%;
    height: 224.5px;
    object-fit: cover;
}

/* Figma の ABOUT US カード見出しは 1 行 29px（20px x 1.45） */
.c-card__title {
    border-left: 4px solid var(--navy);
    padding-left: 12px;
    font-size: calc(20 * var(--sp-px));
    font-weight: 800;
    line-height: 1.45;
}

.c-card__title--sm {
    font-size: calc(18 * var(--sp-px));
}

.c-card__accent {
    color: var(--orange);
}

/* Figma は PC・SP とも本文に 0.8px（= 0.05em）の字送り。これが無いと 1 行あたり 1 文字多く入り、
   折り返し位置がデザインとずれる */
.c-card__text {
    font-size: calc(16 * var(--sp-px));
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.05em;
}

/* ---------- 共通パーツ: 背景のゴースト文字 ---------- */
.c-ghost,
.p-about__ghost,
.p-process__ghost,
.p-faq__ghost,
.p-bottom-cta__ghost {
    position: absolute;
    margin: 0;
    font-family: var(--font-en);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 0.9;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

/* =========================================================
   ヘッダ（マークアップは lp01/index.php:167-187 から移植、
   見た目は Figma に合わせる。PC = 4800:3791 / SP = 4841:6810）
   ========================================================= */
/* Figma のヘッダ枠（PC 4800:3791 / SP 4841:6810）は塗り無しで、
   背後のページ地色 #F2F2F2 がそのまま見えている。ただし実際のページでは
   position:fixed なので透過にすると本文が透けてしまう。
   見た目が Figma と一致し、かつ不透明になるよう地色そのものを敷く。
   （採用担当者ボタンは Figma どおり #fff なので、地色と差が出て初めて枠が見える） */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--bg);
    z-index: 99;
}

/* 最上部にいる間だけ地色を外し、MV の円弧装飾がヘッダの奥を通って見える
   Figma どおりの状態にする（付け外しは top.js）。
   既定を不透明にしてあるので、JS が動かない環境では従来どおり不透明のまま */
.header.is-top {
    background-color: transparent;
}

.header .wrapper {
    width: 100%;
    height: 56px;
    padding: 4px 16px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* SP はキャッチが上・ロゴが下の縦積み。
   DOM ではロゴが先なので order で入れ替える（読み上げ順はロゴ→キャッチのまま） */
.header .left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    min-width: 0;
}

.header .wrapper .brand img {
    width: 138px;
    height: auto;
}

.header .wrapper .tips {
    order: -1;
    font-size: calc(10 * var(--sp-px));
    font-weight: 400;
    line-height: 1.2;
    color: #000;
    white-space: nowrap;
}

/* SP は採用担当者向けボタンを出さない（Figma でレイヤー非表示。同じ導線がフッタにある） */
.header .right {
    display: none;
}

.p-labor-header__button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    width: 228px;
    height: 42px;
    padding-left: 16px;
    border: solid 1px var(--orange);
    border-radius: 20px;
    background-color: #fff;
    color: var(--orange);
    font-size: calc(16 * var(--sp-px));
    font-weight: bold;
}

/* Figma は線のシェブロンではなく塗りつぶしの三角（▶）。実寸は 8x14px */
.p-labor-header__button::after {
    content: "";
    position: absolute;
    right: 16px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 0 7px 8px;
    border-color: transparent transparent transparent var(--orange);
}

/* =========================================================
   SP 専用の背景円弧

   Figma の SP は PC と別のベクタで、位置も曲線も PC と共通ではない。
   数値は Figma SP（390px 幅）のバウンディングボックスの実値で、
   left/top は「中心を Figma の中心に合わせる」書き方に揃えている。
   回転はベクタ書き出しに含まれないのでここで掛け直す。
   （arc-about は 30 度、arc-who は 240 度、arc-process は上下反転 + 60 度）

   Figma はクリップ off でセクション境界をまたいで弧が伸びるが、
   実装は節ごとに overflow: hidden で切っているため、
   またぐ弧は隣の節にも同じ画像を置いて継ぎ目なしに繋いでいる。
   ========================================================= */
.c-arc-sp {
    position: absolute;
    max-width: none;
    transform: translate(-50%, -50%);
}

.c-arc-sp--mv {
    left: calc(50% - 0.5px);
    top: 373.5px;
    width: 827.003px;
    height: 403.005px;
}

.c-arc-sp--offices {
    left: 50%;
    top: 366.5px;
    width: 854.003px;
    height: 129px;
}

/* 弧の下端がスライダ節（高さ 351.5px）を 36px はみ出すので ABOUT 側にも同じ画像を置く。
   -86.986px = 264.514 - 351.5 で、スライダ節に置いたぶんと同じ絶対位置に載る */
.c-arc-sp--slider,
.c-arc-sp--slider-tail {
    left: 50%;
    width: 854.003px;
    height: 246px;
}

.c-arc-sp--slider {
    top: 264.514px;
}

.c-arc-sp--slider-tail {
    top: -86.986px;
}

.c-arc-sp--about {
    left: 50%;
    top: 1282.03px;
    width: 863.979px;
    height: 620.001px;
    transform: translate(-50%, -50%) rotate(30deg);
}

.c-arc-sp--who {
    left: 50%;
    top: 433.5px;
    width: 854px;
    height: 394.999px;
    transform: translate(-50%, -50%) rotate(240deg);
}

.c-arc-sp--process {
    left: calc(50% + 0.8px);
    top: 589.2px;
    width: 854.001px;
    height: 273.005px;
    transform: translate(-50%, -50%) scaleY(-1) rotate(60deg);
}

.c-arc-sp--faq,
.c-arc-sp--faq-head {
    left: calc(50% + 254px);
    width: 854.002px;
    height: 650.992px;
}

.c-arc-sp--faq {
    top: 275.855px;
}

/* 節境界より上にはみ出すぶん。calc(100% + n) で FAQ 側と同じ絶対位置に載る */
.c-arc-sp--faq-head {
    top: calc(100% + 275.855px);
}

/* PC 用の弧は SP では使わない（SP は上の .c-arc-sp が受け持つ）。
   各節の .p-*__arc の座標指定はそのまま PC 用として残してある。

   線の太さを節ごとにバラつかせないため、また画面幅を変えても位置がずれないため、
   幅も座標も --arc-w（= min(100vw, 1440px)）に対する Figma 実寸の比で書く。

       width = var(--arc-w) / 1440 * SVG の実寸幅
       left  = 50% + var(--arc-w) / 1440 * (SVG 中心の Figma 上の x - 720)
       top   =       var(--arc-w) / 1440 * 節上端から SVG 上端までの px

   1440px 以下では全節が同じ倍率で伸縮するので実効の線幅が Figma と同じ
   49.5〜57px に揃い、1440px を超えると本文と同じく拡大が止まる。
   px 直書きだと画面幅に追従せず、% だけだと 1440px 超で膨らみ続けるので両方だめ。 */
.p-mv__arc,
.p-offices__arc,
.p-slider__arc,
.p-about__arc,
.p-who__arc,
.p-process__arc,
.p-faq__arc,
.p-bottom-cta__arc {
    display: none;
}

/* =========================================================
   節2: MV
   ========================================================= */
.p-mv {
    /* 年収診断 CTA をビューポート幅基準で右端に張り付かせるための基準 */
    position: relative;
    overflow: hidden;
}

.p-mv__inner {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    aspect-ratio: 390 / 696;
}

/* Figma 4800:3193 = 節内 (-275.5, 0) 1938.19x928.19。
   SVG は線幅 52.81 ぶん広く 1991x981 / 左上 (-275.5, 0) */
.p-mv__arc {
    position: absolute;
    top: 0;
    left: calc(50% + var(--arc-w) / 1440 * -0.5);
    transform: translateX(-50%);
    width: calc(var(--arc-w) / 1440 * 1991);
    max-width: none;
    height: auto;
}

.p-mv__photo {
    position: absolute;
    top: 26.15%;
    left: calc(50% - 10px);
    transform: translateX(-50%);
    width: 111.79%;
    max-width: none;
}

.p-mv__float {
    position: absolute;
    border-radius: 4px;
}

.p-mv__float--01 {
    width: 29.23%;
    left: 3.59%;
    top: 32.04%;
    filter: blur(3px);
}

.p-mv__float--02 {
    width: 30.51%;
    left: 62.31%;
    top: 64.51%;
    filter: blur(2px);
}

.p-mv__float--03 {
    width: 40.26%;
    left: 50.51%;
    top: 23.42%;
    filter: blur(4px);
}

.p-mv__float--05 {
    width: 34.87%;
    left: 0;
    top: 74.43%;
}

.p-mv__catch {
    position: absolute;
    /* Figma のレイヤ順ではキャッチコピーがメイン写真の背面。写真は切り抜き（透過）なので
       ほぼ見えるが、幅によっては人物と重なって欠けるため可読性を優先して最前面に出す。
       MV 内で z-index を持つのはここだけなので、他の重ね順は DOM 順のまま */
    z-index: 2;
    top: 16.5%;
    left: 4.07%;
    color: var(--navy);
    font-weight: 900;
    line-height: 0.98;
    white-space: nowrap;
}

/* Figma の字送りは Noto Sans JP より詰まっている（SP: 1 行目 37.2px/字・2 行目 38.0px/字）。
   PC と同じく letter-spacing で行幅 297px / 228px に合わせる */
.p-mv__catch-line {
    display: block;
    font-size: 10.77vw;
    letter-spacing: -0.115em;
}

.p-mv__catch-line--2 {
    font-size: 10.26vw;
    letter-spacing: -0.057em;
}

.p-mv__catch-text {
    display: inline-block;
    transform: skewX(-3.25deg);
}

.p-mv__brand {
    position: absolute;
    left: 4.1%;
    bottom: 21.26%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.p-mv__brand-sub,
.p-mv__brand-name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

/* SP は「社労士・労務担当者のための」「転職エージェント」で帯が分かれる */
.p-mv__band {
    display: block;
    width: fit-content;
    background-color: var(--navy);
    color: #fff;
    padding: 4px 12px;
    line-height: 1.4;
}

.p-mv__band-text {
    display: inline-block;
    transform: skewX(-12.53deg) scaleY(0.98);
    white-space: nowrap;
}

/* Figma の帯は 274x32 / 174x32（= 文字 27.3px + 上下 2.3px） */
.p-mv__brand-sub .p-mv__band {
    padding: 2.3px 12px;
    font-size: 5.13vw;
    font-weight: 700;
    line-height: 1.37;
    letter-spacing: -0.038em;
}

/* Figma の帯は 335.6x56。文字（56.6px）と同じ高さで上下パディングが無い */
.p-mv__brand-name .p-mv__band {
    padding: 0 12px 0 4px;
    font-size: 12.31vw;
    font-weight: 800;
    line-height: 1.17;
    letter-spacing: -0.049em;
}

/* Figma では MV 下端に接している。SP は高さが伸びても切れないよう bottom 基準で置く */
.p-mv__banner {
    position: absolute;
    left: 4.1%;
    bottom: 0;
    display: flex;
    align-items: center;
    /* MV 全体が幅に比例して伸縮するので、中身も vw で揃える（狭い端末で文言が折り返さない） */
    gap: 4.1vw;
    width: 91.79%;
    /* Figma の外形は 358x124。border 4px も内側に含まれるので padding から差し引く */
    padding: 5.13vw 6.15vw;
    background-color: var(--orange);
    border: 4px solid #ff7560;
    border-radius: 24px 8px 24px 8px;
    color: #fff;
}

.p-mv__banner-img {
    flex-shrink: 0;
    width: 20.51vw;
    height: 19.49vw;
    object-fit: cover;
    border-radius: 8px;
}

.p-mv__banner-body {
    display: block;
    line-height: 1.3;
    white-space: nowrap;
}

/* Figma の 3 行は 208x21 / 140x18 / 156x31（= 16px / 14px / 15px + 強調 24px） */
.p-mv__banner-line1 {
    display: block;
    font-size: 4.1vw;
    font-weight: 700;
}

.p-mv__banner-line2 {
    display: block;
    font-size: 3.59vw;
    font-weight: 700;
}

.p-mv__banner-line3 {
    display: block;
    font-size: 3.85vw;
    font-weight: 700;
}

.p-mv__banner-strong {
    font-size: 6.15vw;
    font-weight: 900;
}

.p-mv__banner-arrow {
    position: absolute;
    /* 絶対配置の基準は padding box（border の内側）。Figma の外形基準 26/24px から border 4px を引く */
    right: 5.64vw;
    bottom: 5.13vw;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 8.2vw;
    height: 8.2vw;
    background-color: #fdfdfd;
    border-radius: 50%;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   節3: 導入事務所ロゴ帯
   ========================================================= */
.p-offices {
    position: relative;
    padding: 56px 0;
    overflow: hidden;
}

/* Figma 4800:3415 = 節内 (-323.13, 176.92) 2070.67x269.16。
   SVG は線幅 55.96 の半分ぶん外に広く 2126.64x325.13 / 左上 (-351.11, 148.94) */
.p-offices__arc {
    position: absolute;
    top: calc(var(--arc-w) / 1440 * 148.938);
    left: calc(50% + var(--arc-w) / 1440 * -7.787);
    transform: translateX(-50%);
    width: calc(var(--arc-w) / 1440 * 2126.64);
    max-width: none;
    height: auto;
}

.p-offices__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 0 var(--gutter);
}

.p-offices__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

/* 帯は inline-block なので、行ボックスのディセンダぶん余分な高さが付かないよう flex にする */
.p-offices__title {
    display: flex;
    justify-content: center;
    /* Figma の 1 行目 294px / 2 行目 205px から逆算した実寸 */
    font-size: calc(25.7 * var(--sp-px));
    text-align: center;
}

.c-band__lg {
    font-size: 1.2em;
}

/* Figma は 2 行固定（20px・折り返し無し）で 2 行目が 350px。Noto Sans JP は Gen Interface JP より
   字面が広く 360px になって 3 行に割れるため、字送りを詰めて Figma の幅に合わせる */
.p-offices__lead {
    font-size: calc(20 * var(--sp-px));
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.08em;
}

/* ロゴは実寸合計がページ幅を大きく超えるため、途切れず横に流す */
/* 左右の padding を打ち消して画面幅いっぱいに流す（% は親のコンテンツ幅基準） */
.p-offices__marquee {
    width: calc(100% + var(--gutter) * 2);
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow: hidden;
}

.p-offices__row {
    display: flex;
    width: max-content;
}

.p-offices__row--reverse .p-offices__list {
    animation-direction: reverse;
}

/* ロゴ間は Figma の SP・PC とも 40px */
.p-offices__list {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-right: 40px;
    animation: p-offices-marquee 60s linear infinite;
}

/* 上下の行で速度をずらして単調に見せない。上 60s / 下 54s の比は元のまま */
.p-offices__row--reverse .p-offices__list {
    animation-duration: 54s;
}

.p-offices__item img {
    width: auto;
    height: 48px;
}

@keyframes p-offices-marquee {
    to {
        transform: translateX(-100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .p-offices__list {
        animation: none;
    }
}

/* =========================================================
   節4: 写真スライダ
   ========================================================= */
/* 弧は Figma でも節の上下にはみ出して隣の節まで続いている。overflow: hidden だと
   縦にも切れて線が途切れて見えるため、横だけ clip して縦は通す。
   （hidden は片方だけ visible にできず auto に落ちるので clip を使う。
     未対応ブラウザでは前段の hidden が残り、従来どおり切れるだけで崩れはしない）*/
.p-slider {
    position: relative;
    padding: 40px 0;
    overflow: hidden;
    overflow-x: clip;
    overflow-y: visible;
}

/* Figma 4800:3468 = 節内 (-277.55, -66.17) 2056.93x558.44。
   SVG は線幅 57.05 ぶん広く 2113.99x615.50 / 左上 (-306.07, -94.70) */
.p-slider__arc {
    position: absolute;
    top: calc(var(--arc-w) / 1440 * -94.695);
    left: calc(50% + var(--arc-w) / 1440 * 30.924);
    transform: translateX(-50%);
    width: calc(var(--arc-w) / 1440 * 2113.99);
    max-width: none;
    height: auto;
}

.p-slider__list {
    position: relative;
    display: flex;
}

/* slick 初期化前でも横に並べたまま溢れを隠す（JS 無効時の保険） */
.p-slider__list:not(.slick-initialized) {
    overflow: hidden;
}

/* 真上のロゴ帯の上段も左向きに流れており、同じ向きだと 2 本の帯の動きが揃って見える。
   slick は autoplay の進行方向を持たないため、トラックごと水平反転して右向きに見せる。
   写真が鏡像になるので item 側で戻す。JS 無効時は反転しない（静止並びの順序を保つ） */
.p-slider__list.slick-initialized {
    transform: scaleX(-1);
}

.slick-initialized .p-slider__item {
    transform: scaleX(-1);
}

/* Figma: スライド 390px（= SP 画面幅）、間隔 37.5px、奇数番目が 37.5px 下がる千鳥 */
.p-slider__item {
    flex-shrink: 0;
    width: 390px;
    margin: 0 18.75px;
}

.p-slider__item--offset {
    margin-top: 37.5px;
}

.p-slider__item img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* =========================================================
   節5: ABOUT US
   ========================================================= */
.p-about {
    position: relative;
    padding: 80px 0 24px;
    overflow: hidden;
}

/* Figma 4826:6019 = 節内 (-145, 366.41) 1853.52x1312.21。
   SVG は線幅 57.05 ぶん広く 1910.53x1369.26 / 左上 (-173.53, 337.89) */
.p-about__arc {
    position: absolute;
    top: calc(var(--arc-w) / 1440 * 337.885);
    left: calc(50% + var(--arc-w) / 1440 * 61.74);
    transform: translateX(-50%);
    width: calc(var(--arc-w) / 1440 * 1910.53);
    max-width: none;
    height: auto;
}

.p-about__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    max-width: 1024px;
    padding: 0 var(--gutter);
    margin: 0 auto;
}

.p-about__head {
    position: relative;
    width: 100%;
}

/* Figma ではゴースト文字が帯・見出しの背面に重なる。左端は本文と揃える */
.p-about__ghost {
    top: -11px;
    left: 0;
    font-size: calc(80 * var(--sp-px));
    /* Figma のゴースト書体は Noto より字幅が狭い。幅 342px に合わせる */
    letter-spacing: -0.118em;
    color: rgba(255, 255, 255, 0.5);
}

.p-about__heading {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 12px;
    gap: 28px;
}

/* Figma の帯は 24px（文字 16px + 上下 4px） */
.p-about__heading .c-band {
    font-size: calc(16 * var(--sp-px));
    padding: 4px 12px;
    line-height: 1;
}

/* Figma は SP 32px / 行高 42px（PC は 48px / 1.4）。行高だけ SP と PC で比率が違う */
.p-about__title {
    font-size: calc(32 * var(--sp-px));
    font-weight: 800;
    line-height: 1.3125;
    letter-spacing: -0.08em;
}

/* Figma の SP は 1 枚目の画像だけ 244.5px（2-4 枚目は 224.5px）。デザイン通りに再現する */
.p-about__cards .c-card:nth-of-type(1) .c-card__image img {
    height: 244.5px;
}

.p-about__cards {
    display: grid;
    gap: 24px;
    width: 100%;
}

/* Figma: 地の文・強調部とも Bold。太さは変えず文字サイズと色だけで強弱をつけている。
   字送りは Gen Interface JP と Noto Sans JP の字面差ぶんを詰めて Figma の行幅に合わせる */
.p-about__note {
    font-size: calc(16 * var(--sp-px));
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
    letter-spacing: -0.094em;
}

.p-about__note-strong {
    font-size: calc(24 * var(--sp-px));
    font-weight: 700;
    color: var(--orange);
}

/* =========================================================
   節6: WHO WE SUPPORT
   ========================================================= */
/* 弧の下端が「転職までの流れ」に食い込むので、.p-slider と同じ理由で縦は通す */
.p-who {
    position: relative;
    padding: 64px 0;
    overflow: hidden;
    overflow-x: clip;
    overflow-y: visible;
}

/* Figma 4800:3611 = 節内 (-108.21, 234.37) 1558.41x699.99。
   SVG は線幅 57.05 ぶん広く 1615.46x757.04 / 左上 (-136.73, 205.84) */
.p-who__arc {
    position: absolute;
    top: calc(var(--arc-w) / 1440 * 205.84);
    left: calc(50% + var(--arc-w) / 1440 * -49.001);
    transform: translateX(-50%);
    width: calc(var(--arc-w) / 1440 * 1615.46);
    max-width: none;
    height: auto;
}

.p-who__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1240px;
    padding: 0 var(--gutter);
    margin: 0 auto;
}

.p-who__heading {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.p-who__en {
    font-family: var(--font-en);
    font-size: calc(58 * var(--sp-px));
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
    color: var(--navy);
}


.p-who__ja {
    font-size: calc(24 * var(--sp-px));
    font-weight: 900;
    line-height: 1.4;
}

.p-who__lead {
    margin-top: 24px;
    font-size: calc(16 * var(--sp-px));
    font-weight: 500;
    line-height: 1.4;
}

.p-who__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.p-who__item {
    background-color: rgba(255, 255, 255, 0.4);
    border: 1px solid #4d4d4d;
    border-radius: 4px;
    padding: 13px 20px;
    color: var(--navy);
    font-size: calc(16 * var(--sp-px));
    font-weight: 700;
    line-height: 1.375;
}

/* =========================================================
   節7: 転職までの流れ
   ========================================================= */
/* 弧の下端が FAQ に食い込むので、.p-slider と同じ理由で縦は通す */
.p-process {
    position: relative;
    padding: 64px 0;
    overflow: hidden;
    overflow-x: clip;
    overflow-y: visible;
}

/* Figma は 1154x112 で中央（x-382）。SP は 390px 幅なので translateX(-50%) でそのまま一致する */
.p-process__ghost {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: calc(74 * var(--sp-px));
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.04);
}

/* Figma 4800:3652 = 節内 (-399.86, 354.08) 2476.95x753.08。
   SVG は線幅 49.53 ぶん広く 2526.48x802.61 / 左上 (-424.62, 329.32) */
.p-process__arc {
    position: absolute;
    top: calc(var(--arc-w) / 1440 * 329.318);
    left: calc(50% + var(--arc-w) / 1440 * 118.622);
    transform: translateX(-50%);
    width: calc(var(--arc-w) / 1440 * 2526.48);
    max-width: none;
    height: auto;
}

.p-process__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 1240px;
    padding: 0 var(--gutter);
    margin: 0 auto;
}

/* SP の Figma は左寄せ。PC は中央寄せに戻す */
.p-process__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

.p-process__title {
    font-size: calc(40 * var(--sp-px));
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: 0.02em;
    color: var(--navy);
    transform: skewX(-6.34deg) scaleY(0.99);
}

.p-process__lead {
    font-size: calc(16 * var(--sp-px));
    font-weight: 500;
    line-height: 1.5;
}

.p-process__cards {
    display: grid;
    gap: 16px;
    width: 100%;
}

/* SP の Figma は写真 80px を左に置いた横並びカード */
.c-card--step {
    flex-direction: row;
    gap: 20px;
    padding: 16px;
}

.c-card--step .c-card__image {
    flex: 0 0 80px;
    width: 80px;
}

.c-card--step .c-card__body {
    flex: 1;
    min-width: 0;
}

.c-card--step .c-card__image img {
    height: 100%;
}

/* ABOUT US のカード本文だけ Figma で字送り 0.8px が入っている。
   ステップのカード本文は指定なしで、詰めると 1 行あたり 1 字減って行数が増える */
.c-card--step .c-card__text {
    letter-spacing: normal;
    /* このカードだけ本文列が「画面幅 - 左右余白 32 - カード内余白 32 - 写真 80 - 間隔 20」で、
       固定 px ぶんが効いて画面幅より速く狭まる。--sp-px（画面幅基準）だと 390px 未満で
       Figma の 4 行に収まらないので、本文列の幅（Figma 226px）を基準にした係数と小さい方を採る。
       390px 以上では 16px 側が必ず小さいので、PC・SP デザイン幅では何も変わらない */
    font-size: min(calc(16 * var(--sp-px)), calc((100vw - 166px) / 226 * 16));
}

/* Figma の SP ステップ見出しは 20px（--sm の 18px ではない）・1 行 28px */
.c-card--step .c-card__title {
    font-size: calc(20 * var(--sp-px));
    line-height: 1.4;
}

/* =========================================================
   節8: FAQ
   ========================================================= */
.p-faq {
    position: relative;
    padding: 64px 0;
    overflow: hidden;
}

/* Figma 4800:3763 = 節内 (621.53, 37.69) 1206.33x934.13。
   SVG は線幅 53.67 ぶん広く 1260x987.81 / 左上 (594.70, 10.85) */
.p-faq__arc {
    position: absolute;
    top: calc(var(--arc-w) / 1440 * 10.849);
    left: calc(50% + var(--arc-w) / 1440 * 504.699);
    transform: translateX(-50%);
    width: calc(var(--arc-w) / 1440 * 1260);
    max-width: none;
    height: auto;
}

/* Figma は 222x120 で右端ぴったり */
.p-faq__ghost {
    top: 0;
    right: 0;
    font-size: calc(120 * var(--sp-px));
    line-height: 1;
    letter-spacing: -0.069em;
    color: #fff;
}

.p-faq__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1240px;
    padding: 0 var(--gutter);
    margin: 0 auto;
}

.p-faq__heading {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.p-faq__en {
    font-family: var(--font-en);
    font-size: calc(64 * var(--sp-px));
    font-weight: 700;
    line-height: 1;
    color: var(--navy);
}

.p-faq__ja {
    font-size: calc(24 * var(--sp-px));
    font-weight: 900;
    line-height: 1.4;
}

.p-faq__lead {
    margin-top: 24px;
    font-size: calc(16 * var(--sp-px));
    font-weight: 500;
    line-height: 1.4;
}

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

.p-faq__item {
    border-bottom: 1px solid #4d4d4d;
}

.p-faq__q {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 12px 4px 12px 0;
    border-bottom: 1px solid #e8e8e8;
    cursor: pointer;
    list-style: none;
}

/* Safari のデフォルト三角を消す */
.p-faq__q::-webkit-details-marker {
    display: none;
}

.p-faq__mark {
    flex-shrink: 0;
    width: 20px;
    height: auto;
}

/* Figma（4841:6684）は 18px。質問文の枠は 294px で、20 文字を超える問だけが
   2 行になる字送り。16px だと 1 行に収まってしまい Figma と折り返しが変わる */
.p-faq__q-text {
    flex: 1;
    /* Q マーク 20 + 開閉 20 + 間隔 24 の 64px は画面幅に連動しないので、
       ステップカードと同じく本文列の幅（Figma 294px）基準の係数と小さい方を採る */
    font-size: min(calc(18 * var(--sp-px)), calc((100vw - 98px) / 294 * 18));
    font-weight: 700;
    line-height: 1.4;
    color: var(--navy);
}

.p-faq__toggle {
    position: relative;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.p-faq__toggle::before,
.p-faq__toggle::after {
    content: "";
    position: absolute;
    background-color: #6492b8;
    border-radius: 1px;
}

.p-faq__toggle::before {
    top: 9px;
    left: 0;
    width: 20px;
    height: 2px;
}

.p-faq__toggle::after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 20px;
}

/* 開いているときは縦棒を消して「−」にする */
.p-faq__item[open] .p-faq__toggle::after {
    display: none;
}

/* Figma の回答は 358x134（= 本文 110px + 上下 12px） */
/* stretch のままだと height:auto の A マークが回答の高さまで縦に伸びる */
.p-faq__a {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 4px 12px 0;
}

/* Figma（4841:6689）は 16px / Medium。回答文は Figma だと 7 問とも同じダミーなので
   行数は当てにならないが、字の大きさ・太さは質問文と対になる指定なので合わせる */
.p-faq__a-text {
    font-size: calc(16 * var(--sp-px));
    font-weight: 500;
    line-height: 1.4;
    color: var(--navy);
}

/* =========================================================
   節9: 下部 CTA 帯
   ========================================================= */
.p-bottom-cta {
    position: relative;
    background-color: var(--navy);
    padding: 80px 0;
    overflow: hidden;
}

/* Figma 4826:6114 は 1440 幅のフッタ内で 1737.68x268.94 / 左上 (-251.54, 263.36)。
   SVG は線幅 57.05 の半分ぶん外側に広いので 1794.74x326、左上 (-280.06, 234.83) になる */
.p-bottom-cta__arc {
    position: absolute;
    top: calc(var(--arc-w) / 1440 * 234.834);
    left: calc(50% + var(--arc-w) / 1440 * -102.694);
    transform: translateX(-50%);
    width: calc(var(--arc-w) / 1440 * 1794.74);
    max-width: none;
    height: auto;
}

/* Figma の SP は 1355x360 の 2 行（MITSUKARU / PROFESSIONAL）が左に大きくはみ出す。
   幅を与えて折り返させ、セクションの overflow:hidden で切る */
.p-bottom-cta__ghost {
    top: 301px;
    left: -483px;
    width: 1355px;
    font-size: calc(176 * var(--sp-px));
    line-height: 1.02;
    white-space: normal;
    color: rgba(255, 255, 255, 0.08);
}

.p-bottom-cta__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 1240px;
    padding: 0 var(--gutter);
    margin: 0 auto;
}

.p-bottom-cta__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    width: 100%;
}

/* Figma の帯は 358x78.9（= 文字 35.44px x 2 行 + 上下 4px）。
   「まずは、自分の現在地を」で折り返す字送りに合わせる */
.p-bottom-cta__title {
    display: inline-block;
    background-color: #fff;
    padding: 4px 11px;
    color: var(--navy);
    font-size: calc(30.5 * var(--sp-px));
    font-weight: 900;
    line-height: 1.158;
}

.p-bottom-cta__title-text {
    display: inline-block;
    transform: skewX(-10.08deg) scaleY(0.98);
}

/* Figma は 358px 幅に 4 行。最終行 20 文字が 18px だと 360px で溢れるので字送りを詰める */
.p-bottom-cta__lead {
    width: 100%;
    color: #fff;
    font-size: calc(18 * var(--sp-px));
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.012em;
}

.p-bottom-cta__choices {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.p-bottom-cta__main {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: rgba(26, 50, 97, 0.8);
    border: 2px solid #6291ed;
    border-radius: 16px;
    /* Figma の内容開始位置は上 24px / 左 20px。border 2px も内側に含まれる */
    padding: 22px 18px;
    color: #fff;
}

/* Figma のボタンは文字量なりの幅（209px）。CTA 帯の 2 択ボタンとは別扱い。
   見出しとの間隔 24px は flex の gap 8px と合わせて作る */
.p-bottom-cta__main .c-btn {
    width: auto;
    align-self: flex-start;
    margin-top: 16px;
}

/* Figma のデザインフォントは Noto より字幅が狭い。SP は 1 行に収まる字送りまで落とす */
.p-bottom-cta__main-sub {
    font-size: calc(14 * var(--sp-px));
    font-weight: 700;
    line-height: 1.571;
}

.p-bottom-cta__main-title {
    font-size: calc(27 * var(--sp-px));
    font-weight: 800;
    line-height: 1.4;
}

.p-bottom-cta__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.p-bottom-cta__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 86px;
    background-color: rgba(255, 255, 255, 0.7);
    border: 2px solid #fff;
    border-radius: 12px;
    /* Figma の内容開始位置は上下左右 16px。border 2px も内側に含まれる */
    padding: 14px;
    transition: background-color 0.2s;
}

.p-bottom-cta__link:hover {
    background-color: #fff;
}

.p-bottom-cta__link-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Figma は見出し 28px 行 + 4px + 本文 22px 行 = 54px */
.p-bottom-cta__link-title {
    color: #323232;
    font-size: calc(20 * var(--sp-px));
    font-weight: 800;
    line-height: 1.4;
}

.p-bottom-cta__link-text {
    color: #59616b;
    font-size: calc(14 * var(--sp-px));
    font-weight: 700;
    line-height: 1.571;
}

.p-bottom-cta__link-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

/* =========================================================
   フッタ（Figma 4821:4989）
   Figma の SP フレーム（4841:6791）は PC をそのまま貼った未調整版なので、
   PC の指定値を基準に SP は 1 カラムへ落とし込んでいる
   ========================================================= */
.p-footer {
    background-color: #323232;
    color: #fff;
}

.p-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1440px;
    padding: 40px var(--gutter) 24px;
    margin: 0 auto;
}

.p-footer__top {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.p-footer__company {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Figma のロゴは 362x84.95（437.22:102.6）。SP は入る幅まで縮める */
.p-footer__logo {
    display: block;
    width: 240px;
    max-width: 100%;
}

.p-footer__logo img {
    display: block;
    width: 100%;
    height: auto;
}

.p-footer__address {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: calc(14 * var(--sp-px));
    line-height: 1.6;
}

.p-footer__name {
    margin: 0;
    font-weight: 700;
}

/* Figma（4841:6800）は 2 行。ただし住所行は 14px で 362px あり、SP の本文幅 358px を
   はみ出している（SP フッタは PC からの貼り付けで幅が合わせ直されていないため）。
   そのままだと「4F」だけが 3 行目に落ちるので、362px を基準にわずかに詰めて 2 行に収める */
.p-footer__place {
    margin: 0;
    font-size: min(calc(14 * var(--sp-px)), calc((100vw - 34px) / 362 * 14));
}

.p-footer__recruit {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    color: #fff;
    font-size: calc(16 * var(--sp-px));
    line-height: 1.6;
    text-decoration: underline;
}

.p-footer__recruit:hover {
    color: #e95512;
}

.p-footer__recruit-icon {
    flex-shrink: 0;
    display: block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

/* 横並びになる PC 幅で折り返すと 3 行に割れて崩れるため、この行だけは折らない */
.p-footer__recruit-text {
    white-space: nowrap;
}

.p-footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: calc(14 * var(--sp-px));
    line-height: 1.6;
}

.p-footer__privacy {
    align-self: flex-start;
    color: #fff;
}

.p-footer__privacy:hover {
    color: #e95512;
}

.p-footer__copyright {
    margin: 0;
}

/* =========================================================
   PC（601px 以上）
   ========================================================= */
@media (min-width: 601px) {

    :root {
        --gutter: 40px;
    }

    /* ---------- 背景の円弧（PC と SP でベクタが別物） ---------- */
    .p-mv__arc,
    .p-offices__arc,
    .p-slider__arc,
    .p-about__arc,
    .p-who__arc,
    .p-process__arc,
    .p-faq__arc,
    .p-bottom-cta__arc {
        display: block;
    }

    .c-arc-sp {
        display: none;
    }

    /* ---------- ヘッダ ---------- */
    /* Figma の PC ヘッダは 1440px 全幅に左右 40px。本文のような最大幅の頭打ちは無い */
    .header .wrapper {
        height: 80px;
        padding: 0 40px;
    }

    /* PC はロゴとキャッチが横並び */
    .header .left {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

    .header .wrapper .tips {
        order: 0;
        font-size: 12px;
        line-height: 24px;
    }

    .header .right {
        display: block;
    }

    /* ---------- 共通パーツ ---------- */
    /* Figma の見出し帯は高さ 64px（文字 48px + 上下 8px）。字送りもデザインフォントに合わせて詰める */
    .c-band {
        padding: 8px 24px;
        line-height: 1;
        letter-spacing: -0.074em;
    }

    .c-cta {
        gap: 8px;
    }

    .c-cta__buttons {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
        max-width: none;
    }

    /* SP だけ 319px に絞っている CTA を PC では全幅に戻す */
    .p-offices .c-cta,
    .p-process .c-cta {
        max-width: none;
    }

    /* Figma のボタンは文字量なりの幅（213px / 239px）。固定幅にすると 2 つとも 260px になる */
    .c-btn {
        width: auto;
        min-height: 54px;
        padding: 0 23px;
        gap: 12px;
        font-size: 16px;
        letter-spacing: -0.0625em;
    }

    .c-btn__arrow {
        font-size: 20px;
    }

    .c-card {
        gap: 20px;
        padding: 30px 30px 35px;
    }

    .c-card__title {
        padding-left: 8px;
        font-size: 24px;
        line-height: 1.417;
        letter-spacing: -0.08em;
    }

    .c-card__title--sm {
        font-size: 20px;
    }

    /* ---------- 節2: MV ---------- */
    /* Figma の縦横比 1440:995 のままだと 1440px 幅で高さ 995px になり、
       ノート PC の表示領域（800px 前後）では「ミツプロ社労士」の帯と
       年収診断 CTA が画面の下に隠れる。画面に収まる高さから逆算した幅を
       --mv-w とし、MV 内のサイズをすべてこれ基準にして丸ごと縮小する。
       文字だけ vw 基準のままだと箱からあふれるので、px 値も比率に直す。 */
    .p-mv {
        --mv-w: min(100vw, 1440px, 100svh * 1440 / 995);
        /* 円弧も内枠と同じ倍率で縮ませる（他節は画面幅基準のまま） */
        --arc-w: var(--mv-w);
    }

    .p-mv__inner {
        aspect-ratio: 1440 / 995;
        max-width: var(--mv-w);
    }

    .p-mv__photo {
        top: 14.47%;
        left: calc(50% + var(--mv-w) * 0.095139);
        width: 79.03%;
    }

    .p-mv__float--01 {
        width: 13.06%;
        left: 10.63%;
        top: 33.57%;
    }

    .p-mv__float--02 {
        width: 13.61%;
        left: 81.74%;
        top: 52.36%;
    }

    .p-mv__float--03 {
        width: 17.92%;
        left: 77.43%;
        top: 13.07%;
    }

    .p-mv__float--05 {
        width: 15.56%;
        left: 0;
        top: 65.13%;
    }

    .p-mv__catch {
        top: 11.5%;
        left: 2.78%;
    }

    /* Figma の字送りは Noto Sans JP より詰まっている（1 行目 86.6px/字・2 行目 85.8px/字）。
       行ごとに letter-spacing を当てて Figma の行幅 693px / 515px に合わせる */
    .p-mv__catch-line {
        font-size: calc(var(--mv-w) * 0.066667);
        letter-spacing: -0.094em;
    }

    .p-mv__catch-line--2 {
        font-size: calc(var(--mv-w) * 0.061111);
        letter-spacing: -0.025em;
    }

    .p-mv__catch-text {
        transform: skewX(-11.83deg);
    }

    .p-mv__brand {
        left: 2.78%;
        bottom: 12.96%;
        width: 55.56%;
    }

    /* PC は「社労士・労務担当者のための転職エージェント」で 1 本の帯にする */
    .p-mv__brand-sub {
        display: inline-block;
        width: auto;
        background-color: var(--navy);
        color: #fff;
        padding: calc(var(--mv-w) * 0.005556) calc(var(--mv-w) * 0.011111);
    }

    .p-mv__brand-sub .p-mv__band {
        display: inline;
        background: none;
        padding: 0;
        font-size: calc(var(--mv-w) * 0.022222);
        /* 帯の外形を Figma の 662x60 に合わせる */
        line-height: 1.375;
        letter-spacing: -0.063em;
    }

    .p-mv__brand-name {
        display: block;
        width: 100%;
    }

    /* Figma の帯は 800x128（= padding 8px + 文字 112px）。line-height 1.2 だと 150px に膨らむ */
    .p-mv__brand-name .p-mv__band {
        width: 100%;
        padding: calc(var(--mv-w) * 0.005556) calc(var(--mv-w) * 0.016667);
        font-size: calc(var(--mv-w) * 0.077778);
        line-height: 1;
        letter-spacing: -0.05em;
    }

    .p-mv__banner {
        left: auto;
        right: 0;
        top: auto;
        bottom: 3.32%;
        width: auto;
        /* Figma では矢印の前に間隔が無い（写真の右に 16px だけ）。外形 494x160 に合わせて
           border 4px ぶんを padding から差し引く */
        gap: 0;
        padding: calc(var(--mv-w) * 0.013889) calc(var(--mv-w) * 0.016667) calc(var(--mv-w) * 0.013889) calc(var(--mv-w) * 0.027778);
        border-width: 4px 0 4px 4px;
        border-radius: 99px 0 0 99px;
        filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.16));
    }

    .p-mv__banner-img {
        width: calc(var(--mv-w) * 0.081944);
        height: calc(var(--mv-w) * 0.077778);
        margin-right: calc(var(--mv-w) * 0.011111);
    }

    .p-mv__banner-line1,
    .p-mv__banner-line2 {
        font-size: calc(var(--mv-w) * 0.013889);
    }

    .p-mv__banner-line3 {
        font-size: calc(var(--mv-w) * 0.016667);
        letter-spacing: 0.02em;
    }

    .p-mv__banner-strong {
        font-size: calc(var(--mv-w) * 0.027778);
    }

    .p-mv__banner-arrow {
        position: static;
        align-self: center;
        width: calc(var(--mv-w) * 0.022222);
        height: calc(var(--mv-w) * 0.022222);
    }

    /* ---------- 節3: ロゴ帯 ---------- */
    .p-offices {
        padding: 120px 0;
    }

    .p-offices__inner {
        gap: 40px;
    }

    .p-offices__head {
        gap: 8px;
    }

    .p-offices__title {
        font-size: 40px;
    }

    .p-offices__lead {
        font-size: 24px;
        line-height: 1.42;
        letter-spacing: -0.056em;
    }

    .p-offices__marquee {
        gap: 24px;
    }

    .p-offices__item img {
        height: 64px;
    }

    /* ---------- 節4: スライダ ---------- */
    .p-slider {
        padding: 40px 0;
    }

    .p-slider__item {
        width: 520px;
        margin: 0 25px;
    }

    .p-slider__item--offset {
        margin-top: 50px;
    }

    /* ---------- 節5: ABOUT US ---------- */
    .p-about {
        padding: 120px 0 184px;
    }

    /* カード群を Figma の max-width 1024px にするため、padding ぶんを足した幅にする */
    .p-about__inner {
        gap: 40px;
        max-width: 1184px;
    }

    .p-about__ghost {
        top: 0;
        font-size: min(12.5vw, 180px);
        line-height: 0.9;
        letter-spacing: -0.055em;
    }

    /* Figma: 見出し先頭 +63px に帯（36px）、+23px 空けて 48px 見出し = 合計 256px */
    .p-about__heading {
        padding-top: 63px;
        gap: 23px;
    }

    .p-about__heading .c-band {
        font-size: 25px;
        line-height: 0.96;
        padding: 6px 24px 6px 8px;
        letter-spacing: normal;
    }

    .p-about__title {
        font-size: min(3.33vw, 48px);
        line-height: 1.4;
    }


    .c-card__image img {
        height: 321px;
    }

    /* PC の Figma は 4 枚とも同じ高さ（SP だけ 1 枚目が高い） */
    .p-about__cards .c-card:nth-of-type(1) .c-card__image img {
        height: 321px;
    }

    /* Figma の注記は 2 行で 60px。強調文字（24px）に行高を引っ張られないよう固定値にする */
    .p-about__note {
        line-height: 30px;
    }

    /* 24px の行ボックスが 30px の行送りを押し広げないように */
    .p-about__note-strong {
        line-height: 1;
    }

    /* ---------- 節6: WHO WE SUPPORT ---------- */
    .p-who {
        padding: 120px 0;
    }


    .p-who__inner {
        max-width: 1440px;
    }

    .p-who__head {
        flex-shrink: 0;
    }

    .p-who__heading {
        gap: 10px;
    }

    .p-who__en {
        font-size: min(6.94vw, 100px);
        line-height: 1;
        letter-spacing: -0.076em;
    }

    .p-who__ja {
        font-size: 24px;
        line-height: 1.625;
        letter-spacing: 0.03em;
    }

    .p-who__lead {
        margin-top: 40px;
        font-size: 16px;
        line-height: 1.375;
    }

    .p-who__list {
        gap: 24px;
        flex: 1;
        max-width: 720px;
    }

    .p-who__item {
        min-height: 72px;
        display: flex;
        align-items: center;
        padding: 16px 24px 16px 20px;
        font-size: 20px;
        letter-spacing: -0.05em;
    }

    /* ---------- 節7: 転職までの流れ ---------- */
    .p-process {
        padding: 64px 0;
    }

    .p-process__ghost {
        top: 0;
        font-size: min(12.5vw, 180px);
        line-height: 0.9;
        letter-spacing: -0.048em;
    }

    .p-process__inner {
        gap: 40px;
        max-width: 1400px;
    }

    .p-process__title {
        font-size: min(3.89vw, 56px);
        line-height: 1.5;
    }

    .p-process__lead {
        font-size: 16px;
        line-height: 1.375;
    }


    /* PC は Figma どおり縦積みのステップカードに戻す */
    .c-card--step {
        flex-direction: column;
        padding: 16px;
        gap: 20px;
    }

    .c-card--step .c-card__image {
        flex: 0 1 auto;
        width: auto;
    }

    .c-card--step .c-card__image img {
        height: 200px;
    }

    /* ---------- 節8: FAQ ---------- */
    .p-faq {
        padding: 120px 0;
    }

    /* Figma のゴースト "FAQ" は右端ぴったり（1109→1440）。字送りが Noto より詰まっているので
       letter-spacing で幅を合わせ、末尾のアキぶんだけ right をマイナスに振る */
    .p-faq__ghost {
        top: 0;
        right: 0;
        font-size: min(12.5vw, 180px);
        line-height: 0.9;
        letter-spacing: -0.073em;
    }


    .p-faq__inner {
        max-width: 1440px;
    }

    /* 見出しは中身なりの高さ。伸ばすとリードの位置が Figma とずれる */
    .p-faq__head {
        flex-shrink: 0;
        align-self: flex-start;
    }

    .p-faq__heading {
        gap: 10px;
        align-items: flex-start;
    }

    .p-faq__en {
        font-size: min(6.94vw, 100px);
        letter-spacing: -0.07em;
    }

    .p-faq__ja {
        font-size: 24px;
        line-height: 1.625;
        letter-spacing: 0.03em;
    }

    .p-faq__lead {
        margin-top: 40px;
        font-size: 16px;
        line-height: 1.375;
    }

    .p-faq__list {
        gap: 24px;
        flex: 1;
        max-width: 720px;
    }

    .p-faq__q {
        gap: 24px;
        min-height: 72px;
        padding: 12px 24px 12px 20px;
    }

    .p-faq__mark {
        width: 24px;
    }

    .p-faq__q-text {
        font-size: 24px;
        letter-spacing: -0.02em;
    }

    .p-faq__a {
        gap: 28px;
        padding: 24px 24px 24px 20px;
    }

    .p-faq__a-text {
        font-size: 16px;
        line-height: 1.6;
    }

    /* ---------- 節9: 下部 CTA 帯 ---------- */
    .p-bottom-cta {
        padding: 80px 0;
    }

    /* PC は 1 行のまま中央に置く（SP の 2 行折り返し指定を打ち消す） */
    .p-bottom-cta__ghost {
        top: 353px;
        left: 50%;
        width: auto;
        transform: translateX(calc(-50% + 4.58vw));
        white-space: nowrap;
        font-size: min(11.81vw, 170px);
        line-height: 1.06;
    }

    .p-bottom-cta__inner {
        gap: 40px;
        max-width: 1400px;
    }

    /* Figma の帯は 940x64（= 文字 48px + 上下 8px）。line-height 1.4 だと 83px に膨らむ */
    .p-bottom-cta__head {
        gap: 8px;
        align-self: stretch;
    }

    .p-bottom-cta__title {
        padding: 8px 24px;
        font-size: min(3.33vw, 48px);
        line-height: 1;
        letter-spacing: -0.021em;
    }

    .p-bottom-cta__lead {
        width: 100%;
        font-size: 20px;
        line-height: 1.4;
        letter-spacing: normal;
    }

    /* SP 専用の改行を無効化 */
    .u-br-sp {
        display: none;
    }


    /* min-width:0 を入れないと、見出しの最小内容幅ぶん main が links より広くなる */
    .p-bottom-cta__main {
        min-width: 0;
        gap: 8px;
        padding: 26px 30px;
    }

    .p-bottom-cta__main-sub {
        font-size: 16px;
        line-height: 1.25;
    }

    .p-bottom-cta__main-title {
        font-size: min(2.78vw, 40px);
        line-height: 1.4;
    }

    /* Figma のボタンは文字量なりの幅（209px）。100% にすると段組みぶん伸びる */
    .p-bottom-cta__main .c-btn {
        width: auto;
        min-width: 0;
        align-self: flex-start;
        margin-top: 16px;
    }

    .p-bottom-cta__links {
        min-width: 0;
        gap: 12px;
    }

    /* 3 枚で main の高さ（330px）を分け合う = Figma の 102px */
    .p-bottom-cta__link {
        flex: 1;
        /* Figma の内容開始位置は枠から 20px。border 2px ぶんを padding から差し引く */
        padding: 18px 22px;
    }

    .p-bottom-cta__link-body {
        gap: 8px;
    }

    /* Figma の行ボックスは見出し 34px / 説明 20px */
    .p-bottom-cta__link-title {
        font-size: 24px;
        line-height: 1.417;
    }

    .p-bottom-cta__link-text {
        font-size: 13px;
        line-height: 1.538;
    }

    /* ---------- フッタ ---------- */
    .p-footer__top {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 40px;
    }

    /* Figma 実寸は 362px だが、余白が 40px しかない 1000px 未満では
       採用担当者リンクと衝突するので抑えておく */
    .p-footer__logo {
        width: 280px;
    }

    .p-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 24px;
    }
}

/* =========================================================
   900px 以上: カード類を横並びにする
   ========================================================= */
@media (min-width: 900px) {

    .p-about__cards {
        grid-template-columns: repeat(2, 1fr);
        /* Figma: 列間 40px / 行間 64px */
        gap: 64px 40px;
        /* Figma は 4 枚とも同じ高さ。文字量が少ない 2 段目だけ縮まないよう行を等分する */
        grid-auto-rows: 1fr;
    }

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

    /* flex + border-box + flex-basis:0 だと border/padding ぶん左右が不均等になるので grid で割る */
    .p-bottom-cta__choices {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        max-width: 1240px;
    }
}

/* =========================================================
   1000px 以上: Figma の PC レイアウト（左見出し + 右リスト / 4 カラム）
   ========================================================= */
@media (min-width: 1000px) {

    :root {
        --gutter: 80px;
    }

    /* Figma 実寸（4821:5143 = 362x84.95） */
    .p-footer__logo {
        width: 362px;
    }

    .p-who__inner {
        flex-direction: row;
        justify-content: center;
        gap: 80px;
        max-width: 1240px;
    }

    /* Figma: 見出し 180..617 / リスト 697..1260 */
    .p-who__head {
        /* 1440px では 437+80+563=1080 でぴったり。1000〜1240px では縮めて破綻を防ぐ */
        flex: 0 1 437px;
        min-width: 0;
    }

    .p-who__list {
        max-width: none;
    }

    /* Figma: 見出し 180..450 / リスト 530..1260。gutter 80 + 内容 1080 = 1240 */
    .p-faq__inner {
        flex-direction: row;
        align-items: flex-start;
        gap: 80px;
        max-width: 1240px;
    }

    .p-faq__list {
        max-width: none;
    }

    .p-process__cards {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

/* PC 横並びのままだとロゴ 138 + キャッチ 348 + ボタン 228 + 余白 96 = 810px 必要。
   タブレット幅は Figma に無いので、この範囲だけロゴとボタンを優先してキャッチを隠す */
@media (min-width: 601px) and (max-width: 999px) {
    .header .wrapper .tips {
        display: none;
    }
}
