.hiraku-details {
  width: min(100% - 40px, 900px);
  margin: 0 auto;
}
.hiraku-details .hiraku-leaf {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  width: min(100%, 520px);
  margin: 0 auto;
}
.hiraku-details .hiraku-leaf li {
  width: 100%;
  list-style: none;
}
.hiraku-details .hiraku-leaf a {
  background-color: #c9e013;
  padding: 1em;
  display: block;
  color: #000;
  font-weight: 900;
}
/* 閲覧支援：PDFリンク */
html:is(.contrast-black, .contrast-yellow, .contrast-blue)
  .hiraku-details
  .hiraku-leaf
  a {
  background-color: var(--surface);
  color: var(--text);
  border: 1px solid var(--text);
}

/* 閲覧支援：ホバー */
html:is(.contrast-black, .contrast-yellow, .contrast-blue)
  .hiraku-details
  .hiraku-leaf
  a:hover {
  background-color: var(--text);
  color: var(--surface);
  opacity: 1;
}
