.btn-primary {
    background-color: #0b308e;
}

.lbl-primary {
    color: #0b308e;
}

.lbl-secondary {
    color: #ef8200;
}

.mwj-login {
    width: 360px;
}

.mwj-list {
    width: 760px;
}

.mwj-search {
    width: 500px;
}

.mwj-font {
    font-size: 0.8rem;
}

.form-control-sm {
    padding: .20rem .5rem;
    font-size: .8rem;
    line-height: 1.0;
    border-radius: .2rem;
}

.mwj-err {
    width: 1000px;
}

.form-control-lg1 {
    padding: 0.2rem 0.2rem;
    font-size: 2.5rem;
    line-height: 1.0;
    border-radius: .2rem;
}

.btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active, .show > .btn-secondary.dropdown-toggle {
    color: #fff;
    background-color: #488bce;
    border-color: #4e555b;
}


.box26 {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #bbc7d2;
    border-radius: 8px;
}

    .box26 .box-title {
        position: absolute;
        display: inline-block;
        top: -13px;
        left: 10px;
        padding: 0 9px;
        line-height: 1;
        font-size: 19px;
        background: #FFF;
        color: #488bce;
        /* font-weight: bold; */
    }

    .box26 p {
        margin: 0;
        padding: 0;
    }

.form-control-lg, .input-group-lg > .form-control, .input-group-lg > .input-group-append > .btn, .input-group-lg > .input-group-append > .input-group-text, .input-group-lg > .input-group-prepend > .btn, .input-group-lg > .input-group-prepend > .input-group-text {
    padding: .1rem 0.5rem;
    font-size: 3rem;
    line-height: 1;
    border-radius: .3rem;
}

.input-group-sm > .input-group-append > select.btn:not([size]):not([multiple]), .input-group-sm > .input-group-append > select.input-group-text:not([size]):not([multiple]), .input-group-sm > .input-group-prepend > select.btn:not([size]):not([multiple]), .input-group-sm > .input-group-prepend > select.input-group-text:not([size]):not([multiple]), .input-group-sm > select.form-control:not([size]):not([multiple]), select.form-control-sm:not([size]):not([multiple]) {
    height: calc(1.5rem + 2px);
}

td.color1 {
    background-color: #e1ecfa;
    text-shadow: 1px 1px 0 rgba(0,0,0,.2);
}

label {
    white-space: nowrap;
}

    label.required-item {
        /*アイコン風*/
        /*
    padding: 0px 5px 1px 5px;
    color: #ffffff;
    background-color: #ff6666;
    font-weight: bold;
    border-radius: 5px 5px 5px 5px;
    */
        color: #ff6666;
        font-weight: bold;
    }

td.required-cell {
    text-align: right;
}

.mwj-table th {
    font-weight: normal;
    padding: .35rem;
    width: 70px;
}

.mwj-table td {
    padding: .35rem;
    width: 70px;
}

/* ----------------------------------- */
/* ログイン画面 */
/* ----------------------------------- */
.jumbotron.wws-cps {
    background-color: #C0FFC0;
}
.wws-cps .lbl-secondary {
    color: #F57716;
}
.wws-cps .lbl-primary {
    color: #5444A0;
}
.support-block {
    margin: 0 auto;
    text-align: center;
    display: block;
}
.support-item {
    text-align: left;
    display: inline-block;
}
.support-text {
    display: inline-block;
    margin-bottom: 1rem;
}

/* ----------------------------------- */
/* 画面共通 */
/* ----------------------------------- */
.container:has(.common-container) {
    max-width: initial;
}

/* ----------------------------------- */
/* 当月契約一覧画面 */
/* ----------------------------------- */
/* 検索結果テーブル */
.current-month table {
    width: 100%;
}

.current-month .table {
    width: initial;
}

@media (max-width: 576px) {
    .current-month .responsive-layout {
        margin-left: 12px !important;
        margin-right: 12px !important;
    }

    .current-month ul.pagination {
        flex-wrap: wrap;
        margin-bottom: 0px;
    }

    .current-month .page-item {
        margin-bottom: 8px;
    }
}

/* ----------------------------------- */
/* 契約検索画面 */
/* ----------------------------------- */
/* 検索条件 */
.contract-info .form-group.row .textbox-label {
    display: flex;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .contract-info .responsive-layout {
        margin-left: 12px !important;
        margin-right: 12px !important;
    }
    .contract-info ul.pagination {
        flex-wrap: wrap;
        margin-bottom: 0px;
    }
    .contract-info .pagination-container {
        margin-bottom: 12px;
    }
    .contract-info .page-item {
        margin-bottom: 8px;
    }
}

