/* ============================================================
   磯部工業 — マルチページ共有コンポーネント
   isobe-style.css の後に読み込む。基準デザインを完全踏襲し、
   下層ページ専用のパーツ(ページヒーロー/パンくず/表/フォーム/
   施工フロー/CTA帯/お知らせ等)を追加する。
   ============================================================ */

.hero-tel-num { white-space: nowrap; }

/* ---- グローバルナビ: 現在地表示 + 6項目に対応 ---- */
.global-nav { gap: 30px; }
.global-nav a.is-current {
  color: #CFE2F4;
  border-color: var(--blue-soft);
}

/* ============================================================
   ページヒーロー(下層共通・ネイビー帯+パンくず)
   ============================================================ */
.page-hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  padding: 56px 0 60px;
}
.page-hero .deco-contour {
  bottom: -120px;
  right: -80px;
  width: 480px;
  opacity: 0.14;
}
.page-hero .deco-grid {
  top: -40px;
  left: -40px;
  width: 240px;
  opacity: 0.1;
}
.page-hero-inner { position: relative; z-index: 2; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.78); transition: color 0.25s var(--ease); }
.breadcrumb a:hover { color: #FFFFFF; }
.breadcrumb .sep { color: rgba(255, 255, 255, 0.35); }
.page-hero-title {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 42px;
  line-height: 1.35;
  letter-spacing: 0.07em;
  color: #FFFFFF;
  word-break: keep-all;
  line-break: strict;
}
.page-hero-lede {
  margin-top: 18px;
  max-width: 760px;
  font-size: 15px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.03em;
  word-break: keep-all;
  line-break: strict;
}

/* ============================================================
   下層セクション見出し(中央寄せ版・和文のみ)
   ============================================================ */
.head-center { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.head-center .section-title-bar { margin: 16px auto 0; }
.head-center .section-lede { margin-top: 22px; }

/* 区切り装飾(波形ディバイダー) */
.wave-divider {
  position: relative;
  height: 30px;
  margin: 0;
  background-image: url("assets/asset-28.png");
  background-repeat: repeat-x;
  background-size: auto 100%;
  background-position: center;
  opacity: 0.5;
}

/* ============================================================
   ホーム: 特集スプリット(写真+本文の交互ブロック)
   ============================================================ */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.feature-split.is-reverse .feature-text { order: 2; }
.feature-photo {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 14px 40px rgba(22, 51, 110, 0.16);
}
.feature-photo img { width: 100%; height: 100%; object-fit: cover; }
.feature-text .section-title { font-size: 30px; }
.feature-text .section-lede { max-width: 520px; }

/* ホーム: お知らせプレビュー(2カラム) */
.home-news {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

/* ============================================================
   お知らせ一覧
   ============================================================ */
.news-list { border-top: 1px solid var(--line); }
.news-item {
  display: grid;
  grid-template-columns: 132px 116px 1fr;
  align-items: center;
  gap: 24px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s var(--ease);
}
.news-item:hover { background: var(--bg-tint); }
.news-date {
  font-family: var(--num);
  font-weight: 500;
  font-size: 15px;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.news-cat {
  justify-self: start;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--navy);
  border: 1px solid var(--blue);
  border-radius: 2px;
  padding: 3px 12px;
  white-space: nowrap;
}
.news-cat.is-fill { background: var(--navy); color: #FFFFFF; border-color: var(--navy); }
.news-title {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink);
  font-weight: 500;
}
.news-item:hover .news-title { color: var(--navy); }

/* ============================================================
   会社概要テーブル
   ============================================================ */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--navy);
}
.spec-table th, .spec-table td {
  text-align: left;
  vertical-align: top;
  padding: 18px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.8;
}
.spec-table th {
  width: 220px;
  font-weight: 700;
  color: var(--navy);
  background: transparent;
  letter-spacing: 0.04em;
}
.spec-table td { color: var(--ink); }
.spec-table .num { font-family: var(--num); letter-spacing: 0.02em; }

/* ============================================================
   理念ブロック(会社案内 上部・大きく)
   ============================================================ */
.creed {
  position: relative;
  text-align: center;
  padding: 8px 0 4px;
}
.creed-jp {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: var(--navy);
  word-break: keep-all;
}
.creed-text {
  margin: 28px auto 0;
  max-width: 720px;
  font-size: 15px;
  line-height: 2.2;
  color: var(--ink);
}

/* ============================================================
   許可・資格パネル(会社案内)
   ============================================================ */
.license-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.license-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: 4px;
  padding: 28px 30px;
}
.license-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.license-card .license-no {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink);
}
.license-card .license-no .num { font-family: var(--num); }
.license-types { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.license-types span {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--navy);
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 5px 12px;
}

