@charset "UTF-8";

:root {
  --white: #ffffff;

  /* 温かみ・地域ものづくり トークン（2026-07-23実装仕様書3.1章／design-tokens.css同値）。
     本ラウンドはこの意味別tokenを正本とし、2026-07-22版の青赤tokenは下の互換aliasへ移す。 */
  --surface-page: #F5F1E8;
  --surface-soft: #FBF8F2;
  --surface-card: #ECE7DD;
  --surface-celadon: #E5ECEB;
  --border-earth: #D5CABB;
  --ink: #293940;
  --muted: #52646A;
  --mineral-blue: #2F6977;
  --mineral-blue-mid: #527E91;
  --mineral-blue-light: #7895A3;
  --vermillion-deep: #B95045;
  --vermillion-mid: #D87561;
  --vermillion-light: #E5A083;
  --ochre: #C8A45C;
  --gradient-mineral: linear-gradient(112deg, #2F6977 0%, #527E91 58%, #7895A3 100%);
  --gradient-vermillion-cta: linear-gradient(112deg, #A9443B 0%, #B95045 58%, #A33D36 100%);

  /* 互換alias：既存セレクタを移行するための旧token名。新規コードでは上の新token名を使う。 */
  --blue-text: var(--mineral-blue);
  --blue-surface: var(--mineral-blue-mid);
  --blue-mid: var(--mineral-blue-mid);
  --blue-end: var(--mineral-blue-light);
  --blue-deep: var(--mineral-blue);
  --blue-decorative: var(--mineral-blue-light);
  --red-cta: var(--vermillion-deep);
  /* red-textはvermillion-deepをそのまま使うとsurface-page背景で4.34:1にとどまり4.5:1を
     割り込むため、色相を保ったまま明度だけを下げた専用値を使う（7.3章のCTA安全域規定と
     同じ考え方をred-textにも適用。surface-page背景で実測4.71:1）。 */
  --red-text: #b04c42;
  --red-hover: #A33D36;
  --red-decorative: var(--vermillion-mid);
  --gradient-blue-readable: var(--gradient-mineral);
  --gradient-blue-decorative: var(--gradient-mineral);
  --gradient-red-cta: var(--gradient-vermillion-cta);

  --blue: var(--blue-text);
  --navy: var(--blue-deep);
  --red: var(--red-decorative);
  --paper: var(--surface-soft);
  --pale: var(--surface-celadon);
  --line: var(--border-earth);

  /* 7.4章：Performance trace＋A/B比較（条件F）で、Google Fonts(Montserrat/
     Noto Sans JP/Noto Serif JP、計8 weight)が個別に読み込み完了するたびに
     ページ全体がreflowし、TBTの支配的要因（score 44→77、TBT 1047ms→13ms）
     であることを確認した。フォント自体（ブランド書体）は維持しつつ、
     reflow回数を「8回ばらばら」から「1回だけ」へ減らすため、初期表示は
     フォールバック書体のみとし、document.fonts.ready（1回限りのPromise、
     新規timer/polling/observerではない）で全weightの読み込み完了を待って
     から:root.fonts-loadedを付与し、ここでまとめてWeb Fontへ切り替える。 */
  --serif: "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Yu Gothic", "Hiragino Sans", Meiryo, sans-serif;
  --en: "Yu Gothic", "Hiragino Sans", sans-serif;
  --max: 1360px;
  --side: 48px;
  --header: 78px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* document.fonts.ready解決後（app.js）にhtmlへ付与。全weight読み込み完了を
   1回のイベントとしてまとめ、ここで初めてWeb Fontへ切り替える。 */
:root.fonts-loaded {
  --serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Yu Gothic", "Hiragino Sans", Meiryo, sans-serif;
  --en: "Montserrat", "Noto Sans JP", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface-page);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

/* Header（5.1章／3.3章）：完全不透明の暖白。backdrop-filterと半透明背景を撤去する。
   .is-scrolled（assets/js/app.jsのinitHeaderScrollStateが付け外し）は影の強さだけを変え、
   背景自体は初期状態から常に不透明を保つ。 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border-earth);
  box-shadow: none;
  transition: box-shadow 260ms var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 26px -20px rgba(47, 105, 119, 0.35);
}

.header-inner {
  width: min(100%, var(--max));
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--side);
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  min-height: 44px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid #e8edf3;
  display: grid;
  place-items: center;
  position: relative;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span::before,
.brand-mark span::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
}

.brand-mark::before {
  top: 8px;
  left: 19px;
}

.brand-mark::after {
  bottom: 8px;
  left: 19px;
}

.brand-mark span::before {
  left: 8px;
  top: 19px;
}

.brand-mark span::after {
  right: 8px;
  top: 19px;
}

.brand-mark span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.26rem;
  font-weight: 700;
  color: var(--ink);
}

.brand-sub {
  margin-top: 4px;
  font-family: var(--en);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

.global-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 34px;
}

.global-nav a {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.global-nav a:hover {
  color: var(--red-text);
}

.header-contact,
.red-button,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 56px;
  padding: 0 34px;
  background: var(--gradient-red-cta);
  color: var(--white);
  border: 1px solid var(--red-cta);
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 180ms ease, transform 180ms ease;
}

.header-contact {
  min-height: 52px;
  padding: 0 28px;
}

.header-contact:hover,
.red-button:hover,
.cta-button:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--white);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  position: relative;
}

.nav-toggle span::before {
  position: absolute;
  top: -7px;
}

.nav-toggle span::after {
  position: absolute;
  top: 7px;
}

.hero {
  position: relative;
  background: var(--surface-page);
  /* 6.1章：901px以上は.heroを高さの正本とする。旧min-height/max-heightの重複は
     82svhが880pxを超えるCSS viewport高(約1,073px超)でmin-heightが優先され、
     Heroが無制限に巨大化するバグの原因だった。 */
  height: min(82svh, 880px);
  min-height: min(640px, calc(100svh - var(--header)));
  max-height: none;
  overflow: hidden;
}

/* hero-media / hero-scrim は同一のボックス（top: -var(--header) 〜 bottom: 0）を共有し、
   同じ座標(0 96% / 100% 100%)を境界に使う補完図形（写真の斜め cut）。
   top を -var(--header) だけ持ち上げることで、写真が Header の背後まで
   自然に続き、HeaderとHeroが一枚の visual area に見えるようにしている。
   5.2章：Hero下端の赤い太線は廃止し、.hero-flow（粉体flow SVG）へ置き換えた。 */
.hero-media {
  position: absolute;
  top: calc(var(--header) * -1);
  left: 0;
  right: 0;
  bottom: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 96%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 46%;
}

.hero-scrim {
  position: absolute;
  top: calc(var(--header) * -1);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 96%);
  background: linear-gradient(
    100deg,
    rgba(251, 248, 242, 0.97) 0%,
    rgba(251, 248, 242, 0.94) 24%,
    rgba(251, 248, 242, 0.64) 42%,
    rgba(251, 248, 242, 0.2) 58%,
    rgba(251, 248, 242, 0) 72%
  );
}

/* 5.3章：粉体flow装飾。Hero下端付近、PCのみ穏やかな常時motionを許可する。
   aria-hidden・pointer-events:noneで支援技術・操作から隠す。 */
.hero-flow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-flow__svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-flow__particles circle {
  transform-box: fill-box;
  transform-origin: center;
}

/* PC：常時穏やかなmotion（transform/opacityのみ）。Heroがviewport外、
   MobileMenu/Lightbox open、prefers-reduced-motion時はJS/CSSで停止する
   （.motion-paused class、assets/js/app.js） */
@media (min-width: 901px) {
  .hero-flow__particles--mineral circle {
    animation: hero-flow-drift 7s ease-in-out infinite;
  }
  .hero-flow__particles--vermillion circle {
    animation: hero-flow-drift 8.5s ease-in-out infinite;
  }
  .hero-flow__particles--ochre circle {
    animation: hero-flow-drift 10s ease-in-out infinite;
  }
  .hero-flow__particles circle:nth-child(3n) { animation-delay: -2.4s; }
  .hero-flow__particles circle:nth-child(3n+1) { animation-delay: -4.8s; }

  .hero.motion-paused .hero-flow__particles circle {
    animation-play-state: paused;
  }
}

@keyframes hero-flow-drift {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.06); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--side);
  height: 100%;
  min-height: 0;
  max-height: none;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 540px;
  padding-block: 96px;
}

