/* お知らせ一覧 [yz_news_list]。色や大きさは下の変数で変えられる。 */
.yz-news {
  --yz-news-accent: #87084e;
  --yz-news-line: rgba(0, 0, 0, 0.12);
  --yz-news-thumb: 40px;
  max-width: 860px;
  margin: 0 auto;
}
.yz-news__heading {
  margin: 0 0 0.6em;
  text-align: center;
}
.yz-news__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--yz-news-line);
}
.yz-news__item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 12px 4px;
  border-bottom: 1px solid var(--yz-news-line);
}
.yz-news__thumb {
  flex: 0 0 var(--yz-news-thumb);
  display: block;
  width: var(--yz-news-thumb);
  height: var(--yz-news-thumb);
  line-height: 0;
}
.yz-news__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 17%;
}
.yz-news__img--fallback {
  border-radius: 0; /* 代わりの画像は、画像そのものが角丸 */
}
.yz-news__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
}
.yz-news__meta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85em;
  white-space: nowrap;
}
.yz-news__date {
  opacity: 0.75;
}
.yz-news__pin {
  display: inline-flex;
  align-items: center;
  color: var(--yz-news-accent);
  line-height: 1;
}
.yz-news__pin svg {
  display: block;
  width: 1.1em;
  height: 1.1em;
}
.yz-news__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.yz-news__cat {
  display: inline-block;
  padding: 1px 10px;
  border: 1px solid var(--yz-news-accent);
  border-radius: 999px;
  color: var(--yz-news-accent);
  font-size: 0.9em;
  line-height: 1.6;
  text-decoration: none;
}
.yz-news__cat:hover,
.yz-news__cat:focus {
  background: var(--yz-news-accent);
  color: #fff;
}
.yz-news__link {
  flex: 1 1 16em;
  min-width: 0;
  color: inherit;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}
.yz-news__link:hover,
.yz-news__link:focus {
  color: var(--yz-news-accent);
  text-decoration: underline;
}
.yz-news__more {
  margin: 14px 0 0;
  font-size: 0.9em;
  text-align: right;
}
.yz-news__more a {
  color: var(--yz-news-accent);
  text-decoration: none;
}
.yz-news__more a::after {
  content: " →";
}
.yz-news__empty {
  margin: 0;
  text-align: center;
}
@media (max-width: 600px) {
  .yz-news__item {
    align-items: flex-start;
    gap: 10px;
  }
  .yz-news__link {
    flex-basis: 100%;
  }
}
