@import url('Common.css');
@import url('Spinner.css');/*StaffChangeで必要*/
@import url('Progress.css');/*StaffChangeで必要*/

#target {
 width: 100%;
}
#target table {
 width: 27.4rem;	
 border-collapse: collapse;	
 border: 1px solid rgb(85, 85, 85);	
 margin: 10px 3%;	
 table-layout: fixed;
 background-color: #FCFCFC;
 /* width: 100%; テーブル全体の幅を100%に設定 */
 table-layout: fixed; 	
}
th {
 border: 1px solid rgb(85, 85, 85);	
 text-align: center;	
 background-color: rgb(255, 238, 252);	
 color: rgb(51, 51, 51);	
 height: 2rem;	
 width: 3rem;	
 padding: 0px;	
 font-weight: normal;	
}
#table-gijutsu tbody th {
    background: linear-gradient(135deg, #F0FFF0 90%, var(--accent-color) 90%);
}
#table-setsubi tbody th {
    background: linear-gradient(135deg, #F0FFF0 90%, var(--accent-color) 90%);
}
.th-no {
    width: 10%;
}
.th-content {
    width: 80%;
}
.th-color-number {
    width: 50%;
}
.th-delete {
    width: 10%;
}
td {
 border: 1px solid rgb(100, 100, 100);	
 height: 2rem;	
 width: 3rem;	
 line-height: 2rem;	
 padding: 0 !important;
}
td input {
    padding: 0px 1rem;
    background: transparent;
}   	
.type2 {
    height: 100%;
    width: 100%;
    border: none;
    font-size: 1rem;
}

td.td-delete {
    text-align: center;
    padding: 0;
}
.gidelete, .sedelete {
    margin: 0;
    padding: 0;
    vertical-align: middle;
    text-align: center;
}
.stdelete {
    display: block;/*こうすることでうまく中央配置になった。 */
    margin: 0 auto;
    padding: 0;
}
.square {
 display: inline-block;	
 background-color: rgb(51, 68, 255);	
 width: 1rem;	
 height: 1rem;	
}
table {
    counter-reset: th-counter;
}

th.Num::before {
    counter-increment: th-counter;
    content: counter(th-counter);
}
.SP {
    display: none;
}
.staff-palette-container {
    position: relative;
  }

.color-palette {
    display: flex;
    position: absolute;
    right: 0.5rem;
    top: 0;
    gap: 0.5rem;
    flex-direction: row;
    flex-wrap: wrap;
    width: 8rem;
} 
.color {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 1px #CCC solid;
    cursor: pointer;
}
form {
    margin-bottom: 200px;
}
@media screen and (max-width: 767px) {

    #target {
        width: 100%;
    }
    #target table {
        width: 100%;
    }
    .color-palette {
        display: flex;
        position: static;
        margin-left: 3%;
        gap: 0.5rem;
        flex-direction: row;
        flex-wrap: wrap;
        width: 94%;
        margin-bottom: 10px;
    }
    th.wid0 {
        width: 8%;
    } 
    th.wid1 {
        width: 35%;
    } 
    th.wid5 {
        width: 47%;
    } 
    td.wid4 {
        width: 10%;
        text-align: center;
    } 
    td.wid2 {
        width: 35%;
    } 
    td.wid3 {
        width: 15%;
    } 

}

