/* 汎用スタイル */

.us{
    all: unset;
}
body{
    background-color: #EFEFEF;
}
.h30{
    height: 30px;
}
.h100{
    height: 100%;
}
.h200{
    height: 200px;
}
.h400{
    height: 400px;
}
.h750{
    height: 750px;
}
.w200px{
    width: 200px;
}
.h655{
    height: 655px;
}
.w500{
    width: 500px;
}
.w100{
    width: 100%;
}
.w90{
    width: 90%;
}
.w80{
    width: 80%;
}
.w50{
    width: 50%;
}
.w100px{
    width: 100px;
}
.w50px {
    width: 50px;
}
.s20{
    width: 20px;
    height: 20px;
}
.wfc{
    width: fit-content;
}
.ma{
    margin: auto;
}
.mt40{
    margin-top: 40px;
}
.mt20{
    margin-top: 20px;
}
.mt10{
    margin-top: 10px;
}
.mr20{
    margin-right: 20px;
}
.mr10{
    margin-right: 10px;
}
.ml30{
    margin-left: 30px;
}
.mb10{
    margin-bottom: 10px;
}
.mx20 {
    margin: 0 20px;
}
.mx10{
    margin: 0 10px;
}
.fs25{
    font-size: 25px;
}
.fs20{
    font-size: 20px;
}
.red{
    color: red;
}
.bred{
    background-color: red !important;
}
.fa{
    color: #79BD9A;
}
.fa-solid {
    color: #77AF9C;
}
.flex-box{
    display: flex;
}
.ib{
    display: inline-block;
}
.sb{
    justify-content: space-between;
}
.fdc{
    flex-direction: column;
}
.ac{
    align-items: center;
    align-content: center;
}
.tc{
    text-align: center;
}
.tl{
    text-align: left;
}
.bg{
    background-color: #f9f9f9;
}
.hover{
    background-color: #A8DBA8;
    transition: filter 0.3s ease;
}
.hover:hover {
    background-color: #A8DBA8;
    filter: brightness(85%); /* 明るさを85%にする（100%が通常） */
}
.hoverfa{
    color: #77AF9C;
    transition: filter 0.3s ease;
}
.hoverfa:hover {
    color: #77AF9C;
    filter: brightness(90%); /* 明るさを85%にする（100%が通常） */
}
.hover-row{
    background-color: #f9f9f9;
    transition: filter 0.3s ease;
}
.hover-row:hover{
    background-color: #f9f9f9;
    filter: brightness(95%);
}
.title{
    font-size: 30px;
}
form>input{
    border: #79BD9A solid 2px;
    border-radius: 999px;
    font-size: 20px;
}
form>input:focus-visible{
    outline: #79BD9A;
}
.table-container{
    overflow-y: scroll;
}
table{
    font-size: 20px;
    font-weight: 100;
    position: relative;
}
th, td{
    font-weight: normal;
    padding: 5px;
    text-align: left;
    padding: 0 20px;
}
.table-header{
    position: sticky;
    top: 0;
    background-color: #A8DBA8;
    box-shadow: 0px 9px 10px -2px rgba(93, 93, 93, 0.3);
    z-index: 50;
}
.table-header th{
    font-weight: bold;
}
.table-scroll{
    overflow: scroll;
}
.edit{
    margin-top: 130px;
    padding: 40px 40px 30px 40px;
    width: 620px;
    border-radius: 8px;
}
.edit form>div{
    margin-bottom: 10px;
}
.edit label{
    width: 100px;
}
.edit input{
    border: #A8DBA8 2px solid;
    border-radius: 8px;
    width: calc(100% - 110px);
}
.edit input:focus-visible{
    outline: #79BD9A;
}
.edit textarea{
    height: 72px;
    border: #A8DBA8 2px solid;
    border-radius: 8px;
    width: calc(100% - 110px);
}
.edit textarea:focus-visible{
    outline: #79BD9A;
}
.edit-button{
    width: fit-content;
    margin: 0 auto;
    background-color: #A8DBA8;
    border-radius: 8px;
    padding: 2px 10px;
}
.button{
    width: fit-content;
    background-color: #A8DBA8;
    border-radius: 8px;
    padding: 2px 10px;
}

.input-form {
    border: #79BD9A 2px solid;
    border-radius: 999px;
    background-color: white;
    padding: 0 5px;
}

.form-div-style input {
    border: #79BD9A 2px solid;
    border-radius: 999px;
    background-color: white;
    padding: 0 5px;
    height: 100%;
    width: 100%;
}