/* ============================================================
   事業内容ハブ: 6業種カード(写真+番号なし和文)
   ============================================================ */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.biz-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(22, 51, 110, 0.06);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.biz-card:hover { box-shadow: 0 12px 34px rgba(22, 51, 110, 0.14); transform: translateY(-3px); }
.biz-card-photo { aspect-ratio: 16 / 10; overflow: hidden; }
.biz-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.biz-card:hover .biz-card-photo img { transform: scale(1.05); }
.biz-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.biz-card-name {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
  letter-spacing: 0.06em;
}
.biz-card-name img {
  width: 32px; height: 32px;
  object-fit: contain;
  flex: none;
  padding: 11px;
  background: var(--navy);
  border-radius: 50%;
  box-sizing: content-box;
}
.biz-card-desc {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
  flex: 1;
}
.biz-card-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
}
.biz-card-link img { width: 22px; height: auto; }
.biz-card:hover .biz-card-link { color: var(--blue); }

/* ============================================================
   業種詳細ページ
   ============================================================ */
.biz-hero-photo {
  width: 100%;
  height: 380px;
  overflow: hidden;
  position: relative;
}
.biz-hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.biz-intro {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
}
.biz-intro-lead {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.8;
  color: var(--navy);
  letter-spacing: 0.04em;
  word-break: keep-all;
}
.biz-intro-text {
  margin-top: 22px;
  font-size: 14.5px;
  line-height: 2.1;
  color: var(--ink);
}
.biz-side {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 26px 28px;
}
.biz-side h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.06em;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--navy);
}
.biz-side ul { margin-top: 12px; display: grid; gap: 4px; }
.biz-side li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink);
}
.biz-side li::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.biz-side li:last-child { border-bottom: none; }

/* 施工の流れ(和文・縦フロー・矢印接続) */
.flow {
  display: grid;
  gap: 0;
}
.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 0 0 36px 0;
}
.flow-step:last-child { padding-bottom: 0; }
.flow-step::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.flow-step:last-child::before { display: none; }
.flow-marker {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--num);
  font-weight: 600;
  font-size: 24px;
  flex: none;
  z-index: 2;
}
.flow-body { padding-top: 6px; }
.flow-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.flow-body p {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
}

/* 他業種ナビ(業種詳細フッター) */
.biz-othernav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.biz-othernav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.biz-othernav a:hover { border-color: var(--blue); background: var(--bg-tint); }
.biz-othernav a.is-current {
  background: var(--navy);
  color: #FFFFFF;
  border-color: var(--navy);
  pointer-events: none;
}
.biz-othernav img {
  width: 26px; height: 26px;
  object-fit: contain;
  flex: none;
  padding: 9px;
  background: var(--navy);
  border-radius: 50%;
  box-sizing: content-box;
}
.biz-othernav a.is-current img { background: rgba(255, 255, 255, 0.16); }

/* ============================================================
   施工実績ページ: フィルタ + グリッド(LP流用 .work-card)
   ============================================================ */
