@charset "UTF-8";

/* ////////////////////////////////////////////////////////////
 * 薬剤師 シフト表
//////////////////////////////////////////////////////////// */
body {
    font-family: -apple-system, BlinkMacSystemFont, "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3",
        "Hiragino Kaku Gothic Pro", "游ゴシック体", "Yu Gothic", YuGothic, sans-serif;
    font-size: 14px;
}



.shift-schedule {
    max-width: 100%;
    overflow-x: auto;
    margin: 15px 0;
    font-family: "メイリオ", Meiryo, sans-serif;
}

.shift-inner {
    min-width: 900px;
    margin: 0 auto;
}

.shift-title {
    font-weight: bold;
    margin: 0 auto 0.5em auto;
    /* ← ブロックを中央寄せ */
    min-width: 900px;
    text-align: left;
    /* ← テキストは左寄せ */
}

.shift-table {
    border-collapse: collapse;
    min-width: 900px;
    width: max-content;
    margin: 0 auto;
    margin-bottom: 1em;
}

.shift-table-wrapper {
    overflow-x: auto;
    width: 100%;
    min-width: 900px;
}

.shift-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.shift-table th,
.shift-table td {
    border: 1px solid #ccc;
    padding: 0.5em;
    text-align: center;
    white-space: nowrap;
}

.shift-table th {
    background-color: #f0f0f0;
    font-weight: bold;
}

.shift-table .week-label {
    background-color: #ffeaea;
    font-weight: normal;
    text-align: left;
}

.shift-table .week-label-cell {
    text-align: center;
    font-weight: bold;
    background-color: #ffd1d1;
}

.shift-table .weekend {
    background-color: #ffe4e1;
}



/* スマホ用スクロール補助 */
@media screen and (max-width: 768px) {
    .shift-schedule {
        overflow-x: auto;
    }

    .shift-table {
        font-size: 0.85em;
    }
}