[v-cloak] {
    display: none !important;
}

/*.table-container {*/
/*    max-height: 400px;*/
/*    overflow-y: auto;*/
/*}*/

.id-input {
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
}

/*.id-input {*/
/*    background-color: rgba(0, 0, 0, 0) !important;*/
/*    color: #ffffff !important;*/
/*    opacity: 1 !important;*/
/*    padding: 0.313rem 0.5rem 0.313rem !important;*/
/*}*/

/*.id-input:disabled {*/
/*    opacity: 1 !important;*/
/*}*/

/*.id-input:hover {*/
/*    background-color: #006dcb !important;*/
/*}*/

/*.id-input option {*/
/*    color: #000000 !important;*/
/*}*/

html {
    font-size: 85% !important;
}

.dataTable tbody td {
    /*white-space: nowrap;*/
    /*overflow: hidden;*/
    /*text-overflow: ellipsis;*/
    /*max-width: 0;*/
    white-space: normal;
    /*word-wrap: break-word;*/
    word-break: break-all;
}

.custom-tooltip {
    font-family: "BIZ UDPGothic", Meiryo, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    background: rgba(0, 91, 171, 0.7);
    color: #fff;
    border: none;
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.dest-datatable td.checkbox-cell {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.dest-datatable .checkbox-cell input[type=checkbox] + label:before {
    height: 16px;
    width: 16px;
}

/*.dest-table-container {*/
/*    overflow-x: hidden;*/
/*}*/

.red-marker {
    color: red;
}

.accordion-button:disabled {
    opacity: 0.5
}

.icon.icon-title:before {
    top: 2px !important;
}

/*.icon-query2 {*/
/*    position: relative;*/
/*    display: inline-block;*/
/*    padding-left: 25px;*/
/*    height: 20px;*/
/*    line-height: 20px;*/
/*}*/

/*.icon-query2:before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    left: 0;*/
/*    top: 60%;*/
/*    transform: translateY(-50%);*/
/*    height: 20px;*/
/*    width: 20px;*/
/*    background-image: url(/img/icon_msg_query-1eea9cc3cb046785e892156b7199477a.png);*/
/*    background-size: cover;*/
/*}*/

.form-control.flatpickr {
    background-image: url(/img/icon_ui_calendar-5d2d5d5ac0a8b79590ea8a9437d81511.png);
    background-position: right 5px center;
    background-repeat: no-repeat;
    background-size: 15px;
    padding-right: 30px;
}

.my-section-h3 {
    border-left: none;
}

a.login-nav-link {
    color: #fff;
    text-decoration: underline;
    transition: all 0.3s ease;
    font-family: "BIZ UDPGothic", Meiryo, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    /*margin-bottom: 0.1rem;*/
    /*line-height: 1.2em;*/
    padding: .5em 1em;
    display: inline-block;
    font-size: .94rem;
}

a.login-nav-link:hover {
    text-shadow: 0.5px 0 #eee;
    cursor: pointer;
}

table.spec tbody td.is-invalid {
    border: 1px solid #ee2c3e;
    background: #fdf1f2;
}

.my-user-belong {
    display: block;
    max-width: 300px;
    white-space: normal;
    overflow-wrap: break-word;
}

.my-email-belong {
    display: block;
    max-width: 150px;
    white-space: normal;
    overflow-wrap: break-word;
}

/*.my-user-belong-ellipsis {*/
/*    display: inline-block;*/
/*    max-width: 300px;*/
/*    white-space: nowrap;*/
/*    overflow: hidden;*/
/*    text-overflow: ellipsis;*/
/*    padding: 5px;*/
/*}*/

.my-text-light {
    color: #bbb;
}

.small-paginate-i {
    font-size: 0.7rem;
}

.small-paginate .dataTables_paginate {
    justify-content: end;
    padding-right: 10px;;
}

.small-paginate .dataTables_paginate .fg-button {
    min-width: 1.6rem;
}

.small-paginate .ui-button .ellipsis {
    line-height: 1.5;
}

.open-right-mt {
    margin-top: 2.6rem;
}

/*.selected-dest-container {*/
/*    max-height: 400px;*/
/*    overflow-y: auto;*/
/*    display: block;*/
/*}*/

/*.selected-dest-container table {*/
/*    width: 100%;*/
/*    border-collapse: collapse;*/
/*}*/

/*.selected-dest-container thead th {*/
/*    position: sticky;*/
/*    top: 0;*/
/*    z-index: 1;*/
/*}*/

.table-header-container {
    overflow: hidden;
}

.selected-dest-container .dataTable {
    width: 100%;
    border-collapse: collapse;
}

.bd-yellow-100 {
    color: #000;
    background-color: #fff3cd !important;
}

.bd-gray-100 {
    color: #000;
    background-color: #f8f9fa !important;
}

.bd-gray-200 {
    color: #000;
    background-color: #e9ecef !important;
}

.bd-gray-300 {
    color: #000;
    background-color: #dee2e6 !important;
}

.bd-gray-400 {
    color: #000;
    background-color: #ced4da !important;
}

.bd-gray-500 {
    color: #000;
    background-color: #adb5bd !important;
}

.icon-warning-triangle {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    background-image: url('/img/icon_msg_warn-13ceee0982ecf48863045abd7e0fe928.png');
    background-size: cover;
    margin-right: 4px;
    margin-bottom: 3px;
}

.maintenance-notice {
    max-height: 300px;
    overflow-y: auto;
}

.maintenance-notice a {
    color: black;
}

.article.maintenance-notice {
    margin-top: 5px !important;
}

.flex-center {
    display: flex;
    align-items: center;
}

.flex-center span {
    margin-left: 3rem !important;
    margin-bottom: 0.5rem !important;
}

@media (max-width: 768px) {
    .flex-center {
        flex-direction: column;
        align-items: flex-start;
    }

    .flex-center > * {
        margin-bottom: 10px;
    }

    .flex-center > *:last-child {
        margin-bottom: 0;
    }

    .flex-center span {
        margin-left: 0rem !important;
        margin-bottom: 0.5rem !important;
    }
}

@media (min-width: 1300px) {
    /*.header-font * {*/
    /*    font-size: 0.8rem;*/
    /*}*/
    .d-my-none {
        display: none !important;
    }

    .d-my-block {
        display: block !important;
    }
}

@media (max-width: 1300px) {
    .header-menu {
        margin-right: 0;
        font-size: 0;
    }

    .header-menu a {
        padding: 9px 7px 7px 7px;
        line-height: 1.5rem;
        text-align: center;
    }

    header .icon:before {
        margin-right: 0 !important;
    }

    .login-user {
        padding: .5rem 1rem;
        position: absolute;
        border-radius: 5px;
        background: #333;
        margin: 0 .5rem;
        display: none;
        width: calc(100% - 1rem);
        top: 50px;
    }

    .login-user .icon-close {
        text-align: center;
        border-radius: 3px;
        position: absolute;
        padding: 7px 9px;
        display: block;
        right: 5px;
        top: 5px;
    }
}

.confirm-title {
    border-left: 0px !important;
}

.edit-link {
    text-decoration: none;
    cursor: pointer;
}

.edit-input-style {
    padding-right: 50px;
}

.edit-link-style {
    text-decoration: none;
    padding: 0.375rem 0.75rem;
    pointer-events: auto;
}

a.policy-link {
    text-align: center;
    position: relative;
    opacity: .8;
}

a.policy-link:hover,
a.policy-link:focus {
    color: #f6f6f6;
    opacity: 1;
}

.my-text-white-10 {
    color: #f6f6f6;
    opacity: .8;
    /*font-size: .8rem;*/
}

#open-cb, label[for="open-cb"] {
    display: inline-block;
    vertical-align: middle;
    background-color: transparent !important;
    border: none !important;
}

#open-cb {
    background: none;
    border: none;
}

