@charset "UTF-8";

.wrapper {
  overflow: visible;
}
.front-title,
.section-title {
  padding-top: 10rem;
}
.post {
  margin-bottom: 4rem;
}
.post time {
  display: inline-block;
  margin-bottom: 0.5rem;
}
.post time,
.cat {
  color: var(--gray2);
  font-size: 0.75rem;
}
.post h3 {
  padding: 1rem 0 1.5rem 0;
  border-bottom: dotted 2px var(--main-color);
  margin-bottom: 1.5rem;
}
.post img {
  width: 100%;
  height: auto;
}
.post-txt {
  padding: 1.5rem 0 0.5rem;
}
.pagination {
  display: flex;
  justify-content: center;
  text-align: center;
}
.pagination a,
.pagination .current {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  padding-top: 8px;
  margin: 0 6px;
  white-space: pre;
}
.pagination .current {
  background: var(--gray2);
  color: var(--white);
}
.pagination .prev,
.pagination .next {
  font-family: 'EB Garamond', serif;
  width: 70px;
}
.cat-area,
.article-area {
  margin: 4rem 0;
}
.cat-area h4,
.article-area h4 {
  font-weight: 600;
  padding: 1.5rem 0;
  border-bottom: solid 1px var(--gray2);
}
.cat-area ul li,
.article-area ul li {
  padding: 1.5rem 0;
  border-bottom: dotted 2px var(--main-color);
}
.cat-area ul li:last-child,
.article-area ul li:last-child {
  border-bottom: none;
}
.cat-area ul li::before,
.article-area ul li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sub-color);
  display: inline-block;
  margin: 0 8px 2px 0;
}
.back-btn {
  margin-top: 0;
}
@media (min-width: 600px) {
  .container {
    display: flex;
    justify-content: space-between;
  }
  main {
    width: 65%;
  }
  aside {
    width: 25%;
  }
  .post time,
  .cat {
    font-size: 0.875rem;
  }

  .post-img:hover {
    opacity: 0.8;
  }
  .sub-area {
    position: sticky;
    top: 6rem;
  }
  .pagination a:hover {
    color: var(--white);
    background: var(--gray1);
  }
  .pagination .prev:hover,
  .pagination .next:hover {
    background: none;
    color: var(--gray1);
  }
  .back-btn {
    margin-top: 4rem;
  }
}
