@charset "utf-8";
/* =========================================================
   revise.css — 2026-11 デザイン修正（B案）。style.css の後に読み込む上書き分。
   元：デザイン見本の a.css（整える）＋ b.css（見せ場を足す）。
   読み替え：.st-root → body ／ .home → body.home
   ※ a.css の「3) .rband--foot」は取り下げ済みのため含めない
   ========================================================= */

/* ---- 見本が <img> で持っていた画像の受け皿（テーマでは機械・事例カードを <img> で出す） ---- */
.card__media{position:relative;overflow:hidden}
.card__media>img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}

/* ---- 黒い面（採用の区画・フッター）の薄い質感。背景色は style.css のまま、画像だけ重ねる ---- */
.split,.footer{background-image:url(../img/grain_160x160.png);background-repeat:repeat;background-size:160px 160px}

/* ======================= a.css（整える） ======================= */
/* =========================================================
   A案「整える」 — site.css の後に読み込む上書き
   1) 小さい文字を一段大きく、薄い灰色を一段濃く
   2) キーボード操作中の場所を輪郭で示す
   3) （取り下げ）下層ページ末尾の採用帯は入れない
   4) 主要取引先を格子の一覧に（.plist）
   5) お問い合わせ：入力のその場チェックと送信の状態（.is-ok / .hint / .ok / .form__state）
   ========================================================= */

/* 1) 文字と色 */
:root{--fg-35:#6B6962;--fg-55:#5C605A}
body{font-size:15px}
.lead{font-size:15px}
.hero .lead{font-size:clamp(14.5px,1.5vw,16px)}
.small{font-size:13px}
.eyebrow,.card__no,.wlist__no,.wlist__label,.stats__label,.row__note,.job__no,
.footer__head,.split__badge,.rband__tag,.hero__rule,.crumb ol,.ph,.footer__bottom{font-size:13px}
.gnav a,.gnav a.header__cta,.header__cta{font-size:14px}
.btn{font-size:14.5px}
.link-more{font-size:14px}
.card__title{font-size:18px}
.card__meta{font-size:13.5px}
.card--machine .card__meta,.mgrid__spec{font-size:15px}
.wlist__name{font-size:16px}
.tag{font-size:13px}
.dl__dt,.dl__dd{font-size:15px}
.row__name{font-size:15px}
.job__name{font-size:15px}
.rband__note{font-size:14px}
.rband__cta{font-size:14px}
.footer__col a{font-size:14px}
.footer__logo-jp{font-size:12.5px}
.footer__cta{font-size:14px}
.field__label{font-size:15px}
.req,.opt{font-size:12px}
.cwin__desc{font-size:14.5px}
.cwin__state{font-size:13.5px}
.check{font-size:14.5px}
.error{font-size:13.5px}
.wp-content p{font-size:15px}
.greet__sign{font-size:13px}
.greet__cap span:last-child{font-size:13px}

/* 2) キーボード操作中の場所 */
body a:focus-visible,body button:focus-visible,
body input:focus-visible,body textarea:focus-visible,body select:focus-visible{
  outline:2px solid var(--accent);outline-offset:3px}
.hero a:focus-visible,.split a:focus-visible,.footer a:focus-visible,
body.home .header a:focus-visible{outline-color:#fff}

/* 4) 主要取引先の一覧 */
.plist{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));margin:0;padding:0;list-style:none;
  background:#fff;border-top:1px solid var(--line);border-left:1px solid var(--line)}
.plist li{list-style:none;padding:14px 16px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);
  font-size:15px;font-weight:500;line-height:1.6;color:var(--fg)}
.plist__head{font-family:var(--mono);font-size:13px;font-weight:600;letter-spacing:.2em;color:var(--accent);line-height:1.5}

/* 6) 「詳しく見る」の入口を定位置に（見出しの右端・カードの右上）。色は役割で統一：
      緑の塗り＝問い合わせ・応募などの行動／枠線＝その次の選択肢／矢印つき文字リンク＝詳しく見る */
