/* wrap table */
.table-custom__wrap {
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;

    margin-top: 20px;
}

.table-custom__btn {
    padding: 20px;
}

.table-custom__header {
    padding: 20px;
}

.table-custom__search {
    display: flex;
    align-items: center;
}

.table-custom__search input {
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 30px;
}

.table-custom__search span {
    position: absolute;
}

.table-custom__search span i {
    font-size: 14px;
    color: #999;
}

.table-custom__content {
    border-top: 1px solid #f0f0f0;
    overflow-x: auto;
    font-size: 0.9rem
}

.table-custom__content th {
    white-space: nowrap;
}

.table-custom__content td {
    white-space: nowrap;
}

.table-custom__content table thead tr {
    background-color: #fafafa;
}

.table-custom__content table thead tr th {
    padding: 15px 20px;
    background-color: #fff4d6;
    border-right:thin solid #fff;
}

.table-custom__content table tr td {
    padding: 15px 20px;
    border-bottom:thin solid #efefef;
    border-right:thin solid #efefef;
}

.table-custom__content table tr:first-child {
    border-top:thin solid #efefef;
}

.table-custom__content table tbody {
    background-color: white;
}

.custom-column-width {
    max-width: 250px;
    overflow: hidden;
    word-wrap: break-word;
}

.custom-column-width-2 {
    max-width: 270px;
    overflow: hidden;
    word-wrap: break-word;
}

.custom-column-width-3 {
    max-width: 350px;
    overflow: hidden;
    word-wrap: break-word;
}

/* paginate datatable */
.dataTables_length {
    display: none !important;
}

/* form service */
.form-service__custom .form-service__label {
    font-size: 16px;
    font-weight: 500;
    padding-bottom: 4px;
}

.form-service__custom .input-group-text {
    cursor: pointer;
}

.form-group-image-wrap {
    width: 150px;
    border-radius: 10px;
    margin-bottom: 6px;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    position: relative;
}

.form-group-image__custom {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.preview-form-file-btn-close {
    position: absolute;
    top: 8px;
    right: 8px;
    cursor: pointer;
}

.input-group .input-img-custom,
.input-group .input-img-custom:focus,
.input-group .input-img-custom:active,
.input-group .input-img-custom:hover {
    color: transparent;
}

.input-group .input-img-custom::-webkit-file-upload-button {
    display: none;
}

.input-group .input-img-custom::file-selector-button {
    display: none;
}

.form-control:focus {
    box-shadow: none;
}

.status-select {
    position: relative;
}

.status-select select {
    width: 100%;
    appearance: none;
    padding-right: 30px;
}

.status-select::after {
    content: '\25BC';
    /* 下向きの矢印 */
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.status-select option:checked {
    background-color: #dff0d8;
    font-weight: bold;
}

/*-----------------------
        フォーム関連
-------------------------*/

/*新規顧客*/

ul.new-member{
    width:100%;
    margin:1rem auto;
}
ul.new-member li{
    line-height: 2;
    padding:0.5rem;
    list-style: none;
}

ul.new-member label{
    display: block;
    font-weight: bold;
}
ul.new-member label.inline-label{
    display: inline;
    font-weight: lighter;
}
ul.new-member input{
    border:thin #807970 solid;
    padding:0 0.2rem;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    border-radius: 5px;
}
ul.new-member input[type="radio"]{
    display: inline;
}

ul.new-member select{
    border:thin #807970 solid;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    border-radius: 5px;
    padding:0.3rem 0;
}
ul.new-member textarea{
    border:thin #807970 solid;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    border-radius: 5px;
}
ul.new-member input[type="number"]{
    text-align: left;
    height:auto;
}

/*顧客編集*/

.edit-customer .flex-custom__header {
    padding: 10px;
}

.edit-customer .flex-custom-products-create {
    padding: 10px;
    color: black;
    margin: 10px;
    border-radius: 5px;
}

.edit-customer .id-wrapper {
    width: 110px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: silver;
}

.edit-customer .button-container {
    display: flex;
    justify-content: center;
    padding-top: 15px;
    gap: 20px;
}

.edit-customer .swal2-content {
    text-align: left;
}

.edit-customer .slider-container {
    display: flex;
    align-items: center;
    margin: 20px;
}

.edit-customer .slider-label {
    margin: 0 10px;
}

.edit-customer .slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: #f1f1f1;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.edit-customer .slider:hover {
    opacity: 1;
}

.edit-customer .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: #4CAF50;
    cursor: pointer;
    border-radius: 50%;
}

.edit-customer .slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: #4CAF50;
    cursor: pointer;
    border-radius: 50%;
}

.edit-customer .slider-values {
    display: flex;
    justify-content: space-between;
    margin: 0 20px;
}

.edit-customer .slider-values span {
    flex: 1;
    text-align: center;
}

.edit-customer label {
    font-weight: bold;
}

.edit-member label.inline-label{
    display: inline;
    font-weight: lighter;
}

.edit-member input{
    border:thin #807970 solid;
    padding:0.35rem 0.5rem;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    border-radius: 5px;
}

.edit-member input[type="radio"]{
    display: inline;
}

.edit-member select, .edit-customer .supplier select{
    border:thin #807970 solid;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    border-radius: 5px;
    padding:0.3rem 0.5rem;
}

.edit-customer .contactInfo-textarea{
    border:thin #807970 solid;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    border-radius: 5px;
    padding:0.3rem 0.5rem;
    width: 100%;
}