.next-news-content {
  color: #243447;
  font-size: 16px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.next-news-content > * {
  margin-block: 0;
}

.next-news-content > * + * {
  margin-top: 24px;
}

.next-news-content p {
  margin: 0;
  min-height: 1.9em;
  white-space: pre-wrap;
}

.next-news-content p:empty::before {
  content: "\00a0";
}

.next-news-content__text p + p {
  margin-top: 18px;
}

.next-news-content__heading {
  color: #003b70;
  font-family: "M PLUS 1p", sans-serif;
  line-height: 1.5;
}

.next-news-content h2 {
  border-bottom: 1px solid #b8d4ea;
  font-size: 24px;
  font-weight: 700;
  padding: 0 0 10px;
}

.next-news-content h3 {
  border-left: 4px solid #00a4df;
  font-size: 20px;
  font-weight: 700;
  padding: 6px 0 6px 14px;
}

.next-news-content__text--center { text-align: center; }
.next-news-content__text--right { text-align: right; }

.next-news-content ul,
.next-news-content ol {
  margin-bottom: 0;
  padding-left: 1.8em;
}

.next-news-content li + li { margin-top: 8px; }

.next-news-content__link {
  color: #005f9e;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.next-news-content__figure {
  clear: both;
  max-width: 100%;
}

.next-news-content__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

.next-news-content__figure--small { width: min(34%, 320px); }
.next-news-content__figure--medium { width: min(58%, 560px); }
.next-news-content__figure--large { width: min(82%, 800px); }
.next-news-content__figure--full { width: 100%; }
.next-news-content__figure--left { margin-left: 0; margin-right: auto; }
.next-news-content__figure--center { margin-left: auto; margin-right: auto; }
.next-news-content__figure--right { margin-left: auto; margin-right: 0; }

.next-news-content__table-scroll {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.next-news-content table {
  border-collapse: collapse;
  min-width: 560px;
  width: 100%;
}

.next-news-content th,
.next-news-content td {
  border: 1px solid #b8cee0;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.next-news-content th {
  background: #eaf4fb;
  color: #003b70;
  font-weight: 700;
}

@media (max-width: 767px) {
  .next-news-content {
    font-size: 15px;
    line-height: 1.85;
  }

  .next-news-content > * + * { margin-top: 20px; }

  .next-news-content h2 { font-size: 20px; }
  .next-news-content h3 { font-size: 18px; }

  .next-news-content__figure--small { width: min(60%, 280px); }
  .next-news-content__figure--medium { width: min(82%, 440px); }
  .next-news-content__figure--large,
  .next-news-content__figure--full { width: 100%; }

  .next-news-content th,
  .next-news-content td { padding: 10px 11px; }
}