#open-cb:focus {
    outline: none !important;
}

.list-legend {
    border: 1px solid rgba(43, 55, 69, 0.2);
}

.col-p10 {
    width: 10%;
}

.vertical-center {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.break-word-label {
    display: block;
    /*width: 100%;*/
    word-wrap: break-word !important;
    white-space: normal !important;
    overflow-wrap: break-word;
}

.default-font {
    font-size: 1.0rem;
}

.aligned-text {
    display: inline-block;
    padding-left: 2.1em;
}

.label-tight-spacing {
    line-height: 1.2;
}

.no-bullet {
    list-style: none !important;
}

.custom-ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.custom-ul li {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.li-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 65%;
}

.li-container li {
    flex-grow: 1;
    list-style: none;
    /*flex-basis: 100%;*/
}

.li-container button {
    margin-left: 10px;
    align-self: flex-start;
    /*flex-basis: auto;*/
}

.li-container li:last-child {
    flex-basis: 100%;
    order: 2;
}

.limited-width {
    max-width: 80%;
    width: 100%;
}

@media (max-width: 1820px) {
    .li-container {
        max-width: 70%;
    }
}

@media (max-width: 1720px) {
    .li-container {
        max-width: 75%;
    }
}

@media (max-width: 1630px) {
    .li-container {
        max-width: 80%;
    }
}

@media (max-width: 1550px) {
    .li-container {
        max-width: 85%;
    }
}

@media (max-width: 1540px) {
    .li-container {
        max-width: 85%;
    }
}

@media (max-width: 1480px) {
    .li-container {
        max-width: 90%;
    }
}

@media (max-width: 1475px) {
    .li-container {
        max-width: 90%;
    }
}

@media (max-width: 1420px) {
    .li-container {
        max-width: 65%;
    }

    .limited-width {
        max-width: 100%;
    }
}

@media (max-width: 1370px) {
    .li-container {
        max-width: 70%;
    }

    .limited-width {
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .li-container {
        max-width: 80%;
    }

    .limited-width {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .li-container {
        flex-direction: column;
        max-width: 100%;
    }

    .li-container button {
        margin-left: 0;
        margin-top: 10px;
        order: 1;
    }

    .li-container li:last-child {
        order: 2;
    }

    .limited-width {
        max-width: 100%;
    }
}

.text-line-height {
    line-height: 2.7;
}

.li-container button {
    margin-right: 0;
}

.dashed-border {
    border-style: dashed !important;
}

.wavy-underline {
    text-decoration: underline;
    text-decoration-style: wavy;
}

.li-button {
    margin-bottom: .3rem;
    margin-top: .3rem;
    line-height: 1.4rem;
}

.extra-bold {
    -webkit-text-stroke: 0.6px #dc3545;
}

/*!* open-dest start*/
/*=== Scoped styles for #destDatatable & #selectedTable === *!*/

/*!* (A) Row height variable (10 rows with scrollY:360px) *!*/
/*#destDatatable,*/
/*#selectedTable {*/
/*    --dt-row-height: 36px; !* 10 rows fit 360px scrollY; adjust if needed *!*/
/*}*/

/*!* (B) Header cells *!*/
/*#destDatatable thead th,*/
/*#selectedTable thead th,*/
/*#destDatatable_wrapper .dataTables_scrollHeadInner th,*/
/*#selectedTable_wrapper .dataTables_scrollHeadInner th {*/
/*    height: 36px;              !* tighter header *!*/
/*    padding: 0.35rem 0.5rem;*/
/*    line-height: 1.1;*/
/*    white-space: nowrap;       !* avoid multi-line header *!*/
/*    vertical-align: middle;*/
/*}*/

/*!* (C) Fixed body row height *!*/
/*#destDatatable tbody tr,*/
/*#selectedTable tbody tr {*/
/*    height: var(--dt-row-height); !* fixed visual row height *!*/
/*}*/

/*!* (D) Body cells (shared rules) *!*/
/*#destDatatable tbody td,*/
/*#selectedTable tbody td {*/
/*    padding: 0.4rem 0.5rem;*/
/*    line-height: calc(var(--dt-row-height) - 8px); !* text baseline feel *!*/
/*    vertical-align: middle;*/
/*    white-space: nowrap;        !* keep rows single-line *!*/
/*    overflow: hidden;           !* truncate long text *!*/
/*    text-overflow: ellipsis;*/
/*}*/

/*!* (E) Pagination buttons — scoped to the two wrappers only *!*/
/*#destDatatable_wrapper .dataTables_paginate .paginate_button,*/
/*#selectedTable_wrapper .dataTables_paginate .paginate_button {*/
/*    padding: 0.25rem 0.5rem;*/
/*    line-height: 1.25rem;*/
/*}*/
/*!* open-dest end *!*/

/* open-dest start
=== Scoped styles for #destDatatable & #selectedTable === */

/* (A) Row height variable (10 rows with scrollY:360px) */
#destDatatable,
#selectedTable {
    --dt-row-height: 36px; /* 10 rows fit 360px scrollY; adjust if needed */
}

/* (B) Header cells */
#destDatatable thead th,
#selectedTable thead th,
#destDatatable_wrapper .dataTables_scrollHeadInner th,
#selectedTable_wrapper .dataTables_scrollHeadInner th {
    height: 36px; /* tighter header */
    padding: 0.35rem 0.5rem;
    line-height: 1.1;
    white-space: nowrap; /* avoid multi-line header */
    vertical-align: middle;
}

/* (C) Fixed body row height */
#destDatatable tbody tr,
#selectedTable tbody tr {
    height: var(--dt-row-height); /* fixed visual row height */
}

