@charset "UTF-8";

/* ==========================================================================
   Base
   ========================================================================== */
:root {
    --c-blue: #0b63c9;
    --c-navy: #123a66;
    --c-gray: #4e6177;
    --c-gray-light: #7c8ba0;
    --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;
    /*
     * 左右余白: コンテンツ幅（1040 / 1060 / 1200px）を保ったまま中央に置く。
     * - 画面が狭いとき（スクロールバー分など）は余白側を詰める
     * - 画面が広いときは余白側を広げ、コンテンツはデザイン幅（最大1200px）以上に伸ばさない
     */
    --gutter-1040: max(40px, calc((100% - 1040px) / 2));
    --gutter-1060: max(40px, calc((100% - 1060px) / 2));
    --gutter-1200: max(40px, calc((100% - 1200px) / 2));
    /* ABOUT（白枠＋内余白70px）の文字開始位置。1280px未満では各セクションの左右をこのラインに揃える（1280px以上は --gutter-1060 と同じ値） */
    --gutter-content: calc(var(--gutter-1200) + 70px);
    /* デザインフレーム幅（左右40px余白 + 最大コンテンツ幅1200px） */
    --frame-max: 1280px;
    /*
     * Figmaプロトタイプのスプリングイージングを linear() で再現
     * Gentle（stiffness 100 / damping 15 / mass 1）… 1.02s で収束、少しだけ行き過ぎて戻る
     * Slow（stiffness 80 / damping 20 / mass 1）… 1.67s で収束、行き過ぎなし
     */
    --ease-gentle: linear(0, 0.073, 0.234, 0.42, 0.595, 0.741, 0.852, 0.93, 0.981, 1.01, 1.024, 1.028, 1.027, 1.023, 1.017, 1.012, 1.008, 1.005, 1.002, 1.001, 1, 0.999, 0.999, 0.999, 1);
    /* 浮かび上がり用（最初は速く、最後はゆっくり止まる） */
    --ease-float: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-slow: linear(0, 0.124, 0.332, 0.519, 0.663, 0.767, 0.84, 0.89, 0.925, 0.949, 0.965, 0.976, 0.984, 0.989, 0.993, 0.995, 0.997, 0.998, 0.998, 0.999, 0.999, 0.999, 1, 1, 1);
}

*,
*::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;
}

body > main {
    flex-grow: 1;
}

body.is-drawer-open {
    overflow: hidden;
}

h1,
h2,
h3,
p,
ul,
address {
    margin: 0;
    padding: 0;
}

ul {
    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;
}

/* ==========================================================================
   Components
   ========================================================================== */
/* セクション見出し */
.c-heading {
    display: flex;
    align-items: center;
    gap: 22px;
}

.c-heading__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;
}

.c-heading__ja {
    display: flex;
    align-items: center;
    height: 30px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--c-pale);
    color: var(--c-navy);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    white-space: nowrap;
}

/* ボタン */
.c-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 240px;
    height: 56px;
    padding: 0 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.4px;
    white-space: nowrap;
}

.c-btn__arrow {
    font-family: var(--ff-arrow);
}

/* ホバー: 背景色が変わる（Figma: button_blue / 0.3s ease-out） */
.c-btn--primary {
    background: var(--c-blue);
    color: var(--c-white);
    transition: background-color 0.3s ease-out;
}

/* ホバー: 中心を保ったまま 240×56 → 250×68 に広がる（Figma: button_white2 / button_clear / 0.1s ease-out） */
.c-btn--white,
.c-btn--outline-white {
    transition: width 0.1s ease-out, height 0.1s ease-out, margin 0.1s ease-out, padding 0.1s ease-out;
}

.c-btn--white {
    background: var(--c-white);
    color: var(--c-blue);
}

.c-btn--outline-white {
    box-shadow: inset 0 0 0 1.5px var(--c-white);
    color: var(--c-white);
}

/* 黄色ストライプの円 */
.c-stripe {
    position: absolute;
    border-radius: 50%;
    background: repeating-linear-gradient(-45deg, var(--c-yellow) 0 7px, rgba(247, 226, 122, 0) 7px 14px);
}

/* ==========================================================================
   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;
}

/* ホバー: 背景・文字色が明るくなる（Figma: 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;
}

/* ==========================================================================
   MV
   ========================================================================== */
/*
 * FV は Figma の 1280px（PC_TOP）と 1920px（PC_TOP_2560 の FV 枠）の2つのデザインの間を、画面幅に合わせて連続的に変える。
 * 各値は clamp(1280px の値, 画面幅で補間した値, 1920px の値)。1920px より広い画面では 1920px の枠を中央に置き、
 * 写真の右端は背景色にフェードさせる（Figma 1424:1407）
 */
.mv {
    container-type: inline-size;
}

.mv__inner {
    position: relative;
    width: 100%;
    max-width: 1920px;
    height: clamp(560px, 560px + (100cqw - 1280px) * 0.25, 720px);
    margin: 0 auto;
    overflow: hidden;
    background: var(--c-bg);
}

.mv__inner::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, #f3fafd 0%, #f3fafd 40%, rgba(243, 250, 253, 0.88) 52%, rgba(243, 250, 253, 0.4) 64%, rgba(243, 250, 253, 0) 76%);
    content: "";
}

/* 写真の右端のフェード（1280px で幅 0 → 1920px で 320px）。装飾（z-index: 1）より後ろに置く */
.mv__inner::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: clamp(0px, 0px + (100cqw - 1280px) * 0.5, 320px);
    background: linear-gradient(90deg, rgba(243, 250, 253, 0), #f3fafd);
    content: "";
}

.mv__img {
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% - clamp(300px, 300px + (100cqw - 1280px) * 0.234375, 450px));
    height: 100%;
    object-fit: cover;
}

.mv__deco {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
}

.mv__deco--circle-tl {
    top: clamp(-136px, -90px + (100cqw - 1280px) * -0.071875, -90px);
    left: clamp(-50px, -50px + (100cqw - 1280px) * 0.115625, 24px);
    width: clamp(180px, 180px + (100cqw - 1280px) * 0.14375, 272px);
    height: clamp(180px, 180px + (100cqw - 1280px) * 0.14375, 272px);
    background: var(--c-pale);
}

.mv__deco--circle-br {
    top: clamp(240px, 240px + (100cqw - 1280px) * 0.15, 336px);
    right: clamp(-160px, -160px + (100cqw - 1280px) * 0.3125, 40px);
    width: clamp(400px, 400px + (100cqw - 1280px) * 0.15, 496px);
    height: clamp(400px, 400px + (100cqw - 1280px) * 0.15, 496px);
    background: linear-gradient(160deg, rgba(126, 190, 240, 0.78) 0%, rgba(46, 134, 232, 0.72) 75%);
}

.mv__deco--glow {
    top: clamp(430px, 430px + (100cqw - 1280px) * 0.215625, 568px);
    right: clamp(24px, 24px + (100cqw - 1280px) * 0.15, 120px);
    width: clamp(64px, 64px + (100cqw - 1280px) * 0.0375, 88px);
    height: clamp(64px, 64px + (100cqw - 1280px) * 0.0375, 88px);
    background: radial-gradient(circle farthest-corner at center, rgba(255, 248, 196, 0.9) 0%, rgba(247, 226, 122, 0.6) 22%, rgba(247, 226, 122, 0.22) 45%, rgba(247, 226, 122, 0) 68%);
    filter: blur(3px);
}

