
/* 本家の英字（LONG DRIVER 等）は Noto Sans JP の 900。共通の読み込みは 700 までなので、このページで 900 を足す */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@900&display=swap');
/* ==========================================================================
   仕事紹介 ― 本家 /works の「書かれているCSS」（2026-10-04 に書き出し）を写して組み直したもの
   本家の画面幅の区切り＝1140 / 840 / 402px
   ========================================================================== */

/* ============ 主な仕事内容 ============
   本家＝灰色の帯 高さ790・見出し77＋カード列600を上下中央。
   カード列＝幅1120（最大 calc(100% - 100px)）中央・各列26%（4列で1120を少しはみ出し、左右に均等にはみ出す）
   列の上下に全幅の細線、列の間に縦線（上に10・下に80はみ出す） */
.wk{background:#e6e6e6;color:#164f1b;height:790px;display:flex;flex-direction:column;
    justify-content:center;align-items:center;}
.wk .hd2{width:100%;height:77px;padding:0 20px;}
.wk .hd2 h2{margin:0 auto;width:720px;max-width:100%;height:68px;font-size:28px;font-weight:700;
            line-height:2;text-align:center;
            /* 本家の文字要素は display:flex＋align-items:center＝高さ固定の箱の中で文字が上下中央 */
            display:flex;align-items:center;justify-content:center;}