.hero-copy h1 {
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--mineral-blue);
}

.hero-copy p {
  margin-top: 26px;
  max-width: 470px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 2;
}

.hero-copy .red-button {
  margin-top: 36px;
}

/* 5.2章：Hero直後の短い地域メッセージ。独立した大型sectionにせず、
   HeroとReasonsをつなぐ薄いband要素とする。 */
.hero-transition-message {
  position: relative;
  margin: 0;
  padding: 12px var(--side) 14px;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--mineral-blue);
  background: var(--surface-soft);
  overflow: hidden;
}

.hero-transition-flow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  pointer-events: none;
  z-index: 0;
}

.hero-transition-flow svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-transition-message > *:not(.hero-transition-flow) {
  position: relative;
  z-index: 1;
}

.section {
  padding: 92px 0;
}

.section-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-inline: var(--side);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--blue);
  font-family: var(--en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-label::before {
  content: "";
  display: block;
  width: 16px;
  height: 2px;
  background: var(--red);
  flex: 0 0 auto;
}

.section-intro h2,
.equipment-intro h2,
.recruit-intro h2 {
  font-family: var(--serif);
  font-size: 2.5rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--navy);
}

.section-intro h2::after,
.equipment-intro h2::after,
.recruit-intro h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 20px;
  background: var(--red);
}

.section-intro p,
.equipment-intro p,
.recruit-intro p {
  margin-top: 28px;
  color: var(--muted);
  font-weight: 500;
}

.reasons-section {
  /* 4.2章脚注：現状値を上限としつつ、可能な限り下回ることを目標とする。
     padding-bottomを.sectionの92pxから64pxへ詰めて実測マージンを確保した
     （≤900pxは.section.reasons-section側の複合セレクタで別途上書き）。 */
  background: linear-gradient(180deg, var(--surface-soft) 0%, var(--surface-celadon) 100%);
  padding-top: 56px;
  padding-bottom: 64px;
}

.section.reasons-section {
  /* .section{padding-top/bottom}の≤900px上書き(58px)より優先させるための複合セレクタ。
     4.2章のTop全体高さ予算のため、可能な限り上限を下回るよう追加で詰めた。 */
  padding-top: 40px;
  padding-bottom: 16px;
}

.reasons-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(320px, 1.12fr) minmax(340px, 1fr);
  gap: 34px;
  align-items: stretch;
}

.reasons-intro {
  padding-top: 48px;
}

.reason-main {
  min-height: 430px;
  position: relative;
  overflow: hidden;
  background: var(--navy);
  cursor: zoom-in;
  clip-path: polygon(0 0, 92% 0, 100% 7%, 100% 100%, 0 100%);
  box-shadow: 0 26px 46px -28px rgba(47, 105, 119, 0.45);
}

.reason-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reason-main::after {
  content: "";
  position: absolute;
  inset: 0;
  /* 下層/全体の背景を新token(mineral-blue)へ同期（3.3章）。 */
  background: linear-gradient(180deg, rgba(47, 105, 119, 0.05), rgba(47, 105, 119, 0.9));
}

.reason-main-text {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  z-index: 1;
  color: var(--white);
}

.reason-main-text span {
  display: block;
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 1;
  font-weight: 600;
}

.reason-main-text h3 {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
}

.reason-main-text p {
  margin-top: 10px;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
}

.reason-side-list {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 14px;
}

.reason-side {
  display: grid;
  grid-template-columns: 1fr 150px;
  min-height: 142px;
  background: var(--white);
  border-radius: 2px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px -22px rgba(47, 105, 119, 0.3);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}

.reason-side:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: 0 18px 32px -18px rgba(47, 105, 119, 0.42);
}

.reason-side div {
  padding: 24px 24px 24px 26px;
  position: relative;
}

.reason-side div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  bottom: 26px;
  width: 2px;
  background: var(--red);
  opacity: 0.85;
}

.reason-side span {
  display: block;
  color: var(--blue);
  font-family: var(--serif);
  font-size: 2.35rem;
  line-height: 1;
  font-weight: 600;
}

.reason-side h3 {
  margin-top: 10px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.45;
  font-weight: 600;
}

.reason-side p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
  font-weight: 500;
}

.reason-side img {
  width: 150px;
  height: 100%;
  object-fit: cover;
}

.materials-section {
  background: var(--surface-soft);
}

.materials-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(600px, 3fr);
  gap: 32px;
  align-items: center;
}

.materials-intro {
  padding-top: 44px;
}

/* ブラッシュアップ20260723：対応原料 PC専用のReact選択式ギャラリー。
   901px未満はマウントされないため常にdisplay:noneが既定。 */
.materials-gallery-root {
  display: none;
}

@media (min-width: 901px) {
  .materials-grid.has-js-gallery .materials-list {
    display: none;
  }

  .materials-grid.has-js-gallery .materials-gallery-root {
    display: block;
  }

  .materials-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .materials-gallery-preview {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid var(--border-earth);
    background: var(--surface-card);
  }

  .materials-gallery-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    animation: materialsFadeIn 260ms var(--ease);
  }

  .materials-gallery-preview figcaption {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--navy);
    font-weight: 700;
    font-size: 1.05rem;
  }

  .materials-gallery-preview figcaption .en {
    display: block;
    margin-top: 2px;
    color: var(--mineral-blue);
    font-family: var(--en);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
  }

  @keyframes materialsFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .materials-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }

  .materials-gallery-thumb {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    border: 2px solid transparent;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
  }

  .materials-gallery-thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 3px;
    display: block;
    opacity: 0.72;
    transition: opacity 180ms var(--ease);
  }

  .materials-gallery-thumb.is-active img,
  .materials-gallery-thumb:hover img,
  .materials-gallery-thumb:focus-visible img {
    opacity: 1;
  }

  .materials-gallery-thumb.is-active {
    border-color: var(--mineral-blue);
  }

  .materials-gallery-thumb-label {
    font-size: 0.75rem;
    color: var(--muted);
    line-height: 1.4;
  }

  .materials-gallery-thumb-label .no {
    font-family: var(--en);
    font-weight: 700;
    color: var(--mineral-blue);
    margin-right: 4px;
  }

  .materials-gallery-thumb:focus-visible {
    outline: 2px solid var(--mineral-blue);
    outline-offset: 2px;
  }
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 54px;
  margin-top: 30px;
  padding: 0 28px;
  border: 1px solid var(--blue);
  color: var(--blue);
  background: transparent;
  font-weight: 700;
  white-space: nowrap;
}

.outline-button:hover {
  background: var(--blue);
  color: var(--white);
}

/* ブラッシュアップ20260723：対応原料/設備紹介のCTAボタンは文字数が異なり
   見た目のサイズが不揃いだった（inline-flexが文字幅に追従するため）。
   共通のmin-widthを与えて視覚的に揃える。中身のテキスト・リンク先は変更しない。 */
.materials-intro .outline-button,
.equipment-intro .outline-button {
  min-width: 256px;
}

/* 5.5章：PC Materialsは均等5card。旧.material-large＋.material-small-grid
   （大1＋小4の非対称構成）は廃止し、5枚とも同一DOM構造・同一classで統一する。 */
