/* ============================================================
   Huckster,Inc. RECRUIT SITE — shared stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700;900&family=Archivo+Black&display=swap');

:root{
  --navy: #07519C;
  --navy-deep: #043868;
  --navy-darker: #032a4e;
  --navy-ghost: #7FA6D2;
  --teal: #00FFD7;
  --teal-bright: #00FFD7;
  --orange: #EA6111;
  --orange-deep: #C94F0A;
  --white: #FFFFFF;
  --ink: #07519C;
  --line: rgba(255,255,255,0.25);
  --marquee-mint: #B4FDF0;
  --marquee-muted: rgba(255,255,255,.4);
  --marquee-muted-onwhite: rgba(7,81,156,.12);

  --font-jp: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  --font-display: 'Archivo Black', 'Zen Kaku Gothic New', sans-serif;

  --container: 1180px;
  --header-h: 68px;
  --radius-card: 20px;
  --radius-btn: 8px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body{
  margin: 0;
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4,p{ margin: 0; }
button{ font-family: inherit; cursor: pointer; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- focus visibility ---------- */
a:focus-visible, button:focus-visible{
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* ---------- Header ---------- */
.site-header{
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--header-h);
  display: flex; align-items: center;
  background: var(--navy);
}
.site-header .container{
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.brand{ display: flex; flex-direction: column; gap: 1px; line-height: 1.15; }
.brand-name{
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--white);
  letter-spacing: .01em;
}
.brand-sub{
  font-size: 9.5px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .04em;
}
.header-right{ display: flex; align-items: center; gap: 14px; }
.btn-entry-header{
  display: inline-flex; align-items: center; justify-content: center;
  border: none;
  color: var(--orange);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: var(--radius-btn);
  background: var(--white);
  white-space: nowrap;
  transition: opacity .2s;
}
.btn-entry-header:hover{ opacity: .85; }

