div.body {
    max-width: 100% !important;
}

h1 {
  padding: 0.2em;
  border-top: solid 2px;
  border-bottom: solid 2px;
}

.wy-table-responsive table td, .wy-table-responsive table th {
    white-space: normal;
}

table caption {
    text-align: left !important;
    caption-side: top; /* 省略可：上に表示 */
    padding-left: 0;
}

table.docutils th.head{
    background-color: rgba(50, 102, 153, 0.5);
}

table.docutils tr.row-odd{
    background-color: rgba(50, 102, 153, 0.2);
}

/* テーブル同士の間に下マージンを入れる */
table.docutils {
    margin-bottom: 2em;  /* 必要に応じて調整 */
    width: 100%;
    max-width: 100%;
}

table.docutils td, table.docutils th {
    white-space: normal;
}

/* パラメータテーブルのキャプション番号を非表示 */
table.no-caption-number caption span.caption-number {
    display: none;
}

/* genindexリンクを非表示 */
a[href*="genindex"] {
    display: none !important;
}

/* Adjust vertical spacing between list items for better readability.
   Adds spacing between items while removing extra space after the last item. */
div.body ul li {
  margin-bottom: 0.4em;
}

div.body ul li:last-child {
  margin-bottom: 0;
}