.materials-list .content-rail__track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.material-card {
  position: relative;
  overflow: hidden;
  background: var(--surface-card);
  border: 1px solid var(--border-earth);
  border-radius: 4px;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.material-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.material-card figcaption {
  padding: 12px 14px;
  color: var(--ink);
  background: var(--surface-soft);
  font-weight: 700;
  font-size: 0.92rem;
}

.material-card .en {
  display: block;
  margin-top: 2px;
  color: var(--mineral-blue);
  font-family: var(--en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.material-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px -20px rgba(47, 105, 119, 0.32);
}

.materials-note {
  width: min(100%, var(--max));
  margin: 18px auto 0;
  padding-inline: var(--side);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  text-align: center;
}

/* =========================================================================
   下層ページ（business/index.html）専用：Top pageの.materials-gridは
   R3で5カードrail構成へ作り替えたため、下層ページの旧「大1＋小4」構成
   （構造は変えず新tokenへ同期するだけ）と衝突しないよう別selectorへ分離する。
   ========================================================================= */
.materials-grid-legacy {
  display: grid;
  grid-template-columns: minmax(210px, 0.78fr) minmax(380px, 1.2fr) minmax(390px, 1.45fr);
  gap: 24px;
  align-items: stretch;
}

.material-large {
  min-height: 340px;
  position: relative;
  overflow: hidden;
  background: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 9% 100%, 0 91%);
  box-shadow: 0 26px 44px -28px rgba(47, 105, 119, 0.4);
}

.material-large img,
.material-small-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.material-large-label,
.material-small-grid figcaption {
  position: absolute;
  left: 0;
  right: auto;
  bottom: 0;
  padding: 12px 20px 12px 16px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 0 3px 0 0;
  font-weight: 700;
  font-size: 0.92rem;
}

.material-large .en,
.material-small-grid .en {
  display: block;
  margin-top: 2px;
  color: var(--blue);
  font-family: var(--en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.material-small-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  padding: 18px;
  background-color: var(--pale);
  background-image: radial-gradient(circle, rgba(47, 105, 119, 0.14) 1px, transparent 1.6px);
  background-size: 13px 13px;
  border: 1px solid var(--line);
  border-radius: 2px;
}

.material-small-grid figure {
  min-height: 146px;
  position: relative;
  overflow: hidden;
  background: var(--white);
  border-radius: 2px;
  box-shadow: 0 14px 26px -20px rgba(47, 105, 119, 0.32);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.material-small-grid figure:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px -18px rgba(47, 105, 119, 0.4);
}

/* business/index.html固有：360px以下はタイル幅140px以上を確保できないため1列。
   360〜560pxはpadding/gapを縮小した2×2（実測済み：360pxで約144px）。 */
@media (max-width: 359px) {
  .material-small-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 360px) and (max-width: 560px) {
  .material-small-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px;
    gap: 12px;
  }
}

.equipment-section {
  /* 5.6章：section背景は--surface-soft／--surface-pageのいずれかとし、
     旧--gradient-blue-readable相当の青い広面は使わない。 */
  background: var(--surface-soft);
  color: var(--ink);
  padding: 74px 0;
}

.equipment-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-inline: var(--side);
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(680px, 2.2fr);
  gap: 42px;
  align-items: center;
}

.equipment-intro .section-label {
  color: var(--mineral-blue);
}

.equipment-intro h2 {
  color: var(--ink);
}

.equipment-intro p {
  color: var(--muted);
}

/* ブラッシュアップ20260723：4列均等グリッドから2×2グリッドへ変更し、
   1枚あたりの写真面積を拡大する（余白と写真をより大きく使う）。 */
.equipment-list .content-rail__track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.equipment-list figure {
  position: relative;
  overflow: hidden;
  background: var(--surface-card);
  cursor: zoom-in;
  border-radius: 4px;
  border: 1px solid var(--border-earth);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.equipment-list figure:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px -20px rgba(47, 105, 119, 0.32);
}

/* 写真実寸4:3（760×570）に対し、旧実装はmin-height:220pxのみでheightが
   未確定だったため、height:100%が効かず写真下に背景色の隙間が生じていた。
   aspect-ratio:4/3にすることで隙間を解消する。 */
.equipment-list .equip-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.equipment-list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  transition: transform 260ms var(--ease);
}

.equipment-list figure:hover .equip-media img,
.equipment-list figure:focus-within .equip-media img {
  transform: scale(1.05);
}

.equipment-list figcaption {
  padding: 12px 14px;
  color: var(--ink);
  background: var(--surface-soft);
  font-weight: 700;
}

/* 連番バッジ：他セクション（Business .process-step-no等）と同系統の
   大きな連番を写真に重ねる。個別機器名はそのまま、カテゴリ化はしない。 */
.equipment-list .equip-no {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--mineral-blue);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1;
}

/* Lightbox起点は既存どおり完全透明（アイコンなし）のままだったため、
   クリックできることが視覚的に伝わらなかった。ホバー/フォーカス時のみ
   虫眼鏡アイコンをフェードインさせる。 */
.equipment-list .lightbox-trigger::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F6977' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.5' y2='16.5'/%3E%3C/svg%3E") center/16px no-repeat;
  opacity: 0;
  transition: opacity 220ms var(--ease);
}

.equipment-list figure:hover .lightbox-trigger::after,
.equipment-list figure:focus-within .lightbox-trigger::after,
.equipment-list .lightbox-trigger:focus-visible::after {
  opacity: 1;
}

/* =========================================================================
   5.7章：Materials／Equipment共通の横rail実装。
   901px以上はPC gridのまま（indicatorは不要のため非表示）。
   561〜900pxはnative horizontal scroll + snapのrailにする（4.1章）。
   ========================================================================= */
.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;
}

.content-rail {
  position: relative;
  min-width: 0;
}

.content-rail__track:focus-visible {
  outline: 3px solid var(--mineral-blue);
  outline-offset: -3px;
}

.content-rail__indicator {
  display: none;
}

@media (max-width: 900px) {
  /* grid/flex子要素は既定でcontentの最小幅を下回れないため、min-width:0を
     明示しない限りtrack自体がcard合計幅まで広がりページ全体がはみ出す。 */
  .materials-grid,
  .equipment-inner {
    min-width: 0;
  }

  .content-rail__track {
    display: flex !important;
    width: 100%;
    min-width: 0;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .content-rail__track::-webkit-scrollbar {
    display: none;
  }

  .content-rail__track > * {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  /* 5.5章：カード幅78〜82vw、次カード15〜20%を見せる。
     4.2章のTop全体高さ予算のため、写真高はcard幅（viewport幅）に連動させず
     固定pxで頭打ちにする（aspect-ratio:1/1のままだと768px幅で1枚614pxまで
     伸び、Top全体高が予算を超過するため）。 */
  .materials-list .content-rail__track > .material-card {
    width: 80vw;
  }

  .material-card img {
    aspect-ratio: auto;
    height: 190px;
  }

  /* 5.6章：Equipmentはカード幅86〜90vw、Materialsより写真を大きくする。
     写真高は.equip-mediaへ固定する（figcaptionは別の静的panelとして下に続く）。 */
  .equipment-list .content-rail__track > figure {
    width: 88vw;
  }

  .equipment-list .equip-media {
    height: 200px;
    min-height: 0;
  }

  .content-rail__indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
  }

  .content-rail__indicator .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-earth);
    transition: background-color 200ms var(--ease), transform 200ms var(--ease);
  }

  .content-rail__indicator .dot.is-active {
    background: var(--mineral-blue);
    transform: scale(1.3);
  }

  /* section背景が--surface-softへ変わったため、Equipment railのindicatorは
     Materialsと同じdefault配色（border-earth／mineral-blue）をそのまま使う。 */
}

.recruit-section {
  background: var(--white);
  padding: 88px 0;
}

.recruit-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--side);
  display: grid;
  grid-template-columns: 0.78fr 1.17fr 1.3fr;
  gap: 48px;
  align-items: center;
}

.recruit-intro {
  padding: 0;
}

.recruit-photo {
  height: 380px;
  overflow: hidden;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8% 100%, 0 93%);
  box-shadow: 0 24px 42px -26px rgba(47, 105, 119, 0.4);
}

.recruit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 30%;
}

.recruit-copy {
  padding-left: 26px;
  border-left: 2px solid var(--red);
}

.recruit-copy p {
  color: var(--blue);
  font-family: var(--serif);
  font-size: 2.1rem;
  line-height: 1.65;
  font-weight: 600;
  white-space: normal;
}

.recruit-copy span {
  display: block;
  margin-top: 22px;
  color: var(--muted);
  font-weight: 500;
  max-width: 30em;
}

/* 5.8章：引用直後のcompact accordion。初期closed、summary実効tap高44px以上。
   native <details>/<summary>のsemanticsを維持し、divで置き換えない（7.2章）。 */
.recruit-positions {
  margin-top: 20px;
  max-width: 30em;
  border: 1px solid var(--border-earth);
  border-radius: 4px;
  background: var(--surface-soft);
}