/* (D) Body cells (shared rules) */
#destDatatable tbody td,
#selectedTable tbody td {
    padding: 0.4rem 0.5rem;
    line-height: calc(var(--dt-row-height) - 8px); /* text baseline feel */
    vertical-align: middle;
    white-space: nowrap; /* keep rows single-line */
    overflow: hidden; /* truncate long text */
    text-overflow: ellipsis;
}

/* (E) Fixed height for pagination container to prevent layout shifts */
#destDatatable_wrapper .row.tools,
#selectedTable_wrapper .row.tools {
    min-height: 55px; /* Fixed height based on when pagination info is present */
    display: flex;
    align-items: center;
}

/* (F) Pagination buttons — scoped to the two wrappers only */
#destDatatable_wrapper .dataTables_paginate .paginate_button,
#selectedTable_wrapper .dataTables_paginate .paginate_button {
    padding: 0.25rem 0.5rem;
    line-height: 1.25rem;
}

.placeholder-div {
    height: 28px;
    min-width: 120px;
}

/* open-dest end */

/*プリントモード*/
@media print {
    /*プリントモード.display-none*/
    .count-badge {
        display: none !important;
        visibility: hidden !important;
    }

    .breadcrumb {
        display: none !important;
    }

    header.header-font {
        display: none !important;
    }
    /*/.プリントモード.display-none*/

    /* Reset all styles that affect printing */
    html, body {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        overflow-y: visible !important;
        overflow-x: visible !important;
        /* margin: 0 !important;
        padding: 0 !important; */
        background: white !important;
        font-size: 12pt !important;
    }

    body {
        padding-top: 0 !important;
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        /* zoom: 0.8 !important; */
        /* padding-right: 1000mm !important; */
    }

    @page {
        /* size: A4 landscape; */
        margin: 12mm !important;
    }

    /* Remove height restrictions from common layout elements */
    section, main, article, aside, header, footer {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }

    /* Remove all fixed positioning */
    *[style*="position: fixed"],
    *[style*="position:fixed"] {
        position: static !important;
    }

    .fixed,
    .fixed-top,
    .fixed-bottom,
    .sticky-top,
    .position-fixed {
        position: static !important;
    }

    /* Hide elements not needed for print */
    .no-print,
    .btn,
    button,
    nav,
    .navbar,
    .d-print-none {
        display: none !important;
    }

    /* Ensure content containers display normally */
    .container,
    .container-fluid,
    main,
    section,
    article {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        /* width: 100% !important; */
    }

    /* Page break control */
    h1, h2, h3 {
        page-break-after: avoid;
        break-after: avoid;
    }

    p, li {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    /* Table print optimization */
    table {
        page-break-inside: auto;
        break-inside: auto;
    }

    tr {
        page-break-inside: avoid;
        page-break-after: auto;
        break-inside: avoid;
        break-after: auto;
    }

    thead {
        display: table-header-group;
    }

    tfoot {
        display: table-footer-group;
    }

    /* Force visibility for common Bootstrap classes */
    .row, .col, .col- * {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    /* Remove any viewport height restrictions */
    *[style*="height: 100vh"],
    *[style*="height:100vh"],
    *[style*="min-height: 100vh"],
    *[style*="min-height:100vh"] {
        height: auto !important;
        min-height: auto !important;
    }

    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;

    .icon-number {
        display: inline-block !important;
        vertical-align: middle !important;
    }

    .icon-number::before {
        content: "";
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        margin-right: .5rem;
        border-radius: 3px;
        background: #8df098 !important;
        color: #000;
        font-weight: 700;
        line-height: 1;
    }

    .icon-number.num-1::before {
        content: "1";
    }

    .icon-number.num-2::before {
        content: "2";
    }

    .icon-number.num-3::before {
        content: "3";
    }

    .icon-number.num-4::before {
        content: "4";
    }

    .icon-number.num-5::before {
        content: "5";
    }

    .icon-number.num-6::before {
        content: "6";
    }
}

.count-badge-side {
    font-family: "BIZ UDGothic", Meiryo, "Helvetica Neue", Arial, sans-serif;
    padding: .1rem .2rem .06rem;
    border-radius: 99px;
    line-height: 1.2rem;
    min-width: 1.3rem;
    text-align: center;
    font-size: 0.9rem;
    background: #c00;
    color: #f6f6f6;
    display: inline-block;
    box-sizing: border-box;
    margin-left: 10px;
}

/*サイトバー*/
a.ratio {
    height: 40px; /* 任意の高さ */
    text-align: center; /* テキストを中央揃えにするなら */
}

.ratio {
    border-radius: 10px;
    white-space: nowrap;
}

.ratio-card {
    padding: 8px 10px !important;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
    margin: 0 0 15px 5px !important;
    width: 250px !important;
    border: none !important;
    display: inline-block !important;
}

.count-badge-sub {
    font-family: "BIZ UDGothic", Meiryo, "Helvetica Neue", Arial, sans-serif;
    padding: .1rem .2rem .06rem;
    box-sizing: border-box;
    display: inline-block;
    border-radius: 1rem;
    line-height: 1.2rem;
    position: relative;
    min-width: 1.36rem;
    text-align: center;
    font-size: .9rem;
    background: #c00;
    color: #c00;
    margin-left: 3px;
    top: -23px;
    left: 190px;
}

.count-badge-sidemenu {
    font-family: "BIZ UDGothic", Meiryo, "Helvetica Neue", Arial, sans-serif;
    padding: .1rem .2rem .06rem;
    box-sizing: border-box;
    display: inline-block;
    border-radius: 1rem;
    line-height: 1.2rem;
    position: relative;
    min-width: 1.36rem;
    text-align: center;
    font-size: .9rem;
    background: #f95a5a;
    color: #f6f6f6;
    margin-left: 10px;
}

.nav-spacer {
    height: 20px;
}

/*サイトバー.リンク集*/
.banners-section {
    margin: 20px 0;
}

.banners-section .banners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0;
    list-style: none;
    margin: 0;
}

.banners-section .banners li {
    list-style: none;
}

@media (max-width: 992px) {
    .banners-full.banners li {
        width: 100% !important;
    }
}

@media (max-width: 576px) {
    .banners li.menu-item-center > a.ratio-card {
        /*width: 160px !important;*/
        margin: 0 auto 15px auto !important; /* rewrite margin: 0 0 15px 5px !important */
        display: block !important; /* for centre display -> inline-block， */
    }
}

/* Mobile only: center banner items */
@media (max-width: 575.98px) {
    .banners {
        padding-left: 0;
    }

    .banners li {
        list-style: none;
    }

    .banners .service {
        margin-left: 0;
        text-align: center;
    }

    .banners .ratio-card {
        display: block !important;
        margin: 0 auto 15px !important;
    }
}

.banner-title {
    width: 100%;
    text-align: center;
}

/*/.サイトバー.リンク集*/

/*掲示板アイコン*/
.date.unread:after {
    font-family: "BIZ UDPGothic";
    vertical-align: bottom;
    padding: 4px 6px 5px;
    background: #1ea951;
    border-radius: 3px;
    position: relative;
    margin-left: 7px;
    font-size: .75rem;
    content: "未読";
    color: #fff;
    top: -1px;
}

.col.title.branch:before {
    font-family: "BIZ UDPGothic";
    vertical-align: bottom;
    padding: 4px 6px 5px;
    background: #fff3cd;
    border-radius: 3px;
    position: relative;
    margin-left: 7px;
    font-size: .75rem;
    content: "支店配信";
    color: #664d03;
    top: -1px;
}

.badge {
    font-family: "BIZ UDPGothic";
    padding: 4px 6px 5px;
    border-radius: 3px;
    font-size: .75rem;
    position: relative;
    top: -1px;
    /*margin-left: 7px;*/
    margin-left: 2px;
    vertical-align: bottom;
}

.badge.unread {
    background: #1ea951;
    color: #fff;
}

.badge.branch {
    background: #fff3cd;
    color: #664d03;
    border-color: #ffecb5;
    border: 1px solid transparent;
}

/*/.掲示板アイコン*/

/*カレンダー*/
#schedulePopup .modal-header:before {
    background: none !important;
}

