@charset "UTF-8";

/* ==========================================================================
   Base
   ========================================================================== */
:root {
    --c-blue: #0b63c9;
    --c-navy: #123a66;
    --c-gray: #4e6177;
    --c-gray-light: #7c8ba0;
    --c-disabled: #a9b6c4;
    --c-disabled-bg: #eef2f6;
    --c-border: #d5e2ec;
    --c-cyan: #9fdcef;
    --c-pale: #d6f0f7;
    --c-bg: #f3fafd;
    --c-yellow: #f7e27a;
    --c-white: #fff;
    --ff-ja: "Zen Maru Gothic", sans-serif;
    --ff-en: "Bricolage Grotesque", sans-serif;
    --ff-arrow: "Noto Sans JP", sans-serif;
    /*
     * 最大コンテンツ幅 1200px（全ページ共通）
     * デザインフレーム 1280px（左右40px余白 + 1200px）より広い画面では 1280px 時のレイアウトのまま中央に置き、
     * 背景色・帯だけを画面いっぱいに広げる
     * ※ヘッダー・フッターは例外で、中身も画面いっぱいに広げる（左右余白はデザイン値のまま）
     */
    --frame-max: 1280px;
    /* 画面がフレーム幅より広いときの、フレーム左右の空き（装飾の位置合わせ用。% は使用箇所の包含ブロック幅） */
    --frame-offset: max(0px, calc((100% - var(--frame-max)) / 2));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--c-bg);
    color: var(--c-navy);
    font-family: var(--ff-ja);
    font-weight: 400;
    line-height: normal;
}

/*
 * 画面がページより高いとき（ブラウザで縮小表示したときなど）は、本文エリアを伸ばして
 * フッターを画面の一番下に置く（中身が画面より高いときは通常どおり）
 */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

/* タブレット幅で縮小（zoom）しているページは画面の高さも縮小されるため、縮小率で割って画面の高さに戻す */
body.is-tablet-fit {
    min-height: calc(100vh / var(--tablet-zoom, 1));
    min-height: calc(100dvh / var(--tablet-zoom, 1));
}

body > main {
    flex-grow: 1;
}

body.is-drawer-open {
    overflow: hidden;
}

h1,
h2,
h3,
p,
ul,
ol,
address {
    margin: 0;
    padding: 0;
}

ul,
ol {
    list-style: none;
}

address {
    font-style: normal;
}

small {
    font-size: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

/* SPのみ表示（改行など） */
.u-sp {
    display: none;
}

/* PCのみ表示（改行など） */
.u-pc {
    display: inline;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--c-white);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 72px;
    margin: 0 auto;
    padding-left: 40px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__logo-img {
    width: 43.92px;
    height: 36px;
}

.header__logo-text {
    color: var(--c-gray);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.2px;
}

.header__nav {
    display: flex;
    align-items: stretch;
    gap: 30px;
    height: 100%;
}

.header__nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header__nav-link {
    color: var(--c-navy);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.12px;
    white-space: nowrap;
    /* ホバー: 文字色が薄くなる（トップと同じ。Figma: header_text / 0.2s ease-out） */
    transition: color 0.2s ease-out;
}

.header__cta {
    display: flex;
}

.header__recruit,
.header__entry-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 144px;
    height: 72px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.12px;
}

/* ホバー: 背景・文字色が明るくなる（トップと同じ。0.3s ease-out） */
.header__recruit {
    background: var(--c-pale);
    color: var(--c-blue);
    transition: background-color 0.3s ease-out, color 0.3s ease-out;
}

.header__entry {
    position: relative;
}

/* ホバー: 背景が明るくなり、下にメニューが出る（トップと同じ。Figma: header_button / 0.3s ease-out） */
.header__entry-link {
    background: var(--c-blue);
    color: var(--c-white);
    transition: background-color 0.3s ease-out;
}