.mv__grow {
    display: flex;
    position: absolute;
    top: clamp(322.59px, 322.59px + (100cqw - 1280px) * 0.168938, 430.71px);
    right: clamp(53.28px, 53.28px + (100cqw - 1280px) * 0.291203, 239.65px);
    z-index: 1;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    width: clamp(143.25px, 143.25px + (100cqw - 1280px) * 0.078266, 193.34px);
    height: clamp(102.73px, 102.73px + (100cqw - 1280px) * 0.05925, 140.65px);
    color: var(--c-white);
    font-family: var(--ff-en);
    font-size: clamp(32px, 32px + (100cqw - 1280px) * 0.01875, 44px);
    font-weight: 400;
    font-variation-settings: "opsz" 14;
    line-height: clamp(38.4px, 38.4px + (100cqw - 1280px) * 0.0225, 52.8px);
    text-align: right;
    white-space: nowrap;
    transform: rotate(-12deg);
}

.mv__grow span:first-child {
    margin-bottom: clamp(-0.61px, -0.61px + (100cqw - 1280px) * 0.000641, -0.2px);
}

.mv__content {
    position: absolute;
    top: clamp(170px, 170px + (100cqw - 1280px) * 0.071875, 216px);
    left: clamp(88px, 88px + (100cqw - 1280px) * 0.06875, 132px);
    z-index: 2;
    min-width: clamp(606.33px, 606.33px + (100cqw - 1280px) * 0.258375, 771.69px);
}

.mv__label {
    color: var(--c-blue);
    font-size: clamp(14px, 14px + (100cqw - 1280px) * 0.003125, 16px);
    font-weight: 700;
    letter-spacing: clamp(2.24px, 2.24px + (100cqw - 1280px) * 0.0005, 2.56px);
    line-height: clamp(20px, 20px + (100cqw - 1280px) * 0.004687, 23px);
}

.mv__title {
    margin-top: clamp(28px, 28px + (100cqw - 1280px) * 0.00625, 32px);
    color: var(--c-navy);
    font-size: clamp(44px, 44px + (100cqw - 1280px) * 0.01875, 56px);
    font-weight: 700;
    letter-spacing: clamp(2.64px, 2.64px + (100cqw - 1280px) * 0.001125, 3.36px);
    line-height: clamp(66px, 66px + (100cqw - 1280px) * 0.028125, 84px);
}

.mv__title-accent {
    color: var(--c-blue);
}

.mv__text {
    margin-top: clamp(24px, 24px + (100cqw - 1280px) * 0.0125, 32px);
    color: var(--c-navy);
    font-size: clamp(16px, 16px + (100cqw - 1280px) * 0.003125, 18px);
    font-weight: 500;
    letter-spacing: clamp(0.96px, 0.96px + (100cqw - 1280px) * 0.000188, 1.08px);
    line-height: clamp(32px, 32px + (100cqw - 1280px) * 0.00625, 36px);
}

/* ==========================================================================
   Careers Message
   ========================================================================== */
.careers__inner {
    display: flex;
    position: relative;
    align-items: flex-start;
    gap: 60px;
    width: 100%;
    margin: 0 auto;
    /* 1280px未満ではABOUTの文字開始位置（ABOUTの外余白＋内余白70px）に揃える */
    padding: 70px max(var(--gutter-1040), var(--gutter-content)) 120px;
}

/* 幅の基準（キャッチの文字サイズを本文の幅から逆算する）。
   本文:写真 = 540:440 の比率で幅を分け合う */
.careers__body {
    flex: 540 0 0;
    min-width: 0;
    container-type: inline-size;
}

.careers .c-heading__en {
    width: 386px;
}

/* 長い方の行（21文字・26px時 567.8px）はデザイン幅でも本文枠（540px）から28pxはみ出す。
   本文の幅が狭いときは、はみ出しがそれ以上にならないサイズに縮小 */
.careers__lead {
    height: 90px;
    margin-top: 44px;
    color: var(--c-navy);
    font-size: min(26px, calc((100cqi + 6px) / 21));
    font-weight: 700;
    letter-spacing: 1.04px;
    line-height: 44.2px;
    white-space: nowrap;
}

.careers__lead-accent {
    color: var(--c-blue);
}

.careers__lead-dash {
    font-family: var(--ff-arrow);
}

.careers__list {
    margin-top: 36px;
    /* Figmaは線が内側なので、線3px＋余白31pxで文字位置34pxに合わせる */
    padding-left: 31px;
    border-left: 3px solid var(--c-yellow);
}

.careers__list li {
    color: var(--c-navy);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1.44px;
    line-height: 36px;
}

/* 複数行テキストは min-height（デザイン幅未満で改行が増えても下に重ならないように） */
.careers__text {
    min-height: 62px;
    margin-top: 36px;
    color: var(--c-gray);
    font-size: 16px;
    letter-spacing: 0.96px;
    line-height: 30.4px;
}

.careers__text--second {
    min-height: 92px;
    margin-top: 16px;
}

/* 1行を保つ。本文の幅（100cqi）が狭いときは18文字（24px時 492.5px）が収まるサイズに縮小 */
.careers__catch {
    height: 36px;
    margin-top: 36px;
    color: var(--c-blue);
    font-size: min(24px, calc((100cqi - 36px) / 19.1));
    font-weight: 700;
    letter-spacing: 1.92px;
    white-space: nowrap;
}

/* デザイン幅では 440×560。狭い幅では比率を保ったまま縮小する */
.careers__visual {
    position: relative;
    flex: 440 0 0;
    min-width: 0;
    max-width: 440px;
    aspect-ratio: 440 / 560;
    margin-top: 70px;
}

.careers__visual-shadow,
.careers__visual-frame {
    position: absolute;
    border-radius: 200px 200px 40px 40px;
}

.careers__visual-shadow {
    inset: 16px -16px -16px 16px;
    background: var(--c-pale);
}

.careers__visual-frame {
    inset: 0;
    overflow: hidden;
    background: #dcebf5;
}

.careers__visual-frame picture {
    display: block;
    height: 100%;
}

/* 幅に合わせて拡大し（440×586.5）、下端を揃えて上側を切り抜く（Figma: 上に 26.5px はみ出し） */
.careers__visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

/* 写真の縮小に合わせて位置も追従（560px時に top: 390px） */
.careers__stripe {
    top: calc(390 / 560 * 100%);
    left: -40px;
    width: 116px;
    height: 116px;
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about {
    margin: 0 var(--gutter-1200);
}

.about__inner {
    position: relative;
    overflow: hidden;
    padding: 80px 70px 60px;
    border-radius: 40px;
    background: var(--c-white);
}

.about__deco {
    position: absolute;
    top: -120px;
    right: -50px;
    width: 240px;
    height: 360px;
    border-bottom-left-radius: 180px;
    background: var(--c-pale);
}

.about__inner > * {
    position: relative;
}

.about__inner > .about__deco {
    position: absolute;
}

.about .c-heading__en {
    width: 148px;
}

.about__lead {
    height: 42px;
    margin-top: 32px;
    color: var(--c-navy);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1.56px;
    line-height: 41.6px;
}

/* 幅が足りないときはリンクを本文の下に回す（リンク・本文とも折り返さない） */
.about__intro {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 24px;
    margin-top: 28px;
}

/* 「（システムエンジニアリングサービス）」を1行目に収めるため改行位置を固定 */
.about__text {
    height: 92px;
    white-space: nowrap;
    color: var(--c-gray);
    font-size: 16px;
    letter-spacing: 0.96px;
    line-height: 30.4px;
}

.about__link {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 14px;
    width: 182px;
    height: 28px;
    padding-bottom: 8px;
    box-shadow: inset 0 -1px 0 var(--c-blue);
    color: var(--c-blue);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.12px;
    line-height: 20px;
    white-space: nowrap;
    /* ホバー: 文字・下線の色が薄くなる（Figma: External Link / 0.3s ease-out） */
    transition: color 0.3s ease-out, box-shadow 0.3s ease-out;
}

.about__link-icon {
    font-family: var(--ff-arrow);
    font-size: 16px;
}

.about__cards {
    display: flex;
    gap: 28px;
    margin-top: 56px;
}

.about__card {
    flex: 1 0 0;
    min-width: 0;
    padding: 16px 16px 40px;
    border-radius: 32px;
    background: var(--c-bg);
}

/* デザイン幅の比率（484×240）のまま幅に合わせて拡大縮小する */
.about__card-img {
    width: 100%;
    height: auto;
    aspect-ratio: 484 / 240;
    border-radius: 24px;
    object-fit: cover;
}

.about__card-img--ses {
    object-position: center 45%;
}

.about__card-img--dev {
    object-position: center 30%;
}

.about__card-body {
    padding: 0 20px;
}

.about__card-title {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 32px;
    margin-top: 26px;
    font-weight: 400;
}

.about__card-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 24px;
    border-radius: 999px;
    background: var(--c-blue);
    color: var(--c-white);
    font-family: var(--ff-en);
    font-size: 11px;
    font-weight: 700;
    font-variation-settings: "opsz" 14;
}

