/* スケルトンの基本スタイル */
.skeleton {
    background-color: #e0e0e0;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

/* 光が流れるアニメーション */
.skeleton::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* カードの各要素に合わせた高さ設定 */
.skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: 10px;
}
.skeleton-text {
    height: 16px;
    width: 80%;
    margin-bottom: 8px;
}
.skeleton-badge {
    height: 20px;
    width: 40px;
    display: inline-block;
    margin-right: 5px;
}