.header__entry-menu {
    position: absolute;
    top: 72px;
    left: 0;
    width: 144px;
    background: #0b4fa3;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

.header__entry:hover .header__entry-menu,
.header__entry:focus-within .header__entry-menu {
    opacity: 1;
    visibility: visible;
}

.header__entry-menu-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    color: var(--c-white);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.12px;
}

.header__entry-menu li:first-child .header__entry-menu-link {
    height: 53px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* ハンバーガーボタン（SPのみ表示） */
.header__menu-btn {
    display: none;
}

/* ==========================================================================
   Drawer（SPメニュー）
   ========================================================================== */
.drawer {
    display: none;
}

/* ==========================================================================
   Page Head
   ========================================================================== */
.page-head {
    position: relative;
    overflow: hidden;
    padding-bottom: 40px;
}

.page-head__circle {
    position: absolute;
    top: -110px;
    right: calc(var(--frame-offset) - 60px);
    width: 270px;
    height: 270px;
    border: 1px solid var(--c-cyan);
    border-radius: 50%;
}

.page-head__stripe {
    position: absolute;
    top: 56px;
    right: calc(var(--frame-offset) + 250px);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: repeating-linear-gradient(-45deg, var(--c-yellow) 0 6px, rgba(247, 226, 122, 0) 6px 12px);
}

.page-head__glow {
    position: absolute;
    top: 60px;
    /* 1280px 時の 14% / 62.56% の位置をフレーム内で保つ */
    right: calc(var(--frame-offset) + min(100%, var(--frame-max)) * 0.6256);
    left: calc(var(--frame-offset) + min(100%, var(--frame-max)) * 0.14);
    height: 200px;
    border-radius: 125px;
    background: #7fd6f2;
    filter: blur(70px);
    opacity: 0.3;
}

/*
 * 左右余白: コンテンツ幅を保ったまま中央に置く（見出し 1040px / カード 1060px / カード内 920px）。
 * - 1280px より狭い画面（スクロールバー分 1263px なども含む）では余白側を詰め、本文の改行位置と高さを約1008pxまで保つ
 * - 1280px より広い画面では余白側を広げ、コンテンツはデザイン幅以上に伸ばさない
 */
.page-head__inner {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 40px max(50px, calc((100% - 1040px) / 2)) 0;
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 18px;
    font-size: 12px;
    letter-spacing: 0.72px;
}

.breadcrumb__item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--c-gray);
}

.breadcrumb__item + .breadcrumb__item::before {
    content: "/";
    width: 8px;
    color: var(--c-gray-light);
}

/* ホバー: 文字色が #83a0c0 に変わる（ヘッダーのナビと同じ。0.2s ease-out） */
.breadcrumb__link {
    transition: color 0.2s ease-out;
}

@media (hover: hover) and (width >= 768px) {
    .breadcrumb__link:hover {
        color: #83a0c0;
    }
}

.breadcrumb__item--current {
    color: var(--c-blue);
    font-weight: 700;
}

.page-head__title {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 20px;
}

.page-head__en {
    color: var(--c-blue);
    font-family: var(--ff-en);
    font-size: 44px;
    font-weight: 700;
    font-variation-settings: "opsz" 14;
    letter-spacing: 0.88px;
    line-height: 44px;
    white-space: nowrap;
}

.page-head__ja {
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--c-white);
    box-shadow: inset 0 0 0 1.5px var(--c-blue);
    color: var(--c-blue);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.4px;
    white-space: nowrap;
}

/* ==========================================================================
   Recruit Body
   ========================================================================== */
.recruit-body {
    position: relative;
    padding: 0 max(40px, calc((100% - 1060px) / 2)) 35px;
}

.recruit-body__card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin: -1px auto 0;
    padding: 64px max(24px, calc((100% - 920px) / 2)) 80px;
    border-radius: 36px;
    background: var(--c-white);
    filter: drop-shadow(0 16px 20px rgba(11, 99, 201, 0.06));
}