.about__card-num--yellow {
    background: var(--c-yellow);
    color: var(--c-navy);
}

.about__card-en {
    color: var(--c-navy);
    font-family: var(--ff-en);
    font-size: 26px;
    font-weight: 600;
    font-variation-settings: "opsz" 14;
}

.about__card-sub {
    margin-top: 16px;
    color: var(--c-navy);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.28px;
    line-height: 24px;
}

.about__card-text {
    min-height: 80px;
    margin-top: 10px;
    color: var(--c-gray);
    font-size: 14px;
    letter-spacing: 0.84px;
    line-height: 26.6px;
}

/* ==========================================================================
   NUMBERS
   ========================================================================== */
/* ぼかしの円が画面外にはみ出して横スクロールにならないよう、横方向だけ切り抜く */
.numbers__inner {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 112px max(var(--gutter-1040), var(--gutter-content)) 40px;
    overflow-x: clip;
}

.numbers__blob {
    position: absolute;
    border-radius: 50%;
}

.numbers__blob--cyan {
    top: 120px;
    /* ぼかしの円はデザインフレームの中央基準で配置（1280px時の位置 = 50% ± 差分） */
    left: calc(50% - 460.81px);
    width: 360px;
    height: 360px;
    background: #7fd6f2;
    filter: blur(70px);
    opacity: 0.45;
}

.numbers__blob--blue {
    top: 220px;
    left: calc(50% + 146.41px);
    width: 340px;
    height: 340px;
    background: #3a8be8;
    filter: blur(80px);
    opacity: 0.25;
}

.numbers__blob--yellow {
    top: 60px;
    left: calc(50% - 51.2px);
    width: 200px;
    height: 200px;
    background: var(--c-yellow);
    filter: blur(60px);
    opacity: 0.4;
}

.numbers__heading {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.numbers__label {
    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;
    /* 中央揃え時の末尾の字間を左にも足して相殺 */
    padding-left: 2.4px;
}

.numbers__title {
    height: 44px;
    padding-left: 3px;
    color: var(--c-navy);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 3px;
    white-space: nowrap;
}

.numbers__list {
    display: flex;
    position: relative;
    gap: 28px;
    margin-top: 50px;
}

/* カード列の囲み（カードだけをアニメーションさせ、ストライプの円は動かさないため円はこちらに置く） */
.numbers__reveal {
    position: relative;
}

.numbers__reveal::before {
    position: absolute;
    bottom: -70.39px;
    left: -24px;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: repeating-linear-gradient(-45deg, var(--c-yellow) 0 6px, rgba(247, 226, 122, 0) 6px 12px);
    content: "";
}

.numbers__card {
    display: flex;
    position: relative;
    flex: 1 0 0;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 40px 20px 44px;
    border-radius: 32px;
    background: var(--c-white);
    filter: drop-shadow(0 16px 20px rgba(11, 99, 201, 0.1));
    text-align: center;
    /* 幅の基準（見出しの文字サイズをカードの幅から逆算する） */
    container-type: inline-size;
}

.numbers__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 116px;
    height: 116px;
    border-radius: 50%;
    background: #f1f8fd;
}

.numbers__icon img {
    width: 52px;
    height: 52px;
}

.numbers__value {
    display: flex;
    align-items: flex-start;
    height: 88px;
    margin-top: 30px;
}

.numbers__num {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-family: var(--ff-en);
    font-size: 92px;
    font-weight: 800;
    font-variation-settings: "opsz" 14;
    letter-spacing: -4.6px;
    line-height: 87.4px;
    -webkit-text-fill-color: transparent;
}

.numbers__num--1 {
    background-image: linear-gradient(to bottom, #6fc4f0 0%, #1e78db 85%);
}

.numbers__num--2 {
    background-image: linear-gradient(to bottom, #2e86e8 0%, #0b52b8 85%);
}

.numbers__num--3 {
    background-image: linear-gradient(to bottom, #4aa6ec 0%, #1565d0 85%);
}

.numbers__unit {
    min-width: 18px;
    margin-top: 55px;
    padding-left: 4px;
    text-align: center;
    color: var(--c-blue);
    font-size: 16px;
    font-weight: 700;
}

/* 1行を保つ。カードが狭いときは最長の13文字（20px時 286px＋左2px）がカードの内側に収まるサイズに縮小（3枚とも同じサイズ） */
.numbers__card-title {
    margin-top: 24px;
    color: var(--c-navy);
    font-size: min(20px, calc((100cqi - 28px) / 13));
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 30px;
    white-space: nowrap;
    padding-left: 2px;
}

/* バーの領域はデザイン上 高さ24px（上余白20px＋バー3px＋1px） */
.numbers__card-title::after {
    display: block;
    width: 30px;
    height: 3px;
    margin: 20px auto 1px;
    border-radius: 2px;
    background: var(--c-yellow);
    content: "";
}

.numbers__card-text {
    height: 26px;
    margin-top: 18px;
    padding-left: 0.84px;
    color: var(--c-gray);
    font-size: 14px;
    letter-spacing: 0.84px;
    line-height: 25.2px;
}

/* ==========================================================================
   RECRUIT
   ========================================================================== */
/*
 * 直前の NUMBERS のぼかしの円（position: absolute）は SP で RECRUIT の見出しまでにじむ。
 * 位置指定のない要素より手前に描画されるため、見出しのアニメーション（translate）が終わると
 * 「採用情報」の背景に円の色が重なって色が変わってしまう。position: relative で常に円より手前に描画する
 */
.recruit__inner {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 130px max(var(--gutter-1040), var(--gutter-content)) 0;
}

.recruit__lead {
    height: 32px;
    margin-top: 28px;
    color: var(--c-gray);
    font-size: 16px;
    letter-spacing: 0.96px;
    line-height: 30.4px;
}

.recruit__cards {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-top: 40px;
}

.recruit__card {
    flex: 1 0 0;
    min-width: 0;
    border-radius: 28px;
    background: var(--c-blue);
    filter: drop-shadow(0 16px 20px rgba(11, 99, 201, 0.22));
    /* ホバー: カード背景とタグの文字色が明るくなる（Figma: recruit / 0.3s ease-out） */
    transition: background-color 0.3s ease-out;
}

.recruit__card--closed {
    filter: none;
    opacity: 0.45;
}

.recruit__card-link {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 212px;
    padding: 40px 44px;
    color: var(--c-white);
}

.recruit__card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.recruit__card-en {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--c-pale);
    font-family: var(--ff-en);
    font-size: 12px;
    font-weight: 700;
    font-variation-settings: "opsz" 14;
    letter-spacing: 1.92px;
}

.recruit__badge {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--c-white);
    color: var(--c-blue);
    font-family: var(--ff-ja);
    font-size: 10px;
    letter-spacing: 0;
}

.recruit__card-title {
    margin-top: 6px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 3.08px;
}

.recruit__card-arrow {
    padding-top: 6px;
    font-family: var(--ff-arrow);
    font-size: 20px;
    font-weight: 700;
}

.recruit__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.recruit__tag {
    display: flex;
    align-items: center;
    height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--c-white);
    color: var(--c-blue);
    font-size: 12px;
    font-weight: 700;
    transition: color 0.3s ease-out;
}

