/* 親要素：ニュースリストの枠組み */
/* ニュース一覧全体の枠（スクロールバーはここに表示されます） */
.news-list {
  max-height: 250px;      /* 表示したい高さを指定（例: 250px） */
  overflow-y: auto;       /* 高さをおさまらない分は縦スクロール */
  padding: 0;
  margin: 0;
  list-style: none;
  
  /* ボックス右端に隙間なくスクロールバーを寄せる */
  box-sizing: border-box;
}

/* 各ニュース項目 */
.news-item {
  display: flex;
  align-items: center;    /* 上下中央揃え（上揃えなら flex-start） */
  padding: 12px 10px;
  border-bottom: 1px solid #eee; /* 各行の区切り線 */
}

/* 日付エリア */
.news-date {
  width: 150px;
  font-size: 20px;
  font-weight: bold;
  flex-shrink: 0;        /* 幅が縮まないように固定 */
}

/* 本文エリア */
.news-content {
  font-size: 20px;
  flex-grow: 1;          /* 右側の余白をすべて埋める */
  min-width: 0;          /* テキストのはみ出しを防止 */
}

p.info {
  margin-top: 10px;
}

.oomidashi {
  display: block;
  position: relative;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  background-color: #0e3b67;
  color: #dacd9b;
  padding: 2px;
  border-radius: 5px;
  margin: 5px;
  width: 100%;
}

.topics {
  background-color: #d8475c;
}


.nakamidashi {
  display: block;
  position: relative;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  background-color: #dacd9b;
  color: #000;
  padding: 2px;
  border-radius: 5px;
  margin: 5px;
  width: 100%;
}


.lead {
  display: block;
  position: relative;
  font-size: 16px;
  background-color: #FFF;
  color: #000;
  padding: 5px;
  margin: 5px;
  width: 100%;
}

.e_lead {
  font-size: 20px;
}

.catch {
  font-size: 30px;
  font-weight: bold;
  margin: 0 auto;
  color: red;
  margin-bottom: 20px;
}

.point {
  font-size:20px;
  font-weight:bold;
  width: fit-content;
  margin:0 auto;
  background-color: #0e3b67;
  color: #e1ca7a;
  text-align: center;
  margin-bottom: 5px;
  border-radius: 10px;
  padding:3px 10px;
}

.red {
  color: red;
}

.subcatch {
  font-size: 20px;
  font-weight: bold;
  color: red;
  text-align: center;
  margin-bottom: 10px;
}

.largetext {
  font-size: 20px;
  font-weight: bold;
  color: black;
  text-align: left;
  margin-bottom: 0px;
}

.center{
 text-align: center;
 color:gray;
}

.textcenter {
  display: inline-block;
  margin: 0 auto;
}

.strong {
  font-size: 20px;
  font-weight: bold;
  color: red;
  text-indent: -1em;
  padding-left: 1em;
}

.number {
  font-size: 20px;
  font-weight: bold;
  color: red;
}

.word {
  display: inline-block;
  width: 24px;
  text-align: center;
  background-color: #0e3b67;
  color: #dacd9b;
  font-size: 18px;
  baseline-shift: 4px;
  height: 24px;
  margin-right: 2px;
  margin-left: -26px;
  border: solid 1px white;
}

.school {
  width: 100%;
  text-align: justify;
  background-color: #afd8ff;
  font-size: 16px;
  baseline-shift: 4px;
  height: 24px;
  padding: 3px;
  margin-top: 20px;
}

.induction-title {
  font-size: 24px;
  font-weight: bold;
}

p.righttext {
  text-align: right;
}

p.consider {
  color: #eb8603;
}

p.visitor {
  color: #007f06;
}

.rinku {
  font-weight: bold;
  color: blue;
}

p.subtitle {
  font-size: 16px;
  padding-left: 1.5em;
}

p.exhibit {
  font-size: 16px;
  font-weight: bold;
  color: #0e3b67;
  text-indent: -1em;
  padding-left: 1em;
}

p.subject {
  font-size: 16px;
  color: #333;
  padding-left: 14px;
}

.index {
  margin-top: auto;
  /* 上側の余白を最大にして下に押し出す */
  margin-left: auto;
  /* 左側の余白を最大にして右に押し出す */
  color: blue;
  font-size: 15px;
}

.toggle-btn {
  margin-bottom: 10px;
  padding: 5px 5px;
  background-color: #0078D4;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

@media screen and (max-width:700px) {

  .news-date {
    width: 150px;
    font-size: 16px;
  }

  .news-content {
    font-size: 16px;
  }

  .oomidashi {
    font-size: 20px;
  }

  .nakamidashi {
    font-size: 18px;
  }

  .lead {
    font-size: 14px;
  }

  .catch {
    font-size: 20px;
  }


  .strong {
    font-size: 16px;
  }

  .number {
    font-size: 16px;
  }

  .subcatch {
    font-size: 16px;
  }

  .word {
    width: 18px;
  }

  .school {
    font-size: 14px;
  }

  .induction-title {
    font-size: 18px;
  }

  p.subtitle {
    font-size: 14px;
  }

  p.exhibit {
    font-size: 14px;

  }

  p.subject {
    font-size: 14px;
    padding-left: 12px;
  }

  p.index {
    font-size: 13px;
  }

  p {
    font-size: 13px;
  }
.point {
  font-size:16px;
}
}