/* 新卒／中途 タブ */
.recruit-tab {
    display: flex;
    gap: 8px;
    padding: 8px;
    border-radius: 14px;
    background: var(--c-bg);
}

.recruit-tab__item {
    display: flex;
    flex: 1 0 0;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    height: 60px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-align: center;
    white-space: nowrap;
}

/* ホバー: 文字色が #5184c2 に変わる（0.3s ease-out）。選択中のタブは白文字のまま（下記） */
button.recruit-tab__item {
    color: var(--c-gray);
    transition: color 0.3s ease-out, background 0.3s ease-out;
}

@media (hover: hover) and (width >= 768px) {
    button.recruit-tab__item:hover {
        color: #5184c2;
    }
}

/* 募集終了（「今年度募集終了」バッジ付き） */
.recruit-tab__item.recruit-tab__item--closed {
    color: var(--c-gray-light);
}

.recruit-tab__item[aria-selected="true"] {
    background: var(--c-blue);
    color: var(--c-white);
    filter: drop-shadow(0 8px 9px rgba(11, 99, 201, 0.22));
    cursor: default;
}

@media (hover: hover) and (width >= 768px) {
    button.recruit-tab__item[aria-selected="true"]:hover {
        color: var(--c-white);
    }
}

.recruit-tab__badge {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--c-white);
    color: var(--c-gray);
    font-size: 11px;
    letter-spacing: 0.44px;
}

.recruit-tab__item[aria-selected="true"] .recruit-tab__badge {
    color: var(--c-blue);
}

/* 募集終了時のメッセージ */
.recruit-closed {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 60px;
    padding: 72px 40px;
    border-radius: 24px;
    background: var(--c-bg);
    text-align: center;
}

.recruit-closed__badge {
    display: flex;
    align-items: center;
    height: 30px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--c-white);
    color: var(--c-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.recruit-closed__title {
    margin-top: 24px;
    color: var(--c-navy);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 2.6px;
    line-height: 38px;
}

.recruit-closed__text {
    margin-top: 18px;
    color: var(--c-gray);
    font-size: 16px;
    letter-spacing: 0.64px;
}

/*
 * 複数行テキストの高さ補正
 * Figmaの本文枠は 2行=62px / 3行=92px（デザイン上の行高30.4pxでは60.8px / 91.2px）。
 * 両方に一致する「行高30px＋下余白2px」で組む（行間の差は1行あたり0.4px）
 */
.positions__text,
.recruit-closed__text {
    padding-bottom: 2px;
    line-height: 30px;
}

/* タブパネル */
.recruit-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recruit-panel[hidden] {
    display: none;
}

/* 小見出し */
.r-label {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-top: 60px;
    color: var(--c-blue);
    font-family: var(--ff-en);
    font-size: 12px;
    font-weight: 700;
    font-variation-settings: "opsz" 14;
    letter-spacing: 2.4px;
    line-height: 14px;
}

.r-label::after {
    content: "";
    width: 40px;
    height: 1.5px;
    background: #9db3c8;
}

.r-title {
    margin-top: 12px;
    color: var(--c-navy);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 2.6px;
    line-height: 38px;
}

/* 募集職種 */
/* Figmaの線は枠の内側に描かれるため、borderの1px分を余白から差し引く */
/* 線は border ではなく box-shadow で描く（border は表示スケール125%等で 1px→0.8px に丸められ、高さがずれるため）。線の 1px は padding に含める */
.positions__list {
    margin-top: 12px;
    padding-top: 20px;
    box-shadow: inset 0 1px 0 var(--c-navy);
}

.positions__item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px 0;
    box-shadow: inset 0 -1px 0 var(--c-border);
}

.positions__num {
    flex-shrink: 0;
    width: 64px;
    color: var(--c-blue);
    font-family: var(--ff-en);
    font-size: 22px;
    font-weight: 700;
    font-variation-settings: "opsz" 14;
    line-height: 26px;
}