.recruit-positions summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--mineral-blue);
  list-style: none;
}

.recruit-positions summary::-webkit-details-marker {
  display: none;
}

.recruit-positions summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 200ms var(--ease);
  flex-shrink: 0;
}

.recruit-positions[open] summary::after {
  transform: rotate(-135deg);
}

.recruit-positions summary:focus-visible {
  outline: 3px solid var(--mineral-blue);
  outline-offset: -3px;
}

.recruit-positions ul {
  margin: 0;
  padding: 0 16px 14px;
  list-style: none;
}

.recruit-positions li + li {
  border-top: 1px solid var(--border-earth);
}

.recruit-positions a {
  display: block;
  padding: 10px 2px;
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--ink);
  font-weight: 500;
}

.recruit-positions a:hover {
  color: var(--mineral-blue);
}

.cta-section {
  background: var(--gradient-red-cta);
  color: var(--white);
}

.cta-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--side);
  min-height: 150px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto minmax(0, 0.82fr);
  align-items: center;
  gap: 40px;
  overflow: hidden;
}

.cta-copy {
  padding: 34px 0;
}

.cta-copy h2 {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.55;
  font-weight: 600;
  max-width: 24em;
}

.cta-copy p {
  margin-top: 18px;
  max-width: 34em;
  /* gradient-vermillion-ctaの最明部(#B95045)に対し0.9 opacityは4.29:1にとどまるため、
     完全不透明の白へ変更する（実測4.89:1、7.3章の4.7:1目標を満たす）。 */
  color: var(--white);
  line-height: 1.8;
  font-weight: 500;
}

.cta-button {
  justify-self: center;
  min-width: 280px;
  color: var(--red-text);
  background: var(--white);
  border-color: var(--white);
}

.cta-button:hover {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.cta-photo {
  align-self: stretch;
  height: 100%;
  min-height: 150px;
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
}

.cta-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer {
  /* 3.1章：Footerは--mineral-blue相当以上の深さを保ち、白文字は実測4.5:1以上とする。
     新背景色(mineral-blue #2F6977)では旧0.76 opacityが4.34:1にとどまるため0.85へ調整
     （実測4.99:1）。 */
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 46px 0 20px;
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-inline: var(--side);
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.7fr) minmax(280px, 0.9fr);
  gap: 52px;
}

.brand-footer .brand-name {
  color: var(--white);
}

.brand-footer .brand-sub {
  /* mineral-blue背景では0.66 opacityは3.70:1にとどまるため0.85へ調整（実測5.05:1）。 */
  color: rgba(255, 255, 255, 0.85);
}

.footer-brand p {
  margin-top: 22px;
}

.footer-company {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 36px;
  align-self: start;
}

/* ブラッシュアップ20260723：実測159×30pxで44pxタップ領域に届いていなかった。
   paddingで当たり判定を拡張する（文字サイズ・見た目は変更しない）。 */
.footer-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 0;
  margin: 0;
}

.footer-nav a:hover,
.footer-bottom a:hover,
.footer-company:hover {
  color: var(--white);
}

.footer-address {
  font-style: normal;
  justify-self: end;
}

.footer-bottom {
  width: min(100%, var(--max));
  margin: 34px auto 0;
  padding-inline: var(--side);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  /* mineral-blue背景では0.64 opacityは3.58:1にとどまるため0.85へ調整（実測5.05:1）。 */
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
}

/* ブラッシュアップ20260723：実測131×24pxで44pxタップ領域に届いていなかった。 */
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
  margin: -10px 0;
}

.drawer-overlay,
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 18, 42, 0.72);
}

.drawer {
  /* 3.3章：MobileMenu drawerは完全不透明。半透明背景を使わない。 */
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 91;
  width: min(84vw, 360px);
  background: var(--surface-soft);
  padding: 26px 24px;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.drawer__title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-deep);
}

.drawer__close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 1.3rem;
}

