/* Inc / Recruit only: 12-column composition, 8px spacing cadence. */
.site:is(.inc,.recruit){
  --gap:clamp(24px,4.5cqw,72px);--max:1296px;--column-gap:clamp(20px,2.2cqw,32px);
  --paper:#fbfbf9;--line:#d7d9d2;
  position:relative;isolation:isolate;
}
.site.recruit{background:var(--paper)}
:is(.inc,.recruit) .container{max-width:calc(var(--max) + var(--gap)*2);padding-inline:var(--gap);width:100%}
.inc main>.container{max-width:1800px}
.inc .site-header.container{max-width:none;padding-inline:max(var(--gap),calc((100vw - var(--max))/2))}
.inc .site-header.container{max-width:1800px;padding-inline:var(--gap);background:#fbfbf9ed}
.site.recruit .site-header.container{background:transparent}
:is(.inc,.recruit) main>.section,
:is(.inc,.recruit) main>.deck-section{position:relative;padding-block:clamp(72px,8.9cqw,128px);background:#fbfbf9ed}
:is(.inc,.recruit) main>.section:before,
:is(.inc,.recruit) main>.deck-section:before{content:'';position:absolute;top:0;left:var(--gap);right:var(--gap);border-top:1px solid var(--line)}
:is(.inc,.recruit) .split,:is(.inc,.recruit) .job-layout{grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--column-gap);row-gap:40px}
:is(.inc,.recruit) .split> :first-child,:is(.inc,.recruit) .job-layout> :first-child{grid-column:1/4;min-width:0}
:is(.inc,.recruit) .split> :nth-child(2),:is(.inc,.recruit) .job-layout> :nth-child(2){grid-column:5/-1;min-width:0}
:is(.inc,.recruit) .section-label h2{font-size:clamp(30px,3.25cqw,46px);line-height:1.12;letter-spacing:-.035em;text-wrap:initial}
:is(.inc,.recruit) .section-label p{font-size:12px;line-height:1.75;margin-top:16px;letter-spacing:.08em}
:is(.inc,.recruit) .lede{font-size:clamp(22px,2.1cqw,30px);line-height:1.65;letter-spacing:.015em;max-width:28em}
:is(.inc,.recruit) p{overflow-wrap:break-word}
:is(.inc,.recruit) .page-title{text-align:left;padding-block:64px 96px}
:is(.inc,.recruit) .page-title h1{font-size:clamp(48px,6cqw,84px);line-height:1.1}
:is(.inc,.recruit) .page-title p{font-size:14px;margin-top:24px}
:is(.inc,.recruit) .detail-body{max-width:740px}
:is(.inc,.recruit) .detail-body p{line-height:2.1}
:is(.inc,.recruit) .business-intro{text-align:left;max-width:856px;margin:0 0 96px auto}
:is(.inc,.recruit) .business-intro p{margin-left:0;max-width:40em;line-height:2.1}
:is(.inc,.recruit) .business-intro h2{font-size:clamp(28px,3.2cqw,44px);line-height:1.55}
.inc .hero-inc.container{min-height:clamp(560px,calc(var(--vh) - 100px),840px);padding-top:clamp(96px,12cqw,168px);padding-bottom:112px}
.inc .hero-inc h1{margin:0;width:min(646px,66%)}
.inc .hero-inc-tagline{width:max-content;max-width:100%;margin-top:40px;white-space:nowrap}
.inc main>.vision-inc{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:var(--column-gap);background:linear-gradient(#fbfbf900,#fbfbf9ed);padding-block:96px 144px}
.inc main>.vision-inc:before{display:none}
.inc .vision-inc-inner{grid-column:5/-1;width:auto;display:grid;gap:40px}
.inc .vision-kicker{font:13px/1.5 var(--mono);letter-spacing:.1em}
.inc .vision-inc-copy{gap:32px}
.inc .vision-inc-copy h2{font-size:clamp(32px,3.3cqw,48px);letter-spacing:.045em;line-height:1.5}
.inc .vision-inc-copy p{font-size:15px;line-height:2.25;max-width:40em}
.inc .vision-inc-copy p br{display:none}
.inc a.business-row,.inc .business-list.full a.business-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 24px;gap:24px;padding:40px 0;background:transparent;margin:0;border-top:1px solid var(--line);transform:none}
.inc a.business-row:last-child{border-bottom:1px solid var(--line)}
.inc a.business-row h3{font-size:clamp(26px,2.4cqw,34px);line-height:1.2;margin:16px 0 24px}
.inc a.business-row p{font-size:14px;line-height:2}
.inc a.business-row img{align-self:start}
.inc .news-row{grid-template-columns:144px minmax(0,1fr) 24px;gap:24px;padding-block:28px}
.inc .news-row img{width:144px}
.inc .news-row h3{font-size:15px;line-height:1.9}
/* Inc renewal uses flex news-row in .inc-news / .inc-news-archive — prefer those. */
.site.inc :is(.inc-news, .inc-news-archive) .news-row{grid-template-columns:unset}
.inc .recruit-banner{
  max-width:none;
  margin:64px 10px 0;
  padding:clamp(32px,5cqw,72px) calc(max(var(--gap),calc((100cqw - 1800px)/2 + var(--gap))) - 10px);
}
:is(.inc,.recruit) .deck-section{max-width:calc(var(--max) + var(--gap)*2);display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px var(--column-gap)}
:is(.inc,.recruit) .deck-section .section-label{grid-column:1/4;text-align:left;margin:0}
:is(.inc,.recruit) #deck-view,:is(.inc,.recruit) .deck-caption{grid-column:5/-1;min-width:0}
/*
 * Recruit sections use the viewport-wide element as their outer frame.
 * Responsive inline gutters keep the existing --max content width without
 * adding route-specific wrapper markup.
 */
.recruit main>.container{
  width:100%;
  max-width:none;
  margin-inline:0;
  padding-inline:max(var(--gap),calc((100% - var(--max))/2));
}
.recruit main>.section:before,
.recruit main>.deck-section:before{left:0;right:0}
.recruit #deck-view{width:100%;max-width:100%}
.recruit .deck-player{width:100%;max-width:100%;height:auto;aspect-ratio:16/9}
.recruit .recruit-hero{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--column-gap);text-align:left;padding-block:80px 128px}
.recruit .recruit-hero>.eyebrow{grid-column:1/-1;margin-bottom:40px}
.recruit .recruit-hero h1{grid-column:1/9;margin:0 0 72px}
.recruit .recruit-title-art{width:min(640px,100%);margin:0}
.recruit .recruit-hero h2{grid-column:1/10;font-size:clamp(32px,4.25cqw,60px);line-height:1.6;letter-spacing:.01em;margin:0 0 64px}
.recruit .recruit-hero .message{grid-column:5/-1;width:100%;max-width:40em;margin:0;font-size:15px;line-height:2.2}
.recruit .recruit-hero .message p{text-wrap:pretty;max-width:37em}
.recruit .recruit-hero .message p+p{margin-top:32px}
.recruit .recruit-hero .hero-actions{grid-column:5/-1;justify-content:flex-start;margin-top:40px}
.recruit #process .lede{font-size:clamp(20px,1.75cqw,26px);line-height:1.55}
.recruit #process .recruit-timeline{margin:20px 0 0}
.recruit #process .process-stage{padding-left:40px;padding-bottom:8px}
.recruit #process .process-content{background:transparent;border-bottom:1px solid var(--line);padding:10px 0 18px}
.recruit #process .process-meta{margin-bottom:0}
.recruit #process .process-number{font-size:10px}
.recruit #process .process-node{top:12px;width:15px;height:15px;border-radius:0}
.recruit #process .process-stage:before{top:14px;bottom:-9px}
.recruit #process .process-stage h3{font-size:20px;font-weight:500;line-height:1.45;margin:7px 0 5px}
.recruit #process .process-stage p{font-size:13px;line-height:1.8}
.recruit .job-item{background:transparent}
.recruit .job-item summary{padding:28px 48px 28px 0}
.recruit .job-item .job-detail{padding-left:0}
.recruit .job-item h3{
  font-size:18px;
  font-weight:500;
  line-height:1.7;
  text-wrap:pretty;
  word-break:keep-all;
  line-break:strict;
  overflow-wrap:break-word;
}
.recruit .faq-list details{background:transparent;margin:0;border-top:1px solid var(--line)}
.recruit .faq-list details:last-child{border-bottom:1px solid var(--line)}
.recruit .faq-list summary{padding:28px 48px 28px 0}
.recruit .faq-list .answer{padding:0;line-height:2}
:is(.inc,.recruit) .site-footer{background:#fbfbf9}
/* Recruit footer — Figma 115:42046 (desktop values synced to Group .group-footer) */
.site.recruit>.site-footer.container{
  max-width:none;
  padding:64px 60px clamp(24px,2cqw,40px);
  background:#141414;
  color:#fff;
}
.recruit>.site-footer .footer-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  column-gap:24px;
  row-gap:64px;
}
.recruit>.site-footer .footer-column{
  gap:15px;
  font-size:14px;
  font-weight:500;
  line-height:1;
}
.recruit>.site-footer .footer-column strong{
  min-height:18px;
  margin-bottom:15px;
  color:#c9caca;
  font-size:18px;
  font-weight:500;
  line-height:1;
  letter-spacing:0;
  opacity:1;
}
.recruit>.site-footer .footer-column a,
.recruit>.site-footer .footer-column .footer-plain{
  min-height:auto;
  color:#fff;
  font-size:14px;
  font-weight:500;
  line-height:1;
}
.recruit>.site-footer .footer-column a:hover{
  text-decoration:underline;
  text-underline-offset:4px;
}
.recruit>.site-footer .footer-bottom{
  gap:24px;
  margin-top:80px;
  color:#fff;
}
.recruit>.site-footer .footer-bottom small,
.recruit>.site-footer .footer-copy{
  color:#fff;
  font-family:var(--sans);
  font-size:12px;
  font-weight:500;
  line-height:1;
  opacity:.7;
}
/* SiteFooter.astro はロゴを .brand ではなく .footer-home で包むため、両方に当てる（.brand だけだと白抜きの filter が効かず黒いロゴのままになる） */
.recruit>.site-footer .footer-bottom :is(.brand,.footer-home) img{
  width:min(371px,32cqw);
  filter:brightness(0) invert(1);
}
@media(min-width:761px) and (max-width:1100px){
  :is(.inc,.recruit) .split> :nth-child(2),:is(.inc,.recruit) .job-layout> :nth-child(2),:is(.inc,.recruit) #deck-view,:is(.inc,.recruit) .deck-caption{grid-column:4/-1}
  :is(.inc,.recruit) .section-label h2{font-size:30px}
  .site.recruit>.site-footer.container{padding-inline:var(--gap)}
  .recruit>.site-footer .footer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    row-gap:40px;
    column-gap:24px;
  }
  .recruit>.site-footer .footer-column-legal{grid-column:1 / -1}
}
@media(max-width:760px){
  :is(.inc,.recruit) .split,:is(.inc,.recruit) .job-layout,:is(.inc,.recruit) .deck-section{grid-template-columns:minmax(0,1fr);gap:32px}
  :is(.inc,.recruit) .split> :first-child,:is(.inc,.recruit) .split> :nth-child(2),:is(.inc,.recruit) .job-layout> :first-child,:is(.inc,.recruit) .job-layout> :nth-child(2),:is(.inc,.recruit) .deck-section .section-label,:is(.inc,.recruit) #deck-view,:is(.inc,.recruit) .deck-caption{grid-column:1}
  :is(.inc,.recruit) main>.section,:is(.inc,.recruit) main>.deck-section{padding-block:64px}
  :is(.inc,.recruit) .section-label h2{font-size:34px}
  :is(.inc,.recruit) .page-title{padding-block:40px 64px}
  :is(.inc,.recruit) .page-title h1{font-size:44px;overflow-wrap:anywhere}
  :is(.inc,.recruit) .business-intro{margin-bottom:56px}
  .inc .hero-inc.container{min-height:540px;padding-block:104px 96px}
  .inc .hero-inc h1{width:100%}
  .inc .hero-inc-tagline{width:max-content;max-width:100%;margin-top:32px}
  .inc main>.vision-inc{display:block;padding-block:48px 80px}
  .inc .vision-inc-inner{gap:24px}
  .inc .vision-inc-copy{gap:24px}
  .inc .vision-inc-copy h2{font-size:30px}
  .inc .vision-inc-copy p{font-size:14px;line-height:2.2}
  .inc a.business-row,.inc .business-list.full a.business-row{grid-template-columns:minmax(0,1fr) 24px;gap:24px 16px;padding-block:32px}
  .inc a.business-row img{grid-column:1/-1;grid-row:1}
  .inc a.business-row h3{font-size:29px;margin-block:12px 20px}
  .inc .news-row{grid-template-columns:88px minmax(0,1fr) 16px;gap:16px}
  .inc .news-row img{width:88px}
  .inc .news-row h3{font-size:13px;line-height:1.85}
  .recruit .recruit-hero{grid-template-columns:repeat(4,minmax(0,1fr));padding-block:56px 80px}
  .recruit .recruit-hero>.eyebrow{margin-bottom:32px;font-size:10px}
  .recruit .recruit-hero h1,.recruit .recruit-hero h2,.recruit .recruit-hero .message,.recruit .recruit-hero .hero-actions{grid-column:1/-1}
  .recruit .recruit-hero h1{margin-bottom:48px}
  .recruit .recruit-hero h2{font-size:clamp(26px,6.8cqw,40px);margin-bottom:40px;line-height:1.65}
  .recruit .recruit-hero .message{font-size:14px;line-height:2.15}
  .recruit .recruit-hero .hero-actions{align-items:flex-start}
  .recruit .job-item h3{font-size:16px}
  .recruit .faq-list .answer{padding:0}
  :is(.inc,.recruit) .deck-caption{margin-top:0;flex-wrap:wrap;gap:8px}
  /* Recruit footer mobile — match Group (Figma 346:7214) */
  .site.recruit>.site-footer.container{padding:75px var(--gap)}
  .recruit>.site-footer .footer-grid{grid-template-columns:1fr;row-gap:50px;column-gap:24px}
  .recruit>.site-footer .footer-column{font-size:14px}
  .recruit>.site-footer .footer-column strong{font-size:14px;margin-bottom:15px;min-height:14px}
  .recruit>.site-footer .footer-column a,
  .recruit>.site-footer .footer-column-legal a{min-height:auto}
  .recruit>.site-footer .footer-column-legal a,
  .recruit>.site-footer .footer-column-legal .footer-plain{font-size:14px}
  .recruit>.site-footer .footer-bottom{flex-direction:column-reverse;align-items:flex-start;gap:30px;margin-top:60px}
  .recruit>.site-footer .footer-bottom small,
  .recruit>.site-footer .footer-copy{font-size:13px}
  .recruit>.site-footer .footer-bottom :is(.brand,.footer-home){
    display:block;
    width:100%;
    max-width:100%;
  }
  .recruit>.site-footer .footer-bottom :is(.brand,.footer-home) img{
    display:block;
    width:100%;
    max-width:100%;
    height:auto;
  }
}
/* Anchor destinations stay below the persistent masthead. */
html:has(.site.inc,.site.recruit){scroll-padding-top:calc(var(--header-height) + 24px)}
.recruit .job-filters{top:calc(var(--header-height) + 24px)}
@media(max-width:760px){.recruit .job-filters{position:static}}
.inc #news{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:32px var(--column-gap)}
.inc #news>.section-label{grid-column:1/4}
.inc #news>.news-list,.inc #news>.news-footer{grid-column:5/-1}
.inc #news>.news-footer{margin-top:0}
@media(max-width:1100px) and (min-width:761px){.inc #news>.news-list,.inc #news>.news-footer{grid-column:4/-1}}
@media(max-width:760px){.inc #news{grid-template-columns:minmax(0,1fr)}.inc #news>.section-label,.inc #news>.news-list,.inc #news>.news-footer{grid-column:1}}
/* Recruit hero — centered on the supplied Figma reference (242:5832). */
.recruit .recruit-hero{display:flex;flex-direction:column;align-items:center;text-align:center;padding-block:clamp(80px,9cqw,128px)}
.recruit .recruit-hero>.recruit-kicker{font:600 16px/1.6 var(--sans);letter-spacing:0;color:var(--ink);margin-bottom:48px}
.recruit .recruit-hero h1{width:min(474px,100%);margin:0 0 56px}
.recruit .recruit-title-art{width:100%;margin-inline:auto}
.recruit .recruit-hero h2{font-size:clamp(28px,2.75cqw,36px);line-height:1.65;margin:0 0 40px}
.recruit .recruit-hero .message{max-width:640px;margin-inline:auto;text-align:center;font-size:14px;line-height:2.3}
.recruit .recruit-hero .message p{max-width:none;text-wrap:pretty}
.recruit .recruit-hero .message p+p{margin-top:24px}
.recruit .recruit-hero .hero-actions{justify-content:center;align-items:center;margin-top:32px}
.recruit .role-buttons{display:flex;flex-direction:column;gap:6px}
.recruit .job-filters .role-filter{width:100%;padding:8px 12px;min-height:40px;text-align:left;display:flex;align-items:center;justify-content:flex-start;line-height:1.5}
:is(.inc,.recruit) .deck-player{display:block}
@media(max-width:760px){
  .recruit .recruit-hero{padding-block:72px 80px}
  .recruit .recruit-hero>.recruit-kicker{font-size:14px;margin-bottom:32px}
  .recruit .recruit-hero h1{margin-bottom:40px}
  .recruit .recruit-hero h2{font-size:clamp(24px,6.5cqw,32px);margin-bottom:32px}
  .recruit .recruit-hero .message{font-size:14px;max-width:440px;text-align:center}
  .recruit .recruit-hero .hero-actions{width:100%;align-items:center}
  .recruit #process .lede{font-size:14px;line-height:1.6}
  .recruit #process .recruit-timeline{margin-top:18px}
  .recruit #process .process-stage{padding-left:30px;padding-bottom:8px}
  .recruit #process .process-content{padding:10px 0 16px}
  .recruit #process .process-number{font-size:9px}
  .recruit #process .process-node{top:12px;width:13px;height:13px}
  .recruit #process .process-stage:before{top:14px;bottom:-9px}
  .recruit #process .process-stage h3{font-size:16px;font-weight:500;line-height:1.5;margin:6px 0 4px}
  .recruit #process .process-stage p{font-size:13px;line-height:1.85}
  .recruit .job-filters>div{grid-column:1/-1}
}

/* Recruit positions: restrained grayscale feedback and responsive motion. */
.recruit #positions .job-item summary,
.recruit #positions .job-filters .role-filter{
  transition:background-color 125ms ease,color 125ms ease,border-color 125ms ease;
}
.recruit #positions #job-results{overflow-anchor:none}
.recruit #positions .job-detail{min-height:0;overflow:hidden;padding:0}
.recruit #positions .job-detail-inner{min-height:0;overflow:hidden;padding:0 0 32px}
.recruit #positions .job-detail-inner > p{
  font-size:14px;
  line-height:1.95;
  margin-bottom:20px;
}
.recruit #positions .job-detail-inner > p.job-detail-lead{
  font-size:16px;
  font-weight:500;
  color:#202420;
  margin-bottom:8px;
}
.recruit #positions .job-detail-body{
  padding-bottom:32px;
}
.recruit #positions .job-detail-body p{
  font-size:14px;
  line-height:1.8;
  color:rgba(32,36,32,.7);
  margin:0;
}
.recruit #positions .job-detail-body p + p{
  margin-top:20px;
}
.recruit #positions .job-detail-actions{
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  align-items:flex-start;
}
.recruit #positions .job-ai-menu{
  position:relative;
}
.recruit #positions .job-ai-toggle{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0;
  padding:8px 0;
  min-height:44px;
  min-width:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--ink);
  font-size:13px;
  line-height:1.5;
  text-decoration:underline;
  text-decoration-color:transparent;
  text-underline-offset:5px;
  cursor:pointer;
  transition:opacity 160ms ease-out,text-decoration-color 160ms ease-out,transform 160ms ease-out;
}
@media(hover:hover) and (pointer:fine){
  .recruit #positions .job-ai-toggle:hover{
    background:transparent;
    color:var(--ink);
    opacity:.72;
    text-decoration-color:currentColor;
  }
}
.recruit #positions .job-ai-toggle:active{
  transform:scale(.97);
}
.recruit #positions .job-ai-popover{
  position:absolute;
  bottom:calc(100% + 12px);
  left:0;
  z-index:25;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
  width:287px;
  max-width:min(287px,calc(100vw - 48px));
  padding:20px;
  background:#fff;
  border:1px solid #000;
  box-shadow:none;
}
.recruit #positions .job-ai-popover[hidden]{
  display:none;
}
.recruit #positions .job-ai-popover::before,
.recruit #positions .job-ai-popover::after{
  content:'';
  position:absolute;
  left:28px;
  border:9px solid transparent;
}
.recruit #positions .job-ai-popover::before{
  top:100%;
  border-top-color:#000;
}
.recruit #positions .job-ai-popover::after{
  top:calc(100% - 1px);
  border-top-color:#fff;
}
.recruit #positions .job-ai-popover-text{
  margin:0;
  width:100%;
  font-size:14px;
  font-weight:500;
  line-height:1.38;
  text-align:center;
  color:#202420;
  overflow-wrap:anywhere;
}
.recruit #positions .job-ai-providers{
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:center;
  gap:12px;
}
.recruit #positions .job-ai-provider{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:50px;
  height:50px;
  padding:0;
  border:1px solid #000;
  border-radius:50%;
  background:#fff;
  cursor:pointer;
  transition:background-color 125ms ease,opacity 125ms ease,transform 125ms ease;
}
@media(hover:hover) and (pointer:fine){
  .recruit #positions .job-ai-provider:hover{
    background:#f5f5f5;
  }
}
.recruit #positions .job-ai-provider:active{
  transform:scale(.97);
}
.recruit #positions .job-ai-icon{
  display:block;
  flex:0 0 auto;
  width:32px;
  height:32px;
  object-fit:contain;
}
.recruit #positions .job-ai-provider[data-ai-provider="gemini"] .job-ai-icon{
  width:28px;
  height:28px;
}
.recruit #positions .job-ai-menu.is-open .job-ai-toggle{
  background:transparent;
  color:var(--ink);
  opacity:1;
  text-decoration-color:currentColor;
}
.recruit #positions .job-detail:has(.job-ai-menu.is-open),
.recruit #positions .job-detail-inner:has(.job-ai-menu.is-open){
  overflow:visible;
}
@media(max-width:760px){
  .recruit #positions .job-detail-actions .pill{
    width:auto;
    max-width:100%;
  }
}
.recruit #positions .job-item[open] .job-detail-inner{
  animation:job-detail-enter 150ms ease-out;
  padding-left:80px;
}
@media(max-width:760px){
  .recruit #positions .job-item[open] .job-detail-inner{padding-left:16px}
}
@keyframes job-detail-enter{
  from{opacity:0;transform:translateY(-4px)}
  to{opacity:1;transform:none}
}
.recruit #positions #job-results{
  opacity:1;
  overflow-anchor:none;
  transition:opacity 150ms cubic-bezier(0.23,1,0.32,1);
}
.recruit #positions .job-item summary:hover{background:transparent;color:inherit}
.recruit #positions .job-filters .role-filter:hover{border-color:#bbc0b7}
.recruit #positions .job-filters .role-filter[aria-pressed=true]:hover{background:#202120;color:#fff;border-color:#202120}
@media(hover:hover) and (pointer:fine){
  .recruit #positions .job-item summary:hover{background:transparent;color:inherit}
  .recruit #positions .job-filters .role-filter:hover{background:#f1f1ef;color:#111;border-color:#555}
  .recruit #positions .job-filters .role-filter[aria-pressed=true]:hover{background:#333;color:#fff;border-color:#333}
}
@media(prefers-reduced-motion:reduce){
  .recruit #positions .job-item summary,
  .recruit #positions .job-filters .role-filter,
  .recruit #positions .job-item[open] .job-detail-inner{animation:none}
}