/* 画面幅が広がっても本文の改行位置（＝高さ）がデザインと変わらないよう、本文の幅はデザイン値で止める */
.positions__body {
    display: flex;
    flex: 1 0 0;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    max-width: 628px;
}

.positions__head {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 30px;
}

.positions__title {
    color: var(--c-navy);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.positions__badge {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--c-disabled-bg);
    color: var(--c-gray-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.44px;
    white-space: nowrap;
}

.positions__text {
    color: var(--c-gray);
    font-size: 16px;
    letter-spacing: 0.64px;
}

.positions__btn {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    margin-left: auto;
    justify-content: space-between;
    width: 180px;
    height: 44px;
    padding: 0 18px;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1.5px var(--c-blue);
    color: var(--c-blue);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.12px;
    white-space: nowrap;
    transition: background 0.3s, color 0.3s;
}

a.positions__btn:hover {
    background: var(--c-blue);
    color: var(--c-white);
}

.positions__btn-arrow {
    font-family: var(--ff-arrow);
}

.positions__btn--disabled {
    justify-content: center;
    background: var(--c-disabled-bg);
    box-shadow: none;
    color: var(--c-disabled);
}

.positions__item--closed .positions__num,
.positions__item--closed .positions__title,
.positions__item--closed .positions__text {
    color: var(--c-disabled);
}

/* 採用フロー */
.flow .r-label {
    padding-top: 76px;
}

.flow__list {
    display: flex;
    position: relative;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
    padding-top: 28px;
}

/* ステップ間の点線 */
.flow__list::before {
    content: "";
    position: absolute;
    top: 86px;
    right: 60px;
    left: 60px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--c-cyan) 0 6px, rgba(159, 220, 239, 0) 6px 12px);
}

.flow__item {
    display: flex;
    position: relative;
    flex: 1 0 0;
    justify-content: center;
    min-width: 0;
}

.flow__circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 116px;
    height: 116px;
    border-radius: 50%;
    background: var(--c-white);
    color: var(--c-navy);
    filter: drop-shadow(0 10px 12px rgba(11, 99, 201, 0.1));
}

.flow__item--goal .flow__circle {
    background: var(--c-blue);
    color: var(--c-white);
}

.flow__step {
    font-family: var(--ff-en);
    font-size: 10px;
    font-weight: 700;
    font-variation-settings: "opsz" 14;
    letter-spacing: 1.4px;
    white-space: nowrap;
    opacity: 0.8;
}

.flow__name {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.56px;
    white-space: nowrap;
}

.flow__tag {
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--c-pale);
    color: var(--c-blue);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.6px;
    line-height: 14px;
}

.flow__notes {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding-top: 22px;
    color: var(--c-gray);
    font-size: 14px;
    letter-spacing: 0.56px;
    line-height: 25.2px;
    text-align: center;
}

.flow__notes li {
    padding-bottom: 0.8px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--c-white);
    color: var(--c-gray);
}

.footer__top,
.footer__bottom {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
}

.footer__top {
    align-items: center;
    padding-top: 30px;
}

.footer__logo img {
    width: 44px;
    height: 36px;
}

.footer__nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

/* 各リンクの幅はデザインの値に固定 */
.footer__nav li:nth-child(1) {
    width: 92px;
}

.footer__nav li:nth-child(2) {
    width: 108px;
}

.footer__nav li:nth-child(3) {
    width: 154px;
}

.footer__nav li:nth-child(4) {
    width: 246px;
}

.footer__nav li:nth-child(5) {
    width: 126px;
}

.footer__nav-link {
    display: block;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: 1.4px;
    white-space: nowrap;
    /* ホバー: 文字色が薄くなる（トップと同じ。0.2s ease-out） */
    transition: color 0.2s ease-out;
}

