﻿/* ************************************************************* */
/* 全画面共通スタイル */
/* ************************************************************* */

html {
    /*font-size: 14px;*/
    overflow-x: hidden;
}

@media (max-width: 1024px) {
    html {
        /*font-size: 16px;*/
        font-size: 0.8rem;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body * {
    /*margin-bottom: 60px;*/
    /* font-family: "Meiryo UI"; */
    /*font-size: 0.9rem;*/
    /*line-height: 0.8;*/
    /*font-size:0.8rem !important;*/
    /*padding-top:0.2rem !important;*/
    /*padding-bottom:0.2rem !important;*/
}

input:not([type="checkbox"]):not([type="radio"]) {
    /*margin: 0.02rem 0rem !important;*/
    padding: 0.02rem 0.5rem !important;
    line-height: 1rem !important;
}

select {
    /*margin: 0.02rem 0rem !important;*/
    padding: 0.02rem 0.5rem !important;
}

/*h1, h2, h3, h4, h5 {
    font-size: 0.8rem;
}*/
main {
    position: static;
}

table tbody {
    line-height: 0.8rem;
}

/* 階層メニュー用 ※階層メニューはマウスオーバーで表示する */
.dropend:hover .dropdown-menu {
    display: block;
}

/* 階層メニュー用 ※階層メニューは少しずらして表示する*/
.submenu {
    position: absolute;
    inset: 0px auto auto 100%;
    margin: 0px;
    /*transform: translate(5rem, 0px);*/
}

/* ハンバーガーボタン時 */
@media (max-width: 575.20px) {

    /* 階層メニュー */
    .submenu {
        inset: 0px auto auto 0px;
        margin-right: 2rem;
        transform: translate(1.5rem, 0px);
        /*transform: none !important;*/
        /*margin: 0rem 1.5rem;*/
        margin-left: 2rem;
    }

    /* サイドバーメニュー */
    #SidebarMenu.ver-1 {
        /*display:block;*/
        z-index: 1000000;
        position: fixed;
        top: 3.3rem;
        left: 0;
        width: 100%;
        height: calc(100% - 2rem);
    }
}

/* 未入力日付要素 */
input[type="date"].date-empty,
input[type="month"].date-empty {
    color: transparent !important;
}

    input[type="date"].date-empty:focus,
    input[type="month"].date-empty:focus {
        color: unset !important;
    }

/* 数値入力のスピンボタンを消す */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ******************** */
/* サイドバーメニュー */
/* ******************** */
@media (min-width: 575px) {
    #SidebarMenu.ver-1 {
        display: block;
    }
}

#SidebarMenu.ver-1 {
    direction: rtl;
    overflow-y: scroll;
    /*height:100vh;*/
    /*width: 12rem !important;*/
}
    #SidebarMenu.ver-1 a.text-light:hover{
        color:white !important;
    }
    /* クイック照会 */
    #SidebarMenu.ver-1 #CustomerQuickSearch {
        border-bottom: solid 1px #234376;
        padding-bottom: 0.25rem;
    }

    #SidebarMenu.ver-1 > ul > li {
        margin-bottom: 0 !important;
    }

    #SidebarMenu.ver-1 > ul > li {
        border-top: #98cfff solid 1px;
    }

        #SidebarMenu.ver-1 > ul > li:not(:first-child) {
            border-bottom: solid 1px #234376
        }

        #SidebarMenu.ver-1 > ul > li.active {
            background-color: var(--secondary);
        }

    #SidebarMenu.ver-1 .nav-link {
        width: 100%;
        padding-bottom: 0;
    }
    /*#SidebarMenu.ver-1 > ul a.nav-link {
        font-size: 0.8rem;
    }*/
    /*#SidebarMenu.ver-1 ul .nav-item a.nav-link:not(:has(*)) {
        font-size: 1rem;
    }*/

    #SidebarMenu.ver-1 button.nav-link div.collapse.show {
        background-color: var(--blue);
    }

    #SidebarMenu.ver-1 ul {
        direction: ltr;
    }

        #SidebarMenu.ver-1 ul li:hover {
            background-color: var(--secondary);
        }

/*    #SidebarMenu.ver-1 > ul > li:not(.active):hover {
        background-color: color-mix(in srgb, var(--blue) 80%, white);
    }
*/
    #SidebarMenu.ver-1 ul li:hover ul li:hover {
        background-color: var(--blue);
    }

        #SidebarMenu.ver-1 ul li:hover ul li:hover ul li:hover {
            background-color: var(--secondary);
        }

            #SidebarMenu.ver-1 ul li:hover ul li:hover ul li:hover ul li:hover {
                background-color: var(--blue);
            }

    #SidebarMenu.ver-1 li.menu-displayed a {
        background-color: var(--light) !important;
        color: var(--primary) !important;
    }
    #SidebarMenu.ver-1 li.menu-displayed a:hover {
        color: var(--primary) !important;
    }

    #SidebarMenu.ver-1 .flash {
        background-color: var(--secondary);
        /*animation: flashIn 0.8s ease;*/
    }

@keyframes flashIn {
    from {
        /*background-color: #0000006c;*/
        background-color: #ffda49c0;
        opacity: 0.5;
    }

    to {
        /*background-color: transparent;*/
        background-color: var(--secondary);
        opacity: 1;
    }
}
/* ******************** */

.container-body {
    margin-top: 3.3rem;
    margin-bottom: -2rem;
    /* min-height: calc(100vh - 13rem); */
    height: calc(100vh - 2rem - 3.3rem);
}

body {
    /*height: calc(100vh - 60px);*/
}

@media (max-width: 1666px) {
    /*    .container-body {
        min-height: calc(100vh - 134px)
    }*/
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    white-space: nowrap;
    line-height: normal !important;
    background-color: white;
    height: 3.3rem;
    z-index: 10;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: normal !important;
    background-color: white;
    height: 2rem;
}

