#categoryLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-bottom: 0;
}
@media (768px <= width) {
  #categoryLinks {
    gap: 1.6rem;
    width: 100rem;
    margin-left: auto;
    margin-right: auto;
  }
}
#categoryLinks a {
  border: 1px solid var(--clr-main);
  color: var(--clr-main);
  font-size: 1.6rem;
  font-weight: 700;
  padding: 0 1em;
}
#categoryLinks a.current {
  background-color: var(--clr-main);
  color: #fff;
}
@media (768px <= width) {
  #categoryLinks a {
    text-align: center;
    padding: 0;
    width: 14rem;
  }
}
@media (hover: hover) and (width >= 768px) {
  #categoryLinks a {
    transition: all var(--ani);
  }
  #categoryLinks a:hover {
    background-color: var(--clr-main);
    color: #fff;
  }
}

#postlists {
  width: 100rem;
  margin-left: auto;
  margin-right: auto;
  padding-top: 4.2rem;
}

.postlists__inner {
  display: grid;
  border-top: 1px solid var(--clr-line);
}
.postlists__item {
  border-bottom: 1px solid var(--clr-line);
  position: relative;
  padding-right: 2em;
  padding: calc(16 / var(--spSize) * 100vw) 2em calc(16 / var(--spSize) * 100vw) 0;
  line-height: 1.44;
  display: grid;
  grid-template-columns: 7em 12rem auto;
  align-items: start;
  gap: 1rem 0;
}
@media (768px <= width) {
  .postlists__item {
    grid-template-columns: 8em 14rem auto;
    padding: 3.2rem 5rem 3.2rem 0;
  }
}
@media (hover: hover) and (width >= 768px) {
  .postlists__item .postlists__item-title {
    transition: all var(--ani);
  }
  .postlists__item:hover .postlists__item-title {
    color: var(--clr-main);
  }
}
.postlists__item-time {
  font-size: 1.6rem;
}
@media (768px <= width) {
  .postlists__item-time {
    font-size: 1.8rem;
  }
}
.postlists__item-cat {
  font-weight: 700;
  border: 1px solid var(--clr-main);
  color: var(--clr-main);
  text-align: center;
}
@media (768px <= width) {
  .postlists__item-cat {
    font-size: 1.6rem;
  }
}
.postlists__item-title {
  font-size: 1.6rem;
  font-weight: 700;
  grid-column: span 3;
}
@media (768px <= width) {
  .postlists__item-title {
    font-size: 1.8rem;
    grid-column: 3/4;
    padding-left: 3.2rem;
  }
}
.postlists__item i[class^=icon] {
  position: absolute;
  right: 0;
  top: 50%;
  translate: 0 -50%;
}

