
/*===============================共通style=================================*/

.check {
    width: 30px;
    min-width: 30px;
}
.title {
    width: 100px;
    min-width: 100px;
}
.btns {
    position: sticky;
    left: 0;
}
table {
    border-collapse: separate;
    border-spacing: 0;
}
#sticky-1 {
    border-top: 1px solid #111934;
    border-right: 1px solid #111934;
    border-left: 1px solid #111934;
    position: sticky;
    left: 0;
    z-index: 10;
    width: 80px;
}

#sticky-2 {
    border-top: 1px solid #111934;
    border-right: 1px solid #111934;
    border-left: 0.5px solid #111934;
    position: sticky;
    left: 38px;
    /* sticky-1のwidth分だけずらす */
    z-index: 9;
    width: 80px;
}

#stickyes1 {
    border-left: 1px solid #111934;
    border-right: 1px solid #111934;
    border-bottom: 1px solid #111934;
    border-top: 1px solid #111934;
    position: sticky;
    left: 0;
    z-index: 10;
    width: 80px;
}

#stickyes2 {
    border-right: 1px solid #111934;
    border-left: 0.5px solid #111934;
    border-bottom: 1px solid #111934;
    border-top: 1px solid #111934;
    position: sticky;
    left: 38px;
    /* sticky-1のwidth分だけずらす */
    z-index: 9;
    width: 80px;
}
.stickyes1{
    border-left: 1px solid #111934;
    border-right: 1px solid #111934;
    border-bottom: 1px solid #111934;
    border-top: 1px solid #111934;
    position: sticky;
    left: 0;
    z-index: 10;
    width: 80px;
}
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #4CAF50; /* 対応ブラウザなら色変更可能 */
  cursor: pointer;
}
/*============================一覧画面style====================================*/

.btns{
    background-color: #dbdbdb;
    display: inline-block;
    border-radius: 20px;
}
#showHome{
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}
#showHome:hover{
    background-color: #bad5fc;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}
#addButton{
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}
#addButton:hover{
    background-color: #5eff63;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}
#retainerList:hover{
    background-color: #c1fae9;
}
#register{
    background-color: #dbdbdb;
    border-radius: 15px;
    margin-left: 10px;
}
#register:hover{
background-color: #4CAF50;
border-radius: 15px;
}

/*============================編集画面style====================================*/
#editHeader{
    position: sticky;
    top: 0;
    background-color: #d3d3d3;
    padding-top: 10px;
    z-index: 15;
}
#updateForm{
display: inline-block;
}

.formInp{
    max-width: 150px;
    border-color: #bdbdbd;
}
.formSpan{
    border-color: #bdbdbd;
}
.formInp.form-select:focus, 
.formInp.form-control:focus {
  background-color: #e6f0ff; /* 薄い青（背景） */
  box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25); /* 青系のフォーカスリング */
  border-color: #0056b3;  /* optional: 枠線の色 */
}
#editHome{
    border-radius: 15px;
}
#editHome:hover{
    background-color: #bad5fc;
    border-radius: 15px;
}
#editList{
    border-radius: 15px;
}
#editList:hover{
    background-color: #aceeff;
    border-radius: 15px;
}
#editUpdate{
    border-radius: 15px;
}
#editUpdate:hover{
    background-color: #4CAF50;
    border-radius: 15px;
}