/* RECRUIT GAME PARK（採用ゲームパーク） — 硬質なストア型（明るい配色）仕上げ版
   地は白と #F3F4F6、文字はほぼ黒、強調色は赤 1色。角丸は 3〜6px まで。動きは短く・なめらかに。 */

:root {
    --bg: #FFFFFF;
    --bg2: #F3F4F6;
    --line: #E2E4E8;
    --line2: #CDD0D6;
    --ink: #0E0F12;
    --ink2: #43474F;
    --mute: #7A7F89;
    --red: #E63946;
    --red-d: #C42634;
    --ph: #ECEEF1;
    --en: "Inter", "Noto Sans JP", "Hiragino Sans", sans-serif;
    --jp: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    --wrap: 1280px;
    --nav: 56px;
    --ease: cubic-bezier(.22, .61, .21, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav) + 16px); scroll-behavior: smooth; }
body {
    margin: 0; padding-top: var(--nav);
    background: var(--bg); color: var(--ink);
    font-family: var(--jp); font-size: 15px; line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    font-variant-numeric: tabular-nums;
}
body.is-sheet { overflow: hidden; }
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-feature-settings: "palt"; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.sg-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.sg-ic { width: 1em; height: 1em; flex: none; }
.sg-skip { position: absolute; z-index: 100; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 4px; font-weight: 700; }
.sg-skip:focus { top: 64px; }
.sg-wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

.sg-label {
    margin: 0; font-family: var(--en); font-weight: 700; font-size: 12px; line-height: 1.4;
    letter-spacing: .18em; text-transform: uppercase; color: var(--red);
}