/* ヘッダー・フッターのホバー（トップと同じ。PC・タブレットのマウス操作時のみ） */
@media (hover: hover) and (width >= 768px) {
    .header__nav-link:hover,
    .footer__nav-link:hover {
        color: #83a0c0;
    }

    .header__recruit:hover {
        background: #e3f9ff;
        color: #5184c2;
    }

    .header__entry:hover .header__entry-link {
        background: #65a4ee;
    }
}

.footer__nav-link--instagram {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 4px;
}

.footer__nav-link--instagram img {
    width: 30px;
    height: 30px;
}

.footer__bottom {
    padding-top: 26px;
    padding-bottom: 30px;
}

.footer__address,
.footer__copy {
    font-size: 12px;
    letter-spacing: 0.72px;
    line-height: 18px;
}

.footer__copy {
    width: 172px;
}

/* ==========================================================================
   Tablet（768〜1023px）
   PCレイアウトを幅1024px以上で表示した状態のまま、画面幅に合わせて縮小する。
   縮小率は「画面幅（スクロールバーを除く） ÷ 1024px」で連続的に変え、レイアウト上の幅を常に 1024px にする。
   単位どうしの割り算（calc(100cqw / 1024px)）に対応していないブラウザでは、下の段階的な縮小率になる
   （各範囲の最小幅でもレイアウト上の幅が1024px以上になる値）。
   ※ 共通CSSのため、確認済みのページ（body に is-tablet-fit を付けたページ）に限定して適用する
   ========================================================================== */
@media (768px <= width < 832px) {
    .is-tablet-fit {
        zoom: 0.75;
        --tablet-zoom: 0.75;
    }
}

@media (832px <= width < 896px) {
    .is-tablet-fit {
        zoom: 0.8125;
        --tablet-zoom: 0.8125;
    }
}

@media (896px <= width < 960px) {
    .is-tablet-fit {
        zoom: 0.875;
        --tablet-zoom: 0.875;
    }
}

@media (960px <= width < 1024px) {
    .is-tablet-fit {
        zoom: 0.9375;
        --tablet-zoom: 0.9375;
    }
}

@supports (zoom: calc(100cqw / 1024px)) {
    @media (768px <= width < 1024px) {
        /* body の縮小率の基準（スクロールバーを除いた画面幅）にする */
        html:has(> .is-tablet-fit) {
            container-type: inline-size;
        }

        .is-tablet-fit {
            --tablet-zoom: calc(100cqw / 1024px);
            zoom: var(--tablet-zoom);
        }
    }
}

/* ==========================================================================
   SP
   ========================================================================== */