.works-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  justify-content: center;
}
.works-filter button {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 9px 22px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.works-filter button:hover { border-color: var(--blue); }
.works-filter button.is-active {
  background: var(--navy);
  color: #FFFFFF;
  border-color: var(--navy);
}
.work-card.is-hidden { display: none; }
.work-card .work-loc {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

/* ============================================================
   採用: 数字で見る + 1日の流れ + 募集職種詳細
   ============================================================ */
.recruit-message {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.recruit-message-photo {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 14px 40px rgba(22, 51, 110, 0.16);
}
.recruit-message-photo img { width: 100%; height: 100%; object-fit: cover; }
.recruit-message-lead {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.7;
  color: var(--navy);
  letter-spacing: 0.05em;
  word-break: keep-all;
}
.recruit-message-text {
  margin-top: 22px;
  font-size: 14.5px;
  line-height: 2.1;
  color: var(--ink);
}

/* 数字で見る磯部工業 */
.figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.figure-card {
  text-align: center;
  padding: 32px 16px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.figure-card .fig-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.06em;
}
.figure-card .fig-value {
  margin-top: 12px;
  font-family: var(--num);
  font-weight: 600;
  font-size: 50px;
  line-height: 1.1;
  color: var(--navy);
}
.figure-card .fig-value .unit {
  font-family: var(--serif);
  font-size: 22px;
  margin-left: 3px;
}
.figure-card .fig-note { margin-top: 8px; font-size: 12px; color: var(--muted); }

/* 募集職種カード(詳細) */
.jobcard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.jobcard {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.jobcard-photo { aspect-ratio: 16 / 9; overflow: hidden; }
.jobcard-photo img { width: 100%; height: 100%; object-fit: cover; }
.jobcard-body { padding: 26px 28px 28px; }
.jobcard-name {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  letter-spacing: 0.05em;
}
.jobcard-name img {
  width: 30px; height: 30px;
  object-fit: contain;
  flex: none;
  padding: 10px;
  background: var(--navy);
  border-radius: 50%;
  box-sizing: content-box;
}
.jobcard-desc { margin-top: 16px; font-size: 13.5px; line-height: 1.9; color: var(--ink); }
.jobcard-salary {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--muted);
}
.jobcard-salary strong {
  display: block;
  margin-top: 2px;
  font-family: var(--num);
  font-weight: 600;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: 0.01em;
}

/* ============================================================
   フォーム(お問い合わせ・エントリー)
   ============================================================ */
.form-wrap { max-width: 760px; margin: 0 auto; }
.form-row { margin-bottom: 28px; }
.form-row label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.req {
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--blue);
  border-radius: 2px;
  padding: 2px 8px;
  letter-spacing: 0.08em;
}
.opt {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 2px 8px;
  letter-spacing: 0.08em;
}
.form-control {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 14px 16px;
  line-height: 1.7;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(57, 132, 200, 0.14);
}
textarea.form-control { min-height: 160px; resize: vertical; }
select.form-control { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.form-help { margin-top: 8px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.form-half { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-submit { text-align: center; margin-top: 40px; }
.form-submit .btn { min-width: 280px; padding: 17px 40px; font-size: 16px; }
.form-privacy {
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
  text-align: center;
}
.form-note-box {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 2px;
  padding: 20px 24px;
  margin-bottom: 40px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink);
}

/* お問い合わせ: 連絡先 + 地図 */
.contact-aside {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 8px;
}
.contact-info-card {
  background: var(--navy);
  color: #FFFFFF;
  border-radius: 4px;
  padding: 32px 34px;
  position: relative;
  overflow: hidden;
}
.contact-info-card .deco-valve {
  bottom: -20px; right: -20px; width: 130px; opacity: 0.12;
}
.contact-info-card h3 {
  font-size: 17px; font-weight: 700; letter-spacing: 0.06em;
  position: relative; z-index: 2;
}
.contact-info-card .tel {
  margin-top: 16px;
  display: flex; align-items: center; gap: 12px;
  position: relative; z-index: 2;
}
.contact-info-card .tel img { width: 34px; height: auto; }
.contact-info-card .tel-num {
  font-family: var(--num); font-weight: 600; font-size: 32px; letter-spacing: 0.02em; line-height: 1.1;
}
.contact-info-card .info-row {
  margin-top: 18px; font-size: 13.5px; line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
  position: relative; z-index: 2;
}
.contact-info-card .info-row .num { font-family: var(--num); }
.map-frame {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  min-height: 280px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 280px; border: 0; display: block; }

/* ============================================================
   CTA帯(下層ページ共通フッター直前)
   ============================================================ */
.cta-band {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  padding: 72px 0;
  text-align: center;
}
.cta-band .deco-contour {
  top: -100px; left: -60px; width: 420px; opacity: 0.12;
}
.cta-band .deco-valve {
  bottom: -30px; right: 6%; width: 150px; opacity: 0.12;
}
.cta-band-inner { position: relative; z-index: 2; }
.cta-band-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.6;
  color: #FFFFFF;
  letter-spacing: 0.08em;
  word-break: keep-all;
}
.cta-band-text {
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.82);
}
.cta-band-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.cta-band-tel { text-align: left; }
.cta-band-tel .label { font-size: 12px; color: rgba(255, 255, 255, 0.7); letter-spacing: 0.06em; }
.cta-band-tel .num {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--num); font-weight: 600; font-size: 28px; color: #FFFFFF; line-height: 1.2;
}
.cta-band-tel .num img { width: 28px; height: auto; }

/* 関連リンク(クロスリンクカード) */
.crosslinks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.crosslink {
  position: relative;
  display: block;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: 0 6px 22px rgba(22, 51, 110, 0.1);
}
.crosslink img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.crosslink:hover img { transform: scale(1.06); }
.crosslink::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17, 41, 90, 0.82) 0%, rgba(17, 41, 90, 0.1) 60%, transparent 100%);
}
.crosslink-label {
  position: absolute;
  left: 24px; bottom: 22px;
  z-index: 2;
  display: flex; align-items: center; gap: 12px;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
}
.crosslink-label img { width: 22px; height: auto; }

