.is-motion .__post-view-head > *,
.is-motion .__post-view-foot > * {
  opacity: 0;
  transform: translateY(32rem);
}
.is-motion .__post-view-body {
  opacity: 0;
  transform: translateY(28rem);
}
.is-motion #post_toc li {
  opacity: 0;
  transform: translateY(16rem);
}

.post-view__sidebar {
  flex: 1;
  max-width: 600rem;
  padding: 60rem 0 60rem 60rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}
@media (max-width: 1280px) {
  .post-view__sidebar {
    max-width: 400rem;
    padding: 40rem 0 40rem 40rem;
  }
}
@media (max-width: 1024px) {
  .post-view__sidebar {
    padding: 40rem 0 0;
    border-left: 0;
  }
}
@media (max-width: 640px) {
  .post-view__sidebar {
    padding-top: 32rem;
  }
}
.post-view__list-btn {
  display: none;
}
@media (max-width: 1024px) {
  .post-view__list-btn {
    display: flex;
    gap: 8rem;
  }
}
.post-view__list-btn[aria-expanded=true] svg {
  rotate: 180deg;
}
.post-view__list-btn svg {
  display: inline-block;
  transition: rotate 0.3s;
}
.post-view__side-list {
  margin-top: 16rem;
}
.post-view__side-list ul {
  display: flex;
  flex-direction: column;
  gap: 12rem;
}
@media (max-width: 640px) {
  .post-view__side-list ul {
    gap: 8rem;
  }
}
.post-view__side-list a {
  font-size: calc(16rem / var(--fs-15));
  color: #aaa;
  transition: color 0.3s;
}
@media (hover: hover) {
  .post-view__side-list a:focus, .post-view__side-list a:hover {
    color: #fff;
  }
}
.post-view__contents {
  flex: 1;
  max-width: 1078rem;
  min-height: 300rem;
  padding: 60rem 0;
}
@media (max-width: 1280px) {
  .post-view__contents {
    padding: 40rem 0;
  }
}
@media (max-width: 1024px) {
  .post-view__contents {
    padding-top: 0;
  }
}
@media (max-width: 640px) {
  .post-view__contents {
    padding-bottom: 32rem;
  }
}
.post-view__contents .editor-contents {
  overflow-x: auto;
  font-size: calc(16rem / var(--fs-15));
}
.post-view__contents .editor-contents > * {
  max-width: 100%;
}
.post-view__contents .editor-contents h2:not(:first-child) {
  margin-top: 36rem;
}
.post-view__contents .editor-contents h3:not(:first-child) {
  margin-top: 32rem;
}
.post-view__contents .editor-contents h4:not(:first-child) {
  margin-top: 28rem;
}
.post-view__contents .editor-contents h5:not(:first-child) {
  margin-top: 24rem;
}
.post-view__contents .editor-contents ul:not(:first-child),
.post-view__contents .editor-contents ol:not(:first-child),
.post-view__contents .editor-contents table:not(:first-child) {
  margin: 40rem 0;
}
.post-view__contents .editor-contents li {
  list-style: disc;
}
.post-view__contents .editor-contents blockquote {
  padding: 12rem 8rem 12rem 20rem;
}
.post-view__contents .editor-contents blockquote:not(:first-child) {
  margin: 40rem 0;
}
.post-view__contents .editor-contents a {
  position: relative;
}
@media (hover: hover) {
  .post-view__contents .editor-contents a:focus::after, .post-view__contents .editor-contents a:hover::after {
    width: 100%;
  }
}
.post-view__contents .editor-contents a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: width 0.3s;
}
.post-view__files:not(:first-child) {
  margin-top: 16rem;
}
@media (max-width: 640px) {
  .post-view__files:not(:first-child) {
    margin-top: 12rem;
  }
}
.post-view__files-container, .post-view__attachment {
  padding: 24rem;
  border-radius: 8rem;
  background-color: var(--color-gray-100);
}
.post-view__files-container + .post-view__files-container, .post-view__attachment + .post-view__files-container, .post-view__files-container + .post-view__attachment, .post-view__attachment + .post-view__attachment {
  margin-top: 15rem;
}
.post-view__files-title {
  font-size: calc(18rem / var(--fs-17));
}
.post-view__files-item {
  display: flex;
  align-items: center;
  gap: 5rem;
  width: 100%;
  min-width: 1px;
}
.post-view__files-item + .post-view__files-item {
  margin-top: 5rem;
}
.post-view__files-icon {
  flex-shrink: 0;
  margin-right: 10rem;
}
.post-view__files-link {
  display: flex;
  align-items: center;
  max-width: 100%;
  min-width: 1px;
  font-size: calc(16rem / var(--fs-15));
  color: var(--color-555);
  transition: color 0.3s;
}
@media (hover: hover) {
  .post-view__files-link:focus, .post-view__files-link:hover {
    color: var(--color-222);
  }
  .post-view__files-link:focus .post-view__files-name, .post-view__files-link:hover .post-view__files-name {
    text-decoration: underline;
  }
}
.post-view__files-name {
  word-break: break-all;
}
.post-view__files-size {
  flex-shrink: 0;
  align-self: flex-end;
  margin-left: 5rem;
  color: var(--color-999);
  font-size: calc(13rem / var(--fs-0));
}
.post-view__attachment-item {
  min-width: 1px;
}
.post-view__attachment-item + .post-view__attachment-item {
  margin-top: 10rem;
}
.post-view__attachment-inner {
  font-size: 0;
  line-height: 1;
}
.post-view__attachment-img {
  max-width: 100%;
}