/* 研究室一覧のベースレイアウト */
.research-list-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
    gap: 24px;
    padding: 0;
    margin: 0;
}

/* 研究室カード */
.research-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border: 1px solid var(--baseblack-200);
    border-radius: 8px;
    background-color: var(--basewhite);
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.research-card:has(.research-card-link):hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* 研究室カードコンテンツ */
.research-card-content {
    flex-grow: 1;
    padding: 12px 16px 24px;
    display: flex;
    gap: 12px;
    flex-direction: column;
    align-items: center;
}

.research-card-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

/* 研究室の画像 */
.research-card-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0;
    flex-shrink: 0;
}

.research-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.research-card-image img:hover {
    opacity: 1;
}


/* 研究室タイトル */
.research-card-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.research-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--baseblack-800);
    margin: 0;
}

/* 研究者名 */
.research-card-researcher {
    font-size: 12px;
    letter-spacing: 0.03em;
    line-height: 1.5;
    color: var(--baseblack-800);
    font-weight: 400;
    margin: 0;
}

/* キーワード */
.research-card-keywords-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--baseblack-600);
}

.research-card-keywords-title {
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
    display: flex;
    gap: 8px;
    align-items: center;
    white-space: nowrap;
    letter-spacing: 0.03em;
    font-weight: 400;
}

.research-list-container--en .research-card-keywords-title-text::before {
    content: 'Keywords';
}

.research-card-keywords-title-text::before {
    content: 'キーワード';
}

.research-card-keywords-title::before,
.research-card-keywords-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--baseblack-600);
}

.research-card-keywords {
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0.03em;
    font-weight: 500;
    margin: 0;

}

/* セクション見出し */
.research-section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
    color: #333;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .research-list-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .research-card-content {
        padding: 16px 16px 16px 12px;
        flex-direction: row;
    }

    .research-card-image {
        width: 84px;
        height: 84px;
    }

    .research-card-info {
        width: 100%;
        gap: 6px;
    }

    .research-card-keywords {
        font-size: 12px;
    }
}

/* タブレット対応 */
@media (max-width: 960px) and (min-width: 769px) {
    .research-list-container {
        grid-template-columns: repeat(2, 1fr);
    }
} 