#schedulePopupContent {
    max-height: 300px;
    overflow-y: auto;
}

/*カレンダー.next, previous*/
#prevBtn:disabled,
#prevBtn[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

#prevBtn:not(:disabled):hover {
    background-color: #f0f0f0;
}

#nextBtn:disabled,
#nextBtn[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

#nextBtn:not(:disabled):hover {
    background-color: #f0f0f0;
}

/* カレンダー.sp */
@media (max-width: 576px) {
    #schedulePopup .modal-dialog {
        max-width: 100%;
        margin: 0;
        height: 100vh;
    }

    #schedulePopup .modal-content {
        /*height: 100%;*/
        border-radius: 0;
        border: none;
    }

    #schedulePopupContent {
        max-height: 300px;
        overflow-y: auto;
    }

    /*sp hover action*/
    .event-block-interactive {
        transition: all 0.15s ease !important;
    }

    .event-block-interactive:active {
        transform: scale(1.02) !important;
        box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3) !important;
    }
}

/*カレンダー.サイズ*/

/* Default (mobile): full width, no scaling */
.calendar-wrapper-outer {
    position: relative;
}

/* PC and above */
@media (min-width: 576px) {

    /* Fixed-width right column */
    .calendar-wrapper-outer {
        flex: 0 0 260px; /* fixed width */
        /*max-width: 260px; !* prevent expansion *!*/
        max-width: 280px; /* prevent expansion */
        display: flex;
        justify-content: flex-end; /* align calendar to top-right */
        margin-left: 0; /* override col-sm-auto auto-width */
    }

    /* Visual scaling only */
    .calendar-wrapper {
        transform: scale(0.7);
        transform-origin: top right;
    }

    .calendar-wrapper-outer {
        height: 500px;
        overflow: hidden;
        display: flex;
        align-items: flex-start;
    }
}


