/* =========================================================
   AIカテゴリ セクション
   ========================================================= */
.aind-cat {
    margin-top: 48px;
}

.aind-cat__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d1d5db;
}

.aind-cat__heading {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.aind-cat__more {
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    white-space: nowrap;
}

.aind-cat__more:hover {
    color: #2563eb;
}

/* 3列グリッド */
.aind-cat__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #e5e7eb;
    border: 1px solid #e5e7eb;
}

/* 各カード */
.aind-cat__card {
    background: #fff;
    display: flex;
    flex-direction: column;
}

/* ヘッダー */
.aind-cat__card-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 14px 16px 8px;
}

.aind-cat__card-name {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    text-decoration: none;
}

.aind-cat__card-name:hover {
    color: #2563eb;
}

.aind-cat__card-count {
    font-size: 11px;
    color: #94a3b8;
}

/* 記事エリア */
.aind-cat__card-body {
    padding: 0 16px 6px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* 各記事 */
.aind-cat__article {
    display: flex;
    gap: 10px;
    text-decoration: none;
    padding: 6px 0;
    border-bottom: 1px solid #f3f4f6;
}

.aind-cat__article:last-child {
    border-bottom: none;
}

.aind-cat__article:hover .aind-cat__article-title {
    color: #2563eb;
}

/* サムネイル */
.aind-cat__article-thumb {
    width: 96px;
    aspect-ratio: 1200 / 630;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
}

/* テキスト */
.aind-cat__article-text {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
}

.aind-cat__article-title {
    font-size: 12.5px;
    font-weight: 500;
    color: #374151;
    line-height: 1.5;
    transition: color 0.15s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 空状態 */
.aind-cat__empty {
    padding: 16px 0;
    color: #cbd5e1;
    font-size: 12px;
    text-align: center;
    margin: 0;
}

/* もっと見る */
.aind-cat__card-more {
    display: block;
    text-align: right;
    padding: 8px 16px;
    font-size: 11px;
    color: #64748b;
    text-decoration: none;
}

.aind-cat__card-more:hover {
    color: #2563eb;
}

/* 9枠目：すべてのカテゴリを見る */
.aind-cat__card--more {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #fff;
}

.aind-cat__more-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    padding: 8px 18px;
    border: 1px solid #e5e7eb;
    transition: all 0.15s;
}

.aind-cat__more-label::after {
    content: '→';
    font-size: 12px;
    transition: transform 0.15s;
}

.aind-cat__card--more:hover .aind-cat__more-label {
    color: #2563eb;
    border-color: #2563eb;
}

.aind-cat__card--more:hover .aind-cat__more-label::after {
    transform: translateX(2px);
}

