@charset "UTF-8";
/* 共通: thの見た目(クラスの有無を問わない) */
article table th {
  background-color: var(--bs-light);
  text-align: center;
}

/* クラスを付けていない表だけ、Bootstrapのtable-borderedに合わせる */
article table:not(.table) {
  width: 100%;
  height: auto !important;
  max-width: 100%;
  margin-bottom: 1rem;
  border-collapse: collapse;
  border: 1px solid var(--bs-secondary-border-subtle);
}
article table:not(.table) th,
article table:not(.table) td {
  padding: .5rem;
  border: 1px solid var(--bs-secondary-border-subtle);
  vertical-align: top;
}

/* 見出し: 上を広く、下を狭く（本文の区切りが分かる） */
article h3,
article h4,
article h5 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}
article h4 { margin-top: 1.75rem; }
article h5 { margin-top: 1.5rem; }

/* 本文の先頭が見出しなら、上の余白を消す */
article h3:first-child,
article h4:first-child,
article h5:first-child { margin-top: 0; }

/* 段落・リスト */
article p,
article ul,
article ol {
  margin-top: 0;
  margin-bottom: 1rem;
}
article ul,
article ol { padding-left: 2rem; }
article li + li { margin-top: .25rem; }

/* 表のセルの中: 最後の要素の下の余白を消す */
article td > :last-child,
article th > :last-child { margin-bottom: 0; }

nav.navbar[data-bs-theme="dark"] {
  --bs-navbar-color: #fff;                       /* 通常 */
  --bs-navbar-hover-color: rgba(255, 255, 255, .8);   /* ホバー */
  --bs-navbar-active-color: #fff;                /* 現在のページ */
}

main h1 {
  padding-bottom: .5rem;
  background: linear-gradient(
    to right,
    var(--bs-primary) 0 30%,
    var(--bs-border-color) 30% 100%
  ) no-repeat bottom / 100% 2px;
}

.topmain-welcome-area {
  background-image:
    radial-gradient(#b8dcf1 20%, transparent 20%),
    radial-gradient(#b8dcf1 20%, transparent 20%);
  background-size: 8px 8px;
  background-position: 0 0, 4px 4px;
  padding: 1.5rem 2rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}
.topmain-welcome-area .topmain-welcome-title {
  font-size: 1.375rem;      /* 旧テーマの22px相当 */
  margin: 0 0 1rem;
  padding-top: .5rem;
  line-height: 1.5;
}
.topmain-welcome-area .topmain-welcome-contents {
  font-size: 1rem;          /* 旧テーマは13pxだったが、読みやすさを優先して16px */
}