/* ==========================================================================
   ワーレックス株式会社 下層ページ共通スタイル
   LOWER_SPEC_transport.md 準拠。style.css のトークン・共通部品（header / footer /
   CTA / section-heading / btn-fill / btn-outline / label-tri 等）を前提に、
   下層ページ全体で使う要素（ページヘッダー・パンくず・番号付きポイント・表・
   フォーム・プレースホルダー）のみをここに定義する。
   このファイルは style.css の後に読み込む。style.css 自体は変更しない。
   ========================================================================== */

:root {
  /* --- 下層ページ専用トークン（LOWER_SPEC §1・§3-1） --- */
  /* 2026-09-07: ワイヤー実測（検証資料/wire/INDEX.md「ヒーロー帯の実測」）に合わせて360/220→230/160に変更 */
  --lower-hero-h: 230px;
  --lower-hero-h-sp: 160px;
  --lower-block-gap: 100px;   /* ポイント間・料金表等の上余白（LOWER_SPEC §1） */
  --lower-block-gap-sp: 60px;
  --lower-section-py: 100px;  /* セクション上下余白（LOWER_SPEC §1） */
  --lower-section-py-sp: 60px;
  --lh-list-16: 1.75; /* 16px/28px（車両カード仕様リスト・事例カードリスト） */
}

/* ==========================================================================
   ボタン内テキストの中央揃え（下層ページ専用上書き。ディレクター初回チェック No.31）
   style.css の .btn-fill は TOP のカンプ値（width:200px・padding-left:51.3px・
   justify-content:space-between）が前提のため、下層ページでは文字が右に寄って
   見える。下層ページ全体では文字と矢印をひとかたまりにして中央揃えにする。
   .filter-nav__btn / .btn-fill--wide / .btn-outline--wide や各ページCSSの
   .case-section__more・office-info__more 等、幅・高さを個別指定している箇所は
   このあとの、またはこのファイルより後に読み込まれるCSSで width/padding が
   上書きされるため、その指定幅の中で中央揃えになる。
   例外: .jobs__more は style.css側でPCのみ display:none（SPのみスライダー内に
   表示するボタン）のため、ここで display を上書きすると常時表示になってしまう。
   recruit/index.htmlが読み込む都合上、影響が出ないよう除外する。
   ※ :not(.jobs__more) だと詳細度が(0,2,0)に上がり、同じファイル内の
   .filter-nav__btn 等（詳細度(0,1,0)）のSP上書きに負けてしまうため、
   詳細度を追加しない :where() を経由して除外する。
   ========================================================================== */
.btn-fill:not(:where(.jobs__more)),
.btn-outline:not(:where(.jobs__more)) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-width: 200px;
  min-height: 40px;
  padding: 0 24px;
  line-height: 1;
}

/* ==========================================================================
   ヘッダー: 事業内容カレント表示（LOWER_SPEC §2 行0・絶対条件）
   ========================================================================== */
.global-nav__list a.is-current {
  text-decoration: underline;
  text-decoration-color: var(--color-primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* ==========================================================================
   ページヘッダー（ヒーロー）※推定 LOWER_SPEC §3-1
   ========================================================================== */
.page-header {
  position: relative;
  width: 100%;
  height: var(--lower-hero-h);
  overflow: hidden;
  background-color: #000;
}
.page-header__media {
  display: contents;
}
.page-header__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-header__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.35);
}
.page-header__inner {
  /* 2026-09-07: ワイヤー実測（帯の左右中央・上下中央に1行）に合わせて中央揃えに変更 */
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}
.page-header__en {
  padding-left: 0;
  font-size: var(--fs-16);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  letter-spacing: var(--ls-01);
}
.page-header__title {
  position: relative;
  margin-top: 8px;
  padding-left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8.9px;
  font-size: var(--fs-40);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  letter-spacing: var(--ls-01);
}
.page-header__slash {
  width: 36.1px;
  height: 80px;
  flex-shrink: 0;
}