/* Recruit header: outline CTA on light surfaces, inverted treatment over Casual Talk.
   Height follows Inc nav-cta (48px / padding 10px 20px), not FAQ .nav-item 54px. */
.recruit .site-nav .nav-cta{
  border:1px solid var(--ink);
  background:transparent;
  color:var(--ink);
  min-height:48px;
  height:auto;
  padding:10px 20px;
  font-size:13px;
  font-weight:500;
  gap:30px;
  align-items:center;
  transition:transform 160ms ease-out,opacity 150ms ease,background-color 160ms ease-out,color 160ms ease-out,border-color 160ms ease-out;
}
/* Match Inc nav-cta copy stack (block + small margin-top), not FAQ gap:5px. */
.recruit .site-nav .nav-cta .nav-cta-copy{
  display:block;
}
.recruit .site-nav .nav-cta .nav-en{
  font-weight:500;
  line-height:1.3;
}
.recruit .site-nav .nav-cta .nav-ja{
  display:block;
  margin-top:3px;
  font-size:9px;
  font-weight:400;
  letter-spacing:.03em;
  color:inherit;
  opacity:.8;
  line-height:1.4;
}
.recruit .site-nav .nav-cta b{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:0;
  width:14px;
  height:14px;
}
.recruit .site-nav .nav-cta b .pixel-arrow{
  width:14px!important;
  height:14px!important;
}
.recruit .site-nav .nav-item .nav-en{font-weight:500}
.recruit .site-nav .nav-item .nav-ja{
  font-size:10px;
  font-weight:400;
  letter-spacing:.03em;
  color:var(--muted);
  line-height:1.4;
}
@media(hover:hover) and (pointer:fine){
  .recruit .site-nav .nav-cta:hover{
    opacity:.7;
    background:transparent;
    border-color:var(--ink);
    color:var(--ink);
  }
}

