@charset "utf-8";

/* 引き継ぎ資料の構造を、既存サイトの書体・配色に合わせる。 */
.hn-section {
  --hn-ink: #333;
  --hn-gold: #716b32;
  --hn-line: #ccc;
}

.hn-home {
  scroll-margin-top: 70px;
}

.hn-inner > .hn-list {
  margin-top: 25px;
}

.hn-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hn-item {
  border-bottom: 1px solid var(--hn-line);
}

.hn-link,
.hn-link:visited {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 24px;
  padding: 20px 4px;
  color: var(--hn-ink);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.hn-link:hover {
  color: var(--hn-ink);
  background: #f4f2ed;
}

.hn-section a:focus-visible,
.hn-section button:focus-visible,
.hn-section input:focus-visible,
.hn-section summary:focus-visible {
  outline: 2px solid var(--hn-gold);
  outline-offset: 4px;
}

.hn-thumbnail {
  display: block;
  width: 128px;
  height: 84px;
  object-fit: cover;
  background: #f4f2ed;
}

.hn-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #333;
}

.hn-content {
  min-width: 0;
}

.hn-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 8px;
}

.hn-date,
.hn-category,
.hn-category:visited {
  color: #666;
  font-size: 12px;
  font-weight: normal;
  line-height: 1.5;
}

.hn-category {
  padding: 2px 9px;
  border: 1px solid #716b32;
  color: #333;
  background: #f4f2ed;
}

.hn-title {
  display: block;
  color: var(--hn-ink);
  font-weight: normal;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.hn-arrow {
  color: var(--hn-gold);
  font-size: 18px;
  text-align: right;
}

.hn-message {
  padding: 40px 0;
  text-align: center;
  font-size: 14px;
}


#set_list_topics {
  max-width: 90%;
}

.hn-home .news-home {
  margin-top: 32px;
  text-align: center;
}

.hn-home .news-home a {
  display: inline-block;
  padding: 8px 24px;
  width: auto;
  color: var(--hn-ink);
  border: 1px solid #716b32;
}

@media screen and (max-width: 540px) {
  .hn-home .hn-link {
    grid-template-columns: 88px minmax(0, 1fr) 8px;
    gap: 10px;
  }

  .hn-home .hn-thumbnail {
    width: 88px;
    height: 66px;
  }
}