h1.h1-title {
    z-index: 1000;
    /*margin-bottom:3rem;*/
    width: 100%;
    position: absolute;
    background-color: white;
}

    h1.h1-title a.menu-tab {
        position: absolute;
        color: white;
        margin-left: -0.9rem;
        padding-left: 1rem;
        padding-right: 0.9rem;
        padding-top: 0.14rem;
        padding-bottom: 0.14rem;
        background-color: var(--blue);
        border-radius: 0 0 0.28rem;
    }

        h1.h1-title a.menu-tab:hover {
            text-decoration-line: none;
        }

        h1.h1-title a.menu-tab.turn-down {
            opacity: 0.2;
            padding-left: 0rem;
            width: 1rem;
            /*height: 2.6rem;*/
            height: 10rem;
        }

            h1.h1-title a.menu-tab.turn-down:hover {
                opacity: 1;
                width: auto !important;
                /*width:2rem;*/
            }

            /*h1.h1-title a.menu-tab.turn-down:hover:before {
                font-size: 1rem;
                content: '';
                padding-left:1.0rem;
                content: '\e5d7';
                font-family: 'Material Icons';
                transform: rotate(90deg);
            }*/
            h1.h1-title a.menu-tab.turn-down span {
                display: none;
            }

div.title-spacer {
    /*margin-bottom: 3rem;*/
    height: 3rem;
}

/* システム名 */
a.app-logo {
    background-image: url('../logo/logo-0.png');
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
    min-width: 2.3rem;
    min-height: 2.3rem;
}

    a.app-logo span {
        margin-left: 2.6rem;
        font-size: 0.8rem;
    }

.build-date {
    content: 'システム更新日: ';
    font-size: 0.8rem;
    color: white;
    opacity: 0.5;
}
.build-date:before{
    content:'システム更新日: ';
}

label.col-form-label {
    white-space: nowrap;
}

/* ************************************************************* */
/* アイコンなど */
/* ************************************************************* */
/* 開閉マーク */
.toggle-mark:after {
    content: "\e5cf";
    font-family: 'Material Icons';
    float: right;
}

/* ************************************************************* */
/* Bootstrap上書き系 */
/* ************************************************************* */

/* navbar*/
.navbar {
    padding: 0.1rem 1rem !important;
    height: 3.3rem;
}

/* ドロップダウンメニュー */
nav ul.dropdown-menu:not(.submenu) {
    padding-right: 20%;
}

/* タブ */
.nav-tabs {
    border-bottom: 1px solid #c0c0c0;
}

    .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
        border-top-left-radius: 0.7rem;
        border-top-right-radius: 0.7rem;
        color: #495057;
        background-color: #fff;
        border-color: #c0c0c0 #c0c0c0 #fff #c0c0c0;
        border-width: 1px;
    }

/*ul.dropdown-menu li:hover {
    background-color: var(--primary);
    color: white;
}*/

ul.dropdown-menu.dropdown-menu-right.bg-nav.show {
    z-index: 9999 !important;
}

.dropdown-item:hover {
    background-color: var(--primary);
    color: white;
}

/*右揃え*/
.dropdown-menu-right {
    right: 0;
    left: auto !important;
}

/* footer */
body > footer {
    /*position: absolute;*/
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: normal !important;
    background-color: white;
    z-index: 1039 !important;
    /* .modal-backdrop: 1040 */
}

body > footer {
    color: white !important;
}

div.nav-tabs button.nav-link:disabled {
    opacity: 0.5;
}

.v-spacer {
    padding-bottom: 2.2rem;
}

/* ページネーション */
.pagination {
    margin-top: 1rem;
}

/* アコーディオン*/
.accordion-button.collapsed {
    color: #0c63e4 !important;
    background-color: #e7f1ff !important;
}

/* ドロップダウンメニュー */
nav ul.dropdown-menu:not(.submenu) {
    padding-right: 20%;
}

/*ul.dropdown-menu li:hover {
    background-color: var(--primary);
    color: white;
}*/

.dropdown-item:hover {
    background-color: var(--primary);
    color: white;
}

.dropdown-item.disabled,
.dropdown-item:disabled {
    color: #adb5bd !important;
    pointer-events: none !important;
    background-color: transparent !important;
}

/* アコーディオン */
.accordion-button {
    box-shadow: none !important;
    padding: 0.5rem 0.5rem;
}

.accordion-body {
    border-top: 1px solid rgba(0, 0, 0, .125);
}

#SearchItems .accordion-body + .accordion-header .accordion-bottom-button {
}

/* モーダル */
.modal-content {
    border: none;
    box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.35);
    border-radius: 0.6rem;
}

.modal-header {
    padding: 0.25rem 0.5rem;
    /*background-color: #3184ff;*/
    background-color: var(--primary) !important;
    border-bottom: none;
    align-items: center;
}

.modal-footer {
    padding: 0.25rem 0.5rem;
    background-color: var(--primary) !important;
    border: none;
    align-items: center;
}

.modal-header .btn-close {
    padding: 0;
    margin: 0;
}

.modal-header .modal-title {
    /*font-weight:1000;*/
    color: white;
}

.modal-body {
    border: 0.5rem solid var(--primary) !important;
    border-top: none !important;
}

/* .btn */
.btn-link {
    box-shadow: none !important;
}

a.btn {
    display: inline-flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

/* ボタン行 */
div.row.row-buttons {
    margin-top: 0.5rem;
    /*padding-top: 0.5rem;*/
    /*border-top: 1px solid lightgray;*/
}
    /* ボタン行にあるボタン ※様子見 */
    div.row.row-buttons .btn:not([name="addressBtn"]):not(.btn-card),
    div.row div:not(.input-group) > .btn:not([name="addressBtn"]):not([class*="icon-"]):not(.btn-card),
    div.form-row .btn:not([name="addressBtn"]):not(.btn-card) {
        min-width: 8rem !important;
    }

div.row.row-buttons {
    /*border: red solid 1px !important;*/ /*確認用*/
    min-width: 8rem !important;
}

#SearchForm > div.row.g-3.align-items-center.mt-3 {
    /*border: red solid 1px !important;*/
}

/* 勧告カード */
.btn-card {
    aspect-ratio: 7.5 / 10.5;
    max-width: 1.2rem;
    min-width: 1.2rem;
    padding: 0;
    border-radius: 0.15rem !important;
}

    .btn-card.btn-danger:before {
        content: 'RED';
        display: inline-block;
        font-size: 0.8rem !important;
        font-weight: bold;
        transform: rotate(-90deg);
        position: relative;
        right: 2px;
    }

    .btn-card.btn-warning:before {
        content: 'Yellow';
        display: inline-block;
        font-size: 0.6rem !important;
        transform: rotate(292deg);
        position: relative;
        bottom: 1px;
        right: 4px;
    }

    .btn-card.btn-info:before {
        content: 'GReeN';
        display: inline-block;
        font-size: 0.55rem !important;
        transform: rotate(292deg);
        position: relative;
        bottom: 1px;
        right: 4px;
    }