/*pc hover*/
.event-block-interactive {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-block-interactive:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.event-block-interactive:active {
    transform: translateY(0px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/*text scrollable*/
.event-memo-scrollable {
    margin-top: 4px;
    overflow-x: auto;
    white-space: nowrap;
    cursor: text;
    padding-right: 8px;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.event-memo-scrollable::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Year - selectable, non-editable */
.flatpickr-current-month .numInputWrapper {
    pointer-events: auto;
}

.flatpickr-current-month .numInputWrapper .arrowUp,
.flatpickr-current-month .numInputWrapper .arrowDown {
    display: none;
}

.flatpickr-current-month .numInputWrapper input {
    user-select: text;
    cursor: default;
    background: none;
    border: none;
    -moz-appearance: textfield;
}

.flatpickr-current-month .numInputWrapper input::-webkit-outer-spin-button,
.flatpickr-current-month .numInputWrapper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.flatpickr-current-month .numInputWrapper:hover {
    background: transparent !important;
    color: inherit !important;
}

/* Month - static look, normal weight, selectable */
.flatpickr-current-month .cur-month {
    user-select: text;
    cursor: default;
    outline: none;
    font-weight: normal;
}

#calendar1 .flatpickr-current-month span.cur-month,
.calendar-container .flatpickr-current-month span.cur-month {
    font-weight: 300 !important;
}

.flatpickr-current-month .cur-month:hover {
    background: transparent !important;
    color: inherit !important;
}

/*案件検索*/
@media (min-width: 1500px) {
    .custom-col-1500-3 {
        width: 25% !important;
    }
}

/*アンケート投票（別タグ）*/
body.no-header {
    padding-top: 0 !important;
}

body.no-header main.container-fluid {
    height: 100vh !important;
}

/*メニュー.body*/
.main-content.pb-30 {
    padding-bottom: 30px !important;
}

/*メニュー.掲示板一覧*/
.date.old:after {
    font-family: "BIZ UDPGothic";
    vertical-align: bottom;
    padding: 4px 6px 5px;
    background: #ccc;
    border-radius: 3px;
    position: relative;
    margin-left: 7px;
    font-size: .60rem;
    content: "既読";
    color: #fff;
    top: -1px;
    white-space: nowrap;
}

.badge.old {
    background: #ccc;
    color: #fff;
}

/*メニュー.掲示板一覧*/
@media (min-width: 1550px) {
    .board-col-lg {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 1549px) {
    .board-col-lg {
        flex: 0 0 auto;
        max-width: none;
        white-space: nowrap;
    }
}

@media (min-width: 768px) {
    .newslist li {
        height: 40px;
        align-items: center;
    }
}

/*>1404*/

/*掲示板.tag*/
/* Reset jQuery UI hover */
#noticeTabs .ui-button:hover,
#noticeTabs .ui-state-hover,
#noticeTabs .ui-widget-content .ui-state-hover,
#noticeTabs .ui-widget-header .ui-state-hover {
    background-color: transparent !important;
}

/* Tabs layout */
#noticeTabs .bbs-tabs {
    display: flex !important;
    gap: 0 !important;
    margin: 0 0 4px 0 !important;
    justify-content: flex-end !important;
}

/* Allow shadow & underline to show */
#noticeTabs,
#noticeTabs .bbs-tabs,
#noticeTabs .bbs-tabs li {
    overflow: visible !important;
}

/* Base tab */
#noticeTabs .bbs-tab {
    position: relative !important;
    display: inline-block !important;
    padding: 6px 14px !important;
    color: #fff !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    text-shadow: 0 0 2px rgba(0, 0, 0, .25) !important;
    border: none !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%) !important;
    transform: translateY(0) scale(1) !important;
    background-image: none !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, opacity .15s ease !important;
}