.drawer__link {
  display: flex;
  justify-content: space-between;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.drawer__link .ar {
  color: var(--red);
}

.drawer__cta {
  margin-top: 24px;
  width: 100%;
}

.lb-overlay {
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vw;
  /* ブラッシュアップ20260723：Reactマウント時に一度だけ再生されるフェード
     （JS側の状態管理は変更せず、CSSアニメーションのみで実現） */
  animation: lbFadeIn 220ms var(--ease);
}

.lb-fig {
  width: min(100%, 1000px);
  animation: lbScaleIn 260ms var(--ease);
}

@keyframes lbFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lbScaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.lb-fig img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.lb-cap {
  margin-top: 16px;
  color: var(--white);
  text-align: center;
}

.lb-close {
  position: fixed;
  top: 22px;
  right: 26px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-size: 1.4rem;
}

/* ブラッシュアップ20260723 Gate指摘対応：一律fade-up除去後は各ページ最大1件
   のみが.revealを持つため、640msは「一律適用の演出」ではなくなったが、
   仕様書4.2節の150-300msレンジに合わせて300msへ短縮する。 */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* .reason-side は hover 用 transition と reveal 用 transition を併せ持つため、
   ここで両方を1つの transition 宣言に統合する（shorthand の上書き事故を避ける） */
.reason-side.reveal {
  transition: opacity 560ms var(--ease), transform 300ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms var(--ease);
}

.reason-side-list .reason-side:nth-child(2) { transition-delay: 90ms; }
.reason-side-list .reason-side:nth-child(3) { transition-delay: 180ms; }

@media (max-width: 1180px) {
  :root {
    --side: 34px;
  }

  .global-nav {
    gap: 20px;
  }

  .hero-copy h1 {
    font-size: 3.6rem;
  }

  .reasons-grid,
  .materials-grid,
  .materials-grid-legacy {
    grid-template-columns: 1fr;
  }

  .reasons-intro,
  .materials-intro {
    padding-top: 0;
  }

  .reason-main {
    min-height: 390px;
  }

  .reason-side-list {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: none;
  }

  .equipment-inner {
    grid-template-columns: 1fr;
  }

  .recruit-inner {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .recruit-copy {
    grid-column: 1 / -1;
    padding: 24px 0 0;
  }

  .cta-inner {
    grid-template-columns: 1fr 280px;
  }

  .cta-photo {
    display: none;
  }
}

/* R4-01：デスクトップ版Header（.global-nav + .header-contact）は、
   brand＋6リンク＋お問い合わせボタンの実測合計幅が901〜1021px幅では
   コンテナ内に収まらずheader-contactがviewport右端からはみ出す
   （実測：979位置=左paddingを詰めても988px要、901px幅では833pxしか
   確保できない）。ハンバーガー版Header（.nav-toggle）は既に検証済み・
   アクセシブルなため、その切替breakpointだけを1060pxまで広げて隙間を塞ぐ。
   同じ理由でFooterの3列grid（minmax合計924px）も901px幅では収まらない
   ため、同じ1060px breakpointで1列へ折り返す。
   Hero/Reasons/Materials等、他のモバイル再構成（≤900px）はそのまま維持する。 */
@media (max-width: 1060px) {
  .global-nav,
  .header-contact {
    display: none;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    margin-left: auto;
  }

  /* 4.2章：Footerは390px幅720px以下、768px幅620px以下。gap・余白を大きく詰める。 */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-address {
    justify-self: start;
  }

  .footer-brand p {
    margin-top: 12px;
  }

  .footer-company {
    margin-top: 12px;
    padding: 6px 12px;
  }

  .footer-bottom {
    margin-top: 12px;
    padding-top: 12px;
  }

  .analytics-notice {
    margin-top: 10px;
  }
}

@media (max-width: 900px) {
  :root {
    --header: 68px;
    --side: 18px;
  }

  .header-inner {
    gap: 10px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-name,
  .brand-sub {
    overflow-wrap: break-word;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .brand-name {
    font-size: 1rem;
  }

  /* DEC-049：モバイルでも英字副表記は12px以上を維持する（さらに縮小しない）。
     320pxでの衝突は、6.1章の指示どおりbrand-mark縮小・gap/側余白の圧縮を先に行い、
     なお不足する場合はbrand-textの折り返しを許可して吸収する（テキストの非表示・短縮はしない）。 */

  /* 5.2章：モバイルHeroは写真とコピーを上下の別blockにせず、PCと同じ「写真の上へ
     実HTMLを重ねる」一体構成を維持する。390px幅で560px以下、768px幅で620px以下
     （VD-019、svhより固定pxを優先）。 */
  .hero {
    height: clamp(480px, 15vw + 480px, 600px);
    min-height: 0;
    max-height: none;
  }

  .hero-media {
    clip-path: none;
  }

  .hero-scrim {
    clip-path: none;
    background: linear-gradient(190deg, rgba(251, 248, 242, 0) 0%, rgba(251, 248, 242, 0.58) 48%, rgba(251, 248, 242, 0.97) 80%);
  }

  .hero-flow {
    height: 90px;
  }

  .hero-transition-flow {
    height: 32px;
  }

  /* 5.3章：モバイルは粒子数を12個以下に抑え、常時loopさせない
     （PC専用のhero-flow-drift animationは@media(min-width:901px)側にしか
     定義していないため、ここでは非表示だけを扱う）。 */
  .hero-flow__mobile-hide {
    display: none;
  }

  .hero-inner {
    height: 100%;
    min-height: clamp(480px, 15vw + 480px, 600px);
    max-height: none;
    align-items: flex-end;
    padding-block: 0;
  }

  .hero-copy {
    max-width: none;
    padding: 22px 0 26px;
  }

  .hero-copy h1 {
    font-size: 2.3rem;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  /* Reasons 02〜04（6.3章）：900px以下は「固定104px写真＋番号＋見出し＋根拠1文」の
     横長リストにする。HTMLの子要素順（div→img）は変更せず、Gridのorderで
     写真を視覚的に左へ出す（.equip-cat-row と同じ手法）。 */
  .reason-side-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .reason-side {
    grid-template-columns: 104px 1fr;
    min-height: auto;
  }

  .reason-side img {
    order: -1;
    width: 104px;
    height: auto;
    min-height: 100%;
  }

  .reason-side div {
    padding: 14px 16px 14px 18px;
  }

  .reason-side div::before {
    top: 14px;
    bottom: 14px;
  }

  .reason-side span {
    font-size: 1.6rem;
  }

  .reason-side h3 {
    margin-top: 4px;
    font-size: 1.125rem;
  }

  .reason-side p {
    margin-top: 4px;
    font-size: 0.95rem;
  }

  /* 4.2章：Recruit（details closed）は390px幅980px以下、768px幅950px以下。
     section paddingと写真高を詰めてaccordion追加分を吸収する。 */
  .recruit-section {
    padding: 48px 0;
  }

  .recruit-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .recruit-intro {
    padding: 0 0 4px;
  }

  .recruit-photo {
    height: 205px;
  }

  .site-footer {
    padding: 32px 0 14px;
  }

  .recruit-positions {
    margin-top: 14px;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 28px;
  }

  .cta-copy {
    padding: 0;
  }

  .cta-button {
    justify-self: start;
  }

  .footer-bottom {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .hero-copy h1 {
    font-size: 2.35rem;
  }

  .hero-copy p {
    font-size: 0.95rem;
  }

  .section-intro h2,
  .equipment-intro h2,
  .recruit-intro h2 {
    font-size: 2rem;
  }

  .reason-main-text span {
    font-size: 3.4rem;
  }

  .reason-side-list {
    grid-template-columns: 1fr;
  }

  .recruit-copy p,
  .cta-copy h2 {
    font-size: 1.65rem;
  }

  .red-button,
  .outline-button,
  .cta-button {
    width: 100%;
    min-width: 0;
    padding: 0 18px;
  }

}

/* =========================================================================
   下層ページ共通パーツ
   Header / Footer / CTA帯 / .section 系はトップページと完全共有。
   ここではPage Hero・パンくず・各ページ固有コンテンツの型のみ追加する。
   ========================================================================= */

/* ---- パンくず ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 26px;
}

.breadcrumb a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  min-width: 44px;
  min-height: 44px;
  padding: 10px 9px;
  margin: -10px -9px;
}
.breadcrumb a:hover { color: var(--red-text); }
.breadcrumb .sep { color: var(--line); }

/* ---- Page Hero ----
   ホームのHeroと同じ仕組み（写真フルブリード＋白スクリム＋赤い先細りエッジ）を
   下層に展開し、トップとの連続性を作る。ただしホームより一段静かにして
   「一番の見せ場はホーム」という主従は保つ。
   .page-hero-media と .page-hero-edge は同一座標(0 X%, 100% 100%)を共有する
   補完図形にし、隙間ゼロを幾何学的に保証する（ホームHeroと同じ手法）。
   .page-hero--reverse でスクリム方向とテキスト位置を反転し、
   ページごとに写真の見せ方を変える。
   .page-hero--dark はスクリムに濃紺を混ぜ、設備ページ等の重厚感に使う。 */
.page-hero {
  position: relative;
  background: var(--white);
  overflow: hidden;
  min-height: 460px;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 93%);
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-edge {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--red);
  clip-path: polygon(0 93%, 100% 100%, 0 100%);
  filter: drop-shadow(0 5px 12px rgba(217, 104, 93, 0.4));
  pointer-events: none;
}

.page-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 93%);
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.9) 26%,
    rgba(255, 255, 255, 0.56) 44%,
    rgba(255, 255, 255, 0.14) 60%,
    rgba(255, 255, 255, 0) 74%
  );
}

.page-hero--reverse .page-hero-media { clip-path: polygon(0 0, 100% 0, 100% 93%, 0 100%); }
.page-hero--reverse .page-hero-edge { clip-path: polygon(100% 93%, 100% 100%, 0 100%); }
.page-hero--reverse .page-hero-scrim {
  clip-path: polygon(0 0, 100% 0, 100% 93%, 0 100%);
  background: linear-gradient(
    260deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.9) 26%,
    rgba(255, 255, 255, 0.56) 44%,
    rgba(255, 255, 255, 0.14) 60%,
    rgba(255, 255, 255, 0) 74%
  );
}
.page-hero--reverse .page-hero-inner { justify-content: flex-end; }
.page-hero--reverse .page-hero-copy { text-align: left; }

.page-hero--dark .page-hero-scrim {
  /* 下層ページ背景を新token(mineral-blue)へ同期（3.3章・第6章）。 */
  background: linear-gradient(
    100deg,
    rgba(47, 105, 119, 0.92) 0%,
    rgba(47, 105, 119, 0.86) 26%,
    rgba(47, 105, 119, 0.5) 46%,
    rgba(47, 105, 119, 0.12) 62%,
    rgba(47, 105, 119, 0) 76%
  );
}
.page-hero--dark .page-hero-copy h1,
.page-hero--dark .page-hero-copy .section-label,
.page-hero--dark .breadcrumb,
.page-hero--dark .breadcrumb a { color: var(--white); }
.page-hero--dark .breadcrumb .sep { color: rgba(255, 255, 255, 0.4); }
.page-hero--dark .page-hero-copy .lead { color: rgba(255, 255, 255, 0.82); }

.page-hero--compact { min-height: 300px; }
.page-hero--compact .page-hero-inner { min-height: 300px; }

.page-hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--side);
  min-height: 460px;
  display: flex;
  align-items: center;
}

.page-hero-copy { max-width: 560px; padding-block: 72px; }

.page-hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.4vw, 2.7rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.42;
}

.page-hero-copy h1::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: var(--red);
  margin-top: 22px;
}

.page-hero-copy .lead {
  margin-top: 24px;
  max-width: 34em;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
  font-weight: 500;
}

/* ---- 事業の主役：粉砕・粉体加工の大きな見せ場 ---- */
.process-showcase {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}

.process-showcase-media {
  position: relative;
  height: 420px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 8% 100%, 0 100%);
  box-shadow: 0 30px 50px -30px rgba(47, 105, 119, 0.4);
}

.process-showcase-media img { width: 100%; height: 100%; object-fit: cover; }

.process-showcase-copy .index {
  display: block;
  font-family: var(--en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--blue);
}

.process-showcase-copy h2 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.45;
}

.process-showcase-copy h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: var(--red);
  margin-top: 20px;
}

