/* 配置Pro の旧デザインからの共通スタイル（新しい画面の見た目は app-shell.css・road-workspace.css）。
 * 2026-10-12: どの画面にも当たらないルール（警備Pro・教育Pro から来た表・写真・お知らせ・jQuery UI 用など 244 個、約 1,500 行）を削除した。
 *   全画面のスクリーンショットを削除の前後で比べて違いが無いことを確認（__local_docs/work/2026-10-12_共通化第3弾/）。
 */
body {
    color: #4f4f4f;
    /*font-size: 1vh auto;*/
    overflow-x: hidden;
}

html, body {
    height: 100%;
    margin: 0;
}

.navbar {
    width: 100%;
    z-index: 101;
    top: 0;
    position: fixed;
    height: 60px;
    padding-top: 60px;
}

::placeholder {
    color: #d0d0d0 !important;
}

.form-control,
.form-select {
    /*margin-top: 0.3em;*/
}

.form-select {
    color: rgb(0, 0, 0) !important;
    font-weight: 450;
}

.required {
    position: relative;
}

.required:after {
    position: relative;
    width: 3.5em;
    margin-left: 1em;
    margin-top: 0.2em;
    padding: 2px 6px 2px 6px;
    border-radius: 4px;
    font-size: 0.6em;
    color: white;
    background-color: #C44;
    content: "必須";
    min-width: max-content;
    text-wrap: nowrap;
}

input[readonly] {
    pointer-events: none;
}

.input_code {
    width: 5em;
}

.navbar {
    padding: 0;
    background: #ffffff!important;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.09);
}

.navbar_title small {
    padding-top: 0.5em;
    padding-left: 2.5em;
    display: block;
}

.navbar_title a {
    display: block;
}

.valid_text {
    color: red;
    font-size: 0.8em;
    white-space: nowrap;
    margin-bottom: 0;
    z-index: 999;
}

/*.btn_print {
    width: 10vw;
}*/

.btn_print {
    color: #ffffff !important;
    background: #E95B1B !important;
    border-radius: 5px;
    /*margin: 0.5em;*/
    text-decoration: none;
    font-size: 1em;
}

.btn_print:hover {
    color: #E95B1B !important;
    background-color: #ffffff !important;
    text-decoration: none;
    border: 1px solid #E95B1B !important;
}

/* 保存・クリアの確認モーダルの決定ボタン（core/modal/create_confirm_modal.html・clear_confirm_modal.html）。
   以前は警備Proの緑（#00A95F）のままだった。2026-10-10 に .btn_modal_ok と同じ配路線のテーマカラーにした */