/* Tab colors */
#noticeTabs .bbs-tab.bg-all {
    background-color: #0B5CAD !important;
}

#noticeTabs .bbs-tab.bg-meet {
    background-color: #1B9AAA !important;
}

#noticeTabs .bbs-tab.bg-campaign {
    background-color: #FF8C00 !important;
}

#noticeTabs .bbs-tab.bg-other {
    background-color: #78849A !important;
}

#noticeTabs .bbs-tab.bg-unread {
    background-color: #E83935 !important;
}

/* Hover (non-active) */
#noticeTabs .bbs-tab:hover {
    filter: brightness(1.06) !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.30) !important;
}

/* Non-active */
#noticeTabs .bbs-tab:not(.is-active) {
    opacity: 0.8 !important;
    transform: translateY(0) scale(1) !important;
    box-shadow: none !important;
}

/* Active tab */
#noticeTabs .bbs-tab.is-active {
    opacity: 1 !important;
    transform: translateY(-4px) scale(1.06) !important;
    font-weight: 700 !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45) !important;
}

/* Hover (active) */
#noticeTabs .bbs-tab.is-active:hover {
    filter: brightness(1.10) !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.50) !important;
}

/* li for underline */
#noticeTabs .bbs-tabs li {
    position: relative !important;
    overflow: visible !important;
}