/* サイドバー検索ボタン */
button[name="QuickSearch"] {
    height: 2rem;
    border: solid 1px #0000001c;
}

    button[name="QuickSearch"].disabled {
        border: solid 1px #0000001c;
    }

/* hタグ */
h1 {
    font-size: 1.9rem;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.4rem;
}

h5 {
    font-size: 1.2rem;
}

.form-check-input[type="checkbox"]:not(.switch) {
    min-width: 1rem;
    max-width: 1rem;
}

/* input-group-text内にチェックボックス */
/* チェックボックスは<label><input>text</label>の構成であること */
.input-group-text label.form-check-label {
    width: 100%;
    margin-left: 1.5rem;
    display: grid;
    align-items: center;
}

.badge.disabled {
    opacity: .5;
}

.badge-sm {
    line-height: 0.8rem;
}
/*div.cat-group div.col-sm-3{
    padding-right:0rem !important;
    max-width:15rem;
}
    div.cat-group div.col-sm-3 div.form-check-inline{
        margin-right:0rem;
    }
*/
div.row div.col-sm-3 {
    padding-right: 0rem !important;
    max-width: 15rem;
}

    div.row div.col-sm-3 div.form-check-inline {
        margin-right: 0rem;
    }

div.row div.col-3 {
    padding-right: 0rem !important;
    max-width: 15rem;
}

    div.row div.col-3 div.form-check-inline {
        margin-right: 0rem;
    }

div.row:hover {
    /*filter: drop-shadow(1px 1px 4px #4090d58f);*/
    /*text-decoration:underline;*/
    /*border-bottom:  solid 1px #4090d58f !important;*/
}

.row {
    /*margin:0.1rem;*/
    /*padding-top:0.1rem;*/
    line-height: 1rem !important;
}

/*.input-group-sm :not(textarea):not([type="checkbox"]):not([type="radio"]):not(.required-field):not(.prefix-code) {
    min-height: 1.68rem !important;
    height: 1.68rem !important;
}*/
.input-group-sm :not(textarea):not([type="checkbox"]):not([type="radio"]):not(.required-field) {
    min-height: 1.68rem !important;
    height: 1.68rem !important;
}

.input-group-sm .form-check-label {
    line-height: 1.68rem !important;
}

#SearchItems .col-form-label {
    line-height: 1.1rem;
}

/*
    a.accordion-button:after {
    width: 1rem;
    height: 1rem;
    background-size: auto;
}
a.accordion-button.collapsed {
    background-color:none !important;
}
*/

main .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* ********************************* */
/* チェックボタン */
label.btn-outline-primary {
    color: #cbcbcb !important;
    background-color: #3373a9 !important;
    border-color: #3373a9 !important;
}

    label.btn-outline-primary:active {
        color: #fff !important;
        /*background-color: none !important;*/
        /*border-color: none !important;*/
    }

    label.btn-outline-primary:not(:disabled):not(.disabled):active {
        color: #cbcbcb !important;
        background-color: #3373a9 !important;
        border-color: #3373a9 !important;
    }
/* チェックボタンTrue時 */
.btn-check:checked + .btn-outline-primary {
    color: #fff !important;
    background-color: var(--blue) !important;
    border-color: var(--blue) !important;
}
/* ********************************* */

button[name="addressBtn"] {
    text-align: center !important;
    align-items: baseline;
    font-size: 0.8rem !important;
    line-height: 0.8rem !important;
}

input[data-form-field="zipCode"] {
    max-width: calc(10ch + 0.5rem) !important;
}
/* ********************************* */
/* .badge風チェックボックス */
/*  <!--サンプル-->
    <label class="badge-check">
        <input type="checkbox" class="badge-check" />
        <span class="badge-check-text">テキスト</span>
    </label>
*/
label.badge-check {
    display: inline-block;
    cursor: pointer;
    margin-top: 0.5rem;
    margin-right: 0.5rem;
    user-select: none;
}

    label.badge-check.badge-check-sm {
        margin-top: 0.25rem;
        margin-bottom: 0.25rem;
        /*min-height: 1.68rem !important;*/
    }

    /* チェック無し状態の表示 */
    label.badge-check span.badge-check-text {
        display: inline-block;
        font-size: 0.8rem;
        font-weight: 300;
        /*background-color: var(--blue) !important;*/
        background-color: color-mix(in srgb, var(--blue) 50%, transparent) !important;
        border: solid 1px #00000000;
        border-radius: 0.6rem;
        padding: 0.2rem 0.5rem !important;
        /*opacity: 0.5 !important;*/
        color: white;
        /*transition: all 0.2s;*/
        white-space: nowrap;
    }

    label.badge-check.dark span.badge-check-text { /* 色違い */
        opacity: 1 !important;
        background-color: #2d6392 !important;
        color: lightgray;
    }

    label.badge-check.red span.badge-check-text { /* 色違い */
        opacity: 1 !important;
        background-color: red !important;
        color: white;
    }