/* ==========================================================================
   パンくず ※推定 LOWER_SPEC §3-2
   ========================================================================== */
.breadcrumb {
  background-color: var(--color-white);
  padding: 16px 0;
}
.breadcrumb__list {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  font-size: var(--fs-14);
  color: var(--color-border-label);
}
.breadcrumb__list li {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.breadcrumb__list li + li::before {
  content: '>';
  margin: 0 8px;
  color: var(--color-border-label);
}
.breadcrumb__list a {
  color: var(--color-border-label);
}
.breadcrumb__list li[aria-current='page'] {
  color: var(--color-text);
}

/* ==========================================================================
   番号付きポイント（点01〜05の共通レイアウト）※推定 LOWER_SPEC §3-4
   ========================================================================== */
.point-block {
  display: grid;
  grid-template-columns: minmax(0, 586.7px) minmax(0, 1fr);
  align-items: center;
  gap: 0 40px;
}
.point-block__text {
  min-width: 0;
  max-width: 586.7px;
  padding-left: var(--section-gap-heading);
}
.point-block__number {
  font-size: var(--fs-80);
  font-weight: var(--fw-bold);
  line-height: var(--lh-single);
  color: var(--color-heading-en);
  margin-bottom: -18px; /* 見出しに重ねる（英字大見出しの流儀。要確認: カンプ無しのため実測補正なし） */
}
.point-block__heading {
  position: relative;
  display: flex;
  align-items: flex-start; /* 折り返し時もスラッシュを1行目に合わせる（TOP RECRUIT/BREAFINGの流儀） */
  gap: 8.9px;
  font-size: var(--fs-30);
  font-weight: var(--fw-bold);
  line-height: 1.3;
  letter-spacing: var(--ls-01);
}
.point-block__heading img {
  margin-top: 6px; /* 1行目の文字位置にアイコン上端を合わせる実測補正（要確認: カンプ無しのため近似） */
}
.point-block__heading--2line {
  line-height: 1.4;
}
.point-block__body {
  margin-top: 16px;
  max-width: 545px;
  font-size: var(--fs-18);
  line-height: var(--lh-body-18);
  overflow-wrap: break-word;
}
.point-block__photo {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 465.7px;
  aspect-ratio: 465.7 / 400;
}
.point-block__photo img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(35.58% 0, 0 100%, 64.42% 100%, 100% 0);
}
.point-block__accent {
  position: absolute;
  right: 0;
  top: 0;
  width: 36.1px;
  height: 80px;
}
.point-block__photo--plain {
  justify-self: center;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 444 / 538;
}
.point-block__photo--plain img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  clip-path: none;
}

/* ポイント間・従属ブロック間の余白（LOWER_SPEC §1「ポイント間の余白100」） */
.points .container > * + * {
  margin-top: var(--lower-block-gap);
}

/* --- 汎用小見出し（アイコン付き中央見出し。保有車両一覧・取り扱い商材例など下層ページ共通） --- */
.lower-subheading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8.9px;
  text-align: center;
  font-size: var(--fs-24);
  font-weight: var(--fw-bold);
}
.lower-subheading img.is-sp-only {
  order: -1; /* SPではPC用アイコンの代わりに表示するため、常に見出し文字の左に来るよう並び替える */
}
.vehicle-cards,
.material-tiles {
  margin-top: 40px;
}

/* ==========================================================================
   帯見出し（パワポの赤塗り長方形を再現。ディレクター初回チェック
   No.37/40/44/46/47）。英字ラベル・スラッシュを持たない単独h2として使い、
   ワイヤー実測（幅886/スライド幅1133.8=78%・高さ58→1280換算で幅約1000px・
   高さ約65px、中央揃え・白文字太字）に合わせる。
   ========================================================================== */
.band-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 65px;
  padding: 8px 24px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: var(--fs-24);
  font-weight: var(--fw-bold);
  text-align: center;
}

/* --- セクション上下余白（下層ページ共通。.section-heading側にmargin無しのため各sectionに付与） --- */
.lower-section {
  padding-top: var(--lower-section-py);
  padding-bottom: var(--lower-section-py);
}

