/* =========================================================
   AI用語辞典セクション
   ========================================================= */
.aind-glossary {
    margin-top: 48px;
}

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

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

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

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

/* 五十音フィルター */
.aind-glossary__index {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.aind-glossary__index-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 32px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    border-radius: 2px;
    transition: all 0.15s;
}

.aind-glossary__index-item:hover {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
}

.aind-glossary__index-item.is-empty {
    color: #d1d5db;
    border-color: #f3f4f6;
    pointer-events: none;
}

/* 行グループ */
.aind-glossary__group {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
}

.aind-glossary__group-label {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    flex-shrink: 0;
    width: 20px;
}

/* タグチップ：横スクロール */
.aind-glossary__tags {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.aind-glossary__tags::-webkit-scrollbar {
    display: none;
}

.aind-glossary__tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12.5px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    border-radius: 2px;
    white-space: nowrap;
    transition: all 0.15s;
}

.aind-glossary__tag:hover {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
}
