/* topics single page dedicated styles */
.single-topics #page .news-title {
  margin-bottom: 40px;
}

.single-topics #page .news-content {
  line-height: 1.9;
  padding-top: 0;
}

.single-topics #page .news-content h2 {
  margin: 56px 0 18px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
}

.single-topics #page .news-content h3 {
  margin: 36px 0 14px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}

.single-topics #page .news-content p {
  margin: 16px 0 0;
}

.single-topics #page .news-content ul,
.single-topics #page .news-content ul.wp-block-list {
  list-style: disc !important;
  list-style-position: outside;
  margin: 18px 0 0 1.5em;
  padding-left: 1.2em;
}

.single-topics #page .news-content ol,
.single-topics #page .news-content ol.wp-block-list {
  list-style: decimal !important;
  list-style-position: outside;
  margin: 18px 0 0 1.5em;
  padding-left: 1.2em;
}

.single-topics #page .news-content li {
  margin: 8px 0;
}

@media screen and (max-width: 800px) {
  .single-topics #page .news-title {
    margin-bottom: 20px;
  }

  .single-topics #page .news-content h2 {
    margin: 40px 0 14px;
    font-size: 24px;
  }

  .single-topics #page .news-content h3 {
    margin: 28px 0 12px;
    font-size: 18px;
  }

  .single-topics #page .news-content ul,
  .single-topics #page .news-content ul.wp-block-list,
  .single-topics #page .news-content ol,
  .single-topics #page .news-content ol.wp-block-list {
    margin-top: 14px;
    margin-left: 1.2em;
    padding-left: 1em;
  }
}

/* topics 一覧用 */
#page.archive-topics .page-wrap {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

#page.archive-topics .page-title,
#page.archive-topics .page-content {
  max-width: 1200px;
}

#page.archive-topics .topics-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

#page.archive-topics .topics-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

#page.archive-topics .topics-thumb {
  width: 100%;
  aspect-ratio: 37 / 26;
  background: #c4c4c4;
}

#page.archive-topics .topics-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#page.archive-topics .topics-title {
  margin: 18px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

#page.archive-topics .topics-date {
  margin: 10px 0 0;
  font-family: var(--en);
  font-size: 16px;
  line-height: 1.3;
}

@media screen and (max-width: 900px) {
  #page.archive-topics .page-title,
  #page.archive-topics .page-content {
    max-width: 100%;
  }

  #page.archive-topics .topics-list {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  #page.archive-topics .topics-title {
    font-size: 14px;
  }

  #page.archive-topics .topics-date {
    font-size: 12px;
  }
}