/* Recruit nav: opacity hover (no underline). */
.site.recruit .site-nav a:not(.nav-cta):after,
.site.recruit .site-nav .nav-item:after{
  display:none;
}
.site.recruit .site-nav a:not(.nav-cta),
.site.recruit .site-nav .nav-item{
  transition:opacity 150ms ease;
}
@media(hover:hover) and (pointer:fine){
  .site.recruit .site-nav a:not(.nav-cta):hover,
  .site.recruit .site-nav .nav-item:hover{
    opacity:.65;
  }
}
@media(prefers-reduced-motion:reduce){
  .site.recruit .site-nav a:not(.nav-cta),
  .site.recruit .site-nav .nav-item,
  .recruit .site-nav .nav-cta{
    transition:none;
  }
}

/* Let the Inc. page artwork continue behind every main content section. */
.site.inc main>.section,
.site.inc main>.deck-section{background:transparent}


/* Keep a continuous reading veil above the Inc. artwork, but below main content. */
.site.inc>main{
  position:relative;
  isolation:isolate;
}
.site.inc>main:before{
  content:'';
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(255,255,255,.78) 0%,rgba(255,255,255,.62) 34%,rgba(255,255,255,.2) 50%,rgba(255,255,255,.62) 66%,rgba(255,255,255,.78) 100%);
}
.site.inc>main>*{
  position:relative;
  z-index:1;
}
@media(max-width:760px){
  .site.inc>main:before{
    background:linear-gradient(90deg,rgba(255,255,255,.84) 0%,rgba(255,255,255,.7) 32%,rgba(255,255,255,.22) 50%,rgba(255,255,255,.7) 68%,rgba(255,255,255,.84) 100%);
  }
}