.process-showcase-copy p {
  margin-top: 22px;
  max-width: 32em;
  color: var(--muted);
  line-height: 1.9;
}

/* ---- 工程タイムライン（横長・罫線区切り） ---- */
.process-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 64px;
}

.process-step {
  padding-inline: 20px;
  position: relative;
}

.process-step:first-child { padding-left: 0; }
.process-step:last-child { padding-right: 0; }

.process-step + .process-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: var(--line);
}

.process-step-media {
  height: 96px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
}

.process-step-media img { width: 100%; height: 100%; object-fit: cover; }

.process-step-no {
  display: block;
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--blue);
  line-height: 1;
}

.process-step h3 {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--navy);
}

.process-step p {
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---- 流れ（ステップ） ---- */
.flow-list {
  display: flex;
  flex-direction: column;
}

.flow-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 24px;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}

.flow-item:first-child { padding-top: 0; }
.flow-item:last-child { border-bottom: 0; padding-bottom: 0; }

.flow-item-no {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--blue);
  line-height: 1;
}

.flow-item h3 {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--navy);
}

.flow-item p {
  margin-top: 8px;
  max-width: 46em;
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--muted);
}

/* ---- 主役スポットライト（選ばれる理由 01：ホームの reason-main を継承） ---- */
.feature-spotlight {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 6% 100%, 0 94%);
  box-shadow: 0 30px 54px -30px rgba(47, 105, 119, 0.4);
  margin-bottom: 64px;
}

.feature-spotlight img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  /* 下層ページ背景を新token(mineral-blue)へ同期（3.3章・第6章）。 */
  background: linear-gradient(180deg, rgba(47, 105, 119, 0.06) 32%, rgba(47, 105, 119, 0.93) 100%);
}

.feature-spotlight-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 52px 60px;
  color: var(--white);
}

.feature-spotlight-body .index {
  display: block;
  font-family: var(--serif);
  font-size: 4.5rem;
  font-weight: 600;
  line-height: 1;
}

.feature-spotlight-body .en {
  display: block;
  margin-top: 4px;
  font-family: var(--en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  /* mineral-blue背景では0.68 opacityは3.82:1にとどまるため0.85へ調整（実測5.05:1）。 */
  color: rgba(255, 255, 255, 0.85);
}

.feature-spotlight-body h2 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 600;
}

.feature-spotlight-body p {
  margin-top: 16px;
  max-width: 46em;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.85;
}

.feature-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  margin-bottom: 88px;
  padding-bottom: 88px;
}

.feature-fact { padding: 24px 26px; }
.feature-fact + .feature-fact { border-left: 1px solid var(--line); }

.feature-fact .no {
  font-family: var(--en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red-text);
}

.feature-fact h3 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.feature-fact p {
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---- 特徴ブロック（選ばれる理由・交互レイアウト） ---- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-block + .feature-block {
  margin-top: 88px;
  padding-top: 88px;
  border-top: 1px solid var(--line);
}

.feature-block--reverse .feature-media { order: 2; }

.feature-media {
  position: relative;
  height: 360px;
  overflow: hidden;
  box-shadow: 0 26px 46px -28px rgba(47, 105, 119, 0.35);
}

.feature-block:nth-child(odd) .feature-media,
.feature-media {
  clip-path: polygon(0 0, 100% 0, 100% 91%, 92% 100%, 0 100%);
}

.feature-block--reverse .feature-media {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8% 100%, 0 91%);
}

.feature-media img { width: 100%; height: 100%; object-fit: cover; }

.feature-copy .index {
  display: block;
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 16px;
}

.feature-copy h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
}

.feature-copy h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--red);
  margin-top: 18px;
}

.feature-copy p {
  margin-top: 20px;
  max-width: 40em;
  color: var(--muted);
  line-height: 1.9;
}

.feature-copy ul {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 8.2章：非操作の3要点をbutton風（枠付きpill）に見せない。marker付きの
   平文テキストへ変更する（border box・pill外観を廃止）。 */
.feature-copy li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.feature-copy li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mineral-blue);
}

/* 8.2章 02 FLEXIBILITY：写真＋本文＋3要点を一つの意味単位にするため、
   03(process-flow)・04(既存50/50)と識別できるよう主従比率の非対称gridにする。
   写真40％・本文60％で、本文側を主役にする（柔軟対応＝説明のリッチさが要点）。 */
@media (min-width: 901px) {
  .feature-block--asym {
    grid-template-columns: 0.72fr 1fr;
  }
}

/* 8.2章 03 CUSTODY：本文に既出の6工程（受入/保管/加工/品質確認/包装/出荷）を
   意味のあるordered flowとして表示する。文言追加0、既存語のみを工程labelへ
   分割する。button風にせず、矢印でつながる横並びstepとして表現する。 */
.process-flow {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  counter-reset: process-step;
}

.process-flow li {
  counter-increment: process-step;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.process-flow li::before {
  content: counter(process-step);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mineral-blue);
  color: var(--white);
  font-family: var(--en);
  font-size: 0.75rem;
}

.process-flow li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  margin: 0 10px;
  background: var(--border-earth);
}

/* ---- FAQ（よくある相談） ---- */
.faq-list { border-top: 1px solid var(--line); }

.faq-item {
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}

.faq-q {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}

.faq-q span {
  font-family: var(--en);
  color: var(--red-text);
  font-weight: 700;
}

.faq-a {
  margin-top: 12px;
  padding-left: 46px;
  max-width: 46em;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.85;
}

/* ---- 設備カテゴリ（設備紹介：写真付き横長カード、左右交互） ---- */
.equip-cat-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* 8.3章：大面積の濃色panelを廃止し、写真panelは維持したまま本文面を
   --surface-soft相当の明色へ変更する。row高は内容駆動にし、短い箇条書き
   のための巨大な固定高（旧min-height:240px）を持たせない。写真は
   aspect-ratioで適切な比率を保ち、row高はcontentへ委ねる。 */
.equip-cat-row {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  background: var(--surface-soft);
  color: var(--ink);
  overflow: hidden;
  border: 1px solid var(--border-earth);
}

.equip-cat-row:nth-child(2n) { grid-template-columns: 1.3fr 0.85fr; }
.equip-cat-row:nth-child(2n) .equip-cat-row-media { order: 2; }

.equip-cat-row-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.equip-cat-row-media img { width: 100%; height: 100%; object-fit: cover; }

.equip-cat-row-body {
  padding: 34px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.equip-cat-row-body::before {
  content: "";
  position: absolute;
  left: 0;
  top: 34px;
  bottom: 34px;
  width: 3px;
  background: var(--mineral-blue);
}

.equip-cat-row-body .en {
  display: block;
  padding-left: 22px;
  font-family: var(--en);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--mineral-blue);
  font-weight: 700;
}

.equip-cat-row-body h3 {
  margin-top: 10px;
  padding-left: 22px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
}

.equip-cat-row-body ul { margin-top: 18px; padding-left: 22px; }

.equip-cat-row-body li {
  padding: 9px 0;
  border-top: 1px solid var(--border-earth);
  font-size: 0.95rem;
  color: var(--muted);
}

.equip-cat-row-body li:first-child { border-top: 0; }

/* ---- 採用: 大切にしていること（写真スポットライト＋横長番号ストリップ） / 働く環境 ---- */
.recruit-spotlight {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  box-shadow: 0 28px 50px -30px rgba(47, 105, 119, 0.32);
  margin-bottom: 56px;
}

.recruit-spotlight img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit-spotlight-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.9) 28%,
    rgba(255, 255, 255, 0.42) 50%,
    rgba(255, 255, 255, 0) 70%
  );
}

.recruit-spotlight-body {
  position: relative;
  z-index: 1;
  max-width: 580px;
  padding: 56px 60px;
}

.recruit-spotlight-body .quote {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 600;
  color: var(--blue);
  line-height: 1.65;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-item { padding-inline: 22px; position: relative; }
.value-item:first-child { padding-left: 0; }
.value-item:last-child { padding-right: 0; }

.value-item + .value-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: var(--line);
}

.value-item .no {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--blue);
  line-height: 1;
}

.value-item h3 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.value-item p {
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--muted);
}