/* ==========================================================================
   料金表 ※推定 LOWER_SPEC §3-8
   ========================================================================== */
.price__table-wrap {
  max-width: 712px;
  margin: 0 auto;
  overflow-x: auto;
}
.price__table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  text-align: center;
}
.price__table th,
.price__table td {
  padding: 6px 8px;
  min-height: 32px;
  border-bottom: 1px solid var(--color-border-card);
  font-size: var(--fs-16);
}
.price__table thead th {
  background-color: var(--color-bg-grad-end);
  font-weight: var(--fw-bold);
}
.price__table tbody th {
  font-weight: var(--fw-regular);
  text-align: center;
  white-space: nowrap;
}
.price__note {
  margin-top: 16px;
  max-width: 712px;
  margin-left: auto;
  margin-right: auto;
  text-align: right;
  font-size: var(--fs-14);
  line-height: 1.6;
}

/* ==========================================================================
   お問い合わせフォーム ※推定 LOWER_SPEC §3-10
   ========================================================================== */
.contact-form {
  max-width: 746px;
  margin: 40px auto 0;
}
.contact-form__list {
  display: grid;
  grid-template-columns: minmax(0, 274px) minmax(0, 1fr);
}
.contact-form__list dt,
.contact-form__list dd {
  padding: 16px;
  border-bottom: 1px solid var(--color-border-card);
  display: flex;
  align-items: center;
}
.contact-form__list dt {
  font-size: var(--fs-18);
  font-weight: var(--fw-bold);
}
.contact-form__required {
  margin-left: 8px;
  font-size: var(--fs-14);
  font-weight: var(--fw-regular);
  color: var(--color-primary);
}
.contact-form__list dd {
  min-width: 0;
}
.contact-form__list input,
.contact-form__list textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--color-border-card);
  border-radius: 0;
  padding: 0 16px;
  font-family: inherit;
  font-size: var(--fs-16);
}
.contact-form__list textarea {
  padding: 12px 16px;
  resize: vertical;
}
.contact-form__list input:focus,
.contact-form__list textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.contact-form__agree {
  margin-top: 32px;
  text-align: center;
  font-size: var(--fs-16);
}
.contact-form__agree a {
  color: var(--color-primary);
  text-decoration: underline;
}
.contact-form__submit {
  display: block;
  margin: 24px auto 0;
  width: 360px;
  max-width: 100%;
  min-height: 70px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: var(--fs-20);
  font-weight: var(--fw-bold);
}

/* ==========================================================================
   プレースホルダー（写真未支給）※推定 LOWER_SPEC §3-11
   ========================================================================== */
.material-tile__photo--placeholder,
.flow-step__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-diagonal);
  border: 1.4px solid var(--color-border-card);
}
.material-tile__placeholder-text,
.flow-step__placeholder-text {
  font-size: var(--fs-24);
  font-weight: var(--fw-bold);
  color: var(--color-heading-en);
}

/* ==========================================================================
   プレースホルダー（写真未支給・下層共通汎用版）
   news.css / works.css / download.css / jobs.css / company.css / interview.css /
   driver.css / offices.css / attraction.css / recruit.css / service-top.css /
   service-4pl.css / service-storage.css / office-gen.css に重複定義されていた
   .placeholder / .placeholder__text を統合（2026-09-07 共通化パス）。
   個別ページで width/aspect-ratio が必要な場合は .placeholder--standalone、
   資料ダウンロードの白背景版は .placeholder--light を併用する。
   ========================================================================== */
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-diagonal);
  border: 1.4px solid var(--color-border-card);
}
/* 写真用クラス（.card__photo 等は display:block）と併用した場合も中央揃えを維持する
   （複合セレクタで特異性を上げ、読み込み順に依存しないようにする。共通化レビュー指摘） */