/* input-group ※試用 */
.input-group label.badge-check {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

    .input-group label.badge-check span.badge-check-text {
        border-radius: 0rem;
    }

    .input-group label.badge-check:not(:first-child) span.badge-check-text {
        border-left: solid 1px #005ba8;
    }

    .input-group label.badge-check:first-child span.badge-check-text {
        border-top-left-radius: 0.6rem !important;
        border-bottom-left-radius: 0.6rem !important;
    }

    .input-group label.badge-check:last-child span.badge-check-text {
        border-top-right-radius: 0.6rem !important;
        border-bottom-right-radius: 0.6rem !important;
    }

    .input-group label.badge-check ~ input[type="text"],
    .input-group label.badge-check ~ input[type="date"],
    .input-group label.badge-check ~ select {
        margin-top: 0.25rem;
        margin-bottom: 0.25rem;
    }
/* input-group ※試用 */

/* チェックボックス自体は表示しない */
label.badge-check input.badge-check {
    display: none;
}
    /* 非活性状態 */
    label.badge-check input.badge-check:not(:enabled) ~ span.badge-check-text {
        /*cursor:no-drop;*/
        cursor: initial;
        font-weight: 400;
        background-color: gray !important;
        opacity: 0.5 !important;
    }
    /* 選択時の表示（非活性） */
    label.badge-check input.badge-check:not(:enabled):checked ~ span.badge-check-text {
        opacity: 0.6 !important;
        background-color: var(--blue);
        font-weight: bold;
    }
    /* 選択時の表示 */
    label.badge-check input.badge-check:checked ~ span.badge-check-text {
        background-color: var(--blue) !important;
        /*opacity: 1 !important;*/
        color: white;
        font-weight: bold;
    }

label.badge-check.dark input.badge-check:checked ~ span.badge-check-text { /* 色違い */
    background-color: var(--blue) !important;
    color: white;
}
/* hover時の表示（活性時のみ） */
label.badge-check input.badge-check:enabled ~ span.badge-check-text:hover {
    box-shadow: 0px 0px 0.3rem 0.1px var(--blue);
    opacity: 0.8 !important;
}

/* ********************************* */

/* ********************************* */
/* .badge風チェックボックスのラジオボタン版 */
/*  <!--サンプル-->
    <label class="badge-radio">
        <input type="radio" class="badge-check" name="group-a"/>
        <span class="badge-check-text">テキスト</span>
    </label>
*/
label.badge-radio {
    display: inline-block;
    cursor: pointer;
    margin-top: 0.15rem;
    margin-left: 0.25rem;
    margin-right: 0.25rem;
    /*padding-right:0.1rem;*/
    user-select: none;
}

label.badge-radio-sm {
    margin-top: 0.25rem;
}

/* チェック無し状態の表示 */
label.badge-radio span.badge-check-text {
    display: inline-block;
    font-size: 0.8rem;
    /*background-color: var(--blue) !important;*/
    background-color: #00000000 !important;
    border: solid var(--blue);
    border-radius: 0.6rem;
    border-width: 0.1rem;
    padding: 0.2rem 0.5rem !important;
    margin-top: 0.1rem;
    margin-bottom: 0.1rem;
    opacity: 0.5 !important;
    /*color: white;*/
    /*transition: all 0.2s;*/
}

/* ボタン自体は表示しない */
label.badge-radio input.badge-check {
    display: none;
}
    /* 非活性状態 */
    label.badge-radio input.badge-check:not(:enabled) ~ span.badge-check-text {
        /*cursor:no-drop;*/
        cursor: initial;
        font-weight: 400;
        background-color: gray !important;
        border-color: #00000000 !important;
        opacity: 0.5 !important;
    }
    /* 選択時の表示 */
    label.badge-radio input.badge-check:checked ~ span.badge-check-text {
        opacity: 1 !important;
        padding: 0.2rem calc(0.5rem - 0.1rem) !important;
        border-width: 0.2rem;
        border-radius: 0.68rem;
        margin-top: 0;
        margin-bottom: 0;
        font-weight: bold;
    }
    /* 選択時の表示（非活性） */
    label.badge-radio input.badge-check:not(:enabled):checked ~ span.badge-check-text {
        opacity: 0.5 !important;
        background-color: #00000000 !important;
        border: solid var(--blue) !important;
    }
    /* hover時の表示（活性時のみ） */
    label.badge-radio input.badge-check:enabled ~ span.badge-check-text:hover {
        box-shadow: 0px 0px 0.3rem 0.1px var(--blue);
        opacity: 0.8 !important;
    }
/* ********************************* */


/* ************************************************************* */
/* サイズ関連 */
/* ************************************************************* */
/* 文字数で幅を指定 ※1remは指定されているフォントサイズの高さ */
/* marginやpaddingは考慮していないので注意すること */
.w-len-25 {
    max-width: 25rem !important;
    min-width: 25rem !important;
}

.w-len-20 {
    max-width: 20rem !important;
    min-width: 20rem !important;
}

.w-len-15 {
    max-width: 15rem !important;
    min-width: 15rem !important;
}

.w-len-12 {
    max-width: 12rem !important;
    min-width: 12rem !important;
}

.w-len-11 {
    max-width: 11rem !important;
    min-width: 11rem !important;
}

.w-len-10 {
    max-width: 10rem !important;
    min-width: 10rem !important;
}

input[type="number"].w-len-10, .fmt-dec.w-len-10 {
    max-width: calc(10ch + 1.5rem) !important;
    min-width: calc(10ch + 1.5rem) !important;
}

.w-len-9 {
    max-width: 9rem !important;
    min-width: 9rem !important;
}

.w-len-8 {
    max-width: 8rem !important;
    min-width: 8rem !important;
}

input[data-field="code"].w-len-8,
input[data-popup="code"].w-len-8,
input[type="number"].w-len-8 {
    max-width: calc(8ch + 1.5rem) !important;
    min-width: calc(8ch + 1.5rem) !important;
}

.w-len-7 {
    max-width: 7rem !important;
    min-width: 7rem !important;
}

input[data-field="code"].w-len-7,
input[data-popup="code"].w-len-7,
input[type="number"].w-len-7 {
    max-width: calc(7ch + 1.5rem) !important;
    min-width: calc(7ch + 1.5rem) !important;
}

.w-len-6 {
    max-width: 6rem !important;
    min-width: 6rem !important;
}

input[data-field="code"].w-len-6,
input[data-popup="code"].w-len-6 {
    max-width: calc(6ch + 1.5rem) !important;
    min-width: calc(6ch + 1.5rem) !important;
}

input[type="number"].w-len-6 {
    max-width: calc(6ch + 2rem) !important;
    min-width: calc(6ch + 2rem) !important;
}

.w-len-5 {
    max-width: 5rem !important;
    min-width: 5rem !important;
}
input[type="number"].w-len-5 {
    max-width: calc(5ch + 1.5rem) !important;
    min-width: calc(5ch + 1.5rem) !important;
}

.w-len-4 {
    max-width: 4rem !important;
    min-width: 4rem !important;
}

input[data-field="code"].w-len-4,
input[data-popup="code"].w-len-4,
input[type="number"].w-len-4 {
    max-width: calc(4ch + 1.5rem) !important;
    min-width: calc(4ch + 1.5rem) !important;
}

.w-len-3 {
    max-width: 3rem !important;
    min-width: 3rem !important;
}

input[data-field="code"].w-len-3,
input[data-popup="code"].w-len-3,
input[type="number"].w-len-3 {
    max-width: calc(3ch + 1.5rem) !important;
    min-width: calc(3ch + 1.5rem) !important;
}

.w-len-2 {
    max-width: 2rem !important;
    min-width: 2rem !important;
}

input[data-field="code"].w-len-2,
input[data-popup="code"].w-len-2,
input[type="number"].w-len-2 {
    max-width: calc(2ch + 1.5rem) !important;
    min-width: calc(2ch + 1.5rem) !important;
}

.w-len-1 {
    max-width: 1rem !important;
    min-width: 1rem !important;
}

input[data-field="code"].w-len-1,
input[data-popup="code"].w-len-1,
input[type="number"].w-len-1 {
    max-width: calc(1ch + 1.5rem) !important;
    min-width: calc(1ch + 1.5rem) !important;
}

/* 項目名 */
.field-label {
    max-width: 15rem;
}

/* 登録更新情報 */
table.reg-info {
    /*table-layout: fixed;*/
    border-collapse: separate;
    border-spacing: 0;
    height: fit-content;
}

    table.reg-info * {
        font-size: 0.8rem;
        /*line-height: 0.8rem;*/
        /*border: 1px solid red;*/
    }

    table.reg-info tbody tr {
    }

        table.reg-info tbody tr * {
        }

        table.reg-info tbody tr td {
            padding: 0;
            white-space: nowrap;
            height: 0.9rem !important;
            line-height: 0.9rem !important;
            vertical-align: top;
            border: none;
            padding-left: 0.5rem;
        }

            table.reg-info tbody tr td * {
                /*max-height: 0.9rem;*/
                display: block;
                padding-right: 0.5rem;
            }

/* 退職者表示 */
.retired {
    opacity: 0.4;
}

    .retired:after {
        content: '\e7fd';
        font-family: 'Material Icons';
        position: relative;
        bottom: -0.1rem;
        opacity: 1;
    }

/* コード入力項目 */
input[data-field="code"],
input[data-popup="code"],
input[data-form-field="code"] {
    text-align: center;
}

/* 入力共通 */
/* 日付（yyyy/mm/dd） */
input[type="date"] {
    text-align: center;
    max-width: 6.4rem !important;
    min-width: 6.4rem !important;
}

input[type="month"] {
    text-align: center;
    max-width: 7rem !important;
    min-width: 7rem !important;
}

input[type="time"] {
    text-align: center;
    max-width: 7rem !important;
    min-width: 7rem !important;
}

/* 数値 */
input[type="number"],
input.numeric:not([name*="zip"]):not([name*="Zip"]):not([name*="ZIP"]):not([data-form-field="zipCode"]):not([data-form-field*="ZipCode"]):not([data-popup="code"]):not(.with-hyphen) {
    text-align: right !important;
}

/* ルート - 事業所接頭CD */
span.prefix-code, span.ps-prefix-code {
    max-width: 8ch;
    min-width: 8ch;
    display: flex;
    justify-content: center;
    color: #00000057;
    font-weight: 600;
}
/* 事業所プルダウン */
select[id$="acilityId"], select[name$="acilityId"], select[class$="acility-id"] {
    max-width: max-content;
    padding-right:2rem !important;
}

/* ************************************************************* */
/* ************************************************************* */
/* その他固有など */
/* ************************************************************* */

/* .btnが適用されているラジオボタンフォーカス時のフォーカス線非表示 */
.btn-check:focus + .btn,
.btn.noshadow:focus {
    box-shadow: none !important;
}

.no-link-style {
    color: inherit;
    text-decoration: none;
}

/* .table */
.table-container {
    overflow-x: scroll;
    overflow-y: scroll;
    max-height: 60vh;
    border-top: 1px solid black;
}

/* ************************************************************* */
/* #table-dataのヘッダー行を固定 */
/* sticky-2は太い罫線を表現する */
/* ************************************************************* */
table#table-data thead tr.sticky-1, table#imported-data thead tr.sticky-1 {
    position: sticky;
    top: 0;
    z-index: 3;
    background-color: white;
    border-bottom: none;
    /*border-top: 1px black;*/
}

    table#table-data thead tr.sticky-1 th, table#imported-data thead tr.sticky-1 th {
        padding-bottom: 0.1rem;
    }