/* ---------- ナビ ---------- */
.sg-nav {
    position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--nav);
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid var(--line);
}
.sg-nav-in { display: flex; align-items: center; gap: 24px; height: 100%; width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.sg-nav-mark img { height: 16px; width: auto; }
.sg-nav-links { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.sg-nav-links a {
    display: inline-flex; align-items: center; height: 36px; padding: 0 14px;
    font-size: 13px; font-weight: 700; text-decoration: none; color: var(--ink2); border-radius: 4px;
    transition: background .2s var(--ease), color .2s var(--ease);
}
.sg-nav-links a:hover { color: var(--ink); background: var(--bg2); }
.sg-nav-links .sg-nav-cta { color: #fff; background: var(--ink); margin-left: 8px; }
.sg-nav-links .sg-nav-cta:hover { color: #fff; background: var(--red); }

/* ---------- ボタン ---------- */
.sg-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 26px; border-radius: 4px;
    font-size: 15px; font-weight: 700; letter-spacing: .04em; text-decoration: none; cursor: pointer;
    border: 1px solid transparent; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.sg-btn .sg-ic { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.sg-btn:hover .sg-ic { transform: translateX(2px); }
.sg-btn-pri { background: var(--red); color: #fff; }
.sg-btn-pri:hover { background: var(--red-d); }
.sg-btn-sec { background: #fff; color: var(--ink); border-color: var(--ink); }
.sg-btn-sec:hover { background: var(--bg2); }

/* ---------- 札 ---------- */
.sg-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sg-tag {
    display: inline-flex; align-items: center; height: 26px; padding: 0 9px;
    font-size: 12px; font-weight: 500; line-height: 1; color: var(--ink2);
    border: 1px solid var(--line2); border-radius: 3px; background: #fff; white-space: nowrap;
}
.sg-tag-genre { color: #fff; background: var(--ink); border-color: var(--ink); font-weight: 700; }
.sg-k { margin-right: 7px; font-family: var(--en); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--mute); }

/* 特徴の箇条書き（赤い短い線） */
.sg-feats { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.sg-feats li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.65; color: var(--ink2); word-break: auto-phrase; }
.sg-feats li::before { content: ""; position: absolute; left: 0; top: .82em; width: 10px; height: 2px; background: var(--red); }

/* ---------- キービジュアルの器（無いあいだは灰色の地に題字） ---------- */
.sg-slide-art, .sg-card-art, .sg-pick-art, .sg-pickup-art, .sg-sheet-art { position: relative; overflow: hidden; background: var(--ph); }
.sg-ph { position: absolute; inset: 0; display: grid; place-items: center; }
.sg-ph img { width: 62%; height: 80%; object-fit: contain; }
.sg-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.has-art .sg-ph { visibility: hidden; }
.sg-art-logo { display: none; }

/* ---------- ビルボード ---------- */
.sg-bill { border-bottom: 1px solid var(--line); }
.sg-bill-stage { position: relative; display: grid; }
.sg-slide {
    grid-area: 1 / 1; display: grid; grid-template-columns: minmax(400px, 36%) 1fr;
    min-height: clamp(440px, calc(100svh - var(--nav) - 150px), 600px);
    opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 0s linear 1.1s;
}
.sg-slide.is-on { opacity: 1; visibility: visible; transition: opacity 1.1s var(--ease); z-index: 1; }
.sg-slide-info {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; justify-content: center; gap: 16px;
    padding: 40px 48px 72px max(24px, calc((100vw - var(--wrap)) / 2));
    border-right: 1px solid var(--line); background: #fff;
}
/* 文字は少し遅れて下から現れる */
.sg-up { opacity: 0; transform: translateY(14px); }
.sg-slide.is-on .sg-up { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.sg-slide.is-on .sg-up:nth-child(1) { transition-delay: .25s; }
.sg-slide.is-on .sg-up:nth-child(2) { transition-delay: .32s; }
.sg-slide.is-on .sg-up:nth-child(3) { transition-delay: .40s; }
.sg-slide.is-on .sg-up:nth-child(4) { transition-delay: .46s; }
.sg-slide.is-on .sg-up:nth-child(5) { transition-delay: .52s; }
.sg-slide.is-on .sg-up:nth-child(6) { transition-delay: .58s; }
.sg-slide-no { display: flex; align-items: baseline; gap: 10px; margin: 0; font-family: var(--en); font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--mute); }
.sg-slide-no span { color: var(--red); }
.sg-slide-no b { font-size: 13px; color: var(--ink); letter-spacing: .06em; }
.sg-slide-no i { font-style: normal; letter-spacing: .06em; }
.sg-slide-logo { width: min(100%, 360px); aspect-ratio: 3 / 2; margin: -8px 0 -6px -10px; }
.sg-slide-logo img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.sg-slide-name { margin: 0; font-family: var(--en); font-weight: 800; font-size: 26px; line-height: 1.15; letter-spacing: .01em; }
.sg-slide-name span { display: block; margin-top: 6px; font-family: var(--jp); font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--mute); }
.sg-slide-desc { margin: 0; max-width: 34em; color: var(--ink2); font-size: 14.5px; word-break: auto-phrase; }
.sg-slide-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.sg-slide-btns .sg-btn { min-width: 150px; }
.sg-slide-art { min-height: 100%; }
.sg-slide-art .sg-ph img { width: 54%; }
/* ケン・バーンズ（ゆっくり寄る） */
.sg-slide .sg-slide-art .sg-art, .sg-slide .sg-slide-art .sg-ph img { transform: scale(1.0); transform-origin: 60% 50%; }
.sg-slide.is-on .sg-slide-art .sg-art, .sg-slide.is-on .sg-slide-art .sg-ph img { animation: sg-kb 9s var(--ease) both; }
@keyframes sg-kb { from { transform: scale(1.0); } to { transform: scale(1.06); } }
@media (min-width: 861px) {
    .sg-slide .sg-slide-art .sg-art { object-position: 100% 50%; transform-origin: 100% 0%; }
}
.sg-bill-ctrl { position: absolute; z-index: 3; left: max(24px, calc((100vw - var(--wrap)) / 2)); bottom: 24px; display: flex; }
.sg-arrow {
    display: grid; place-items: center; width: 40px; height: 40px; cursor: pointer;
    background: #fff; border: 1px solid var(--line2); border-radius: 0; transition: background .2s var(--ease);
}
.sg-arrow:first-child { border-radius: 4px 0 0 4px; }
.sg-arrow:last-child { border-radius: 0 4px 4px 0; border-left: 0; }
.sg-arrow:hover { background: var(--bg2); }
.sg-arrow .sg-ic { width: 14px; height: 14px; }

.sg-picks-wrap { background: var(--bg2); border-top: 1px solid var(--line); }
.sg-picks {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px;
    width: min(var(--wrap), 100% - 48px); margin-inline: auto; padding: 14px 0;
}
.sg-pick {
    position: relative; display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 12px;
    padding: 0; text-align: left; cursor: pointer; background: transparent; border: 0; border-radius: 4px;
}
.sg-pick-art { aspect-ratio: 16 / 9; border-radius: 3px; outline: 1px solid var(--line2); outline-offset: -1px; }
.sg-pick-art .sg-ph img { width: 78%; }
.sg-pick-txt { display: grid; min-width: 0; }
.sg-pick-txt b { font-family: var(--en); font-size: 12px; font-weight: 800; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--mute); transition: color .2s var(--ease); }
.sg-pick-txt small { font-size: 12px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-pick-bar { position: absolute; left: 0; right: 0; top: -14px; height: 2px; background: transparent; }
.sg-pick.is-on .sg-pick-txt b { color: var(--ink); }
.sg-pick.is-on .sg-pick-art { outline: 2px solid var(--ink); outline-offset: -2px; }
.sg-pick.is-on .sg-pick-bar { background: var(--line2); }
.sg-pick.is-on .sg-pick-bar::after {
    content: ""; position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(0);
    animation: sg-progress 8s linear forwards;
}
.sg-bill.is-paused .sg-pick-bar::after { animation-play-state: paused; }
@keyframes sg-progress { to { transform: scaleX(1); } }
.sg-pick:hover .sg-pick-txt b { color: var(--ink); }

/* ---------- 区画の共通 ---------- */
.sg-sec { padding: 72px 0; }
.sg-head {
    display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 24px;
    padding-bottom: 16px; margin-bottom: 24px; border-bottom: 1px solid var(--ink);
}
.sg-head .sg-label { grid-column: 1 / -1; }
.sg-h2 { margin: 0; font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; line-height: 1.3; letter-spacing: .01em; word-break: auto-phrase; }
.sg-h2 > span { display: inline-block; }
.sg-head-lead { grid-column: 1 / -1; margin: 4px 0 0; color: var(--ink2); word-break: auto-phrase; }
.sg-count { margin: 0; font-family: var(--en); font-size: 13px; font-weight: 600; color: var(--mute); letter-spacing: .06em; }
.sg-count span { color: var(--ink); font-size: 18px; font-weight: 800; }

/* 一覧の前置き */
.sg-games { padding-top: 56px; }
.sg-intro {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px;
    padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line);
}
.sg-intro-mark { width: 100%; max-width: 560px; }
.sg-intro-txt p { margin: 0 0 20px; color: var(--ink2); word-break: auto-phrase; }
.sg-intro-txt .sg-catch { margin: 0 0 6px; font-size: clamp(22px, 2.3vw, 30px); font-weight: 900; line-height: 1.45; color: var(--ink); font-feature-settings: "palt"; }
.sg-intro-txt .sg-catch > span { display: inline-block; }
.sg-intro-txt .sg-catch em { font-style: normal; color: var(--red); }
.sg-intro-txt .sg-catch-sub { margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--mute); }
.sg-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--line); }
.sg-stats div { padding: 12px 0 0 16px; border-right: 1px solid var(--line); }
.sg-stats div:first-child { padding-left: 0; }
.sg-stats div:last-child { border-right: 0; }
.sg-stats dt { font-family: var(--en); font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--mute); }
.sg-stats dd { margin: 2px 0 0; font-family: var(--en); font-size: 34px; font-weight: 800; line-height: 1.1; }

/* ピックアップ（横長の大きな枠） */
.sg-pickup {
    display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); margin-bottom: 64px;
    border: 1px solid var(--ink); border-radius: 6px; overflow: hidden; background: #fff;
}
.sg-pickup-art { aspect-ratio: 16 / 9; border-right: 1px solid var(--ink); }
@media (min-width: 1101px) { .sg-pickup-art { aspect-ratio: auto; min-height: 100%; } }
.sg-pickup-art .sg-art { transition: transform 1.2s var(--ease); }
.sg-pickup:hover .sg-pickup-art .sg-art { transform: scale(1.03); }
.sg-pickup-info { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 32px 36px; }
.sg-pickup-logo { width: min(100%, 260px); aspect-ratio: 3 / 2; margin: -6px 0 -10px -8px; }
.sg-pickup-logo img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.sg-pickup-name { margin: 0; font-family: var(--en); font-size: 22px; font-weight: 800; line-height: 1.2; }
.sg-pickup-name span { display: block; margin-top: 4px; font-family: var(--jp); font-size: 12px; font-weight: 500; color: var(--mute); }
.sg-pickup-desc { margin: 0; font-size: 14px; color: var(--ink2); word-break: auto-phrase; }
.sg-pickup .sg-feats li { font-size: 13.5px; }

