/*===============================================================================================*/
/*===========================================一覧、詳細style==============================================*/
/*===============================================================================================*/

/*===============================共通=================================*/
.check {
    width: 30px;
    min-width: 30px;
}
.title {
    width: 100px;
    min-width: 100px;
}
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #4CAF50; /* 対応ブラウザなら色変更可能 */
  cursor: pointer;
}
/*==============================一覧画面style==================================*/
/*---------------------------検索系*/
#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;
}
#suggestChild{
    display: flex;
    gap: 5px;
    justify-content: center;
}
.suggest{
    z-index: 10;
    display: block;
}
/*-----------------------------------チェックボックス*/
 #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;
}
/*-----------------------------------ヘッダー*/
#mainHeader{
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgb(237, 250, 240);
    padding: 1px;
    box-shadow: 0 2px 4px rgb(237, 250, 240);
}
/*------------------------------------画像関係*/
.imageWrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 180px; /* 必要に応じて */
}
.retainerImage{
    object-fit: contain;
    width: 100%;
    max-height: 180px;
}
/*========================================詳細===========================================*/
#showHome{
    border-radius: 15px;
}
#showHome:hover{
    border-radius: 15px;
    background-color: #bad5fc;
}
#showList{
    border-radius: 15px;
}
#showList:hover{
    border-radius: 15px;
    background-color: #bafdff;
}
.showRetainerImage{
    background-color: rgb(142, 178, 233);
    object-fit: contain;
    width: 100%;
    max-height: 250px;
}
.shouImageWrapper{
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 1%;
  height: 250px;
}
#showRetainerImage{
    padding-top: 1%;
}