@charset "utf-8";

/* タブメニュー（グリッドレイアウト） */
.bukai-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* スマホ：2列 */
    gap: 5px;
    margin-bottom: 30px;
    border-bottom: 2px solid #0056b3;
}

/* PC表示：5列にする（10個なのでちょうど2行） */
@media (min-width: 768px) {
    .bukai-tabs {
        grid-template-columns: repeat(5, 1fr);
    }
}

.bukai-tab-btn {
    padding: 10px 5px;
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    font-weight: bold;
    color: #666;
    transition: all 0.3s;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
}
.bukai-tab-btn:hover {
    background: #eef6fc;
    color: #0056b3;
}
.bukai-tab-btn.active {
    background: #0056b3;
    color: #fff;
    border-color: #0056b3;
}

/* タブコンテンツ */
.bukai-content {
    display: none;
    animation: fadeIn 0.5s ease;
}
.bukai-content.active {
    display: block;
}

/* 会員リスト（グリッド表示） */
.member-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}
.member-link {
    display: block;
    padding: 15px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.member-link:hover {
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: #0056b3;
}
.member-link i {
    color: #ccc;
    font-size: 14px;
}

/* 下部の余白用スペーサー */
.spacer-lg {
    height: 80px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}