/* 絞り込み */
.sg-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.sg-segs {
    display: grid; grid-template-columns: repeat(6, auto); justify-content: start; gap: 1px;
    background: var(--ink); border: 1px solid var(--ink); border-radius: 4px; overflow: hidden; width: max-content; max-width: 100%;
}
.sg-seg {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px;
    font-size: 13.5px; font-weight: 700; cursor: pointer; background: #fff; border: 0; border-radius: 0;
    transition: background .2s var(--ease), color .2s var(--ease);
}
.sg-seg span { font-family: var(--en); font-size: 12px; font-weight: 600; color: var(--mute); }
.sg-seg:hover { background: var(--bg2); }
.sg-seg[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sg-seg[aria-pressed="true"] span { color: rgba(255, 255, 255, .7); }
.sg-lens { display: flex; align-items: center; gap: 0; }
.sg-lens-k { margin-right: 12px; font-family: var(--en); font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--mute); }
.sg-len {
    display: inline-flex; align-items: baseline; gap: 6px; height: 34px; padding: 0 12px; cursor: pointer;
    font-size: 12.5px; font-weight: 700; color: var(--ink2); background: transparent;
    border: 0; border-bottom: 2px solid var(--line); border-radius: 0; line-height: 32px;
    transition: border-color .2s var(--ease), color .2s var(--ease);
}
.sg-len small { font-family: var(--en); font-size: 12px; font-weight: 600; color: var(--mute); }
.sg-len:hover { color: var(--ink); }
.sg-len[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--red); }
.sg-empty { margin: 8px 0 0; padding: 32px; text-align: center; color: var(--mute); border: 1px dashed var(--line2); border-radius: 6px; }

