@media screen and (max-width: 600px) {
  .deck-list-card-sp {
    width: 98%;
    height: 100px;
    padding: 0px;
    margin-bottom: 4px;
    background: #ffffff;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
  }

  .deck-list-card-sp::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: #333;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    z-index: 1;
  }

  .deck-list-card-sp .deck-image,
  .deckimage-mobile {
    margin: 0px 0;
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    z-index: 2;
  }
  .deckimage-mobile {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
    align-self: center;
  }
  .deck-list-card-sp .deck-title-mobile {
    position: absolute;
    left: 105px;
    top: 1px;
    width: 260px;
    font-weight: bold;
    font-size: 18px;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 2;
    text-align: left;
  }
  .deck-list-card-sp .deckdate-mobile {
    display: block;
    margin: 0;
    align-self: center;
  }
  .deck-list-card-sp .deck-date {
    font-size: 0.95em;
    color: #666;
  }
  .deck-list-card-sp .deck-meta {
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  .deck-list-card-sp .like-btn {
    background: none;
    border: none;
    cursor: pointer;
  }
  .deck-list-card-sp .bi-heart-fill {
    color: #e44;
    font-size: 1.2em;
  }
  .deck-list-card-sp .bi-heart {
    color: #aaa;
    font-size: 1.2em;
  }
  .deck-list-card-sp .like-count {
    font-weight: bold;
    color: #333;
  }
  .deck-list-card-sp .deck-views {
    color: #888;
    font-size: 1em;
    margin-left: 10px;
  }
  .deck-meta-mobile {
    position: absolute;
    right: 4px;
    bottom: 2px;
    display: flex;
    align-items: center;
    gap: 0px;
    background: #e3e3e3;
    border-radius: 12px;
    padding: 4px 8px;
    box-shadow: 0 2px 8px #0001;
    z-index: 10;
  }
}