table#table-data thead tr.sticky-2, table#imported-data thead tr.sticky-2 {
    position: sticky;
    top: 37px; /*ここが不安*/
    z-index: 2;
    background: #000 !important;
    border: none;
}

    table#table-data thead tr.sticky-2 th, table#imported-data thead tr.sticky-2 th {
        height: 2px !important;
        padding: 0;
        border: none;
    }

table#table-data td, table#imported-data td {
    border-top: none;
}
/* ************************************************************* */

table#table-data tbody tr:hover td, table#imported-data tbody tr:hover td {
    /*background-color: #fff2a6 !important;*/
    background-color: lightyellow !important;
}

.table-container .table thead th {
    /*position: sticky;*/
    /*top: 0;*/
    /*z-index: 2;*/
    /*background-color: white;*/
    border: none;
}

.table-container table td {
    white-space: nowrap;
}

.table-container table th {
    white-space: nowrap;
}

/* 最終列を固定表示 */
.table-container.with-links tr:not(.sticky-2) td:last-child,
.table-container.with-links tr:not(.sticky-2) th:last-child {
    position: sticky;
    right: 0;
    background: linear-gradient(to left, #ffffff 64%, #ffffff8c calc(100% - 3px), #dee2e6);
}

/* 検索結果のtr:hover背景色を変更 */
table.result tbody tr:hover {
    /*border:;*/
    background-color: #4090d53d;
    /*var(--primary);*/
    background-color: #e7f1ff;
    cursor: pointer;
    border-radius: 0.28rem;
}

/* 明細行の入力欄（input、select）に枠線を表示しない */
table.input-details input:not([type="checkbox"]),
table.input-details select {
    padding: 0;
    margin: 0;
    line-height: 1rem;
    border: 0 none !important;
    background: none;
}

    table.input-details input:not([type='checkbox']):focus,
    table.input-details select:focus {
        background-color: white;
        /* フォーカス時の背景は白 */
    }

.table-container.result-10 {
    max-height: 10rem;
    /* 任意の高さを設定 */
    overflow-y: auto;
    /* 垂直方向のスクロールを有効にする */
}

    .table-container.result-10 table {
        border-collapse: collapse;
    }

    .table-container.result-10 thead {
        position: sticky;
        top: 0;
        background-color: white;
        /* 背景色を設定して、スクロール中もヘッダーが見やすくする */
        z-index: 1;
        border-bottom: solid black 2px;
    }

        .table-container.result-10 thead tr th {
            border-bottom: solid black 2px;
        }

/* 入力欄にフォーカスした明細行用 */
tbody .focus-row {
    /*background-color: lightyellow;*/
    /*border-left: solid 5px blue;*/
    background: linear-gradient(to right, blue 1px, lightyellow 2px);
}

tbody .row-new {
    background-color: greenyellow;
}

tbody tr.focus-row input,
tr.focus-row select,
tr.focus-row textarea,
tr.focus-row input {
    font-weight: bold;
}

tbody tr.focus-row-border {
    /*border-left: solid 5px blue;*/
}

tbody tr.focus-row-font {
    font-weight: bold;
}

tbody tr.focus-row-bg {
    background-color: lightyellow;
}

table.input-details td {
    padding: 0 !important;
}

table#table-data tbody tr td, table#imported-data tbody tr td {
    padding-top: 0.38rem !important;
    padding-bottom: 0.18rem !important;
}