/* 検索結果テーブル */
.contract-info table {
    width: 100%;
}

.contract-info .table {
    width: initial;
}

/* ----------------------------------- */
/* 契約登録画面 */
/* ----------------------------------- */
/* 共通 */
.input-item {
    min-width: 50%;
    padding-right: 5rem;
}

.input-title {
    width: 200px;
    white-space: nowrap;
}

.input-form {
    width: calc(100% - 200px);
}

.input-text{
    max-width: 50%;
}

.label-text {
    word-wrap: break-word; /* 長い単語が折り返される */
    white-space: normal; /* テキストが折り返しされる */
    width: 100%; /* 親要素の幅に合わせて100%の幅に設定 */
    word-break: break-word; /* 長すぎる単語も折り返し */
    display: inline-block;
}
@media (max-width: 768px) {
    .d-flex.input-item {
        flex-direction: column;
        padding-right: 1rem;
    }

    .input-form {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .input-item {
        min-width: 100%;
    }

    .responsive-sm {
        flex-wrap: wrap;
    }

    .responsive-sm > input:first-child {
        margin-bottom: 4px;
        margin-right: 0px !important;
    }

    .entry-contract .responsive-layout {
        margin-left: 12px !important;
        margin-right: 12px !important;
    }
}
/* プラン選択 */
table.plan-table {
    border-right: 1px solid #dee2e6;
    border-left: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

    table.plan-table th,
    table.plan-table td {
        padding: 8px;
    }

    table.plan-table th {
        white-space: nowrap;
    }

    table.plan-table .select-button {
        width: 50px;
        text-align: center;
    }

    table.plan-table .select-button input[type="radio"] {
        vertical-align: middle; /* ラジオボタンを少し下に移動 */
    }

/* 西暦・和暦表 */
.entry-contract #convert-calendar {
    display: none;
}
.mwj-table #thead-year th,
.mwj-table #tbody-jp-year td {
    min-width: 70px;
}

/* ----------------------------------- */
/* 契約入力確認、契約参照 */
/* ----------------------------------- */
.contract-confirm table.input-content {
    width: 100%;
}

.contract-confirm table.input-content tr {
    border: 1px solid #dee2e6;
}
@media (max-width: 576px) {
    .contract-confirm tbody tr {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    .contract-confirm tbody td {
        min-height: 32px;
    }
}

@media (min-width: 577px) {
    .contract-confirm tbody td.color1 {
        width: 20%;
        white-space: nowrap;
        padding-left: 15px;
    }
}

/* ----------------------------------- */
/* 保証料見積画面 */
/* ----------------------------------- */
.calculate-warranty #convert-calendar {
    display: none;
}
@media (max-width: 576px) {
    .responsive-layout .calculate-result {
        flex-wrap: wrap;
    }
}

/* ----------------------------------- */
/* 契約情報抽出画面 */
/* ----------------------------------- */
@media (max-width: 576px) {
    .extraction-contract .input-date {
        width: 100%;
    }
}
/* ----------------------------------- */
/* 請求情報一覧画面 */
/* ----------------------------------- */
/* 検索条件 */
.billing-info .textbox-label {
    display: flex;
    white-space: nowrap;
}
/* 検索結果テーブル */
.billing-info .table {
    width: auto;
    margin-bottom: 1rem;
    overflow: auto;
}

.billing-info table {
    width: 100%;
}

    .billing-info table thead th,
    .billing-info table tbody td {
        padding: 8px;
    }

/* ----------------------------------- */
/* 修理一覧画面 */
/* ----------------------------------- */
/* 検索条件 */
.claim-request .textbox-label {
    display: flex;
    white-space: nowrap;
}
/* 検索結果テーブル */
.claim-request .table {
    width: auto;
    margin-bottom: 0;
}

.claim-request table {
    width: 100%;
}

    .claim-request table thead th,
    .claim-request table tbody td {
        padding: 8px;
    }
/* 検索結果ページナビゲーション */
.claim-request nav {
    display: flex;
}
@media (max-width: 576px) {
    .claim-request .claim-dt {
        display: flex;
        flex-wrap: wrap;
    }
}

/* ----------------------------------- */
/* 修理申請画面 */
/* ----------------------------------- */
/* 修理残高確認モーダル */
#balanceModal .common-block,
#balanceModal .block.top {
    margin: 0;
}