.btn_modal {
    color: #ffffff;
    background: var(--app-orange, #ff7a1a);
    border-radius: 5px;
    text-decoration: none;
}

.btn_modal:hover {
    color: var(--app-orange, #ff7a1a);
    background-color: #ffffff;
    text-decoration: none;
    border: 1px solid var(--app-orange, #ff7a1a);
}

/*.btn_modal {
    color: #ffffff;
    background: #00A95F;
    border-radius: 5px;
    width: 6em;
    height: 2.5em;
    margin: 0;
    padding: 1px;
    text-decoration: none;
    font-size: 1em;
}

.btn_modal:hover {
    color: #00A95F;
    background-color: #ffffff;
    text-decoration: none;
    border: 1px solid #00A95F;
}*/

.btn_delete {
    color: #ffffff !important;
    background: #CC4444 !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    border: #CC4444 !important;
    min-width: 10rem;
}

.btn_delete:hover {
    color: #CC4444 !important;
    background-color: #ffffff !important;
    text-decoration: none !important;
    border: 2px solid #CC4444 !important;
}

.btn_search {
    color: #ffffff !important;
    background: #E95B1B !important;
    border-radius: 5px !important;
    margin: 5px 1px 5px 10px !important;
}

.btn_search:hover {
    color: #E95B1B !important;
    background-color: #ffffff !important;
    text-decoration: none !important;
    border: 1px solid #E95B1B !important;
}

.btn_modal_delete {
    color: #ffffff;
    background: #CC4444;
    border-radius: 5px;
    text-decoration: none;
}

.btn_modal_delete:hover {
    color: #CC4444;
    background-color: #ffffff;
    text-decoration: none;
    border: 1px solid #CC4444;
}

/* 確認の「ＯＫ」（共通の確認モーダル・coreConfirm）。配路線のテーマカラー（app-shell.css の --app-orange）。
   --app-orange は <body class="app-shell"> の画面でだけ効くので、効かない画面（共通側の管理画面）用に同じ色を添える */
.btn_modal_ok {
    color: #ffffff;
    background: var(--app-orange, #ff7a1a);
    border-radius: 5px;
    text-decoration: none;
}

.btn_modal_ok:hover {
    color: var(--app-orange, #ff7a1a);
    background-color: #ffffff;
    text-decoration: none;
    border: 1px solid var(--app-orange, #ff7a1a);
}

/* 取り消し（キャンセル・いいえ）。高さ・余白・文字の大きさは決定ボタン（.btn_modal_ok・.btn_modal_delete）と
   同じく Bootstrap の .btn に任せる（2026-10-04）。以前は height: 2.5em・padding: 1px・font-size: 1em で固定していて、
   画面本体（.app-main の .btn は app-shell.css で余白が広い）では決定ボタン 40px に対して 33px ほどになり、
   高さが揃っていなかった。幅は下の「確認モーダルのボタンの幅と間隔」で決定ボタンとそろえる */
.btn_modal_cancel {
    color: #ffffff;
    background: #b2b1b1;
    border-radius: 5px;
    margin: 0;
    text-decoration: none;
}

.btn_modal_cancel:hover {
    color: #b2b1b1;
    background-color: #ffffff;
    text-decoration: none;
    border: 1px solid #b2b1b1;
}

/* 確認モーダルのボタンの幅と間隔をそろえる（2026-10-10）。保存・削除・はい・キャンセルを同じ最小幅にする。
   間隔はボタンの margin（.btn_modal の左 10px、テンプレートの ms-2 など、モーダルごとにばらばら）をやめて gap で取る。
   決定ボタンの左右（settings.CORE_DIALOG_PRIMARY_POSITION）は core/js/dialog_buttons.js が要素の順で入れ替えるので、flex でも効く */
.btn_modal,
.btn_modal_ok,
.btn_modal_delete,
.btn_modal_cancel {
    min-width: 7.5rem;
}

.modal-footer .core-dialog-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .5rem;
}

.modal-footer .core-dialog-buttons > .btn {
    margin: 0 !important;
}

.table tbody tr {
    background-color: #ffffff !important;
}

.table_striped_jbca > tbody > tr:nth-child(2n+2) > td {
    /*background-color: #e4ffd0;*/
    background-color: rgb(255, 248, 242);
}

.table_striped_jbca > tbody > tr:nth-child(2n+1) > td {
    background-color: #ffffff;
}

.table_striped_jbca {
    padding: 0;
}

.time_input {
    width: 8em;
}

.valid_line input,
.valid_line select,
.valid_line a,
.valid_line textarea {
    border: solid 1px red !important;
    border-radius: 3px !important;
}

.table thead th {
    padding-top: 0;
    padding-bottom: 0;
}

.table tbody tr {
    height: 1.5em;
}

.table tbody tr td {
    padding: 0;
    height: 0.3em;
}

.table tbody tr td input:not([type="checkbox"]):not([type="radio"]),
.table tbody tr td select {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    margin: 0;
    padding: 0.3em 0 0.2em 0.5em;
}

.table tbody tr td input:not([type="checkbox"]):not([type="radio"]):focus,
.table tbody tr td select:focus {
    outline: none;
    box-shadow: none;
    background-color: #ffffff;
}

.form-check-inline > div {
    display: inline-block;
}

.form-check-inline > div > label {
    position: relative;
    margin-left: 3em;
}

.form-check-inline > div > label > input {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -1.2em;
    margin: auto;
}

.flex {
    display: flex;
    margin-top: 0.1em;
    padding-left: 0;
}

.flex label {
    display: block;
    background-color: #49A800;
    color: #ffffff;
    width: 7.5em;
    height: 2.3em;
    border: solid 1px #357c00;
    padding: 0.3em 0.5em 0.1em 0.5em;
    margin-right: 0.1em;
    font-size: 0.9em;
}

.flex div {
    background-color: transparent;
    width: 65%;
    height: 2.1em;
    border: solid 1px #357c00;
    padding: 0.2em 0.5em 0.2em 0.5em;
    margin-right: 0.1em;
}

.flex select {
    background-color: transparent;
    /*width: 65%;*/
    height: 2.1em;
    border: solid 1px #357c00;
    padding: 0.2em 0.5em 0.2em 0.5em;
    margin-right: 0.1em;
    margin-top: 0;
}

.flex input[type="text"],
.flex input[type="date"] {
    background-color: transparent;
    width: 65%;
    height: 2.1em;
    border: solid 1px rgba(53, 124, 0, 0.78);
    padding: 0.2em 0.5em 0.2em 0.5em;
    margin-right: 0.1em;
    margin-top: 0;
}

.search_item label {
    padding: 0.7em 0 0 0.3em;
    width: 15em;
}

select:invalid {
    color: #bbb;
}

/*select option {*/
/*    color: black;*/
/*}*/

select option:first-child {
    color: #bbb;
}

.form-select {
    color: #b6b5b5;
}

.form-check-label:hover,
input[type=checkbox]:hover {
    cursor: pointer;
}

/*number inputの上下矢印を消す*/
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[name="prt_busu"]::-webkit-outer-spin-button,
input[name="prt_busu"]::-webkit-inner-spin-button {
    -webkit-appearance: inner-spin-button !important;
}

.tab_header {
    background: #dcfde1;
    width: 100%;
    padding: 0.3em 1em 0.3em 1em;
    margin-top: 1em;
}

.tab_header span {
    color: #185220;
    font-weight: bold;
    font-size: 1.2em;
}

/*郵便番号のinput*/
.zip_input {
    width: 7.5em;
    text-align: center;
}

/* 印刷用モーダル end */

/* 参照用 (disable時) start */
input:disabled {
    border: none;
    background: #ffffff;
}

.form-control:disabled {
    border: none;
    background: #ffffff;
    border-bottom: 1px #00A95F solid;
    border-radius: 0;
}

select:disabled {
    border: none;
    background: #ffffff;
}

.form-select:disabled {
    border: none;
    background: #ffffff;
    border-bottom: 1px #00A95F solid;
    border-radius: 0;
}

/* 参照用 (disable時) end */

div.outer {
    display: table; /* ① */
    width: 100%; /* ② */
}

.select_list {
    width: 100%;
    height: 100%;
    background-color: transparent;
}

/*.select_list:hover,*/
.select_list:focus {
    font-weight: bold;
}

/*#mst_01300_table thead tr th {
    border-bottom: 1px solid #0c4128;
}*/

/*.con_title {
    color: #1D9E48;
    text-align: center;
}*/

.top_nav {
    width: 100%;
    height: 7px;
    background: #f7812d;
    z-index: 600;
    top: 0;
    position: fixed;
    margin-bottom: 10px;
}

.btn-gray {
    color: #ffffff !important;
    background: #7c7c7c !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    border: 2px solid transparent;
    padding: 0.75em 1.5em;
    font-size: 1rem;
    display: inline-block;
    text-align: center;
    width: 120px !important;
}

.btn-gray:hover {
    color: #7c7c7c !important;
    background-color: #ffffff !important;
    text-decoration: none !important;
    border: 2px solid #7c7c7c !important;
}

/* Responsive styles */
@media (max-width: 768px) {
    .btn-gray {
        font-size: 0.9rem;
        padding: 0.65em 1.2em;
    }
}

.navbar_title #brand-logo {
    width: 50%;
    margin-left: 12px;
}

button#dropdownMenuButton {
    padding: 0;
    cursor: pointer;
}

button#dropdownMenuButton::after {
    display: none;
}

button#dropdownMenuButton[aria-expanded="true"] {
    background: #f4f6fa;
    color: #495466;
}

.navbar-kebab-icon svg {
    width: 20px;
    height: 20px;
}

/* --- 3点メニュー ドロップダウン --- */
/* 幅は「JBCA配置路線ProCloudについて」が1行に収まる値（16px のメイリオで約 245px ＋ 余白 42px）。
   260px だと「について」が折り返していた（2026-10-02） */
.dropdown-menu.app-menu-dropdown {
    width: 300px;
    min-width: 300px;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: calc(100vh - 76px);
    padding: 14px 16px 12px;
    border-radius: 14px;
    border: 1px solid #dfe5ec;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    font-size: 14px;
}

.app-menu-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 4px 4px 8px;
}

