@charset "UTF-8";
/* ==========================================================================
   印刷用スタイル（主に /care-manager/ 用）
   A4縦。ケアマネジャーが記録に綴じる・担当者会議に持参する前提。
   ヘッダーナビ・フッター・固定バー・装飾は非表示。
   link要素で media="print" として読み込む。
   ========================================================================== */

@page {
  size: A4 portrait;
  margin: 14mm 12mm;
}

/* 画面用の飾りを消す */
.site-header,
.global-nav,
.nav-toggle,
.mobile-bar,
.site-footer,
.corp-block,
.skip-link,
.breadcrumb,
.no-print,
video {
  display: none !important;
}

body {
  padding-bottom: 0 !important;
  font-size: 11pt;
  line-height: 1.6;
  color: #000;
  background: #fff;
}

.container { max-width: none; padding: 0; }
.section { padding-block: 0 !important; margin-bottom: 8mm; }
.section--tint, .section--accent-tint { background: none !important; }

/* 見出しの直後で改ページさせない */
h1, h2, h3 { break-after: avoid; page-break-after: avoid; color: #000; }
h1 { font-size: 18pt; }
h2 { font-size: 14pt; border-bottom: 1.5pt solid #000; padding-bottom: 2mm; margin-top: 6mm; }
h3 { font-size: 12pt; }

/* 表が途中で切れないように */
table, .tbl { page-break-inside: avoid; break-inside: avoid; width: 100%; font-size: 10pt; }
.tbl th, .tbl td { border: 0.5pt solid #444; padding: 2mm 3mm; }
.tbl thead { display: table-header-group; } /* 改ページ時に見出し行を繰り返す */
.tbl thead th, .tbl th[scope="row"] { background: #eee !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
tr { page-break-inside: avoid; }

/* SPカード化の擬似見出しは印刷では不要（表に戻す） */
.tbl td::before { content: none !important; }

/* リンクのURLは印刷しない（本文はそのまま） */
a { color: #000; text-decoration: none; }
a[href]::after { content: "" !important; }

/* 空き状況の記号は色が飛ぶので確実に出す */
.slot { color: #000 !important; }
.slot__mark { color: #000 !important; }

/* 印刷時の更新日を目立たせる */
.vacancy__updated { font-weight: 700; font-size: 11pt; }

/* 印刷用の注記（画面では隠し、印刷でだけ出したいものに .print-only） */
.print-only { display: block !important; }