/* カード */
.sg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; margin: 0; padding: 0; list-style: none; }
.sg-card {
    position: relative; display: flex; flex-direction: column; background: #fff;
    border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.sg-card[hidden] { display: none; }
.sg-card-link { position: absolute; inset: 0; z-index: 2; border-radius: 6px; }
.sg-card-link:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.sg-card-media { position: relative; }
.sg-card-art { aspect-ratio: 16 / 9; border-bottom: 1px solid var(--line); }
.sg-card-art .sg-ph img { width: 58%; }
.sg-card-art .sg-ph img, .sg-card-art .sg-art { transition: transform .6s var(--ease); }
/* キービジュアルが入ったら、左下に題字画像を小さく載せる */
.sg-card-art.has-art .sg-art-logo {
    display: block; position: absolute; left: 3%; bottom: 2%; width: 40%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; object-position: left bottom;
    transition: transform .45s var(--ease);
}
.sg-card-play {
    position: absolute; z-index: 3; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 7px;
    height: 30px; padding: 0 11px; border-radius: 3px; background: var(--red); color: #fff; text-decoration: none;
    font-family: var(--en); font-size: 12px; font-weight: 800; letter-spacing: .16em;
    opacity: 0; transform: translateY(4px); transition: opacity .25s var(--ease), transform .25s var(--ease), background .2s;
}
.sg-card-play:hover { background: var(--red-d); }
.sg-card-play .sg-ic { width: 9px; height: 9px; }
.sg-card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 14px 16px 16px; }
.sg-card-meta { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 12px; font-weight: 500; color: var(--mute); }
.sg-num { font-family: var(--en); font-weight: 700; color: var(--ink); letter-spacing: .04em; padding-right: 10px; border-right: 1px solid var(--line2); line-height: 1; }
.sg-card-name { margin: 0; font-family: var(--en); font-size: 18px; font-weight: 800; line-height: 1.2; letter-spacing: .01em; }
.sg-card-name span { display: block; margin-top: 3px; font-family: var(--jp); font-size: 12px; font-weight: 500; color: var(--mute); letter-spacing: .04em; }
.sg-card-desc {
    margin: 0 0 4px; font-size: 13.5px; line-height: 1.65; color: var(--ink2); word-break: auto-phrase;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sg-card-body .sg-tags { margin-top: auto; }
.sg-card:hover, .sg-card:focus-within, .sg-card.is-target {
    border-color: var(--red); box-shadow: 0 0 0 1px var(--red), 0 12px 28px -12px rgba(14, 15, 18, .18);
}
@media (hover: hover) {
    .sg-card:hover { transform: translateY(-2px); }
    .sg-card:hover .sg-art, .sg-card:hover .sg-ph img { transform: scale(1.04); }
    .sg-card:hover .sg-art-logo { transform: translateY(-4px); }
}
.sg-card:hover .sg-card-play, .sg-card:focus-within .sg-card-play { opacity: 1; transform: none; }
@media (hover: none) { .sg-card-play { opacity: 1; transform: none; } }

/* ---------- 採用ゲームとは ---------- */
.sg-about { background: var(--bg2); border-block: 1px solid var(--line); }
.sg-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.sg-points li { padding: 28px 28px 30px; border-right: 1px solid var(--line); }
.sg-points li:last-child { border-right: 0; }
.sg-num-lg { margin: 0 0 14px; font-family: var(--en); font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--red); }
.sg-num-lg::after { content: ""; display: block; width: 24px; height: 2px; margin-top: 10px; background: var(--ink); }
.sg-points h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; line-height: 1.5; word-break: auto-phrase; }
.sg-points p { margin: 0; font-size: 14px; color: var(--ink2); word-break: auto-phrase; }

/* ---------- 4つの職種 ---------- */
.sg-jobs-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.sg-jobs-list li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; padding-top: 18px; border-top: 2px solid var(--jc); }
.sg-jobs-list img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; background: var(--bg2); border: 1px solid var(--line); }
.sg-job-en { margin: 0; font-family: var(--en); font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--jc); }
.sg-jobs-list h3 { margin: 2px 0 6px; font-size: 16px; font-weight: 700; line-height: 1.4; }
.sg-jobs-list p:last-child { margin: 0; font-size: 13.5px; color: var(--ink2); word-break: auto-phrase; }