.app-menu-avatar {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #E95B1B;
    color: #ffffff;
}

.app-menu-profile-text {
    min-width: 0;
}

.app-menu-company {
    color: #68758c;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.25;
}

.app-menu-user {
    color: #5a667d;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.25;
    word-break: break-word;
}

.app-menu-divider {
    height: 1px;
    margin: 8px 0;
    background: #e6ebf1;
}

.app-menu-section {
    display: flex;
    flex-direction: column;
}

.app-menu-form {
    margin: 0;
}

.app-menu-link {
    display: block;
    width: 100%;
    padding: 12px 4px;
    border: 0;
    background: transparent;
    color: #5b6880;
    text-align: left;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    transition: color 0.18s ease, background-color 0.18s ease;
}

.app-menu-link:hover {
    color: #354257;
}

.dropdown-item.app-menu-link {
    white-space: normal;
}

.dropdown-item.app-menu-link:hover,
.dropdown-item.app-menu-link:focus {
    background: #ede7f8;
    color: #3d2a6b;
}

.app-menu-link-icon {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-menu-link-mark {
    flex: 0 0 22px;
    width: 22px;
    display: inline-flex;
    justify-content: center;
    color: #66748c;
    font-size: 18px;
}

.app-menu-link-disabled {
    color: #6f7b8f;
    cursor: default;
}

.app-menu-logout {
    cursor: pointer;
}

@media (max-width: 767.98px) {
    .dropdown-menu.app-menu-dropdown {
        width: min(292px, calc(100vw - 16px));
        min-width: 0;
        padding: 12px 14px 10px;
        border-radius: 12px;
    }

    .app-menu-avatar {
        flex-basis: 54px;
        width: 54px;
        height: 54px;
        border-radius: 14px;
    }

    .app-menu-company {
        font-size: 14px;
    }

    .app-menu-user {
        font-size: 18px;
    }

    .app-menu-link {
        font-size: 15px;
        padding-block: 11px;
    }
}

.btn-orange {
    color: #ffffff !important;
    background: #f7812d !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    border: 2px solid transparent;
    padding: 0.75em 1.5em;
    font-size: 1rem;
    display: inline-block;
    text-align: center;
    width: 120px !important;
}

.btn-orange:hover {
    color: #f7812d !important;
    background-color: #ffffff !important;
    text-decoration: none !important;
    border: 2px solid #f7812d !important;
}

/* Responsive styles */
@media (max-width: 768px) {
    .btn-orange, .btn-yellow, .btn-edit {
        font-size: 0.9rem;
        padding: 0.65em 1.2em;
    }
}

@media (max-width: 480px) {
    .btn-orange, .btn-yellow, .btn-edit {
        font-size: 0.8rem;
        padding: 0.5em 1em;
        width: 100%;
        box-sizing: border-box;
    }
}

/*login scrreen*/

/* Create two equal columns that floats next to each other */
.column {
    float: right;
    width: 50%;
    padding: 0;
}

/* Clear floats after the columns */

.column-top {
    padding: 10px 0;
    text-align: center;
    margin-top: -20px;
}

.login_form {
    top: 10px;
    margin: 40px auto;
    width: 750px;
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px 6px #74747485;
    height: 470px;
    padding: 20px 30px;
}

.navbar-notification {
    position: relative;
    overflow: visible;
}

.navbar-icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #5f6878;
    font-size: 30px;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.navbar-icon-btn:hover,
.navbar-icon-btn:focus-visible {
    background: #f4f6fa;
    color: #495466;
}

.navbar-icon-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.navbar-icon-svg svg {
    display: block;
}

.navbar-bell-icon svg {
    width: 24px;
    height: 24px;
}

.navbar-notification-btn {
    cursor: pointer;
}

.navbar-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #2a73ff;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.navbar-badge-hidden {
    display: none;
}