.recruit__card-text {
    font-size: 14px;
    letter-spacing: 0.56px;
    line-height: 26.6px;
}

/* ==========================================================================
   MESSAGE
   ========================================================================== */
.message__inner {
    display: flex;
    align-items: center;
    /* 1060px時に100px（写真・本文と同じ比率で縮小） */
    gap: calc(100% * 100 / 1060);
    width: 100%;
    margin: 0 auto;
    /* デザインは左100px・右120px（コンテンツ1060px）。1280px未満ではABOUTの文字開始位置から左右10pxずらした位置に揃える */
    padding: 150px calc(var(--gutter-content) + 10px) 0 calc(var(--gutter-content) - 10px);
}

/* デザイン幅では 写真360px・間100px・本文600px。狭い幅では同じ比率で縮小する（写真は正円のまま） */
.message__photo {
    position: relative;
    flex: 360 0 0;
    max-width: 360px;
    aspect-ratio: 1;
}

.message__photo-shadow {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--c-pale);
}

.message__photo-frame {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border: 8px solid var(--c-white);
    border-radius: 50%;
    background: #e9eef4;
}

.message__photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 写真の縮小に合わせて位置も追従（360px時に left: 284px） */
.message__stripe {
    top: -4px;
    left: calc(284 / 360 * 100%);
    width: 80px;
    height: 80px;
}

/* 幅の基準（リードの文字サイズを本文の幅から逆算する）*/
.message__body {
    flex: 600 0 0;
    min-width: 0;
    container-type: inline-size;
}

/* 21文字（28px時 621.6px）はデザイン幅でも本文枠（600px）から21.6pxはみ出す。
   本文の幅が狭いときは、はみ出しがそれ以上にならないサイズに縮小 */
.message__lead {
    height: 48px;
    margin-top: 34px;
    color: var(--c-navy);
    font-size: min(28px, calc((100cqi - 13.7px) / 20.94));
    font-weight: 700;
    letter-spacing: 1.68px;
    line-height: 48px;
    white-space: nowrap;
}

.message__catch {
    display: flex;
    margin-top: 8px;
    padding: 2px 0 4px;
}

.message__marker {
    width: 416px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(247, 226, 122, 0) 62%, var(--c-yellow) 62%);
    color: var(--c-navy);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1.68px;
    line-height: 40px;
    white-space: nowrap;
}

.message__name {
    display: flex;
    align-items: baseline;
    gap: 18px;
    height: 24px;
    margin-top: 24px;
    white-space: nowrap;
}

.message__name-role {
    color: var(--c-gray);
    font-size: 14px;
    letter-spacing: 0.84px;
}

.message__name-text {
    color: var(--c-navy);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2.24px;
}

.message__btn {
    margin-top: 30px;
}

/* ==========================================================================
   WORKS
   ========================================================================== */
.works {
    margin: 140px var(--gutter-1200) 0;
}

.works__inner {
    display: flex;
    position: relative;
    align-items: center;
    gap: 40px;
    overflow: hidden;
    padding: 70px;
    border-radius: 40px;
    background: var(--c-white);
}

.works__deco {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 300px;
    height: 260px;
    border-top-left-radius: 160px;
    background: var(--c-pale);
}

/* 本文はデザイン幅（420px）を保ち、狭い画面では画像側を縮める */
.works__body {
    position: relative;
    flex: 1 0 0;
    min-width: 420px;
}

.works .c-heading__en {
    width: 162px;
}

.works__text {
    min-height: 92px;
    margin-top: 28px;
    color: var(--c-gray);
    font-size: 16px;
    letter-spacing: 0.96px;
    line-height: 30.4px;
}

.works__btn {
    margin-top: 36px;
}

.works__visual {
    position: relative;
    flex: 0 1 600px;
    min-width: 0;
    aspect-ratio: 3 / 2;
}

.works__visual picture {
    display: block;
    height: 100%;
}

.works__img {
    display: block;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__inner {
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin: 0 auto;
    padding: 110px max(var(--gutter-1040), var(--gutter-content)) 100px;
}

.faq__side {
    flex-shrink: 0;
    width: 380px;
}

.faq__photo {
    width: 170px;
    height: 170px;
    margin-top: 36px;
    overflow: hidden;
    border: 6px solid var(--c-white);
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(11, 99, 201, 0.14);
}

.faq__photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq .c-heading__en {
    width: 84px;
}

.faq__more {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    width: 88px;
    height: 28px;
    margin-top: 36px;
    padding-bottom: 8px;
    box-shadow: inset 0 -1px 0 var(--c-navy);
    color: var(--c-navy);
    font-family: var(--ff-en);
    font-size: 16px;
    font-weight: 600;
    font-variation-settings: "opsz" 14;
    line-height: 20px;
    white-space: nowrap;
    /* ホバー: 文字・下線の色が薄くなる（「コーポレートサイトへ」と同じ表現 / 0.3s ease-out） */
    transition: color 0.3s ease-out, box-shadow 0.3s ease-out;
}

/* 罫線はFigmaの内側線に合わせて box-shadow で描画し、行の高さに含めない */
.faq__list {
    flex: 1 0 0;
    min-width: 0;
    box-shadow: inset 0 1px 0 var(--c-navy);
}

.faq__item {
    box-shadow: inset 0 -1px 0 #d5e2ec;
}

/* 質問行（クリックで回答を開閉） */
.faq__link {
    display: flex;
    align-items: center;
    width: 100%;
    /* 長い質問は2行に折り返す（2行でも高さ78pxのまま。3行以上になったら行が伸びる） */
    min-height: 78px;
    padding: 15px 0;
    color: inherit;
    text-align: left;
    transition: opacity 0.3s;
}

.faq__link:hover {
    opacity: 0.7;
}

.faq__q {
    flex-shrink: 0;
    width: 64px;
    color: var(--c-blue);
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
}

.faq__question {
    flex: 1 0 0;
    min-width: 0;
    padding-right: 16px;
    color: var(--c-navy);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.96px;
    line-height: 24px;
}

.faq__icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--c-pale);
    color: var(--c-blue);
}

/*
 * ＋／−（FAQページと同じ表現）
 * 記号は「+」（::before）と「−」（::after）を重ねて置き、開閉に合わせて 0.3s ease-out で透明度を入れ替える。
 * 背景は開いても水色のまま（Figma: FAQ）。
 * 記号は SVG のマスクで形を切り抜き、currentColor で塗る。
 * 文字の「+」「−」はフォントの描画で縦位置が環境ごとに 1px 前後ずれ、CSS の線は 100% 表示で位置がピクセル単位に丸められるため、
 * 小数の座標をそのまま描ける SVG にしている。
 * 「+」の位置・大きさは Figma（1424:1690）の記号の実測値（円の中心より約 0.86px 下にあるのも Figma どおり）。
 * 開いた状態は Figma にないため、「−」は「+」の横棒と同じ形にしている（FAQページと同じ考え方）
 */
.faq__icon {
    position: relative;
}

.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    inset: 0;
    background: currentColor;
    -webkit-mask: no-repeat center / 100% 100%;
    mask: no-repeat center / 100% 100%;
    transition: opacity 0.3s ease-out;
}

.faq__icon::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Crect x='9.85' y='15.12' width='10.3' height='1.38' rx='0.69'/%3E%3Crect x='14.37' y='10.75' width='1.26' height='10.25' rx='0.63'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Crect x='9.85' y='15.12' width='10.3' height='1.38' rx='0.69'/%3E%3Crect x='14.37' y='10.75' width='1.26' height='10.25' rx='0.63'/%3E%3C/svg%3E");
}