/* Underline holder (shows only when tab is active) */
#noticeTabs .bbs-tabs li:has(.bbs-tab.is-active)::after {
    content: "";
    position: absolute;
    /*left: 0;*/
    /*right: 10px;*/
    bottom: -2px;
    height: 2px;
    border-radius: 2px;
    z-index: 5;
}

#noticeTabs .bbs-tabs li:has(.bg-all.is-active)::after {
    left: -4px;
    right: 12px;
    background: #0B5CAD !important;
}

#noticeTabs .bbs-tabs li:has(.bg-meet.is-active)::after {
    left: -5px;
    right: 10px;
    background: #1B9AAA !important;
}

#noticeTabs .bbs-tabs li:has(.bg-campaign.is-active)::after {
    left: -6px;
    right: 10px;
    background: #FF8C00 !important;
}

#noticeTabs .bbs-tabs li:has(.bg-other.is-active)::after {
    left: -4px;
    right: 12px;
    background: #78849A !important;
}

#noticeTabs .bbs-tabs li:has(.bg-unread.is-active)::after {
    left: -3px;
    right: 10px;
    background: #E83935 !important;
}
/*/.掲示板.tag*/

/* メニュー.掲示板一覧.sbuo */
.newslist-scroll {
    max-height: calc(40px * 10.25) !important;
    /*overflow-y: auto;*/
}

