
.work-card {
    margin-bottom: 20px;
}
/* PCでは3列レイアウト */
.work-grid {
    display: flex;
    flex-wrap: wrap; /* はみ出た場合に折り返す */
    gap: 20px; /* カード間の余白 */
    justify-content: space-between;
}

/* 各カードの幅を調整（3列レイアウト） */
.work-card {
    width: calc(33.333% - 20px); /* 3列に均等配置 */
}

/* スマホ対応（1列表示） */
@media screen and (max-width: 768px) {
    .work-card {
        width: 100%; /* スマホでは1列表示 */
    }
}
.work-card .description {
    overflow: hidden;
    max-height: 250px; /* 初期は10行分の高さ */
    transition: max-height 0.3s ease-in-out;
    position: relative;
}

/* 続きを読むボタンのスタイル */
.read-more {
    display: none; /* JavaScriptで制御 */
    text-align: right;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;

    /* グラデーションの適用 */
    background: linear-gradient(90deg, #4a32dc 80%, #8d44b9 90%, #c2579f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
h1 {
    background: linear-gradient(90deg, #4a32dc 50%, #8d44b9 80%, #c2579f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}
