/* The デジタルコンテンツ block of the top page (inc/digital-contents.php), between 今年の見どころ and the past years'
   photos. A div, not a section, so it does not get the cream box of #contents section; the margins copy .toppast's.
   The heading is the 今年の見どころ title (top.css .tophighlights__title): Mincho, 38 / 26 / 23px.
   Banners are 438px wide and 24px apart, so two fill the 900px content width (as the くしゅまる banners,
   top-banners.css) and a single one stays centred; on phones they take the content width, one under the other. */
.topdigital {
  margin-top: calc((20 / 1440) * 100vw);
}
.topdigital__title {
  margin: 0 0 30px;
  padding-top: 30px;
  color: #fff9e9;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-align: center;
}
.topdigital__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.topdigital__item {
  flex: 0 1 438px;
  min-width: 0;
}
.topdigital__item a,
.topdigital__item img {
  display: block;
}
.topdigital__item img {
  width: 100%;
  height: auto;
}
@media (max-width: 678px) {
  .topdigital__title {
    margin-bottom: 20px;
    padding-top: 20px;
    font-size: 26px;
    letter-spacing: 0.04em;
  }
}
@media (max-width: 668px) {
  .topdigital {
    margin-top: calc((12 / 750) * 100vw);
  }
  .topdigital__list {
    flex-direction: column;
    gap: 16px;
  }
  .topdigital__item {
    flex-basis: auto;
  }
}
@media (max-width: 360px) {
  .topdigital__title {
    font-size: 23px;
  }
}
