@charset "utf-8";

/* ========================================================================= */
/* Common */
/* ========================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* border: 1px solid red; */
}
html {
    height: 100%;
}
body {
    background-color: ghostwhite;
    font-size: 10pt;
    color: #333;
    height: 100%;
    position: relative;
}
.main-container {
    padding-top: 130px;
    margin-bottom: auto;
}

/* 横幅はタブレット(縦)に合わせる */
.container {
    width: 100%;
    max-width: 760px;
    padding: 0 15px;
    margin-right: auto;
    margin-left: auto;
    /* border: 1px solid red; */
  }
.error {
    color: firebrick;
    font-size: 0.75rem;
}
.input-error {
    border: 1px red solid;
}
.required {
    color: firebrick;
}
.badge-required {
    background-color: red;
    color: #fff;;
    font-size: 0.7rem;
    padding: 0.1rem;
    border-radius: 0.25rem;
}
.badge-option {
    background-color: blue;
    color: #fff;;
    font-size: 0.7rem;
    padding: 0.1rem;
    border-radius: 0.25rem;
}
.buttons-area > * {
    display: block;
    width: 100%;
}

/* ========================================================================= */
/* Header */
/* ========================================================================= */
.nav-login-user {
    margin-bottom: 0;
}

.nav-menu {
    display: flex;
    flex-direction: row;
}

/* ========================================================================= */
/* Footer */
/* ========================================================================= */


/* ========================================================================= */
/* Login */
/* ========================================================================= */
.login-form {
    width: 100%;
    max-width: 400px;
}
.login-area {
    width: 100%;
    max-width: 400px;
    height: auto;
    padding: 15px;
    margin: auto;
    /* border: 1px solid red; */
}

/* ========================================================================= */
/* TOP */
/* ========================================================================= */
.menu-area {
    display: block;
}
.menu-button {
    width: 300px;
    line-height: 90px;
    margin: auto;
    border: 2px gray solid;
    border-radius: 16px;
}
.menu-link {
    display: block;
    border-radius: 16px;
    font-size: 1.5rem;
    color: inherit;
    /* color: #333; */
    text-decoration: none;
}
.menu-link:hover,
.menu-link:active {
    background-color: #fff;
}

/* ========================================================================= */
/* List */
/* ========================================================================= */
.search-area {
    border: #333 1px solid;
    border-radius: 4px;
    padding: 0.5rem;
}
.csv-upload-area {
    border-radius: 4px;
    padding: 0.5rem;
    text-align: right;
}
.form-csv-upload {
    display: inline-block;
    width: auto;
    padding: 0.5rem;
    padding-top: 0;
    padding-left: 0;
    text-align: left;
}
.csv-input {
    margin: 0;
}


.button-on-list {
    font-size: 0.75rem;
}
/* ========================================================================= */
/* Edit */
/* ========================================================================= */
.edit-area {
    font-size: 1rem;
}

.read-only {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #ddd;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

/* ========================================================================= */
/* Detail */
/* ========================================================================= */
.name-box,
.table-caption {
    text-align: left;
}
.product-name {
    display: inline-block;
    font-size: 1rem;
    border-bottom: 1px solid #555;
}
.thin {
    background-color: beige;
}
.thick {
    background-color: blanchedalmond;
}

td {
    white-space: nowrap !important;
}

td.product_product_name{
    white-space: normal !important;
}

th {
    white-space: nowrap !important;
}

th>a{
    cursor: pointer;
    position: relative;
  }
  
  th>a::before, th>a::after {
    content: "";
    height: 8px;
    width: 8px;
    position: absolute;
    border-top: 2px #888 solid;
    border-right: 2px #888 solid;
    right: 10px;
    top: 50%;
  }
  
  th>a::before {
    transform: translateY(-8px) rotate(-45deg);
  }
  th>a::after {
    transform: translateY(2px) rotate(135deg);
  }

  th>a.asc::before {
    border-top: 2px #444 solid;
    border-right: 2px #444 solid;
}
  th>a.desc::after {
    border-top: 2px #444 solid;
    border-right: 2px #444 solid;
}
a.delivery_flg{
    color: #000 !important;
    text-decoration: none;
    display: block;
}