.placeholder.card__photo,
.placeholder.feature-card__photo,
.placeholder.office-card__photo,
.placeholder.media-item__thumb,
.placeholder.article__photo {
  display: flex;
}
.placeholder__text {
  font-size: var(--fs-24);
  font-weight: var(--fw-bold);
  color: var(--color-divider-sp); /* レビュー指摘: #F5E5E5(color-heading-en)は視認性が低いため #929292 に変更 */
}
.placeholder--standalone {
  width: 100%;
  aspect-ratio: 3 / 2;
}
.placeholder--light {
  background: var(--color-white);
}
.placeholder--light .placeholder__text {
  font-size: var(--fs-18);
  color: var(--color-text-label);
  text-align: center;
}

/* ==========================================================================
   TOPの .interview / .jobs スライダーセクションを下層ページで lower-section 化
   するための打ち消し。interview.css / driver.css / recruit.css に重複定義
   されていたものを統合（2026-09-07）。
   ========================================================================== */
.interview.lower-section,
.jobs.lower-section {
  min-height: 0;
  padding: var(--lower-section-py) 0;
}

/* ==========================================================================
   チェックリスト（お悩みブロックの共通部品）
   service-transport.css の .worry__list/.worry__check、service-top.css の
   .problem-block__list/.problem-block__check、service-storage.css の
   .worry__list/.worry__check を統合（2026-09-07）。吹き出し・三角形・外枠など
   ページ固有のパーツ（.worry__box / .problem-block__box 等）は各ページ側に残す。
   ========================================================================== */
.check-list {
  list-style: none;
}
.check-list__item {
  position: relative;
  padding-left: 28px;
  font-size: var(--fs-18);
  line-height: 2;
  overflow-wrap: break-word;
}
.check-list__icon {
  position: absolute;
  left: 0;
  top: 0.35em; /* レビュー指摘: 複数行に折り返しても1行目に揃うよう変更（旧: calc(50% - 10px)） */
  color: var(--color-primary);
}

/* ==========================================================================
   斜めラベルの幅拡張（事例カード用。TOP .label-tri のバリエーション）
   「重量物輸送、チャーター便」を1行に収めるため、幅240×高さ40に拡張する
   （LOWER_SPEC §3-4 確認事項8のレビュー指摘に基づき56px/2行から変更）
   ========================================================================== */
.label-tri--wide {
  --slant: calc(40px * var(--slant-ratio));
  width: 240px;
  min-height: 40px; /* テキスト要素のためheight固定を回避（coding-rules-xd.md §5） */
  clip-path: polygon(var(--slant) 0, 100% 0, calc(240px - var(--slant)) 100%, 0 100%);
  align-items: center;
  padding: 0 16px;
  font-size: var(--fs-14);
  font-weight: var(--fw-regular);
  line-height: 1.4;
  white-space: nowrap;
}

/* ==========================================================================
   事例カード（POINT 05 従属・3カード）※service-transport.css から移設
   （2026-09-07: 下層共通8ページで再利用するため lower.css へ移動。値は変更なし）
   ========================================================================== */
.case-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 300px));
  justify-content: center;
  gap: 40px;
}
.case-card {
  position: relative;
  min-width: 0;
  background-color: var(--color-white);
  border: 1.4px solid var(--color-border-card);
  padding-bottom: 20px;
}
.case-card__photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden; /* 写真の実寸の高さで 3:2 が崩れないように（aspect-ratio の自動最小サイズを無効化） */
}
.case-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-card__title {
  margin-top: 16px;
  padding: 0 20px;
  font-size: var(--fs-18);
  font-weight: var(--fw-bold);
}
.case-card__list {
  margin-top: 8px;
  padding: 0 20px;
  font-size: var(--fs-16);
  line-height: var(--lh-list-16);
}
.case-card__btn-row {
  margin-top: 20px;
  padding: 0 20px;
  text-align: right;
}

/* ==========================================================================
   下層共通部品（お知らせ／プライバシーポリシー／資料DL／募集要項／事例の
   一覧・詳細8ページで使う共通パーツ。2026-09-07追加）
   ========================================================================== */

