.news {
  text-decoration: none;
}

.news .date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9em;
  color: #586b7d;
}

.news .article {
  margin-top: 1em;
}

.news .article:after,
.news .article:before {
  content: "";
  display: block;
  left: calc(var(--bs-gutter-x) * 0.5);
  top: 1.5em;
  position: absolute;
  width: calc(100% - var(--bs-gutter-x));
  border-style: solid;
  border-width: 0;
  box-sizing: border-box;
}

.news .article:before {
  background-color: rgba(0, 0, 0, 0.2);
  height: 1px;
}

.news .article:after {
  background-color: #007ec6;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.news:hover .article:after {
  transform: scaleX(1);
  transform-origin: left center;
}

.news .date p {
  margin-bottom: 0;
  letter-spacing: 0.2em;
}

.news h5 {
  font-size: 1em;
  margin-bottom: 0.25em;
  line-height: 1.45;
}

.news p {
  font-size: 0.75em;
  letter-spacing: 0.2em;
  line-height: 1.6;
  color: #586b7d;
}

#news-list .news .article {
  margin-top: 1.5em;
}

#news-list .news .article:after,
#news-list .news .article:before {
  left: 0;
  width: 100%;
  top: 2.15em;
}

#news-list .news .date {
  font-size: 1em;
}

#news-list .news h5 {
  font-size: 1.2em;
}

#news-list .news p {
  font-size: 0.9em;
}

#news-list img {
  position: relative;
  width: 18rem;
  height: auto;
  object-fit: contain;
  object-position: top;
  --bs-aspect-ratio: calc(9 / 16 * 100%);
}

#news-list .pagination .page-link {
  font-size: 1.2rem;
  display: inline-block;
  color: #007ec6;
  background-color: #e4f5ff;
  text-decoration: none;
  text-align: center;
  line-height: 2.2rem;
  letter-spacing: 0;
  width: 3.2rem;
  height: 3.2rem;
  transition: 0.2s ease-in-out;
  white-space: nowrap;
  border: none;
}

#news-list .pagination .active .page-link {
  color: #ffffff;
  background-color: #007ec6;
}

#news-list .pagination .disabled .page-link {
  color: #b2bdc8;
  background-color: #e5ecf3;
}

.news-head {
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 150%;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .news-head {
    font-size: 1.85rem;
  }
}

.news-sub {
  font-size: 0.9rem;
  font-weight: 300;
  margin-left: 0.3rem;
}

#news-body {
  letter-spacing: 0.16em;
}

#news-body .eyecatch {
  width: 100%;
  object-fit: contain;
  max-height: 60vh;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

#news-body .h2,
#news-body h2 {
  font-size: 1.35rem;
}

#news-body .h3,
#news-body h3 {
  font-size: 1.2rem;
}

#news-body figure {
  text-align: center;
}

#news-body img {
  max-width: 100%;
  width: auto;
  display: block;
  margin: 2rem auto;
  float: none;
}

#news-body figure img {
  margin-left: auto;
  margin-right: auto;
}

#news-body iframe {
  width: 100%;
  height: auto;
  /* max-width: 800px; */
  object-fit: cover;
  aspect-ratio: 16/9;
  margin: 0 auto;
}