/* Recruit TOP — Figma 312:1911 (1440 artboard / 8-col 3:5 / 50px gutter) */
/* Beat #app .site gap tokens (same pattern as Group). */
#app .site.recruit,
.site.recruit{
  --gap:clamp(20px,3.47vw,50px);
  --max:1340px;
  --column-gap:clamp(16px,2.08vw,30px);
  --header-height:92px;
  --recruit-section-y:clamp(48px,5.2vw,75px);
  background:transparent;
}
@media(min-width:1600px){
  #app .site.recruit,
  .site.recruit{--gap:50px;--max:min(1600px,calc(100vw - 100px))}
}
@media(min-width:1920px){
  #app .site.recruit,
  .site.recruit{--max:1700px}
}
@media(min-width:2200px){
  #app .site.recruit,
  .site.recruit{--max:1800px}
}
.site.recruit .site-header.container{
  position:sticky;
  top:var(--review-height,0px);
  z-index:80;
  isolation:isolate;
  height:var(--header-height);
  /* Match main section content box: same max-width + inline gap (not 100vw). */
  max-width:calc(var(--max) + var(--gap)*2);
  width:100%;
  margin-inline:auto;
  padding-inline:var(--gap);
  background:transparent;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  border:0;
  box-shadow:none;
}
.site.recruit .site-nav a:is([aria-current],[aria-current=page],.active),
.site.recruit .site-nav .nav-item:is([aria-current],[aria-current=page],.active){
  color:inherit;
}
.site.recruit .site-nav a:is([aria-current],[aria-current=page],.active):after{
  transform:scaleX(0);
  width:0;
}
.site.recruit main>.container{
  width:100%;
  max-width:none;
  margin-inline:0;
  padding-inline:max(var(--gap),calc((100% - var(--max))/2));
}
.site.recruit main>.section,
.site.recruit main>.deck-section{
  padding-block:var(--recruit-section-y);
  background:transparent;
}
.site.recruit #positions{padding-bottom:80px}
.site.recruit #faq.faq-section{padding-bottom:120px}
.site.recruit main>.section:before,
.site.recruit main>.deck-section:before{display:none}
.site.recruit .split,
.site.recruit .job-layout,
.site.recruit .deck-section{
  display:grid;
  grid-template-columns:repeat(8,minmax(0,1fr));
  column-gap:var(--column-gap);
  row-gap:40px;
}
.site.recruit .split> :first-child,
.site.recruit .job-layout> :first-child,
.site.recruit .deck-section .section-label{
  grid-column:1/4;
  min-width:0;
}
.site.recruit .split> :nth-child(2),
.site.recruit .job-layout> :nth-child(2),
.site.recruit #deck-view,
.site.recruit .deck-caption{
  grid-column:4/-1;
  min-width:0;
}
.site.recruit .job-layout> :first-child{
  grid-column:1/3;
}
.site.recruit .section-label{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:16px;
}
.site.recruit .section-label h2{
  font-size:clamp(32px,3.2vw,46px);
  font-weight:700;
  line-height:1;
  letter-spacing:-1px;
}
.site.recruit .section-label p{
  margin:0;
  font-family:var(--sans);
  font-size:18px;
  font-weight:400;
  line-height:1;
  letter-spacing:0;
  color:#5c5c5c;
}
.site.recruit .section-label p:empty{display:none}
.recruit .recruit-hero{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  position:relative;
  isolation:isolate;
  z-index:0;
  box-sizing:border-box;
  min-height:calc(100dvh - var(--header-height) - 48px);
  padding-block:clamp(48px,5.5vh,64px) clamp(28px,4vh,48px);
  justify-content:flex-start;
}
.recruit .recruit-hero>.recruit-kicker{
  font:500 16px/1.6 var(--sans);
  letter-spacing:0;
  color:var(--ink);
  text-transform:none;
  margin-bottom:48px;
}
.recruit .recruit-hero h1{width:min(427px,88%);margin:0 0 44px}
.recruit .recruit-title-art{
  display:block;
  width:100%;
  height:auto;
  max-height:72px;
  margin-inline:auto;
  object-fit:contain;
}
.recruit .recruit-hero h2{
  font-size:clamp(26px,2.5vw,36px);
  font-weight:500;
  line-height:calc(56 / 36);
  letter-spacing:.01em;
  margin:0 0 36px;
  font-feature-settings:"palt" 1;
  -webkit-hanging-punctuation:allow-end;
  hanging-punctuation:allow-end;
  padding-inline-start:0.25em;
}
.recruit .recruit-hero .message{
  max-width:640px;
  margin-inline:auto;
  font-size:14px;
  line-height:calc(32.2 / 14);
  text-align:center;
}
.recruit .recruit-hero .message p{max-width:none;margin:0}
.recruit .recruit-hero .message p+p{margin-top:12px}
.recruit .recruit-hero .hero-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
  margin-top:32px;
}
.recruit .recruit-hero .hero-actions .pill+.pill{margin-left:0}
.recruit #deck-view iframe.deck-player{border-radius:4px;overflow:hidden;background:#111}
.recruit #process .lede{
  font-size:clamp(20px,1.8vw,26px);
  line-height:1.55;
  letter-spacing:.015em;
  max-width:46em;
}
.recruit #process .recruit-timeline{margin:20px 0 0}
.recruit #process .process-stage{padding:0 0 8px 40px}
.recruit #process .process-content{
  background:transparent;
  border-bottom:1px solid var(--line);
  padding:10px 0 18px;
}
.recruit #process .process-number{
  font-size:10px;
  letter-spacing:.1em;
  color:var(--stage-ink);
}
.recruit #process .process-node{
  top:12px;
  width:15px;
  height:15px;
  border-radius:0;
  box-shadow:0 0 0 6px #fbfbf9;
}
.recruit #process .process-stage:before{top:14px;bottom:-9px}
.recruit #process .process-stage h3{font-size:20px;font-weight:500;line-height:1.45;margin:7px 0 5px}
.recruit #process .process-stage p{font-size:13px;line-height:1.8}
.recruit #positions>.section-label{margin-bottom:56px}
.recruit #positions #job-company{
  width:100%;
  max-width:none;
  appearance:none;
  -webkit-appearance:none;
  min-height:40px;
  padding:8px 36px 8px 12px;
  font-size:14px;
  line-height:1.5;
  background-color:#fff;
  background-image:url('/assets/icon-caret-down.png');
  background-repeat:no-repeat;
  background-position:right 12px center;
  background-size:14px 14px;
}
.recruit #positions #job-company:focus,
.recruit #positions #job-company:focus-visible{
  border-color:var(--ink);
  outline:none;
  box-shadow:none;
}
.recruit .job-count{
  margin-bottom:8px;
  font-size:16px;
  line-height:1;
  color:var(--ink);
}
.recruit .job-count span{
  display:flex;
  align-items:baseline;
  gap:3px;
}
.recruit .job-count strong{
  font-size:30px;
  font-weight:500;
  line-height:1.2;
  letter-spacing:0;
}
.recruit .faq-section{
  display:flex;
  flex-direction:column;
  align-items:center;
}
.recruit .faq-section .section-label{align-items:center;text-align:center;margin-bottom:60px}
.recruit .faq-section .faq-list{width:100%;max-width:655px}
.recruit .faq-list details{background:transparent;margin:0;border-top:1px solid var(--line)}
.recruit .faq-list details:last-child{border-bottom:1px solid var(--line)}
.recruit .faq-list summary{
  display:flex;
  align-items:flex-start;
  gap:10px;
  position:relative;
  padding:28px 48px 28px 0;
  font-size:18px;
  font-weight:500;
  line-height:1.7;
  list-style:none;
  cursor:pointer;
}
.recruit .faq-list summary::-webkit-details-marker{display:none}
.recruit .faq-list summary:before{
  content:'';
  display:block;
  flex:none;
  width:18px;
  height:20px;
  margin-top:5px;
  background:url('/assets/faq-q.png') center / 18px 20px no-repeat;
}
.recruit .faq-list details>.answer{
  display:grid;
  grid-template-rows:minmax(0,0fr);
  overflow:hidden;
  transition:grid-template-rows 200ms cubic-bezier(.215,.61,.355,1);
}
.recruit .faq-list details[open]>.answer{grid-template-rows:minmax(0,1fr)}
.recruit .faq-list .answer-inner{
  min-height:0;
  overflow:hidden;
  padding:0 0 28px;
  font-size:14px;
  line-height:2;
  opacity:0;
  transform:translateY(-4px);
  transition:opacity 200ms cubic-bezier(.215,.61,.355,1),transform 200ms cubic-bezier(.215,.61,.355,1);
}
.recruit .faq-list details[open] .answer-inner{
  opacity:1;
  transform:none;
}


/* Recruit footer desktop — match Group (.group-footer) typography + spacing */
.site.recruit>.site-footer.container{
  max-width:none;
  padding:64px 60px clamp(24px,2cqw,40px);
  background:#141414;
  color:#fff;
}
.recruit>.site-footer .recruit-footer-grid,
.recruit>.site-footer .footer-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  column-gap:24px;
  row-gap:64px;
}
.recruit>.site-footer .footer-column{
  gap:15px;
  font-size:14px;
  font-weight:500;
  line-height:1;
}
.recruit>.site-footer .footer-column strong{
  min-height:18px;
  margin-bottom:15px;
  color:#c9caca;
  font-size:18px;
  font-weight:500;
  line-height:1;
  letter-spacing:0;
  opacity:1;
}
.recruit>.site-footer .footer-column-legal{
  grid-column:1;
  gap:15px;
  font-size:12px;
  color:rgba(255,255,255,.7);
}
.recruit>.site-footer .footer-column a,
.recruit>.site-footer .footer-column .footer-plain{
  display:inline-flex;
  align-items:center;
  min-height:auto;
  font-size:14px;
  font-weight:500;
  line-height:1;
}
.recruit>.site-footer .footer-column-legal a,
.recruit>.site-footer .footer-column-legal .footer-plain{
  color:rgba(255,255,255,.7);
  font-size:12px;
}
.recruit>.site-footer .footer-social{display:flex;gap:24px;margin-top:60px}
.recruit>.site-footer .footer-social-link{
  display:inline-flex;
  align-items:center;
  min-height:auto;
  gap:8px;
  color:#fff;
  font-size:14px;
  font-weight:500;
  line-height:1;
}
.recruit>.site-footer .footer-social-link:hover{
  text-decoration:underline;
  text-underline-offset:4px;
}
.recruit>.site-footer .footer-social-link img{filter:brightness(0) invert(1)}
.recruit>.site-footer .recruit-footer-bottom,
.recruit>.site-footer .footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  margin-top:80px;
  color:#fff;
}
.recruit>.site-footer .footer-copy{
  margin:0;
  font-size:12px;
  font-weight:500;
  line-height:1;
  color:#fff;
  opacity:.7;
  flex-shrink:0;
}
.recruit>.site-footer .footer-bottom :is(.brand,.footer-home) img{
  width:min(371px,36vw);
  height:auto;
  filter:brightness(0) invert(1);
}