/* ===== .tag（カテゴリラベル） ===== */
/* TOP .notices__label と同じ見た目を下層用に再定義（値は写し。幅は可変幅に変更） */
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 30px; /* テキスト要素のためheight固定を回避（coding-rules-xd.md §5） */
  padding: 0 16px;
  line-height: 28px; /* min-height化に伴い実高さ(=min-height)を30pxに収めるための行送り調整 */
  font-size: var(--fs-16);
  text-align: center;
}
.tag--fill {
  background-color: var(--color-primary);
  color: var(--color-white);
}
.tag--plain {
  background-color: var(--color-white);
  border: 0.6px solid var(--color-border-label);
  color: var(--color-text-label);
}

/* ===== .pagination（ページ送り） ===== */
.pagination {
  margin-top: 60px;
}
.pagination__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.pagination__list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border-card);
  background-color: var(--color-white);
  font-size: var(--fs-18);
  color: var(--color-text);
}
.pagination__list a[aria-current='page'] {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}
.pagination__list a.pagination__next {
  border-color: transparent;
  background-color: transparent;
}
.pagination__next img {
  width: 8px;
  height: 31px;
}

/* ===== .filter-nav（絞り込み/アンカーのボタン列） ===== */
.filter-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.filter-nav--start {
  justify-content: flex-start;
}
.filter-nav__btn {
  min-width: 200px;
  min-height: 40px;
  padding: 0 16px;
}

/* ===== .with-side（本文＋サイドバー） ===== */
.with-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

/* ===== .side-nav（サイドバー） ===== */
.side-nav__block + .side-nav__block {
  margin-top: 32px;
}
.side-nav__title {
  font-size: var(--fs-18);
  font-weight: var(--fw-bold);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
}
.side-nav__list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border-card);
  font-size: var(--fs-16);
}

/* ===== .media-list / .media-item（サムネイル付き記事一覧行） ===== */
.media-item {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border-card);
}
.media-item:first-child {
  border-top: 1px solid var(--color-border-card);
}
.media-item__thumb {
  width: 100%;
  aspect-ratio: 188 / 122;
  object-fit: cover;
}
.media-item__meta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.media-item__date {
  font-size: var(--fs-16);
}
.media-item__title {
  margin-top: 8px;
  font-size: var(--fs-18);
  font-weight: var(--fw-bold);
  line-height: 1.5;
}
.media-item__excerpt {
  margin-top: 8px;
  font-size: var(--fs-16);
  line-height: var(--lh-body-18);
}

/* ===== .prose（記事本文・規約本文） ===== */
.prose {
  max-width: 960px;
  margin: 0 auto;
  font-size: var(--fs-16);
  line-height: 1.9;
}
.prose h2 {
  margin-top: 48px;
  padding-left: 16px;
  border-left: 4px solid var(--color-primary);
  font-size: var(--fs-24);
  font-weight: var(--fw-bold);
}
.prose h3 {
  margin-top: 32px;
  font-size: var(--fs-20);
  font-weight: var(--fw-bold);
}
.prose h4 {
  margin-top: 24px;
  font-size: var(--fs-18);
  font-weight: var(--fw-bold);
}
.prose p {
  margin-top: 16px;
}
.prose ol,
.prose ul {
  margin-top: 16px;
  padding-left: 1.5em;
}
.prose ol {
  list-style: decimal;
}
.prose ul {
  list-style: disc;
}
.prose li + li {
  margin-top: 6px;
}
.prose img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px auto 0;
}
.prose .note {
  font-size: var(--fs-14);
}

/* ===== .spec-table（見出し列付きの汎用表。office.css .office-table を汎用化） ===== */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--color-border-card);
}
.spec-table th,
.spec-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--color-border-card);
}
.spec-table th {
  width: 200px;
  background-color: var(--color-bg-grad-end);
  font-weight: var(--fw-bold);
  font-size: var(--fs-18);
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}
.spec-table td {
  font-size: var(--fs-18);
  line-height: var(--lh-body-18);
}
.spec-table--narrow th {
  width: 140px;
}
.spec-table--grid th,
.spec-table--grid td {
  border: 1px solid var(--color-border-card);
}
.spec-table--grid thead th {
  text-align: center;
  white-space: normal;
}