#balanceModal .modal-header .modal-title {
    font-size: 1rem;
}

#balanceModal .modal-footer button {
    font-size: 0.8rem;
}
/* 修理項目詳細テーブル */
.claim-request.detail table,
.claim-request.detail td {
    border: none !important;
}

.claim-request.detail thead {
    background-color: #e1ecfa;
}

.claim-request.detail tr {
    border-left: 1px solid #e1ecfa;
    border-right: 1px solid #e1ecfa;
    border-bottom: 1px solid #e1ecfa;
}

    .claim-request.detail tr:nth-child(3) {
        border-top: 1px solid #e1ecfa;
    }

    .claim-request.detail tr.arrow-record,
    .claim-request.detail tr.sum-record,
    .claim-request.detail tr.blank-record {
        border-left: none;
        border-right: none;
        border-bottom: none;
    }

    .claim-request.detail tr.sum-record,
    .claim-request.detail tr.blank-record {
        border-top: none;
    }

.claim-request.detail thead
.claim-request.detail .table-hover tbody tr.add-record:hover {
    background-color: transparent;
}

.claim-request.detail tr.add-record td {
    padding-bottom: 12px;
}

.claim-request.detail th,
.claim-request.detail td {
    vertical-align: middle;
}

.claim-request.detail tr.arrow-record {
    text-align: center;
    color: #9dc1ef;
}

.claim-request.detail tr.arrow-record,
.claim-request.detail tr.sum-record,
.claim-request.detail tr.blank-record {
    pointer-events: none;
}
.claim-request .claim-detail tbody td {
    min-width: 110px;
}

@media (max-width: 576px) {
    .claim-request .block .row-item .item-text {
        width: 100% !important;
        min-height: 32px;
    }
    .claim-request .block .row-item .item-title {
        width: 100% !important;
    }
    .claim-request .common-block .block .row-item {
        width: 100% !important;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }
    .claim-request .block .block-row{
        display: block !important;
        border-bottom: solid 1px #dee2e6;
    }
}
/* ----------------------------------- */
/* 加盟店情報画面 */
/* ----------------------------------- */
/* 検索条件 */
.affiliated-store .textbox-label {
    display: flex;
    white-space: nowrap;
}

.affiliated-store ul {
    list-style: none;
    display: flex;
    padding-left: 0;
    margin-bottom: 0;
}

.affiliated-store li:not(:first-child):has(input[type=radio]) {
    margin-left: 20px;
}

.affiliated-store input[type=radio] {
    position: relative;
    top: 2px;
    margin-right: 4px;
}
@media (max-width: 576px) {
    .affiliated-store .search-item {
        min-width: 100% !important;
        margin-right: 0px !important;
    }
}
/* 検索結果テーブル */
.affiliated-store .table {
    width: auto;
    margin-bottom: 0;
}

.affiliated-store table {
    width: 100%;
}

    .affiliated-store table thead th,
    .affiliated-store table tbody td {
        padding: 8px;
    }

.affiliated-store .selected {
    background-color: rgba(0, 0, 0, .075) !important;
}
    .affiliated-store .selected:hover {
        background-color: rgba(0, 0, 0, .075) !important; /* 選択色に保持 */
    }
.affiliated-store tbody tr:hover {
    background-color: rgba(0, 0, 0, .075); /* 任意のホバー色 */
}
/* 検索結果ページナビゲーション */
.affiliated-store nav {
    display: flex;
}
@media (max-width: 768px) {
    .affiliated-store nav {
        display: flex;
        flex-direction: column;
    }
}
@media (max-width: 576px) {
    .affiliated-store ul.responsive-layout {
        margin-left: 3rem !important;
        margin-right: 3rem !important;
    }

    .affiliated-store ul.pagination {
        flex-wrap: wrap;
        margin-bottom: 0px;
    }

    .affiliated-store .page-item {
        margin-bottom: 8px;
    }
}
/* 詳細情報タイトル */
.title-detail-info {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .title-detail-info:after {
        border-top: 4px solid #bbc7d2;
        content: "";
        width: 100vw;
        border-radius: 4px;
    }

    .title-detail-info:after {
        margin-left: 1em;
        margin-right: 2em;
    }
/* 詳細情報タブ */
.affiliated-store .tab_wrap input[type="radio"] {
    display: none;
}

.affiliated-store .tab_area label {
    width: 150px;
    display: inline-block;
    padding: 12px 0;
    color: #999;
    background: #e0e6eb;
    text-align: center;
    font-size: 13px;
    cursor: pointer;
    transition: ease 0.2s opacity;
    margin: 0;
    border-radius: 4px 4px 0 0;
}

@media (max-width: 576px) {
    .affiliated-store .tab_area {
        display: flex;
    }
}

    .affiliated-store .tab_area label:not(:first-child) {
        margin-left: 10px;
    }
/* 詳細表示情報切り替えエリア */
.affiliated-store .panel_area {
    border: solid 3px #bbc7d2;
    margin: 0 0 16px 0;
}

.affiliated-store .tab_panel {
    width: 100%;
    padding: 24px 24px;
    display: none;
}
/* タブ1押下時 */
.affiliated-store #tab1:checked ~ .tab_area .tab1_label {
    background: #bbc7d2;
    color: #000;
}