@media(min-width:761px) and (max-width:1100px){
  .site.recruit .split> :nth-child(2),
  .site.recruit .job-layout> :nth-child(2),
  .site.recruit #deck-view{grid-column:4/-1}
  .site.recruit>.site-footer.container{padding-inline:var(--gap)}
  /* Tablet 2-col — match Group ≤960 footer gaps */
  .recruit>.site-footer .recruit-footer-grid,
  .recruit>.site-footer .footer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    row-gap:40px;
    column-gap:24px;
  }
  .recruit>.site-footer .footer-column-legal{grid-column:1 / -1}
}
@media(max-width:960px){
  #app .site.recruit,.site.recruit{--gap:clamp(20px,4.2vw,32px);--header-height:72px}
  .site.recruit .job-layout{
    grid-template-columns:minmax(0,1fr);
    gap:28px;
  }
  .site.recruit .job-layout> :first-child,
  .site.recruit .job-layout> :nth-child(2){grid-column:1}
  .recruit .job-filters{position:static}
  .recruit .role-buttons{
    flex-direction:row;
    flex-wrap:wrap;
    gap:8px;
  }
  .recruit .job-filters .role-filter{
    width:auto;
    min-height:44px;
    padding:10px 14px;
    font-size:13px;
  }
  .recruit #positions #job-company{
    min-height:44px;
    font-size:16px;
    padding:10px 36px 10px 12px;
  }
  .recruit>.site-footer .footer-column a,
  .recruit>.site-footer .footer-column-legal a,
  .recruit>.site-footer .footer-social-link{min-height:44px}
  /* Tablet typography — match Group ≤960 footer heading size */
  .recruit>.site-footer .footer-column strong{
    font-size:16px;
    margin-bottom:10px;
    min-height:16px;
  }
  /* Recruit mobile menu — Figma 350:8512 (white full-screen, EN↔JA row, bordered CTA) */
  .recruit .site-header.container{
    padding-left:16px;
    padding-right:16px;
    align-items:center;
  }
  .recruit .menu-toggle-open,
  .recruit .menu-toggle-close{
    /* SVGs are white strokes; invert to ink on light header */
    filter:brightness(0);
  }
  .recruit .site-nav{
    display:flex;
    visibility:hidden;
    pointer-events:none;
    position:fixed;
    inset:0;
    z-index:51;
    width:100%;
    max-height:none;
    margin:0;
    padding:calc(var(--header-height) + 64px) 15px 64px;
    background:#fdfdfc;
    border:0;
    box-shadow:none;
    overflow:auto;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:0;
    opacity:0;
    transform:translateY(6px);
    transition:opacity 220ms cubic-bezier(.23,1,.32,1),transform 220ms cubic-bezier(.23,1,.32,1),visibility 0s linear 220ms;
  }
  /* 下層ページはメニューを持たず、採用トップへ戻るボタンだけをヘッダーに出す */
  .recruit .site-header.is-subpage .site-nav{
    position:static;
    visibility:visible;
    pointer-events:auto;
    width:auto;
    padding:0;
    background:none;
    overflow:visible;
    flex-direction:row;
    opacity:1;
    transform:none;
    transition:none;
  }
  .recruit .site-header.is-subpage .site-nav .nav-cta{
    margin-top:0;
    min-height:44px;
    padding:8px 14px;
    gap:14px;
    opacity:1;
    transform:none;
  }
  .recruit .site-header.is-subpage .site-nav .nav-cta .nav-en{font-size:14px}
  .recruit .site-header.is-subpage .site-nav .nav-cta .nav-ja{display:none}
  .recruit .site-header.is-subpage .site-nav .nav-cta :is(b,.pixel-arrow){width:14px;height:14px}
  .recruit .site-nav.open{
    visibility:visible;
    pointer-events:auto;
    opacity:1;
    transform:translateY(0);
    transition:opacity 220ms cubic-bezier(.23,1,.32,1),transform 220ms cubic-bezier(.23,1,.32,1),visibility 0s;
  }
  .recruit .site-nav .nav-item{
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    min-height:58px;
    padding:12px 0;
    border:0;
    border-bottom:1px solid #d7d9d2;
    box-shadow:none;
    color:#202420;
    font-size:16px;
    font-weight:500;
    line-height:1.3;
    letter-spacing:0;
    white-space:nowrap;
    opacity:0;
    transform:translateY(8px);
  }
  .recruit .site-nav.open .nav-item{
    opacity:1;
    transform:translateY(0);
    transition:opacity 220ms cubic-bezier(.23,1,.32,1),transform 220ms cubic-bezier(.23,1,.32,1);
  }
  .recruit .site-nav.open .nav-item:nth-child(1){transition-delay:40ms}
  .recruit .site-nav.open .nav-item:nth-child(2){transition-delay:80ms}
  .recruit .site-nav.open .nav-item:nth-child(3){transition-delay:120ms}
  .recruit .site-nav.open .nav-item:nth-child(4){transition-delay:160ms}
  .recruit .site-nav.open .nav-item:nth-child(5){transition-delay:200ms}
  .recruit .site-nav .nav-item:after{display:none}
  .recruit .site-nav .nav-en{
    font-family:var(--sans);
    font-size:16px;
    font-weight:500;
    line-height:1.3;
    color:#202420;
  }
  .recruit .site-nav .nav-ja{
    font-family:var(--sans);
    font-size:12px;
    font-weight:400;
    line-height:1.4;
    letter-spacing:.03em;
    color:#60685f;
  }
  .recruit .site-nav .nav-cta{
    margin-top:18px;
    min-height:48px;
    height:auto;
    padding:14px 18px;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    background:transparent;
    border:1px solid #202420;
    color:#202420;
    opacity:0;
    transform:translateY(8px);
  }
  .recruit .site-nav.open .nav-cta{
    opacity:1;
    transform:translateY(0);
    transition:opacity 220ms cubic-bezier(.23,1,.32,1),transform 220ms cubic-bezier(.23,1,.32,1);
    transition-delay:240ms;
  }
  .recruit .site-nav .nav-cta .nav-cta-copy{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:3px;
  }
  .recruit .site-nav .nav-cta .nav-en{
    font-size:16px;
    font-weight:500;
    line-height:1.3;
    color:#202420;
  }
  .recruit .site-nav .nav-cta .nav-ja{
    font-size:11px;
    font-weight:400;
    line-height:1.4;
    letter-spacing:.03em;
    color:#202420;
    opacity:.8;
  }
  .recruit .site-nav .nav-cta b{
    width:24px;
    height:24px;
  }
  .recruit .site-nav .nav-cta .pixel-arrow{
    width:24px;
    height:24px;
  }
  .recruit.menu-open .site-header.container,
  .site.recruit.menu-open .site-header.container{
    position:fixed;
    top:var(--review-height,0px);
    left:0;
    right:0;
    width:100%;
    max-width:none;
    height:var(--header-height);
    min-height:var(--header-height);
    padding:0 16px;
    justify-content:space-between;
    align-items:center;
    background:#fdfdfc;
    color:var(--ink);
    z-index:52;
  }
  .recruit.menu-open .menu-toggle-open,
  .recruit.menu-open .menu-toggle-close,
  .site.recruit.menu-open .menu-toggle-open,
  .site.recruit.menu-open .menu-toggle-close{filter:brightness(0)}
  .recruit .recruit-hero{
    min-height:0;
    padding-block:56px 44px;
  }
}
@media(hover:hover) and (pointer:fine) and (max-width:960px){
  .recruit .site-nav .nav-item:hover{opacity:.65;box-shadow:none;padding-left:0}
  .recruit .site-nav .nav-item{transition:opacity 160ms ease,transform 160ms cubic-bezier(.23,1,.32,1)}
  .recruit .site-nav .nav-item:active{transform:scale(.97)}
  .recruit .site-nav .nav-cta:hover{
    opacity:.7;
    background:transparent;
    border-color:#202420;
    color:#202420;
  }
  .recruit .site-nav .nav-cta:active{transform:scale(.97)}
}
@media(max-width:760px){
  #app .site.recruit,.site.recruit{
    --gap:20px;
    --header-height:72px;
    /* Section label mobile — match Group: title 26, gap 15, JP 14/1 */
    --recruit-title-size:26px;
  }
  .site.recruit .split,
  .site.recruit .job-layout,
  .site.recruit .deck-section{grid-template-columns:minmax(0,1fr);gap:28px}
  .site.recruit .split> :first-child,
  .site.recruit .split> :nth-child(2),
  .site.recruit .job-layout> :first-child,
  .site.recruit .job-layout> :nth-child(2),
  .site.recruit .deck-section .section-label,
  .site.recruit #deck-view{grid-column:1}
  .site.recruit .section-label{gap:10px}
  .recruit #positions>.section-label{margin-bottom:32px}
  .site.recruit .section-label h2{font-size:var(--recruit-title-size)}
  .site.recruit .section-label p{font-size:14px;line-height:1}
  .recruit .recruit-hero{
    min-height:0;
    padding-block:48px 40px;
  }
  .recruit .recruit-hero>.recruit-kicker{font-size:14px;line-height:1.6;margin-bottom:32px}
  .recruit .recruit-hero h1{margin-bottom:36px}
  .recruit .recruit-hero h2{
    font-size:clamp(24px,6.4vw,32px);
    line-height:1.65;
    margin-bottom:28px;
  }
  .recruit .recruit-hero .message p+p{margin-top:12px}
  .recruit .recruit-hero .message{font-size:14px}
  .recruit .recruit-hero .hero-actions{flex-direction:column;width:100%;max-width:320px}
  .recruit .recruit-hero .hero-actions .pill{width:100%;margin:0}
  .recruit .job-filters .role-filter{
    height:36px;
    min-height:36px;
    padding:0 12px;
    font-size:12px;
    line-height:1.2;
  }
  .recruit #process .lede{font-size:14px}
  .recruit .faq-section .section-label{margin-bottom:32px}
  .recruit .faq-list summary{padding:22px 48px 22px 0;font-size:16px}
  /* Recruit footer mobile — match Group (Figma 346:7214): py 75, sections 50, heading/links 14 + 30/15, bottom 60/30, copy 13 */
  .site.recruit>.site-footer.container{padding:75px var(--gap)}
  .recruit>.site-footer .recruit-footer-grid,
  .recruit>.site-footer .footer-grid{grid-template-columns:1fr;row-gap:50px;column-gap:24px}
  .recruit>.site-footer .footer-column{font-size:14px}
  .recruit>.site-footer .footer-column strong{
    font-size:14px;
    /* flex gap 15 + margin 15 = heading→links 30 (Figma) */
    margin-bottom:15px;
    min-height:14px;
  }
  .recruit>.site-footer .footer-column a,
  .recruit>.site-footer .footer-column-legal a,
  .recruit>.site-footer .footer-social-link{min-height:auto}
  .recruit>.site-footer .footer-column-legal a,
  .recruit>.site-footer .footer-column-legal .footer-plain{font-size:14px}
  .recruit>.site-footer .footer-social{margin-top:50px}
  .recruit>.site-footer .recruit-footer-bottom,
  .recruit>.site-footer .footer-bottom{flex-direction:column-reverse;align-items:flex-start;gap:30px;margin-top:60px}
  .recruit>.site-footer .footer-copy{font-size:13px}
  .recruit>.site-footer .footer-bottom :is(.brand,.footer-home){
    display:block;
    width:100%;
    max-width:100%;
  }
  .recruit>.site-footer .footer-bottom :is(.brand,.footer-home) img{
    display:block;
    width:100%;
    max-width:100%;
    height:auto;
  }
}
@media(prefers-reduced-motion:reduce){
  .recruit .faq-list details>.answer,
  .recruit .faq-list .answer-inner{transition:opacity 120ms ease;filter:none}
  .recruit #positions .job-ai-toggle:active,
  .recruit #positions .job-ai-provider:active{transform:none}
}

/* ===== Recruit — Figma 457:8398（2026-10-24 最終 FIX 前の大枠合わせ） =====
   背景・見出し・Process・Position の絞り込み・Casual Talk・FAQ・フッターを Figma に揃える。
   既存の上書きが多層なので、Recruit の最終値はこのブロックに集約する。 */
