/*
Theme Name:yStandard
Theme URI: https://wp-ystandard.com
Author: yosiakatsuki
Author URI: https://yosiakatsuki.net
Description:「自分色に染めた、自分だけのサイトを作る楽しさ」を感じてもらうために作った一風変わったWordPressテーマ
Version: 4.54.3
Requires at least: 6.1
Requires PHP: 7.4.0
Text Domain: ystandard
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/**
 * yStandardではテーマ本体のstyle.css編集は推奨していません。外観→カスタマイズの追加CSSをご利用ください。
 * 子テーマを使っている場合は子テーマのstyle.cssが読み込まれ、このファイルは無視されます。
 */

/* 月間スケジュールテーブル */
.am-monthly-schedule {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    margin-bottom: 30px;
}

/* ヘッダー行 */
.am-monthly-schedule thead tr {
    background-color: #f8f8f8;
}

.am-monthly-schedule th, .am-monthly-schedule td {
    border: 1px solid #ddd;
    padding: 8px;
    vertical-align: top;
}

/* 日付セル */
.am-monthly-schedule td:first-child {
    width: 100px;
    font-weight: bold;
    background-color: #fafafa;
}

/* スタッフリスト */
.am-monthly-schedule ul {
    list-style: none;  /* 点を消す */
    margin: 0;
    padding: 0;
}

.am-monthly-schedule ul li {
    padding: 2px 0;
    line-height: 1.4;
}

/* 勤務時間 */
.am-monthly-schedule .time-label {
    color: #555;
    font-size: 0.9em;
    margin-left: 3px;
}

/* マウスオーバーで背景色変化 */
.am-monthly-schedule tr:hover td {
    background-color: #f0f8ff;
}

table.attmgr_admin_scheduler {
    display: block;
    position: relative;
    overflow: scroll;
    height: 600px;
}
table.attmgr_admin_scheduler tbody tr:first-child th {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: #eee;
}