/* ARAIYU_ARCHIVE_IMAGE_CARDS_20261104
   /writer/ で登録した SNS カード画像を /blog/ の記事一覧へ表示します。
   CSS は画像付きカードだけに作用し、画像未登録の記事には影響しません。 */
.post-list .post-card .post-cover-link {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 20px 0 18px;
  border-radius: 12px;
  border: 1px solid #dce5f2;
  background: #eef3fa;
  line-height: 0;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(37, 99, 235, .15);
}
.post-list .post-card .post-cover-image {
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 630;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  transition: transform .22s ease;
}
.post-list .post-card .post-cover-link:hover .post-cover-image {
  transform: scale(1.015);
}
.post-list .post-card .post-cover-link:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}
.post-list .post-card:has(.post-cover-link) h3 {
  max-width: 100%;
  margin-top: 4px;
}
.post-list .post-card:has(.post-cover-link) .post-index {
  position: absolute;
  top: 26px;
  right: 28px;
  font-size: clamp(28px, 3.5vw, 40px);
  pointer-events: none;
}
@media (max-width: 700px) {
  .post-list .post-card .post-cover-link {
    margin: 16px 0;
    border-radius: 9px;
  }
  .post-list .post-card:has(.post-cover-link) .post-index {
    top: 19px;
    right: 18px;
    font-size: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .post-list .post-card .post-cover-image { transition: none; }
}

/* iPadの記事概要をカード幅いっぱいに表示 */
.post-list .post-card:has(.post-cover-link) .post-summary {
  width: 100%;
  max-width: none;
  min-width: 0;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