/* table列開閉 */
th.collapse-col {
    cursor: pointer;
}

    th.collapse-col:not(.collapsed):after {
        content: '\e5c5';
        font-family: 'Material Icons';
        display: inline-block;
        transform: rotate(90deg);
        font-size: 0.7rem;
    }

    th.collapse-col:not(.collapsed):hover:after {
        /*text-shadow:0px 0px 7px red;*/
        text-decoration: overline;
    }

    th.collapse-col.collapsed:before {
        content: '\e5c5';
        font-family: 'Material Icons';
        display: inline-block;
        transform: rotate(270deg);
        font-size: 0.7rem;
    }

    th.collapse-col.collapsed:hover:before {
        /*text-shadow: 0px 0px 7px red;*/
        text-decoration: overline;
    }

    th.collapse-col.collapsed, td.collapsed * {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        max-width: 2rem !important;
        /*background-color: #4090d514 !important;*/
        /*background-color: #4090d5 !important;*/
        background-color: #dee2e640 !important;
        margin-left: 0px;
        padding-left: 5px;
        padding-right: 5px;
        box-sizing: border-box;
        /*animation: collapse-col 1.5s ease forwards;*/
    }

        th.collapse-col.collapsed span {
            display: none;
            overflow: hidden;
            /*white-space: nowrap;*/
            /*text-overflow: ellipsis;*/
            max-width: 2rem !important;
            /*background-color: #4090d514 !important;*/
            /*background-color: #4090d5 !important;*/
            background-color: #dee2e640 !important;
            margin-left: 0px;
            padding-left: 5px;
            padding-right: 5px;
            box-sizing: border-box;
        }

td.collapsed {
    color: transparent;
}

    td.collapsed * {
        visibility: hidden;
        /*margin: 2rem !important;*/
        opacity: 0 !important;
        display: none;
    }

@keyframes collapse-col {
    from {
        width: 5rem !important;
        max-width: 5rem !important;
    }

    to {
        width: 2rem !important;
        max-width: 2rem !important;
    }
}

th.collapsed, td.collapsed {
    max-width: 2rem !important;
    cursor: w-resize;
    overflow: hidden;
}

/* アコーディオン詳細 */
.detail-group {
    /*background: #EBF1F5 !important;*/
    background-color: #4090d529 !important;
    border-top: 1px solid #a9a9a94a !important;
    border-bottom: 1px solid #a9a9a94a !important;
}

/* 注意書き */
span.notes {
    font-size: 0.8rem;
}

.notes.note-danger {
    color: var(--danger);
}

.notes.note-info {
    color: var(--info);
}

.notes.note-warning {
    color: var(--warning);
}

span.notes.outline {
    font-size: 0.8rem;
    border-radius: 0.28rem;
    border-width: 1px;
    border-style: solid;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
}

    span.notes.outline.note-danger {
        border-color: var(--danger);
    }

    span.notes.outline.note-info {
        border-color: var(--info);
    }

    span.notes.outline.note-warning {
        border-color: var(--warning);
    }

