body, html {
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}
/* 見出しを細く */
h1, h3, h4, h5, h6 {
  font-weight: 100;
}
h2 {
  font-weight: 550;
}

/* 一覧リンクボタン（btn-link）スタイル */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5em;
}

.section-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.section-header .btn-link {
  background-color: #f2f2f2;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  color: #337ab7;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.section-header .btn-link:hover {
  background-color: #337ab7;
  color: #fff;
}



#site-header .logo {
  display: flex;
  flex-direction: column;  /* 縦並び */
  align-items: center;     /* 横方向中央揃え */
  text-align: center;      /* テキスト中央揃え */
  margin-bottom: 1em;
}

#site-header .logo a {
  text-decoration: none;  /* リンクの下線を消す */
  color: inherit;         /* 色を周囲に合わせる */
  display: flex;
  flex-direction: column;
  align-items: center;
}

#site-header .logo img {
  max-width: 60px;
  height: auto;
  display: block;
}

#site-header .school-name {
  margin-top: 0.5em;
  font-weight: bold;
  font-size: 1.2em;
}

#hero {
  width: 100%;
  height: 300px; /* お好みの高さに調整 */
  background-position: center top; /* 上中央に背景画像を配置 */
  background-repeat: no-repeat;
  background-size: cover; /* 画像を領域いっぱいに拡大 */
  position: relative;
  display: flex;
  align-items: center; /* 縦方向中央揃え（テキストの位置調整に便利） */
  justify-content: center; /* 横方向中央揃え */
}

#hero .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.3); /* 画像の上に薄く黒のオーバーレイ */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 1em;
  box-sizing: border-box;
  z-index: 1;
}

#hero .school-slogan {
  font-size: 1.8em;
  font-weight: bold;
  z-index: 2;
  position: relative;
}

#site-footer {
  background-color: var(--footer-bg-color);
  color: var(--footer-text-color);
}
#site-footer a {
  color: var(--footer-text-color);
}
