.post-list {
  display: grid;
  grid-template-columns: 1fr; /* デフォルトは1カラム（スマホなど） */
  gap: 15px;
}

.post-item {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 2px 2px 5px #eee;
}

.post-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.post-title {
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9em;
  color: #777;
  margin-top: 10px;
  flex-wrap: wrap;
}

.post-date {
  white-space: nowrap;
}

.site-info a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #007bff;
  white-space: nowrap;
}

.site-favicon {
  margin-right: 5px;
}

.site-favicon img {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.site-name {}

/* タブレット以上の画面 */
@media (min-width: 600px) {
  .post-list {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); /* 最小幅400pxで自動カラム配置 */
  }
}

/* PCなどのより広い画面 */
@media (min-width: 960px) {
  .post-list {
    grid-template-columns: 1fr; /* PCでも基本は1カラムのグリッドを維持 */
    max-width: 1000px;
    margin: auto;
  }

  .post-item {
    display: grid;
    grid-template-columns: 3fr auto auto; /* タイトル、日付、サイト情報で列を分割 */
    grid-template-rows: auto;
    gap: 10px;
    align-items: center;
    padding: 10px 15px;
  }

  .post-meta {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-top: 0;
    flex-wrap: nowrap;
  }
}