.faq__icon::after {
    opacity: 0;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Crect x='9.85' y='15.12' width='10.3' height='1.38' rx='0.69'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Crect x='9.85' y='15.12' width='10.3' height='1.38' rx='0.69'/%3E%3C/svg%3E");
}

.faq__item.is-open .faq__icon::before {
    opacity: 0;
}

.faq__item.is-open .faq__icon::after {
    opacity: 1;
}

/* 回答: 閉じているときは高さ0。開くと 0 → 内容の高さまで広がる（Figma: FAQ / Smart Animate 0.3s ease-out） */
.faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows 0.3s ease-out, visibility 0.3s ease-out;
}

.faq__item.is-open .faq__answer {
    grid-template-rows: 1fr;
    visibility: visible;
}

.faq__answer-inner {
    min-height: 0;
    overflow: hidden;
}

.faq__answer-body {
    display: flex;
    padding: 27px 0;
}

.faq__a {
    flex-shrink: 0;
    width: 64px;
    color: var(--c-blue);
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
}

/* 回答は FAQページと同じ文言のため、複数の段落・改行を含む。段落の間は1行分あける */
.faq__answer-text {
    display: flex;
    flex-direction: column;
    gap: 23px;
    max-width: 542px;
    color: var(--c-navy);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.96px;
    line-height: 23px;
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta__inner {
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--gutter-content) 60px;
}

.cta__box {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 36px;
    background: #1f6fe0;
}

/*
 * 写真はデザイン幅（枠1060px）で 520px。枠が狭いときは写真の左端（枠の左から540px）を保ったまま幅を詰め、
 * 文字と写真・グラデーションの位置関係をデザインと同じにする（写真が文字の下に入り込まないように）
 */
.cta__box {
    --cta-img-w: min(520px, calc(100% - 540px));
}

.cta__img {
    position: absolute;
    top: 0;
    right: 0;
    width: var(--cta-img-w);
    height: 100%;
    object-fit: cover;
    object-position: 45% center;
}

/* 写真の左端の20px手前から240px（デザイン: right 300px） */
.cta__overlay {
    position: absolute;
    top: 0;
    right: calc(var(--cta-img-w) - 220px);
    bottom: 0;
    width: 240px;
    background: linear-gradient(90deg, #1f6fe0 0%, #1f6fe0 12%, rgba(31, 111, 224, 0.6) 45%, rgba(31, 111, 224, 0) 100%);
}

.cta__content {
    position: absolute;
    top: 90px;
    left: 60px;
    width: 552px;
    color: var(--c-white);
}

.cta__title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 5.12px;
    line-height: 46px;
    white-space: nowrap;
}

.cta__text,
.cta__note {
    margin-top: 22px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.cta__btns {
    display: flex;
    gap: 20px;
    margin-top: 36px;
}

/* ==========================================================================
   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;
    /* ホバー: 文字色が薄くなる（Figma: header_text / 0.2s ease-out） */
    transition: color 0.2s ease-out;
}

.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;
}

/* ==========================================================================
   Animation（Figmaプロトタイプのインタラクションを再現）
   ホバーはPC・タブレット（768px以上・マウス操作）のみ。表示時のアニメーションはSPを含む全幅
   （FAQの開閉は機能のため全幅で動作。見た目は上の FAQ の項を参照）
   ========================================================================== */
/* --- ホバー --- */
@media (hover: hover) and (width >= 768px) {
    .header__nav-link:hover,
    .footer__nav-link:hover {
        color: #83a0c0;
    }

    .faq__more:hover {
        box-shadow: inset 0 -1px 0 #83a0c0;
        color: #83a0c0;
    }

    .header__recruit:hover {
        background: #e3f9ff;
        color: #5184c2;
    }

    .header__entry:hover .header__entry-link {
        background: #65a4ee;
    }

    .about__link:hover {
        box-shadow: inset 0 -1px 0 #83a0c0;
        color: #83a0c0;
    }

    .recruit__card:not(.recruit__card--closed):hover {
        background: #5184c2;
    }

    .recruit__card:not(.recruit__card--closed):hover .recruit__tag {
        color: #5184c2;
    }

    .c-btn--primary:hover {
        background: #5184c2;
    }

    /* 周りのレイアウトを動かさないよう、広がった分（左右5px・上下6px）をマイナスマージンで相殺 */
    .c-btn--white:hover,
    .c-btn--outline-white:hover {
        width: 250px;
        height: 68px;
        margin: -6px -5px;
        padding: 0 29px;
    }
}

/* --- 表示時のアニメーション（動きを減らす設定の環境では行わない） --- */
@media (prefers-reduced-motion: no-preference) {
    /*
     * MV: ページ読み込み時に、テキストが下からせり上がって表示される
     * （Figma: FV_text / Smart Animate・Gentle 1.02s）
     * 下端より下だけを隠す。上・左右は隠さない（スプリングで少し上に行き過ぎたとき、上が見切れないように）
     */
    .mv__content {
        clip-path: inset(-100px -100px 0 -100px);
    }

    /* 写真が浮かび上がってから、テキストがせり上がる */
    .mv__img {
        animation: anim-image-in 1.6s var(--ease-float) backwards;
    }

    .mv__content-inner {
        animation: mv-text-in 1.022s var(--ease-gentle) 0.6s backwards;
    }

    .mv__grow {
        animation: anim-text-in 1.4s var(--ease-float) 0.9s backwards;
    }

    /*
     * スクロールで浮かび上がる（参考: 現採用ページの scroll-up をゆっくりにしたもの）
     * 画像・カード … 下から60px、1.6s で浮かび上がる
     * 文字 …………… 下から24px、1.4s でふわっと表示。画像と同時に画面に入ったときは画像の 0.6s 後から
     * html.is-anim は <head> 内のスクリプトで付与。画面に入ったら JS で .is-inview を付け、遅れは --anim-delay で指定
     * 位置は translate で動かす（transform を使う要素の回転などと干渉しないように）
     */
    .is-anim [data-anim]:not(.is-inview) {
        opacity: 0;
    }

    .is-anim [data-anim="image"].is-inview {
        animation: anim-image-in 1.6s var(--ease-float) var(--anim-delay, 0s) backwards;
    }

    .is-anim [data-anim="text"].is-inview {
        animation: anim-text-in 1.4s var(--ease-float) var(--anim-delay, 0s) backwards;
    }

    /*
     * NUMBERS: スクロールでカード列が画面に入ったとき、3枚のカードが下からフェードインしながらせり上がる
     * （Figma: 数字で見る / Smart Animate・Slow 1.67s。JSで .is-ready → .is-shown → .is-done を付与）
     * せり上がっている間はカード列の下端より下を隠す（左右・上の影は隠さない）。ストライプの円は動かさない
     * カードがほぼ所定の位置に来たところ（0.8s後。残り約10px）から、隠す範囲を 0.4s かけて下に広げ、
     * 下の影がカードの到着に合わせて出るようにする（動き終わる 1.67s まで影を隠したままにしない）
     */
    .numbers__reveal.is-ready:not(.is-done) .numbers__list {
        clip-path: inset(-80px -80px 0 -80px);
    }

    .numbers__reveal.is-shown:not(.is-done) .numbers__list {
        clip-path: inset(-80px);
        transition: clip-path 0.4s ease-out 0.8s;
    }

    .numbers__reveal.is-ready .numbers__card {
        opacity: 0;
        transform: translateY(100%);
        transition: opacity 1.667s var(--ease-slow), transform 1.667s var(--ease-slow);
    }

    .numbers__reveal.is-shown .numbers__card {
        opacity: 1;
        transform: none;
    }

    /* 数字のカウントアップ中に桁数が変わっても、単位の位置が動かないよう右揃え（幅はJSで最終値の幅に固定） */
    .numbers__reveal.is-ready .numbers__num {
        text-align: right;
    }
}

