
/* トップ・新着情報一覧共通：本文抜粋付きの縦リスト */
.mg-news-list .p-section__content {
  background: #fff;
  padding: 0 20px 8px;
}

.mg-news-list .c-list-news-rich01 {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mg-news-list .c-list-news-rich01 > li {
  width: 100%;
  height: auto;
  margin: 0;
  flex-shrink: 1;
  border-top: 1px solid #e5e5e5;
}

.mg-news-list .news-list__item {
  height: auto;
  background: #fff;
  text-align: left;
}

.mg-news-list .news-list__item > a {
  display: grid;
  grid-template-columns: minmax(0,1fr) 180px;
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  color: #252525;
  text-decoration: none;
}

.mg-news-list .news-list__item .left {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.mg-news-list .news-list__item .right {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mg-news-list img.news-list-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.mg-news-list .news-list__ttl {
  order: 0;
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  color: #252525;
  overflow-wrap: anywhere;
}

.mg-news-list .news-list__date {
  order: 1;
  font-size: 13px;
  line-height: 1.6;
  text-align: left;
  color: #888;
  margin: 0 0 10px;
}

.mg-news-list .mg-news-excerpt {
  order: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 400;
  color: #252525;
  text-align: left;
}

.mg-news-list .mg-news-more {
  order: 3;
  display: block;
  margin-top: 8px;
  color: #2b346c;
  font-size: 13px;
  line-height: 1.5;
}

.mg-news-list .category-name-box {
  order: 4;
  margin: 8px 0 0;
  padding: 0;
  font-size: 12px;
  text-align: left;
}

.mg-news-list .news-list__item > a:hover .news-list__ttl,
.mg-news-list .news-list__item > a:hover .mg-news-more {
  text-decoration: underline;
  color: #2b346c;
}

.mg-news-list .news-list__item > a:focus-visible {
  outline: 2px solid #2b346c;
  outline-offset: 3px;
}

@media (max-width:767px) {
  .mg-news-list .p-section__content {
    padding: 0 14px 6px;
  }

  .mg-news-list .news-list__item > a {
    grid-template-columns: minmax(0,1fr) 100px;
    gap: 14px;
    padding: 20px 0;
  }

  .mg-news-list .news-list__ttl {
    font-size: 16px;
  }

  .mg-news-list .news-list__date {
    font-size: 12px;
  }

  .mg-news-list .mg-news-excerpt {
    font-size: 13px;
    -webkit-line-clamp: 4;
  }

}

@media (max-width:359px) {
  .mg-news-list .news-list__item > a {
    grid-template-columns: minmax(0,1fr) 80px;
    gap: 10px;
  }

}

/* 一覧のカテゴリー・ページ送り */
.mg-news-list .category-name-box a {
  color: #2b346c;
}

.mg-news-list .c-list-news-rich01__pagenation {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 360px;
  margin: 32px auto;
  text-align: center;
}

.mg-news-list .c-list-news-rich01__pagenation a {
  display: block;
  padding: 12px;
  background: #2b346c;
  color: #fff;
  text-decoration: none;
}

.mg-news-list .c-list-news-rich01__pagenation a:hover {
  background: #a0a3b7;
}

.mg-news-list .c-list-news-rich01__pagenation a[href='javascript:void(0)'] {
  visibility: hidden;
}