/* ---------- 御社の採用に ---------- */
.sg-company { padding-top: 24px; }
.sg-co {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 48px;
    padding: 40px 44px; border: 1px solid var(--ink); border-radius: 6px; background: #fff;
}
.sg-co-txt .sg-h2 { margin: 6px 0 8px; }
.sg-co-txt p:last-child { margin: 0; color: var(--ink2); word-break: auto-phrase; }
.sg-co-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.sg-other {
    position: relative; display: grid; gap: 4px; margin-top: 20px; padding: 22px 72px 22px 24px;
    text-decoration: none; border: 1px solid var(--line); border-radius: 6px; background: var(--bg2);
    transition: border-color .25s var(--ease);
}
.sg-other:hover { border-color: var(--ink); }
.sg-other-t { font-family: var(--en); font-size: 20px; font-weight: 800; letter-spacing: .04em; }
.sg-other-d { font-size: 13.5px; color: var(--ink2); word-break: auto-phrase; }
.sg-other-go { position: absolute; right: 24px; top: 50%; width: 20px; height: 20px; margin-top: -10px; transition: transform .25s var(--ease); }
.sg-other:hover .sg-other-go { transform: translateX(3px); }

/* ---------- 御社の採用に（読み物） ---------- */
.sg-company { padding-top: 72px; }
.sg-fig { position: relative; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ph); border: 1px solid var(--line); border-radius: 4px; }
.sg-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sg-fig-ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--en); font-size: 12px; font-weight: 700; letter-spacing: .24em; color: var(--mute); }
.sg-fig img + .sg-fig-ph { display: none; }
.sg-biz-lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-bottom: 56px; border-bottom: 1px solid var(--ink); }
.sg-biz-h { margin: 6px 0 16px; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.25; }
.sg-biz-lead-txt > p:not(.sg-label) { margin: 0; color: var(--ink2); word-break: auto-phrase; }
.sg-biz-toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.sg-biz-toc a { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; font-size: 14px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line); transition: color .2s var(--ease); }
.sg-biz-toc a span { font-family: var(--en); font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--red); }
.sg-biz-toc a:hover { color: var(--red); }
.sg-biz { padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--nav) + 8px); }
.sg-biz-head { display: grid; grid-template-columns: 88px 1fr; gap: 20px; align-items: start; margin-bottom: 32px; }
.sg-biz-no { margin: 0; padding-top: 12px; font-family: var(--en); font-size: 44px; font-weight: 800; line-height: .9; letter-spacing: -.02em; color: var(--ink); border-top: 3px solid var(--red); }
.sg-biz-h3 { margin: 4px 0 0; font-size: clamp(21px, 2.2vw, 28px); font-weight: 900; line-height: 1.4; word-break: auto-phrase; }
.sg-biz-sub { margin: 8px 0 0; color: var(--ink2); word-break: auto-phrase; }
.sg-line-ic { display: block; width: 44px; height: 44px; color: var(--ink); }
.sg-biz h4 { margin: 14px 0 6px; font-size: 16px; font-weight: 700; line-height: 1.5; word-break: auto-phrase; }
.sg-biz li p { margin: 0; font-size: 14px; color: var(--ink2); word-break: auto-phrase; }

.sg-issues { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.sg-issues li { padding: 26px 26px 28px; border-right: 1px solid var(--line); }
.sg-issues li:last-child { border-right: 0; }

.sg-diagram { margin: 0; }
.sg-dg-wide { display: block; width: 100%; height: auto; }
.sg-dg-tall { display: none; }
.sg-diagram figcaption { margin-top: 14px; font-size: 12.5px; color: var(--mute); word-break: auto-phrase; }

.sg-merits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.sg-merits li { position: relative; padding: 22px 22px 26px; background: var(--bg2); border-top: 2px solid var(--ink); }
.sg-merit-k { position: absolute; right: 18px; top: 16px; margin: 0; font-family: var(--en); font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--red); }

.sg-scenes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.sg-scenes .sg-fig img { transition: transform .8s var(--ease); }
.sg-scenes li:hover .sg-fig img { transform: scale(1.03); }

.sg-custom { display: grid; gap: 20px; justify-items: start; }
.sg-custom-table { width: 100%; border-top: 1px solid var(--ink); }
.sg-ct-row { display: grid; grid-template-columns: 128px minmax(0, 1fr) 40px minmax(0, 1fr); align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sg-ct-row > span:first-child { font-weight: 700; }
.sg-ct-row > span:nth-child(2) { color: var(--mute); word-break: auto-phrase; }
.sg-ct-row > span:nth-child(4) { font-weight: 700; color: var(--ink); word-break: auto-phrase; }
.sg-ct-head { padding: 10px 0; font-family: var(--en); font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.sg-ct-head > span { color: var(--mute) !important; font-weight: 700 !important; }
.sg-ct-ar { position: relative; height: 2px; background: var(--red); }
.sg-ct-ar::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--red); border-right: 0; }