/*>1284*/

/*会員.掲示板*/
.pane-inner.newslist.board {
    max-height: calc(6.25 * 40px);
}

.pane-inner.newslist.message {
    max-height: calc(4.25 * 40px);
}


/*掲示板.title*/
.pane-header-compact {
    padding: 5px 15px !important;
}

/* /.メニュー.掲示板一覧.sbuo */

/*プレビュー*/
.modal-header.no-icon:before {
    display: none;
}

/*プレビュー + dialog solo*/
@media print {
    @page {
        margin: 12mm;
    }

    /* adjust if needed */
    /* (1) Top-level pruning: hide body-level branches that don't contain the shown print-solo */
    body:has(.print-solo.modal.show) > *:not(:has(.print-solo.modal.show)) {
        display: none !important;
    }

    /* (2) Recursive pruning: for ANY ancestor that contains the print-solo,
          keep ONLY the child that is either the modal itself or an ancestor of it. */
    body:has(.print-solo.modal.show) :has(.print-solo.modal.show)
    > :not(.print-solo.modal.show):not(:has(.print-solo.modal.show)) {
        display: none !important;
    }

    /* (3) Hide any other modals/backdrops in this scoped case */
    body:has(.print-solo.modal.show) .modal:not(.print-solo.modal.show) {
        display: none !important;
    }

    body:has(.print-solo.modal.show) .modal-backdrop {
        display: none !important;
    }

    /* (4) Make the shown print-solo modal flow like normal content */
    .print-solo.modal.show {
        position: static !important;
        inset: auto !important;
        display: block !important;
        overflow: visible !important;
        margin: 0 !important;
    }

    .print-solo.modal.fade .modal-dialog {
        transform: none !important;
    }

    /* (5) Full-width, remove decoration */
    .print-solo.modal.show .modal-dialog {
        max-width: none !important;
        width: auto !important;
        margin: 0 !important;
    }

    .print-solo.modal.show .modal-content {
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
    }

    /* (6) No height caps; print all content */
    .print-solo.modal.show .modal-body {
        max-height: none !important;
        overflow: visible !important;
    }

    /* (7) Neutralize sticky/fixed inside the modal */
    .print-solo.modal.show .fixed-bottom,
    .print-solo.modal.show [class*="sticky-"] {
        position: static !important;
    }

    /* (8) Pagination control */
    .print-solo.modal.show .pane {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .print-solo.modal.show .page-break {
        break-before: always;
        page-break-before: always;
    }

    /* (9) Optional: hide close/footer in print */
    .print-solo.modal.show .modal-header .btn-close,
    .print-solo.modal.show .modal-footer {
        display: none !important;
    }

    /* (10) Preserve colors */
    html, body {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/*logout modal > all modal sp*/
@media (max-width: 576px) {
    .modal {
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .modal-dialog {
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 100vh !important;
        display: flex !important;
        align-items: flex-start !important;
        padding: 10vh 1rem 2rem !important;
    }

    .modal-content {
        width: 100% !important;
        max-height: calc(100vh - 12vh) !important;
        display: flex !important;
        flex-direction: column !important;
        border-radius: 0.5rem !important;
    }

    .modal-header,
    .modal-footer {
        flex-shrink: 0 !important;
    }

    .modal-body {
        flex: 1 1 auto !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }
}

/*書類ダウンロード*/
/*page number in center*/
#downTable_paginate {
    float: none !important;
    text-align: center !important;
}

.tooltip .tooltip-inner {
    background: rgba(32, 32, 32, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    color: #f5f5f5;
    font-size: 12px;
    line-height: 1.4;

    padding: 6px 10px;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);

    max-width: none;
    white-space: nowrap;
}

.tooltip .tooltip-arrow {
    display: none !important;
}

/*/.書類ダウンロード*/

/*サイトバー.inner.縦スクロールバー*/
#stfmenu .accordion-collapse,
#stfmenu ul.accordion-collapse {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
}
/*/.サイトバー.inner.縦スクロールバー*/

/*コンテンツ*/
.btn-tall {
    min-height: 60px;
}

.fixed-row-table tbody tr {
    height: 400px;
}

.fixed-row-table tbody td {
    vertical-align: top;
    padding: 12px;
}
/*/.コンテンツ*/