body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    background-color: #f4f7f6;
    color: #333;
}

/* ログイン画面 */
#login-screen {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #2c3e50;
    color: white;
    text-align: center;
}

.login-container input {
    padding: 10px;
    font-size: 16px;
    border-radius: 4px;
    border: none;
    margin-right: 10px;
}

.login-container button {
    padding: 10px 20px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* メインコンテンツ */
header {
    background-color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* メンバーカード */
.member-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.member-card:hover {
    transform: translateY(-5px);
}

.photo-frame img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #eee;
}

.member-card h2 {
    margin: 15px 0 10px;
    font-size: 1.2rem;
}

.member-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* タブメニューのスタイル */
.tab-menu {
    display: flex;
    justify-content: center;
    background: #fff;
    padding: 10px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    color: #27ae60;
    border-bottom: 3px solid #27ae60;
    font-weight: bold;
}

/* 記事ページ風の装飾 */
.article-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    line-height: 1.8;
}

.video-wrapper video, .responsive-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}
/* タブ内のメインタイトル（h1）を中央揃えにする */
.tab-content h1 {
    text-align: center;
    width: 100%;       /* 親要素の幅いっぱいに広げる */
    margin-left: auto;
    margin-right: auto;
    display: block;    /* ブロック要素として確実に認識させる */
}
/* 検索エリアのスタイル */
.member-controls {
    text-align: center;
    margin-bottom: 30px;
}

#member-search {
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid #ccc;
    width: 250px;
    margin-right: 15px;
}

/* スタッフバッジ */
.staff-badge {
    position: absolute;
    background: #e74c3c;
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.photo-frame { position: relative; } /* バッジ配置用 */

/* スタッフカードの枠線を強調 */
.card-staff {
    border: 2px solid #e74c3c !important;
}