/* ===== .card-grid / .card（3列カード） ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  border: 1.4px solid var(--color-border-card);
}
.card__photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.card__body {
  flex: 1;
  padding: 20px 24px 24px;
}
.card__title {
  font-size: var(--fs-18);
  font-weight: var(--fw-bold);
  line-height: 1.5;
}
.card__meta {
  margin-top: 12px;
  font-size: var(--fs-16);
  line-height: var(--lh-list-16);
}
.card__meta li {
  overflow-wrap: anywhere;
}
.card__actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== .btn-row（ボタン横並び） ===== */
.btn-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 48px;
}

/* ===== .btn-fill--wide / .btn-outline--wide（文言が長いボタン用） ===== */
/* .btn-fill の既存 padding-top:3px; padding-left:51.3px; padding-right:6.3px; width:200px;
   align-items:flex-start; justify-content:space-between; はここでまとめて打ち消す。
   ディレクター初回チェック No.33〜36: 事業内容トップの「重量物輸送はこちら→」等は
   class="btn-fill--wide"（.btn-fillを伴わない単独指定）のみで背景色の無いテキスト
   リンクとして表示されていたため、.btn-fill--wide / .btn-outline--wide 単独でも
   ボタンとして成立するよう背景色・文字色・枠線・矢印色までここで完結させる。 */
.btn-fill--wide,
.btn-outline--wide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: auto;
  min-width: 280px;
  min-height: 48px;
  padding: 0 32px;
  font-size: var(--fs-18);
}
.btn-fill--wide {
  background-color: var(--color-primary);
  color: var(--color-white);
}
.btn-outline--wide {
  background-color: var(--color-white);
  color: var(--color-text);
  border: 1px solid var(--color-primary);
}
.btn-outline--wide .arrow {
  color: var(--color-primary);
}

/* ===== .section-lead（セクション冒頭の中央揃え説明文） ===== */
.section-lead {
  margin-top: 24px;
  text-align: center;
  font-size: var(--fs-16);
  line-height: var(--lh-body-18);
}
.section-lead--em {
  color: var(--color-primary);
  font-weight: var(--fw-bold);
}
/* ディレクター初回チェック No.32: 「このようなお悩みを抱えている方は…」の文字を拡大 */
.section-lead--large {
  font-size: var(--fs-20);
  font-weight: var(--fw-bold);
}

/* ===== .qa（Q&Aブロック） ===== */
.qa + .qa {
  margin-top: 40px;
}
.qa__q {
  position: relative;
  padding-left: 48px;
  font-size: var(--fs-20);
  font-weight: var(--fw-bold);
  line-height: 1.5;
}
.qa__q::before {
  content: 'Q';
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: var(--fs-20);
}
.qa--plain .qa__q {
  padding-left: 0;
}
.qa--plain .qa__q::before {
  content: none;
}
.qa__a {
  margin-top: 16px;
  font-size: var(--fs-16);
  line-height: var(--lh-body-18);
}
.qa--with-photo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
}

/* ==========================================================================
   Responsive: タブレット帯（769〜1100px）※推定
   2カラムのポイントブロックが窮屈になるため縦積みに切り替える
   ========================================================================== */