.navbar.navbar-overlay-active {
    z-index: 2147483647 !important;
    overflow: visible !important;
}

.navbar.navbar-overlay-active .navbar-actions,
.navbar.navbar-overlay-active .navbar-notification,
.navbar.navbar-overlay-active .dropdown {
    position: relative;
    z-index: 2147483647 !important;
    overflow: visible !important;
}

.notification-panel {
    position: fixed !important;
    top: 64px !important;
    right: 12px !important;
    left: auto !important;
    z-index: 2147483647 !important;
    width: min(348px, calc(100vw - 24px));
    max-height: calc(100vh - 76px);
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #dfe5ec;
    border-radius: 10px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
    overflow: visible;
}

.notification-panel[hidden] {
    display: none;
}

.notification-panel-header {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border-bottom: 1px solid #dfe5ec;
    color: #435167;
    font-size: 18px;
    font-weight: 700;
}

.notification-close-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #5f6878;
    font-size: 22px;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.notification-close-btn:hover,
.notification-close-btn:focus-visible {
    background: #f4f6fa;
    color: #465164;
}

.notification-panel-body {
    min-height: 0;
    max-height: calc(100vh - 142px);
    overflow-y: auto;
    background: #ffffff;
}

.notification-panel-empty {
    padding: 20px 18px;
    color: #7a8699;
    font-size: 13px;
    font-weight: 400;
}

