/* サービスサイト共通の「関連する記事」。記事（スマプレトピック）とほかのサービスへの導線 */
.hub-related {
  padding: 56px 0 64px;
  background: #f6f7f9;
  border-top: 1px solid #e6e8ec;
  font-family: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", sans-serif;
  color: #1f2937;
}

.hub-related-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}

.hub-related-title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

.hub-related-lead {
  margin: 0 0 24px;
  font-size: 14px;
  color: #5b6472;
}

.hub-related-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hub-related-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6e8ec;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.hub-related-card:hover,
.hub-related-card:focus-visible {
  border-color: #9aa1ad;
  box-shadow: 0 4px 14px rgb(15 23 42 / 8%);
}

.hub-related-card-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #eef0f3;
  border-bottom: 1px solid #e6e8ec;
}

.hub-related-card-body {
  display: block;
  padding: 16px 20px 18px;
}

.hub-related-card-title {
  display: block;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.hub-related-card-desc {
  display: block;
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: #5b6472;
}

.hub-related-more {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 24px 0 0;
  font-size: 14px;
}

.hub-related-more a {
  color: #1f4fd6;
  font-weight: 700;
  text-decoration: none;
}

.hub-related-more a:hover,
.hub-related-more a:focus-visible {
  text-decoration: underline;
}