@keyframes mv-text-in {
    from {
        transform: translateY(100%);
    }

    to {
        transform: none;
    }
}

/*
 * SPのMV写真は高さ300pxの帯で、下にもMVが続くため、上がってくる間に帯の下へはみ出さないよう
 * 動かす距離と同じだけ下側を隠す（写真の下端は常に帯の下端の位置に揃う）
 */
@media (width < 768px) and (prefers-reduced-motion: no-preference) {
    .mv__img {
        animation-name: mv-img-in-sp;
    }
}

@keyframes mv-img-in-sp {
    from {
        opacity: 0;
        translate: 0 60px;
        clip-path: inset(0 0 60px 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

/* 終了値は指定せず、各要素の本来の値（募集停止中カードの半透明など）に戻す */
@keyframes anim-image-in {
    from {
        opacity: 0;
        translate: 0 60px;
    }
}

@keyframes anim-text-in {
    from {
        opacity: 0;
        translate: 0 24px;
    }
}

/* ==========================================================================
   Tablet（768〜1023px）
   PCレイアウトを幅1024px以上で表示した状態のまま、画面幅に合わせて縮小する。
   縮小率は段階的に切り替え、各範囲の最小幅でもレイアウト上の幅が1024px以上になる値にする。
   ========================================================================== */
@media (768px <= width < 832px) {
    body {
        zoom: 0.75;
        --tablet-zoom: 0.75;
    }
}

@media (832px <= width < 896px) {
    body {
        zoom: 0.8125;
        --tablet-zoom: 0.8125;
    }
}

@media (896px <= width < 960px) {
    body {
        zoom: 0.875;
        --tablet-zoom: 0.875;
    }
}

@media (960px <= width < 1024px) {
    body {
        zoom: 0.9375;
        --tablet-zoom: 0.9375;
    }
}

/* 単位どうしの割り算に対応したブラウザでは「画面幅（スクロールバーを除く） ÷ 1024px」で連続的に縮小する */
@supports (zoom: calc(100cqw / 1024px)) {
    @media (768px <= width < 1024px) {
        html {
            container-type: inline-size;
        }

        body {
            --tablet-zoom: calc(100cqw / 1024px);
            zoom: var(--tablet-zoom);
        }
    }
}

/* 縮小しているときは画面の高さも縮小されるため、縮小率で割って画面の高さに戻す */
@media (768px <= width < 1024px) {
    body {
        min-height: calc(100vh / var(--tablet-zoom, 1));
        min-height: calc(100dvh / var(--tablet-zoom, 1));
    }
}

/* ==========================================================================
   SP
   ========================================================================== */
@media (width < 768px) {
    .u-sp {
        display: inline;
    }

    .u-pc {
        display: none;
    }

    /* Components */
    /*
     * 1行の文言は端末幅が狭くても折り返さない（nowrap）。
     * 入りきらない幅では min(デザインの文字サイズ, 幅から逆算した文字サイズ) で縮小する。
     * 逆算式: (100vw - 左右の余白など) / 文字数 - 字間
     */
    .c-heading {
        gap: 14px;
    }

    .c-heading__en {
        font-size: 28px;
        letter-spacing: 0.56px;
        line-height: 28px;
    }

    .c-heading__ja {
        height: 28px;
        padding: 0 12px;
        font-size: 11px;
        letter-spacing: 0.88px;
    }

    .c-btn {
        width: 100%;
    }

    /* 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;
        line-height: 12px;
    }

    /* 行の高さ = 上下余白21px＋英字12px＋間4px＋日本語23px＋線1px = 61px */
    .drawer__nav-ja {
        color: var(--c-navy);
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 0.96px;
        line-height: 23px;
    }

    .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;
        line-height: 14px;
    }

    .drawer__entry-ja {
        color: var(--c-navy);
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0.84px;
        line-height: 20px;
    }

    .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;
        /* 上余白はENTRYとの最小間隔136px＋24px。画面が高いときは下端に寄せる */
        margin-top: auto;
        padding: 160px 22px 26px;
        color: var(--c-gray);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.72px;
        line-height: 17px;
    }

    .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;
    }

    /* MV */
    /* 写真エリア（高さ300px）の下にテキストを置く。写真まわりの装飾は写真エリア内に配置 */
    .mv__inner {
        height: auto;
        padding-bottom: 36px;
    }

    .mv__inner::before {
        bottom: auto;
        height: 300px;
        background: linear-gradient(180deg, rgba(243, 250, 253, 0) 45%, rgba(243, 250, 253, 0.6) 75%, #f3fafd 100%);
    }

    /* 写真は幅 120%・左に 12.4% はみ出させる（img 共通の max-width: 100% で 100% に縮まないよう解除） */
    .mv__img {
        right: auto;
        left: -12.4%;
        width: 120%;
        max-width: none;
        height: 300px;
    }

    .mv__deco--circle-tl {
        top: -50px;
        left: -40px;
        width: 110px;
        height: 110px;
    }

    /* 写真エリアの下端（300px）で切り抜く */
    .mv__deco--circle-br {
        top: 170px;
        right: -70px;
        width: 210px;
        height: 210px;
        clip-path: inset(0 0 80px);
    }

    .mv__deco--glow {
        display: none;
    }

    .mv__grow {
        top: 213.88px;
        right: 17.97px;
        width: 90.96px;
        height: 63.23px;
        font-size: 20px;
        line-height: 24px;
    }

    .mv__grow span:first-child {
        margin-bottom: -1px;
    }

    .mv__content {
        position: relative;
        top: auto;
        left: auto;
        min-width: 0;
        margin-top: 328px;
        padding: 0 20px;
    }

    .mv__label {
        font-size: 11px;
        letter-spacing: 1.54px;
        line-height: 16px;
    }

    .mv__title {
        margin-top: 16px;
        font-size: 26px;
        letter-spacing: 1.56px;
        line-height: 39px;
    }

    .mv__text {
        min-height: 54px;
        margin-top: 15.3px;
        font-size: 14px;
        letter-spacing: 0.56px;
        line-height: 26.6px;
    }

    /* Careers Message */
    /* 見出し → リード → 写真 → 本文 の順に並べる */
    .careers__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 56px 20px 64px;
    }

    .careers__body {
        display: contents;
    }

    /* 見出し英字の幅 204px(24px時)＋間14px＋バッジ95px が入りきらない幅では英字を縮小 */
    .careers .c-heading__en {
        width: auto;
        font-size: min(24px, calc((100vw - 151px) * 0.1176));
        letter-spacing: 0.24px;
        line-height: 24px;
    }

    .careers__lead {
        height: auto;
        margin-top: 20px;
        font-size: 20px;
        letter-spacing: 0.8px;
        line-height: 34px;
        white-space: normal;
    }

    .careers__lead br {
        display: none;
    }

    .careers__lead-sub {
        display: block;
        height: 24.8px;
        margin-top: -1px;
        font-size: min(14px, calc((100vw - 42px) / 21));
        white-space: nowrap;
        letter-spacing: 0;
        line-height: 23.8px;
    }

    /* 375px時の比率（323 × 200）のまま幅に合わせて拡大縮小する（高さ固定だと幅が広がるほど横長に切り抜かれるため） */
    .careers__visual {
        flex: none;
        order: 1;
        width: auto;
        max-width: none;
        height: auto;
        aspect-ratio: 323 / 200;
        margin: 24px 12px 0 0;
    }

    .careers__list,
    .careers__text,
    .careers__catch {
        order: 2;
    }

    .careers__visual-shadow,
    .careers__visual-frame {
        border-radius: 110px 110px 24px 24px;
    }

    .careers__visual-shadow {
        inset: 10px -10px -10px 10px;
    }

    /* 高さに合わせて拡大し（358×200）、左を 2.38% 切り抜く */
    .careers__visual-img {
        object-position: 22% center;
    }

    /* 写真の高さが変わっても下端からの位置を保つ（200px時に top: 148px） */
    .careers__stripe {
        top: auto;
        bottom: -20px;
        left: -24px;
        width: 72px;
        height: 72px;
        background: repeating-linear-gradient(-45deg, var(--c-yellow) 0 5px, rgba(247, 226, 122, 0) 5px 10px);
    }

    /* Figmaは線が内側なので、線3px＋余白18pxで文字位置21pxに合わせる */
    .careers__list {
        margin-top: 32px;
        padding-left: 18px;
    }

    .careers__list li {
        font-size: 14px;
        letter-spacing: 0.56px;
        line-height: 28px;
    }

    /* Figmaの枠は「行高×行数」を切り上げた高さ（3行=80 / 4行=107） */
    .careers__text {
        min-height: 80px;
        margin-top: 24px;
        font-size: 14px;
        letter-spacing: 0.56px;
        line-height: 26.6px;
    }

    .careers__text--second {
        min-height: 107px;
        margin-top: 11.39px;
    }

    /* SPはデザインどおり2行（自然な折り返し） */
    .careers__catch {
        height: auto;
        margin-top: 24px;
        font-size: 18px;
        white-space: normal;
        letter-spacing: 0.72px;
        line-height: 26px;
    }

    /* ABOUT */
    .about {
        margin: 0 12px;
    }

    .about__inner {
        padding: 48px 20px 36px;
        border-radius: 28px;
    }

    .about__deco {
        top: -60px;
        right: -20px;
        width: 120px;
        height: 180px;
        border-bottom-left-radius: 90px;
    }

    .about .c-heading__en {
        width: auto;
    }

    .about__lead {
        height: auto;
        margin-top: 22px;
        font-size: 20px;
        letter-spacing: 0.8px;
        line-height: 32px;
    }

    .about__intro {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-top: 16px;
    }

    .about__text {
        height: auto;
        padding-bottom: 4px;
        white-space: normal;
        font-size: 14px;
        letter-spacing: 0.56px;
        line-height: 26.6px;
    }

    .about__link {
        gap: 12px;
        width: auto;
        height: 27px;
        padding-bottom: 7px;
    }

    .about__link-icon {
        font-size: 14px;
    }

    .about__cards {
        flex-direction: column;
        gap: 16px;
        margin-top: 32px;
    }

    .about__card {
        flex: none;
        padding: 12px 12px 26px;
        border-radius: 24px;
    }

    /* 375px時の比率（287 × 170）のまま幅に合わせて拡大縮小する */
    .about__card-img {
        aspect-ratio: 287 / 170;
        border-radius: 18px;
    }

    .about__card-body {
        padding: 0 10px;
    }

    .about__card-title {
        gap: 12px;
        height: 26px;
        margin-top: 18px;
    }

    .about__card-num {
        width: 32px;
        height: 22px;
        font-size: 10px;
    }

    .about__card-en {
        font-size: 22px;
    }

    .about__card-sub {
        margin-top: 10px;
        font-size: min(14px, calc((100vw - 110px) / 15 - 0.84px));
        white-space: nowrap;
        letter-spacing: 0.84px;
        line-height: 20px;
    }

    .about__card-text {
        min-height: 107px;
        margin-top: 7.39px;
        letter-spacing: 0.56px;
    }

    /* NUMBERS */
    /* ぼかしの円が右にはみ出して横スクロールにならないよう、横方向だけ切り抜く */
    .numbers__inner {
        padding: 64px 20px 0;
    }

    .numbers__blob--cyan {
        top: 140px;
        left: -40px;
        width: 240px;
        height: 240px;
        filter: blur(50px);
    }

    .numbers__blob--blue {
        top: 420px;
        right: -40px;
        left: auto;
        width: 240px;
        height: 240px;
        filter: blur(60px);
    }

    .numbers__blob--yellow {
        top: 30px;
        right: 20px;
        left: auto;
        width: 150px;
        height: 150px;
        filter: blur(44px);
    }

    .numbers__heading {
        gap: 12px;
    }

    .numbers__label {
        padding-left: 2.2px;
        font-size: 11px;
        letter-spacing: 2.2px;
        line-height: 13px;
    }

    .numbers__title {
        height: auto;
        padding-left: 1.2px;
        font-size: 20px;
        letter-spacing: 1.2px;
        line-height: 32px;
        text-align: center;
    }

    .numbers__list {
        gap: 8px;
        margin-top: 28px;
    }

    .numbers__reveal::before {
        display: none;
    }

    /* SPは アイコン → 項目名 → 数字 → 説明 の順 */
    /* Figmaのカード高さは 199.5 / 199 / 199.5。最も高い項目名2行のカードが199.5になる下余白にし、横並びで揃える */
    .numbers__card {
        padding: 18px 8px 16.5px;
        border-radius: 18px;
        filter: drop-shadow(0 10px 12px rgba(11, 99, 201, 0.1));
    }

    .numbers__icon {
        width: 44px;
        height: 44px;
    }

    .numbers__icon img {
        width: 24px;
        height: 24px;
    }

    /* Figmaの枠: 1行は上下余白込みで32.5px、2行（改行あり）は余白なしで33px */
    .numbers__card-title {
        order: 1;
        margin-top: 10px;
        padding: 8px 0;
        font-size: min(11px, calc(100vw / 24 - 4.6px));
        letter-spacing: 0.22px;
        line-height: 16.5px;
    }

    .numbers__card-title:has(br) {
        padding: 0;
    }

    .numbers__card-title::after {
        display: none;
    }

    .numbers__value {
        order: 2;
        height: 34px;
        margin-top: 6px;
    }

    .numbers__num {
        background-image: none;
        color: var(--c-blue);
        font-size: 34px;
        letter-spacing: -1.36px;
        line-height: 34px;
        -webkit-text-fill-color: var(--c-blue);
    }

    .numbers__unit {
        min-width: 0;
        margin-top: 15px;
        padding-left: 2px;
        font-size: 11px;
        line-height: 16px;
    }

    /* 説明はデザインの改行位置で改行（br.u-sp）。1行は最長8文字 */
    .numbers__card-text {
        order: 3;
        height: auto;
        margin-top: 8px;
        padding-left: 0;
        font-size: min(10px, calc(100vw / 24 - 4.6px));
        white-space: nowrap;
        letter-spacing: 0.2px;
        line-height: 15px;
    }

    /* RECRUIT */
    .recruit__inner {
        padding: 72px 20px 0;
    }

    .recruit__lead {
        height: 27px;
        margin-top: 20px;
        font-size: min(14px, calc((100vw - 42px) / 22 - 0.56px));
        white-space: nowrap;
        letter-spacing: 0.56px;
        line-height: 26.6px;
    }

    .recruit__cards {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        margin-top: 24px;
    }

    .recruit__card {
        flex: none;
        border-radius: 20px;
        filter: drop-shadow(0 12px 15px rgba(11, 99, 201, 0.22));
    }

    .recruit__card--closed {
        filter: none;
    }

    .recruit__card-link {
        gap: 12px;
        height: auto;
        padding: 34px 20px 24px;
    }

    .recruit__card--closed .recruit__card-link {
        gap: 8.895px;
    }

    .recruit__card-head {
        align-items: center;
    }

    .recruit__card-en {
        gap: 8px;
        font-size: 11px;
        letter-spacing: 1.76px;
        line-height: 13px;
    }

    .recruit__badge {
        display: flex;
        align-items: center;
        height: 22px;
        padding: 0 10px;
        line-height: 14px;
    }

    .recruit__card-title {
        margin-top: 4px;
        font-size: 20px;
        letter-spacing: 2px;
        line-height: 29px;
    }

    .recruit__card-arrow {
        padding-top: 0;
        line-height: 24px;
    }

    .recruit__tags {
        gap: 6px 5.44px;
    }

    .recruit__tag {
        height: 28px;
        padding: 0 12px;
        font-size: 11px;
    }

    .recruit__card-text {
        padding-bottom: 1.095px;
        font-size: 12px;
        letter-spacing: 0.48px;
        line-height: 22.8px;
    }

    /* MESSAGE */
    /* 見出し → 写真 → 本文 の順に並べる */
    .message__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 80px 20px 0;
    }

    .message__body {
        display: contents;
    }

    .message .c-heading {
        order: -1;
    }

    .message__photo {
        flex: none;
        align-self: center;
        width: 200px;
        max-width: none;
        height: 200px;
        margin-top: 24px;
    }

    .message__photo-shadow {
        top: 10px;
        left: 10px;
    }

    .message__photo-frame {
        border-width: 6px;
    }

    .message__stripe {
        top: -6px;
        left: 162px;
        width: 48px;
        height: 48px;
        background: repeating-linear-gradient(-45deg, var(--c-yellow) 0 5px, rgba(247, 226, 122, 0) 5px 10px);
    }

    /* 見出し英字の幅 138px(28px時)＋間14px＋バッジ131px が入りきらない幅では英字を縮小 */
    .message .c-heading__en {
        font-size: min(28px, calc((100vw - 187px) * 0.2029));
    }

    .message__lead {
        height: 24.8px;
        margin-top: 27px;
        font-size: 14px;
        letter-spacing: 0.28px;
        line-height: 23.8px;
    }

    .message__catch {
        margin-top: 4px;
        padding: 2px 0 3px;
    }

    .message__marker {
        width: auto;
        height: 29px;
        font-size: 20px;
        letter-spacing: 0.8px;
        line-height: 29px;
    }

    .message__name {
        gap: 12px;
        height: 20px;
        margin-top: 16px;
    }

    .message__name-role {
        font-size: 12px;
        letter-spacing: 0.48px;
    }

    .message__name-text {
        font-size: 14px;
        letter-spacing: 1.4px;
    }

    .message__btn {
        margin-top: 24px;
    }

    /* WORKS */
    /* 見出し → 本文 → 画像 → ボタン の順に並べる */
    .works {
        margin: 80px 12px 0;
    }

    .works__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 48px 20px 40px;
        border-radius: 28px;
    }

    .works__deco {
        width: 160px;
        height: 140px;
        border-top-left-radius: 90px;
    }

    .works__body {
        display: contents;
    }

    .works .c-heading,
    .works__text,
    .works__btn {
        position: relative;
    }

    .works .c-heading__en {
        width: auto;
    }

    .works__text {
        min-height: 107px;
        margin-top: 17.39px;
        font-size: 14px;
        letter-spacing: 0.56px;
        line-height: 26.6px;
    }

    .works__visual {
        flex: none;
        order: 1;
        width: 100%;
        height: auto;
        aspect-ratio: 311 / 185;
        margin-top: 28px;
    }

    .works__btn {
        order: 2;
        margin-top: 24px;
    }

    /* FAQ */
    /* 見出し → 質問一覧 → View All（右寄せ）の順に並べる */
    .faq__inner {
        flex-direction: column;
        align-items: stretch;
        padding: 72px 20px 64px;
    }

    .faq__side {
        display: contents;
    }

    .faq .c-heading__en {
        width: auto;
    }

    .faq__photo {
        display: none;
    }

    /* 上の罫線1pxは padding に含める */
    .faq__list {
        flex: none;
        margin-top: 24px;
        padding-top: 1px;
    }

    /* 下の罫線1pxを除いた範囲で上下中央に揃える */
    /* 1行は高さ50px（＋アイコン22pxを、下の罫線1pxを除いた範囲で上下中央に置く）。2行以上は行が伸びる */
    .faq__link {
        min-height: 50px;
        padding: 13.5px 0 14.5px;
    }

    .faq__q {
        width: 32px;
        font-size: 18px;
        line-height: 18px;
    }

    /* 長い質問は1行に収めると文字が小さくなりすぎるため、折り返して表示する */
    .faq__question {
        padding-right: 12px;
        font-size: 14px;
        letter-spacing: 0.56px;
        line-height: 21px;
    }

    .faq__icon {
        width: 22px;
        height: 22px;
        margin-right: 4px;
    }

    /* SP の記号は円の中央に置く（長さ 9.2px / 太さ 1.2px は Zen Maru Gothic 700 14px の「+」「−」の実測値） */
    .faq__icon::before {
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Crect x='6.4' y='10.4' width='9.2' height='1.2' rx='0.6'/%3E%3Crect x='10.4' y='6.4' width='1.2' height='9.2' rx='0.6'/%3E%3C/svg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Crect x='6.4' y='10.4' width='9.2' height='1.2' rx='0.6'/%3E%3Crect x='10.4' y='6.4' width='1.2' height='9.2' rx='0.6'/%3E%3C/svg%3E");
    }

    .faq__icon::after {
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Crect x='6.4' y='10.4' width='9.2' height='1.2' rx='0.6'/%3E%3C/svg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Crect x='6.4' y='10.4' width='9.2' height='1.2' rx='0.6'/%3E%3C/svg%3E");
    }

    .faq__a {
        width: 32px;
        font-size: 18px;
        line-height: 18px;
    }

    .faq__answer-body {
        padding: 4px 0 16px;
    }

    .faq__answer-text {
        font-size: 14px;
        letter-spacing: 0.56px;
        line-height: 21px;
    }

    .faq__more {
        order: 1;
        align-self: flex-end;
        gap: 12px;
        width: auto;
        height: 24px;
        margin-top: 24px;
        padding-bottom: 7px;
        font-size: 14px;
        line-height: 17px;
    }

    /* CTA */
    .cta__inner {
        padding: 0 12px 40.285px;
    }

    .cta__box {
        height: auto;
        border-radius: 28px;
    }

    .cta__img {
        position: static;
        width: 100%;
        height: 200px;
        object-position: center 35%;
    }

    .cta__overlay {
        top: 120px;
        right: 0;
        bottom: auto;
        left: 0;
        width: auto;
        height: 80px;
        background: linear-gradient(0deg, #1f6fe0 0%, rgba(31, 111, 224, 0) 100%);
    }

    .cta__content {
        position: static;
        width: auto;
        padding: 8px 20px 32px;
    }

    .cta__title {
        font-size: 20px;
        letter-spacing: 1.6px;
        line-height: 32px;
    }

    /* 2行（25.2×2=50.4）を切り上げた Figma の枠の高さ */
    .cta__text {
        height: 51px;
        margin-top: 11.095px;
        font-size: 14px;
        letter-spacing: 0.84px;
        line-height: 25.2px;
    }

    .cta__btns {
        flex-direction: column;
        gap: 12px;
        margin-top: 24px;
    }

    .cta__note {
        margin-top: 16px;
        font-size: min(12px, calc((100vw - 66px) / 23 - 0.72px));
        white-space: nowrap;
        letter-spacing: 0.72px;
        line-height: 17px;
    }

    /* Footer */
    .footer__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        padding: 28px 20px 0;
    }

    .footer__logo img {
        width: 36px;
        height: 28px;
    }

    /*
     * 2列グリッド（Figma 1359:584）: 1行目 お問い合わせ／よくあるご質問、2行目 ハラスメント方針、3行目 プライバシーポリシー（全幅）。
     * Instagram はリンク群から22px空けて4行目に置く（行間14px＋8px）。採用情報ページ等（_css/recruit/style.css）と同じデザイン
     */
    .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;
        letter-spacing: 0.72px;
        line-height: 18px;
    }

    .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: 16px;
    }
}
