@charset "utf-8";

/* 共通 */
html {
    min-height: 100%;
    position: relative;
}

body {
    font-family: 'Noto Sans JP', sans-serif, "游ゴシック", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック";
    letter-spacing: 0.15em;
    height: 100%;
    margin-bottom: 50px;
    background-color: #f6f6f6;
}

body:after {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    z-index: -1;
    background-color: #f6f6f6!important;
}

.app {
    min-height: calc(100vh - 100px) !important;
}
#nojs {
    background: #fff;
    color: #f00;
    padding: 25px;
    border: 5px solid #F00;
    text-align: center;
    margin: 10px;
}

.validation_error {
    color: #f56954;
    margin-top: 5px;
}

@media (max-width: 540px) {
    main {
        font-size: 14px;
    }
    main small,
    main .small {
        font-size: 12px !important;
    }
}
@media (max-width: 320px) {
    small,
    .small {
        font-size: 12px !important;
    }
}

.btn-darkcyan {
    color: #ffffff;
    background: #2B788D;
}

.btn-darkcyan.active{
    background: #225d6d;
}

.btn-darkcyan:hover {
    background: #225d6d;
}

.btn-outline-darkcyan {
    color: #2B788D;
    background-color: transparent;
    background-image: none;
    border-color: #2B788D;
}

.btn-outline-darkcyan:hover {
    color: #ffffff;
    background-color: #225d6d;
    border-color: #225d6d;
}

.btn-darkred {
    color: #ffffff;
    background-color: #A30505;
    border-color: #A30505;
}
.btn-darkred:hover {
    background-color: #7c0404;
    border-color: #7c0404;
}
.btn-outline-darkred {
    color: #A30505;
    background-color: transparent;
    background-image: none;
    border-color: #A30505;
}
.btn-outline-darkred:hover {
    color: #ffffff;
    background-color: #7c0404;
    border-color: #7c0404;
}

.bg-darkred {
    color: #ffffff;
    background-color: #A30505;
    border-color: #A30505;
}

.color-darkred {
    color: #A30505;
}

.bg-brand {
    color: #ffffff;
    background: #A30505 !important;
}

.app-header {
    background: #A30505;
    border-bottom: none;
    color: #ffffff;
}

.app-header .navbar-brand {
    width: 200px;
}

.app-header .navbar-brand:hover {
    opacity: 0.8;
}

.app-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2.25' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.app-header .logout {
    padding: 0 10px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100px;
}

.app-header .logout:hover {
    opacity: 0.8;
}
.logout-txt {
    font-size: 8px;
    color: #ffffff;
    display: block;
    width: 100%;
    text-align: center;
}
.logout:hover {
    text-decoration: none;
}

.title {
    height: 46px;
    background: #ffffff;
    border-bottom: 1px solid #DDDDDD;
}

.title h2 {
    font-size: 1rem;
    padding: .75rem 0;
    margin-bottom: 0;
}

.sidebar {
    background: #2a2622;
}

.sidebar .nav-link:hover {
    background: #A30505;
}

.sidebar .nav-link .nav-icon {
    color: #85807e;
}

.sidebar .nav-link.active {
    background: #493131;
}

.sidebar .nav-link.active:hover {
    background: #A30505;
}

.sidebar .nav-link.active .nav-icon {
    color: #f70808;
}
.sidebar .nav-link.active:hover .nav-icon {
    color: #FFFFFF;
}

.sidebar .nav-dropdown-items .nav-link.slide-toggle {
    background: #493131;
}

.sidebar .nav-dropdown-items .nav-link.slide-toggle .nav-icon {
    color: #ffffff;
}



.sidebar .nav-copy {
    font-size: 10px;
    padding: .75rem 0;
    margin: 0 auto;
    letter-spacing: 0.15em;
}

.background-cream {
    background: #FFFDF2;
}

.card.background-cream {
    border: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    border-radius: 0;
}

.form-noborder {
    display: flex;
    flex-direction: column;
}

.form-noborder label {
    font-weight: bold;
}

.form-noborder input, .form-noborder textarea {
    background: inherit;
    border: none;
    border-bottom: 1px dashed #DDDDDD;
}

