@charset "shift_jis";

:root {
    --acc: #005fbd;
    --acc2:#7faedd;
    --acc3:#d8ebfd;
    --sei: #008000;
    --chihou: #000080;
    --sanjyo: #663;
}
/* ===== 会員名簿専用スタイル ===== */

.member-nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1em;
}

.member-date {
    white-space: nowrap;
}

.member-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.member-date,
.member-note {
    font-size: 0.9em;
    margin: 0;
    text-align: right;
}

/* テーブル全体 */
.member-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

/* titleBar */
#sei h3.titleBar {
    background-color: #fff;
    border-left: 4px solid var(--sei);
    color: var(--sei);
}
#chihou h3.titleBar {
    background-color: #fff;
    border-left: 4px solid var(--chihou);
    color: var(--chihou);
}
#sanjyo h3.titleBar {
    background-color: #fff;
    border-left: 4px solid var(--sanjyo);
    color: var(--sanjyo);
}
 
/* ヘッダー行 */
.member-table thead th {
    color: #fff;
    padding: 6px 10px;
    text-align: center;
    font-weight: bold;
}
#sei .member-table thead th {
    background-color: var(--sei);
    border: 1px solid var(--sei);
}
#chihou .member-table thead th {
    background-color: var(--chihou);
    border: 1px solid var(--chihou);
}
#sanjyo .member-table thead th {
    background-color: var(--sanjyo);
    border: 1px solid var(--sanjyo);
}

/* データ行 */
.member-table tbody td {
    border: 1px solid #ccc;
    padding: 4px 8px;
    vertical-align: middle;
    text-align: left;
    font-size: 0.9em;
}

/* 会社名列 */
.member-table tbody td:first-child {
    width: 22%;
    word-break: break-all;
}

/* 所在地列 */
.member-table tbody td:nth-child(2) {
    width: 52%;
}

/* 電話列 */
.member-table tbody td:last-child,
.col-tel {
    width: 18%;
    text-align: center;
    white-space: nowrap;
}

/* 地方会員の地区列 */
.col-area {
    width: 5%;
    text-align: center;
    white-space: nowrap;
}

.area-label {
    background-color: #efefef;
    text-align: center;
    font-size: 0.85em;
    vertical-align: middle;
}

/* 横スクロール */




@media (max-width: 768px) {

    .table-scroll {
        width: 100%;
        overflow-x: scroll;
    }

    .member-table {
        width: auto;
        min-width: 100%;
    }

    .member-table tbody td:first-child {
        text-wrap: nowrap;
        white-space: nowrap;
    }

}