.section-head--more{flex-direction:row;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 32px}
.section-head--more .link-more{margin-bottom:6px}
.section-lead{margin-top:20px}
.pane-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:10px 24px}
.pane-head .link-more{margin-bottom:4px}
.card__top{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.card__more{flex:none;font-size:13px;font-weight:700;color:var(--accent);white-space:nowrap}
.split__body .link-more{color:var(--accent-soft);border-bottom-color:var(--accent-soft)}

/* 5) お問い合わせフォームの状態 */
.hint{font-size:13.5px;line-height:1.7;color:var(--fg-55)}
.ok{font-size:13.5px;font-weight:700;line-height:1.7;color:var(--accent)}
.is-ok .input,.is-ok .textarea{border-color:var(--accent);background:#fff}
.is-error .input,.is-error .textarea{background:#fff}
.is-error .error{display:block;font-weight:700}
.form__state{margin-top:14px;text-align:center;font-size:13.5px;line-height:1.8;color:var(--fg-55)}

/* 7) 採用の写真の右寄せは、テンプレート（recruit.php）の background-position で指定 */

/* ======================= b.css（見せ場を足す） ======================= */
/* =========================================================
   B案「A案＋見せ場を足す」 — site.css → a.css の後に読み込む上書き
   1) 見出し・カードの時間差の登場
   2) 施工事例：代表の1件を大きく見せる配置（.grid--feature）＋写真の色そろえ（.card--tone）
   3) 会社概要：ご挨拶を雑誌風に（.greet--ed）
   4) 事業案内：保有機械を大小のマス目に（.grid--bento）＋台数を長さで見せる（.fleet）
   ※ 黒い面の薄い質感は各画面の helmet 内で指定（画像を使うため）
   ========================================================= */

/* 1) 時間差の登場 */
@keyframes st-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:no-preference){
  .hero__rule,.hero__title,.hero .lead,.hero .btn-row,
  .phero .eyebrow,.phero .h1,.phero .lead{animation:st-rise .7s cubic-bezier(.2,.7,.2,1) both}
  .hero__title,.phero .h1{animation-delay:.12s}
  .hero .lead,.phero .lead{animation-delay:.24s}
  .hero .btn-row{animation-delay:.36s}
}

/* 黒い面：質感を透かすため、職種マスの地を透明に */
.job{background:transparent}

/* 2) 施工事例：代表の1件を大きく */
.grid--feature{grid-template-columns:repeat(12,minmax(0,1fr))}
.grid--feature>.card{grid-column:span 4}
.grid--feature>.card:first-child{grid-column:span 8;grid-row:span 2}
.grid--feature>.card:first-child .card__media{aspect-ratio:auto;flex:1;min-height:320px}
.grid--feature>.card:first-child .card__body{flex:none}
.grid--feature>.card:first-child .card__title{font-family:var(--disp);font-size:clamp(22px,2.6vw,30px);letter-spacing:.03em;line-height:1.45}
@media (max-width:1100px){
  .grid--feature>.card,.grid--feature>.card:first-child{grid-column:1/-1;grid-row:auto}
  .grid--feature>.card:first-child .card__media{aspect-ratio:16/10;min-height:0;flex:none}
}

/* 写真の色そろえ（緑がかった色調）は不採用（2026-11-19）。写真は元の色のまま見せる */

/* 3) ご挨拶を雑誌風に */
.greet--ed{display:grid;grid-template-columns:minmax(260px,5fr) 7fr;gap:clamp(24px,4vw,56px);align-items:start}
.greet--ed .greet__fig{max-width:none;min-width:0}
.greet--ed .greet__body{min-width:0}
.greet--ed .greet__pull{border-left:0;padding-left:0;font-size:clamp(24px,3.2vw,36px);line-height:1.55;letter-spacing:.04em;
  padding-bottom:22px;margin-bottom:10px;border-bottom:1px solid var(--line-strong)}
.greet--ed .greet__text{columns:2;column-gap:36px}
.greet--ed .greet__text .lead{max-width:none;margin-bottom:1.1em;break-inside:avoid}
@media (max-width:1100px){
  .greet--ed{grid-template-columns:1fr}
  .greet--ed .greet__text{columns:1}
}

/* 4) 保有機械：写真に合わせて枠の形を選ぶ（主役3台を大きく、残りは横長の小さい枠）
      .card--tall＝縦長の大きい枠（クローラークレーン）／.card--big＝正方形の大きい枠（バックホウ）
      .card--wide＝横いっぱいの帯（ダンプトラック）。今後、良い写真が撮れた機種はこの3つの形に入れ替えられる */
.grid--bento{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:dense}
.grid--bento>.card--tall{grid-column:span 2;grid-row:span 3}
.grid--bento>.card--tall .card__media{aspect-ratio:auto;flex:1;min-height:300px}
.grid--bento>.card--tall .card__media>img{object-position:25% 50%}
.grid--bento>.card--big{grid-column:span 2;grid-row:span 2}
.grid--bento>.card--big .card__media{aspect-ratio:1/1}
.grid--bento>.card--big .card__media>img{object-position:50% 88%}
.grid--bento>.card--wide{grid-column:1/-1}
.grid--bento>.fleet{grid-column:span 2}
.grid--bento>.card--wide .card__media{aspect-ratio:9/4}
.grid--bento>.card--wide .card__media>img{object-position:30% 50%}
.grid--bento>.card--tall .card__body,.grid--bento>.card--big .card__body,.grid--bento>.card--wide .card__body{flex:none}
.grid--bento>.card--tall .card__title,.grid--bento>.card--big .card__title,.grid--bento>.card--wide .card__title{
  font-family:var(--disp);font-size:clamp(20px,2.4vw,26px);letter-spacing:.03em}
@media (max-width:1000px){
  .grid--bento{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid--bento>.fleet{grid-column:1/-1}
  .grid--bento>.card--tall,.grid--bento>.card--big{grid-column:1/-1;grid-row:auto}
  .grid--bento>.card--tall .card__media{aspect-ratio:3/4;min-height:0;flex:none}
  .grid--bento>.card--wide .card__media{aspect-ratio:16/9}
}
@media (max-width:560px){
  .grid--bento{grid-template-columns:1fr}
}

/* 台数を長さで見せる */
.fleet{background:#fff;border:1px solid var(--line);padding:22px 20px 24px;display:flex;flex-direction:column;gap:14px;justify-content:center}
.fleet__total{font-family:var(--disp);font-size:clamp(34px,4vw,46px);font-weight:700;line-height:1;color:var(--ink)}
.fleet__total span{font-size:.45em;margin-left:4px}
.fleet__bar{display:flex;gap:2px;height:12px}
.fleet__bar span{display:block;background:var(--accent)}
.fleet__bar span+span{background:var(--accent-soft)}
.fleet__legend{display:flex;flex-wrap:wrap;gap:6px 18px;font-family:var(--mono);font-size:14px;line-height:1.6;color:var(--fg-70)}
.fleet__legend b{font-weight:700;color:var(--ink)}

/* ---- 登場の動き：カードの時間差は既存の .rv（main.js が is-in を付ける）側で付ける ---- */
@media (prefers-reduced-motion:no-preference){
  .grid.rv>*{opacity:0;transform:translateY(14px);transition:opacity .6s cubic-bezier(.2,.7,.2,1),transform .6s cubic-bezier(.2,.7,.2,1)}
  .grid.rv.is-in>*{opacity:1;transform:none}
  .grid.rv.is-in>*:nth-child(1){transition-delay:.10s}
  .grid.rv.is-in>*:nth-child(2){transition-delay:.18s}
  .grid.rv.is-in>*:nth-child(3){transition-delay:.26s}
  .grid.rv.is-in>*:nth-child(4){transition-delay:.34s}
  .grid.rv.is-in>*:nth-child(5){transition-delay:.42s}
  .grid.rv.is-in>*:nth-child(6){transition-delay:.50s}
  .grid.rv.is-in>*:nth-child(7){transition-delay:.58s}
  .grid.rv.is-in>*:nth-child(8){transition-delay:.66s}
}

/* ---- お問い合わせフォーム：.ok は入力が正しいときだけ見せる／送信中の表示は空なら出さない ---- */
.ok{display:none}
.is-ok .ok{display:block}
.form__state:empty{display:none}

/* ---- スマホのメニュー展開：header の backdrop-filter が fixed の基準を奪い、パネルが高さ52pxに潰れていた（変更前からの不具合） ---- */
@media (max-width:1000px){
  .header.is-open,body.home .header.is-open,body.home .header.is-scrolled.is-open{
    backdrop-filter:none;-webkit-backdrop-filter:none;background:#fff}
}

/* ---- 採用の区画：中間幅（タブレット）で2段組のまま縦長に切り取られ、左の人物が切れていた。1100px以下は縦積みにし、写真の比率（3:2）を保つ。スマホの高さ（260px以上）は従来どおり ---- */
@media (max-width:1100px){
  .split{grid-template-columns:minmax(0,1fr)}
  .split__media{width:100%;aspect-ratio:3/2;min-height:0}
}

/* ---- トップの数字の帯「G案」（2026-11-19）：冒頭の写真の中、一番下に細い1行で置く。
        768px以下では写真の中に入れず、写真の下に白い帯（2列×2段）で出す ---- */
.hero--stats{flex-direction:column;justify-content:flex-end;align-items:stretch;padding-bottom:0;min-height:clamp(620px,88vh,780px)}
.hero--stats::after{content:"";position:absolute;left:0;right:0;bottom:0;height:48%;z-index:-1;background:linear-gradient(to top,rgba(9,13,11,.86),rgba(9,13,11,0))}
.hstats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:clamp(30px,4vw,48px);border-top:1px solid rgba(255,255,255,.42)}
.hstats__item{padding:20px 20px 26px 0;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px}
.hstats__item+.hstats__item{padding-left:22px;border-left:1px solid rgba(255,255,255,.22)}
.hstats__num{font-family:var(--disp);font-size:clamp(30px,3.2vw,42px);font-weight:700;line-height:1;color:#fff}
.hstats__num span{font-size:.42em;margin-left:4px;color:var(--accent-soft)}
.hstats__label{font-size:13.5px;line-height:1.5;letter-spacing:.04em;color:rgba(255,255,255,.84)}
.stats--sp{display:none}
@media (max-width:768px){
  .hstats{display:none}
  .hero--stats{padding-bottom:clamp(40px,6vw,56px)}
  .stats--sp{display:block}
  .stats--sp .stats__row{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ---- 採用の区画：スマホ（2026-11-20）。幅390px未満で「高さ260px以上」と「3:2」を両立させようとして
        写真の枠だけ画面より広がり、右の人物が切れていた → 上で min-height を外し、幅を画面に収めた。
        募集職種は2列だと3つ目だけ余るので、縦3行にする ---- */
@media (max-width:768px){
  .split .jobs{grid-template-columns:1fr}
  .split .job{flex-direction:row;align-items:baseline;gap:16px;padding:14px 2px;border-right:0}
  .split .job__no{flex:none;width:58px}
  .split .job__name{font-size:16px}
}

/* ---- パソコン版トップ：詳細への入口を押しやすく、目立たせる（2026-11-20）。
        body に st-v5 が付いたトップの、769px以上だけ。スマホとほかのページには効かない ---- */
@media (min-width:769px){
  body.home.st-v5 main .link-more{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 22px;margin-bottom:0;
    border:1px solid var(--accent);background:transparent;font-size:15px;letter-spacing:.04em;transition:background-color .15s,color .15s}
  body.home.st-v5 main .section-head--more .link-more,body.home.st-v5 main .pane-head .link-more{margin-bottom:10px}
  body.home.st-v5 main .link-more:hover{background:var(--accent);color:#fff}
  /* 施工実績のカード */
  body.home.st-v5 .top-pc #works .card,body.home.st-v5 main>#works .card{transition:box-shadow .18s,transform .18s}
  body.home.st-v5 #works .card:hover{box-shadow:0 0 0 1px var(--accent),0 10px 24px rgba(20,30,24,.10);transform:translateY(-2px)}
  body.home.st-v5 #works .card__more{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border:1px solid var(--accent);font-size:13.5px;transition:background-color .15s,color .15s}
  body.home.st-v5 #works .card:hover .card__more{background:var(--accent);color:#fff}
  /* 下の3件の行 */
  body.home.st-v5 #works .wlist__item{position:relative;padding-right:44px}
  body.home.st-v5 #works .wlist__item::after{content:"→";position:absolute;right:16px;top:50%;transform:translateY(-50%);font-weight:700;color:var(--accent);transition:right .15s}
  body.home.st-v5 #works .wlist__item:hover::after{right:10px}
  /* 保有機械のスライド：1枚まるごとリンク */
  body.home.st-v5 a.ms-slide{color:inherit;text-decoration:none;cursor:pointer}
  body.home.st-v5 a.ms-slide:hover{color:inherit}
  body.home.st-v5 .ms-go{align-self:flex-start;display:inline-flex;align-items:center;min-height:40px;margin-top:8px;padding:0 16px;border:1px solid var(--accent);font-size:14px;font-weight:700;color:var(--accent);transition:background-color .15s,color .15s}
  body.home.st-v5 a.ms-slide:hover .ms-go{background:var(--accent);color:#fff}
}
@media (max-width:768px){ body.home.st-v5 .ms-go{display:none} }
@media (prefers-reduced-motion:reduce){ body.home.st-v5 #works .card:hover{transform:none} }

/* ---- 受章のお知らせの帯（2026-11-20）。淡い緑の地。パソコンは左に見出し・右に本文、スマホは縦に並べる ---- */
.honor{background:var(--bg-accent);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.honor__in{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(24px,5vw,72px);align-items:center;padding-top:clamp(40px,5vw,60px);padding-bottom:clamp(40px,5vw,60px)}
.honor__title{margin:12px 0 0;font-family:var(--disp);font-size:clamp(22px,2.4vw,30px);line-height:1.55;font-weight:700;letter-spacing:.04em;color:var(--ink)}
.honor__title b{font-weight:700;color:var(--accent)}
.honor .lead{margin:0}
@media (max-width:768px){
  .honor__in{grid-template-columns:1fr;gap:14px;padding:30px 16px 32px}
  .honor__title{font-size:21px}
}

/* パソコン版トップ「資料ダウンロード」：ボタンを説明文の下へ（st_dl_btn。body に st-dlb）。769px以上だけ */
@media (min-width:769px){
  body.home.st-dlb #downloads .pane-head{display:contents}
  body.home.st-dlb main #downloads .pane-head>.link-more{order:9;align-self:flex-start;margin:10px 0 0}
}

/* 上のメニュー「会社概要」の行き先（トップの ご挨拶 / 会社概要 の区画）。固定の上の帯に隠れないよう余白を取る */
#about{scroll-margin-top:calc(var(--header-h) + 16px)}

/* ログイン中だけ：画面上の管理バー（黒い帯）の下に、サイトの上の帯が隠れないようにする。訪問者の表示には関係しない */
.admin-bar .header{top:32px}
@media (max-width:782px){.admin-bar .header{top:46px}}
@media (max-width:600px){.admin-bar .header{top:0}}

/* トップ：上の帯が白に切り替わっても、下の中身の位置を動かさない（st_header_fix。body に st-hfix）。メニューを開いているときは従来どおり */
body.home.st-hfix .header.is-scrolled:not(.is-open){margin-bottom:calc(-1 * var(--header-h) - 1px)}

/* 2026-11-20 ロゴの白い下地を外す（古い style.css が手元に残っている人にも効かせる） */
.logo__mark{background:none !important}

/* トップ：叙勲の細い帯（st_honor_slim）。採用の帯と同じ形で、札だけ線の枠にして見分ける。飛び先の見出しが上の帯に隠れないよう余白を取る */
/* 金色の札（めでたい知らせなので煌びやかに）。地は淡い生成り、上下に金の細い線。札の上をゆっくり光が横切る */
.rband--honor{position:relative;background:linear-gradient(90deg,#FBF5E2 0%,#FFFDF5 45%,#FBF5E2 100%);border-top:1px solid #E2CF93;border-bottom:1px solid #E2CF93}
.rband--honor:hover{background:linear-gradient(90deg,#F8EFD3 0%,#FFFBEC 45%,#F8EFD3 100%)}
.rband--honor .rband__tag{position:relative;overflow:hidden;color:#33260A;text-shadow:0 1px 0 rgba(255,255,255,.45);
  background:linear-gradient(115deg,#9A7720 0%,#C9A23E 22%,#F7E9AE 48%,#E0BC58 62%,#B58E2C 82%,#8E6C1B 100%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.45),inset 0 -1px 0 rgba(90,65,10,.35),0 1px 3px rgba(120,90,20,.28)}
.rband--honor .rband__tag::after{content:"";position:absolute;top:0;bottom:0;left:-60%;width:45%;
  background:linear-gradient(100deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.75) 50%,rgba(255,255,255,0) 100%);
  transform:skewX(-18deg);animation:st-gold-sheen 7s ease-in-out infinite}
@keyframes st-gold-sheen{0%,62%{left:-60%}88%,100%{left:130%}}
@media (prefers-reduced-motion:reduce){.rband--honor .rband__tag::after{animation:none;display:none}}
.rband--honor .rband__cta{color:#8A6914}
#awards{scroll-margin-top:calc(var(--header-h) + 16px)}
.rband--honor .rband__title br{display:none}
.rband--honor .rband__title b{font-weight:700;color:#8A6914}
@media (max-width:768px){.rband--honor .rband__title br{display:inline}}

/* ===== 施工事例の個別ページ停止（2026-11-24）：押せないカード（.card--static）。公開スイッチ st_works_nodetail ===== */
.card--static{cursor:default}
.card--static:hover .card__title{color:var(--ink)}
body.home.st-v5 #works .card--static:hover{box-shadow:none;transform:none}
body.home.st-v5 #works .card--static:hover .card__more{background:transparent;color:var(--accent)}

/* ===== トップ冒頭：左に文字・右に断面図の線画（2026-11-24）。公開スイッチ st_hero_d（body に st-hero-d）。パソコン表示＝769px以上だけ。768px以下には効かせない ===== */
@media (min-width:769px){
  body.st-hero-d .hero--stats{display:block;min-height:0;overflow:visible;background:var(--bg);padding:0}
  body.st-hero-d .hero--stats::after{content:none}

  body.st-hero-d .hero--stats .hero__main{position:relative;display:flex;align-items:center;
    min-height:clamp(560px,78vh,720px);padding:calc(100px + 24px) 0 24px}

  /* 絵：右の列いっぱい・画面右端まで。ヘッダーの下から、全体を切らずに右下へ寄せる（クレーンの先がメニューに重ならないように） */
  body.st-hero-d .hero--stats .hero__media{position:absolute;z-index:0;inset:0 0 0 auto;width:54%;top:92px}
  body.st-hero-d .hero--stats .hero__media img{width:100%;height:100%;object-fit:contain;object-position:100% 100%}

  /* 文字：左端は下の区画（.wrap）の左端にそろえる */
  body.st-hero-d .hero--stats .hero__body{position:relative;z-index:1;width:46%;max-width:none;margin:0;
    padding-left:calc(max(0px,(100% - var(--maxw))/2) + var(--pad));
    padding-right:clamp(24px,3.2vw,56px);
    gap:clamp(12px,1.4vw,18px)}
  body.st-hero-d .hero__rule{color:var(--accent);margin-bottom:clamp(6px,1vw,14px);white-space:nowrap}
  body.st-hero-d .hero__rule::before{background:var(--accent)}
  body.st-hero-d .hero__title{color:var(--ink);font-size:clamp(22px,calc(3.79vw - 5px),48px);line-height:1.3;letter-spacing:.02em;text-wrap:wrap}
  body.st-hero-d .hero__title .accent{color:var(--accent)}
  body.st-hero-d .hero .lead{color:var(--fg-70);font-size:clamp(13.5px,1.15vw,15.5px);line-height:1.95;max-width:none;word-break:auto-phrase;text-wrap:pretty}

  /* 数字の帯 */
  body.st-hero-d .hstats{margin-top:0;border-top:1px solid var(--line);background:var(--bg)}
  body.st-hero-d .hstats__num{color:var(--ink)}
  body.st-hero-d .hstats__num span{color:var(--accent)}
  body.st-hero-d .hstats__label{color:var(--fg-55)}
  body.st-hero-d .hstats__item+.hstats__item{border-left:1px solid var(--line)}

  /* ヘッダー：白地の上なのでロゴ・メニューは濃い色 */
  body.st-hero-d.home .header:not(.is-scrolled) .logo__en{color:var(--ink)}
  body.st-hero-d.home .header:not(.is-scrolled) .logo__jp{color:var(--accent)}
  body.st-hero-d.home .header:not(.is-scrolled) .gnav a{color:var(--fg-70)}
  body.st-hero-d.home .header:not(.is-scrolled) .gnav a[aria-current="page"]{color:var(--fg);border-bottom-color:var(--accent)}
  body.st-hero-d.home .header:not(.is-scrolled) .gnav a.header__cta{color:#fff}
  body.st-hero-d.home .header:not(.is-scrolled) .burger{border-color:var(--line)}
  body.st-hero-d.home .header:not(.is-scrolled) .burger span::after{background:var(--ink)}

  /* ヒーロー内は最初から表示 */
  body.st-hero-d .hero .rv{opacity:1;transform:none}
}
@media (min-width:1001px){
  body.st-hero-d .hero--stats .hero__media{width:max(54%,660px)}
  body.st-hero-d .hero--stats .hero__body{width:calc(100% - max(54%,660px))}
  body.st-hero-d .hero__title{font-size:clamp(22px,calc((100vw - 745px)/11.6),48px)}
}
@media (min-width:1240px){
  body.st-hero-d .hero__title{font-size:clamp(22px,calc(3.7vw - 3.5px),48px)}
}
/* ===== /トップ冒頭（st_hero_d） ===== */

/* ===== トップ冒頭（st-hero-d）の続き：広い画面で絵が右へ寄りすぎないよう、絵を中央の幅（--maxw）の右54%に収める。土と地表線だけ画面の右端まで続く（絵の 1066〜1440 は土と遠くの建物だけで、右へ薄れて消える）。2026-11-24 ===== */
@media (min-width:769px){
  body.st-hero-d .hero--stats .hero__main{overflow:hidden}
  body.st-hero-d .hero--stats .hero__media{right:max(0px,calc((100% - var(--maxw))/2));width:calc(min(100%,var(--maxw))*.54)}
  body.st-hero-d .hero--stats .hero__media img{position:absolute;left:0;bottom:0;width:calc(100%*1440/1066);max-width:none;height:auto;aspect-ratio:1440/720;object-fit:fill}
  body.st-hero-d .hero--stats .hero__body{width:calc(max(0px,(100% - var(--maxw))/2) + min(100%,var(--maxw))*.46)}
}
@media (min-width:1001px){
  body.st-hero-d .hero--stats .hero__media{width:max(calc(min(100%,var(--maxw))*.54),660px)}
  body.st-hero-d .hero--stats .hero__body{width:calc(100% - max(0px,(100% - var(--maxw))/2) - max(min(100%,var(--maxw))*.54,660px))}
  body.st-hero-d .hero--stats .hero__main{min-height:max(clamp(560px,78vh,720px),calc(max(min(100vw,var(--maxw))*.54,660px)*.6754 + 100px))}
}

/* ===== トップ冒頭（st-hero-d）の下の3つの帯：白い冒頭に合わせた作り直し。数字＝濃い帯、RECRUIT＝淡い緑の帯、AWARD＝淡い金の帯。パソコン表示だけ。2026-11-24
   ※ .rband はリンク（a）で、display の指定が無く行内扱いだったため、これまで背景と線が表示されていなかった。display:block を足した ===== */
@media (min-width:769px){
  body.st-hero-d .hero--stats > .wrap{background:var(--ink);box-shadow:0 0 0 100vmax var(--ink);clip-path:inset(0 -100vmax)}
  body.st-hero-d .hstats{border-top:0;background:transparent}
  body.st-hero-d .hstats__num{color:#fff}
  body.st-hero-d .hstats__num span{color:var(--accent-soft)}
  body.st-hero-d .hstats__label{color:rgba(255,255,255,.84)}
  body.st-hero-d .hstats__item+.hstats__item{border-left:1px solid rgba(255,255,255,.22)}
  body.st-hero-d .rband{display:block}
  body.st-hero-d .rband:not(.rband--honor){background:#E6F0E9;border-bottom:1px solid #C9DBCF}
  body.st-hero-d .rband:not(.rband--honor):hover{background:#DAE9DF}
  body.st-hero-d .rband--honor{background:linear-gradient(90deg,#F5EAC6 0%,#FBF5E0 45%,#F5EAC6 100%);border-top:0;border-bottom:1px solid #D9C27A}
  body.st-hero-d .rband--honor:hover{background:linear-gradient(90deg,#F0E2B4 0%,#F8EFD3 45%,#F0E2B4 100%)}
}

/* フォーム：必須・任意の札は塗りと枠をやめて文字だけにし、パソコン幅では項目名の列の右端に縦一列でそろえる（2026-11-24） */
.req,.opt{background:none;border:0;padding:0;letter-spacing:.06em;white-space:nowrap}
.req{color:var(--accent);font-weight:700}
.opt{color:var(--fg-55);font-weight:400}
.field__label{justify-content:space-between}
/* 記入例（6行）が欄からはみ出して、空の欄にスクロールバーが出ないようにする */
.form .textarea{min-height:200px}
@media (min-width:1001px){
  .field__label{padding-right:28px}
}
/* スマホ：入力欄の文字を16pxに（iPhoneは16px未満だと入力のたびに画面が拡大する）。記入例が切れないよう本文欄を高く */
@media (max-width:1000px){
  .form .input,.form .textarea{font-size:16px}
  .form .textarea{min-height:230px}
}

/* トップ：ご挨拶の区画を灰色の地＋中央の白い面に（st_greet_band。body に st-gb）。白い面の幅は下の資料・お問い合わせと同じ */
body.home.st-gb main section.section:has(>.wrap>.section-head>a.link-more[href$="/company/"]){background:var(--line);padding-block:0;border-top:1px solid var(--line)}
body.home.st-gb main section.section:has(>.wrap>.section-head>a.link-more[href$="/company/"])>.wrap{background:#fff;padding-block:clamp(38px,5vw,58px)}