/* ============================================================
   汎用ユーティリティ
   ============================================================ */
.section--tint { background: var(--bg-tint); }
.section--narrow { padding: 84px 0; }
.lead-text {
  max-width: 760px;
  font-size: 15px;
  line-height: 2.1;
  color: var(--ink);
}
.qual-2col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
@media (max-width: 680px) { .qual-2col { grid-template-columns: 1fr; column-gap: 0; } }

.mt-sec { margin-top: 64px; }
.block-title {
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  padding-left: 16px;
  border-left: 4px solid var(--blue);
  line-height: 1.4;
}

/* ============================================================
   下層ページ レスポンシブ
   ============================================================ */
@media (max-width: 1180px) {
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .figures { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1060px) {
  .page-hero-title { font-size: 34px; }
  .feature-split { grid-template-columns: 1fr; gap: 32px; }
  .feature-split.is-reverse .feature-text { order: 0; }
  .home-news { grid-template-columns: 1fr; gap: 28px; }
  .biz-grid { grid-template-columns: 1fr; }
  .biz-intro { grid-template-columns: 1fr; gap: 36px; }
  .recruit-message { grid-template-columns: 1fr; gap: 32px; }
  .figures { grid-template-columns: 1fr 1fr; }
  .jobcard-grid { grid-template-columns: 1fr; }
  .license-band { grid-template-columns: 1fr; }
  .contact-aside { grid-template-columns: 1fr; }
  .biz-othernav { grid-template-columns: 1fr; }
  .crosslinks { grid-template-columns: 1fr; }
  .creed-jp { font-size: 30px; }
}
@media (max-width: 680px) {
  .news-item { grid-template-columns: 1fr; gap: 8px; padding: 18px 6px; }
  .news-cat { grid-row: 1; }
  .spec-table th { width: 130px; font-size: 13px; }
  .spec-table th, .spec-table td { padding: 14px 6px; font-size: 13px; }
  .form-half { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr; }
  .cta-band-actions { flex-direction: column; gap: 22px; }
}

/* ============================================================
   ナローモバイル(≤520px)— 下層ページ見出しの画面外溢れ対策
   ============================================================ */
@media (max-width: 520px) {
  .page-hero-title { font-size: 28px; line-height: 1.4; word-break: normal; overflow-wrap: anywhere; }
  .page-hero-lede { font-size: 14px; word-break: normal; overflow-wrap: anywhere; }
  .feature-text .section-title { font-size: 24px; }
  .creed-jp { font-size: 22px; line-height: 1.55; word-break: normal; overflow-wrap: anywhere; }
  .cta-band-title { font-size: 22px; word-break: normal; overflow-wrap: anywhere; }
}

/* ============================================================
   モバイル: 縦スクロール短縮のための部分的な横スワイプ・カルーセル
   (6業種カード / 関連実績 を1行スワイプ化。peek=次カードの覗きでスワイプ可能を示す)
   端まで滑らせるため container余白(24px)を margin で相殺し padding で先頭を揃える。
   ============================================================ */
@media (max-width: 680px) {
  .biz-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 24px;
    margin: 0 -24px;
    padding: 4px 24px 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .biz-grid::-webkit-scrollbar { display: none; }
  .biz-card { flex: 0 0 82%; scroll-snap-align: start; }

  .crosslinks {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 24px;
    margin: 0 -24px;
    padding: 4px 24px 14px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .crosslinks::-webkit-scrollbar { display: none; }
  .crosslink { flex: 0 0 76%; scroll-snap-align: start; }

  /* 施工実績: 縦長(11枚×~429px≈8.6画面)を解消。サムネ左・本文右の横並び行に
     (全件を見せる実績一覧なのでカルーセルで隠さず、1枚を低背の行へ) */
  .work-grid { grid-template-columns: 1fr; gap: 12px; }
  .work-card { flex-direction: row; align-items: stretch; }
  .work-photo { flex: 0 0 38%; aspect-ratio: auto; }
  .work-photo img { height: 100%; }
  .work-body { padding: 13px 15px; }
  .work-title {
    min-height: 0;
    display: block;
    -webkit-line-clamp: none;
    overflow: visible;
    font-size: 14px;
    line-height: 1.5;
  }
  .work-loc { font-size: 11.5px; }
  .work-meta { padding-top: 10px; gap: 5px; }
  .work-meta-row { font-size: 11.5px; gap: 8px; }
  .work-meta-row dt { width: 46px; font-size: 10px; letter-spacing: 0.1em; }
}
