.sp_flex{
    display: flex;
}

.flex1{
    flex: 1;
}

.flex_ttl{
    display: flex;
    gap: 100px;
    margin-left: 100px;
}

.font25{
    font-size: 25px;
}

.sp_upload{
    width: 40%;
    margin-left: 30px;
    margin-bottom: 30px;
    padding: 30px 50px 30px 50px;
    border: 2px solid #82ae46;
    border-radius: 10px;
}

.entry_spBtn_upload{
    width: 200px;
    padding: 5px 10px 5px 10px;
    background: #c1d8ac;
    border: 2px solid #82ae46;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    -webkit-appearance: none;
    cursor: pointer;
}

.entry_spBtn_upload:hover{
    opacity: .6;
}

.history_spBtn{
    width: 150px;
    margin-top: 0;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 10px;
    background: rgba(253, 222, 165, .5);
    border: 2px solid rgba(253, 222, 165, .8);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    -webkit-appearance: none;
    cursor: pointer;
}

.history_spBtn:hover{
    opacity: .7;
}

.entry_spBtns{
    margin-left: 30px;
}

.entry_spBtns .entry_spBtn{
    width: 150px;
    margin-top: 0;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 10px;
    background: rgba(238, 130, 124, .5);
    border: 2px solid rgba(238, 130, 124, .5);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    -webkit-appearance: none;
    cursor: pointer;
}

.entry_spBtns .entry_spBtn:hover{
    opacity: .7;
}

.admin_spBtn{
    width: 200px;
    background: rgba(255, 215, 0, .3);
    border: 2px solid #ffd700;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}

.admin_spBtn:hover{
    opacity: .6;
}

.sp_sel_btn{
    background: rgba(238, 130, 124, .9);
    font-size: 0.7em;
    color: #fff;
    padding: 4px 5px 3px 4px;
    margin-left: 1em;
    border-radius: 3px;
    cursor: pointer;
}

.sp_sel_btn:hover{
    opacity: .6;
}

.entry_spBook{
    margin-left:30px;
    margin-bottom: 30px;
    border: 2px solid rgba(238, 130, 124, .5);
    border-collapse: collapse;
}

.entry_spBook th,
.entry_spBook td{
    padding: 5px 10px;
    border: 1px solid rgba(238, 130, 124, .2);
}

.entry_spBook th{
    width: 10rem;
    background-color: rgba(238, 130, 124, .2);
    padding-right: 30px;
    text-align: right;
}

.type_hidden{
    display: block;
    padding:  5px 10px;
    box-sizing: border-box;
    font-size: 1rem;
}

.entry_spBook input[type="text"],
.entry_spBook textarea{
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 1rem;
}

.tableWrapper{
    width: 700px;
    height: 600px;
    overflow: auto;
    margin: 0 auto;
}

.select_table{
/*    width: 700px;*/
    table-layout: fixed;
    border-collapse: collapse;
}

.select_table .sel1{
    width: 40px;
    padding: 10px;
    border: 1px solid #ccc;
}

.select_table .sel2{
    width: 80px;
    padding: 10px;
    border: 1px solid #ccc;
}

.select_table .sel3{
    width: 300px;
    padding: 15px;
    border: 1px solid #ccc;
}

.select_table .sel4{
    width: 280px;
    padding: 15px;
    border: 1px solid #ccc;
}

.select_table thead .sel1{
    position: sticky;
    top: 0;
    z-index: 1;
    background: rgba(193, 216, 172, .7);
}

.select_table thead th{
    position: sticky;
    top: 0;
    z-index: 1;
    background: rgba(193, 216, 172, .7);
}

.select_table thead th:first-child{ 
    top: 0;
    left: 0; 
    z-index: 2;
}

.select_table tbody th{
    position: sticky; 
    left: 0; 
    background: rgba(193, 216, 172, .3);
}

.select_table tbody th.yellow{
    background: rgba(253, 222, 165, .3);
}

.select_book{
    margin-top: 50px;
    margin-left: 150px;
}

.select_book_height{
    height: 4rem;
}

.secret_book{
    margin-left: 150px;
}

.list_spTable{
    width:100%;
    margin-top: 10px;
}

.list_spTable ul{
    display:flex;
    flex-wrap:wrap;
    list-style: none;
    margin:0;
    padding-left: 0px;
}

.list_spTable li{
    box-sizing:border-box;
    padding:10px;
}

.list_spTable ul:first-child li{
    font-weight:bold;
    text-align:center;
    padding:10px 0px;
    color:#fff;
    background:#df8c91;
}

.list_spTable ul:nth-child(even) li{
    background: rgba(224, 140, 146, .2);
}

.list_spTable li:first-child {width: 10%;}
.list_spTable li:nth-child(2) {width: 20%;}
.list_spTable li:nth-child(3) {width: 45%;}
.list_spTable li:last-child {width: 25%;}

/** TOP モーダル 秘密の本の画像 **/
.sp_card_imgWrapper{
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.sp_card_imgWrapper > img{
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}
