/* css/print.css - 印刷・PDF用スタイルシート */

@media print {
  /* 不要なUIを全て非表示 */
  body {
    background: #ffffff !important;
    color: #333333 !important;
    margin: 0;
    padding: 0;
  }
  
  .landing-page-container,
  .app-container {
    display: none !important;
  }
  
  #printable-report-container {
    display: block !important;
    width: 100%;
    max-width: 100%;
  }

  /* PDFレポート全体のレイアウト設定 */
  .pdf-report {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #444;
  }

  @page {
    size: A4;
    margin: 15mm;
  }

  .pdf-page {
    page-break-after: always;
    box-sizing: border-box;
    position: relative;
  }

  .pdf-page:last-child {
    page-break-after: auto;
  }

  /* ヘッダー */
  .pdf-header {
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }

  .pdf-title {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    margin: 0;
  }

  .pdf-date {
    font-size: 12px;
    color: #7f8c8d;
  }

  /* セクション見出し */
  .pdf-section-title {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /* 傾向バッジ */
  .pdf-type-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f0f7f4;
    border: 1px solid #c2e2d6;
    border-radius: 8px;
    font-size: 14px;
    color: #27ae60;
    font-weight: bold;
    margin-bottom: 30px;
  }

  /* カードデザイン（柔らかい枠線） */
  .pdf-card {
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    background: #fafafa;
    page-break-inside: avoid;
  }

  .pdf-card-title {
    font-size: 15px;
    font-weight: bold;
    color: #2980b9;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .pdf-card-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: #555;
    margin: 0;
  }

  /* ページ2: 声かけヒント特化スタイル */
  .pdf-hint-box {
    border-left: 4px solid #8e44ad;
    padding: 15px 20px;
    background: #fdfbfd;
    margin-bottom: 25px;
    border-radius: 0 8px 8px 0;
    page-break-inside: avoid;
  }

  .pdf-hint-title {
    font-weight: bold;
    font-size: 15px;
    color: #8e44ad;
    margin-bottom: 8px;
  }

  .pdf-hint-desc {
    font-size: 13.5px;
    color: #555;
    line-height: 1.6;
  }

  /* フッターメッセージ */
  .pdf-footer-msg {
    margin-top: 40px;
    padding: 20px;
    background: #fdfaf6;
    border: 1px solid #f9e7c9;
    border-radius: 12px;
    font-size: 13px;
    color: #d35400;
    line-height: 1.6;
    text-align: center;
  }
}