.notification-item {
    display: block;
    padding: 14px 18px 16px;
    border-bottom: 1px solid #e8edf3;
    color: inherit;
    text-decoration: none;
    transition: background-color 0.18s ease;
}

.notification-item:hover {
    background: #f8fafc;
    color: inherit;
}

.notification-item.is-unread {
    background: #fffbea;
}

.notification-item.is-read {
    background: #ffffff;
}

.notification-item.is-read .notification-date,
.notification-item.is-read .notification-label,
.notification-item.is-read .notification-title,
.notification-item.is-read .notification-excerpt {
    color: #bcc4cf;
}

.notification-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.notification-date {
    color: #7b8798;
    font-size: 13px;
    font-weight: 600;
}

.notification-label {
    margin-left: auto;
    color: #a1acbb;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.notification-title {
    margin-bottom: 6px;
    color: #3c475a;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

.notification-excerpt {
    color: #6d798c;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.notice-management {
    border-color: #ddd;
}

.notice-management-table .notice-management-selection {
    width: 64px;
    min-width: 64px;
    text-align: center;
    vertical-align: middle;
}

.notice-selection-actions .btn {
    min-width: 110px;
}

@media (max-width: 767.98px) {
    .navbar-actions {
        gap: 8px;
        padding-right: 0;
    }

    .navbar-icon-btn {
        width: 36px;
        height: 36px;
        font-size: 24px;
    }

    .notification-panel {
        right: 8px !important;
        width: min(340px, calc(100vw - 16px));
    }

}

.login_form_sso {
    width: 660px;
    max-width: calc(100% - 2rem);
    height: auto;
    min-height: 300px;
    padding: 28px 40px 40px;
    margin: 0 auto;
}

.login_page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 10px);
    padding: 70px 0;
}

.login_form_sso .column-top {
    margin-top: 0;
    padding: 0;
}

.login_form_sso .column-top img {
    width: 220px;
    max-width: 70%;
    margin-left: 0;
}

.login_actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 30px;
}

.login_actions .button-link {
    display: grid;
    grid-template-columns: 2rem 1fr 2rem;
    align-items: center;
    width: 380px;
    max-width: 100%;
    margin: 0;
    text-align: center;
}

.login_actions .button-link i {
    margin-left: 0;
}

.login_actions .button-link span {
    grid-column: 2;
}

.login_guide {
    margin-top: 24px;
}

.login_guide img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 980px) {
    .login_form, .column {
        width: 100% !important;
        height: auto;
    }

    .login_form_sso {
        width: calc(100% - 2rem) !important;
    }
}

#random_img {
    margin-top: 10px;
    width: 90%;
    float: inline-end;
    margin-right: 8px;

}

@media (max-width: 980px) {
    #random_img {
        float: right;
        margin-bottom: -20px;
        width: 50%;
    }
}

.recruit_q {
    margin-top: 20px;
}

.recruit_q_click, .pw_res a {
    color: #e06c1a !important;
}

/*login scrreen*/

.dropdown a:hover {
    background-color: #ddd;
}

.show {
    display: block;
}