.sg-flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0 0 32px; padding: 0; list-style: none; }
.sg-flow li { position: relative; padding: 20px 20px 22px 0; border-top: 2px solid var(--ink); }
.sg-flow li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.sg-flow li::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; background: var(--red); }
.sg-flow li + li::before { left: 20px; }
.sg-flow-no { font-family: var(--en); font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--red); }
.sg-flow h4 { margin-top: 6px; }
.sg-scope { padding: 24px 28px; background: var(--bg2); border-radius: 6px; }
.sg-scope-k { margin-bottom: 12px; color: var(--ink); }
.sg-scope ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.sg-scope li { font-size: 13.5px; color: var(--ink2); word-break: auto-phrase; }
.sg-scope b { display: block; margin-bottom: 4px; font-size: 14.5px; color: var(--ink); }

.sg-faq { border-top: 1px solid var(--ink); }
.sg-faq details { border-bottom: 1px solid var(--line); }
.sg-faq summary {
    position: relative; display: block; padding: 18px 48px 18px 36px; cursor: pointer; list-style: none;
    font-size: 15.5px; font-weight: 700; line-height: 1.5; word-break: auto-phrase;
}
.sg-faq summary::-webkit-details-marker { display: none; }
.sg-faq summary::before { content: "Q"; position: absolute; left: 0; top: 18px; font-family: var(--en); font-weight: 800; color: var(--red); }
.sg-faq summary::after {
    content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
    background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat;
    transition: transform .25s var(--ease);
}
.sg-faq details[open] summary::after { transform: rotate(45deg); }
.sg-faq details p { margin: 0; padding: 0 48px 20px 36px; color: var(--ink2); font-size: 14.5px; word-break: auto-phrase; }
.sg-faq summary:hover { color: var(--red); }

.sg-co-final { margin-top: 64px; padding: 48px; border-width: 2px; }
.sg-co-h { margin: 6px 0 8px; }

