@charset "UTF-8";
/* h1：メイン見出し */
h1 {
  border-bottom: 3px solid #87ba3a;
  padding-bottom: 0.5rem;
  line-height: 1.6;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

/* h2：大見出し */
h2 {
  border-left: 4px solid #87ba3a;
  padding: 0.5rem 0 0.5rem 1rem;
  line-height: 1.6;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

/* h3：中見出し */
h3 {
  border-bottom: 2px solid #87ba3a;
  padding-bottom: 0.5rem;
  line-height: 1.6;
  margin-top: 2rem;
  margin-bottom: 1.25rem;
}

/* h4：小見出し */
h4 {
  color: #87ba3a;
  line-height: 1.6;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

/* h5：項目見出し */
h5 {
  background-color: #ffffcc;
  padding: 0.5rem 1rem;
  line-height: 1.6;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

/* h6：補足見出し */
h6 {
  color: #6c757d;
  line-height: 1.6;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

/* 本文の文字サイズ・行間 */
p {
  font-size: 1.25rem;  /* 20px */
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* リストの文字サイズ・行間 */
li {
  font-size: 1.25rem;  /* 20px */
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

/* 表の文字サイズ・行間 */
td,
th {
  font-size: 1.25rem;  /* 20px */
  line-height: 1.8;
}

/* PDFリンクの文字の前にアイコンを表示 */
a[href$=".pdf"]::before,
a[href*=".pdf?"]::before {
  content: "PDF";
  display: inline-block;
  margin-right: 0.5em;
  padding: 2px 5px;
  background-color: #dc3545;
  color: #fff;
  font-size: 0.7em;
  font-weight: bold;
  line-height: 1.4;
  border-radius: 3px;
  vertical-align: middle;
  text-decoration: none;
}

/* 指定管理者情報 */
.footer-info p {
  line-height: 1.6;
  margin-bottom: 0.25rem;
}

.footer-info .footer-library-name {
  font-size: 22px;
  font-weight: bold;
}

.footer-info .footer-manager {
  font-size: 16px;
}

.footer-info .footer-postcode {
  font-size: 12px;
  margin-bottom: 1rem;
}