/*--------------------------------------
　送信ボタン前の案内文
---------------------------------------*/
.submit-notice {
  margin: 30px 0 20px;
  padding: 20px 24px;
  background: #eef4fb;
  border: 2px solid #6a9fd8;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}
.submit-notice p {
  margin: 0;
}
.submit-notice p + p {
  margin-top: 12px;
}

@media screen and (max-width: 768px) {
  .submit-notice {
    padding: 16px;
    font-size: 13px;
  }
}

/*--------------------------------------
　FAX送付状（印刷専用）
---------------------------------------*/
#fax-sheet {
  display: none;
}

@media print {
  /* 通常コンテンツを非表示 */
  body > *:not(main) {
    display: none !important;
  }
  main > *:not(#fax-sheet) {
    display: none !important;
  }
  header,
  footer,
  nav,
  .mv_lower,
  .bc-list,
  .contents_lower,
  .bnr_ai,
  .header_nav,
  #nomoca-chatbot,
  [id^="nomoca"] {
    display: none !important;
  }

  /* main要素の印刷用リセット */
  main#lower {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  /* FAX送付状を表示 */
  #fax-sheet {
    display: block !important;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    font-size: 12pt;
    color: #000;
    line-height: 1.6;
    overflow: visible;
  }

  .fax-sheet-inner {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 10px 0;
    box-sizing: border-box;
  }

  .fax-sheet-title {
    text-align: center;
    font-size: 22pt;
    font-weight: 700;
    margin: 0 0 8px;
    padding-bottom: 8px;
    border-bottom: 3px solid #000;
  }

  .fax-sheet-date {
    text-align: right;
    font-size: 10pt;
    margin: 0 0 16px;
  }

  .fax-sheet-header,
  .fax-sheet-body {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    box-sizing: border-box;
  }

  .fax-sheet-header {
    margin: 0 0 20px;
  }
  .fax-sheet-header th {
    width: 80px;
    padding: 8px 12px;
    font-size: 11pt;
    font-weight: 700;
    text-align: left;
    vertical-align: top;
    border: 1px solid #000;
    background: #f0f0f0;
  }
  .fax-sheet-header td {
    padding: 8px 12px;
    font-size: 11pt;
    border: 1px solid #000;
    vertical-align: top;
  }

  .fax-sheet-subject {
    font-size: 13pt;
    font-weight: 700;
    margin: 0 0 8px;
    padding: 6px 0;
    border-bottom: 1px solid #000;
  }

  .fax-sheet-body {
    margin: 0 0 20px;
  }
  .fax-sheet-body th {
    width: 130px;
    padding: 6px 10px;
    font-size: 10pt;
    font-weight: 700;
    text-align: left;
    vertical-align: top;
    border: 1px solid #000;
    background: #f0f0f0;
  }
  .fax-sheet-body td {
    padding: 6px 10px;
    font-size: 10pt;
    border: 1px solid #000;
    vertical-align: top;
    word-break: break-all;
    overflow-wrap: break-word;
  }

  .fax-sheet-note {
    font-size: 10pt;
    margin: 0;
  }

  /* A4印刷設定 */
  @page {
    size: A4 portrait;
    margin: 15mm;
  }
}