.table thead {
    color: white;
    font-size: 13px;
    vertical-align: middle;
    height: 38px;
}

.table_edit_icon tbody tr td a {
    color: #f7812d;
    font-size: small;
}

.table_edit_icon button.btn {
    color: #f7812d;
    font-size: small;
}

/*お知らせテーブル*/

/*お知らせテーブル*/

.kp-main {
    transition: margin-left .4s;
}

@media (max-width: 1200px) {
    .kp-main {
        margin-left: 70px !important;
        margin-right: -13px !important
    }
}

.kp-main-margin {
    margin-left: 215px;
    margin-bottom: 100px;
}

/* ラジオボタン 横並び*/

.btm-100 {
    padding-bottom: 100px
}

.navbar_title #brand-logo {
    /* 警備ProCloud の .sidebar-logo と同じ表示サイズ・位置に合わせる */
    width: 128px;
    margin-left: 18px;
    transform: translateY(4px);
    /* 4px 下げるとロゴがヘッダー下端を 1.7px はみ出し、その白い部分が
       ヘッダーの影を隠す。警備は親<a>(.sidebar-logo-link)の overflow:hidden で
       下端をカットしているので、同じ見え方になるよう 4px 分をクリップする */
    clip-path: inset(0 0 4px 0);
}

@media (max-width: 992px) {
    .navbar_title #brand-logo {
        width: 120px;
    }
}

.form-check-input:checked + label, .form-check-input:checked + span {
    color: #CC4444;
}

input[type=radio]:checked + label {
    color: #CC4444 !important;
}

.btn_top {
    top: 65px;
    position: sticky;
    z-index: 1;
    background: white;
}

hr {
    margin-top: 3px !important;
}

.tooltip-inner {
    background-color: rgba(255, 255, 255);
    color: red;
    font-size: 7px;
    border: solid 1px rgba(255, 0, 0, 0.62);
}

.password_area {
    position: relative;
}

.password_view {
    border: none;
    background-color: transparent;
    position: absolute;
    top: 35px;
    right: 0;
    font-size: 17px;
}

.password_input,
.password_input2 {
    position: relative;
}

.password_input span {
    position: absolute;
    color: red;
    font-size: 10px;
    right: 30px;
    top: 5px;
}

.message_bar .btn-close {
    z-index: 0;
}

.message_bar {
    width: 97%;
    padding-left: 12px;
}

.breadcrumb-item a {
    color: #4e4e4e;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #00A95F !important;
    text-decoration: none;
}

.breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-item.active {
    color: rgb(165, 165, 165);
}

.breadcrumb-item .fw-bold {
    color: #4e4e4e;
    text-decoration: none;
}

.btn_top_print {
    color: #ffffff !important;
    background: #E95B1B !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    min-width: 10rem;
}

.btn_top_print:hover {
    color: #E95B1B !important;
    background-color: #ffffff !important;
    text-decoration: none !important;
    border: 2px solid #E95B1B !important;
}

.btn_send_mail {
    min-width: 5rem;
}

.btn_top_clear {
    color: #ffffff !important;
    background: #726f71 !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    min-width: 10rem;
}

.btn_top_clear:hover {
    color: #726f71 !important;
    background-color: #ffffff !important;
    text-decoration: none !important;
    border: 2px solid #726f71 !important;
}

/*TOPページ｜お知らせ end */

/* 日付コントロールにクリアボタンを付与する end */

.page-item.active .page-link {
    z-index: -1 !important;
}

/*pagination offの場合使用*/

#link_logout {
    color: black;
}

#link_logout:hover {
    background: #cdffc8;
    cursor: pointer;
}

.btn_set {
    color: #ffffff !important;
    background: #3F48CC !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    border: #3F48CC;
    min-width: 10rem;
}

.btn_set:hover {
    color: #3F48CC !important;
    background-color: #ffffff !important;
    text-decoration: none !important;
    border: 2px solid #3F48CC !important;
}

.column-top img {
    width: 30%;
    margin-left: 35px;
}

@media (max-width: 980px) {
    .column-top img {
        width: 50% !important
    }
}

#loading {
    display: table;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    opacity: 0.8;
    z-index: 9999;
}

/*ページネーション*/
.pagination-area {
    display: flex;
    align-items: flex-start;
    /*justify-content: space-between;*/
}