.select-div select {
    border: #A8DBA8 2px solid;
    border-radius: 2px;
    background-color: white;
    padding: 0 2px;
}

/* ラジオボタンを囲むdivにつけて横並びにする */
.horizontal-radio div {
    display: flex;
    justify-content: space-between;
    width: 100%;
    min-width: fit-content;
}

.horizontal-radio div div {
    width: fit-content;
}

.horizontal-radio label {
    margin-bottom: 0;
}

.tab {
    border: solid 1px #77AF9C;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 8px;
    color: black;
}

.tab.active {
    background-color: #A8DBA8;
}

/* 個別スタイル */

.header{
    height: 50px;
    background-color: #A8DBA8;
    margin-bottom: 10px;
    box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
}
.header a{
    color: black;
}
.header-nav{
    width: fit-content;
    margin: auto;
}
.header-nav>ul>li{
    margin-right: 20px;
    margin-left: 20px;
    padding:0 5px;
}
.change-app{
    position: relative;
}
.dropdown-menu{
    padding:10px;
    background-color: #A8DBA8;
    box-shadow: 3px 7px 2px 0px rgba(182, 182, 182, 0.5), inset 0px -3px 6px -2px rgba(0, 0, 0, 0.3);
}
.dropdown-item{
    white-space: nowrap;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 5px;
}
main{
    margin-top: 60px;
}
.search-button{
    color: #79BD9A;
}
.file-upload button{
    background-color: #79BD9A;
    padding: 10px;
    border-radius: 8px;
    transition: filter 0.3s ease;
}
.file-upload button:hover{
    filter: brightness(85%);
}
.pagination{
    width: fit-content;
}
.table-layout{
    table-layout: fixed;
}
.fixed-width{
    width: 200px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-all;
}
.plus-button{
    background-color: #A8DBA8;
    border-radius: 8px;
    font-size: 15px;
    padding: 5px;
}
.confirm-box{
    padding: 40px;
    margin-top: 130px;
    border-radius: 8px;
}
.edit-order label{
    width: 194px;
}
.edit-order input{
    width: calc(100% - 200px);
}
.edit-order #id_status, .edit-order #id_is_outstanding_order {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-bottom: 8px;
    accent-color: #A8DBA8;
}
.input-box{
    padding: 10px;
}
.input-box input{
    border: #A8DBA8 2px solid;
    border-radius: 999px;
    padding: 2px 5px;
    width: fit-content;
}
.input-box #id_week, #id_day{
    width: 50px;
}
.supplier-tab{
    overflow: hidden;
    overflow-x: scroll;
}
.supplier-tab li{
    background-color: #A8DBA8;
    margin-right: 2px;
    white-space: nowrap;
}
.preview-container{
    padding: 20px;
    border-radius: 8px;
}
.preview-container #select_all_button{
    border: none;
}
.stock-data-upload-container{
    padding: 20px;
    border-radius: 8px;
}
.stock-data-upload-container .helptext{
    display: block;
}
.create-key-word-box label{
    width: fit-content;
}
.item-list{
    flex-wrap: wrap;
}
.item-container{
    width: 10%;
    padding: 10px;
}
.item-container .title{
    height: 44px;
    font-size: 16px;
    overflow: hidden;
    margin-bottom: 10px;
}
.item-container p{
    margin-bottom: 5px;
}
.item-container .real-price{
    color: #c13832;
    font-size: 20px;
}
.item-container.comodocasa{
    background-color: #A8DBA8;
}
.arrival-checkbox{
    width: 20px;
    height: 20px;
    margin-bottom: 5px;
}
.arrival-row label{
    margin-bottom: 0;
}
.stock-title{
    max-width: 1200px;
    flex-wrap: wrap;
}
.manual-container{
    margin-left: 50px;
}
.sales-period-form-box{
    padding:0 5%;
}
.sales-period-form-box input{
    padding: 0 5px;
}
.total-sales{
    font-size: 35px;
    margin-bottom: 8px;
}
.span-type{
    width: 20px !important;
    height: 20px;
    margin-right: 3px;
}
.stock-list {
    font-size: 20px;
    height: 655px;
}
.stock-list-header, .order-list-header {
    background-color: #A8DBA8;
    font-weight: bold;
    font-size: 20px;
    box-shadow: 0px 9px 10px -2px rgba(93, 93, 93, 0.3);
    position: relative;
    z-index: 10;
}
.stock-list-scroll-box, .order-list-scroll-box {
    overflow-y: scroll;
    height: 625px;
}
.datetime {
    width: 155px;
    margin: 0 20px;
}
.current_inventory, .sales {
    width: 60px;
    margin: 0 20px;
    text-align: center;
}
.arrival {
    width: 160px;
    margin: 0 20px;
}
.stock-list-form .arrival,
#stock-create-form .arrival {
    margin: 0;
    width: 200px;
}
.remaining_inventory, .quantity {
    width: 40px;
    margin: 0 20px;
    text-align: center;
}
.stock-list-form input,textarea {
    width: 100%;
    height: 30px;
    border: #A8DBA8 2px solid;
    border-radius: 8px;
}
.stock-list-form textarea,
#stock-create-form textarea,
.order-list-form textarea,
#order-create-form textarea {
    height: 100px;
}
.note {
    width: 280px;
    margin: 0;
}
.stock-list-form .remaining_inventory {
    width: 60px;
    margin: 0 10px;
}
#stock-create-form input, textarea, #order-create-form input {
    width: 100%;
    height: 30px;
    border: #A8DBA8 2px solid;
    border-radius: 8px;
}
#stock-create-form .datetime {
    width: 195px;
    margin: 0;
}
.order-list {
    font-size: 20px;
}
.order-list .date {
    width: 135px;
    margin: 0 10px;
}
.order-list .status {
    width: 40px;
    margin: 0 10px;
    text-align: center;
}
.order-list .arrival-date {
    width: 135px;
    margin: 0 10px;
    text-align: center;
}
#order-create-form ul {
    flex-wrap: wrap;
}
.order-list-form input,textarea {
    width: 100%;
    height: 30px;
    border: #A8DBA8 2px solid;
    border-radius: 8px;
}
.order-list-form .arrival-date, #order-create-form .arrival-date {
    width: 135px;
}
.order-list-form .date, #order-create-form .date {
    width: 135px;
    margin: 0 10px;
}
.order-list-form .status, #order-create-form .status {
    width: 40px;
}
.order-list-form #id_status , #order-create-form #id_is_outstanding_order, .order-list-form #id_is_outstanding_order{
    width: 20px;
}
#order-create-form .is-outstanding-order label, .order-list-form .is-outstanding-order label {
    margin: 0 10px;
}

