@charset "UTF-8";

/* || ------------------ 基本設定 ------------------ */
body {
    font-family: sans-serif, 'Mukta';
    margin: 0;
    padding: 0;
    color: #666666;
    background-color: #F4F4F4;
    height: 100%;
}

body, .btn {
    font-size: .9rem;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

textarea {
    min-height: 40px;
}

a {
    text-decoration: none;
    outline: 0;
    outline: none;
    color: #666666;
}

a:not(:disabled):hover {
    cursor: pointer;
    color: #666666;
}

a:hover,
a:focus {
    text-decoration: none;
    outline: none;
}

input[type="number"] {
    text-align: right;
}

input[type='checkbox'] {
    cursor: pointer;
}

input[type="date"]:read-only::-webkit-calendar-picker-indicator {
    display: none;
}

/* input要素にてautocomplete使用時、背景色を変更しない */
input:-webkit-autofill {
    transition: background-color 5000s ease-in-out 0s !important;
}

button:focus, input:active, input:focus, input:focus-visible {
    outline: 0px auto -webkit-focus-ring-color;
    box-shadow: 0px 0px 2px 2px #F1C40F !important;
}

/* 文字の見切れを防ぐため */
select {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* フッター下の隙間を消すため */
.trend_notification_app_outer {
    display: none;
}

/*--------------------------------
	サイズ指定
--------------------------------*/
.w-5 {
    width: 5% !important;
}

.w-10 {
    width: 10% !important;
}

.w-15 {
    width: 15% !important;
}

.w-20 {
    width: 20% !important;
}

.w-30 {
    width: 30% !important;
}

.w-35 {
    width: 35% !important;
}

.w-40 {
    width: 40% !important;
}

.w-45 {
    width: 45% !important;
}

.w-55 {
    width: 55% !important;
}

.w-60 {
    width: 60% !important;
}

.w-65 {
    width: 65% !important;
}

.w-70 {
    width: 70% !important;
}

.w-80 {
    width: 80% !important;
}

.w-85 {
    width: 85% !important;
}

.w-90 {
    width: 90% !important;
}

.w-95 {
    width: 95% !important;
}

.w-screen {
    width: 100vw !important;
}

.w-fit {
    width: fit-content !important;
}

.w-inherit {
    width: inherit !important;
}

.w-fill {
    width: -webkit-fill-available !important;
}

.h-screen {
    height: 100vh !important;
}

.h-fit {
    height: fit-content !important;
}

/*--------------------------------
	スクロールバー
--------------------------------*/
.scroll-x {
    overflow-x: scroll;
}

.scroll-y {
    overflow-y: scroll;
}

.scroll-both {
    overflow: scroll;
}

/*--------------------------------
	区切り線
--------------------------------*/
.bb-dashed {
    border-bottom: 1px dashed #e4e4e4;
    margin: 0 -15px;
    border-top: 0;
}

.bb-solid {
    border-bottom: 1px solid #dee2e6;
    margin: 0 -15px;
    border-top: 0;
}

/*--------------------------------
	ボタン
--------------------------------*/
/* ボタンのハイライト削除 */
.btn.focus, .btn:focus {
    outline: 0;
    box-shadow: none;
}

.btn:not(:disabled):hover {
    cursor: pointer;
}

.btn-default {
    background-color: #f0f0f0;
    border: 1px solid #d8d7d7;
}

.btn-default:not(:disabled):hover {
    background-color: #d8d7d7;
}

.btn-red {
    color: #fff;
    background-color: #B71B2C;
    border: 1px solid #B71B2C;
}

.btn-red:not(:disabled):hover {
    color: #fff;
    background-color: #ef8490;
    border: 1px solid #B71B2C;
}

/*--------------------------------
	ヘッダー
--------------------------------*/
header {
    border-bottom: 2px solid #B71B2C;
    background: #fff;
    margin: 0 auto;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header_col {
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width: 575px) {
    header {
        padding-bottom: 1px;
    }

    .header_col {
        padding-left: 5px;
        padding-right: 5px;
    }
}

.header_icon, .user_icon {
    padding: .25rem;
    display: flex;
    align-items: center;
}

.header_icon a {
    font-size: 1.4rem;
    font-weight: bold;
    color: #B71B2C;
    word-break: keep-all;
}

.header_icon a:hover {
    color: #B71B2C;
}

.user_icon span {
    word-break: break-all;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.user_icon img {
    padding-left: .5rem;
}

.dropdown {
    min-width: 85px;
    max-width: 400px;
    cursor: pointer;
    padding: .25rem .5rem;
}

.dropdown:hover,
.dropdown:focus {
    text-decoration: none;
    outline: none;
    box-shadow: 0 0 4px rgb(204, 204, 204);
}

.dropdown:active {
    background-color: #f8f8f8;
}

.dropdown.active:hover, .dropdown.active {
    box-shadow: 0 0 4px rgb(204, 204, 204);
    border-radius: 2px 2px 0 0;
    background-color: #e9ecef
}

.dropdown .dropdown-menu {
    box-shadow: 0 1px 2px rgb(204, 204, 204);
    display: none;
    padding: 0;
    text-align: right;
}

.dropdown .dropdown-menu li {
    padding: 10px;
}

.dropdown .dropdown-menu li:hover,
.dropdown .dropdown-menu li:active {
    background-color: #e9ecef
}

/*--------------------------------
	フッター
--------------------------------*/
#page-top {
    position: fixed;
    right: 10px;
    bottom: 10px;
    font-size: 1.2rem;
    line-height: 1.2rem;
    background: #fff;
    color: #B71B2C;
    padding: 10px 11px;
    border: solid 1px;
    border-radius: 50%;
    box-shadow: 0 2px 10px -6px rgba(0, 0, 0, .5), 0 3px 10px -4px rgba(0, 0, 0, .2);
    z-index: 2;
}

#page-top:hover {
    background: #fff0f0;
}

#page-top i {
    padding-left: .05rem;
}

/*--------------------------------
	テーブル
--------------------------------*/
.table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    font-size: inherit;
}

