/* 共通：souchi／jigu／buhin／robot／company／contact／privacy のヘッダー・ナビ・ホバーメニュー・モバイルメニュー */
:root{
  --ink:#16232E; --steel:#3A5169; --paper:#EDEFF1; --paper-alt:#F7F7F5;
  --brass:#B8823D; --brass-dark:#96692F; --line-blue:#2F6FA6;
  --text:#1B222A; --muted:#5B6672;
  --hairline: rgba(22,35,46,0.14); --hairline-strong: rgba(22,35,46,0.28);
}
*{box-sizing:border-box;}
body{ margin:0; background:var(--paper); color:var(--text); font-family:'Noto Sans JP', sans-serif; -webkit-font-smoothing:antialiased; }
h1,h2,h3{ font-family:'Zen Kaku Gothic New','Noto Sans JP',sans-serif; font-weight:700; margin:0; letter-spacing:0.01em; }
.mono{ font-family:'JetBrains Mono', monospace; letter-spacing:0.02em; }
a{ color:inherit; text-decoration:none; }
img{ display:block; max-width:100%; height:auto; }
.wrap{ max-width:1180px; margin:0 auto; padding:0 32px; }

header{ position:fixed; top:0; left:0; right:0; z-index:100; background:rgba(237,239,241,0.92); backdrop-filter:blur(8px); border-bottom:1px solid var(--hairline); }
.header-inner{ max-width:1180px; margin:0 auto; padding:0 32px; display:flex; align-items:center; justify-content:space-between; height:72px; }
.logo img{ height:40px; width:auto; }
nav{ display:flex; align-items:center; gap:6px; }
nav a.navlink{ padding:10px 16px; font-size:14.5px; font-weight:500; color:var(--text); border-radius:3px; position:relative; }
nav a.navlink.active{ color:var(--ink); font-weight:700; }
nav a.navlink.active::after{ content:""; position:absolute; left:16px; right:16px; bottom:6px; height:2px; background:var(--brass); }
nav a.navlink:hover{ color:var(--line-blue); }
.cta-recruit{ margin-left:14px; padding:10px 18px; background:var(--ink); color:#fff !important; font-size:13.5px; font-weight:700; border-radius:2px; border:1px solid var(--ink); white-space:nowrap; }
.cta-recruit:hover{ background:var(--brass-dark); border-color:var(--brass-dark); }
.menu-toggle{ display:none; width:34px; height:34px; border:none; background:none; cursor:pointer; margin-left:10px; flex-direction:column; justify-content:center; align-items:center; gap:5px; }
.menu-toggle span{ display:block; width:22px; height:2px; background:var(--ink); }
.mobile-nav{ display:none; position:fixed; top:72px; left:0; right:0; background:var(--paper); border-bottom:1px solid var(--hairline-strong); padding:8px 20px 20px; z-index:99; }
.mobile-nav.is-open{ display:block; }
/* header hover sub menu */
.hover-subnav{
  position:absolute; top:100%; left:0; right:0;
  background:var(--paper); border-top:1px solid var(--hairline); border-bottom:1px solid var(--hairline-strong);
  box-shadow:0 10px 20px rgba(22,35,46,0.08);
  opacity:0; visibility:hidden; transform:translateY(-4px);
  transition:opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index:90;
}
.hover-subnav.is-open{ opacity:1; visibility:visible; transform:translateY(0); }
.hover-subnav-panel{ display:none; }
.hover-subnav-panel.is-active{ display:block; }
.hover-subnav-inner{ max-width:1180px; margin:0 auto; padding:0 32px; display:flex; gap:2px; overflow-x:auto; }
.hover-subnav-inner a{
  flex:0 0 auto;
  padding:16px 18px;
  font-size:13.5px; font-weight:500;
  color:var(--muted);
  border-bottom:3px solid transparent;
  white-space:nowrap;
}
.hover-subnav-inner a:hover{ color:var(--line-blue); }
.hover-subnav-inner a .mono{ color:var(--brass-dark); margin-right:7px; }
@media (max-width:900px){ .hover-subnav{ display:none; } }

.mobile-nav a{ display:block; padding:14px 4px; font-size:15.5px; font-weight:500; border-bottom:1px solid var(--hairline); color:var(--text); }

/* 複数ページで共有する規則（重複を、ここにまとめた） */
.crumb{ margin-top:0; padding:8px 0; font-size:12.5px; color:var(--muted); }
.crumb a:hover{ color:var(--line-blue); }
.banner .mono{ color:var(--brass-dark); font-size:13px; font-family:inherit; font-weight:700; letter-spacing:normal; }
.banner p{ margin-top:16px; font-size:14.5px; color:var(--muted); line-height:1.9; max-width:640px; }
.footer-ribbon{
  position:absolute; left:-60px; bottom:-80px; width:340px; height:340px;
  background:linear-gradient(135deg, var(--line-blue) 0%, var(--line-blue) 40%, transparent 41%);
  opacity:0.25; transform:rotate(-18deg); pointer-events:none;
}
.footer-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:48px; position:relative; }
.footer-logo{ display:inline-block; margin-bottom:22px; }
.footer-logo img{ height:34px; width:auto; display:block; }
.footer-addr{ font-size:13px; line-height:2; color:rgba(255,255,255,0.62); }
.footer-h{ font-size:13px; font-weight:700; color:#fff; margin-bottom:18px; letter-spacing:0.04em; }
.footer-links a{ display:block; font-size:13.5px; color:rgba(255,255,255,0.68); padding:7px 0; }
.footer-links a:hover{ color:var(--brass); }
.footer-cta{
  display:inline-block; margin-top:6px; padding:12px 22px;
  background:var(--brass); color:var(--ink) !important; font-weight:700; font-size:13.5px;
}
.footer-bottom{
  margin-top:40px; padding-top:18px; border-top:1px solid rgba(255,255,255,0.14);
  display:flex; justify-content:space-between; font-size:12px; color:rgba(255,255,255,0.45);
  position:relative;
}
.jumpnav{ position:sticky; top:72px; margin-top:72px; z-index:50; background:var(--paper); border-bottom:1px solid var(--hairline-strong); }
.jumpnav-inner{ max-width:1180px; margin:0 auto; padding:0 32px; display:flex; gap:2px; overflow-x:auto; }
.jumpnav a{
  flex:0 0 auto;
  padding:16px 18px;
  font-size:13.5px; font-weight:500;
  color:var(--muted);
  border-bottom:3px solid transparent;
  white-space:nowrap;
}
.jumpnav a.is-active{ color:var(--ink); font-weight:700; border-bottom-color:var(--brass); }
.jumpnav a:hover{ color:var(--line-blue); }
.jumpnav a .mono{ color:var(--brass-dark); margin-right:7px; }
.footer-badges{ display:flex; flex-wrap:wrap; align-items:center; gap:16px; margin-top:22px; }
.footer-badges img{ display:block; height:auto; }
.footer-badge-group{ width:160px; }
.footer-badge-mirai{ width:220px; }
.footer-grid > div{ min-width:0; }
.footer-badges a{ display:block; }
.cta-recruit .arrow{ font-family:sans-serif; }
.industry-list li{
  break-inside:avoid;
  display:flex; align-items:baseline; gap:12px;
  padding:13px 0;
  border-bottom:1px solid var(--hairline);
  font-size:14.5px; color:var(--text);
}
.industry-list li::before{
  content:"―";
  color:var(--brass);
  font-weight:700;
  flex:0 0 auto;
}

@media (max-width:900px) {
  .footer-grid{ grid-template-columns:1fr 1fr; gap:36px 24px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child{ grid-column:1 / -1; }
  .crumb{ padding:6px 0; }
}

/* 複数ページで共有する規則（基本の規則と、スマホ幅の規則） */
.banner h1{ font-size:32px; color:var(--ink); margin-top:14px; line-height:1.5; }
footer{
  background:var(--ink); color:rgba(255,255,255,0.82);
  padding:56px 0 18px; position:relative; overflow:hidden;
}
footer{ margin-top:40px; }
html{ scroll-behavior:smooth; }
@media (max-width:900px) {
  .logo img{ height:auto; width:clamp(150px, 40vw, 190px); }
  .banner h1{ font-size:24px; }
  footer{ margin-top:28px; }
  nav a.navlink{ display:none; }
  .cta-recruit{ margin-left:auto; }
  .menu-toggle{ display:flex; }
}