@media (min-width: 769px) and (max-width: 1100px) {
  .point-block {
    grid-template-columns: 1fr;
  }
  .point-block__text {
    max-width: none;
  }
  .point-block__photo,
  .point-block__photo--plain {
    justify-self: center;
    margin-top: 24px;
  }

  /* --- .with-side（本文＋サイドバー） --- */
  .with-side {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
  }

  /* --- .card-grid（3列カード） --- */
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   Responsive: SP（768px以下）LOWER_SPEC §5
   ========================================================================== */
@media (max-width: 768px) {
  /* --- セクション見出し共通（スラッシュが英字と重ならないよう見出し文字を下げる） --- */
  .section-heading__ja {
    margin-top: 40px;
  }

  /* --- セクション上下余白（下層ページ共通） --- */
  .lower-section {
    padding-top: var(--lower-section-py-sp);
    padding-bottom: var(--lower-section-py-sp);
  }
  .interview.lower-section,
  .jobs.lower-section {
    padding: var(--lower-section-py-sp) 0;
  }
  .check-list__item {
    font-size: var(--fs-16);
  }

  /* --- ページヘッダー --- */
  .page-header {
    height: var(--lower-hero-h-sp);
  }
  .page-header__inner {
    padding: 0 16px;
  }
  .page-header__en {
    font-size: var(--fs-14);
  }
  .page-header__title {
    font-size: var(--fs-24);
    gap: 6px;
  }
  .page-header__slash {
    width: 20px;
    height: 47px;
  }

  /* --- パンくず --- */
  .breadcrumb {
    padding: 12px 0;
  }
  .breadcrumb__list {
    padding: 0 16px;
  }

  /* --- ポイント --- */
  .point-block {
    grid-template-columns: 1fr;
    gap: 24px 0;
  }
  .point-block__text {
    max-width: none;
    padding-left: 16px;
    padding-right: 16px;
  }
  .point-block__body {
    max-width: none;
    font-size: var(--fs-16);
    line-height: var(--lh-sp-body);
  }
  .point-block__photo,
  .point-block__photo--plain {
    justify-self: center;
    max-width: none;
  }
  .points .container > * + * {
    margin-top: var(--lower-block-gap-sp);
  }
  .lower-subheading {
    font-size: var(--fs-20);
  }

  /* --- 帯見出し（No.37/40/44/46/47） --- */
  .band-heading {
    min-height: 48px;
    margin: 0 16px;
    padding: 8px 16px;
    font-size: var(--fs-18);
  }

  /* --- section-lead--large（No.32） --- */
  .section-lead--large {
    font-size: var(--fs-18);
  }
  .vehicle-cards,
  .material-tiles {
    margin-top: 24px;
    padding-left: 16px;
    padding-right: 16px;
  }

  /* --- 料金表 --- */
  .price__note {
    padding: 0 16px;
    text-align: left;
  }

  /* --- フォーム --- */
  .contact-form {
    padding: 0 16px;
  }
  .contact-form__list {
    grid-template-columns: 1fr;
  }
  .contact-form__list dt {
    padding-bottom: 8px;
    border-bottom: none;
  }
  .contact-form__list dd {
    padding-top: 0;
  }

  /* --- 事例カード（service-transport.css から移設。値は変更なし） --- */
  .case-cards {
    grid-template-columns: minmax(0, 1fr);
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    row-gap: 40px;
  }

  /* --- .pagination --- */
  .pagination {
    margin-top: 40px;
  }

  /* --- .filter-nav --- */
  .filter-nav,
  .filter-nav--start {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .filter-nav__btn {
    min-width: 0;
    width: 100%;
  }

  /* --- .with-side（本文＋サイドバー） --- */
  .with-side {
    grid-template-columns: 1fr;
  }

  /* --- .media-list / .media-item --- */
  .media-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* --- .spec-table（office.css .office-table のSPルールと同じ考え方） --- */
  /* .spec-table--grid の thead 使用時に見出し行の幅が崩れないよう thead も block 化する */
  .spec-table,
  .spec-table thead,
  .spec-table tbody,
  .spec-table tr {
    display: block;
    width: 100%;
  }
  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
    font-size: var(--fs-16);
  }
  .spec-table th {
    padding: 8px 16px;
  }
  .spec-table td {
    padding: 12px 16px;
  }

  /* --- .card-grid（3列カード） --- */
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  /* --- .btn-row --- */
  .btn-row {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  /* --- .qa --- */
  .qa--with-photo {
    grid-template-columns: 1fr;
  }
}