.table thead th {
    text-align: center;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    background-color: #fff;
    color: #666666;
    white-space: nowrap;
    padding: .5rem;

    /* 行ヘッダーを固定 */
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1;
}

.table td {
    white-space: nowrap;
    padding: .3rem .5rem;
    border-top: 0px dashed #dee2e6;
    vertical-align: middle;
}

.table tbody td:not(:last-child) {
    border-right: 1px solid #dee2e6;
}

.table tbody td {
    border-bottom: 1px dashed #dee2e6;
}

.table tbody td.rowspan {
    border-bottom-width: 0;
}

.table tbody tr:last-child td {
    border-bottom: 0;
}

.table tbody tr:nth-of-type(even) {
    background-color: #f7f7f7;
}

.table-wrapper {
    overflow: auto;
    /* border-bottom: 1px solid #dee2e6;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6; */
}

.cmn-s-table-wrapper {
    overflow: auto;
    width: calc(100vw - 62px);
    margin-left: 15px;
    margin-right: 15px;
}

/*--------------------------------
	modal
--------------------------------*/
/* 画面中央表示用 */
.modal .vertical-alignment-helper {
    display: table;
    height: 100%;
    width: 100%;
    pointer-events: none;
}

.modal .vertical-align-center {
    display: table-cell;
    vertical-align: middle;
    pointer-events: none;
}

.modal {
    overflow: auto !important;
}

.modal .close {
    color: white;
    text-shadow: none;
    opacity: 1;
}

.modal .close:not(:disabled):not(.disabled):hover {
    color: white;
}

.modal .close:focus {
    outline: 0;
    box-shadow: none;
}

.modal .modal-content {
    width: inherit;
    max-width: inherit;
    height: inherit;
    margin: 0 auto;
    pointer-events: all;

}

.modal .modal-header {
    display: flex;
    align-items: center;
    background: #B71B2C;
    color: #fff;
    border-bottom: 0px;
    border-top-left-radius: 0.2rem;
    border-top-right-radius: 0.2rem;
}

.modal .modal-body {
    overflow: auto;
    max-height: 780px;
}

/* .modal .modal-body span {
    display: inline-block;
} */

.modal input {
    width: 70%;
}

@media screen and (max-width: 991px) {
    .modal input {
        width: 100% !important;
    }
}

.modal input[type='checkbox'] {
    width: fit-content !important;
}

.modal input[type='date'] {
    min-width: 130px;
    width: 30%;
}

.modal select {
    width: fit-content;
    max-width: 100%;
}

.modal .errorlist {
    color: red;
    width: 100%;
}

.form_input_item {
    display: flex;
    align-items: center;
}

.modal-body .form_input_item label {
    width: 35%;
    margin-bottom: 0;
    padding: 0 .5rem;
    font-weight: bold;
    min-height: 2rem;
    line-height: 2rem;
}

.modal-body .form_input_item .input_area {
    word-wrap: break-word;
    width: 65%;
}

.modal-body .form_input_item:not(:first-child) {
    border-top: 1px dashed #dee2e6;
    padding-top: .75rem;
    margin-top: .75rem;
}

