/* ============================================
   神経免疫疾患センター 専用スタイル
   対象ページ: sinkeimeneki/index.html
   依存: bootstrap-4.4.1.css, column.css
   ============================================ */

/* --- 1. 共通変数 --- */
:root {
    --center-theme-color: #1a7191;
    --center-bg-light: #f8f9fa;
    --border-dot: 1px dotted #ccc;
}


/* --- 2. 組織図カードシステム --- */
.center-org-container {
    color: #333;
}

.org-section {
    background-color: var(--center-bg-light);
    border-radius: 8px;
    padding: 40px 30px;
    margin-bottom: 30px;
}

.org-card {
    background: #fff;
    border: none;
    border-left: 5px solid var(--center-theme-color) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-decoration: none !important;
    color: inherit !important;
    height: 100%;
}

.org-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}

.leader-card {
    max-width: 400px;
    margin: 0 auto 30px;
}

.org-card h3 {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--center-theme-color);
    margin-bottom: 8px;
}

.connector-line {
    width: 2px;
    height: 30px;
    background-color: #dee2e6;
    margin: -30px auto 20px;
}


/* --- 3. 疾患リスト --- */
.custom-list-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: var(--border-dot);
    font-size: 1.1rem;
}

.custom-list-item:first-child {
    border-top: var(--border-dot);
}


/* --- 4. お知らせ・動画リスト --- */
.news-list-item {
    display: flex;
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-decoration: none !important;
    color: inherit !important;
    transition: background 0.2s;
    align-items: center;
}

.news-list-item:hover {
    background-color: #f0f7f9;
}

.news-title {
    font-weight: bold;
    font-size: 1rem;
    margin-top: 2px;
    line-height: 1.4;
}


/* --- 5. 組織図・お知らせ スマホ最適化 --- */
@media (max-width: 767px) {

    .org-section {
        padding: 20px 12px;
    }

    .org-section .row {
        margin-left: 0;
        margin-right: 0;
    }

    .org-section .col-md-6 {
        padding-left: 0;
        padding-right: 0;
    }

    .leader-card {
        max-width: 100%;
        margin-bottom: 0;
        padding: 12px 16px !important;
    }

    .connector-line {
        height: 12px;
        margin: 0 auto 8px;
    }

    .org-card.p-4 {
        padding: 14px !important;
    }

    .org-card h3.h5 {
        font-size: 0.95rem;
        margin-bottom: 8px !important;
    }

    .member-name {
        font-size: 0.9rem;
    }

    .org-section > p.small {
        font-size: 0.75rem;
        text-align: center;
        padding: 0 10px;
    }

    .news-list-item {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* --- 6. 医師プロフィール --- */
 
/* リスト共通 */
.staff-list {
    line-height: 2;
}
 
.staff-list li {
    border-bottom: 1px dotted #ddd;
    padding: 4px 0;
}
 
.staff-list li:last-child {
    border-bottom: none;
}
 
/* 年号を固定幅で縦揃え */
.staff-year {
    display: inline-block;
    min-width: 4.5em;
    color: #888;
    font-size: 0.9rem;
	font-weight: normal;
}