.order-list .quantity,
.order-list-form .quantity,
#order-create-form .quantity {
    margin: 0;
    width: 50px;
}
/* キャッシュバスティング用コメント */

.container-form {
    font-size: 18px;
}
.container-form input{
    border: #A8DBA8 solid 2px;
    border-radius: 8px;
    background-color: white;
    margin: 0 5px;
}
.container-form #id_months {
    width: 56px;
}

.edit-item label {
    width: 105px;
}

.edit-item input {
    width: calc(100% - 111px);
}

.renkei-start-info {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    border: #9b9b9b solid 1px;
    border-radius: 5px;
    background-color: white;
    padding: 5px;
    color: #4c4c4c;
}

.renkei-start-info p {
    margin-bottom: 0;
    margin-right: 10px;
    white-space: nowrap;
}

.renkei-start-info p span {
    font-size: small;
    color: #555555;
}

.renkei-start-info .diff {
    max-width: 80vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.renkei-start-info:hover .diff {
    overflow: visible;
    white-space: normal;
}

.all-order-list-form {
    width: 80%;
    min-width: fit-content;
    background-color: white;
    padding: 10px;
    border-radius: 8px;
}

.all-order-list-form p {
    margin-bottom: 0;
}

.all-order-list-form input {
    border: #A8DBA8 solid 2px;
    border-radius: 999px;
    background-color: white;
}

.all-order-list-form #id_q {
    width: 100%;
    text-align: start;
    padding: 0 5px;
}

.item-register-table input,
.item-register-table select,
.item-register-bulk input,
.item-register-bulk select {
    border: #79BD9A 2px solid;
    border-radius: 999px;
    background-color: white;
    padding: 0 5px;
    width: 100%;
}

.item-register-table {
    border-spacing: 0 5px;
    border-collapse: separate;
    table-layout: fixed;
}

.item-register-table td,
.item-register-table th {
    padding: 0 2px;
}

.item-register-table tr input,
.item-register-table tr select,
.item-register-table tr .sku-display {
    transition: all 0.3s ease;
}

.item-register-table tr:hover input,
.item-register-table tr:hover select,
.item-register-table tr:hover .sku-display {
    background-color: #b0ffb7;
}

.message-error {
    color: red;
}
