@charset "UTF-8";

h3 {
    font-weight: normal;
    font-size: 16px;
}

.post-order-nav {
    width: 95%;
}

.post-order-nav ul {
    display: flex;
    margin-bottom: 0;
}

.post-order-nav li {
    width: 20em;
    margin-right: .5em;
    margin-bottom: 0;
    padding: .5em;
    text-align: center;
    background: #ababab;
    border: 1px solid #ccc;
    cursor: pointer;
}

.post-order-nav li.en {
    background: #fff;
    border-bottom: 1px solid #fff;
    opacity: 1;
}

.post-order-nav li:last-child {
    margin-right: 0;
}

.post-setting-box {
    margin: 5px 15px;
}

.post-order-box-outer {
    width: 100%;
    margin: -1px 0 2em;
    border: 1px solid #ccc;
    background: #fff;
}

.post-order-box:not(:first-child) {
    display: none;
}

.list-orders-outer {
    width: 100%;
    margin-bottom: 1em;
    flex-wrap: wrap;
    justify-content: space-between;
}

.list-orders-inner {
    width: calc(100% - 60px);
    margin: 1em auto;
    padding: .5em 1em;
    position: relative;
    background: #eee;
    border-radius: 12px;
}

.sort-menu-list {
    display: flex;
}

.sort-menu-list li:first-child {
    margin-right: 2em;
}

p.submit.post-order .button-primary {
    position: absolute;
    bottom: 1em;
}

dl.apop-setting-list,
dl.apop-setting-list-dd {
    width: 100%;
    margin-top: .5em;
}

dl.apop-setting-list dt {
    float: left;
}

dl.apop-setting-list dd {
    margin-left: 200px;
}

dl.apop-setting-list dd:first-of-type {
    margin-bottom: 2em;
}

dl.apop-setting-list-dd dt {
    margin-top: 1em;
    font-weight: bold;
}

dl.apop-setting-list-dd dd {
    margin: .5em 0;
    border-bottom: 1px solid #c3c4c7;
}

dl.apop-setting-list-dd dd ul {
    margin-bottom: 1em;
}

dl.apop-setting-list-dd dd li {
    display: flex;
    justify-content: space-between;
}

dl.apop-setting-list-dd dd label {
    width: 25%;
    margin-bottom: .3em;
    cursor: inherit;
}

dl.apop-setting-list-dd input {
    width: 100%;
}

dl.apop-setting-list-dd .sort-custom-field-input {
    width: 75%;
}

.form-table tr {
    border-bottom: 1px solid #ccc;
}

.post-order-list {
    margin: .5em 1em 1em 0;
}

.product-list {
    padding: 1em .5em;
    background: #fff;
    cursor: move;
    color: #4b4b4b;
    border: 1px solid #fff;
}

.drag-sort .product-list {
    border: 1px solid #ccc;
    border-radius: 6px;
}

.enable-box .product-list {
    width: calc((50%) - 30px);
    padding: 1em;
    background: #fff;
    border: 1px solid #bbb;
    border-radius: 6px;
}

.enable-box .product-list:hover {
    border: 1px solid #999;
}

.custom_field_key_select,
.custom_field_key {
    display: none;
    width: 50%;
}

.search-normal-sort .product-list {
    display: flex;
}

.search-normal-sort .product-list-type-label,
.disable-box .product-list-type-label {
    width: calc((100%) - 60px);
}

.search-normal-sort .product-list-sort-type {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.search-normal-sort .product-list-sort-type label {
    width: calc((100% / 4) - 5px);
}

.search-normal-sort .product-list-sort-type label:first-of-type {
    margin-right: 3em;
}

.disable-box ul.disable-normal-list li.product-list.no-order .product-list-sort-type {
    width: 40%;
}

.product-list.no-order {
    background: #ababab;
    border-radius: 6px;
}

.list-order {
    width: 2em;
}

.sort-num-label::before {
    content: "［";
}

.sort-num-label::after {
    content: "］";
}

.no-registered-exp {
    width: 100%;
    margin: 1em 0 0 .5em;
}

.order-setting-list > li {
    padding: 1em;
    border: 1px solid #ccc;
}

.select-per-page {
    margin-top: 1em;
    padding-top: 1em;
    border-top: 1px solid #ccc;
}

.sort-custom-field {
    width: 100%;
    margin-top: .5em;
    padding-top: .5em;
    border-top: 1px solid #ccc;
}

.sort-custom-field-types,
.sort-custom-field-inner {
    display: flex;
    justify-content: space-between;
}

.sort-custom-field-types:first-child,
.sort-custom-field-inner:first-child {
    margin-bottom: .5em;
}

.sort-custom-field-inner-label {
    width: 40%;
    white-space: nowrap;
}

.search-normal-sort .product-list-sort-type label.sort-custom-field-text-label {
    width: 7em;
}

.disable-normal-list {
    display: flex;
    flex-wrap: wrap;
    margin: .5em 1em 1em 0;
}

.disable-box .product-list-sort-type label:not(:first-of-type),
.disable-box .sort-custom-field,
.disable-box .sort-custom-field-inner {
    display: none;
}

.disable-box .product-list {
    width: calc((25%) - 15px);
    display: flex;
    cursor: default;
}

.apop-submit {
    margin: 1em .5em;
}

.apop-form-table {
    background: #fff;
}

.apop-form-table th {
    padding-left: .5em;
}

.enable-box {
    margin-bottom: 1em;
}

.enable-box,
.disable-box {
    padding: .5em;
    /*border-bottom: 1px solid #ccc;*/
}

.enable-box h4 {
    margin: .5em 0 0;
}

.disable-box h4 {
    margin: .5em 0;
}

.custom-field-select-alert {
    width: 100%;
    margin-top: -.5em;
    color: crimson;
    text-align: right;
}


@media only screen and (max-width: 1264px) {

    .enable-box .product-list {
        width: calc((100%) - 15px);
    }

    .search-normal-sort .product-list {
        display: block;
    }

    .search-normal-sort .product-list-type-label,
    .disable-box .product-list-type-label {
        width: 100%;
        display: block;
    }

    .search-normal-sort .product-list-sort-type {
        width: 100%;
        margin-bottom: 1em;
        display: block;
    }

    .search-normal-sort .product-list-sort-type {
        width: 100%;
    }

    .search-normal-sort .product-list-sort-type label {
        width: calc((100% / 3) - 5px);
    }

    .search-normal-sort .product-list-sort-type label:first-of-type {
        margin-right: 1em;
    }
}

@media only screen and (max-width: 964px) {

    .post-order-nav {
        width: 98%;
    }

    .list-orders-inner {
        width: auto;
        margin: 1.5em 1em 0;
    }

    dl.apop-setting-list dt {
        float: none;
        width: 100%;
        margin-bottom: 1em;
    }

    dl.apop-setting-list dd {
        margin-left: 0;
    }

    dl.apop-setting-list li label input[type="text"] {
        width: 95%;
        margin-top: .5em;
    }

    .sort-custom-field-inner-label {
        width: auto;
        white-space: normal;
    }

    .disable-normal-list {
        display: block;
    }

    .disable-box .product-list {
        width: 100%;
    }
}