.form_input_item label {
    width: 30%;
    margin-bottom: 0;
    padding: 0 .5rem;
    font-weight: bold;
    min-height: 2rem;
    line-height: 2rem;
}

#alert-dialog {
    z-index: 3000;
}

#confirm-dialog {
    z-index: 2000;
}

#loading-dialog {
    z-index: 5000;
}

/* スピナー */
@-webkit-keyframes spinner-border {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner-border {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
    margin: 1rem;
}

/*--------------------------------
	検索エリア
--------------------------------*/
.js-search-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 0;
}

.search-btn {
    display: flex;
    justify-content: flex-end;
    margin-bottom: .25rem;
}

.search-item, .search-item-input {
    display: flex;
    align-items: center;
}

.search-item-input {
    padding-right: .75rem;
    width: 100%;
}

.search-item button {
    margin: 0 .2rem;
    height: 36px;
}

.search-item-label, .search-modal-label {
    white-space: nowrap;
    padding: .4rem;
    margin: 0 .25rem .25rem 0;
    background-color: #f1f1f1;
}

.search-item label:not(.search-item-label, .search-modal-label) {
    white-space: nowrap;
    margin: .25rem .25rem .25rem 0;
}

.search-item input {
    margin-bottom: .25rem;
}

.search-item input[type="radio"] {
    margin-bottom: 0;
    margin-right: .25rem;
}

/* 幅調整 */
.search-item {
    width: 50%;
}

.search-btn {
    width: 100%;
}

.search-item-label, .search-modal-label {
    min-width: 150px;
}

.search-item input[type="text"]:not(:disabled, input[name="s-customername"]) {
    /* width: 200px; */
    min-width: 200px;
}

@media screen and(min-width:575px) {
    .column_contents .search-item input[type="text"]:not(:disabled) {
        width: 200px;
    }

    .search-item input[name="s-customername"] {
        max-width: auto;
    }
}

@media screen and (min-width:1199px) {
    .modal-body .search-item:nth-child(even) {
        padding-left: .5rem;
        /* padding: .5rem; */
    }

}


.search-item input:disabled {
    width: inherit;
}

.search-item input[type="number"] {
    width: 100px !important;
    min-width: 100px !important;
}

@media screen and (max-width: 1199px) {
    .search-item, .search-btn {
        width: 100%;
    }

    .search-item-input {
        padding: 0;
    }

    .search-item input[type="text"] {
        max-width: 100%;
    }
}

@media screen and (max-width: 991px) {
    .search-item input[type="text"]:not(:disabled) {
        max-width: 100vw;
    }

    .search-item input[type="text"]:disabled {
        max-width: 500px;
        width: inherit;
    }

    .search-item input[name="s-customername"] {
        max-width: 500px !important;
        width: inherit !important;
        min-width: auto !important;
    }

    .search-modal-label {
        width: 100%;
    }


}

@media screen and (max-width: 575px) {
    .search-item {
        flex-wrap: wrap;
    }

    .search-item-label, .search-modal-label {
        width: 100%;
        margin-right: 0;
    }

    .search-item-input {
        flex-wrap: wrap;
        width: 100%;
    }

    .search-item-input div.d-flex {
        width: 100%;
    }

    .search-item input[type="text"]:not(:disabled) {
        width: inherit;
    }

    .search-item:not(:last-child) {
        margin-bottom: .75rem;
    }
}

/*--------------------------------
	他
--------------------------------*/
.text-prewrap {
    white-space: pre-wrap !important;
}

.white-space-pre {
    white-space: pre;
}

.pointer {
    cursor: pointer;
}

.pc-menu {
    display: block;
}

.phone-menu {
    display: none;
}

/* Medium 未満 */
@media screen and (max-width: 770px) {
    .pc-menu {
        display: none;
    }

    .phone-menu {
        display: block;
    }
}

.help-block {
    clear: both;
    color: red;
}

.invalid {
    color: red !important;
}

.contents {
    background: #F4F4F4;
    width: 100%;
    margin: 0 auto;
}

.column_contents {
    background: #fff;
    padding: 1.0em 1.75em;
    box-sizing: border-box;
    width: 100%;
    margin: .5em 0;
    border-radius: .45rem;
}

@media screen and (max-width: 991px) {
    .column_contents {
        padding: 1em;
    }
}

/* フォーム部品 */
.form-control {
    display: block;
    width: 100%;
    height: 2.25rem;
    padding: .375rem .75rem;
    font-size: inherit;
    line-height: 1.5;
    color: #666666;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control:focus {
    border-color: #ced4da;
}

/* 選択された行の背景色変更 */
.select_line_bgcolor {
    background-color: #ff7b7b !important;
}