
/* 記事一覧 */

#article h2 {
  margin-bottom: 100px;
}

#article {
  margin: 0 10%;
  margin-bottom: 100px;
}
@media (max-width: 480px) {
  #article {
    margin: 0 .5rem;
  }
}

.articles-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-template-rows: 300px;
  gap: 1rem;
}

.article-item {
  border-radius: 5%;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: 0.3s ease;
}
.article-item:hover{
  scale: 1.02;
}
.article-item img {
  width: 100%;
  height: auto;
  border-radius: 5% 5% 0 0;
}
.article-item a {
  text-decoration: none;
  color: #333;
  transition: 0.3s ease;
}

.article-item a:hover{
  opacity: .7;
}

.article-item a h3:hover{
  text-decoration: underline;
}
.text-wrapper {
  padding: 1.5rem 1rem;
}


#todo {
    margin: 0 20%;
}

.post-date {
  color: var(--base-gray);
}

.text-wrapper * {
  margin-bottom: 1rem;
}


.thumb {
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumb img {
  width: 100%;
  height: 10rem;
  object-fit: cover;
}

.thumb.no-image {
  font-size: 0.9rem;
  color: #666;
  width: 100%;
  height: 10rem;
}


#series {
  margin: 0 10%;
  margin-bottom: 100px;
}