.form-noborder input:focus, .form-noborder textarea:focus {
    background: #FAFCFC;
    outline: none;
}

/*お客様リスト*/
@media (max-width: 576px){
    #user_list div#searchBox {
        width: 50%;
    }
}
#user_list table tr {
    border-bottom: solid 1px #DDDDDD;
    border-left: solid 1px #DDDDDD;
    border-right: solid 1px #DDDDDD;
}
#user_list table th {
    background-color: #EEE1E1;
    border-color: #DDDDDD;
    border-bottom: 1px;
    border-right: solid 1px #DDDDDD;
}
#user_list table td {
    border-color: #EEEEEE;
    background-color: #ffffff;
    border-right: solid 1px #EEEEEE;
}
#user_list table .deletedAddress td {
    border-color: #EEEEEE;
    background-color: #F7F7F7;
    border-right: solid 1px #EEEEEE;
}
#user_list input.btn-output {
    width: 110px;
}
#user_list input.searchBtn {
    width: 68px;
}
#importModal .eventNone {
    pointer-events: none;
}
/*ページャー*/
.page-customer-link {
    position: relative;
    color: #000000;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
}

.page-customer-link:hover {
    color: #A30505;
    cursor: pointer;
}

.page-item.active .page-customer-link {
    color: #A30505;
    z-index: 1;
    text-decoration: none;
    cursor: default;
}
.page-item.disabled .page-customer-link {
    color: #73818f;
    pointer-events: none;
    cursor: auto;
}
/*ページャー*/
/*お客様リスト*/

/*自社情報編集 連絡先追加 連絡先編集*/
.topItemBorder {
    padding-top: 10px;
    border-top: solid 5px #B3B3B3;
    border-bottom: solid 1px #B3B3B3;
}
.topItemBorderLeft {
    padding-top: 10px;
    border-top: solid 5px #B3B3B3;
    border-bottom: solid 1px #B3B3B3;
    border-right: solid 1px #B3B3B3;
}
.bottomBorder {
    padding-top: 10px;
}
.nextItemBorderLeft {
    padding-top: 10px;
    border-bottom: solid 1px #B3B3B3;
    border-right: solid 1px #B3B3B3;
}
.nextItemBorder {
    padding-top: 10px;
    border-bottom: solid 1px #B3B3B3;
}
span.validMessage div.validation_error {
    margin-top: 0;
    font-weight: initial;
}
@media (max-width: 1199px) {
    span.validMessage div.validation_error {
        position: absolute;
        font-size: x-small;
    }
    #user_create label.form-label,
    #user_edit label.form-label{
        font-size: smaller;
    }
}
@media (max-width: 991.98px) {
    .app-header .navbar-brand {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translateY(-50%) translateX(-50%);
        margin-left: 0;
    }
}
@media (max-width: 575px){
    .topItemBorderRight {
        border-top: none;
    }
    .topItemBorder, .nextItemBorderLeft {
        border-right: none;
    }
}
.modal-header .close:active {
    border-top: none;
}

.address_edit:hover, .address_delete:hover {
    cursor: pointer;
    opacity: 0.8;
}
/*自社情報編集*/

/*帳票内編集*/
/*.pc-none {*/
/*    display: none;*/
/*}*/
@media screen and (max-width: 480px) {
    /*.sp-none{*/
        /*display: none!important;*/
    /*}*/
    /*.pc-none {*/
    /*    display: block!important;*/
    /*}*/
    .document_edit .my-sm-3 {
        display: flex;
    }
    .document_edit .my-sm-3 .btn {
        font-size: .8rem;
        margin: 5px 0;
    }
}

/*見積提案書確認*/
.card_sp_padding {
    padding: 0 15px;
}
.sp-select-form .select2 {
    width: 45%!important;
}

/* マニュアルダウンロードリンク */
.download_manual {
    background-color: #FFF;
    color: #000;
    padding: 10px;
    margin-right: 8px;
    font-size: 13px;
}
.download_manual a {
    color: #A30505 !important;
}
.download_manual a:hover {
    transition: color .3s;
    text-decoration: underline;
}
@media screen and (max-width: 900px) {
    .download_manual {
        display: none;
    }
}