  :root{
    --gold:#1E5AC8;
    --gold-light:#9DC0F7;
    --gold-dark:#0B3D91;
    --gold-050:#EFF4FC;
    --gold-100:#D6E4FA;
    --black-900:#0B2A5C;
    --dark-text-muted:#C3D3EF;
    --ink:#0A0A0A;
    --white:#FFFFFF;
    --gray-700:#3C4450;
    --gray-500:#6B7280;
    --gray-200:#E5E9EF;
    --line:#DCE6F5;
    --line-green:#06C755;
    --line-green-dark:#05B04A;
    --shadow: 0 20px 50px -25px rgba(10,10,10,0.35);
    --ease: cubic-bezier(.22,.61,.36,1);
  }

  *,*::before,*::after{ box-sizing:border-box; }
  html{ scroll-behavior:smooth; }
  @media (prefers-reduced-motion: reduce){
    html{ scroll-behavior:auto; }
    *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; }
  }
  body{
    margin:0;
    font-family:"Noto Sans JP", sans-serif;
    color:var(--ink);
    background:var(--white);
    line-height:1.85;
    -webkit-font-smoothing:antialiased;
  }
  img,svg{ display:block; max-width:100%; }
  a{ color:inherit; text-decoration:none; }
  ul{ margin:0; padding:0; list-style:none; }
  h1,h2,h3,h4,p{ margin:0; }
  button{ font-family:inherit; cursor:pointer; }
  input,select,textarea{ font-family:inherit; font-size:1rem; }

  .display{
    font-family:"Zen Kaku Gothic New", sans-serif;
    font-weight:900;
    letter-spacing:0.02em;
  }

  :focus-visible{
    outline:3px solid var(--gold-dark);
    outline-offset:3px;
  }

  .wrap{
    max-width:1120px;
    margin:0 auto;
    padding:0 24px;
  }

  .eyebrow{
    display:inline-flex;
    align-items:center;
    gap:10px;
    font-family:"Zen Kaku Gothic New", sans-serif;
    font-weight:700;
    font-size:0.8rem;
    letter-spacing:0.22em;
    color:var(--gold-dark);
    margin-bottom:18px;
  }
  .eyebrow::before{
    content:"";
    width:28px;
    height:2px;
    background:var(--gold-dark);
  }
  .eyebrow--light{ color:var(--gold-light); }
  .eyebrow--light::before{ background:var(--gold-light); }

  .section{
    padding:96px 0;
  }
  .section-head{
    max-width:640px;
    margin-bottom:44px;
  }
  .section-title{
    font-size:clamp(1.7rem, 3.2vw, 2.4rem);
    line-height:1.5;
  }
  .philosophy .section-head{ max-width:860px; }
  @media (min-width:721px){
    .philosophy .section-title{ white-space:nowrap; }
  }
  .recruit .section-head{ max-width:none; }
  @media (min-width:900px){
    .recruit-sub{ white-space:nowrap; }
  }

  .reveal{
    opacity:0;
    transform:translateY(28px);
    transition:opacity .8s var(--ease), transform .8s var(--ease);
  }
  .reveal.in-view{
    opacity:1;
    transform:translateY(0);
  }

  /* pop-in (staggered, bouncy) — used for RECRUIT items */
  .pop{
    opacity:0;
    transform:scale(0.9) translateY(10px);
    transition:opacity .5s var(--ease), transform .55s cubic-bezier(.34,1.56,.64,1);
  }
  .pop.in-view{
    opacity:1;
    transform:none;
  }
  .pop:nth-child(1){ transition-delay:.04s; }
  .pop:nth-child(2){ transition-delay:.11s; }
  .pop:nth-child(3){ transition-delay:.18s; }
  .pop:nth-child(4){ transition-delay:.25s; }
  .pop:nth-child(5){ transition-delay:.32s; }

  /* ---------- HEADER ---------- */
  header{
    position:fixed;
    top:0; left:0; right:0;
    z-index:100;
    background:rgba(255,255,255,0.86);
    backdrop-filter:blur(10px);
    border-bottom:1px solid transparent;
    transition:border-color .3s, box-shadow .3s, transform .35s var(--ease);
    will-change:transform;
  }
  header.scrolled{
    border-bottom-color:var(--line);
    box-shadow:0 8px 24px -18px rgba(10,10,10,0.35);
  }
  header.hidden{
    transform:translateY(-100%);
  }
  /* full-width header aligned with the hero's left edge (not the 1120px wrap) */
  .nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:76px;
    padding:0 clamp(28px, 4.5vw, 64px);
  }
  .logo{
    font-family:"Zen Kaku Gothic New", sans-serif;
    font-weight:900;
    font-size:1.3rem;
    letter-spacing:0.02em;
    display:flex;
    align-items:baseline;
  }
  .nav-right{
    display:flex;
    align-items:center;
    gap:28px;
  }
  .nav-links{
    display:flex;
    align-items:center;
    gap:36px;
    font-size:0.92rem;
    font-weight:500;
  }
  .nav-links a{
    position:relative;
    padding:6px 0;
  }
  .nav-links a::after{
    content:"";
    position:absolute; left:0; bottom:0;
    width:0; height:2px;
    background:var(--gold-dark);
    transition:width .25s var(--ease);
  }
  .nav-links a:hover::after{ width:100%; }

  /* 応募する: header 右端の四角枠ボタン */
  .nav-apply{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:9px 22px;
    border:1.5px solid var(--gold-dark);
    border-radius:6px;
    font-size:0.86rem;
    font-weight:700;
    color:var(--gold-dark);
    white-space:nowrap;
    transition:background .25s var(--ease), color .25s var(--ease);
  }
  .nav-apply:hover{
    background:var(--gold-dark);
    color:var(--white);
  }

  .menu-btn{
    display:none;
    width:40px; height:40px;
    border:none;
    background:none;
    position:relative;
  }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after{
    content:"";
    position:absolute;
    height:2px;
    border-radius:2px;
    background:var(--ink);
    transition:transform .25s, opacity .25s, width .25s, left .25s, right .25s;
  }
  /* 中段：一番長い（左右いっぱい）／未選択時は上下反転の向き */
  .menu-btn span{ top:19px; left:8px; right:8px; transform:scaleY(-1); }
  /* 上段：短く右寄せ */
  .menu-btn span::before{ top:-7px; right:8px; left:auto; width:11px; }
  /* 下段：短く左寄せ */
  .menu-btn span::after{ top:7px; left:8px; right:auto; width:11px; }
  /* open 時は元の向きに戻る（未選択と選択で上下が入れ替わる） */
  .menu-btn.open span{ transform:scaleY(1); }

  /* ---------- HERO (full-bleed photo, text over the faded-left area) ---------- */
  .hero{
    position:relative;
    overflow:hidden;
    min-height:660px;
    display:flex;
    align-items:center;
    background:#F3F7FD;
  }
  .hero-photo-wrap{
    position:absolute;
    inset:0;
    z-index:0;
  }
  .hero-photo-wrap picture{ display:block; width:100%; height:100%; }
  /* light wash on the left so the headline stays legible over the image */
  .hero-photo-wrap::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    background:linear-gradient(90deg,
      rgba(243,247,253,0.92) 0%,
      rgba(243,247,253,0.55) 24%,
      rgba(243,247,253,0) 50%);
  }
  .hero-photo{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:78% 50%;
    filter:saturate(1.05);
  }
  /* full-left copy block — not aligned to the 1120px wrap below */
  .hero-grid{
    position:relative;
    z-index:2;
    width:100%;
    align-self:center;
    padding:110px 24px 70px clamp(28px, 4.5vw, 64px);
  }
  .hero h1{
    font-size:clamp(2rem, 4.7vw, 3.9rem);
    line-height:1.3;
    letter-spacing:0.015em;
    color:#08183A;
  }
  .hero-line{
    display:block;
    white-space:nowrap;
  }
  /* hang the opening bracket so line starts flush left */
  .hero h1 .hero-line:first-child{ text-indent:-0.5em; }
  .hero h1 em{
    font-style:normal;
    color:var(--gold-dark);
    white-space:nowrap;
  }
  .hero-sub{
    margin-top:26px;
    font-size:1.02rem;
    color:#20304D;
    font-weight:500;
    max-width:460px;
  }
  .hero-actions{
    display:flex;
    align-items:center;
    gap:20px;
    margin-top:36px;
    flex-wrap:wrap;
  }
  /* buttons — sharp & flat (8px corners, solid fills, arrow slides on hover) */
  .btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:16px 28px;
    border-radius:8px;
    font-weight:700;
    font-size:0.95rem;
    border:1.5px solid transparent;
    white-space:nowrap;
    transition:background .2s, color .2s, border-color .2s;
  }
  .btn svg{ width:16px; height:16px; flex:none; }
  .btn svg[fill="none"]{ transition:transform .25s var(--ease); }
  .btn:hover svg[fill="none"]{ transform:translateX(4px); }
  .btn-primary{
    background:var(--gold-dark);
    color:var(--white);
  }
  .btn-primary:hover{ background:var(--gold); }

  /* LINE consultation button (brand green) */
  .btn-line{
    background:var(--line-green);
    color:var(--white);
  }
  .btn-line:hover{ background:var(--line-green-dark); }
  .btn-line svg{ width:16px; height:16px; }

  /* ---------- PHILOSOPHY ---------- */
  .philosophy{
    background:var(--white);
  }
  .creed-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:2px;
    background:var(--line);
    border:1px solid var(--line);
    margin-bottom:48px;
  }
  .creed{
    background:var(--white);
    padding:38px 40px;
  }
  .creed-num{
    font-family:"Zen Kaku Gothic New", sans-serif;
    font-weight:900;
    font-size:0.9rem;
    color:var(--gold-dark);
    letter-spacing:0.04em;
    display:inline-flex;
    align-items:baseline;
    gap:8px;
  }
  .creed-num b{ font-size:1.05rem; }
  .creed h3{
    font-family:"Zen Kaku Gothic New", sans-serif;
    font-weight:700;
    font-size:1.6rem;
    margin:12px 0 14px;
  }
  .creed p{
    color:var(--gray-700);
    font-size:0.96rem;
  }

  .message-box{
    position:relative;
    display:grid;
    grid-template-columns:320px 1fr;
    gap:52px;
    background:linear-gradient(160deg, #F4F8FE 0%, var(--gold-050) 100%);
    border:1px solid var(--line);
    border-radius:22px;
    padding:44px 52px 40px;
    overflow:hidden;
  }
  .message-box::before{
    content:"";
    position:absolute;
    top:0; left:0;
    width:6px; height:100%;
    background:linear-gradient(180deg, var(--gold-dark), var(--gold));
  }
  .message-side{ align-self:stretch; }
  .message-photo-wrap{ position:relative; height:100%; min-height:340px; }
  .message-photo-wrap::after{
    content:"";
    position:absolute;
    right:-12px; bottom:-12px;
    width:100%; height:100%;
    border-radius:16px;
    background:var(--gold-100);
    z-index:0;
  }
  .message-photo{
    position:relative;
    z-index:1;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:72% 18%;
    border-radius:16px;
    box-shadow:var(--shadow);
    display:block;
  }
  .message-body{ position:relative; }
  .message-body .eyebrow{ margin-bottom:14px; }
  .message-body p.message-lead{
    font-size:1.14rem;
    font-weight:700;
    color:#10233F;
    line-height:1.7;
    margin-bottom:18px;
  }
  .message-pull{ color:var(--gold-dark); font-weight:800; }
  .message-body p{
    color:var(--gray-700);
    font-size:0.99rem;
    margin-bottom:16px;
  }
  .message-body p:last-of-type{ margin-bottom:0; }
  .message-sign{
    margin-top:24px;
    text-align:right;
  }
  .message-sign .role{
    display:block;
    font-size:0.78rem;
    color:var(--gray-500);
    margin-bottom:4px;
  }
  .message-sign .name{
    font-family:"Zen Kaku Gothic New", sans-serif;
    font-weight:900;
    font-size:1.35rem;
    color:var(--ink);
    letter-spacing:0.04em;
    position:relative;
    display:inline-block;
    padding-bottom:6px;
  }
  .message-sign .name::after{
    content:"";
    position:absolute;
    left:0; right:0; bottom:0;
    height:8px;
    background:var(--gold-light);
    opacity:0.5;
    z-index:-1;
    border-radius:4px;
  }

  /* ---------- BUSINESS ---------- */
  .business{ background:var(--gold-050); }
  .biz-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:24px;
  }
  .biz-card{
    background:var(--white);
    border-radius:18px;
    padding:0 0 26px;
    border:1px solid var(--line);
    overflow:hidden;
    transition:transform .3s var(--ease), box-shadow .3s var(--ease);
  }
  .biz-card:hover{
    transform:translateY(-6px);
    box-shadow:var(--shadow);
  }
  .biz-photo{
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
    margin-bottom:16px;
  }
  .biz-body{ padding:0 28px; }
  .biz-card h3{
    font-family:"Zen Kaku Gothic New", sans-serif;
    font-weight:700;
    font-size:1.2rem;
    margin-bottom:10px;
  }
  .biz-card p{
    font-size:0.9rem;
    color:var(--gray-700);
  }

  /* ---------- RECRUIT (highlight section) ---------- */
  .recruit{
    background:var(--black-900);
    color:var(--white);
    position:relative;
    overflow:hidden;
  }
  .recruit::before{
    content:"";
    position:absolute;
    top:-140px; right:-140px;
    width:480px; height:480px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(30,90,200,0.35), transparent 70%);
  }
  .recruit .wrap{ position:relative; z-index:2; }
  .recruit .section-head p{
    color:var(--dark-text-muted);
  }
  .recruit-lead{
    font-size:clamp(1.5rem,2.6vw,2rem);
    line-height:1.6;
    max-width:760px;
    margin-bottom:20px;
    font-family:"Zen Kaku Gothic New", sans-serif;
    font-weight:700;
  }

  .sub-block{ margin-top:56px; }
  .sub-head{
    display:flex;
    align-items:center;
    gap:16px;
    margin-bottom:26px;
    padding-bottom:14px;
    border-bottom:1px solid rgba(255,255,255,0.14);
  }
  .sub-index{
    font-family:"Zen Kaku Gothic New", sans-serif;
    font-weight:900;
    font-size:1.7rem;
    line-height:1;
    color:var(--white);
    font-variant-numeric:tabular-nums;
  }
  .sub-head h3{
    font-family:"Zen Kaku Gothic New", sans-serif;
    font-weight:700;
    font-size:1.3rem;
  }
  .sub-head .sub-en{
    margin-left:auto;
    font-size:0.75rem;
    letter-spacing:0.18em;
    color:var(--gold-light);
  }

  .person-list{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px 30px;
  }
  .person-item{
    display:flex;
    gap:14px;
    align-items:flex-start;
    font-size:0.95rem;
    color:var(--dark-text-muted);
  }
  .person-item svg{
    flex:none;
    width:20px; height:20px;
    margin-top:2px;
    color:var(--gold-light);
  }

  /* 働く魅力 — outline cards on the dark section */
  .appeal-list{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
  }
  .appeal-item{
    border:1.5px solid rgba(255,255,255,0.28);
    border-radius:6px;
    padding:24px 26px;
    transition:border-color .25s, background .25s;
  }
  .appeal-item:hover{
    border-color:var(--gold-light);
    background:rgba(157,192,247,0.07);
  }
  .appeal-item h4{
    font-family:"Zen Kaku Gothic New", sans-serif;
    font-weight:700;
    font-size:1.15rem;
    color:var(--white);
    margin-bottom:7px;
  }
  .appeal-item p{
    font-size:0.9rem;
    color:var(--dark-text-muted);
    margin:0;
  }

  /* career — centered number nodes on a track that runs past both ends */
  .career{ position:relative; }
  .career-line{
    position:absolute;
    left:0; right:0;
    top:27px;
    height:3px;
    border-radius:3px;
    background:linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  }
  .career-cols{
    position:relative;
    display:grid;
    grid-template-columns:repeat(4, 1fr);
  }
  .career-step{
    text-align:center;
    padding:0 10px;
  }
  .career-num{
    width:54px; height:54px;
    margin:0 auto 16px;
    border-radius:50%;
    background:var(--black-900);
    border:3px solid var(--gold);
    display:grid; place-items:center;
    font-family:"Zen Kaku Gothic New", sans-serif;
    font-weight:900;
    font-size:1.2rem;
    position:relative;
    z-index:1;
  }
  .career-step:last-child .career-num{
    background:var(--gold-light);
    color:var(--black-900);
    border-color:var(--gold-light);
    box-shadow:0 0 22px -2px var(--gold-light);
  }
  .career-en{
    font-size:0.7rem;
    letter-spacing:0.14em;
    color:var(--gold-light);
    font-weight:800;
  }
  .career-step h4{
    font-family:"Zen Kaku Gothic New", sans-serif;
    font-weight:700;
    font-size:1.05rem;
    margin:6px 0 6px;
  }
  .career-step:last-child h4{ color:var(--gold-light); }
  .career-step p{
    font-size:0.83rem;
    color:var(--dark-text-muted);
    margin:0;
  }

  .recruit-cta{
    margin-top:56px;
    text-align:center;
    padding:48px 24px;
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.14);
    border-radius:22px;
  }
  .recruit-cta p{
    color:var(--dark-text-muted);
    margin-bottom:28px;
  }
  .btn-light{
    background:var(--white);
    color:var(--black-900);
    padding-left:40px;
    padding-right:40px;
  }
  .btn-light:hover{ background:var(--gold-light); }

  /* ---------- COMPANY ---------- */
  .company{ background:var(--white); }
  .company-table{
    width:100%;
    border-collapse:collapse;
  }
  .company-table tr{
    border-top:1px solid var(--line);
  }
  .company-table tr:last-child{ border-bottom:1px solid var(--line); }
  .company-table th, .company-table td{
    text-align:left;
    padding:18px 20px;
    font-size:0.94rem;
    font-weight:400;
    vertical-align:top;
  }
  .company-table th{
    width:200px;
    color:var(--gray-500);
    font-weight:500;
  }
  .company-table td{ color:var(--ink); }

  /* ---------- CONTACT (photo CTA band, full-bleed) ---------- */
  .contact-band{
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    min-height:420px;
    padding:96px 24px;
  }
  .contact-band-bg{ position:absolute; inset:0; }
  .contact-band-bg img{
    width:100%;
    height:100%;
    object-fit:cover;
  }
  /* navy scrim, brand color */
  .contact-band-scrim{
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,
      rgba(6,20,48,0.82) 0%,
      rgba(8,24,58,0.72) 55%,
      rgba(6,20,48,0.85) 100%);
  }
  .contact-band-inner{
    position:relative;
    z-index:2;
    max-width:640px;
  }
  .contact-band .eyebrow{
    color:var(--gold-light);
    margin-bottom:16px;
  }
  .contact-band .eyebrow::before{ background:var(--gold-light); }
  .contact-band .eyebrow::after{
    content:"";
    width:28px;
    height:2px;
    background:var(--gold-light);
  }
  .contact-band .section-title{
    color:var(--white);
    font-size:clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom:14px;
  }
  .contact-band p{
    color:rgba(226,236,252,0.92);
    font-size:0.98rem;
    margin-bottom:30px;
  }
  .contact-band-btns{
    display:flex;
    gap:14px;
    justify-content:center;
    flex-wrap:wrap;
  }
  .contact-band-note{
    margin-top:20px;
    font-size:0.9rem;
    font-weight:500;
    color:rgba(226,236,252,0.85);
  }
  .btn-white{
    background:var(--white);
    color:var(--black-900);
  }
  .btn-white:hover{ background:var(--gold-light); }

  /* ---------- CONTACT (form page) ---------- */
  .contact{ background:var(--gold-050); }
  .form-card{
    background:var(--white);
    border-radius:20px;
    padding:44px;
    border:1px solid var(--line);
    max-width:720px;
  }
  .form-row{ margin-bottom:22px; }
  .form-row label{
    display:block;
    font-size:0.86rem;
    font-weight:700;
    margin-bottom:10px;
  }
  .form-row .req{
    color:var(--gold-dark);
    font-size:0.72rem;
    font-weight:700;
    margin-left:6px;
    border:1px solid var(--gold-dark);
    padding:2px 7px;
    border-radius:100px;
  }
  .form-row input, .form-row select, .form-row textarea{
    width:100%;
    border:1px solid var(--line);
    border-radius:10px;
    padding:14px 16px;
    background:var(--white);
    transition:border-color .2s, box-shadow .2s;
  }
  .form-row input:focus, .form-row select:focus, .form-row textarea:focus{
    border-color:var(--gold-dark);
    box-shadow:0 0 0 4px var(--gold-100);
    outline:none;
  }
  .form-row textarea{ resize:vertical; min-height:140px; }
  .form-two{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
  }
  .form-submit{
    width:100%;
    justify-content:center;
    border:none;
  }
  .form-note{
    font-size:0.8rem;
    color:var(--gray-500);
    margin-top:16px;
  }
  .form-success{
    display:none;
    align-items:center;
    gap:12px;
    background:var(--gold-100);
    color:var(--gold-dark);
    padding:16px 20px;
    border-radius:12px;
    font-size:0.9rem;
    font-weight:500;
    margin-bottom:24px;
  }
  .form-success.show{ display:flex; }

  /* ---------- FOOTER ---------- */
  footer{
    background:var(--ink);
    color:#A9B8D4;
    padding:64px 0 32px;
  }
  .footer-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:32px;
    padding-bottom:40px;
    border-bottom:1px solid rgba(30,90,200,0.3);
    flex-wrap:wrap;
  }
  .footer-logo{
    font-family:"Zen Kaku Gothic New", sans-serif;
    font-weight:900;
    font-size:1.25rem;
    color:var(--gold-light);
  }
  .footer-nav{
    display:flex;
    gap:28px;
    flex-wrap:wrap;
    font-size:0.88rem;
  }
  .footer-nav a:hover{ color:var(--gold-light); }
  .footer-bottom{
    display:flex;
    justify-content:space-between;
    padding-top:28px;
    font-size:0.78rem;
    flex-wrap:wrap;
    gap:12px;
  }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 980px){
    .section{ padding:72px 0; }
    .sub-block{ margin-top:48px; }
    .hero{ min-height:0; display:block; padding-top:76px; background:#FFFFFF; }
    /* SP hero image (portrait 4:5, sky→people→white fade). Shown at its natural
       ratio so the framing is identical on every device (no browser-side cropping) */
    .hero-photo-wrap{ position:relative; width:100%; height:auto; }
    .hero-photo-wrap::before{ display:none; }
    .hero-photo{ display:block; width:100%; height:auto; }
    /* force the photo's bottom edge to pure white so the seam with the
       white section below is invisible */
    .hero-photo-wrap::after{
      content:"";
      position:absolute;
      left:0; right:0; bottom:-1px;
      height:44vw;
      background:linear-gradient(180deg, rgba(255,255,255,0) 0%, #FFFFFF 90%);
      z-index:1;
      pointer-events:none;
    }
    /* pull the copy up into the photo's bottom white fade to close the gap */
    .hero-grid{ padding:0 24px 40px; margin-top:-14vw; }
    .hero h1{ font-size:clamp(1.9rem, 7vw, 2.9rem); }
    .creed-grid{ grid-template-columns:1fr; }
    .message-box{ grid-template-columns:1fr; gap:28px; padding:32px 24px 30px; }
    .message-side{ align-self:start; }
    .message-photo-wrap{ height:auto; min-height:0; }
    .message-photo{ height:auto; aspect-ratio:16/11; object-position:70% 22%; }
    .message-photo-wrap::after{ display:none; }
    .biz-grid{ grid-template-columns:1fr; }
    .person-list{ grid-template-columns:1fr; }
    .appeal-list{ grid-template-columns:1fr; gap:12px; }
    /* career: vertical timeline — the line runs down through the numbers */
    .career-line{
      left:25px; right:auto;
      top:-26px; bottom:-14px;
      width:3px; height:auto;
      background:linear-gradient(180deg, var(--gold-dark), var(--gold) 55%, var(--gold-light));
    }
    .career-cols{ display:block; }
    .career-step{
      display:grid;
      grid-template-columns:52px 1fr;
      column-gap:18px;
      text-align:left;
      padding:0;
    }
    .career-step + .career-step{ margin-top:26px; }
    .career-num{ grid-column:1; grid-row:1 / span 3; margin:0; }
    .career-en{ grid-column:2; grid-row:1; }
    .career-step h4{ grid-column:2; grid-row:2; margin:4px 0; }
    .career-step p{ grid-column:2; grid-row:3; }
    .form-two{ grid-template-columns:1fr; }
    .form-card{ padding:32px 24px; }
  }
  @media (max-width: 720px){
    .nav-links{
      position:fixed;
      top:76px; left:0; right:0;
      background:var(--white);
      flex-direction:column;
      align-items:flex-start;
      gap:0;
      padding:8px 24px 24px;
      border-bottom:1px solid var(--line);
      transform:translateY(-8px);
      opacity:0;
      pointer-events:none;
      transition:opacity .25s, transform .25s;
    }
    .nav-links.open{
      opacity:1;
      transform:translateY(0);
      pointer-events:auto;
    }
    .nav-links a{ padding:14px 0; width:100%; border-bottom:1px solid var(--line); }
    /* compact header so it fits down to 320px-wide phones */
    .nav{ padding:0 16px; }
    .logo{ font-size:1.12rem; }
    .nav-right{ gap:10px; }
    .nav-apply{ padding:7px 14px; font-size:0.78rem; }
    .menu-btn{ display:block; width:36px; }
    .hero-line{ white-space:normal; }
    .hero-actions{ flex-direction:column; align-items:stretch; gap:12px; }
    .hero-actions .btn{ justify-content:center; }
    .appeal-item{ padding:20px 22px; }
    .company-table th{ width:120px; }
    .company-table th, .company-table td{ padding:16px 12px; font-size:0.88rem; }
  }

  /* ---------- ENTRY PAGE (recruit.html) ---------- */
  .entry-intro{
    background:var(--black-900);
    color:var(--white);
    padding:124px 0 52px;
    position:relative;
    overflow:hidden;
  }
  .entry-section{
    padding:52px 0 80px;
  }
  .entry-intro::before{
    content:"";
    position:absolute;
    top:-140px; right:-140px;
    width:460px; height:460px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(30,90,200,0.35), transparent 70%);
  }
  .entry-intro .wrap{ position:relative; z-index:2; }
  .entry-intro h1{
    font-size:clamp(1.9rem, 4vw, 2.8rem);
    line-height:1.42;
  }
  .entry-intro p{
    margin-top:20px;
    color:var(--dark-text-muted);
    max-width:660px;
  }
  .entry-intro .intro-note{
    margin-top:14px;
    font-size:0.86rem;
    color:var(--gold-light);
  }
  .entry-intro .intro-note a{
    color:var(--white);
    text-decoration:underline;
    font-weight:700;
  }
  .entry-section .form-note--top{
    margin:0 0 26px;
    font-size:0.86rem;
    color:var(--gray-700);
  }
  /* contact methods (phone + LINE) */
  .contact-methods{
    max-width:720px;
  }
  .cm-card{
    background:var(--white);
    border:1px solid var(--line);
    border-radius:14px;
    padding:40px 32px;
    text-align:center;
  }
  .cm-label{
    display:block;
    font-family:"Zen Kaku Gothic New", sans-serif;
    font-weight:700;
    font-size:0.95rem;
    color:var(--gold-dark);
    margin-bottom:16px;
  }
  .cm-tel{
    display:inline-flex;
    align-items:center;
    gap:14px;
    font-family:"Zen Kaku Gothic New", sans-serif;
    font-weight:900;
    font-size:clamp(2rem, 6vw, 2.6rem);
    letter-spacing:0.02em;
    color:var(--ink);
    line-height:1.1;
  }
  .cm-tel svg{ width:0.9em; height:0.9em; color:var(--gold-dark); flex:none; }
  .cm-phone .cm-hours{
    display:block;
    margin-top:12px;
    font-size:0.95rem;
    font-weight:500;
    color:var(--gray-700);
  }
  .cm-tapnote{
    display:block;
    margin-top:6px;
    font-size:0.8rem;
    color:var(--gray-500);
  }
  .cm-or{
    display:flex;
    align-items:center;
    text-align:center;
    color:var(--gray-500);
    font-size:0.85rem;
    margin:0 auto;
    max-width:720px;
    padding:18px 0;
  }
  .cm-or::before, .cm-or::after{
    content:"";
    flex:1;
    height:1px;
    background:var(--line);
  }
  .cm-or span{ padding:0 16px; }
  .cm-line .cm-note{
    font-size:0.9rem;
    color:var(--gray-700);
    margin-bottom:20px;
  }
  /* entry: LINEで送っていただく項目 */
  .entry-items{
    text-align:left;
    max-width:440px;
    margin:0 auto 26px;
    padding:22px 24px;
    background:var(--gold-050);
    border-radius:12px;
    font-size:0.92rem;
    line-height:1.75;
  }
  .entry-items li{
    display:flex;
    align-items:flex-start;
    gap:12px;
  }
  .entry-items li + li{
    margin-top:12px;
    padding-top:12px;
    border-top:1px solid var(--gold-100);
  }
  .entry-items-no{
    flex:none;
    width:22px; height:22px;
    margin-top:6px;
    border-radius:50%;
    background:var(--gold-dark);
    color:var(--white);
    font-family:"Zen Kaku Gothic New", sans-serif;
    font-weight:700;
    font-size:0.75rem;
    line-height:22px;
    text-align:center;
  }
  .entry-items-body{ flex:1 1 auto; min-width:0; }
  .entry-items-sub{
    display:block;
    font-size:0.8rem;
    color:var(--gray-500);
    line-height:1.6;
  }
  /* legal pages (privacy policy) */
  .legal-body{ max-width:820px; }
  .legal-article{ margin-bottom:44px; }
  .legal-article:last-of-type{ margin-bottom:0; }
  .legal-article h2{
    font-family:"Zen Kaku Gothic New", sans-serif;
    font-weight:700;
    font-size:1.12rem;
    color:var(--gold-dark);
    margin-bottom:14px;
    padding-bottom:10px;
    border-bottom:1px solid var(--line);
  }
  .legal-article p{
    font-size:0.94rem;
    color:var(--gray-700);
    margin-bottom:14px;
  }
  .legal-article p:last-child{ margin-bottom:0; }
  .legal-list{
    margin:0 0 14px;
    padding:0;
  }
  .legal-list li{
    position:relative;
    padding-left:20px;
    margin-bottom:8px;
    font-size:0.94rem;
    color:var(--gray-700);
  }
  .legal-list li::before{
    content:"";
    position:absolute;
    left:4px; top:0.72em;
    width:6px; height:6px;
    border-radius:50%;
    background:var(--gold-light);
  }
  .legal-note{
    padding:16px 18px;
    background:var(--gold-050);
    border-radius:10px;
    font-size:0.86rem !important;
  }
  .legal-table{ margin-top:8px; }
  .legal-table a{ color:var(--gold-dark); text-decoration:underline; }
  .legal-date{
    margin-top:48px;
    padding-top:22px;
    border-top:1px solid var(--line);
    font-size:0.86rem;
    color:var(--gray-500);
    text-align:right;
  }
  @media (max-width: 720px){
    .legal-article{ margin-bottom:34px; }
    .legal-article h2{ font-size:1.02rem; }
    .legal-date{ text-align:left; }
  }
  .entry-privacy{
    margin-top:18px;
    font-size:0.8rem;
    color:var(--gray-500);
  }
  .form-check{
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin-bottom:26px;
    font-size:0.9rem;
    color:var(--gray-700);
  }
  .form-check input{
    width:18px; height:18px;
    margin-top:3px;
    flex:none;
    accent-color:var(--gold-dark);
  }
  .form-check a{ color:var(--gold-dark); text-decoration:underline; }
  @media (max-width: 720px){
    .entry-intro{ padding:104px 0 44px; }
    .entry-section{ padding:40px 0 60px; }
    .contact-band{ min-height:0; padding:64px 22px; }
    .contact-band-btns{ width:100%; flex-direction:column; }
    .contact-band-btns .btn{ justify-content:center; }
  }

  /* ---------- 404 (NOT FOUND) ---------- */
  .notfound-intro{
    padding:150px 0 76px;
  }
  .notfound-code{
    display:block;
    margin:18px 0 6px;
    font-family:"Shippori Mincho", serif;
    font-weight:800;
    font-size:clamp(4.5rem, 16vw, 9rem);
    line-height:1;
    letter-spacing:.04em;
    color:transparent;
    -webkit-text-stroke:2px var(--gold-light);
    opacity:.55;
  }
  .notfound-intro h1{
    font-size:clamp(1.6rem, 3.4vw, 2.4rem);
  }
  .notfound-actions{
    display:flex;
    gap:16px;
    margin-top:32px;
    flex-wrap:wrap;
  }
  .notfound-section{
    background:var(--gold-050);
  }
  .notfound-section .eyebrow{ display:inline-block; }
  .notfound-subtitle{
    margin:10px 0 34px;
  }
  .notfound-links{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:14px;
    max-width:840px;
  }
  .notfound-links a{
    display:flex;
    align-items:center;
    gap:14px;
    background:var(--white);
    border:1px solid var(--line);
    border-radius:12px;
    padding:20px 22px;
    transition:border-color .2s, box-shadow .2s, transform .25s var(--ease);
  }
  .notfound-links a:hover{
    border-color:var(--gold);
    box-shadow:0 12px 30px -22px rgba(11,61,145,.9);
    transform:translateY(-2px);
  }
  .notfound-links .nf-en{
    font-family:"Zen Kaku Gothic New", sans-serif;
    font-weight:700;
    font-size:0.7rem;
    letter-spacing:.14em;
    color:var(--gold-dark);
    min-width:92px;
  }
  .notfound-links .nf-ja{
    font-weight:700;
    font-size:0.98rem;
    color:var(--ink);
  }
  .notfound-links svg{
    width:16px; height:16px;
    margin-left:auto;
    flex:none;
    color:var(--gold-dark);
    transition:transform .25s var(--ease);
  }
  .notfound-links a:hover svg{ transform:translateX(4px); }

  @media (max-width: 720px){
    .notfound-intro{ padding:120px 0 56px; }
    .notfound-actions{ flex-direction:column; align-items:stretch; }
    .notfound-actions .btn{ justify-content:center; }
    .notfound-links{ grid-template-columns:1fr; }
    .notfound-links .nf-en{ min-width:78px; }
  }