.affiliated-store #tab1:checked ~ .panel_area #panel1 {
    display: block;
}
/* タブ2押下時 */
.affiliated-store #tab2:checked ~ .tab_area .tab2_label {
    background: #bbc7d2;
    color: #000;
}

.affiliated-store #tab2:checked ~ .panel_area #panel2 {
    display: block;
}
/* タブ3押下時 */
.affiliated-store #tab3:checked ~ .tab_area .tab3_label {
    background: #bbc7d2;
    color: #000;
}

.affiliated-store #tab3:checked ~ .panel_area #panel3 {
    display: block;
}

/* ----------------------------------- */
/* 修理申請画面、加盟店情報画面詳細部分 */
/* ----------------------------------- */
/* 項目見出し */
.claim-request .block .row-item .item-title,
.affiliated-store .block .row-item .item-title {
    width: 150px;
    padding: 6px;
    border-right: solid 1px #dee2e6;
    background-color: #e1ecfa;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* テキストエリア */
.affiliated-store .common-block .row-item .item-title.textarea {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 576px) {
    .affiliated-store .common-block .block .row-item .item-text.textarea {
        width: 100%;
    }
    .affiliated-store .block .row-item .item-text {
        min-height: 32px;
    }
}

.affiliated-store .block .row-item .item-text.textarea {
    width: calc(100% - 150px);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .affiliated-store .block .row-item .item-text.textarea textarea {
        width: 100%;
        resize: none;
        margin-right: 6px;
        border-color: #dee2e6;
    }

    .affiliated-store .block .row-item .item-text.textarea button {
        width: 100%;
        resize: none;
        margin-right: 6px;
    }
/* 項目内容 */
.claim-request .block .row-item .item-text,
.affiliated-store .block .row-item .item-text {
    padding: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.claim-request .block .row-item .item-text input[type=checkbox],
.affiliated-store .block .row-item .item-text input[type=checkbox] {
    position: relative;
    top: 2px;
    margin-right: 4px;
}
/* タブ関係なく表示する詳細エリア */
.claim-request .common-block,
.affiliated-store .common-block {
    margin: 16px 0;
}

.claim-request .block,
.affiliated-store .block {
    border: solid 1px #dee2e6;
}

    .claim-request .block:not(:first-child),
    .affiliated-store .block:not(:first-child) {
        margin-top: 24px;
    }

    .claim-request .block.top,
    .affiliated-store .block.top {
        margin-bottom: 24px;
        border: none;
    }

    .claim-request .block .block-row,
    .affiliated-store .block .block-row {
        display: flex;
        border-bottom: solid 1px #dee2e6;
    }

        .claim-request .block .block-row:first-child,
        .affiliated-store .block .block-row:first-child {
            border-top: solid 1px #dee2e6;
        }

    .claim-request .block .row-item,
    .affiliated-store .block .row-item {
        display: flex;
        border-left: solid 1px #dee2e6;
    }

        .claim-request .block .row-item:last-child,
        .affiliated-store .block .row-item:last-child {
            border-right: solid 1px #dee2e6;
        }

        .claim-request .block .row-item.s-100,
        .affiliated-store .block .row-item.s-100 {
            width: 100%;
        }

        .claim-request .block .row-item.s-75,
        .affiliated-store .block .row-item.s-75 {
            width: 75%;
        }

        .claim-request .block .row-item.s-66,
        .affiliated-store .block .row-item.s-66 {
            width: 66.6666%;
        }

        .claim-request .block .row-item.s-50,
        .affiliated-store .block .row-item.s-50 {
            width: 50%;
        }

        .claim-request .block .row-item.s-33,
        .affiliated-store .block .row-item.s-33 {
            width: 33.3333%;
        }
@media (max-width: 768px) {
    .affiliated-store .common-block.top .block,
    .affiliated-store .panel_area .block {
        border-bottom: none;
    }
    .affiliated-store .common-block.top .block .block-row:first-child,
    .affiliated-store .panel_area .block .block-row:first-child {
        border-top: none;
    }
    .affiliated-store .common-block.top .block .block-row,
    .affiliated-store .panel_area .block .block-row {
        flex-direction: column !important;
        border-bottom: none;
    }
    .affiliated-store .common-block.top .block .row-item,
    .affiliated-store .panel_area .block .row-item {
        width: 100% !important;
        border-bottom: solid 1px #dee2e6;
    }
    .affiliated-store .common-block.top .block .row-item:last-child,
    .affiliated-store .panel_area .block .row-item:last-child {
        border-right: none;
    }
}
@media (max-width: 576px) {
    .affiliated-store .common-block .block .row-item,
    .affiliated-store .panel_area .block .row-item {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }
    .affiliated-store .common-block.top .block .row-item,
    .affiliated-store .panel_area .block .row-item {
        border-left: none;
    }
    .affiliated-store .common-block.top .block .row-item .item-title,
    .affiliated-store .panel_area .block .row-item .item-title {
        border-right: none;
    }
}
/*タブ左右レイアウトパターン*/
.affiliated-store .tab-layout {
    display: flex;
}

.affiliated-store .panel_area-left {
    width: 75%;
}

.affiliated-store .panel_area-right {
    width: 25%;
    height: 100%;
    margin-left: 12px;
}

    .affiliated-store .panel_area-right .block .row-item .item-title {
        width: 100px;
    }

@media (max-width: 768px) {
    .affiliated-store .tab-layout {
        display: flex;
        flex-direction: column;
    }

    .affiliated-store .panel_area-left {
        width: 100%;
    }

    .affiliated-store .panel_area-right {
        width: 100%;
        margin-left: 0px;
        margin-top: 24px;
    }

    .affiliated-store .panel_area-right .block .row-item .item-title {
        width: 150px;
    }
}

@media (max-width: 576px) {
    .affiliated-store .block .row-item .item-title {
        width: 100%;
    }
    .affiliated-store .panel_area-right .block .row-item .item-title {
        width: 100%;
    }
}

/* 検索条件を閉じる（未実装） */
.affiliated-store summary.control-button {
    list-style: none;
}

.affiliated-store .text-left tr {
    cursor: pointer;
}

/* ----------------------------------- */
/* 加盟店情報画面 */
/* ----------------------------------- */
#lockScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明の黒 */
    z-index: 9999; /* 最前面に表示 */
    display: none; /* 初期状態では非表示 */
}

/*パスワード変更用*/
.guide {
    margin: 10px 0px;
}

.description {
    margin: 10px 0px;
}

.description-scroll {
    height: 400px;
    overflow-y: scroll;
    padding-right: 10px;
}

body {
    line-height: 1.6em;
}

.top {
    margin-top: 50px;
}

.width-auto {
    width: 900px;
}

.content-title {
    background-color: #0b308e;
    color: #fff;
    padding: 5px 10px;
    font-size: 1.4rem;
}

.content-text {
    border-color: #0b308e;
    border-width: 0px 2px 2px 2px;
    border-style: solid;
    padding: 10px 10px;
}

.table-sm {
    width: 880px;
}

td.color1 {
    background-color: #e1ecfa;
    text-shadow: 1px 1px 0 rgba(0,0,0,.2);
}

.chk-label, input[type='checkbox'] {
    cursor: pointer;
    color: #fff;
}

.chk-label {
    font-weight: bold;
    background-color: #ef8200;
    padding: 5px 10px;
    font-size: 1.2rem;
}

.btn-left {
    float: left;
    margin-top: 23.5px;
    margin-left: 20px;
    width: 120px;
}

.btn-right {
    float: right;
    margin-top: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    width: 220px;
}

.btn-light {
    border-color: #D3D3D3
}

.btn-div {
    padding-bottom: 100px;
}

div.col-sm-1,
div.col-sm-2,
div.col-sm-3 {
    padding-right: 0px;
}

.row input:not([type='checkbox']) {
    vertical-align: -0.2rem;
}

.col-input-text {
    display: flex;
    margin-bottom: 10px;
}

.nowrap {
    white-space: nowrap;
}