.pagination-info {
    margin-left: 5px;
    margin-top: 17px;
    margin-right: 30px;
}

.pagination {
    /*display: flex;*/
    /*justify-content: flex-start;*/
    margin-top: 10px;
    margin-right: 10px;
}

.page-current {
    background-color: #4141ff;
    color: #ffffff;
}

i.sb-icon.fas.fa-location-dot{
    color: #c30707;
}

i.sb-icon.fas.fa-road {
    color: #000000;
}

.map-container2 {
    flex: 1 1 auto;
    min-height: 300px; /* fallback for small screens */
    height: 72vh;
    display: flex;
    flex-direction: column;
}

.map-container2 > #map {
    flex: 1 1 auto;
    width: 100%;
}

@media (min-width: 767.98px) {

    .map-container2 {
        min-width: 400px;
        height: 72vh !important;
        display: flex;
        flex-direction: column; /* 地図がコンテナ全体を埋める */
        }
}

/* --- 一覧・登録画面の操作ボタン（警備Pro等と同じサイズ）--- */
/* style2.css の .btn { padding:5px; width:110px; } を打ち消す */
.btn.btn_sidebar,
.btn.btn_top_print,
.btn.btn_top_clear,
.btn.btn_delete {
    width: auto !important;
    min-width: 10rem;
    padding: 0.5rem 0.75rem !important;
    font-size: 1rem !important;
    line-height: 1.5;
}

/* --- マスタ一覧テーブル（警備Pro等と同じヘッダー色・行高）--- */
.table.table_striped_jbca > thead > tr > th {
    background-color: #f7812d;
    color: #ffffff;
    padding: 0.5rem 0.5rem !important;
    height: 38px;
    vertical-align: middle;
    font-size: 13px;
}

.table.table_striped_jbca > tbody > tr > td {
    padding: 0.5rem 0.5rem !important;
    height: auto;
    vertical-align: middle;
}

/* about modal */
.about-info {
    max-width: 360px;
    margin: 0 auto;
    text-align: center;
}

.about-info .info-row {
    padding: 14px 0;
    border-bottom: 1px solid #e2e6ea;
}

.about-info .info-row:last-child {
    border-bottom: none;
}

.about-info .info-label {
    font-size: 0.9rem;
    color: #000000;
    font-weight: 600;
    margin-bottom: 4px;
}

.about-info .info-value {
    font-size: 1rem;
    color: #4f4f4f;
}

#aboutModal {
    text-decoration: none;
}

/* ==========================================================================
 * 共通画面（shared/core/templates/core/*.html）を配置Proに合わせる
 *
 * 土台は core/css/screen.css（全アプリ共通）。ここに書くのは配置Proの実測値だけ。
 * 使っている画面: 担当者権限設定（core/mtanto_kengen.html）
 *
 * 実測（2026-09-21、スクロール0の状態）:
 *   .navbar の下端 60 / 画面名の段 65〜191（高さ126） / .navbar は position: fixed で場所を取らない
 * ========================================================================== */
:root {
    /* .navbar が fixed なので本文は y=0 から流れる。その逃げ（配置Pro自前の画面の margin-top: 80px と同じ） */
    --screen-content-top: 80px;
    /* 画面名とボタンの段が貼り付く位置（配置Proの .btn_top と同じ） */
    --screen-titlebar-top: 65px;
    /* その段の高さ。選択欄はこの下端（65+126=191）に貼り付く */
    --screen-titlebar-h: 126px;
    /* 重なり順はヘッダー（.navbar は 101）より下にする。段 < 選択欄 */
    --screen-titlebar-z: 1;
    --screen-selector-z: 2;
}

/* サイドバーぶんの逃げ（配置Pro固有。共通側は margin-left を触らない） */
#page-content-wrapper {
    margin-left: 215px;          /* .kp-main-margin と同じ */
    transition: margin-left .4s; /* .kp-main と同じ */
}

/* 枠の中の .kp-main-margin は二重に逃がさない。上の .container の余白に合わせる */
#page-content-wrapper .kp-main-margin {
    margin-left: 21px;
}

@media (max-width: 1200px) {
    #page-content-wrapper {
        margin-left: 70px !important;
        margin-right: -13px !important;
    }
}
