/* print.css — 旅のしおり 印刷/PDF保存用スタイル */
@media print {
  header,
  nav,
  footer,
  .plan-cta,
  .affiliate-links,
  .print\:hidden,
  [data-print-hide],
  .no-print {
    display: none !important;
  }

  body {
    font-size: 11pt;
    color: #000;
    background: #fff;
  }

  /* ページ制御 */
  .page-break-before { page-break-before: always; }
  .page-break-avoid { page-break-inside: avoid; }

  .plan-day {
    page-break-inside: avoid;
  }

  a::after {
    content: none !important;
  }

  /* 地図は印刷時に非表示（Leaflet は印刷に不向き） */
  .leaflet-container {
    display: none !important;
  }

  /* カード・テーブルの枠線を保持 */
  .bg-white,
  .rounded-xl,
  .border {
    border: 1px solid #e5e7eb !important;
  }

  /* --- シンプルテンプレート --- */
  body.pdf-simple {
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
    color: #000;
    background: #fff;
  }
  body.pdf-simple .pdf-content {
    max-width: 100%;
    padding: 0;
  }

  /* --- ガイド風テンプレート --- */
  body.pdf-guide {
    font-family: 'Noto Serif JP', 'Hiragino Mincho Pro', 'Yu Mincho', serif;
    color: #1a1a2e;
  }
  body.pdf-guide .pdf-day-header {
    border-left: 4px solid #2563eb;
    padding-left: 8px;
    margin-bottom: 12px;
  }
  body.pdf-guide .pdf-spot-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 8px 0;
    page-break-inside: avoid;
  }
  body.pdf-guide .pdf-cover {
    text-align: center;
    page-break-after: always;
  }
}