@media (width < 768px) {
    .u-sp {
        display: inline;
    }

    .u-pc {
        display: none;
    }

    /* Header */
    .header__inner {
        height: 60px;
        padding-left: 16px;
    }

    .header__logo-img {
        width: 31.72px;
        height: 26px;
    }

    .header__logo-text,
    .header__nav-list {
        display: none;
    }

    /* エントリーのメニューはタップで開閉（JSで .is-open を付与）。ホバー・フォーカスでは開かない */
    .header__entry-menu {
        top: 60px;
        width: 100%;
    }

    .header__entry:hover .header__entry-menu,
    .header__entry:focus-within .header__entry-menu {
        opacity: 0;
        visibility: hidden;
    }

    .header__entry.is-open .header__entry-menu {
        opacity: 1;
        visibility: visible;
    }

    .header__recruit,
    .header__entry-link {
        height: 60px;
        letter-spacing: 0.84px;
    }

    .header__recruit {
        width: 92px;
    }

    .header__entry-link {
        width: 100px;
    }

    .header__menu-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 60px;
        height: 60px;
        background: var(--c-white);
        box-shadow: inset 1px 0 0 #e3ecf3;
    }

    .header__menu-btn span {
        width: 22px;
        height: 2px;
        background: var(--c-blue);
    }

    /* Drawer */
    .drawer {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 200;
        visibility: hidden;
        transition: visibility 0.3s;
    }

    .drawer.is-open {
        visibility: visible;
    }

    .drawer__overlay {
        position: absolute;
        inset: 0;
        background: rgba(18, 58, 102, 0.5);
        opacity: 0;
        transition: opacity 0.3s;
    }

    .drawer.is-open .drawer__overlay {
        opacity: 1;
    }

    .drawer__panel {
        display: flex;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        width: 315px;
        max-width: 100%;
        overflow-x: hidden;
        overflow-y: auto;
        background: var(--c-bg);
        box-shadow: -12px 0 32px rgba(18, 58, 102, 0.18);
        transform: translateX(100%);
        transition: transform 0.3s;
    }

    .drawer.is-open .drawer__panel {
        transform: translateX(0);
    }

    .drawer__circle {
        position: absolute;
        top: 300px;
        right: -70px;
        width: 200px;
        height: 200px;
        border: 1px solid var(--c-cyan);
        border-radius: 50%;
    }

    .drawer__stripe {
        position: absolute;
        bottom: 110px;
        left: -30px;
        width: 72px;
        height: 72px;
        border-radius: 50%;
        background: repeating-linear-gradient(-45deg, var(--c-yellow) 0 6px, rgba(247, 226, 122, 0) 6px 12px);
    }

    .drawer__head {
        display: flex;
        position: relative;
        flex-shrink: 0;
        align-items: center;
        justify-content: space-between;
        height: 60px;
        padding-left: 22px;
        background: var(--c-white);
    }

    .drawer__title {
        color: var(--c-blue);
        font-family: var(--ff-en);
        font-size: 12px;
        font-weight: 700;
        font-variation-settings: "opsz" 12;
        letter-spacing: 1.92px;
    }

    .drawer__close {
        position: relative;
        width: 60px;
        height: 60px;
    }

    .drawer__close::before,
    .drawer__close::after {
        content: "";
        position: absolute;
        top: 29px;
        left: 19px;
        width: 22px;
        height: 2px;
        background: var(--c-blue);
        transform: rotate(45deg);
    }

    .drawer__close::after {
        transform: rotate(-45deg);
    }

    .drawer__body {
        position: relative;
        padding: 8px 22px 0;
    }

    .drawer__nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 61px;
        padding: 10px 0 11px;
        border-bottom: 1px solid var(--c-border);
    }

    .drawer__nav-text {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .drawer__nav-en {
        color: var(--c-gray-light);
        font-family: var(--ff-en);
        font-size: 10px;
        font-weight: 700;
        font-variation-settings: "opsz" 14;
        letter-spacing: 1.6px;
    }

    .drawer__nav-ja {
        color: var(--c-navy);
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 0.96px;
    }

    .drawer__arrow {
        color: var(--c-blue);
        font-family: var(--ff-arrow);
        font-size: 16px;
        font-weight: 700;
    }

    .drawer__entry {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 22px;
        padding: 18px 16px 16px;
        border-radius: 16px;
        background: var(--c-white);
        filter: drop-shadow(0 8px 10px rgba(11, 99, 201, 0.08));
    }

    .drawer__entry-title {
        display: flex;
        align-items: baseline;
        gap: 10px;
        white-space: nowrap;
    }

    .drawer__entry-en {
        color: var(--c-blue);
        font-family: var(--ff-en);
        font-size: 12px;
        font-weight: 700;
        font-variation-settings: "opsz" 12;
        letter-spacing: 1.92px;
    }

    .drawer__entry-ja {
        color: var(--c-navy);
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0.84px;
    }

    .drawer__entry-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 50px;
        padding: 0 18px;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0.84px;
    }

    .drawer__entry-btn .drawer__arrow {
        color: inherit;
        font-size: 14px;
    }

    .drawer__entry-btn--primary {
        background: var(--c-blue);
        color: var(--c-white);
        filter: drop-shadow(0 6px 7px rgba(11, 99, 201, 0.2));
    }

    .drawer__entry-btn--outline {
        background: var(--c-white);
        box-shadow: inset 0 0 0 1.5px var(--c-blue);
        color: var(--c-blue);
    }

    .drawer__foot {
        display: flex;
        position: relative;
        flex-direction: column;
        gap: 12px;
        margin-top: auto;
        padding: 64px 22px 26px;
        color: var(--c-gray);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.72px;
    }

    .drawer__links {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 22px;
    }

    .drawer__instagram {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .drawer__instagram img {
        width: 24px;
        height: 24px;
    }

    /* Page Head */
    .page-head {
        padding-bottom: 32px;
    }

    .page-head__circle {
        top: -90px;
        right: -70px;
        width: 180px;
        height: 180px;
    }

    .page-head__stripe {
        right: 40px;
        width: 48px;
        height: 48px;
        background: repeating-linear-gradient(-45deg, var(--c-yellow) 0 5px, rgba(247, 226, 122, 0) 5px 10px);
    }

    .page-head__glow {
        display: none;
    }

    .page-head__inner {
        padding: 24px 20px 0;
    }

    .breadcrumb__list,
    .breadcrumb__item {
        gap: 8px;
    }

    .breadcrumb__list {
        height: auto;
        font-size: 11px;
        letter-spacing: 0.66px;
    }

    .page-head__title {
        gap: 12px;
        margin-top: 16px;
    }

    .page-head__en {
        font-size: 28px;
        letter-spacing: 0.56px;
        line-height: 28px;
    }

    .page-head__ja {
        display: flex;
        align-items: center;
        height: 26px;
        padding: 0 12px;
        font-size: 12px;
        letter-spacing: 1.2px;
    }

    /* Recruit Body */
    .recruit-body {
        padding: 0 12px 53px;
    }

    .recruit-body__card {
        gap: 8px;
        margin-top: 0;
        padding: 24px 16px 56px;
        border-radius: 24px;
        filter: drop-shadow(0 12px 16px rgba(11, 99, 201, 0.06));
    }

    .recruit-tab {
        gap: 6px;
        padding: 6px;
        border-radius: 12px;
    }

    .recruit-tab__item {
        height: 56px;
        border-radius: 8px;
        font-size: 14px;
        letter-spacing: 1.12px;
    }

    button.recruit-tab__item {
        color: var(--c-gray-light);
    }

    .recruit-tab__item[aria-selected="true"] {
        filter: drop-shadow(0 6px 7px rgba(11, 99, 201, 0.22));
    }

    /* 新卒が募集終了（バッジ付き）のときのみ、右側（中途採用）のタブを固定幅にする。募集中は2つのタブを同じ幅にする */
    .recruit-tab:has(.recruit-tab__item--closed) .recruit-tab__item:last-child {
        flex: 0 0 152px;
    }

    .recruit-tab__item--closed {
        flex-direction: column;
        gap: 4px;
    }

    .recruit-panel {
        gap: 8px;
    }

    .recruit-closed {
        margin-top: 32px;
        padding: 40px 20px;
        border-radius: 20px;
    }

    .recruit-closed__badge {
        height: 26px;
        padding: 0 12px;
    }

    .recruit-closed__title {
        margin-top: 16px;
        font-size: 20px;
        letter-spacing: 1.2px;
        line-height: 30px;
    }

    .recruit-closed__text {
        max-width: 280px;
        margin-top: 14px;
        font-size: 14px;
        letter-spacing: 0.56px;
        line-height: 26.6px;
        text-align: left;
    }

    .recruit-tab__badge {
        padding: 2px 8px;
        line-height: 14px;
        font-size: 10px;
        letter-spacing: 0.2px;
    }

    .r-label {
        gap: 12px;
        padding-top: 40px;
        font-size: 11px;
        letter-spacing: 2.2px;
    }

    .r-label::after {
        width: 32px;
    }

    .r-title {
        margin-top: 8px;
        font-size: 18px;
        letter-spacing: 1.08px;
        line-height: 26px;
    }

    .positions__list {
        margin-top: 8px;
        padding-top: 12px;
    }

    /* 番号と職種名を横並びにし、本文・ボタンを全幅で下に配置 */
    .positions__item {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 11px 10px;
        padding: 24px 0 26px;
    }

    .positions__body {
        display: contents;
    }

    .positions__num {
        width: auto;
        font-size: 14px;
        line-height: 18px;
    }

    .positions__head {
        flex-wrap: wrap;
        gap: 10px;
        min-height: 24px;
    }

    .positions__title {
        font-size: 16px;
        letter-spacing: 0.96px;
    }

    .positions__text,
    .positions__btn {
        grid-column: 1 / -1;
    }

    .positions__text,
    .recruit-closed__text {
        padding-bottom: 1.6px;
    }

    .positions__text {
        font-size: 14px;
        letter-spacing: 0.56px;
        line-height: 26.6px;
    }

    .positions__btn {
        width: 100%;
        height: 48px;
    }

    .flow .r-label {
        padding-top: 48px;
    }

    .flow__list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px 8px;
        margin-top: 8px;
        padding-top: 16px;
    }

    .flow__list::before {
        display: none;
    }

    .flow__circle {
        gap: 4px;
        width: 96px;
        height: 96px;
        box-shadow: 0 8px 20px rgba(11, 99, 201, 0.1), inset 0 0 0 1px var(--c-pale);
        filter: none;
    }

    .flow__item--goal .flow__circle {
        box-shadow: 0 8px 20px rgba(11, 99, 201, 0.1), inset 0 0 0 1px var(--c-blue);
    }

    .flow__name {
        font-size: 12px;
        letter-spacing: 0.24px;
    }

    .flow__tag {
        padding: 2px 6px;
        letter-spacing: 0;
    }

    .flow__notes {
        align-items: flex-start;
        gap: 4px;
        margin-top: 8px;
        padding-top: 16px;
        /* 1行の注記（最長25文字・12px時 311.6px）が狭い端末でも1行に収まるサイズに縮小 */
        font-size: min(12px, calc((100vw - 63px) / 25.5));
        letter-spacing: 0.24px;
        line-height: 20px;
        text-align: left;
    }

    /* Figmaの枠は 1行=22px / 2行=42px → 行高20px＋下余白2px */
    .flow__notes li {
        padding-bottom: 2px;
    }

    /* Footer */
    .footer__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        padding: 28px 20px 0;
    }

    .footer__logo img {
        width: 36px;
        height: 28px;
    }

    /*
     * 2列グリッド: 1行目 お問い合わせ／よくあるご質問、2行目 ハラスメント方針、3行目 プライバシーポリシー（全幅）。
     * Instagram はリンク群から22px空けて4行目に置く（行間14px＋8px）
     */
    .footer__nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 12px;
        align-items: start;
        width: 100%;
    }

    .footer__nav li:nth-child(n) {
        width: auto;
    }

    .footer__nav li:nth-child(3) {
        grid-row: 3;
        grid-column: 1 / -1;
    }

    .footer__nav li:nth-child(4) {
        grid-row: 2;
        grid-column: 1 / -1;
    }

    .footer__nav li:nth-child(5) {
        grid-row: 4;
        grid-column: 1 / -1;
        margin-top: 8px;
    }

    .footer__nav-link {
        font-size: 12px;
        line-height: 18px;
        letter-spacing: 0.72px;
    }

    .footer__nav-link--instagram {
        height: 30px;
        padding: 0;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 8px;
        padding: 24px 20px 28px;
    }

    .footer__address,
    .footer__copy {
        width: auto;
        font-size: 11px;
        letter-spacing: 0.44px;
        line-height: normal;
    }
}