.wk .grid{position:relative;width:100%;}
.wk .grid::before,.wk .grid::after{content:"";position:absolute;left:0;right:0;height:1px;background:#164f1b;}
.wk .grid::before{top:0;}
.wk .grid::after{bottom:0;}
.wk .row{position:relative;display:flex;justify-content:center;align-items:stretch;
         width:1120px;max-width:calc(100% - 100px);margin:0 auto;padding:0 0 64px;}
.wk .col{display:flex;flex:none;width:26%;max-width:26%;}
.wk .card{flex:1 1 0%;min-width:0;display:flex;flex-direction:column;align-items:center;padding:40px 20px 0;}
.wk .card .ph{flex:none;width:248px;max-width:100%;height:248px;margin:0 0 36px;background-position:center;
              background-size:cover;background-repeat:no-repeat;}
/* 本家は p が flex で文字を上下中央に置く＝行の高さ96pxが54pxの箱からはみ出し、数字は写真に食い込む */
.wk .card .no{flex:none;display:flex;align-items:center;justify-content:center;margin:-68px 0 10px;height:54px;font-size:48px;font-style:italic;font-weight:700;
              line-height:2;color:#fff;}
.wk .card h3{margin:0;width:100%;font-size:24px;font-weight:700;line-height:2;text-align:center;}
.wk .card .ds{margin:0;width:100%;font-size:14px;font-weight:500;line-height:2;}
.wk .vr{flex:none;width:1px;height:calc(100% + 90px);margin:-10px 0 -80px;background:#164f1b;}

/* ============ 2職種の入口 ============
   本家＝左右50%・高さ756。写真は半分全体に cover・右寄せ。下に高さ262の色帯、英字は帯に37px食い込む */
.two{display:flex;}
.two .half{position:relative;width:50%;height:756px;background:#eee;color:#fff;
           display:flex;flex-direction:column;justify-content:flex-end;align-items:center;}
.two .half .ph{position:absolute;inset:0;background-position:100% 50%;background-size:cover;
               background-repeat:no-repeat;}
.two .half .en{position:relative;z-index:1;display:flex;align-items:center;margin:0 0 -37px;font-size:64px;font-weight:900;line-height:1.4;}
.two .half .plate{position:relative;width:100%;height:262px;display:flex;flex-direction:column;
                  justify-content:center;align-items:center;gap:16px;}
.two .long .plate{background:var(--green-deep);}
.two .short .plate{background:#bf0404;}
.two .half .jp{margin:0;font-size:24px;font-weight:500;line-height:1.4;}
.two .half .sub{margin:-14px 0 0;font-size:12px;font-weight:700;line-height:1.4;}
.two .half .cat{margin:0;font-size:16px;font-weight:700;line-height:1.4;}
.two .half .btn{display:flex;align-items:center;justify-content:center;margin:17px 0 0;
   padding:18px 41px;border-radius:4px;background:#fff;color:#074a18;
   font-size:16px;font-weight:700;line-height:1;transition:opacity .2s;}
.two .half .btn:hover{opacity:.82;}
.two .half .btn span{padding-bottom:2px;}
.two .half .btn svg{flex:none;width:24px;height:24px;margin:-3px 0 -3px 50px;color:#333;}

/* ============ 夜のトラックの上の言葉 ============
   本家＝高さ646・背景は幅110%で中央・文字は幅1086を中央 */
.credo{position:relative;height:646px;display:flex;align-items:center;justify-content:center;
       background-color:#f0f0f0;background-position:50% 50%;background-size:110%;
       background-repeat:repeat;color:#fff;}  /* 本家は繰り返しあり＝幅が狭く写真の高さが足りないときも上下に灰色の帯が出ない */
.credo p{margin:0;width:1086px;max-width:100%;font-family:var(--ar);font-size:20px;font-weight:600;
         letter-spacing:.2em;line-height:2;text-shadow:rgba(0,0,0,.2) 3px 3px 8px;height:427px;
         display:flex;align-items:center;}  /* 本家は427の箱の中で文章を上下中央 */

/* 黒い ENTRY（このページだけ）の見出し */
.entry--black h2{font-size:22px;line-height:1.4;margin-bottom:24px;}

/* ============ 840px 以下：カードは縦1列 ============ */
@media (max-width:840px){
  .wk{height:auto;padding:56px 0;}
  .wk .row{flex-direction:column;align-items:stretch;}
  .wk .col{flex-direction:column;width:100%;max-width:100%;}
  .wk .card .ph{width:100%;height:320px;}
  .wk .vr{width:calc(100% + 100px);max-width:calc(100% + 100px);height:2px;margin:56px -50px 0;}
}
/* ============ スマホ（402px 以下）＝本家の実測値 ============ */
@media (max-width:402px){
  .wk{padding:0 0 64px;justify-content:flex-start;}
  .wk .hd2 h2{font-size:20px;}
  .wk .grid{overflow-x:clip;}  /* 横だけ切る＝カード列の左右の縦線が上下にはみ出す分（本家どおり）は見せる */
  .wk .row{margin:0 20px;max-width:calc(100% - 40px);padding:0 0 40px;}
  /* スマホだけ、カード列の左右に縦線（本家は列の上24px・下17px はみ出す） */
  .wk .row::before,.wk .row::after{content:"";position:absolute;top:-24px;bottom:-17px;width:2px;background:#164f1b;}
  .wk .row::before{left:0;}
  .wk .row::after{right:0;}
  .wk .card{padding:24px 10px 0;}
  .wk .card .ph{height:160px;margin-bottom:40px;}
  .wk .col:nth-child(1) .card .ph{margin-bottom:44px;}
  .wk .col:nth-child(2) .card .ph{margin-bottom:39px;}
  .wk .card .no{width:57px;font-size:28px;font-weight:900;text-align:center;text-shadow:rgba(0,0,0,.2) 0 2px 5px;}
  .wk .col:nth-child(1) .card .no{height:47px;}
  .wk .card h3{font-size:16px;margin-top:-18px;}
  .wk .col:first-child .card h3{margin-top:-16px;}
  .wk .card .ds{font-weight:400;}
  .wk .vr{margin:40px -50px 0;}

  .two{flex-direction:column;}
  .two .half{width:100%;height:682px;}
  .two .half .en{font-size:48px;line-height:1;height:81px;}
  .two .short .en{text-shadow:rgba(0,0,0,.5) 0 0 17px;}
  .two .half .plate{height:241px;}

  .credo{height:387px;background-size:cover;}  /* 本家はスマホだけ cover */
  .credo p{width:362px;height:auto;font-size:14px;line-height:1.8;margin-top:20px;}

  .entry--black h2{font-size:16px;}
}

/* ============ 以前タグに直接書いていた指定（2026-10-27 にここへ移した） ============ */
.card .ph.ph--pattern{background-size:100%;background-position:50% 100%;background-repeat:repeat;}
section.entry.entry--black{background:#000;}
.phero{--heroh:685px;--ty:308px;--mt:29px;--decoy:121px;--decoh:433px;--after-tb:141px;--after-sp:117px;}
