/**
 * スマフォ向けテーブル対応
 */
 @media all
 {
  table.smtable tbody td .smtitle {
    display: none;
  }
  /* nosmtitleが指定されている場合は、広い画面では表示しない */
  table.nosmtitle tbody td .smtitle {
    display: none;
  }
 }
 @media (max-width: 992px) 
 {
  table.smtable {
    display: block;
    border: none;
  }
  table.smtable thead {
    display: none;
  }
  table.smtable tbody {
    display: block;
  }
  table.smtable tr {
    display: block;
    border: 1px solid rgba(0,0,0,.125);
    border-right: 5px solid rgba(0,0,0,.125);
    border-bottom: 5px solid rgba(0,0,0,.125);
    border-radius: 5px;
    margin: 30px auto;
    padding-bottom: 25px;
  }
  table.smtable tbody td {
    border: none;
    display: block;
    text-align: left;
  }
  table.smtable tbody td .smtitle {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px; 
    padding-left: 5px;
    border-bottom: 1px solid rgba(0,0,0,.125);
    border-left: 3px solid rgba(0,0,0,.125);
    font-weight: bold;
    text-align: left;
  }
  .onlysmprint {
    display: none;
  }
 }

 @media print and (max-width: 992px)
 {
  table.smtable.no-smtable-print {
    display: table;
  }
  table.smtable.no-smtable-print thead {
    display: table-header-group;
  }
  table.smtable.no-smtable-print tbody {
    display: table-row-group;
  }
  table.smtable.no-smtable-print tr {
    display: table-row;
    border: inherit;
    border-right: inherit;
    border-bottom: inherit;
    border-radius: inherit;
    margin: inherit;
    padding-bottom: inherit;
  }
  table.smtable.no-smtable-print tbody td {
    display: table-cell;
  }
  table.smtable.no-smtable-print tbody td .smtitle {
    display: none;
  }
  .onlysmprint {
    display: inherit!important;
  }
 }