.menu-toggle{
  width: 44px; height: 44px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: none; border: none; padding: 0;
}
.menu-toggle span{
  display: block; width: 24px; height: 2px; background: var(--white);
  transition: transform .25s ease, opacity .25s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- Global nav (drawer on mobile, inline on desktop) ---------- */
.global-nav{
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(86vw, 380px);
  background: var(--white);
  z-index: 600;
  padding: 28px 32px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s ease;
  box-shadow: -8px 0 24px rgba(0,0,0,0.12);
}
.global-nav.is-open{ transform: translateX(0); }
.nav-drawer-head{ display:flex; align-items:center; justify-content: space-between; margin-bottom: 40px; }
.nav-close{ width: 32px; height: 32px; border: none; background: none; position: relative; }
.nav-close::before, .nav-close::after{
  content: ''; position: absolute; left: 4px; right: 4px; top: 50%; height: 2px; background: var(--navy);
}
.nav-close::before{ transform: rotate(45deg); }
.nav-close::after{ transform: rotate(-45deg); }

.nav-top-link{
  display: block; font-family: var(--font-display);
  font-size: 26px; color: var(--navy); margin-bottom: 26px;
}
.nav-group{ border-left: 2px solid var(--navy); padding-left: 16px; margin-bottom: 26px; }
.nav-group-label{ font-size: 14px; color: var(--navy); opacity: .6; margin-bottom: 10px; }
.nav-group a{
  display: block; font-weight: 700; font-size: 17px; color: var(--navy);
  padding: 7px 0;
}
.nav-group a:hover{ color: var(--orange); }
.nav-entry-link{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 28px; color: var(--teal);
  margin-top: 10px;
  border-bottom: 2px solid var(--teal);
  padding-bottom: 6px;
}

.nav-overlay{
  position: fixed; inset: 0; background: rgba(4,40,80,0.4); z-index: 550;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.nav-overlay.is-open{ opacity: 1; pointer-events: auto; }

@media (min-width: 1024px){
  .menu-toggle, .nav-close, .nav-overlay{ display: none; }
  .global-nav{
    position: static; transform: none; width: auto; box-shadow: none;
    padding: 0; display: flex; align-items: center; gap: 34px;
    background: transparent; overflow: visible;
  }
  .nav-drawer-head{ display: none; }
  .nav-top-link{ font-size: 14.5px; margin: 0; font-weight: 700; font-family: var(--font-jp); color: var(--white); }
  .nav-group{ border: none; padding: 0; margin: 0; position: relative; }
  .nav-group-label{ display: none; }
  .nav-group > span.nav-group-label-desktop{
    display: block; font-size: 14.5px; font-weight: 700; color: var(--white); cursor: default;
    padding: 24px 4px;
  }
  .nav-group ul{
    display: block; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    background: var(--white); box-shadow: 0 10px 24px rgba(4,45,90,.15);
    border-radius: 4px; padding: 10px 0; min-width: 220px;
    opacity: 0; visibility: hidden; transition: opacity .18s ease;
  }
  .nav-group:hover ul, .nav-group:focus-within ul{ opacity: 1; visibility: visible; }
  .nav-group ul li a{ padding: 10px 20px; white-space: nowrap; font-size: 14px; }
  .nav-group ul li a:hover{ background: rgba(0,230,200,.12); }
  .site-header .container{ gap: 24px; }
  .header-nav-wrap{ display: flex; align-items: center; gap: 30px; flex: 1; justify-content: center; }
  .nav-entry-link{ display: none; }
}

/* ---------- Step / dash decoration ---------- */
.step-decor{
  display: flex; align-items: flex-end; gap: 40px;
  height: 124px;
  margin: 24px 0 0 36%;
}
.step-decor span{
  display: block;
  width: 50px;
  height: 20px;
  border-radius: 999px;
  background: var(--teal);
}
.step-decor span:nth-child(1){ align-self: flex-start; }
.step-decor span:nth-child(2){ align-self: center; }
.step-decor span:nth-child(3){ align-self: flex-end; }
.step-decor span:nth-child(4){ align-self: flex-end; }
.step-decor span:nth-child(1){ transform: translateY(-24px); }
.step-decor.step-decor--right{ justify-content: flex-end; }
.step-decor.mix span:nth-child(2){ background: var(--orange); }

/* reversed stagger: first (leftmost) block low, last (rightmost) block high —
   reads as descending from upper-right to lower-left */
.step-decor--rev{ align-items: flex-start; }
.step-decor--rev span:nth-child(1){ align-self: flex-end; }
.step-decor--rev span:nth-child(2){ align-self: center; }
.step-decor--rev span:nth-child(3){ align-self: flex-start; }
.step-decor--rev span:nth-child(4){ align-self: flex-start; }
.step-decor--rev span:nth-child(1){ transform: translateY(24px); }

/* ENTRY dash: orange (bottom) to teal (top) gradient across the 4 steps */
.step-decor--entry-gradient span:nth-child(1){ background: var(--orange); }
.step-decor--entry-gradient span:nth-child(2){ background: #9D9552; }
.step-decor--entry-gradient span:nth-child(3){ background: #50C994; }
.step-decor--entry-gradient span:nth-child(4){ background: #00FFD7; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15px;
  padding: 15px 28px;
  border-radius: var(--radius-btn);
  border: 1.5px solid transparent;
  transition: opacity .2s, background .2s, color .2s;
}
.btn-solid-orange{ background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-solid-orange:hover{ background: var(--orange-deep); border-color: var(--orange-deep); }
.btn-outline-orange{ background: var(--white); color: var(--orange); border-color: var(--orange); }
.btn-outline-orange:hover{ background: var(--orange); color: var(--white); }
.btn-outline-white{ background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover{ background: var(--white); color: var(--navy); }
.btn-solid-white{ background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-solid-white:hover{ opacity: .85; }
.btn-tag{
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--teal); color: var(--navy-deep);
  font-weight: 700; font-size: 17px;
  padding: 12px 26px; border-radius: var(--radius-btn);
  margin: 0;
}
.btn-tag--xl{ font-size: 31px; padding: 20px 40px; }
.btn-block{ width: 100%; }
.btn-arrow::after{ content: '›'; font-size: 20px; line-height: 1; margin-left: 2px; }

/* ---------- Section helpers ---------- */
main{ padding-top: var(--header-h); }
.section{ padding: 72px 0; position: relative; }
.section--navy{ background: var(--navy); color: var(--white); }
.section--white{ background: var(--white); color: var(--navy); }
.eyebrow-tag{
  display: inline-block; background: var(--teal); color: var(--navy-deep);
  font-weight: 700; font-size: 14px; padding: 9px 20px; border-radius: var(--radius-btn);
  margin: 0 0 20px;
}
.eyebrow-tag--lg{ font-size: 21px; padding: 13px 28px; }
.eyebrow-tag.floating{
  position: absolute; z-index: 3;
}
.section-heading{
  font-family: var(--font-jp); font-weight: 900;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.4;
  margin-bottom: 20px;
}
.section-lead{ font-size: 16px; line-height: 2; margin-bottom: 32px; }
.section--navy .section-lead{ opacity: .92; }

.marquee-heading{
  font-family: var(--font-display);
  font-size: clamp(38px, 9vw, 84px);
  color: var(--marquee-mint);
  white-space: nowrap;
  letter-spacing: .01em;
  line-height: 1;
  flex: 0 0 auto;
  padding-right: 1em;
}
.marquee-heading--onwhite{ color: var(--marquee-muted-onwhite); }
.marquee-heading--muted{ color: var(--marquee-muted); }

/* full-bleed marquee strip (breaks out of container) */
.marquee-bleed{
  width: 100vw; position: relative; left: 50%; right: 50%;
  margin-left: -50vw; margin-right: -50vw;
  overflow: hidden;
}

/* auto-scrolling marquee track: duplicate content inside, animate -50% */
.marquee-track{
  display: flex;
  width: max-content;
  animation: marquee-scroll 22s linear infinite;
}
@keyframes marquee-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation: none; }
}

/* straddling two-line heading: line 1 sits in a navy section, line 2 in the
   following white section, so together they read as one heading */
.straddle-line{
  font-family: var(--font-display);
  font-size: clamp(38px, 9vw, 84px);
  line-height: 1.08;
  letter-spacing: .01em;
  text-align: right;
}
.straddle-line--navy{ color: var(--white); }
.straddle-line--white{ color: var(--navy); }

/* ---------- Hero ---------- */
.hero{
  background: var(--navy);
  color: var(--white);
  padding: 16px 0 0;
  overflow: hidden;
}
.hero-frame{ position: relative; }
.hero-media{
  margin-left: 27%;
  width: 73%;
  border-radius: 26px; overflow: hidden; aspect-ratio: 1326 / 822; position: relative;
}
.hero-media img{ width: 100%; height: 100%; object-fit: cover; display: block; }

/* hero slideshow: 3 images cross-fading, ~3s each, pure CSS */
.hero-media .hero-slide{
  position: absolute; inset: 0;
  opacity: 0;
  animation: hero-fade 18s infinite;
}
.hero-media .hero-slide:nth-child(1){ animation-delay: 0s; }
.hero-media .hero-slide:nth-child(2){ animation-delay: 6s; }
.hero-media .hero-slide:nth-child(3){ animation-delay: 12s; }
@keyframes hero-fade{
  0%{ opacity: 0; }
  16.67%{ opacity: 1; }
  33.33%{ opacity: 1; }
  50%{ opacity: 0; }
  100%{ opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .hero-media .hero-slide{ animation: none; opacity: 0; }
  .hero-media .hero-slide:first-child{ opacity: 1; }
}
.hero-copy{
  position: absolute; left: 24px; top: 40%; z-index: 2;
  max-width: calc(100% - 48px);
}
.hero-copy h1{
  font-family: var(--font-jp); font-weight: 900;
  font-size: clamp(30px, 9vw, 52px);
  line-height: 1.32;
  text-shadow: 0 2px 20px rgba(4,30,60,.3);
  white-space: nowrap;
}
@media (min-width: 640px){
  .hero-copy{ top: 40%; }
}
@media (min-width: 900px){
  .hero-media{ margin-left: 23%; width: 77%; }
  .hero-copy{ top: 38%; }
  .hero-copy h1{ font-size: clamp(40px, 4.8vw, 66px); }
}

/* ---------- Message section ---------- */
.message-block{ display: flex; flex-direction: column; gap: 24px; }
.message-media{ border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 1160 / 680; }
.message-media img{ width: 100%; height: 100%; object-fit: cover; }
.message-copy{ text-align: left; }
.message-copy .eyebrow-tag{ margin-bottom: 18px; }
.message-copy h2{
  font-family: var(--font-jp); font-weight: 900;
  font-size: clamp(24px, 3.4vw, 32px);
  line-height: 1.5; margin: 0 0 18px;
}
.message-copy h2.eyebrow-tag{
  font-family: var(--font-jp); font-weight: 700;
  font-size: 15.5px; line-height: normal; margin: 0 0 18px;
}
@media (min-width: 900px){
  .message-block{ flex-direction: row; align-items: center; gap: 0; }
  .message-media{ flex: 0 0 58%; margin-left: -24px; width: calc(58% + 24px); }
  .message-copy{
    flex: 1 1 auto;
    position: relative; z-index: 2;
    margin-left: -10%;
  }
  .message-copy h2,
  .message-copy .section-lead{
    text-shadow: 0 2px 6px rgba(0,0,0,.7), 0 1px 3px rgba(0,0,0,.9);
  }
}

/* ---------- Work intro cards (TOP) ---------- */
.work-cards{ display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 30px; }
/* こんなところにハックスター 直下の動画 */
.job-video-wrap{ margin-top: 40px; }
.job-video{
  max-width: 800px; margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: var(--radius-card);
  overflow: hidden;
}
.job-video iframe{ width: 100%; height: 100%; display: block; border: 0; }

/* 職種紹介への横長リンクカード (約800x300) */
.job-link-card{
  position: relative;
  display: flex; flex-direction: column;
  max-width: 800px; margin: 40px auto 0;
  background: var(--white); color: var(--navy);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(3,30,60,.18);
}
.job-link-card:hover{
  box-shadow: 0 14px 30px rgba(3,30,60,.18), 0 0 0 3px var(--orange);
}
.job-link-media{ aspect-ratio: 4/3; }
.job-link-media img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.job-link-body{ padding: 24px 26px; }
.job-link-body h3{ font-size: 40px; font-weight: 700; margin-bottom: 10px; line-height: 1.2; }
.job-link-body p{ font-size: 20px; line-height: 1.8; opacity: .85; }
@media (min-width: 640px){
  .job-link-card{ flex-direction: row; min-height: 300px; }
  .job-link-media{ flex: 0 0 45%; aspect-ratio: auto; height: 100%; }
  .job-link-body{ flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 32px 40px; }
}

.work-card{
  position: relative; border-radius: var(--radius-card); overflow: visible;
  background: var(--white); color: var(--navy);
  display: block;
  box-shadow: 0 14px 30px rgba(3,30,60,.18);
}
.work-card:hover{
  box-shadow: 0 14px 30px rgba(3,30,60,.18), 0 0 0 3px var(--orange);
}
.work-card-media{ position: relative; border-radius: var(--radius-card) var(--radius-card) 0 0; overflow: hidden; aspect-ratio: 4/3; background: var(--white); }
.work-card-media img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.work-card-media img[src$=".svg"]{ object-fit: contain; padding: 10px; }
.work-card-body{ position: relative; padding: 22px 26px 30px; }
.work-card-body h3{ font-size: 19px; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.work-card-body p{ font-size: 13.5px; line-height: 1.8; color: var(--navy); opacity: .85; }
.work-card-arrow{
  position: absolute; right: 20px; bottom: -22px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  box-shadow: 0 6px 14px rgba(0,0,0,.18);
  border: 2px solid var(--orange);
  transition: background .25s, color .25s;
}
.work-card:hover .work-card-arrow{
  background: var(--white); color: var(--orange);
}
@media (min-width: 800px){
  .work-cards{ max-width: 480px; margin-left: auto; margin-right: auto; }
}

/* Development number card (white card, ghost card behind, watermark numeral) */
.dev-card-wrap{ position: relative; margin-top: 138px; }
.dev-card-wrap::before{
  content: '';
  position: absolute; inset: 14px -14px -14px 14px;
  background: var(--navy-ghost);
  border-radius: var(--radius-card);
  z-index: 0;
}
.dev-card{
  position: relative; z-index: 1;
  background: var(--white); border-radius: var(--radius-card);
  padding: 30px 22px 26px;
  display: block; color: var(--navy);
  box-shadow: 0 14px 30px rgba(3,30,60,.18);
}
.dev-card-top{ position: relative; }
.dev-photo{ width: 100%; border-radius: 14px; overflow: hidden; aspect-ratio: 16/9; position: relative; }
.dev-photo img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.dev-play-btn{
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(3,30,60,.35);
}
.dev-play-btn::after{
  content: ''; width: 0; height: 0;
  border-style: solid; border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--orange);
  margin-left: 4px;
}
.dev-caption{ margin-top: 18px; font-size: 13.5px; line-height: 1.8; color: var(--navy); }
@media (min-width: 640px){
  .dev-label{ padding-top: 44px; }
}

/* ---------- Staff/Environment split ---------- */
.split-block{ display: flex; flex-direction: column; }
.split-media{ aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius-card); }
.split-media img{ width: 100%; height: 100%; object-fit: cover; }
.split-copy{ background: var(--white); color: var(--navy); padding: 40px 24px; }
.split-copy h2{ font-size: clamp(24px,3.2vw,30px); font-weight: 900; margin-bottom: 16px; }
.split-copy p{ font-size: 14.5px; line-height: 2; margin-bottom: 22px; }
.split-actions{ display: flex; flex-direction: column; gap: 12px; max-width: 320px; }
@media (min-width: 900px){
  .split-block{ flex-direction: row; align-items: stretch; }
  .split-media, .split-copy{ flex: 1; }
  .split-media{ aspect-ratio: auto; }
  .split-copy{ padding: 60px; display: flex; flex-direction: column; justify-content: center; }
}

/* ---------- Recruit info CTA band (single navy section) ---------- */
.recruit-section{ padding-top: 120px; padding-bottom: 0; }
.recruit-top{
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
}
@media (min-width: 640px){
  .recruit-top{ flex-direction: row; align-items: center; justify-content: space-between; }
}
.btn-cta-standout{
  background: var(--orange); color: var(--white); border-color: var(--orange);
  font-weight: 700; box-shadow: 0 10px 24px rgba(234,97,17,.4);
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn-cta-standout:hover{
  background: var(--white); color: var(--orange); border-color: var(--orange);
  opacity: 1;
  transform: translateY(-2px); box-shadow: 0 14px 30px rgba(234,97,17,.5);
}
.recruit-marquee{
  font-family: var(--font-display); font-size: clamp(30px,7vw,60px);
  color: var(--marquee-muted);
  padding: 39px 0; margin-top: 45px; white-space: nowrap; overflow: hidden; letter-spacing: .01em;
}

/* ---------- ENTRY footer section (white bg) ---------- */
.entry-section{ background: var(--white); padding: 72px 0 0; color: var(--navy); }
.entry-title-link{ display: inline-block; }
.entry-title{
  font-family: var(--font-display); font-size: clamp(42px,8vw,64px);
  color: var(--orange); margin-bottom: 4px; transition: color .25s;
}
.entry-title-link:hover .entry-title{ color: var(--teal); }
.entry-arrow{ display: block; width: min(100%, 840px); height: 22px; margin-bottom: 66px; }
.entry-arrow .arrow-base{ stroke: var(--orange); }
.entry-arrow .arrow-sweep{
  stroke: var(--teal);
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset .7s ease;
}
.entry-title-link:hover .entry-arrow .arrow-sweep{
  stroke-dashoffset: 0;
}

.footer-brand{ padding-bottom: 26px; }
.footer-brand .brand{ flex-direction: row; align-items: baseline; gap: 12px; }
.footer-brand .brand-name{ color: var(--navy); font-size: 21px; margin-right: 4px; }
.footer-brand .brand-sub{ color: var(--navy); font-size: 11px; }

.footer-nav{
  display: grid; grid-template-columns: repeat(2,1fr); gap: 24px 16px;
  border-top: 1px solid rgba(7,81,156,.15); padding: 28px 0 50px;
  font-size: 13px; color: var(--navy);
}
.footer-nav dt{ opacity: .55; margin-bottom: 10px; font-weight: 500; }
.footer-nav dd{ margin: 0 0 8px; }
.footer-nav a:hover{ color: var(--orange); }
.footer-nav .col-top{ font-family: var(--font-jp); font-weight: 700; }

.site-footer{ background: var(--navy); color: var(--white); }
.footer-bottom{
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; flex-wrap: wrap; gap: 10px;
  font-size: 12px;
}
.footer-bottom nav{ display: flex; gap: 20px; }
.footer-bottom a:hover{ color: var(--teal); }

@media (min-width: 700px){
  .footer-nav{ grid-template-columns: repeat(5,1fr); }
  .footer-nav > div{ border-left: 1px solid rgba(7,81,156,.15); padding-left: 20px; }
  .footer-nav > div:first-child{ border-left: none; padding-left: 0; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero{ background: var(--navy); color: var(--white); padding: 48px 0 44px; }
.page-hero h1{ font-size: clamp(28px,4.6vw,44px); font-weight: 900; }
.page-hero-lead{ margin-top: 20px; font-size: 15px; line-height: 2; opacity: .92; max-width: 720px; }

/* ---------- Isometric illustration block (about-work) ---------- */
.iso-wrap{ position: relative; padding: 30px 0; }
.iso-media-bleed{
  width: 80vw; max-width: 80vw;
  position: relative; left: 50%;
  margin-left: -40vw;
}
@media (max-width: 900px){
  .iso-media-bleed{
    width: 100vw; max-width: 100vw;
    margin-left: -50vw;
  }
  .iso-illustration-crop{
    height: 60vh;
    overflow: hidden;
  }
  .iso-illustration{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.iso-illustration{
  display: block;
  width: 100%;
  border-radius: var(--radius-card);
}
.iso-overlay{
  position: absolute;
  top: -12%; left: -10%;
  width: 15.4%;
  z-index: 2;
  filter: drop-shadow(0 14px 26px rgba(3,30,60,.35));
}

/* 11 scattered decorative icons around the main illustration */
.iso-deco{
  position: absolute;
  z-index: 3;
  border-radius: 50%;
  filter: drop-shadow(0 10px 20px rgba(3,30,60,.3));
}
.iso-deco-0{  top: 65%; left: 82%; width: 20%;    transition-delay: 2s; }
.iso-deco-1{  top: -8%; left: 4%;  width: 20%; }
.iso-deco-2{  top: 6%;  left: 34%; width: 12.6%; }
.iso-deco-3{  top: 2%;  left: 57%; width: 20%; }
.iso-deco-4{  top: 8%;  left: 82%; width: 12.6%; }
.iso-deco-5{  top: 32%; left: 18%; width: 12.6%;  transition-delay: 2s; }
.iso-deco-6{  top: 35%; left: 40%; width: 20%;    transition-delay: 2s; }
.iso-deco-7{  top: 40%; left: 70%; width: 12.6%;  transition-delay: 2s; }
.iso-deco-8{  top: 63%; left: -1%; width: 20%;    transition-delay: 2s; }
.iso-deco-9{  top: 78%; left: 30%; width: 12.6%;  transition-delay: 2s; }
.iso-deco-10{ top: 74%; left: 66%; width: 12.6%;  transition-delay: 2s; }

@media (max-width: 900px){
  /* bigger, easier-to-tap badges on mobile */
  .iso-deco-0, .iso-deco-1, .iso-deco-3, .iso-deco-6, .iso-deco-8{ width: 28%; }
  .iso-deco-2, .iso-deco-4, .iso-deco-5, .iso-deco-7, .iso-deco-9, .iso-deco-10{ width: 18%; }
  /* "スーパー"バッジが画面内に収まるよう位置調整 */
  .iso-deco-0{ top: 60%; left: 62%; }
  /* m06がスーパーと重なっていたので離す */
  .iso-deco-10{ top: 80%; left: 5%; }
  .iso-deco-8{ top: 50%; left: 5%; }
}

/* scroll fade-in for the scattered badges */
.iso-overlay,
.iso-deco{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.iso-overlay.is-visible,
.iso-deco.is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 900px){
  .iso-deco.is-zoomed{
    transform: scale(2);
    z-index: 10;
  }
}
@media (prefers-reduced-motion: reduce){
  .iso-overlay, .iso-deco{ opacity: 1; transform: none; transition: none; }
}

.iso-tags{ display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }
.iso-tag{
  background: var(--teal); color: var(--navy-deep); font-weight: 700; font-size: 13.5px;
  padding: 8px 16px; border-radius: 999px;
}

/* ---------- Department cards (jobs page) ---------- */
.dept-list{ display: flex; flex-direction: column; gap: 40px; margin-top: 40px; }
.dept-card{ display: flex; flex-direction: column; gap: 18px; }
.dept-tag{
  display: inline-block; background: var(--teal); color: var(--navy-deep);
  font-weight: 700; font-size: 27px; padding: 10px 22px; border-radius: 4px; align-self: flex-start;
}
.dept-media{ aspect-ratio: 4/3; overflow: hidden; border-radius: 4px; }
.dept-media img{ width: 100%; height: 100%; object-fit: cover; }
.dept-copy h3{ font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.dept-copy p{ font-size: 14px; line-height: 1.9; opacity: .95; }
@media (min-width: 860px){
  .dept-card{ flex-direction: row; align-items: center; gap: 40px; }
  .dept-card:nth-child(even){ flex-direction: row-reverse; }
  .dept-media, .dept-copy{ flex: 1; }
}

/* ---------- Numbers / donut charts (culture page) ---------- */
.numbers-grid{
  display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 30px;
}
.number-card{
  background: rgba(255,255,255,.06); border: 1px solid var(--line);
  border-radius: 6px; padding: 18px; text-align: center;
}
.number-card .label{ font-size: 15px; opacity: .92; margin-bottom: 8px; font-weight: 600; }
.number-card .value{ font-family: var(--font-display); font-size: clamp(24px,3.6vw,34px); color: var(--white); }
.number-card .value small{ font-size: 16px; font-family: var(--font-jp); font-weight: 700; margin-left: 3px; }
.donut-card{ display: flex; flex-direction: column; align-items: center; gap: 10px; }
.donut{
  width: 190px; height: 190px; border-radius: 50%; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.donut span{ font-size: 24px; font-weight: 700; color: var(--white); }
.donut-legend{
  font-size: 13.5px; line-height: 2; color: var(--white); opacity: .9;
  text-align: left;
}
.donut-legend .legend-row{ display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.legend-dot{
  display: inline-block; width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0;
}
.legend-dot-1{ background: #00E6C8; }
.legend-dot-2{ background: #EA6111; }
.legend-dot-3{ background: #7FA6D2; }
.legend-dot-4{ background: #C94F0A; }
.legend-dot-5{ background: #54566D; }

.donut-grid{
  display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 30px;
}
.donut-grid .number-card{ padding: 28px 20px; }
.donut-grid .label{ font-size: 16px; margin-bottom: 14px; }

.number-card--wide{ grid-column: 1 / -1; text-align: left; }
.number-card--span2{ grid-column: span 2; text-align: left; }
.number-card--compact{ padding: 14px 18px; }

/* 8-year revenue trend bar chart */
.revenue-chart{
  display: flex; align-items: flex-start; justify-content: center; gap: 1px;
  margin-top: 22px;
}
.revenue-bar-col{
  flex: 0 0 auto; width: 60px;
  display: flex; flex-direction: column; align-items: center;
}
.revenue-value{
  position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
  margin-bottom: 4px;
  font-size: 12px; font-weight: 700; color: var(--teal); white-space: nowrap;
}
.revenue-bar-track{
  width: 100%; height: 120px;
  display: flex; align-items: flex-end; justify-content: center;
}
.revenue-bar{
  position: relative;
  width: 100%; max-width: 34px; background: var(--teal); border-radius: 4px 4px 0 0;
  min-height: 4px;
}
.revenue-bar--down{ background: var(--orange); }
.revenue-year{ font-size: 11.5px; opacity: .75; margin-top: 8px; }
@media (min-width: 500px){
  .revenue-value{ font-size: 13.5px; }
  .revenue-year{ font-size: 12.5px; }
}
.number-card--wide .value-list{
  font-size: 14px; line-height: 2; color: var(--white); opacity: .95;
  font-family: var(--font-jp); margin-top: 6px;
}
.image-tag-list{
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px;
}
.image-tag{
  background: rgba(255,255,255,.1); border: 1px solid var(--teal);
  color: var(--white); font-size: 13.5px; font-weight: 500;
  padding: 8px 16px; border-radius: 999px;
}
@media (min-width: 700px){ .numbers-grid{ grid-template-columns: repeat(3,1fr); } }

/* ---------- Employee voice cards ---------- */
.voice-list{ display: flex; flex-direction: column; gap: 28px; margin-top: 32px; }
.voice-card{
  display: flex; gap: 18px; align-items: flex-start;
  border: 1.5px solid var(--teal); border-radius: 6px; padding: 22px;
}
.voice-photo{ width: 68px; height: 68px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.voice-photo img{ width: 100%; height: 100%; object-fit: cover; }
.voice-meta{ display: flex; gap: 10px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.voice-dept-tag{
  background: var(--teal); color: var(--navy-deep); font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 2px;
}
.voice-name{ font-size: 13px; opacity: .85; }
.voice-quote{ font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.voice-body{ font-size: 13.5px; line-height: 1.9; opacity: .92; }

/* ---------- Benefits table ---------- */
.benefits-table{ margin-top: 30px; border-top: 1px solid var(--line); }
.benefit-row{
  display: flex; gap: 20px; padding: 18px 4px; border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.benefit-row dt{
  flex: 0 0 92px; font-weight: 700; color: var(--teal); font-size: 14px;
}
.benefit-row dd{ margin: 0; font-size: 13.5px; line-height: 1.85; opacity: .92; }

/* ---------- Requirements table (募集要項) ---------- */
/* multiple job postings on requirements.html */
.job-jump-nav{ display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.job-jump-nav a{
  display: inline-block; background: var(--white); border: 1.5px solid var(--navy);
  color: var(--navy); font-size: 13.5px; font-weight: 700;
  padding: 8px 16px; border-radius: 999px; transition: background .2s, color .2s;
}
.job-jump-nav a:hover{ background: var(--navy); color: var(--white); }

.job-postings{ display: flex; flex-direction: column; gap: 56px; margin-top: 8px; }
.job-posting{ scroll-margin-top: 90px; }
.job-posting-head{
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
  padding-bottom: 16px; border-bottom: 2px solid var(--navy);
}
.job-posting-head h2{ font-size: clamp(22px,3vw,28px); font-weight: 900; color: var(--navy); }
.job-employment-tag{
  display: inline-block; background: var(--orange); color: var(--white);
  font-size: 12.5px; font-weight: 700; padding: 6px 14px; border-radius: 999px;
}
.job-employment-tag--part{ background: var(--teal); color: var(--navy-deep); }

.req-table{ margin-top: 20px; border-top: 1px solid rgba(7,81,156,.15); }
.req-row{
  display: flex; flex-direction: column; gap: 6px; padding: 20px 4px;
  border-bottom: 1px solid rgba(7,81,156,.15);
}
.req-row dt{ font-weight: 700; color: var(--navy); font-size: 14px; }
.req-row dd{ margin: 0; font-size: 14.5px; line-height: 1.9; }
@media (min-width: 720px){
  .req-row{ flex-direction: row; }
  .req-row dt{ flex: 0 0 200px; }
  .req-row dd{ flex: 1; }
}

/* ---------- Flow steps (採用フロー) ---------- */
.flow-list{ margin-top: 30px; display: flex; flex-direction: column; }
.flow-step{ display: flex; gap: 20px; padding: 0 0 40px; position: relative; }
.flow-step:not(:last-child)::before{
  content:''; position:absolute; left: 23px; top: 52px; bottom: -4px; width: 2px;
  background: rgba(7,81,156,.2);
}
.flow-num{
  flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 16px;
  position: relative; z-index: 2;
}
.flow-copy h3{ font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.flow-copy p{ font-size: 14px; line-height: 1.85; opacity: .9; }

/* ---------- Breadcrumb ---------- */
.breadcrumb{ font-size: 12.5px; opacity: .8; margin-bottom: 14px; }
.breadcrumb a:hover{ text-decoration: underline; }

/* ---------- utility ---------- */
.mt-0{ margin-top: 0; }
.text-center{ text-align: center; }
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* ---------- site-wide scroll fade-in for content blocks ---------- */
.reveal{
  opacity: 0;
  transform: translateY(-24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
}
