/*========================================================================================*/
/*====================================一覧画面,新規作成style===============================*/
/*========================================================================================*/

/*=================共通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: 11;
    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: 11;
    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: 11;
    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: 11;
    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: 11;
    width: 80px;
}
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #4CAF50; /* 対応ブラウザなら色変更可能 */
  cursor: pointer;
}
/*=====================一覧画面======================*/
#mainHeader{
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgb(237, 241, 250);
    padding: 1px;
    box-shadow: 0 2px 4px rgb(237, 250, 240);
}
/*---------------------------------検索系*/
#suggestions {
    list-style: none;
    border: 1px solid #ddd;
    max-height: 200px;
    overflow-y: auto;
    background: white;
    width: 100%;
    padding: 0;
}

#suggestList {
    background-color: white;
    color: black;
    padding: 8px;
    cursor: pointer;
    width: 100%;
}

#suggestList:hover {
    background: rgb(0, 78, 194);
    color: white;
}
#suggestions:empty{
    display: none;
}
.suggest{
    z-index: 10;
    display: block;
}
#suggestChild{
    display: flex;
    gap: 5px;
    justify-content: center;
}
/*-----------------------------------------チェックボックス*/
 #searchbox{
    width: 100%;
 }
/*-----------------------------------------ボタン系*/
.action-btn{
    background:#e4e4e4;
    border-radius: 20px;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translate(-120%);
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
#homeBtn{
border-top-left-radius: 20px;
border-bottom-left-radius: 20px;
}
#homeBtn:hover{
background-color: #bad5fc;
border-top-left-radius: 20px;
border-bottom-left-radius: 20px;
}
#deleteBtn{
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}
#deleteBtn:hover{
    background-color: #ff5a5a;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}
#editBtn:hover{
    background-color: #f3fdc4;
}
#newBtn:hover{
    background-color: #defcd6;
}
/*-----------------------------------------画像系*/
.imageWrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 180px; /* 必要に応じて */
}
.otherImage{
    object-fit: contain;
    width: 100%;
    max-height: 180px;
}
/*====================================================================================================*/
/*============================================編集画面=================================================*/
/*====================================================================================================*/
.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: 枠線の色 */
}
#editHeader{
    position: sticky;
    top: 0%;
    background-color: #d3d3d3;
    z-index: 15;
}
#editHome{
    border-radius: 15px;
}
#editHome:hover{
    border-radius: 15px;
    background-color: #bad5fc;
}
#editList{
    border-radius: 15px;
}
#editList:hover{
    border-radius: 15px;
    background-color: #97e5f8;
}
/*=================================================================================================*/
/*=========================================新規作成=================================================*/
/*=================================================================================================*/
#btns{
    background-color: #dbdbdb;
    display: inline-block;
    border-radius: 20px;
}
#newother{
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}
#newother:hover{
    background-color: #c3dfff;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}
.pushBtn{
    border-radius: 20px;
}
.pushBtn:hover{
    border-radius: 20px;
    background-color: #45fa5d;
}
#newHome{
    border-radius: 20px;
}
#newHome:hover{
    border-radius: 20px;
    background-color: #0084ff;
}
#register{
    border-radius: 20px;
}
#register:hover{
    background-color: #00a030;
    border-radius: 20px;
}
#otherList{
    border-radius: 20px;
}
#otherList:hover{
    border-radius: 20px;
    background-color: #bad5fc;
}
/*==================================================================================================*/
/*=============================================詳細==================================================*/
/*==================================================================================================*/
#showHome{
    border-radius: 15px;
}
#showHome:hover{
    border-radius: 15px;
    background-color: #bad5fc;
}
#showList{
    border-radius: 15px;
}
#showList:hover{
    border-radius: 15px;
    background-color: #97e5f8;
}
.showOtherImage{
    background-color: rgb(142, 178, 233);
    object-fit: contain;
    width: 100%;
    max-height: 250px;
}
.showImageWrapper{
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 1%;
  height: 250px;
}
#showOtherImage{
    padding-top: 1%;
}