.env-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.env-card { position: relative; overflow: hidden; border-radius: 2px; box-shadow: 0 14px 28px -20px rgba(47, 105, 119, 0.3); }
.env-card-media { height: 200px; overflow: hidden; }
.env-card-media img { width: 100%; height: 100%; object-fit: cover; }
.env-card-body { padding: 18px 20px 22px; background: var(--white); }
.env-card-body h3 { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--navy); }
.env-card-body p { margin-top: 8px; font-size: 0.9rem; line-height: 1.7; color: var(--muted); }

/* ---- 募集職種カード ---- */
.job-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  min-width: 0;
}

.job-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* 5.8章：anchor着地時にsticky Headerで見出しが隠れないようにする。 */
.job-card[id] {
  scroll-margin-top: calc(var(--header) + 24px);
}

/* 8.4章：901px以上は3写真を同一aspect-ratioで配置し、カード高さを最長内容へ
   揃える（.job-gridのalign-items既定stretch＋.job-card-content flex:1）。 */
.job-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.job-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.job-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 24px 26px 28px;
}

/* ブラッシュアップ20260723：他セクション（Business .process-step-no /
   .flow-item-no）と同系統の大きな連番を焦点誘導のデバイスとして追加する。 */
.job-card-no {
  display: block;
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--blue);
  line-height: 1;
}

.job-card .en {
  font-family: var(--en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue);
}

.job-card h3 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  padding-bottom: 16px;
  border-bottom: 2px solid var(--red);
}

.job-card dl {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--ink);
  flex: 1;
}

.job-card dt {
  font-weight: 700;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  margin-top: 12px;
}

.job-card dt:first-child { margin-top: 0; }
.job-card dd { margin: 4px 0 0; line-height: 1.7; }

.job-card .outline-button {
  margin-top: 22px;
  align-self: flex-start;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

/* =========================================================================
   8.4章 Recruit Mobile A2（DEC-062）：900px以下は3職種を常時表示する
   コンパクト・メディアリストにする。写真は全幅上部ではなく固定比率(4:3)の
   サムネイルとして左に配置し、accordion・横rail・JSは一切使わない。
   ========================================================================= */
@media (max-width: 900px) {
  .job-card--media {
    flex-direction: row;
    align-items: stretch;
  }

  .job-card--media .job-card-media {
    flex: 0 0 auto;
    /* align-items:stretch(親、既定値)はcross-axis(row方向のheight)を
       row高（内容の長さ）へ強制し、aspect-ratioを無効化してしまう
       （実測で4:3ではなく0.22〜0.56という縦長比率になっていた不具合）。
       align-self:flex-startでこのstretchを打ち消し、widthから
       aspect-ratioで高さを決定できるようにする。 */
    align-self: flex-start;
    width: 34vw;
    max-width: 168px;
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .job-card--media .job-card-content {
    flex: 1;
    min-width: 0;
    padding: 16px 16px 16px 18px;
  }

  .job-card--media h3 {
    margin-top: 4px;
    padding-bottom: 10px;
    font-size: 1.05rem;
  }

  .job-card--media dl {
    margin-top: 10px;
    font-size: 0.9rem;
  }

  .job-card--media dt {
    margin-top: 8px;
  }

  .job-card--media .outline-button {
    margin-top: 14px;
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.9rem;
  }
}

/* ---- お知らせ一覧 ---- */
.news-list { border-top: 1px solid var(--line); }

.news-item {
  display: grid;
  grid-template-columns: 128px 132px 1fr 24px;
  align-items: center;
  gap: 26px;
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
  transition: opacity 220ms var(--ease), padding-left 220ms var(--ease);
}

.news-item:hover { opacity: 0.68; padding-left: 6px; }

.news-item time {
  font-family: var(--en);
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.news-tag {
  justify-self: start;
  font-family: var(--en);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 2px;
  padding: 5px 12px;
}

.news-tag--product { color: var(--red-text); border-color: var(--red-text); }

.news-item h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.65;
}

.news-item .arw { color: var(--red); justify-self: end; }

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 44px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  font-size: 0.88rem;
  font-family: var(--en);
  font-weight: 700;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination .current { background: var(--blue); color: var(--white); border-color: var(--blue); }
.pagination .next { width: auto; padding-inline: 14px; gap: 8px; }

/* ---- 下層ページ レスポンシブ ---- */
@media (max-width: 1180px) {
  .process-showcase { grid-template-columns: 1fr; gap: 32px; }
  .process-showcase-media { height: 320px; }
  .process-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .process-step:nth-child(3n+1) { padding-left: 0; }
  .process-step:nth-child(3n+1)::before { display: none; }
  .value-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .value-item:nth-child(2n+1) { padding-left: 0; }
  .value-item:nth-child(2n+1)::before { display: none; }
  .env-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .equip-cat-row,
  .equip-cat-row:nth-child(2n) { grid-template-columns: 1fr; min-height: auto; }
  .equip-cat-row-media,
  .equip-cat-row:nth-child(2n) .equip-cat-row-media { order: -1; height: 200px; }
}

@media (max-width: 900px) {
  .page-hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }
  .page-hero-media {
    position: relative;
    inset: auto;
    min-height: 240px;
    order: -1;
    clip-path: none;
  }
  .page-hero-edge {
    position: relative;
    inset: auto;
    z-index: auto;
    height: 4px;
    clip-path: none;
    filter: none;
  }
  .page-hero-scrim {
    position: absolute;
    clip-path: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 65%, rgba(255, 255, 255, 0.97) 100%);
  }
  .page-hero--dark .page-hero-scrim {
    background: linear-gradient(180deg, rgba(47, 105, 119, 0) 0%, rgba(47, 105, 119, 0.65) 65%, rgba(47, 105, 119, 0.97) 100%);
  }
  .page-hero-inner { min-height: auto; padding-block: 0; }
  .page-hero-copy { max-width: none; padding: 34px 0 30px; }
  .page-hero--reverse .page-hero-inner { justify-content: flex-start; }
  .breadcrumb { margin-top: 20px; }
  .process-showcase-media { height: 240px; clip-path: none; }
  .process-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .process-step:nth-child(2n+1) { padding-left: 0; }
  .process-step:nth-child(2n+1)::before { display: none; }
  .feature-block,
  .feature-block--reverse { grid-template-columns: 1fr; }
  .feature-block--reverse .feature-media { order: 0; }
  .feature-block + .feature-block { margin-top: 58px; padding-top: 58px; }
  .feature-media,
  .feature-block--reverse .feature-media { height: 260px; clip-path: none; }
  .feature-spotlight { min-height: 360px; clip-path: none; margin-bottom: 40px; }
  .feature-spotlight-body { padding: 30px 28px; }
  .feature-spotlight-body .index { font-size: 3.2rem; }
  .feature-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 58px; padding-bottom: 58px; }
  .feature-fact:nth-child(2n+1) { border-left: 0; }
  .feature-fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .recruit-spotlight { min-height: 340px; clip-path: none; margin-bottom: 40px; }
  .recruit-spotlight-body { padding: 30px 26px; }
  .env-grid,
  .job-grid { grid-template-columns: 1fr; }
  .news-item {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "date tag" "title title";
    row-gap: 8px;
  }
  .news-item time { grid-area: date; }
  .news-tag { grid-area: tag; }
  .news-item h3 { grid-area: title; }
  .news-item .arw { display: none; }
  .flow-item { grid-template-columns: 56px 1fr; }
}

@media (max-width: 560px) {
  .value-strip { grid-template-columns: 1fr; }
  .value-item { padding-left: 0 !important; }
  .value-item::before { display: none !important; }
  .process-strip { grid-template-columns: 1fr; }
  .process-step { padding-left: 0 !important; }
  .process-step::before { display: none !important; }
}

/* =========================================================================
   会社案内 / プライバシー / フォーム / モバイル固定CTA
   Implementation Readyラウンド（P1）で追加。既存トークン・既存コンポーネント
   （.section / .page-hero / .flow-list / .env-grid 等）を再利用し、
   新しい構図・配色は追加しない。
   ========================================================================= */

/* ---- 会社案内：代表者メッセージ ---- */
.company-rep {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.company-rep blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.24rem, 2.1vw, 1.6rem);
  font-weight: 600;
  color: var(--blue);
  line-height: 1.95;
}