#app .site.recruit,
.site.recruit{background:#fcfcfc url('/assets/inc-bg-grid.png') 0 0/2304px 1296px repeat}

/* 見出し: Figma はドット字形なしの Gaudiy Sans Medium 44px / 和文 18px */
.site.recruit .section-label h2{font-weight:500}
@media(min-width:761px){
  .site.recruit .section-label h2{font-size:44px;letter-spacing:-.44px;line-height:1}
  .site.recruit .faq-section .section-label h2{font-size:46px;letter-spacing:0}
}
.site.recruit .section-label h2 .pixel-letter{font-family:inherit;font-weight:inherit;font-feature-settings:normal;vertical-align:baseline}

/* Process: ノードと縦線・区切り線は使わず、STEP・見出し・本文だけを 40px 下げて並べる */
.recruit #process .process-stage{padding:0 0 8px 40px}
.recruit #process .process-stage:before{display:none}
.recruit #process .process-content{padding:10px 0 18px;border-bottom:0;background:transparent}
.recruit #process .process-number{font-family:var(--sans);font-size:10px;letter-spacing:1px}
.recruit #process .process-stage h3{margin:7px 0 5px;font-size:18px;font-weight:500;line-height:1.6}
.recruit #process .process-stage p{max-width:650px;font-size:13px;line-height:20px}

/* Position の職種フィルター: 選択中はドットのチェック、未選択は＋（「すべて」は記号なし） */
.recruit .job-filters .role-filter{justify-content:space-between;gap:12px}
.recruit .job-filters .role-filter[data-job-role]:not([data-job-role=""]):after{content:'＋';flex:none;font-size:13px;line-height:20px;opacity:.65}
.recruit .job-filters .role-filter[aria-pressed="true"]:not([data-job-role=""]):after{content:'';width:24px;height:24px;margin-block:-4px;background:url('/assets/icon-check-pixel.svg') center/24px 24px no-repeat;opacity:1}

/* Casual Talk — Figma 457:8763: 余白 10px の黒い面に、2 つの入口カード */
.site.recruit main>.casual-section{padding:10px}
.recruit .casual-section-inner{display:flex;flex-direction:column;align-items:center;gap:50px;padding:100px 40px;background:#000;color:#fdfdfc}
.recruit .casual-section-head{width:100%;max-width:1340px;text-align:center}
.recruit .casual-section-title{margin:0;color:#f4f4f3;font:500 43px/48px var(--sans);letter-spacing:-1.497px}
.recruit .casual-section-intro{margin:15px 0 0;max-width:none;color:#fdfdfc;font-size:14px;line-height:32px}
.recruit .casual-entries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;width:100%;max-width:1340px}
.recruit .casual-entry{display:flex;flex-direction:column;align-items:flex-end;gap:30px;padding:30px 30px 0;overflow:hidden;background:rgba(255,255,255,.1);color:#fdfdfc;text-decoration:none}
.recruit .casual-entry-copy{display:flex;flex-direction:column;gap:15px;width:100%;text-align:left}
.recruit .casual-entry-title{display:flex;align-items:center;gap:8px;font-size:20px;font-weight:500;line-height:29px}
.recruit .casual-entry-arrow{display:inline-flex;opacity:0;transform:translate3d(-4px,4px,0);transition:opacity 200ms var(--ease-out,ease-out),transform 200ms var(--ease-out,ease-out)}
.recruit .casual-entry-arrow svg{width:20px;height:20px}
.recruit .casual-entry-desc{font-size:14px;line-height:29px;text-wrap:pretty}
/* hover で 2° 傾けると左下が約 6px 浮いて画像の下端が見え、切れたように見える。傾いても下端が見えないよう、カードの下へ 12px はみ出させて隠しておく */
.recruit .casual-entry-media{display:block;padding:0 20px;margin-bottom:-12px}
.recruit .casual-entry-media img{display:block;width:311px;max-width:100%;height:auto;aspect-ratio:311/262;object-fit:cover;object-position:top;border:1px solid #000;transform-origin:50% 100%;transition:transform 280ms cubic-bezier(.23,1,.32,1)}
@media(hover:hover) and (pointer:fine){
  .recruit .casual-entry{transition:background-color 200ms ease-out}
  .recruit .casual-entry:hover{background:rgba(255,255,255,.16)}
  .recruit .casual-entry:hover .casual-entry-arrow{opacity:1;transform:none}
  .recruit .casual-entry:hover .casual-entry-media img{transform:rotate(2deg)}
}
.recruit .casual-entry:focus-visible{outline:2px solid #fdfdfc;outline-offset:4px}

/* FAQ — Figma 457:8793: 白い面を全幅に敷く */
.site.recruit #faq.faq-section{position:relative;padding-bottom:150px;background:#fff;box-shadow:0 0 0 100vmax #fff;clip-path:inset(0 -100vmax)}

/* フッター — Figma Common/footer: 見出し 18px、見出しとリンクの間 30px、リンク間 15px。リンクは Inc のフッターと同じ 14px（2026-10-24） */
.recruit>.site-footer .footer-column a,
.recruit>.site-footer .footer-column .footer-plain{font-size:14px}
.recruit>.site-footer .footer-column-legal a,
.recruit>.site-footer .footer-column-legal .footer-plain{font-size:14px}

@media(max-width:760px){
  .recruit #process .process-stage{padding-left:0}
  .recruit #process .process-stage h3{font-size:16px}
  .recruit #process .process-stage p br{display:none}
  .site.recruit main>.casual-section{padding:0}
  .recruit .casual-section-inner{gap:32px;padding:60px 15px}
  .recruit .casual-section-title{font-size:28px;line-height:1.2;letter-spacing:-1px}
  .recruit .casual-section-intro{font-size:14px;line-height:1.8}
  .recruit .casual-section-intro br{display:none}
  .recruit .casual-entries{grid-template-columns:1fr;gap:16px}
  .recruit .casual-entry{padding:24px 20px 0}
  .recruit .casual-entry-title{font-size:18px;line-height:1.5}
  .recruit .casual-entry-desc{line-height:1.8}
  .recruit .casual-entry-desc br{display:none}
  .recruit .casual-entry-media{padding:0}
  .site.recruit #faq.faq-section{padding-bottom:80px}
  .recruit>.site-footer .footer-column a,
  .recruit>.site-footer .footer-column .footer-plain{font-size:14px}
}
@media(prefers-reduced-motion:reduce){
  .recruit .casual-entry,.recruit .casual-entry-arrow,.recruit .casual-entry-media img{transition:none}
}

/* ===== Recruit — 表示演出（Recruit Lab から採用: H-3・HE-2・PO-1・PO-4・C-1・F-2・FT-2） =====
   C-1 は上の Casual Talk のブロック（ホバーで画像を下辺を軸に右へ 2° 傾ける）。 */

/* Header — Inc と同じ反転ブレンド（mix-blend-mode:difference）。白で描き、明るい面では黒、黒い面では白に見せる。
   スマホのメニューを開いている間（と閉じるアニメーションの間）は反転を切り、通常の配色に戻す */
.site.recruit:not(.menu-open):not(.menu-closing) .site-header.container{mix-blend-mode:difference;color:#fff}
.site.recruit:not(.menu-open):not(.menu-closing) .site-header .home-link img{filter:brightness(0) invert(1)}
.site.recruit:not(.menu-open):not(.menu-closing) .site-header .recruit-brand-caption{color:#fff}
.site.recruit:not(.menu-open):not(.menu-closing) .site-header :is(.nav-item,.nav-item .nav-en,.nav-item .nav-ja){color:#fff}
.site.recruit:not(.menu-open):not(.menu-closing) .site-header .nav-item .nav-ja{opacity:.75}
.site.recruit:not(.menu-open):not(.menu-closing) .site-header .site-nav .nav-cta{border-color:#fff;color:#fff;background:transparent}
.site.recruit:not(.menu-open):not(.menu-closing) .site-header .site-nav .nav-cta :is(.nav-en,.nav-ja){color:#fff}
.site.recruit:not(.menu-open):not(.menu-closing) .site-header .menu-toggle{color:#fff}
.site.recruit:not(.menu-open):not(.menu-closing) .site-header :is(.menu-toggle-open,.menu-toggle-close){filter:none}

/* ロゴ横の「グループ共通 採用サイト」: ロゴ（116×33px）の G の上端（2px）からベースライン（27.6px）までの
   高さ 25.5px に、2 行の文字と区切り線をそろえる。区切り線もこの高さにし、ロゴの下にはみ出る y の分は含めない */
.site.recruit .site-header .home-link .brand{gap:12px;align-items:center}
.site.recruit .site-header .home-link .recruit-brand-caption{position:relative;margin:0;padding-left:12px;border-left:0;font-size:11px;font-weight:500;line-height:16px;letter-spacing:.04em;transform:translateY(-2px)}
.site.recruit .site-header .home-link .recruit-brand-caption:before{content:'';position:absolute;left:0;top:50%;width:1px;height:26px;margin-top:-13px;background:currentColor;opacity:.35}
@media(max-width:760px){
  .site.recruit .site-header .home-link .brand{gap:10px}
  .site.recruit .site-header .home-link .recruit-brand-caption{min-height:0;padding-left:10px;font-size:10px;line-height:15px}
}

/* スマホのメニュー: 全面のメニュー（z-index 51）にロゴが隠れないよう、閉じるボタン（52）と同じ高さに上げる */
@media(max-width:960px){
  .site.recruit:is(.menu-open,.menu-closing) .site-header .home-link{position:relative;z-index:52}
}

/* H-3 ヘッダーの Casual Talk: 面が左から走り、文字が下から入れ替わる。離れるときは面が右へ抜ける（PC のみ）。
   ヘッダーは反転するので、面は #fff・文字は #000 で指定する（明るい背景上では黒い面に白文字に見える） */
.recruit .site-nav .nav-cta-fill{display:none}
@media(min-width:961px){
  .recruit .site-nav .nav-cta{position:relative;isolation:isolate}
  /* 面は四方に 1px 広げて枠線の上まで覆い、ボタンで切らない（面と枠線は同じ色）。
     overflow:hidden で枠線の内側に切ると、幅や位置が端数のボタンでは切り口と枠線が別々にピクセルへ丸められ、間に 1px 弱の隙間が残る */
  .recruit .site-nav .nav-cta-fill{display:block;position:absolute;inset:-1px;z-index:0;background:#fff;transform:scaleX(0);transform-origin:right center;transition:transform 360ms cubic-bezier(.65,0,.35,1)}
  .recruit .site-nav .nav-cta>:not(.nav-cta-fill){position:relative;z-index:1}
  .recruit .site-nav .nav-cta :is(.nav-en,.nav-ja,b){transition:color 200ms ease-out 80ms}
  .recruit .site-nav .nav-cta .recruit-roll{display:block;overflow:hidden;height:17px;line-height:17px}
  .recruit .site-nav .nav-cta .recruit-roll>span{display:block;transition:transform 360ms cubic-bezier(.65,0,.35,1)}
  .recruit .site-nav .nav-cta .recruit-roll>span:after{content:attr(data-roll) / "";display:block}
  .recruit .site-nav .nav-cta b .pixel-arrow{transition:transform 360ms cubic-bezier(.65,0,.35,1)}
  .site.recruit .site-header .site-nav .nav-cta:focus-visible .nav-cta-fill{transform:scaleX(1);transform-origin:left center}
  .site.recruit:not(.menu-open):not(.menu-closing) .site-header .site-nav .nav-cta:focus-visible :is(.nav-en,.nav-ja,b){color:#000}
  .recruit .site-nav .nav-cta:focus-visible .recruit-roll>span{transform:translateY(-17px)}
  .recruit .site-nav .nav-cta:focus-visible b .pixel-arrow{transform:translate(2px,-2px)}
}
@media(hover:hover) and (pointer:fine) and (min-width:961px){
  .site.recruit:not(.menu-open):not(.menu-closing) .site-header .site-nav .nav-cta:hover{opacity:1;background:transparent;border-color:#fff}
  .site.recruit .site-header .site-nav .nav-cta:hover .nav-cta-fill{transform:scaleX(1);transform-origin:left center}
  .site.recruit:not(.menu-open):not(.menu-closing) .site-header .site-nav .nav-cta:hover :is(.nav-en,.nav-ja,b){color:#000}
  .recruit .site-nav .nav-cta:hover .recruit-roll>span{transform:translateY(-17px)}
  .recruit .site-nav .nav-cta:hover b .pixel-arrow{transform:translate(2px,-2px)}
}

/* HE-2 ヒーロー: 行ごとに左→右へワイプ（行分けは recruit-interactions.js）。ボタンは最後に 8px 上がりながら出る。
   ヒーローは中央組みなので、各行も中央に置く。
   行に分けるまで（.is-lined が付くまで）は CSS の時点で隠す。JS が付けるクラスで隠すと、JS が動くまでの最初のコマで文章とボタンが一度見えてしまう。
   reduced motion では JS が演出を付けないので隠さない。JS が無効なときは Layout.astro の noscript で出す */
@media(prefers-reduced-motion:no-preference){
  .site.recruit .recruit-hero:not(.is-lined,.is-static) :is(.recruit-kicker,h2,.message,.hero-actions){visibility:hidden}
  .site.recruit .recruit-hero:not(.is-lined,.is-static) .hero-actions{opacity:0;transform:translate3d(0,8px,0)}
}
.site.recruit .recruit-hero.is-lined .inc-line{display:block;width:max-content;max-width:100%;margin-inline:auto;clip-path:inset(-10% 100% -10% 0);transition:clip-path 900ms cubic-bezier(.22,1,.36,1) var(--ld,0ms)}
.site.recruit .recruit-hero.is-entered .inc-line{clip-path:inset(-10% -2% -10% 0)}
.site.recruit .recruit-hero.is-lined .hero-actions{opacity:0;transform:translate3d(0,8px,0);transition:opacity 600ms cubic-bezier(.23,1,.32,1) 1300ms,transform 600ms cubic-bezier(.23,1,.32,1) 1300ms}
.site.recruit .recruit-hero.is-entered .hero-actions{opacity:1;transform:none}

/* PO-1 件数: 桁ごとの縦ロール（読み上げは .job-count-sr の数字）。
   既存の .job-count span（flex）に負けないよう .job-count から指定する */
.recruit .job-count strong{font-variant-numeric:tabular-nums}
.recruit .job-count .job-count-sr{position:absolute;display:block;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.recruit .job-count .job-count-roll{display:inline-flex;gap:0}
.recruit .job-count .job-count-digit{display:block;height:1.2em;overflow:hidden}
.recruit .job-count .job-count-reel{display:block;transition:transform 520ms cubic-bezier(.23,1,.32,1)}
.recruit .job-count .job-count-reel>span{display:block;height:1.2em;line-height:1.2}
/* PO-1 一覧: 外れる求人は 220ms で消す（残る求人の移動は recruit-interactions.js の FLIP） */
.recruit #positions .job-item{transition:opacity 220ms ease-out}
.recruit #positions .job-item.is-leaving{opacity:0}


/* PO-4 「AIに聞く」: 黒いマスが左上から抜けて中身が現れ、アイコンが 60ms 差で 6px 上がりながら出る */
.recruit #positions .job-ai-cells{position:absolute;inset:-1px;z-index:2;display:grid;grid-template-columns:repeat(12,1fr);grid-template-rows:repeat(6,1fr);pointer-events:none}
.recruit #positions .job-ai-cells i{background:#000;transition:opacity 1ms linear}
.recruit #positions .job-ai-cells.is-out i{opacity:0}
.recruit #positions .job-ai-popover.is-ready .job-ai-provider{animation:job-ai-provider-in 260ms cubic-bezier(.23,1,.32,1) backwards}
.recruit #positions .job-ai-popover.is-ready .job-ai-provider:nth-child(2){animation-delay:60ms}
.recruit #positions .job-ai-popover.is-ready .job-ai-provider:nth-child(3){animation-delay:120ms}
@keyframes job-ai-provider-in{from{opacity:0;transform:translate3d(0,6px,0)}}

/* F-2 FAQ: 開いた回答を左からワイプで出す（閉じるときは高さだけ畳む）。回答は質問の文字と左をそろえる（Q 18px＋右の余白 16px＋間 10px） */
.recruit .faq-list .answer-inner{padding-left:44px;padding-right:48px}
@media(max-width:760px){.recruit .faq-list .answer-inner{padding-right:0}}
.recruit .faq-list .answer-inner,
.recruit .faq-list details[open] .answer-inner{opacity:1;transform:none;transition:none}
.recruit .faq-list details[open] .answer-inner{animation:faq-answer-wipe 640ms cubic-bezier(.22,1,.36,1) 120ms backwards}
@keyframes faq-answer-wipe{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}

/* FT-2 フッター: カーソルの軌跡にドット（Inc と共通。描画は recruit-interactions.js）。文字の下に敷く */
.site.recruit .recruit-footer{position:relative}
.site.recruit .recruit-footer>:not(.recruit-footer-trail){position:relative;z-index:1}
.site.recruit .recruit-footer-trail{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}

/* PO-1（一覧）・PO-2 開閉の＋: 縦の線が 300ms で寝て−になる。既存の画像・文字の＋／−は使わない */
.recruit #positions .job-item summary:after,
.recruit #positions .job-item[open] summary:after,
.recruit .faq-list summary:after,
.recruit .faq-list details[open] summary:after{content:none}
.recruit .toggle-icon{position:absolute;right:18px;top:50%;width:16px;height:16px;margin-top:-8px;pointer-events:none}
.recruit .faq-list .toggle-icon{right:20px;top:28px;width:14px;height:14px;margin-top:6px}
.recruit .toggle-icon:before,
.recruit .toggle-icon:after{content:'';position:absolute;left:0;top:50%;width:100%;height:2px;margin-top:-1px;background:currentColor;transition:transform 300ms cubic-bezier(.23,1,.32,1)}
.recruit .toggle-icon:after{transform:rotate(90deg)}
.recruit :is(.job-item,.faq-list details)[open]>summary .toggle-icon:after{transform:rotate(0deg)}
@media(max-width:760px){.recruit .faq-list .toggle-icon{top:22px}}

/* PO-3 求人の行ホバー: 左に 8px のドットが出て、会社名と職種名が 18px 右へ */
.recruit #positions .job-item summary{position:relative}
.recruit #positions .job-item summary:before{content:'';position:absolute;left:0;top:50%;width:8px;height:8px;margin-top:-4px;background:var(--ink);transform:scale(0);transition:transform 220ms cubic-bezier(.23,1,.32,1)}
.recruit #positions .job-item summary :is(.job-company,h3){transition:transform 260ms cubic-bezier(.23,1,.32,1)}
@media(hover:hover) and (pointer:fine){
  .recruit #positions .job-item summary:hover:before{transform:scale(1)}
  .recruit #positions .job-item summary:hover :is(.job-company,h3){transform:translate3d(18px,0,0)}
}
.recruit #positions .job-item summary:focus-visible:before{transform:scale(1)}
.recruit #positions .job-item summary:focus-visible :is(.job-company,h3){transform:translate3d(18px,0,0)}

/* 募集要項・応募へ: Hero の白いボタンと同じ形（角なし・48px）と動き。黒い面が左から走り（離れると右へ抜ける）、文字が下から入れ替わる。
   矢印は外部リンクの右上向きなので、ヘッダーの Casual Talk と同じく右上へ少しずらす */
.recruit #positions .job-detail-actions .pill{border-radius:0;min-height:48px;padding:10px 20px;position:relative;isolation:isolate;transition:color 200ms ease-out 80ms,transform 160ms cubic-bezier(.23,1,.32,1)}
.recruit #positions .job-detail-actions .recruit-roll{display:block;overflow:hidden;height:1.5em;line-height:1.5}
.recruit #positions .job-detail-actions .recruit-roll>span{display:block;transition:transform 360ms cubic-bezier(.65,0,.35,1)}
.recruit #positions .job-detail-actions .recruit-roll>span:after{content:attr(data-roll) / "";display:block}
.recruit #positions .job-detail-actions .pill .pixel-arrow{transition:transform 360ms cubic-bezier(.65,0,.35,1)}
.recruit #positions .job-detail-actions .pill:before{content:'';position:absolute;inset:-1px;z-index:-1;background:var(--ink);transform:scaleX(0);transform-origin:right center;transition:transform 360ms cubic-bezier(.65,0,.35,1)}
.recruit #positions .job-detail-actions .pill:active{transform:scale(.97)}
@media(hover:hover) and (pointer:fine){
  .recruit #positions .job-detail-actions .pill:hover{background:transparent;color:#fff;border-color:var(--ink)}
  .recruit #positions .job-detail-actions .pill:hover:before{transform:scaleX(1);transform-origin:left center}
  .recruit #positions .job-detail-actions .pill:hover .recruit-roll>span{transform:translateY(-1.5em)}
  .recruit #positions .job-detail-actions .pill:hover .pixel-arrow{transform:translate(2px,-2px)}
}
.recruit #positions .job-detail-actions .pill:focus-visible{color:#fff}
.recruit #positions .job-detail-actions .pill:focus-visible:before{transform:scaleX(1);transform-origin:left center}
.recruit #positions .job-detail-actions .pill:focus-visible .recruit-roll>span{transform:translateY(-1.5em)}
.recruit #positions .job-detail-actions .pill:focus-visible .pixel-arrow{transform:translate(2px,-2px)}

/* Hero の 2 つのボタン: ヘッダーの Casual Talk と同じ形（角なし・48px）と動き。面が左から走り（離れると右へ抜ける）、文字が下から入れ替わり、矢印が右へ少しずれる。
   黒いボタンは白い面・黒い文字に反転する。既定の .pill のホバー（背景色の切り替え）は打ち消す */
.recruit .recruit-hero .hero-actions .pill{border-radius:0;min-height:48px;padding:10px 20px;position:relative;isolation:isolate;transition:color 200ms ease-out 80ms,transform 160ms cubic-bezier(.23,1,.32,1)}
.recruit .recruit-hero .hero-actions .recruit-roll{display:block;overflow:hidden;height:1.5em;line-height:1.5}
.recruit .recruit-hero .hero-actions .recruit-roll>span{display:block;transition:transform 360ms cubic-bezier(.65,0,.35,1)}
.recruit .recruit-hero .hero-actions .recruit-roll>span:after{content:attr(data-roll) / "";display:block}
.recruit .recruit-hero .hero-actions .pill .pixel-arrow{transition:transform 360ms cubic-bezier(.65,0,.35,1)}
.recruit .recruit-hero .hero-actions .pill:before{content:'';position:absolute;inset:-1px;z-index:-1;background:var(--ink);transform:scaleX(0);transform-origin:right center;transition:transform 360ms cubic-bezier(.65,0,.35,1)}
/* 黒いボタンは面（白）と枠線（黒）の色が違うので、面を枠線の内側に切る。切り口の隙間には同じ黒の背景が見えるだけなので目立たない */
.recruit .recruit-hero .hero-actions .pill.dark{overflow:hidden}
.recruit .recruit-hero .hero-actions .pill.dark:before{background:var(--paper)}
.recruit .recruit-hero .hero-actions .pill:active{transform:scale(.97)}
@media(hover:hover) and (pointer:fine){
  .recruit .recruit-hero .hero-actions .pill:hover{background:transparent;color:#fff;border-color:var(--ink)}
  .recruit .recruit-hero .hero-actions .pill.dark:hover{background:var(--ink);color:var(--ink)}
  .recruit .recruit-hero .hero-actions .pill:hover:before{transform:scaleX(1);transform-origin:left center}
  .recruit .recruit-hero .hero-actions .pill:hover .recruit-roll>span{transform:translateY(-1.5em)}
  .recruit .recruit-hero .hero-actions .pill:hover .pixel-arrow{transform:translateX(3px)}
}
.recruit .recruit-hero .hero-actions .pill:focus-visible{color:#fff}
.recruit .recruit-hero .hero-actions .pill.dark:focus-visible{color:var(--ink)}
.recruit .recruit-hero .hero-actions .pill:focus-visible:before{transform:scaleX(1);transform-origin:left center}
.recruit .recruit-hero .hero-actions .pill:focus-visible .recruit-roll>span{transform:translateY(-1.5em)}
.recruit .recruit-hero .hero-actions .pill:focus-visible .pixel-arrow{transform:translateX(3px)}

/* FAQ の行ホバー: 開閉の＋／−が 6px 左へ寄り、どの行を指しているかを示す */
.recruit .faq-list .toggle-icon{transition:transform 240ms cubic-bezier(.23,1,.32,1)}
@media(hover:hover) and (pointer:fine){
  .recruit .faq-list summary:hover .toggle-icon{transform:translate3d(-6px,0,0)}
}
.recruit .faq-list summary:focus-visible .toggle-icon{transform:translate3d(-6px,0,0)}

/* AIに聞く: 下線が左から引かれる（開いている間は残す）。薄くはしない */
.recruit #positions .job-ai-toggle{text-decoration:none;background:linear-gradient(currentColor,currentColor) 0 calc(100% - 6px)/0 1px no-repeat;transition:background-size 260ms cubic-bezier(.23,1,.32,1),transform 160ms cubic-bezier(.23,1,.32,1)}
@media(hover:hover) and (pointer:fine){
  .recruit #positions .job-ai-toggle:hover{opacity:1;background:linear-gradient(currentColor,currentColor) 0 calc(100% - 6px)/100% 1px no-repeat}
}
.recruit #positions .job-ai-toggle:focus-visible,
.recruit #positions .job-ai-menu.is-open .job-ai-toggle{background:linear-gradient(currentColor,currentColor) 0 calc(100% - 6px)/100% 1px no-repeat}
/* 絞り込みをクリア: AIに聞くと同じく、下線を常には出さず、ホバーで左から引く（大きさは既存のまま） */
.recruit #positions .job-filters [data-action='reset-jobs']{text-decoration:none;background:linear-gradient(currentColor,currentColor) 0 calc(100% - 6px)/0 1px no-repeat;transition:background-size 260ms cubic-bezier(.23,1,.32,1),transform 160ms cubic-bezier(.23,1,.32,1)}
@media(hover:hover) and (pointer:fine){
  .recruit #positions .job-filters [data-action='reset-jobs']:hover{background-size:100% 1px}
}
.recruit #positions .job-filters [data-action='reset-jobs']:focus-visible{background-size:100% 1px}
.recruit #positions .job-filters [data-action='reset-jobs']:active{transform:scale(.97)}

/* Process: 左に細い線とマーカー（動きはつけない）。線は各ステップのマーカーの中心から次のステップのマーカーの中心まで
   CSS だけで引く（li の間に余白がないので、li の上から 17.5px〜次の li の上から 17.5px）。最後の STEP 07 には引かない。
   マーカーと STEP の色は Gaudiy のブランドカラー（Inc のカラーストリップと同じ値）: 出会う＝緑、選考＝青、入社＝オレンジ */
.site.recruit{--brand-green:#32d44d;--brand-blue:#0044f3;--brand-orange:#ff681c}
.recruit #process .process-stage.phase-meet{--stage-color:var(--brand-green);--stage-ink:var(--brand-green)}
.recruit #process .process-stage.phase-select{--stage-color:var(--brand-blue);--stage-ink:var(--brand-blue)}
.recruit #process .process-stage.phase-join{--stage-color:var(--brand-orange);--stage-ink:var(--brand-orange)}
.recruit #process .recruit-timeline{position:relative}
.recruit #process .process-stage:not(:last-child):after{content:'';position:absolute;left:14px;top:17.5px;bottom:-17.5px;width:1px;background:var(--line);pointer-events:none}
.recruit #process .process-stage:before{display:block;content:'';z-index:1;left:11px;top:14px;bottom:auto;width:7px;height:7px;background:var(--stage-ink);border:0;opacity:1}
@media(max-width:760px){
  .recruit #process .process-stage{padding-left:28px}
  .recruit #process .process-stage:not(:last-child):after{left:4px}
  .recruit #process .process-stage:before{left:1px}
}

@media(prefers-reduced-motion:reduce){
  .recruit #positions .job-item summary:before,
  .recruit #positions .job-item summary :is(.job-company,h3),
  .recruit #positions .job-detail-actions .pill,
  .recruit #positions .job-detail-actions .pill:before,
  .recruit #positions .job-ai-toggle,
  .recruit #positions .job-filters [data-action='reset-jobs'],
  .recruit .recruit-hero .hero-actions .pill,
  .recruit .recruit-hero .hero-actions .pill:before,
  .recruit .recruit-hero .hero-actions .recruit-roll>span,
  .recruit .recruit-hero .hero-actions .pill .pixel-arrow,
  .recruit #positions .job-detail-actions .recruit-roll>span,
  .recruit #positions .job-detail-actions .pill .pixel-arrow,
  .recruit .faq-list .toggle-icon{transition:none}
  .recruit .toggle-icon:after,
  .recruit .site-nav .nav-cta .recruit-roll>span,
  .recruit .site-nav .nav-cta b .pixel-arrow,
  .recruit .job-count .job-count-reel,
  .recruit #positions .job-item{transition:none}
  .recruit #positions .job-ai-popover.is-ready .job-ai-provider,
  .recruit .faq-list details[open] .answer-inner{animation:none}
}

/* ===== Recruit — 各セクションの表出（recruit-interactions.js の bindReveal） =====
   見出し（.rc-head）と中身（.rc-rise）は要素ごとに画面に入ったら .is-in が付く。--rd は同時に入った要素の並び順の遅れ。
   見出しは左→右にワイプ（和文は 120ms 遅れ）、中身は 16px 下からフェードで出す */
.site.recruit.rc-no-transition .rc-reveal :is(.rc-head>*,.rc-rise){transition:none!important}
.site.recruit .rc-head>:is(h2,p){clip-path:inset(-10% 100% -10% 0);transition:clip-path 1000ms cubic-bezier(.22,1,.36,1) calc(var(--rd,0ms) + var(--hd,0ms))}
.site.recruit .rc-head>p{--hd:120ms}
.site.recruit .rc-head.is-in>:is(h2,p){clip-path:inset(-10% -2% -10% 0)}
/* 中央組みの Casual Talk は、文字の幅だけをワイプする */
.site.recruit .rc-reveal .casual-section-head>*{width:fit-content;max-width:100%;margin-inline:auto}
.site.recruit .rc-reveal .rc-rise{opacity:0;transform:translate3d(0,16px,0);transition:opacity 800ms cubic-bezier(.23,1,.32,1) var(--rd,0ms),transform 800ms cubic-bezier(.23,1,.32,1) var(--rd,0ms)}
.site.recruit .rc-reveal .casual-entry.rc-rise{transition:opacity 800ms cubic-bezier(.23,1,.32,1) var(--rd,0ms),transform 800ms cubic-bezier(.23,1,.32,1) var(--rd,0ms),background-color 200ms ease-out}
.site.recruit .rc-reveal .rc-rise.is-in{opacity:1;transform:none}
/* 一覧（#job-results）は既存の id 指定（opacity:1）より強く指定する */
.site.recruit #positions.rc-reveal #job-results.rc-rise{opacity:0;transform:translate3d(0,16px,0);transition:opacity 800ms cubic-bezier(.23,1,.32,1) var(--rd,0ms),transform 800ms cubic-bezier(.23,1,.32,1) var(--rd,0ms)}
.site.recruit #positions.rc-reveal #job-results.rc-rise.is-in{opacity:1;transform:none}

/* ヒーローの RECRUIT（Recruit Title Lab E）: 帯が通ったところから SVG を見せる（recruit-interactions.js の drawRecruitTitle が
   clip-path を 1 コマずつ広げる）。描き終わるまでは右端まで切り抜いて隠す（最初のコマから隠すため、JS のクラスを待たない。上の HE-2 と同じ） */
.site.recruit .recruit-hero h1{position:relative}
@media(prefers-reduced-motion:no-preference){
  .site.recruit .recruit-hero:not(.is-static) h1:not(.is-drawn) .recruit-title-art{clip-path:inset(-1px 100% -1px 0)}
}

/* Group Deck — Inc と同じ対策。710:399 の枠に iframe を枠いっぱいで重ね、埋め込み内のドラッグやスクロールで中身が動かないようにする。
   大きい画面の拡大表示（html の zoom）では iframe だけ拡大を打ち消して実寸で描かせ、その分だけ幅・高さを大きくする（枠の大きさは recruit-interactions.js の bindDeckSize） */
.site.recruit #deck-view{position:relative;aspect-ratio:710/399;overflow:hidden;overscroll-behavior:contain;border-radius:4px;background:#111}
.site.recruit #deck-view .deck-player{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;overflow:hidden;border-radius:0}
html[data-scaled] .site.recruit #deck-view .deck-player{
  zoom:calc(1 / var(--design-scale));
  inset:auto;top:0;left:0;
  width:calc(var(--deck-w,710px) * var(--design-scale));
  height:calc(var(--deck-h,399px) * var(--design-scale));
}

/* --- 印刷・PDF 保存: 採用ページの出現演出を解除する（方針は styles.css の同じ見出し） --- */
@media print{
  .site.recruit .recruit-hero :is(.recruit-kicker,h2,.message,.hero-actions){visibility:visible!important;opacity:1!important;transform:none!important}
  .site.recruit .recruit-hero .inc-line{clip-path:none!important}
  .site.recruit .recruit-hero h1 .recruit-title-art{clip-path:none!important}
  .site.recruit .rc-head>:is(h2,p){clip-path:none!important}
  .site.recruit .rc-reveal .rc-rise{opacity:1!important;transform:none!important}
  .site.recruit .job-filters{position:static!important}
}
