/****************************/
/* 共通css                  */
/****************************/
/*  Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Meiryo', sans-serif;
}

#h1 {
    margin: 0; /* タイトルのマージンをリセット */
    font-size: 16px;
    text-align: center;
}

#h2 {
    margin: 0; /* タイトルのマージンをリセット */
    font-size: 16px;
    text-align: center;
}

.header-item-left {
    text-align: left;
}

.header-item-right {
    text-align: right;
}

.header-item-center {
    text-align: center;
}

#p-left{
    font-size: 12pt;
    text-align: left;
}

#p-center{
    font-size: 12pt;
    text-align: center;
}

#p-right{
    font-size: 12pt;
    text-align: right;
}

label{
    font-size: 12px;
}

/*  BODY */
body {
    font-family: 'Meiryo', sans-serif;
}
/*  ログインフォーム */
.input-form {
    background-color: white;
    padding: 20px;
    border: 1px solid black;
    border-radius: 8px;    /* 面取り効果 */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%; /* フォームを全体の幅に広げる */
    max-width: 400px; /* フォームの最大幅 */
    margin: 0 auto; /* 水平方向に中央寄せ */
    text-align: center; /* フォーム内のテキストを左寄せ */
    font-size: 16px;
}
/*  ボタン設定 */
.form button {
    padding: 10px 20px;
    font-size: 12px;
    background-color: blue;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/*  ボタン設定（ホバー時） */
.form button:hover {
    background-color: #45a049;
}

/*  入力領域設定 */
.login-form input[type="text"],
.login-form input[type="password"] {
    font-size: 14px;
    width: calc(100% - 150px); /* ボーダーを考慮して幅を調整 */
    padding: 5px;
    margin-bottom: 1px;
    border: 1px solid white;
    border-radius: 4px;
}
.td-0{
    width: 100%;
    border-collapse: collapse;
    margin: 50px auto; 
    max-width: 800px;
    padding: 10px;
    border-top   : none; 
    border-bottom: none; 
    border-left  : none; 
    border-right : none; 
}
.td-1{
    padding: 10px;
    text-align: left;
    border-top   : 1px solid black; 
    border-bottom: 1px solid black; 
    border-left  : 1px solid black; 
    border-right : 1px solid black; 
}
.td-2{
    padding: 10px;
    text-align: left;
    border-top   : none; /* 下線を消す */
    border-bottom: none; /* 下線を消す */
    border-left  : 1px solid black; 
    border-right : 1px solid black; 
}
.td-3{
    padding: 10px;
    text-align: left;
    border-top   : none; /* 下線を消す */
    border-bottom: 1px solid black; 
    border-left  : 1px solid black; 
    border-right : none solid black; 
}

.button-left {
    border: none; /* ボタンの罫線を消す */
    background: none; /* 必要に応じて背景色も消す */
    cursor: pointer; /* ホバー時にポインターを表示 */
    padding: 0; /* 余白を調整 */
    text-align:left;
}

.button-right {
    border: none; /* ボタンの罫線を消す */
    background: none; /* 必要に応じて背景色も消す */
    cursor: pointer; /* ホバー時にポインターを表示 */
    padding: 0; /* 余白を調整 */
    text-align:right;
}


table{
    width: 100%;
    border-collapse: collapse;
    margin: 50px auto; 
    max-width: 1000px;
}
.table2{
    width: 100%;
    border-collapse: collapse;
    border: none;
    margin: 50px auto; 
    max-width: 1000px;
}

.table th{
    font-size: 14px;
    border: 1px solid #dddddd;
    text-align: center;
    padding: 10px;
}
.table td{
    font-size: 14px;
    border: 1px solid #dddddd;
    text-align: center;
    padding: 10px;
}

.tableheader-item-center{
    font-size: 14px;    
    text-align: center;
    background-color: lightblue;
}
.tableheader-item-left{
    font-size: 14px;    
    text-align: left;
    background-color: lightblue;
}

.companyid{
    width: 60px;
}
.userid{
    width: 60px;
}

.email,
.companyname{
    width: 300px;
}
 
.username , 
.staffname{
    width: 300px;
}

.time-period{
    background-color: white;
    font-weight: bold;
}

/*  名前をホバーしたら任意カーソルにクリックボタンを変更 */
#username:hover{
    cursor: pointer; 
}

#time-period:hover{
    cursor: pointer; 
}

/* 小さな画面（スマートフォンなど）のためのスタイル */
@media (max-width: 600px) {
    .navbar {
        display: none;
    }
}

/* 大きな画面（タブレット、デスクトップなど）のためのスタイル */
@media (min-width: 601px) {
    .sidebar {
        display: block;
    }
}

#myBtn {
    display: none; /* 初期状態では非表示 */
    position: fixed; /* 画面の右下に固定 */
    bottom: 20px;
    right: 30px;
    z-index: 99; /* 他の要素より手前に表示 */
    border: none;
    outline: none;
    background-color: #007bff; /* ボタンの背景色 */
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px; /* 角丸 */
  }
  
#myBtn:hover {
    background-color: #555; /* マウスオーバー時の背景色 */
}

.user-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.user-row span { 
    margin-right: 10px;
}
.user-row input[type="button"] {
    cursor: pointer;
}
  