:root { --space-section: 88px; --space-heading: 40px;
  --navy: #02324F;
  --navy-deep: #04121F;
  --cyan: #00B4ED;
  --steel: #5B6B80;
  --ice: #DAF4FC;
  --paper: #F4F8FB;
  --white: #FFFFFF;
  --line: rgba(91, 107, 128, .2);
  --error: #a3212e;
  --header: 60px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 20px); }
body { margin: 0; background: var(--paper); color: var(--navy); font-family: "Noto Sans JP", sans-serif; font-size: 16px; font-weight: 400; line-height: 1.9; overflow-wrap: anywhere; font-synthesis: none; }
body.is-menu-open { overflow: hidden; }
body, button, input, textarea { -webkit-text-size-adjust: 100%; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: 900; line-height: 1.5; }
h1 { font-size: 32px; }
h2 { font-size: clamp(26px, 4.2vw, 42px); letter-spacing: -.04em; }
h3 { font-size: 21px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a, input, textarea, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--cyan); outline-offset: 4px;
}
img { display: block; width: 100%; max-width: 100%; height: auto; }
picture { display: block; min-width: 0; overflow: hidden; border-radius: 4px; }
picture img { height: 100%; object-fit: cover; }
svg { flex: 0 0 auto; }
[hidden] { display: none !important; }
.wrap { width: calc(100% - 40px); max-width: 1160px; margin-inline: auto; min-width: 0; }
.narrow { max-width: 880px; }
.heading-line { display: block; }
.icon { width: 28px; height: 28px; }
.eyebrow { font-family: "Anton", "Noto Sans JP", sans-serif; font-size: 12px; font-weight: 400; letter-spacing: .12em; line-height: 1.6; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 12px 20px; background: var(--white); color: var(--navy); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
/* 応募ボタン（参考 recruit.toyox.co.jp の c-button）: 白地・2px の青枠・右端に青いカプセルの白矢印。
   マウスを乗せるとカプセルが広がってボタン全体が青になり、文字は白、矢印は右へ抜けて左から入れ替わる */
.button { --cv: #0072BC; --cv-ease: cubic-bezier(.785, .135, .15, .86); position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; min-height: 54px; max-width: 100%; padding: 10px 70px 10px 30px; border: 2px solid var(--cv); border-radius: 36px; background: var(--white); color: var(--cv); font-size: 17px; font-weight: 900; line-height: 1.5; letter-spacing: .08em; transition: color .6s var(--cv-ease); }
.button::before { content: ""; position: absolute; z-index: -1; right: 14px; top: 50%; width: 40px; height: 23px; margin-top: -11.5px; border-radius: 120px; background: var(--cv); transition: transform .6s var(--cv-ease); }
.button > span[aria-hidden] { position: absolute; right: 14px; top: 50%; width: 40px; height: 23px; margin-top: -11.5px; overflow: hidden; font-size: 0; color: transparent; }
.button > span[aria-hidden]::before, .button > span[aria-hidden]::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 10px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23 12'%3E%3Cpath d='M0 5h20.2L16 .9 16.9 0 23 6l-6.1 6-.9-.9L20.2 7H0z' fill='%23fff'/%3E%3C/svg%3E"); transition: transform .6s var(--cv-ease), opacity .4s var(--cv-ease); }
.button > span[aria-hidden]::before { transform: translate(-200%, -50%); opacity: 0; }
.button > span[aria-hidden]::after { transform: translate(-50%, -50%); }
@media (any-hover: hover) {
  .button:hover { color: var(--white); }
  .button:hover::before { transform: scale(20); }
  .button:hover > span[aria-hidden]::before { transform: translate(-50%, -50%); opacity: 1; }
  .button:hover > span[aria-hidden]::after { transform: translate(150%, -50%); opacity: 0; }
}
.button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
/* 360px 前後でボタン文言「応募・相談フォームへ進む」が1文字だけ2行目に落ちないよう、字間と左右余白を詰める */
@media (max-width: 399px) { .button { padding-inline: 20px 62px; letter-spacing: .03em; } }
.text-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 5px; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: var(--white); }
.hero-image { position: absolute; inset: 0; z-index: -2; border-radius: 0; }
.hero-image img { width: 100%; height: 100%; object-position: 68% center; animation: photo-zoom 12s ease-out forwards; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2,50,79,.74), rgba(2,50,79,.6) 50%, rgba(4,18,31,.88)); }
.hero-content { position: relative; padding-block: 20px 30px; }
.hero-label { max-width: 610px; font-size: 11px; font-weight: 500; line-height: 16px; letter-spacing: 0; margin-bottom: 12px; }
.job-hero h1 { font-size: 32px; line-height: 1.35; letter-spacing: -.04em; margin-bottom: 12px; }
.hero-lead { max-width: 38em; font-size: 14px; line-height: 24px; font-weight: 500; text-wrap: pretty; }
.hero-chips { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 510px; border-block: 1px solid rgba(255,255,255,.35); }
.hero-chip { padding: 6px 4px; text-align: center; min-width: 0; }
.hero-chip + .hero-chip { border-left: 1px solid rgba(255,255,255,.35); }
.hero-chip > span { display: block; font-size: 10px; line-height: 16px; }
.hero-chip p { display: flex; justify-content: center; align-items: baseline; gap: 2px; line-height: 38px; white-space: nowrap; }
.hero-chip strong { font-family: "Anton", sans-serif; font-size: 32px; font-weight: 400; }
.hero-chip p span { font-size: 11px; font-weight: 500; }
.hero-primary { margin-top: 14px; max-width: 440px; }
.cta-block { text-align: center; max-width: 440px; margin-inline: auto; }
.cta-block .button { width: 100%; }
.cta-before { font-size: 12px; font-weight: 500; line-height: 18px; margin-bottom: 8px; }
.cta-after { font-size: 11px; line-height: 18px; margin-top: 9px; }
.secondary-link { display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 44px; max-width: 440px; margin-top: 6px; font-size: 13px; text-decoration: underline; text-underline-offset: 5px; }
.section { position: relative; padding-block: var(--space-section); }
.angled::before { content: ""; position: absolute; top: -19px; left: 0; width: min(180px, 50%); height: 20px; background: inherit; clip-path: polygon(0 0, 100% 100%, 0 100%); z-index: 2; }
.section-heading { margin-bottom: var(--space-heading); }
.section-heading .eyebrow { margin-bottom: 12px; color: var(--steel); }
.section-intro > p, .section-lead { font-size: 15px; line-height: 1.9; text-wrap: pretty; }
.section-intro { margin-bottom: var(--space-heading); }
.section-intro .section-heading { margin-bottom: 16px; }
.section-note, .fine-note { font-size: 12px; line-height: 1.9; color: var(--steel); }
.paper-section { background: var(--paper); }
.white-section { background: var(--white); }
.ice-section { background: var(--ice); }
.navy-section { background: var(--navy); color: white; }
.numbers-section { background: var(--navy-deep); color: var(--white); }
.numbers-section .eyebrow, .navy-section .eyebrow { color: #aec0cd; }
.concern-grid { display: grid; gap: 40px; }
.wide-image { aspect-ratio: 16/9; margin-bottom: var(--space-heading); }
.wide-image img { object-position: center 30%; }
.day-image { aspect-ratio: 4/3; margin-top: 24px; }
/* 不安4つはカード（参考 PERSOLMIRAIZ の ABOUT）: 青のグラデーション地に白いカード。番号はカードの上端にかぶせ、見出し → 絵と丸バッジ → 説明文の順 */
.firststep-section { background: linear-gradient(180deg, var(--paper) 0%, #DDF0FA 30%, #9FD5F2 100%); }
.firststep-section.angled::before { background: var(--paper); }
.concern-grid { gap: 52px; margin-top: 72px; }
.concern { position: relative; padding-bottom: 26px; border-radius: 16px; background: var(--white); box-shadow: 0 12px 32px rgba(2,50,79,.10); }
.concern-index { position: absolute; top: -.56em; left: 16px; margin: 0; font-family: "Anton", sans-serif; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #0072BC; }
.concern h3 { margin: 0; padding: 44px 20px 0; font-size: 20px; line-height: 1.5; text-align: center; }
.concern-visual { position: relative; display: grid; place-items: center; min-height: 150px; margin-top: 16px; padding: 8px 20px 12px; background: linear-gradient(180deg, var(--white) 0%, #EAF5FC 100%); }
.concern-illust { display: block; width: 100%; max-width: 300px; height: auto; aspect-ratio: 3/2; object-fit: contain; }
.concern-badge { position: absolute; z-index: 1; left: 12px; bottom: -18px; display: grid; place-content: center; width: 80px; height: 80px; margin: 0; border-radius: 50%; background: linear-gradient(140deg, #FFEA80 0%, #FFC61A 42%, #F59200 100%); box-shadow: 0 6px 14px rgba(2,50,79,.16); color: var(--navy); text-align: center; line-height: 1.3; }
.concern-badge span { font-size: 10px; font-weight: 700; letter-spacing: -.02em; }
.concern-badge b { font-size: 15px; font-weight: 900; }
.concern-text { margin: 0; padding: 26px 22px 0; font-size: 14px; line-height: 1.9; }
.concern p, .prose p, .faq-answer p { text-wrap: pretty; }
.concern > p:last-child { font-size: 14px; line-height: 1.9; }
.mid-cta { margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--line); }
.day-layout { display: grid; gap: 32px; }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; width: 1px; left: 6px; top: 14px; bottom: 14px; background: var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 102px minmax(0,1fr); gap: 8px; padding: 18px 0 18px 24px; border-bottom: 1px solid var(--line); }
.timeline li::before { content: ""; position: absolute; top: 28px; left: 2px; width: 9px; height: 9px; background: var(--navy); transform: rotate(45deg); }
.timeline-time { font-family: "Anton", "Noto Sans JP", sans-serif; font-size: 19px; font-weight: 400; white-space: nowrap; }
.timeline li p { font-size: 13px; align-self: center; }
.people-intro { display: grid; gap: 32px; }
.prose { font-size: 15px; line-height: 2.1; }
.prose p + p { margin-top: 18px; }
.people-intro .prose { margin-block: 16px 24px; }
.signature { font-size: 12px; line-height: 2; }
.signature strong { font-size: 21px; font-weight: 500; }
.navy-section .fine-note { color: #aec0cd; }
.team-image { aspect-ratio: 16/9; }
.team-heading { margin-top: 40px; margin-bottom: 8px; }
/* 一緒に働く仲間: 横スクロールのカード。上の色帯に番号と英語の見出し、下に名前と紹介。色は FIRST STEP の絵とそろえた3色 */
.people-scroll { margin: 28px -20px 0; }
.people-track { display: flex; gap: 14px; margin: 0; padding: 4px 20px 8px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; overscroll-behavior-x: contain; scrollbar-width: none; }
.people-track::-webkit-scrollbar { display: none; }
.people-track:focus-visible { outline: 3px solid var(--cyan); outline-offset: -3px; }
.person-card { flex: 0 0 80%; display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: var(--white); color: var(--navy); scroll-snap-align: start; }
.person-band { position: relative; display: flex; align-items: flex-end; justify-content: space-between; height: 112px; padding: 16px 20px; background: #F2C94C; }
.person-card:nth-child(2) .person-band { background: #00B4ED; }
.person-card:nth-child(3) .person-band { background: #E8604C; }
.person-num { position: absolute; top: 12px; left: 18px; font-family: "Anton", sans-serif; font-size: 15px; letter-spacing: .08em; }
.person-en { margin-left: auto; font-family: "Anton", sans-serif; font-size: 40px; line-height: 1; letter-spacing: .02em; color: rgba(2,50,79,.9); }
.person-body { flex: 1; padding: 20px 20px 24px; }
.person-tag { display: inline-block; margin: 0; padding: 2px 10px; border-radius: 20px; background: var(--paper); font-size: 12px; font-weight: 700; color: var(--steel); }
.person-body h4 { margin: 12px 0 10px; font-size: 19px; line-height: 1.5; }
.person-body > p:last-child { margin: 0; font-size: 13px; line-height: 1.9; }
.people-foot { display: flex; align-items: center; gap: 14px; margin: 18px 20px 0; }
.people-bar { position: relative; flex: 1; height: 3px; overflow: hidden; border-radius: 2px; background: rgba(255,255,255,.22); }
.people-bar i { position: absolute; inset: 0 auto 0 0; width: var(--p, 33%); background: var(--cyan); transition: width .2s; }
.people-hint { font-family: "Noto Sans JP", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #aec0cd; white-space: nowrap; }
.people-hint::after { content: " →"; }
.job-title { font-size: 20px; margin-bottom: 26px; }
/* 福利厚生（参考: インフォグラフィック）: クリーム地に黄色のリボン、白いパネル。見出しは黄色の輪＋太字＋黄色の下線、要点は大きく黄色のマーカー、右（半分幅は上）に線画 */
.pf-section { background: #FBF5E8; }
/* リボン: 線画テイストの絵（nb-ribbon、1536×512、帯は左右14.3%・上18.4%・下29.5%の内側）を敷き、文字は HTML で帯の上に重ねる */
.pf-ribbon { position: relative; width: min(100%, 360px); margin: 0 auto 24px; font-size: 15px; font-weight: 900; line-height: 1.4; letter-spacing: .06em; text-align: center; color: var(--navy); }
.pf-ribbon-img { display: block; width: 100%; height: auto; }
.pf-ribbon > span { position: absolute; inset: 18.4% 14.3% 29.5%; display: grid; place-items: center; padding-inline: 4px; }
.pf-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.pf-panel { grid-column: span 1; padding: 20px 16px 22px; background: var(--white); }
.pf-panel.pf-wide { grid-column: 1 / -1; }
.pf-title { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 14px; font-size: 16px; line-height: 1.4; }
.pf-title > span:last-child { padding-bottom: 4px; border-bottom: 3px solid #F2C94C; }
.pf-dot { flex-shrink: 0; width: 18px; height: 18px; border: 5px solid #F2C94C; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--navy), inset 0 0 0 1.5px var(--navy); }
.pf-body { display: grid; justify-items: center; gap: 10px; text-align: center; }
.pf-illust { width: 100%; max-width: 120px; color: #0072BC; }
.pf-img, .pf-illust .icon { display: block; width: 100%; height: auto; }
.pf-key { margin: 0; font-family: "Dela Gothic One", "Noto Sans JP", sans-serif; font-size: 17px; line-height: 1.5; color: var(--navy); word-break: auto-phrase; text-wrap: balance; }
.pf-key span { background: linear-gradient(transparent 62%, #F2C94C 62%); }
.pf-text { margin: 6px 0 0; font-size: 12px; line-height: 1.8; text-align: left; text-wrap: pretty; word-break: auto-phrase; }
.pf-wide .pf-body { grid-template-columns: 112px minmax(0,1fr); align-items: center; justify-items: start; gap: 16px; text-align: left; }
.pf-wide .pf-key { font-size: 22px; }
@media (min-width: 768px) {
  .pf-ribbon { width: 520px; margin-bottom: 32px; font-size: 20px; }
  .pf-grid { gap: 20px; }
  .pf-panel { padding: 30px 32px 32px; }
  .pf-title { font-size: 20px; margin-bottom: 20px; }
  .pf-illust { max-width: 160px; }
  .pf-key { font-size: 22px; }
  .pf-text { font-size: 14px; text-align: center; }
  .pf-wide .pf-body { grid-template-columns: 200px minmax(0, 520px); justify-content: center; gap: 40px; }
  .pf-wide .pf-illust { max-width: 200px; }
  .pf-wide .pf-key { font-size: 30px; }
  .pf-wide .pf-text { text-align: left; }
}
/* 選考の流れ（参考: 3ステップの縦フロー）: 左に STEP の丸、丸どうしを点線でつなぐ。中央に線画、右に見出しと説明。行の間に細い線 */
.selection-flow { position: relative; margin: 0; padding: 0; list-style: none; }
/* 点線は一覧の後ろに1本通し、丸の周りを白で抜いて、丸と点線のすき間をそろえる */
.selection-flow::before { content: ""; position: absolute; left: 29px; top: 56px; bottom: 56px; width: 6px; background: radial-gradient(circle, #0072BC 2.2px, transparent 2.8px) center top / 6px 11px repeat-y; }
.selection-flow li { position: relative; display: grid; grid-template-columns: 64px 72px minmax(0,1fr); align-items: center; column-gap: 14px; padding: 24px 0; }
.selection-flow li + li::before { content: ""; position: absolute; top: 0; left: 78px; right: 0; height: 1px; background: var(--line); }
.step-badge { position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--white); display: grid; place-content: center; width: 64px; height: 64px; border-radius: 50%; background: #0072BC; color: var(--white); text-align: center; line-height: 1; font-family: "Anton", sans-serif; }
.step-badge span { font-size: 12px; letter-spacing: .06em; }
.step-badge b { margin-top: 2px; font-size: 26px; font-weight: 400; }
.step-icon { color: #0072BC; }
.step-icon svg { display: block; width: 72px; height: 72px; }
.step-text h3 { margin: 0 0 4px; font-size: 17px; line-height: 1.5; }
.step-text p { margin: 0; font-size: 13px; line-height: 1.8; text-wrap: pretty; word-break: auto-phrase; }
/* ステップ表示: JS が動くときだけ（.steps-ready）、未到達の丸は白抜き・線画と文字は隠す。到達した丸から青く塗り、続けて線画と文字を出す。青い実線が点線の上をのびていく */
.selection-flow.steps-ready::after { content: ""; position: absolute; z-index: 0; left: 30px; top: var(--line-top, 56px); width: 4px; height: calc(var(--line-len, 0px) * var(--fill, 0)); border-radius: 2px; background: #0072BC; }
.steps-ready .step-badge { transition: background-color .35s ease, color .35s ease, transform .45s cubic-bezier(.34,1.56,.64,1); }
.steps-ready .step-icon, .steps-ready .step-text { transition: opacity .5s ease, transform .6s cubic-bezier(.22,1,.36,1); }
.steps-ready .step-text { transition-delay: .12s; }
.steps-ready li:not(.is-active) .step-badge { background: var(--white); color: #0072BC; box-shadow: inset 0 0 0 3px #0072BC, 0 0 0 8px var(--white); transform: scale(.86); }
.steps-ready li:not(.is-active) .step-icon, .steps-ready li:not(.is-active) .step-text { opacity: 0; transform: translateX(16px); }
/* 募集要項の表（参考: 会社概要によくある見出し塗りの表）: 見出しは青地に白の太字で中央、内容は白地。セルの間を細くあけて区切る */
.requirements { width: 100%; border-collapse: separate; border-spacing: 0 4px; margin-block: -4px; background: transparent; font-size: 13px; line-height: 1.9; table-layout: auto; }
.requirements th, .requirements td { vertical-align: middle; padding: 16px 14px; overflow-wrap: anywhere; }
.requirements th { width: 28%; border-right: 4px solid var(--paper); background: #0072BC; color: var(--white); font-weight: 700; text-align: center; letter-spacing: .04em; }
.requirements td { width: 72%; background: var(--white); text-align: left; }
.contact-note { margin-top: 24px; text-align: center; font-size: 14px; }
.phone-contact { text-align: center; margin: 24px auto 0; }
.phone-contact p { font-size: 12px; }
.phone-contact a { display: inline-flex; align-items: center; min-height: 48px; font-family: "Anton", sans-serif; font-size: 31px; font-weight: 400; line-height: 1.5; }
/* よくある質問（参考: 白いカードのアコーディオン）: 薄い青の地に白いカード。オレンジの「Q.」、右に開閉の丸ボタン、答えは角丸の吹き出し */
.faq-section { background: #E6F3FB; }
.faq-list { display: grid; gap: 14px; }
.faq-list details { border-radius: 14px; background: var(--white); box-shadow: 0 4px 14px rgba(2,50,79,.06); }
.faq-list summary { display: flex; align-items: center; gap: 12px; padding: 20px 18px; min-height: 64px; cursor: pointer; font-size: 15px; font-weight: 700; line-height: 1.7; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 14px; }
.q-mark { flex-shrink: 0; font-family: "Anton", sans-serif; font-size: 24px; line-height: 1; color: #E07B00; }
.faq-q { flex: 1; text-wrap: pretty; word-break: auto-phrase; }
.faq-toggle { position: relative; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: #0072BC; }
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 1px; background: var(--white); transition: transform .3s ease; }
.faq-toggle::after { transform: rotate(90deg); }
.faq-list details[open] .faq-toggle::after { transform: rotate(0deg); }
.faq-answer { margin: 0 16px 18px; padding: 16px 18px; border-radius: 14px; background: #EEF6FB; font-size: 14px; line-height: 1.9; }
.faq-answer p { margin: 0; }
/* 開閉をなめらかに（対応ブラウザのみ。非対応では瞬時に開閉） */
.faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s ease, content-visibility .35s allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; }
:root { interpolate-size: allow-keywords; }
.bottom-cta { margin-top: 40px; }
.apply-section { background: var(--ice); }
.form-wrap { max-width: 720px; }
.apply-job { font-size: 14px; font-weight: 900; margin-bottom: 16px; }
.application-form { margin-top: 32px; min-width: 0; }
.required-note { font-size: 12px; margin-bottom: 26px; }
.field { border: 0; padding: 0; margin: 0 0 26px; min-inline-size: 0; }
.field-label, .field legend { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-weight: 500; font-size: 15px; margin-bottom: 10px; padding: 0; }
.field-badge { display: inline-block; padding: 1px 6px; background: var(--navy); color: white; font-size: 10px; line-height: 20px; font-weight: 500; border-radius: 4px; }
.field-badge.optional { background: white; color: var(--steel); }
.field input:not([type="radio"]):not([type="checkbox"]), .field textarea { display: block; width: 100%; min-width: 0; min-height: 52px; border: 1px solid var(--steel); border-radius: 4px; background: white; color: var(--navy-deep); padding: 12px 14px; font-size: 16px; font-weight: 400; line-height: 1.7; box-shadow: none; }
.field textarea { resize: vertical; min-height: 150px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border: 2px solid var(--error) !important; }
.field-hint { margin-top: 8px; font-size: 12px; color: var(--steel); line-height: 1.8; }
.field-error, .form-alert { padding: 12px 14px; margin-top: 10px; border: 2px solid var(--error); border-radius: 4px; background: #fff4f3; color: var(--error); font-size: 13px; font-weight: 500; line-height: 1.8; }
.form-alert { margin-block: 0 26px; scroll-margin-top: 90px; }
.form-alert.is-preview { background: white; color: var(--navy); border-color: var(--navy); }
.radio-options { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { display: flex; gap: 10px; align-items: flex-start; min-height: 48px; padding: 12px 14px; background: white; border: 1px solid var(--line); border-radius: 4px; font-size: 14px; line-height: 24px; cursor: pointer; }
.choice input { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 20px; accent-color: var(--navy); }
.choice:has(input:checked) { border-color: var(--navy); }
.choice:has(input[aria-invalid="true"]) { border-color: var(--error); }
.privacy-field { margin-top: 36px; }
.privacy-field .text-link { font-size: 13px; margin-bottom: 10px; }
.consent { background: transparent; padding-inline: 0; border-color: transparent; font-size: 14px; }
.turnstile-wrap { min-height: 65px; margin: 22px 0; }
.honeypot { position: absolute; left: 0; width: 1px; height: 1px; transform: translateX(-10000px); overflow: hidden; }
.submit-button { width: 100%; margin-top: 18px; }
/* 追従ボタン: 帯をなくしてボタンだけを浮かせる。青で塗り、白の縁と影でどの背景の上でも見えるように。「未経験歓迎・正社員募集」はボタンの1行目に */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 35; padding: 0 16px calc(12px + env(safe-area-inset-bottom)); pointer-events: none; }
.sticky-cta .button { --cv: #0072BC; pointer-events: auto; flex-direction: column; gap: 0; width: 100%; min-height: 58px; padding-block: 7px; border: 2px solid var(--white); background: #0072BC; color: var(--white); font-size: 16px; line-height: 1.35; box-shadow: 0 10px 24px rgba(2,50,79,.35), 0 2px 6px rgba(2,50,79,.2); }
.sticky-cta .button::before { background: rgba(255,255,255,.22); }
.sticky-note { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; opacity: .9; }
.sticky-label { display: block; }
.site-footer { padding: 52px 0 40px; background: var(--navy-deep); color: white; }
.page-job .site-footer { padding-bottom: calc(144px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; gap: 32px; }
.footer-lead { font-size: 27px; font-weight: 900; line-height: 1.7; margin-top: 16px; }
.company-info h2 { font-size: 12px; font-weight: 500; color: #aec0cd; margin-bottom: 12px; letter-spacing: .1em; }
.company-info p, .company-info address { font-size: 12px; font-style: normal; line-height: 2; }
.company-info .company-name { font-size: 18px; font-weight: 900; margin-bottom: 8px; }
.footer-phone { display: inline-flex; min-height: 44px; align-items: center; font-size: 15px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 28px; padding-block: 16px; border-block: 1px solid rgba(255,255,255,.2); }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 24px; color: #aec0cd; }
.footer-bottom small { font-size: 10px; }
.top-hero .hero-content { padding-block: 50px; }
.top-hero h1 { font-size: 34px; line-height: 1.5; letter-spacing: -.045em; margin-block: 18px; }
.top-hero .button { margin-top: 28px; min-width: 200px; }
.job-card { display: grid; gap: 28px; padding: 28px 24px; margin-top: 28px; border-radius: 4px; border: 1px solid var(--line); background: white; transition: border-color .2s; }
.job-card:hover { border-color: var(--navy); }
.job-badge { display: inline-block; border: 1px solid var(--navy); border-radius: 4px; padding: 2px 8px; font-size: 11px; margin-bottom: 12px; }
.job-card h3 { font-size: 21px; margin-block: 10px 16px; }
.job-salary { font-size: 22px; font-weight: 900; }
.job-card-link { align-self: end; justify-self: start; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 24px; background: var(--navy); color: white; border-radius: 4px; font-size: 14px; }
.two-column { display: grid; gap: 32px; }
.simple-page { padding: 58px 0 70px; background: var(--paper); }
.simple-page h1 { font-size: 26px; line-height: 1.7; letter-spacing: -.035em; margin-block: 16px 24px; }
.simple-page h2 { font-size: 20px; margin-block: 32px 16px; }
.simple-page p, .simple-page li, .simple-page dt, .simple-page dd { font-size: 14px; }
.simple-page p + p { margin-top: 16px; }
.policy ol, .policy ul { padding-left: 1.5em; margin-block: 16px; }
.policy ol { list-style: decimal; }
.policy ul { list-style: disc; }
.policy li + li { margin-top: 10px; }
.policy a:not(.button) { display: inline-block; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; padding-block: 8px; }
.policy-contact { border-top: 1px solid var(--line); margin-bottom: 32px; }
.policy-contact > div { display: grid; grid-template-columns: 5em minmax(0, 1fr); gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.thanks-page { text-align: center; }
.completion-mark { display: inline-flex; justify-content: center; align-items: center; width: 64px; height: 64px; background: var(--navy); color: white; border-radius: 4px; margin-bottom: 24px; }
.completion-mark .icon { width: 38px; height: 38px; }
.thanks-page .thanks-status { font-size: 18px; font-weight: 900; margin-bottom: 12px; }
.next-actions { background: white; padding: 24px; margin-top: 32px; text-align: left; border: 1px solid var(--line); border-radius: 4px; }
.next-actions h2 { margin-top: 0; font-size: 18px; }
.next-actions ol { list-style: decimal; padding-left: 1.5em; }
.next-actions li + li { margin-top: 12px; }
.thanks-links { display: grid; justify-items: center; gap: 16px; margin-top: 32px; }
@keyframes photo-zoom { from { transform: scale(1); } to { transform: scale(1.05); } }
.reveal-enabled [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .65s ease, transform .65s ease; }
.reveal-enabled [data-reveal].is-revealed { opacity: 1; transform: none; }
/* スタッガー: 並んだカードを下から順に出す（遅れは script.js が 0.15 秒ずつ付ける） */
.reveal-enabled [data-stagger] > [data-reveal] { transform: translateY(20px); transition: opacity .45s ease var(--stagger, 0ms), transform .6s cubic-bezier(.22,1,.36,1) var(--stagger, 0ms); }
/* カードの中身も 番号 → 見出し → 絵 → 説明文 の順に 0.14 秒ずつ。バッジは絵のあとに弾むように出す（スマホで1枚ずつ画面に入っても時間差が見える） */
.reveal-enabled [data-stagger] > [data-reveal] > * { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .6s cubic-bezier(.22,1,.36,1); transition-delay: calc(var(--stagger, 0ms) + 200ms + var(--i, 0) * 140ms); }
.reveal-enabled [data-stagger] > [data-reveal] > :nth-child(2) { --i: 1; }
.reveal-enabled [data-stagger] > [data-reveal] > :nth-child(3) { --i: 2; }
.reveal-enabled [data-stagger] > [data-reveal] > :nth-child(4) { --i: 3; }
.reveal-enabled [data-stagger] .concern-badge { opacity: 0; transform: scale(.5); transition: opacity .3s ease, transform .5s cubic-bezier(.34,1.56,.64,1); transition-delay: calc(var(--stagger, 0ms) + 200ms + 3.5 * 140ms); }
.reveal-enabled [data-stagger] > [data-reveal].is-revealed > *, .reveal-enabled [data-stagger] .is-revealed .concern-badge { opacity: 1; transform: none; }
@media (min-width: 768px) {
  :root { --space-section: 120px; --space-heading: 56px; }
  .hero::after { background: linear-gradient(90deg, rgba(2,50,79,.92) 0%, rgba(2,50,79,.78) 40%, rgba(2,50,79,.22) 72%, rgba(2,50,79,.08) 100%); }
  .wrap { width: calc(100% - 80px); }
  .hero-content { padding-block: 28px 58px; }
  .hero-label { font-size: 13px; line-height: 1.8; margin-bottom: 14px; }
  .job-hero h1 { font-size: clamp(44px, 4.4vw, 60px); line-height: 1.3; margin-bottom: 18px; }
  .hero-lead { font-size: 16px; line-height: 2; max-width: 34em; }
  .hero-chips { margin-top: 20px; }
  .hero-chip { padding-block: 10px; }
  .hero-chip > span { font-size: 12px; }
  .hero-chip strong { font-size: 42px; }
  .hero-chip p { margin-top: 6px; line-height: 1.4; }
  .hero-chip p span { font-size: 13px; }
  .hero-primary { margin-top: 20px; }
  .cta-before { font-size: 13px; }
  .cta-after { font-size: 12px; }
  .secondary-link { font-size: 14px; }
  .section-heading .eyebrow { margin-bottom: 18px; }
  .concern-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .concern-grid { gap: 64px 32px; margin-top: 88px; }
  .concern-index { left: 22px; font-size: 76px; }
  .concern h3 { padding-top: 52px; font-size: 22px; }
  .concern-visual { min-height: 190px; }
  .concern-illust { max-width: 340px; }
  .concern-badge { left: 22px; bottom: -22px; width: 100px; height: 100px; }
  .concern-badge span { font-size: 11px; }
  .concern-badge b { font-size: 18px; }
  .concern-text { padding: 30px 32px 0; }
  .mid-cta { margin-top: 50px; padding-top: 40px; }
  .day-layout { grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 60px; }
  .day-image { margin-top: 32px; }
  .wide-image { aspect-ratio: 21/9; }
  .timeline li { grid-template-columns: 110px minmax(0,1fr); gap: 16px; }
  .timeline li p { font-size: 14px; }
  .people-intro { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; gap: 48px; }
  .team-image { aspect-ratio: 4/5; }
  .team-image img { object-position: center; }
  .people-scroll { margin: 36px -40px 0; }
  .people-track { gap: 20px; padding-inline: 40px; scroll-padding-inline: 40px; }
  .person-card { flex-basis: 44%; }
  .people-foot { margin-inline: 40px; }
  .requirements { font-size: 15px; }
  .requirements th, .requirements td { padding: 22px 28px; }
  .requirements th { width: 24%; }
  .faq-list { gap: 18px; }
  .faq-list summary { gap: 16px; padding: 24px 28px; font-size: 17px; }
  .q-mark { font-size: 28px; }
  .faq-answer { margin: 0 28px 24px; padding: 20px 24px; font-size: 15px; }
  .form-wrap { width: calc(100% - 80px); max-width: 800px; }
  .application-form { background: white; padding: 40px; border-radius: 8px; border: 1px solid var(--line); }
  .field-badge.optional { background: var(--paper); }
  .sticky-cta { display: none; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 60px; }
  .footer-lead { font-size: 38px; }
  .site-footer, .page-job .site-footer { padding: 72px 0 36px; }
  .top-hero .hero-content { padding-block: 100px; }
  .top-hero h1 { font-size: 60px; }
  .job-card { grid-template-columns: minmax(0,1fr) auto; padding: 36px; }
  .two-column { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px; }
  .simple-page { padding-block: 90px; }
  .simple-page h1 { font-size: 36px; }
  .simple-page p, .simple-page li, .simple-page dt, .simple-page dd { font-size: 15px; }
}
@media (min-width: 1100px) {
  :root { --space-section: 160px; --space-heading: 64px; }
  .section-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
  .section-intro .section-heading { margin-bottom: 0; }
  .team-image { aspect-ratio: 16/10; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-enabled [data-reveal] { opacity: 1; transform: none; }
  .button::before, .button > span[aria-hidden]::before, .button > span[aria-hidden]::after { transition: none; }
}

/* Claude QA 2026-10-21: ラベルの「社員」孤立を防ぐ */
.hero-label{text-wrap:balance}

/* 書体B: 大見出しは Dela Gothic One（ウェイト1種）、数字・英字は Anton、本文は Noto Sans JP */
.job-hero h1, .section-heading h2, .simple-page h1, .footer-lead { font-family: "Dela Gothic One", "Noto Sans JP", sans-serif; font-weight: 400; letter-spacing: -.01em; }


/* A. 明るい基調: 数字セクションは白地に濃紺。濃い面は「一緒に働く仲間」とフッターだけ */
.numbers-section { background: var(--white); color: var(--navy); }
.numbers-section .eyebrow { color: var(--steel); }
/* B. FV の下端をゆるいカーブで白へつなぐ（人物と手前の小物はカーブより前に出す） */
/* 数字で見る（参考: 福利厚生ページの箱組み）: 紺の枠線の箱に、見出し・説明・大きな数字、右に線画イラスト。PC は幅の違う箱を組み合わせる */
.nb-grid { display: grid; gap: 14px; }
.nb-card { display: grid; grid-template-columns: minmax(0,1fr) 108px; align-items: center; gap: 12px; padding: 22px 16px 20px 20px; border: 2px solid var(--navy); border-radius: 6px; background: var(--white); }
.nb-label { margin: 0; font-size: 20px; font-weight: 900; line-height: 1.4; }
.nb-note { margin: 6px 0 0; font-size: 12px; line-height: 1.8; color: var(--steel); text-wrap: pretty; word-break: auto-phrase; }
.nb-value { display: flex; align-items: baseline; gap: 2px; margin: 12px 0 0; color: var(--navy); line-height: 1; white-space: nowrap; }
.nb-value strong { font-family: "Anton", sans-serif; font-size: 60px; font-weight: 400; letter-spacing: -.01em; }
.nb-prefix, .nb-unit { font-size: 18px; font-weight: 900; }
.nb-value .nb-word { font-family: "Dela Gothic One", "Noto Sans JP", sans-serif; font-size: 34px; font-weight: 400; }
.nb-img { display: block; width: 100%; height: auto; }
@media (min-width: 768px) {
  .nb-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
  .nb-card { grid-template-columns: minmax(0,1fr) 120px; padding: 26px 22px 24px 26px; }
}
@media (min-width: 1024px) {
  .nb-grid { grid-template-columns: repeat(12,minmax(0,1fr)); gap: 20px; }
  .nb-card { grid-column: span 6; grid-template-columns: minmax(0,1fr) 150px; padding: 30px 28px 28px 32px; }
  .nb-card:nth-child(1), .nb-card:nth-child(4) { grid-column: span 7; grid-template-columns: minmax(0,1fr) 210px; }
  .nb-card:nth-child(2), .nb-card:nth-child(3) { grid-column: span 5; }
  .nb-label { font-size: 26px; }
  .nb-note { font-size: 13px; }
  .nb-value strong { font-size: 84px; }
  .nb-prefix, .nb-unit { font-size: 24px; }
  .nb-value .nb-word { font-size: 44px; }
}

/* ヘッダー（参考 recruit.toyox.co.jp）: 帯を敷かず、白いカプセルが浮く。スマホ=ロゴ＋丸いメニューボタン、PC=ロゴ／メニュー／応募の3つのカプセル */
:root { --header: 76px; --pill-line: rgba(0,180,237,.55); --cta-grad: linear-gradient(-143deg, #12C4E6 0%, #0072BC 90%); --cta-grad-hover: linear-gradient(-143deg, #0072BC 0%, #12C4E6 90%); }
.site-header { position: fixed; top: 12px; left: 8px; right: 8px; z-index: 40; pointer-events: none; }
.header-inner { pointer-events: auto; display: flex; align-items: center; gap: 10px; height: 54px; padding: 6px 7px 6px 20px; background: var(--white); border: 1px solid var(--pill-line); border-radius: 40px; color: var(--navy); min-width: 0; }
.brand { display: flex; align-items: baseline; gap: 10px; min-height: 40px; align-items: center; flex-shrink: 0; color: var(--navy); }
.brand strong { font-size: 18px; font-weight: 900; line-height: 1; letter-spacing: .1em; }
.brand span { font-size: 10px; font-weight: 500; letter-spacing: .2em; }
.desktop-nav { display: none; }
.header-cta { display: none; }
.menu-toggle { position: relative; width: 40px; height: 40px; margin-left: auto; flex-shrink: 0; border: 0; border-radius: 50%; background: var(--navy); cursor: pointer; }
.menu-toggle span, .menu-close span { position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; border-radius: 2px; background: var(--white); }
.menu-toggle span:nth-child(1) { transform: translate(-50%, -7px); }
.menu-toggle span:nth-child(2) { transform: translate(-50%, -1px); }
.menu-toggle span:nth-child(3) { transform: translate(-50%, 5px); }
.mobile-menu { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; padding: 0; border: 0; margin: 0; background: var(--navy); color: var(--white); }
.mobile-menu[open] { animation: menu-in .6s cubic-bezier(.19, 1, .22, 1); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
.mobile-menu::backdrop { background: rgba(4,18,31,.4); }
.menu-panel { min-height: 100%; padding: 12px 8px 40px; }
.menu-head { display: flex; align-items: center; height: 54px; padding: 6px 7px 6px 20px; background: var(--white); border: 1px solid var(--pill-line); border-radius: 40px; }
.menu-close { position: relative; width: 40px; height: 40px; margin-left: auto; border: 0; border-radius: 50%; background: var(--navy); cursor: pointer; }
.menu-close span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.menu-close span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }
.mobile-menu nav { padding: 48px 12px 0; }
.menu-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; list-style: none; }
.menu-list a { display: flex; align-items: center; gap: 10px; min-height: 48px; font-size: 15px; font-weight: 700; color: var(--white); }
.menu-list a::before { content: ""; width: 10px; height: 2px; border-radius: 2px; background: var(--cyan); flex-shrink: 0; }
.menu-actions { display: grid; gap: 14px; margin-top: 40px; }
.menu-pill { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px 20px; border-radius: 26px; font-size: 16px; font-weight: 900; color: var(--white); }
.menu-apply { background: var(--cta-grad); }
.menu-tel { border: 1px solid rgba(255,255,255,.6); }
.page-thanks main, .page-privacy main { padding-top: 96px; }
@media (min-width: 768px) {
  .header-cta { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 18px; border-radius: 26px; background: var(--cta-grad); color: var(--white); font-size: 14px; font-weight: 900; }
  .menu-toggle { margin-left: 0; }
  .header-inner .header-cta { margin-left: auto; }
}
@media (min-width: 1100px) {
  :root { --header: 96px; }
  .site-header { top: 20px; left: 24px; right: 24px; }
  .header-inner { height: auto; padding: 0; background: none; border: 0; border-radius: 0; gap: 12px; pointer-events: none; }
  .header-inner > * { pointer-events: auto; }
  .brand { height: 52px; padding: 0 24px; background: var(--white); border: 1px solid var(--pill-line); border-radius: 40px; gap: 14px; }
  .brand strong { font-size: 22px; }
  .brand span { font-size: 11px; }
  .desktop-nav { display: flex; align-items: center; margin-left: auto; padding: 0 6px; height: 52px; background: var(--white); border: 1px solid var(--pill-line); border-radius: 40px; }
  .desktop-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; font-size: 15px; font-weight: 700; color: var(--navy); }
  .desktop-nav a + a::before { content: ""; position: absolute; left: -1px; top: 50%; width: 2px; height: 10px; margin-top: -5px; border-radius: 2px; background: var(--cyan); }
  .desktop-nav a:hover { color: #0072BC; }
  .header-inner .header-cta { margin-left: 0; height: 52px; padding: 0 28px; font-size: 16px; }
  .header-cta:hover { background: var(--cta-grad-hover); }
  .menu-toggle { display: none !important; }
}

/* FV（参考 recruit.toyox.co.jp）: HP 実写のスライド4枚＋右上がりの文字組み＋文字の間を縫う白い線。
   スマホは写真を上 600px に収め、下の応募ボタン・数字は濃紺の地。PC は左に人物、右に文字・ボタン・数字 */
.job-hero { background: var(--navy); color: var(--white); }
.fv-slides { position: absolute; inset: 0 0 auto; height: 600px; z-index: 0; overflow: hidden; }
.fv-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.5s ease; overflow: hidden; }
.fv-slide.is-active { opacity: 1; }
.fv-slide picture { display: block; width: 100%; height: 100%; border-radius: 0; }
.fv-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform 8s ease-in-out; }
.fv-slide.is-active img { transform: scale(1.06); }
.fv-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(2,50,79,.05) 0%, rgba(2,50,79,.2) 45%, rgba(2,50,79,.75) 80%, #02324F 100%); }
.fv-label { position: absolute; z-index: 4; top: 78px; left: 16px; width: fit-content; max-width: calc(100% - 32px); margin: 0; padding: 6px 14px; border-radius: 20px; background: rgba(2,50,79,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--white); font-size: 11px; font-weight: 700; line-height: 1.5; }
.fv-copy { position: relative; z-index: 3; padding: 290px 20px 76px; }
.fv-copy .hero-primary, .fv-copy .hero-chips { position: relative; z-index: 5; }
.fv-copy .hero-primary { margin-top: 0; max-width: 440px; }
.fv-copy .hero-chips { margin-top: 18px; max-width: 460px; }
/* 文字組み: 全体を右上がりに傾け、3段の大きさと位置をずらす。線は h1 の中に置き、段ごとの重なり順で文字の手前と奥を縫う */
.job-hero .lt { position: relative; z-index: 3; margin: 14px 0 18px 6px; color: var(--white); font-family: "Dela Gothic One", "Noto Sans JP", sans-serif; font-weight: 400; line-height: 1; letter-spacing: 0; transform: rotate(-9deg); transform-origin: left center; --u: .6px; }
.lt-row { position: relative; display: flex; align-items: flex-end; white-space: nowrap; }
.lt-row > span { display: inline-block; }
/* “ ” は単語に重ねず少し離し、薄いグレーで単語を立たせる */
.lt .q { font-size: calc(64 * var(--u)); margin: 0 calc(4 * var(--u)) 0 0; align-self: flex-start; color: #D3D9DF; }
.lt .w + .q { margin: 0 0 0 calc(4 * var(--u)); }
.lt .w { font-size: calc(92 * var(--u)); letter-spacing: -.04em; transition: opacity .5s, transform .5s; }
.lt .w.is-out { opacity: 0; transform: translateY(calc(16 * var(--u))); }
.lt .s { font-size: calc(42 * var(--u)); margin-left: calc(6 * var(--u)); }
.lt .m { font-size: calc(58 * var(--u)); }
.lt .b { font-size: calc(124 * var(--u)); letter-spacing: -.05em; }
.lt .r1 { z-index: 1; }
.lt .r2 { z-index: 3; margin-left: calc(96 * var(--u)); margin-top: calc(10 * var(--u)); }
.lt .r3 { z-index: 3; margin-left: calc(160 * var(--u)); margin-top: calc(4 * var(--u)); }
.lt-line { position: absolute; z-index: 2; left: calc(-900 * var(--u)); top: calc(70 * var(--u)); width: calc(2400 * var(--u)); height: calc(440 * var(--u)); pointer-events: none; overflow: visible; }
.lt-line path { fill: none; stroke: var(--white); stroke-linecap: round; }
.reveal { animation: lt-wipe 1.6s cubic-bezier(.19,1,.22,1) .2s both; }
@keyframes lt-wipe { from { clip-path: inset(-60% 100% -60% -60%); } to { clip-path: inset(-60% -60% -60% -60%); } }
@media (min-width: 768px) {
  .job-hero { min-height: 800px; }
  .fv-slides { inset: 0; height: auto; }
  .fv-shade { background: linear-gradient(90deg, rgba(2,50,79,0) 25%, rgba(2,50,79,.35) 55%, rgba(2,50,79,.78) 100%); }
  .fv-label { top: 88px; left: 24px; padding: 7px 18px; font-size: 13px; }
  .fv-copy { position: absolute; top: 150px; right: max(32px, calc((100vw - 1200px) / 2)); width: 460px; padding: 0; }
  .job-hero .lt { --u: .7px; margin: 10px 0 40px 20px; }
  .lt .r2 { margin-left: calc(150 * var(--u)); }
  .lt .r3 { margin-left: calc(250 * var(--u)); }
  .fv-copy .hero-chips { margin-top: 26px; }
}
@media (min-width: 1100px) {
  .job-hero { min-height: 860px; }
  .fv-copy { top: 140px; width: 660px; }
  .job-hero .lt { --u: 1.01px; margin: 10px 0 44px 20px; }
}
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; } .fv-slide img, .fv-slide.is-active img { transform: none; } }

/* FV の下端（参考 recruit.toyox.co.jp）: 右上がりの白い波の上に、シアンの細い波がのぞく二重の波。キャッチの白い線と向きをそろえる */
.job-hero.hero::after { content: ""; position: absolute; z-index: 2; top: auto; left: 0; right: 0; bottom: -1px; height: 56px; border-radius: 0; background: no-repeat center bottom / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 84C470 50 980 10 1440 2V120H0Z' fill='%2300B4ED'/%3E%3Cpath d='M0 106C480 74 990 34 1440 24V120H0Z' fill='%23fff'/%3E%3C/svg%3E"); pointer-events: none; }
@media (min-width: 768px) { .job-hero.hero::after { height: 112px; } }
/* スマホでは白い線の下側（応募ボタンの左下に出る端）を消す */
@media (max-width: 767px) { .job-hero .lt-line { -webkit-mask-image: linear-gradient(180deg, #000 0, #000 58%, transparent 66%); mask-image: linear-gradient(180deg, #000 0, #000 58%, transparent 66%); } }

/* FV の数字3つ: 白い丸バッジ（シアンの縁取り、真ん中に大きな数字、下に単位） */
.fv-copy .hero-chips { display: flex; justify-content: space-between; gap: 8px; max-width: 360px; margin-top: 18px; border: 0; }
.fv-copy .hero-chip { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; width: min(104px, calc((100% - 16px) / 3)); aspect-ratio: 1; padding: 0; border: 3px solid var(--cyan); border-radius: 50%; background: var(--white); color: var(--navy); text-align: center; }
.fv-copy .hero-chip + .hero-chip { border-left: 3px solid var(--cyan); }
.fv-copy .hero-chip > span { font-size: 11px; font-weight: 700; line-height: 1.4; }
.fv-copy .hero-chip p { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 0; line-height: 1; }
.fv-copy .hero-chip strong { font-size: 34px; line-height: 1; }
.fv-copy .hero-chip p span { font-size: 11px; font-weight: 900; }
@media (min-width: 768px) {
  /* PC: 応募ボタンと数字の丸を、右上がりのキャッチの中心にそろえて中央寄せ（左寄せだとキャッチの重心とずれる） */
  .fv-copy .hero-primary { margin-inline: auto; }
  .fv-copy .hero-chips { justify-content: center; gap: 20px; max-width: none; margin-top: 28px; }
  .fv-copy .hero-chip { width: 120px; }
  .fv-copy .hero-chip > span { font-size: 12px; }
  .fv-copy .hero-chip strong { font-size: 40px; }
  .fv-copy .hero-chip p span { font-size: 12px; }
}

/* 仕事内容を FV の直後に置く: FV 下の波（白）とつなぐので、左上の斜めの切り欠きは出さない */
#work.angled::before { display: none; }

/* 仕事内容の横スライド: 写真いっぱい＋文字を重ねたカード（試作 B）に、4本の進み具合バーと自動送り（試作 D）を足したもの */
.work-slider { margin-top: 8px; }
.work-seg { display: flex; gap: 6px; margin: 0 20px 16px; }
.work-seg span { flex: 1; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.work-seg i { display: block; width: 0; height: 100%; background: var(--cyan); }
.work-seg i.is-done { width: 100%; }
.work-seg i.is-run { animation: work-fill 3s linear forwards; }
@keyframes work-fill { to { width: 100%; } }
.work-track { display: flex; gap: 16px; margin: 0; padding: 0 20px 4px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; overscroll-behavior-x: contain; scrollbar-width: none; }
.work-track::-webkit-scrollbar { display: none; }
.work-slide { position: relative; flex: 0 0 82%; aspect-ratio: 4/5; overflow: hidden; border-radius: 10px; color: var(--white); scroll-snap-align: start; }
.work-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,50,79,0) 35%, rgba(2,50,79,.92)); }
.work-photo, .work-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.work-num { position: absolute; z-index: 1; top: 14px; left: 18px; font-family: "Anton", sans-serif; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--white); }
.work-text { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 22px; }
.work-text h3 { margin: 0; font-size: 20px; font-weight: 900; line-height: 1.5; word-break: auto-phrase; text-wrap: balance; }
.work-text p { margin: 8px 0 0; color: rgba(255,255,255,.88); font-size: 14px; line-height: 1.8; }
.work-ctrl { display: flex; align-items: center; gap: 14px; margin: 24px 20px 0; }
.work-count { margin: 0; font-family: "Anton", sans-serif; font-size: 15px; letter-spacing: .06em; }
.work-count b { color: #0072BC; font-size: 24px; font-weight: 400; }
.work-pause { position: relative; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--steel); cursor: pointer; }
.work-pause::before, .work-pause::after { content: ""; position: absolute; top: 15px; width: 4px; height: 14px; border-radius: 1px; background: currentColor; }
.work-pause::before { left: 16px; }
.work-pause::after { left: 24px; }
.work-slider.is-paused .work-pause::before { left: 17px; width: 0; height: 0; border-radius: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; background: none; }
.work-slider.is-paused .work-pause::after { display: none; }
.work-slider.is-static .work-pause { display: none; }
.work-arrows { display: flex; gap: 10px; margin-left: auto; }
.work-arrow { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 2px solid #0072BC; border-radius: 50%; background: var(--white); color: #0072BC; cursor: pointer; transition: background .3s, color .3s, opacity .3s; }
.work-arrow svg { width: 18px; height: 18px; }
.work-arrow:disabled { opacity: .3; cursor: default; }
@media (any-hover: hover) { .work-arrow:not(:disabled):hover { background: #0072BC; color: var(--white); } }
@media (min-width: 768px) {
  .work-seg, .work-ctrl { width: min(1160px, 100% - 80px); margin-inline: auto; }
  .work-track { gap: 24px; padding-inline: max(40px, (100% - 1160px) / 2); scroll-padding-inline: max(40px, (100% - 1160px) / 2); }
  .work-slide { flex-basis: 44%; }
}
/* PC（1024px以上）は4枚を横に並べて全部見せる。スライド・自動送り・進み具合の線・操作部品はなし（script.js も止める） */
@media (min-width: 1024px) {
  .work-track { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; width: min(1160px, 100% - 80px); margin-inline: auto; padding: 0; overflow: visible; scroll-snap-type: none; }
  .work-slide { aspect-ratio: 3/4; }
  .work-num { font-size: 56px; }
  .work-text { left: 18px; right: 18px; bottom: 20px; }
  .work-text h3 { font-size: 18px; }
  .work-text p { font-size: 13px; }
  .work-seg, .work-ctrl { display: none; }
}
/* 選考の流れ: 768px 以上は丸と線画を大きく、PC は4つを横に並べて丸を点線でつなぐ */
@media (min-width: 768px) {
  .selection-flow { max-width: 760px; }
  .selection-flow li { grid-template-columns: 84px 96px minmax(0,1fr); column-gap: 24px; padding: 28px 0; }
  .selection-flow li + li::before { left: 108px; }
  .selection-flow::before { left: 39px; top: 70px; bottom: 70px; }
  .selection-flow.steps-ready::after { left: 40px; }
  .step-badge { width: 84px; height: 84px; }
  .step-badge span { font-size: 14px; }
  .step-badge b { font-size: 34px; }
  .step-icon svg { width: 96px; height: 96px; }
  .step-text h3 { font-size: 20px; }
  .step-text p { font-size: 14px; }
}
@media (min-width: 1024px) {
  .selection-flow { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px; max-width: none; }
  .selection-flow li { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 0; text-align: center; }
  .selection-flow li + li::before { display: none; }
  .selection-flow::before { left: 12.5%; right: 12.5%; top: 39px; bottom: auto; width: auto; height: 6px; background: radial-gradient(circle, #0072BC 2.2px, transparent 2.8px) left center / 11px 6px repeat-x; }
  /* PC は画面に入ったら左から順に。線は時間でのばし、丸・線画・文字は 0.45 秒ずつ遅らせる */
  .selection-flow.steps-ready::after { left: 12.5%; top: 40px; width: calc(75% * var(--fill, 0)); height: 4px; transition: width 1.4s cubic-bezier(.45,0,.55,1); }
  .steps-ready.is-played li:nth-child(2) > * { transition-delay: .45s; }
  .steps-ready.is-played li:nth-child(3) > * { transition-delay: .9s; }
  .steps-ready.is-played li:nth-child(4) > * { transition-delay: 1.35s; }
  .steps-ready.is-played li .step-text { transition-delay: calc(var(--d, 0s) + .12s); }
  .steps-ready.is-played li:nth-child(2) { --d: .45s; }
  .steps-ready.is-played li:nth-child(3) { --d: .9s; }
  .steps-ready.is-played li:nth-child(4) { --d: 1.35s; }
}
/* PC は3枚が収まるのでスクロールなしの3列。進み具合の線と案内は隠す */
@media (min-width: 1024px) { .people-scroll { margin-inline: 0; } .people-track { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; padding: 4px 0 0; overflow: visible; } .people-foot { display: none; } }