/* 通信中 */
div.loading-back {
    z-index: 10000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /**/
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

    div.loading-back div.loading {
        z-index: 2147483647;
        /*z-indexのMax値です*/
        position: absolute;
        margin: auto;
        inset: 0;
    }

    div.loading-back::after {
        content: "通信中";
        animation: accessing 1.5s ease-in-out infinite alternate;
    }

    div.loading-back.bg-0 {
        /* 背景色なし */
        background-color: transparent;
    }

    div.loading-back.bg-1 {
        /* 背景白 */
        background-color: #ffffff96;
    }

    div.loading-back.bg-2 {
        /* 背景黒 */
        background-color: #0000004b;
    }

    div.loading-back.bg-3 {
        /* 背景赤 */
        background-color: #ff5a5a4b;
    }

@keyframes accessing {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.submit-back {
    z-index: 999;
    position: absolute;
    inset: 0px;
    margin: auto;
    background-color: gray;
    opacity: 0.4;
}

/* アコーディオンの最下部に開閉機能（閉じる） */
.accordion-bottom-button {
    border-top: 1px solid rgba(0, 0, 0, .125);
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.draggable-box {
    margin-right: 0.5rem;
    position: relative;
}

    .draggable-box .btn-outline-primary:hover {
        background-color: #0d6efd66;
        border-color: #0d6efd;
        color: #0d6efd;
    }

.btn-gray {
    background: lightgray;
    border: 1px solid #234376;
}

    .btn-gray:hover,
    .btn-gray:active {
        background: darkgray;
        color: #ffffff;
    }

/* cat-group */
.cat-group .col-form-label {
    padding-top: 0rem;
    padding-bottom: 6px;
    padding-bottom: 0rem;
}

.cat-group .multilines .row {
    padding-top: 0rem;
    padding-bottom: 1px;
}

#cat-shipping > div:nth-child(6) > div.col-sm-10 > div > div.input-group.row.mx-0.default-line {
}

table.sticky-last th:last-child,
table.sticky-last td:last-child {
    position: sticky !important;
    right: 0 !important;
}

    table.sticky-last th:last-child:before,
    table.sticky-last td:last-child:before {
        content: "\00a0";
        display: block;
        position: absolute;
        /*background: #fff;*/
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: -1;
    }

.sticky-last td:last-child:before {
    background: linear-gradient(to right, transparent, #b5c8e8) !important;
}

_table.sticky-before-last th:nth-last-child(0),
_table.sticky-before-last td:nth-last-child(0) {
    position: sticky !important;
    right: 35px !important;
}

.font-small {
    font-size: small;
}

.align-content {
    align-content: center;
}

.custom-table td,
.custom-table th {
    vertical-align: middle;
}

/* 水平方向Collapse ※閉じるアニメが動かない */
.collapse-h {
    display: none;
    /*width:0px;*/
}

    .collapse-h.show {
        display: table-cell;
        animation: collapse-h-s 0.5s 1;
    }

    .collapse-h.close {
        /*display: table-cell;*/
        /*width: auto;*/
        animation: collapse-h-s 0.2s 1 reverse;
    }

@keyframes collapse-h-s {
    0% {
        width: 0px;
        opacity: 0;
    }

    50% {
        width: 80%;
        opacity: 0.8;
    }

    100% {
        width: auto;
        opacity: 1;
    }
}

/* カスタムプルダウン用 */
ul.dropdown-menu.custom-pd {
    max-height: 10rem;
    overflow-y: scroll;
    width: auto;
}

/* 右上固定 */
div.right-top-container {
    max-width: fit-content;
    position: absolute;
    right: 0px;
}

/* 商品個別設定名用ラベル */
/*div.form-floating label[for*="floating"] {*/
div.form-floating > label {
    opacity: 0.6;
    font-size: 0.8rem !important;
    position: absolute;
    top: 0.4rem;
    padding: 0;
    height: 1rem;
}

.form-floating > .form-control, .form-floating > .form-select {
    height: auto;
}

.form-floating input.has-label-text {
    padding-top: 0.7rem !important;
}
/* jQuery-ui - datepicker */
#ui-datepicker-div {
    border: solid 5px var(--blue) !important;
    padding: 4px !important;
    border-radius: 0.28rem !important;
}

/* ********************************************
    jquery-ui カスタムカレンダー ↓↓↓
******************************************** */
.ui-datepicker {
    width: auto;
    padding: .2em .2em 0;
    display: none;
}

    .ui-datepicker table {
        /*font-size: 0.7em;*/
    }

    .ui-datepicker,
    .ui-datepicker table,
    .ui-datepicker tr,
    .ui-datepicker td,
    .ui-datepicker th {
        padding: 0;
        border: none;
        border-spacing: 0;
        z-index: 1061 !important;
    }

        .ui-datepicker th:nth-child(0) span {
            color: red !important;
        }

        .ui-datepicker td {
            margin: 0 !important;
        }

/*.ui-datepicker tr:nth-child(odd) td a {
    background-color: #ccf0f8;
}
.ui-datepicker tr:nth-child(even) td a {
    background-color: #e5f9ff;
}*/

/* 選択済みの日付 */
td.ui-datepicker-current-day {
    border: solid 2px !important;
    border-color: black;
}

    td.ui-datepicker-current-day a.ui-state-active {
        /*border: solid 1px #ffbf79 !important;*/
        color: var(--blue) !important;
        color: black !important;
    }

.ui-datepicker td a.ui-state-default {
    border: 0 !important;
    padding: 10px !important;
}

.ui-datepicker tr td a.ui-state-highlight {
    background-color: #ffffcc !important;
    border: 0 !important;
    padding: 10px !important;
}

.ui-datepicker button.ui-state-default {
    border: 0 !important;
    background: transparent;
    color: var(--blue) !important;
}

.ui-datepicker-buttonpane {
    border: 0 !important;
    /*display: none;*/
}

.ui-datepicker-prev span {
    background-position: -96px -48px !important;
}

.ui-datepicker-next span {
    background-position: -30px -48px !important;
}

.ui-datepicker .ui-datepicker-prev {
    left: 60px !important;
}

.ui-datepicker .ui-datepicker-next {
    right: 60px !important;
}

a.ui-priority-secondary {
    font-size: 0.7rem !important;
    opacity: 0.4 !important;
}

div.ui-datepicker-header {
    border: none !important;
    padding: 0 !important;
    background: none !important;
}

a.ui-datepicker-prev:hover {
    background: none !important;
    border: none !important;
    cursor: pointer !important;
}

a.ui-datepicker-next:hover {
    background: none !important;
    border: none !important;
    cursor: pointer !important;
}

/* 日付ピッカーを単体表示させる（Edge、Chromeで確認） */
/* javascriptでピッカーを強制表示させる */
/* document.getElementById('要素ID').showPicker(); */
input[type="date"].only-picker {
    font-size: 2rem !important;
    background: none !important;
    background-size: 1rem !important;
    border: none !important;
    max-width: 2rem !important;
    padding: 0px !important;
    margin-top: -0.8rem !important;
    margin-bottom: -1.1rem !important;
}

    input[type="date"].only-picker:hover,
    input[type="date"].only-picker:active,
    input[type="date"].only-picker:focus {
        border: none;
    }

/* ブラウザ標準のピッカーアイコンを非表示 */
/* Chrome, Safari, Edge */
input[type="date"] {
    -webkit-appearance: none !important;
    appearance: none !important;
}

    /* Firefox */
    input[type="date"]::-webkit-calendar-picker-indicator {
        display: none !important;
    }
/* ********************************************
    jquery-ui カスタムカレンダー ↑↑↑
******************************************** */

/* 表週 */
td.week-f a {
    background-color: #6adfff1a !important;
}

/* 裏週 */
td.week-b a {
    background-color: #00dbff45 !important;
}

/* 請求管理画面用 */
/* プログレスバー上書き */
.progress {
    background-color: darkgray;
}

.progress-bar {
    overflow: visible;
    color: #fff;
    text-align: left;
    padding: 0.5rem;
}

input[type=date]::-webkit-calendar-picker-indicator {
    visibility: hidden;
}

/* input:read-only {
    pointer-events: none;
} */

/* 入力必須項目 */
.required-field {
    font-size: 0.7em;
    font-weight: bold;
    color: red;
    border: 1px solid red;
    padding: 0.05em 0.1em;
    margin-left: 0.5em;
    border-radius: 0.28rem;
}

.bg-gray {
    background-color: #d4d5d6 !important;
}

.force-rounded-left {
    border-top-left-radius: 0.2rem !important;
    border-bottom-left-radius: 0.2rem !important;
}

.force-rounded-right {
    border-top-right-radius: 0.2rem !important;
    border-bottom-right-radius: 0.2rem !important;
}

.line-height-15 {
    line-height: 1.5;
}

/* 検索ポップアップ入力欄*/
#textSearch {
    width: 100% !important;
    max-width: 20rem;
}

/* ************************************* */
/* select要素にplaceholderをつけてみよう */
/* ************************************* */
.select-wrapper {
    background-color: white !important;
    position: relative;
    /*display: inline-block;*/
}

.select-placeholder {
    position: relative;
    padding: 0.25rem;
    margin-right: 1rem;
    margin-left: 0rem;
    pointer-events: none;
    color: #C0CDDC;
    opacity: 1;
    display: flex;
    align-items: center;
    border: 1px;
    width: 100% !important;
    /*background-color:white !important;*/
    font-size: 1rem;
}

.select-wrapper select[class~="form-select-sm"] + label.select-placeholder {
    padding-left: 0.55rem;
    font-size: 0.85rem !important;
}

.select-wrapper select {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    /*z-index: 1;*/
    background-color: transparent !important;
}

.select-wrapper.has-value select {
    position: absolute;
    top: 0;
    left: 0;
    background-color: white !important;
}

    .select-wrapper.has-value select:disabled {
        background-color: #e9ecef !important;
        opacity: 1;
    }

.select-wrapper:not(.has-value) select:disabled + label.select-placeholder {
    background-color: #e9ecef !important;
    opacity: 1;
}

/* input-group調整 */
.input-group > *:first-child {
    border-top-left-radius: 0.28rem !important;
    border-bottom-left-radius: 0.28rem !important;
}

/*.input-group > :last-child .select-wrapper select {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
*/
.input-group > *:not(:first-child):not(:last-child) select {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
/*.input-group > :not(:last-child) .select-wrapper select {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}*/

/*
#SearchConditions.accordion #SearchItems .row [class^="col"]{
    margin-top:0.5rem !important;
}*/
/* ************************************* */

/* エラーメッセージ ※画面固有の要素も含んでいます */
.field-validation-error span,
div.field-validation-error,
.field-validation-valid,
span[id^="error-"],
span#validation-contractor, span#validation-importDate,
span.forecastTarget-error, span.forecastPeriod-error, span.comparisonPeriod-error {
    font-size: 0.8rem !important;
}

.word-break-all {
    word-break: break-all;
}

.white-space-unset {
    white-space: unset !important;
}

.line-format {
    /* 2行まで表示する「...」のCSSプロパティ */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#notificationModal .message {
    line-height: 1.2;
}


/* ************************************* */
/* input-groupの先頭（末尾）が非表示だった場合でも丸角にする */
/* --------------------------
   通常サイズ
--------------------------- */
.input-group .visible-first {
    margin-left: 0px !important;
    border-top-left-radius: 0.25rem !important;
    border-bottom-left-radius: 0.25rem !important;
}

.input-group .visible-last {
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
}

.input-group .badge-check-text.visible-last {
    border-bottom-right-radius: 0.6rem !important;
}

/* --------------------------
   小サイズ（.input-group-sm）
--------------------------- */
.input-group.input-group-sm .visible-first {
    margin-left: 0px !important;
    border-top-left-radius: 0.28rem !important;
    border-bottom-left-radius: 0.28rem !important;
}

.input-group.input-group-sm .visible-last {
    border-top-right-radius: 0.28rem !important;
    border-bottom-right-radius: 0.28rem !important;
}

.input-group.input-group-sm .badge-check-text.visible-last {
    border-top-right-radius: 0.6rem !important;
    border-bottom-right-radius: 0.6rem !important;
}

/* --------------------------
   大サイズ（.input-group-lg）
--------------------------- */
.input-group.input-group-lg .visible-first {
    margin-left: 0px !important;
    border-top-left-radius: 0.3rem !important;
    border-bottom-left-radius: 0.3rem !important;
}

.input-group.input-group-lg .visible-last {
    border-top-right-radius: 0.3rem !important;
    border-bottom-right-radius: 0.3rem !important;
}

.input-group.input-group-lg .badge-check-text.visible-last {
    border-top-right-radius: 0.6rem !important;
    border-bottom-right-radius: 0.6rem !important;
}

/* （本当はCSSだけで制御したい） */
/* --------------------------
   共通（通常サイズ）
--------------------------- */
/*.input-group > :not([type="hidden"]):not([hidden]):not(.d-none):not(.visually-hidden):first-of-type {
    border-top-left-radius: 0.25rem !important;
    border-bottom-left-radius: 0.25rem !important;
}

.input-group > :not([type="hidden"]):not([hidden]):not(.d-none):not(.visually-hidden):last-of-type {
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
}*/

/* --------------------------
   小サイズ（.input-group-sm）
--------------------------- */
/*.input-group.input-group-sm > :not([type="hidden"]):not([hidden]):not(.d-none):not(.visually-hidden):first-of-type {
    border-top-left-radius: 0.2rem !important;
    border-bottom-left-radius: 0.2rem !important;
}

.input-group.input-group-sm > :not([type="hidden"]):not([hidden]):not(.d-none):not(.visually-hidden):last-of-type {
    border-top-right-radius: 0.2rem !important;
    border-bottom-right-radius: 0.2rem !important;
}*/

/* --------------------------
   大サイズ（.input-group-lg）
--------------------------- */
/*.input-group.input-group-lg > :not([type="hidden"]):not([hidden]):not(.d-none):not(.visually-hidden):first-of-type {
    border-top-left-radius: 0.3rem !important;
    border-bottom-left-radius: 0.3rem !important;
}

.input-group.input-group-lg > :not([type="hidden"]):not([hidden]):not(.d-none):not(.visually-hidden):last-of-type {
    border-top-right-radius: 0.3rem !important;
    border-bottom-right-radius: 0.3rem !important;
}*/
/* ************************************* */


/* ************************************* */
/* 最下段固定ボタン行 */
.bottom-buttons {
    position: sticky;
    bottom: 2.5rem;
    background-color: white;
}

/* ************************************* */

/***/
.hint {
    position: fixed;
    bottom: 10rem;
    right: 0;
}

/* ************************************* */
/* ドラッグアンドドロップ用 */
.drop-active {
    background-color: color-mix(in srgb, var(--blue), white 80%);
}

    .drop-active * {
        opacity: 0.8;
    }

.drop-hover {
    background-color: color-mix(in srgb, var(--blue), white 50%);
    /*background-color: transparent;*/
}
/* ************************************* */