@media (768px <= width) {
  #post {
    width: 100rem;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 72rem 24rem;
    gap: 4rem;
  }
}
#post .post__header {
  display: grid;
  grid-template-columns: 7em 10rem auto;
  gap: 0.8rem 0;
  line-height: 1.44;
}
@media (768px <= width) {
  #post .post__header {
    grid-column: 1/3;
    grid-template-columns: 8em 14rem auto;
  }
}
@media (768px <= width) {
  #post .post__header time {
    font-size: 1.8rem;
  }
}
#post .post__header .cat {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-main);
  border: 1px solid var(--clr-main);
  text-align: center;
}
@media (768px <= width) {
  #post .post__header .cat {
    font-size: 1.6rem;
  }
}
#post .post__header .title {
  grid-column: 1/4;
  font-size: 2.4rem;
  font-weight: 700;
  position: relative;
  padding-left: 2rem;
}
@media (768px <= width) {
  #post .post__header .title {
    font-size: 3.8rem;
  }
}
#post .post__header .title::before {
  content: "";
  width: 0.4rem;
  background-color: var(--clr-main);
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
}
#post .post__body {
  margin-top: calc(24 / var(--spSize) * 100vw);
}
@media (768px <= width) {
  #post .post__body {
    margin-top: 0;
  }
}
#post .post__body .inner {
  line-height: 1.6;
}
@media (768px <= width) {
  #post .post__body .inner {
    font-size: 1.6rem;
  }
}
#post .post__body .inner h1 {
  margin-bottom: 3rem;
}
#post .post__body .inner h2 {
  margin-bottom: 2rem;
}
#post .post__body .inner h3 {
  margin-bottom: 1.5rem;
}
#post .post__body .inner h4,
#post .post__body .inner h5,
#post .post__body .inner h6 {
  margin-bottom: 1rem;
}
#post .post__body .inner ul {
  margin: 2em 0;
}
#post .post__body .inner ul li {
  padding-left: 1.4em;
  position: relative;
}
#post .post__body .inner ul li::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  background-color: var(--clr-main);
  border-radius: 100%;
  position: absolute;
  left: 0;
  top: 0.6em;
}
#post .post__body .inner ul li + li {
  margin-top: 0.5rem;
}
#post .post__body .inner ol {
  margin: 2em 0;
}
#post .post__body .inner ol li {
  padding-left: 1.4em;
  position: relative;
  counter-increment: section;
}
#post .post__body .inner ol li::before {
  content: counter(section) ".";
  position: absolute;
  left: 0;
  top: 0em;
  font-weight: 700;
  color: var(--clr-main);
}
#post .post__body .inner ol li + li {
  margin-top: 0.5rem;
}
#post .post__body .inner a {
  text-decoration: underline;
}
#post .post__body .inner blockquote {
  margin: 1em 0;
  background-color: var(--clr-bg);
  padding: 2em 2em;
  position: relative;
}
#post .post__body .inner blockquote::before, #post .post__body .inner blockquote::after {
  color: #999;
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  background: center/contain no-repeat;
  position: absolute;
}
#post .post__body .inner blockquote::before {
  background-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill-opacity="0.4"><path d="M0 216C0 149.7 53.7 96 120 96l8 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-8 0c-30.9 0-56 25.1-56 56l0 8 64 0c35.3 0 64 28.7 64 64l0 64c0 35.3-28.7 64-64 64l-64 0c-35.3 0-64-28.7-64-64l0-32 0-32 0-72zm256 0c0-66.3 53.7-120 120-120l8 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-8 0c-30.9 0-56 25.1-56 56l0 8 64 0c35.3 0 64 28.7 64 64l0 64c0 35.3-28.7 64-64 64l-64 0c-35.3 0-64-28.7-64-64l0-32 0-32 0-72z"/></svg>');
  left: 1em;
  top: 0.5em;
}
#post .post__body .inner blockquote::after {
  background-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill-opacity="0.4"><path d="M448 296c0 66.3-53.7 120-120 120l-8 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l8 0c30.9 0 56-25.1 56-56l0-8-64 0c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l64 0c35.3 0 64 28.7 64 64l0 32 0 32 0 72zm-256 0c0 66.3-53.7 120-120 120l-8 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l8 0c30.9 0 56-25.1 56-56l0-8-64 0c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l64 0c35.3 0 64 28.7 64 64l0 32 0 32 0 72z"/></svg>');
  right: 1em;
  bottom: 0.5em;
}
#post .post__body .button.line {
  width: 15.3rem;
  margin-top: 6rem;
  margin-left: auto;
  margin-right: auto;
}
@media (768px <= width) {
  #post .post__body .button.line {
    margin-top: 12rem;
  }
}
#post .post__sidebar {
  margin-top: calc(120 / var(--spSize) * 100vw);
}
@media (768px <= width) {
  #post .post__sidebar {
    margin-top: 0;
  }
}
#post .post__sidebar-label {
  position: relative;
  padding-left: 1.6rem;
  font-size: 2rem;
  font-weight: 700;
}
#post .post__sidebar-label::before {
  content: "";
  width: 0.5rem;
  height: 100%;
  background: var(--clr-main);
  position: absolute;
  left: 0;
  top: 0;
}
#post .post__sidebar-contents {
  margin-top: 2.4rem;
  border-top: 1px solid var(--clr-line);
}
#post .post__sidebar-contents a {
  border-bottom: 1px solid var(--clr-line);
  padding: 1.6rem 0;
  display: grid;
  grid-template-columns: 7em 9em auto;
  gap: 0.7rem 0;
  line-height: 1.6;
}
#post .post__sidebar-contents a time {
  font-size: 1.6rem;
}
#post .post__sidebar-contents a .cat {
  font-weight: 700;
  color: var(--clr-main);
  border: 1px solid var(--clr-main);
  text-align: center;
}
#post .post__sidebar-contents a .title {
  grid-column: 1/4;
}