@media (max-width: 1100px) {
    .sg-merits, .sg-scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sg-scope ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .sg-biz-lead { grid-template-columns: 1fr; gap: 28px; }
    .sg-issues { grid-template-columns: 1fr; }
    .sg-issues li { border-right: 0; border-bottom: 1px solid var(--line); }
    .sg-issues li:last-child { border-bottom: 0; }
    .sg-dg-wide { display: none; }
    .sg-dg-tall { display: grid; margin: 0; padding: 0; list-style: none; }
    .sg-dg-tall li { position: relative; display: grid; gap: 2px; padding: 18px 20px; margin-bottom: 30px; border: 1px solid var(--ink); background: #fff; }
    .sg-dg-tall li::after { content: ""; position: absolute; left: 28px; bottom: -24px; border: 8px solid transparent; border-top: 12px solid var(--red); border-bottom: 0; }
    .sg-dg-tall li.is-last { margin-bottom: 0; background: var(--ink); color: #fff; }
    .sg-dg-tall li.is-last::after { display: none; }
    .sg-dg-tall b { font-family: var(--en); font-size: 12px; letter-spacing: .18em; color: var(--red); }
    .sg-dg-tall strong { font-size: 19px; font-weight: 800; }
    .sg-dg-tall span { font-size: 13.5px; color: var(--ink2); word-break: auto-phrase; }
    .sg-dg-tall li.is-last span { color: #D7D9DE; }
    .sg-flow { grid-template-columns: 1fr; }
    .sg-flow li, .sg-flow li + li { padding: 16px 0 18px 24px; border-top: 0; border-left: 2px solid var(--ink); }
    .sg-flow li::before, .sg-flow li + li::before { left: -6px; top: 20px; }
    .sg-ct-row { grid-template-columns: 1fr; gap: 4px; }
    .sg-ct-head { display: none; }
    .sg-ct-ar { width: 28px; margin: 4px 0; }
}
@media (max-width: 640px) {
    .sg-biz { padding: 48px 0; }
    .sg-biz-head { grid-template-columns: 56px 1fr; gap: 14px; margin-bottom: 24px; }
    .sg-biz-no { font-size: 30px; }
    .sg-biz-toc { grid-template-columns: 1fr; }
    .sg-merits, .sg-scenes, .sg-scope ul { grid-template-columns: 1fr; }
    .sg-co-final { padding: 28px 20px; }
    .sg-faq summary { padding-right: 36px; }
    .sg-faq details p { padding: 0 8px 18px 36px; }
}

/* ---------- パンくず ---------- */
.sg-crumb { border-bottom: 1px solid var(--line); background: #fff; }
.sg-crumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; width: min(var(--wrap), 100% - 48px); margin: 0 auto; padding: 10px 0; list-style: none; font-size: 12px; color: var(--mute); }
.sg-crumb li + li::before { content: "/"; margin: 0 10px; color: var(--line2); }
.sg-crumb a { color: var(--ink2); text-decoration: none; }
.sg-crumb a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.sg-crumb li[aria-current] { color: var(--ink); font-weight: 700; }
@media (max-width: 640px) { .sg-crumb ol { width: calc(100% - 32px); font-size: 12px; } }

/* ---------- フッタ ---------- */
.sg-foot { border-top: 1px solid var(--line); margin-top: 56px; }
.sg-foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 24px 0 36px; font-size: 13px; }
.sg-foot-name { margin: 0; font-weight: 700; }
.sg-foot a { color: var(--ink2); text-underline-offset: 3px; }
.sg-copy { margin: 0 0 0 auto; font-family: var(--en); font-size: 12px; color: var(--mute); }

/* ---------- スクロールで控えめに現れる ---------- */
.js [data-rv] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.js [data-rv].is-in { opacity: 1; transform: none; }
.js .sg-card[data-rv].is-in:hover { transform: translateY(-2px); }

/* ---------- 詳細シート ---------- */
.sg-sheet {
    width: min(1120px, 100% - 48px); max-width: none; max-height: calc(100svh - 48px); padding: 0; margin: auto;
    border: 1px solid var(--ink); border-radius: 6px; background: #fff; color: var(--ink); overflow: hidden;
}
.sg-sheet::backdrop { background: rgba(243, 244, 246, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sg-sheet { box-shadow: 0 30px 80px -30px rgba(14, 15, 18, .28); }
.sg-sheet[open] { animation: sg-in .32s var(--ease); }
.sg-sheet[open]::backdrop { animation: sg-fade .32s var(--ease); }
@keyframes sg-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes sg-fade { from { opacity: 0; } to { opacity: 1; } }
.sg-sheet-in { position: relative; max-height: calc(100svh - 50px); overflow-y: auto; overscroll-behavior: contain; }
.sg-sheet-close {
    position: sticky; z-index: 5; top: 0; float: right; display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: -48px;
    background: #fff; border: 0; border-left: 1px solid var(--ink); border-bottom: 1px solid var(--ink); border-radius: 0 0 0 4px; cursor: pointer;
}
.sg-sheet-close:hover { background: var(--bg2); }
.sg-sheet-close .sg-ic { width: 16px; height: 16px; }
.sg-sheet-hero { position: relative; border-bottom: 1px solid var(--ink); }
.sg-sheet-art { aspect-ratio: 21 / 9; }
.sg-sheet-art .sg-ph img { width: 40%; }
@media (min-width: 641px) {
    .sg-sheet-art .sg-art[src*="thumb_cards.webp"],
    .sg-sheet-art .sg-art[src*="thumb_dash.webp"],
    .sg-sheet-art .sg-art[src*="thumb_escape.webp"],
    .sg-sheet-art .sg-art[src*="thumb_manager.webp"],
    .sg-sheet-art .sg-art[src*="thumb_rhythm.webp"] { object-position: 50% 0%; }
}
.sg-sheet-logo { display: none; }
.sg-sheet-hero.has-art .sg-sheet-logo {
    display: block; position: absolute; left: 32px; bottom: 16px; width: min(30%, 300px); aspect-ratio: 3 / 2; object-fit: contain; object-position: left bottom;
}
.sg-sheet-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.sg-sheet-main { display: flex; flex-direction: column; gap: 14px; padding: 28px 36px 36px; border-right: 1px solid var(--line); }
.sg-sheet-name { margin: 0; font-family: var(--en); font-size: 30px; font-weight: 800; line-height: 1.15; }
.sg-sheet-name span { display: block; margin-top: 6px; font-family: var(--jp); font-size: 13px; font-weight: 500; color: var(--mute); }
.sg-sheet-desc { margin: 0; font-size: 15px; color: var(--ink2); word-break: auto-phrase; }
.sg-sheet-k { margin-top: 8px; color: var(--ink); }
.sg-spec { margin: 6px 0 0; border-top: 1px solid var(--ink); }
.sg-spec div { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sg-spec dt { font-weight: 700; color: var(--ink); }
.sg-spec dd { margin: 0; color: var(--ink2); word-break: auto-phrase; }
.sg-sheet-play { align-self: stretch; min-height: 56px; font-size: 17px; margin-top: 8px; }
.sg-sheet-shots { display: flex; flex-direction: column; gap: 14px; padding: 28px 32px 36px; background: var(--bg2); }
.sg-shot-view { position: relative; display: grid; place-items: center; }
.sg-shot-frame {
    position: relative; width: min(100%, 300px); aspect-ratio: 390 / 844; overflow: hidden;
    background: #fff; border: 1px solid var(--ink); border-radius: 6px;
}
.sg-shot-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center top; opacity: 0; transition: opacity .45s var(--ease); }
.sg-shot-frame img.is-on { opacity: 1; }
.sg-shot-nav {
    position: absolute; top: 50%; display: grid; place-items: center; width: 40px; height: 40px; margin-top: -20px; cursor: pointer;
    background: #fff; border: 1px solid var(--ink); border-radius: 4px;
}
.sg-shot-nav[data-d="-1"] { left: 0; }
.sg-shot-nav[data-d="1"] { right: 0; }
.sg-shot-nav:hover { background: var(--bg2); }
.sg-shot-nav .sg-ic { width: 14px; height: 14px; }
.sg-shot-thumbs { display: flex; justify-content: center; gap: 8px; }
.sg-shot-thumbs button {
    width: 52px; aspect-ratio: 390 / 844; padding: 0; overflow: hidden; cursor: pointer;
    border: 1px solid var(--line2); border-radius: 3px; background: #fff; opacity: .6; transition: opacity .2s var(--ease), border-color .2s var(--ease);
}
.sg-shot-thumbs button img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.sg-shot-thumbs button:hover { opacity: 1; }
.sg-shot-thumbs button[aria-current="true"] { opacity: 1; border: 2px solid var(--red); }
.sg-shot-none { display: grid; place-items: center; height: 100%; padding: 20px; text-align: center; font-size: 13px; color: var(--mute); }

/* ---------- 画面の幅ごと ---------- */
@media (max-width: 1100px) {
    .sg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sg-jobs-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
    .sg-slide { grid-template-columns: minmax(340px, 42%) 1fr; }
    .sg-pickup { grid-template-columns: 1fr; }
    .sg-pickup-art { border-right: 0; border-bottom: 1px solid var(--ink); }
}
@media (max-width: 900px) {
    .sg-intro { grid-template-columns: 1fr; gap: 24px; }
    .sg-points { grid-template-columns: 1fr; }
    .sg-points li { border-right: 0; border-bottom: 1px solid var(--line); }
    .sg-points li:last-child { border-bottom: 0; }
    .sg-co { grid-template-columns: 1fr; }
    .sg-segs { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
    .sg-sheet-body { grid-template-columns: 1fr; }
    .sg-sheet-main { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 860px) {
    .sg-slide { grid-template-columns: 1fr; min-height: 0; }
    .sg-slide-art { order: -1; aspect-ratio: 16 / 9; min-height: 0; }
    .sg-slide-info { padding: 22px 24px 76px; border-right: 0; gap: 12px; }
    .sg-slide-logo { display: none; }
    .sg-bill-ctrl { left: 24px; bottom: 20px; }
    .sg-picks { grid-template-columns: repeat(5, 170px); width: auto; padding: 14px 24px; overflow-x: auto; scrollbar-width: none; }
    .sg-picks::-webkit-scrollbar { display: none; }
    .sg-pick { grid-template-columns: 72px 1fr; gap: 10px; }
}
@media (max-width: 640px) {
    :root { --nav: 52px; }
    .sg-wrap, .sg-nav-in { width: calc(100% - 32px); }
    .sg-nav-mark img { height: 12px; }
    .sg-nav-links a:not(.sg-nav-cta) { display: none; }
    .sg-nav-links .sg-nav-cta { height: 32px; padding: 0 12px; font-size: 12px; margin-left: 0; }
    .sg-slide-info { padding: 18px 16px 72px; }
    .sg-slide-name { font-size: 22px; }
    .sg-slide-btns .sg-btn { flex: 1; min-width: 0; }
    .sg-bill-ctrl { left: auto; right: 16px; bottom: 18px; }
    .sg-picks { padding: 12px 16px; }
    .sg-sec { padding: 56px 0; }
    .sg-grid { grid-template-columns: 1fr; gap: 20px; }
    .sg-jobs-list { grid-template-columns: 1fr; }
    .sg-co { padding: 28px 20px; }
    .sg-co-btns .sg-btn { flex: 1 1 100%; }
    .sg-other { padding: 18px 56px 18px 18px; }
    .sg-other-go { right: 18px; }
    .sg-stats dd { font-size: 28px; }
    .sg-seg { padding: 0 8px; font-size: 13px; gap: 5px; }
    .sg-lens { width: 100%; }
    .sg-len { flex: 1; justify-content: center; padding: 0 6px; }
    .sg-pickup-info { padding: 20px 18px 22px; }
    .sg-pickup { margin-bottom: 48px; }
    .sg-copy { margin-left: 0; width: 100%; }
    .sg-sheet { width: 100%; max-height: 100svh; height: 100svh; border: 0; border-radius: 0; }
    .sg-sheet-in { max-height: 100svh; height: 100%; }
    .sg-sheet-art { aspect-ratio: 16 / 9; }
    .sg-sheet-hero.has-art .sg-sheet-logo { left: 14px; bottom: 8px; width: 42%; }
    .sg-sheet-main { padding: 20px 18px 24px; }
    .sg-sheet-name { font-size: 24px; }
    .sg-sheet-shots { padding: 22px 18px 28px; }
    .sg-shot-frame { width: min(100% - 100px, 260px); }
    .sg-sheet-play { position: sticky; bottom: 12px; z-index: 4; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
    .sg-pick.is-on .sg-pick-bar::after { transform: scaleX(1); }
    .js [data-rv], .sg-up { opacity: 1 !important; transform: none !important; }
}
