.richtext {
  font-size: 10px;
  padding: 0 10px;
}
.richtext > p {
  font-size: 1.6em !important;
  line-height: 1.75 !important;
  text-indent: 1em !important;
  word-break: break-all !important;
  padding: 0 !important;
  margin-bottom: 1em !important;
}
.richtext > div {
  font-size: 1.6em;
  line-height: 1.75;
  word-break: break-all;
  padding: 0;
}
.richtext > h2,
.richtext > h3 {
  font-size: 2em;
  font-weight: bold;
  line-height: 1.75;
  word-break: break-all;
  padding: 0;
  margin-bottom: 1em;
}
.richtext > figure {
  text-align: center;
  margin-bottom: 1em;
}
.richtext img {
  max-width: 100%;
  height: auto;
}
.richtext > figure > figcaption {
  font-size: 1.5em;
  margin-top: 0.5em;
}
.richtext > figure > small {
  font-size: 1.3em;
  display: block;
  color: #999999;
  margin-top: 0.5em;
}
.richtext > div[class^='richtext-embed-'] {
  display: flex;
  justify-content: center;
  margin-bottom: 1em;
}
.richtext > div.richtext-embed-youtube > iframe,
.richtext > div.richtext-embed-vimeo > iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.richtext > div > hr {
  margin: 0.5em 0;
  border: 0;
  border-top: 0.2em solid #eee;
}
.richtext > p.spoiler {
  position: relative;
  user-select: none;
  -ms-filter: blur(6px);
  filter: blur(6px);
  cursor: pointer;
}
.richtext > p.spoiler::before {
  position: absolute;
  top: 36px;
  left: 0;
  right: 0;
  background-color: #ffffff;
  content: "\26a0 ネタバレがあります。タップで表示。";
  font-weight: bold;
  color: #ff3300;
  z-index: 1;
  text-align: center;
  width: max-content;
  padding: 5px 15px;
  margin: 0 auto;
  border-radius: 5px;
}
.richtext > p > span.spoiler {
  -ms-filter: blur(6px);
  filter: blur(6px);
  cursor: pointer;
}