.company-rep blockquote::before { content: "“"; }
.company-rep blockquote::after { content: "”"; }

.company-rep cite {
  display: block;
  margin-top: 24px;
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}

/* ---- 会社案内：Outline表（会社概要） ---- */
.outline-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line);
}

.outline-table tr { border-bottom: 1px solid var(--line); }

.outline-table th,
.outline-table td {
  padding: 20px 16px;
  text-align: left;
  vertical-align: top;
  font-weight: 500;
}

.outline-table th {
  width: 220px;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
}

.outline-table td { color: var(--ink); }

/* 未確定項目の仮値マーカー：画面上でも視認できる形で「確認中」を明示する（DEC-042） */
.placeholder-mark {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red-text);
  border: 1px solid var(--red-text);
  border-radius: 2px;
  white-space: nowrap;
  vertical-align: middle;
}

/* ---- 会社案内：Access（住所＋地図） ---- */
.company-access {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.company-access address {
  font-style: normal;
  line-height: 2;
  color: var(--ink);
}

.company-access .map-frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--pale);
}

.company-access .map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 900px) {
  .company-access { grid-template-columns: 1fr; }
}

/* ---- プライバシーポリシー本文 ---- */
.legal-doc { max-width: 760px; margin: 0 auto; }

.legal-doc h2 {
  margin-top: 52px;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--navy);
}

.legal-doc h2:first-child { margin-top: 0; }

.legal-doc p,
.legal-doc li {
  margin-top: 14px;
  color: var(--ink);
  line-height: 1.95;
}

.legal-doc ul,
.legal-doc ol { padding-left: 1.3em; }

.legal-doc .updated {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ブラッシュアップ20260723：実測144×24pxで44pxタップ領域に届いていなかった。 */
.legal-doc .back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
  margin: -10px 0;
}

/* ---- フォーム共通（営業・問い合わせ／採用応募） ---- */
.form-section { background: var(--paper); }

.form-frame {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 44px 48px;
}

.form-row { margin-top: 26px; }
.form-row:first-child { margin-top: 0; }

.form-row label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.92rem;
}

.form-row .required {
  margin-left: 6px;
  color: var(--red-text);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-row .optional {
  margin-left: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--blue);
}

.form-row textarea { min-height: 150px; resize: vertical; }

.form-hint {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-error {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--red-text);
  display: none;
}

.form-row.has-error .form-error { display: block; }

.form-row.has-error input,
.form-row.has-error select,
.form-row.has-error textarea { border-color: var(--red-text); }

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form-consent input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.form-consent label {
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 500;
}

.form-consent a { color: var(--blue); text-decoration: underline; }

/* honeypot：ボットのみが埋める非表示フィールド。
   支援技術・キーボード操作を妨げないよう aria-hidden / tabindex="-1" を併用する（HTML側）。 */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit {
  margin-top: 34px;
  width: 100%;
  border: none;
  cursor: pointer;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--pale);
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.85;
  display: none;
}

.form-status.is-visible { display: block; }
.form-status.is-error { border-color: var(--red-text); color: var(--red-text); background: var(--white); }

@media (max-width: 900px) {
  .form-frame { padding: 30px 22px; }
}

/* ---- モバイル固定CTA（DEC-015） ---- */
.mobile-fixed-cta { display: none; }

@media (max-width: 900px) {
  .mobile-fixed-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 24px -18px rgba(47, 105, 119, 0.35);
    transform: translateY(110%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 260ms var(--ease), visibility 0s linear 260ms;
  }

  .mobile-fixed-cta.is-visible {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 260ms var(--ease), visibility 0s linear 0s;
  }

  .mobile-fixed-cta a {
    flex: 1;
    justify-content: center;
  }
}

/* ---- GA4利用に関する簡易通知（Consent同意取得ではなく通知） ---- */
.analytics-notice {
  width: min(100%, var(--max));
  margin: 14px auto 0;
  padding-inline: var(--side);
  /* mineral-blue背景では0.56 opacityは3.12:1にとどまるため0.85へ調整（実測5.05:1）。 */
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: center;
}

/* ブラッシュアップ20260723：実測144×21pxで44pxタップ領域に届いていなかった。
   inline-blockにしてpadding+負のmarginで当たり判定だけ拡張する（文中の見た目・折返しは維持）。 */
.analytics-notice a {
  display: inline-block;
  color: var(--white);
  text-decoration: underline;
  padding: 12px 2px;
  margin: -12px -2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-flow__particles circle {
    animation: none !important;
  }

  .lb-overlay,
  .lb-fig {
    animation: none !important;
  }

  .materials-gallery-preview img {
    animation: none !important;
  }
}

/* =========================================================================
   ユーティリティクラス（R1-01：inline styleの役割別class化）
   厳格なCSPで script-src-attr/style-src-attr 'none' を成立させるため、
   HTML側の style="..." をすべてここへ移す。見た目は移行前と同一にする。
   ========================================================================= */
.bg-paper { background: var(--paper); }

.max-w-880 { max-width: 880px; }
.max-w-900 { max-width: 900px; }
.max-w-960 { max-width: 960px; }

.mb-18 { margin-bottom: 18px; }
.mb-36 { margin-bottom: 36px; }
.mb-40 { margin-bottom: 40px; }

.form-error--tight { margin-top: -16px; }
.form-hint--spaced { margin-top: 24px; }

.two-col-equal { grid-template-columns: 1fr 1fr; }
.two-col-equal-gap56 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* R2-03：.two-col-equal系ユーティリティは900px以下で1列に戻す。
   設備下層ページの.equipment-inner／.env-grid／.section-gridがこのclassを
   併用する箇所で、900px以下でも1fr 1fr（等分2列）のまま据え置かれ、
   要素が極端に狭いカラムへ押し込まれていた（7.4章違反）ための修正。 */
@media (max-width: 900px) {
  .two-col-equal,
  .two-col-equal-gap56 {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.feature-media--h320 { height: 320px; }

/* =========================================================================
   R1-02：Lightbox起点をbutton化、MobileMenu/Lightboxのscroll lockをclass化
   ========================================================================= */

/* Lightbox起点：カード全体を覆う透明button。画像・キャプション等の視覚表現は
   変更せず、クリック領域とaccessible nameだけをbutton要素へ持たせる。 */
.lightbox-trigger {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}

.lightbox-trigger:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: -3px;
  box-shadow: inset 0 0 0 6px rgba(0, 0, 0, 0.45);
}

/* MobileMenu・LightboxのScroll lock。document.body.style.overflowの直接操作を廃止し、
   共有ロックカウントに基づくclass付け外しへ統一する（R1-02、10.3章）。 */
body.is-scroll-locked {
  overflow: hidden;
}

/* =========================================================================
   2026-07-23 温かみ改修：Materials／Equipmentは4.1章のとおり561〜900pxを
   含む900px以下で横railとする（5.5〜5.7章）。2026-07-22版のMaterials条件付き
   2×2、Equipment 1列candidateはいずれも本ラウンドの横rail方針に置き換えた。
   ========================================================================= */
@media (max-width: 900px) {
  .equipment-section {
    padding: 48px 0;
  }

  .equipment-inner {
    gap: 24px;
  }
}

@media (max-width: 560px) {
  .equipment-section {
    padding: 24px 0;
  }

  .equipment-inner {
    gap: 16px;
  }

  .materials-note {
    margin-top: 8px;
  }
}

/* R2-03：.outline-table（会社概要）は560px以下でラベル／値を縦積みにする。
   th固定幅220pxのまま2列を維持すると、tdが100px前後まで圧縮され、
   住所等の長い値が縦に細長く折り返されて判読しづらくなるため（7.1/7.4章の
   「詳細判別性を優先する」方針に整合）。 */
@media (max-width: 560px) {
  .outline-table,
  .outline-table tbody,
  .outline-table tr,
  .outline-table th,
  .outline-table td {
    display: block;
    width: auto;
  }

  .outline-table tr {
    padding: 18px 0;
  }

  .outline-table th,
  .outline-table td {
    padding: 0;
  }

  .outline-table th {
    margin-bottom: 6px;
  }
}
