/* ============================================================
   WeCheck モバイルメニュー専用スタイル
   ブレークポイント基準: 768px
   変更する場合: 下記 @media の max-width: 767px / min-width: 768px を一括変更すること
   PC幅 (768px 以上) には一切影響しない構成
   ============================================================ */

/* ---- PC幅では全モバイル専用要素を完全非表示 ---- */
@media only screen and (min-width: 769px) {
    /*スクロール用ボタン*/
    .wc-mobile-scroll-top-wrap,
    .wc-mobile-footer-divider {
        display: none !important;
    }
    .wc-mobile-hamburger     { display: none !important; }
    .wc-mobile-backdrop      { display: none !important; }
    .wc-mobile-profile-panel { display: none !important; }
    .wc-search-toggle-btn    { display: none !important; }
    .nav-left-sidebar.sidebar-dark{
        /*開いたまま画面サイズを変えた場合、強制的に高さ調節を適用する*/
        top:40px !important;
    }

    .nav-right-sidebar{
        top:60px !important;
    }

    .wc-mobile-backbutton{
        display:none !important;
    }

    /*セクション閉じる*/
    .wc-mobile-section-toggle-btn {
        display: none !important;
    }

    .wc-mobile-section-collapsed .wc-mobile-section-body,
    .wc-mobile-section-collapsed .wc-mobile-section-hr {
        display: block !important; /* PC は常時展開 */
    }
}

/* ================================================================
   モバイル幅専用 (max-width: 767px)
   既存 layout.css の 768px ルールを !important で最小限上書き。
   上書き対象:
     - .nav-left-sidebar (position:relative → fixed オフスクリーン)
     - .dashboard-wrapper (margin-left: 264px → 0)
     - .dashboard-header .navbar-toggler (Bootstrap toggler 非表示)
     - #navbarSupportedContent (collapse → 常時表示)
   ================================================================ */
@media only screen and (max-width: 768px) {

    /* ---- 3本線ハンバーガーボタン ---- */
    .wc-mobile-hamburger {
        margin-top: 0;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        margin-left: 5px;
        width: 38px;
        height: 38px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 4px;
        flex-shrink: 0;
        outline: none !important; /* フォーカス時の輪郭線 */
        box-shadow: none !important; /* ボックスシャドウ */
        -webkit-appearance: none; /* WebKit系のデフォルトボタン外観 */
        appearance: none; /* 標準のデフォルトボタン外観 */
    }


        .wc-mobile-hamburger:hover,
        .wc-mobile-hamburger:focus,
        .wc-mobile-hamburger:active {
            outline: none !important;
            box-shadow: none !important;
            background: transparent !important;
            border: none !important;
        }

    /* ---- 既存 Bootstrap navbar-toggler を非表示
           スコープを .dashboard-header 内の直接子 nav に限定して影響範囲を閉じる ---- */
    .dashboard-header > nav > .navbar-toggler {
        display: none !important;
    }

    .dashboard-header .navbar {
        flex-wrap: nowrap !important;
    }

    /* ---- ヘッダー: #navbarSupportedContent を常時表示
           通知/チャットアイコンをヘッダーに常駐させるための上書き
           flex:1 で残りスペースを占有し ml-auto でアイコンを右寄せ ---- */
    #navbarSupportedContent {
        display: flex !important;
        flex: 1 !important;
        padding: 0 !important;
        flex-basis: 0% !important;
    }

    /* ---- ヘッダー: 通知/チャットアイコンを横並びに強制
           Bootstrap の .navbar-nav はモバイルで flex-direction:column になるため上書き ---- */
    #navbarSupportedContent .navbar-nav {
        flex-direction: row !important;
        align-items: center !important;
    }

    /* ---- ヘッダー: プロフィールと機関名を非表示
           モバイルではオーバーレイ内プロフィールパネルに表示するため ---- */
    .dashboard-header .medication-name {
        display: none !important;
    }

    .dashboard-header .nav-user {
        display: none !important;
    }

    /* ---- 既存サイドバー: layout.css の 768px ルールを上書きしてオフスクリーン固定に変更
           上書き元: .nav-left-sidebar { position:relative; width:100%; top:0; right:0; }
           top / height は JS (openWeCheckMobileMenu) が実行時に動的に上書きする ---- */
    .nav-left-sidebar {
        position: fixed !important;
        left: -280px !important;
        top: 60px !important;
        height: calc(100% - 60px) !important;
        width: 264px !important;
        z-index: 1045 !important;
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    /* ---- サイドバー内の Bootstrap toggler を非表示 ---- */
    .nav-left-sidebar .navbar-toggler {
        display: none !important;
    }

    /* ---- サイドバー内の "Dashboard" テキストリンク (d-xl-none d-lg-none) を非表示 ---- */
    .nav-left-sidebar .d-xl-none.d-lg-none {
        display: none !important;
    }

    /* ---- dashboard-wrapper: layout.css でも 0 になるが念のため明示 ---- */
    .dashboard-wrapper {
        margin-left: 0 !important;
        top: 0 !important;
    }

    /* ---- オーバーレイ背景 ---- */
    .wc-mobile-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 1040;
    }

    /* ---- モバイル プロフィールパネル
           top:0 から始まりサイドバー上部に重なるオーバーレイヘッダーとして機能
           高さは height:auto で中身に合わせて伸縮 (空 label は実質高さ 0)
           背景は白、テキストは濃紺 (見本に合わせた配色) ---- */
    .wc-mobile-profile-panel {
        position: fixed;
        left: -280px;
        top: 0;
        width: 264px;
        height: auto;
        z-index: 1046;
        background-color: #fff;
        display: flex;
        align-items: flex-start;
        padding: 10px 12px;
        transition: left 0.3s ease;
        box-sizing: border-box;
        border-bottom: 1px solid #e6e6f2;
    }

    .wc-mobile-profile-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex: 1;
        min-width: 0;
    }

    /* 機関名: 空のとき label は実質高さ 0 になる (中身なし・width 未指定のため) */
    .wc-mobile-clinic-name {
        display: block;
        color: #1B3553;
        font-size: 11px;
        font-weight: 600;
        margin-bottom: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .wc-mobile-profile-row {
        position: relative;
        display: flex;
        align-items: center;
    }

    .wc-mobile-profile-link {
        display: flex;
        align-items: center;
        color: #1B3553;
        text-decoration: none;
        cursor: pointer;
        min-width: 0;
    }

        .wc-mobile-profile-link .user-info-name {
            margin-left: 8px;
            min-width: 0;
        }

        .wc-mobile-profile-link .user-info-name-primary {
            display: block;
            color: #1B3553;
            font-size: 13px;
            font-weight: bold;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 150px;
            margin-bottom: 0;
            cursor: pointer;
        }

        .wc-mobile-profile-link .user-info-name-sub {
            display: block;
            color: #71789e;
            font-size: 11px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 150px;
        }

    .wc-mobile-profile-dropdown {
        min-width: 200px;
    }

    /*セクション閉じる関係*/
    .wc-mobile-section-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        min-height: 36px !important;
        padding: 4px 0 !important;
    }

        .wc-mobile-section-header .label-key {
            white-space: nowrap;
            flex: 1 1 auto !important;
            min-width: 0 !important;
            margin: 0 !important;
            line-height: 1.4 !important;
        }

    .wc-mobile-section-toggle-btn {
        background: none;
        border: none;
        padding: 0 4px;
        cursor: pointer;
        color: #0c5ab6;
        flex-shrink: 0 !important;
        margin-left: auto !important;
        width: 30px;
        text-align: center;
        /* search.css の button ルールを無効化 */
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: inherit;
        border-radius: 0;
        box-shadow: none;
        transition: none;
        line-height: 1;
        margin-top: 0;
    }

        .wc-mobile-section-toggle-btn:hover,
        .wc-mobile-section-toggle-btn:focus {
            /* search.css の button:hover ルールを無効化（Doctor と同じ見た目を維持） */
            color: #0c5ab6;
            background: none;
            border: none;
            box-shadow: none;
            cursor: pointer;
            transition: none;
        }

    /*申請画面*/
    .mt-no-login .wc-mobile-section-toggle-btn {
        display: none !important;
    }


    .wc-mobile-section.wc-mobile-section-collapsed .wc-mobile-section-body,
    .wc-mobile-section.wc-mobile-section-collapsed .wc-mobile-section-hr {
        display: none !important;
    }

    .wc-mobile-section.wc-mobile-section-collapsed .wc-mobile-section-toggle-icon {
        transform: rotate(180deg);
    }

    /* ================================================================
       メニューオープン時 (JS が body.wc-mobile-menu-open を付与した状態)
       ================================================================ */

    body.wc-mobile-menu-open {
        overflow: hidden;
    }

    body.wc-mobile-menu-open .wc-mobile-backdrop {
        display: block;
    }

    body.wc-mobile-menu-open .wc-mobile-profile-panel {
        left: 0;
    }

    body.wc-mobile-menu-open .nav-left-sidebar {
        left: 0 !important;
    }

    /* サイドバー内の #navbarNav (Bootstrap collapse) をメニュー展開時に強制表示 */
    body.wc-mobile-menu-open .nav-left-sidebar #navbarNav {
        display: block !important;
        }

    .nav-right-sidebar {
        top: 0px !important;
    }

    .nav-right-sidebar .container-fluid{
        margin-top: 65px;
    }

    .totalIteams {
        flex-shrink: 0;
        vertical-align: middle;
    }

    #nav-communication-tab li a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        white-space: nowrap;
    }
    .communication-tab .nav.nav-tabs .nav-link {
        padding: 5px 12px !important;
    }

    .chat_search {
        margin-top: 15px;
        margin-left: 15px;
    }

    /* ================================================================
       一覧系ページ 検索カード モバイルレイアウト統一
       Doctor を基準に、見本寄せの方向で共通部を調整
       対象ページ: Doctor, Patient, PatientGroup, PatientRequest,
                   MedicalTeam, Operator, ServiceRequest, Partner,
                   MedicalInstitution, Notice
       ================================================================ */

    /* 検索行: 横並び → 縦積み */
    .content-row {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        padding:0 10px;
    }

    /* 各フィルター区画: 全幅・縦積み（ラベル上・入力欄下）・下余白 */
    .content-row-filter {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* ラベル: 縮退防止・余白調整 */
    .label-content-row {
        flex-shrink: 0 !important;
        margin: 5px 0 !important;
    }

    /* カテゴリ・ソートドロップダウン: column モードで全幅 */
    .dropdown-category,
    .dropdown-category-sort {
        width: 100% !important;
        flex: 0 0 auto !important;
        min-width: 0 !important;
    }

    /* 件数ドロップダウン: コンパクト幅維持 */
    .dropdown-category-count {
        width: auto !important;
        min-width: 0 !important;
    }

    /* select2 コンテナ: 親コンテナに合わせて全幅
       layout.css の .sortList .select2-container 300px !important (0,2,0) を
       複合セレクタ (0,3,0) で上書き */
    .dropdown-category-sort.sortList .select2-container,
    .dropdown-category .select2-container {
        width: 100% !important;
    }

    /* 検索区画内 select2: layout.css の 200px !important (0,3,0) を (0,4,0) で上書き */
    .collapsible .collapsible-content-search .dropdown-category .select2-container {
        width: 100% !important;
    }

    /* キーワード入力欄: column モードで全幅 */
    .input-search {
        width: 100% !important;
        flex: 0 0 auto !important;
    }

    /* テキスト input: 親 .input-search を全幅で埋める
       layout.css の input[type="text"] 90% !important (0,2,1) を (0,3,0) で上書き */
    .collapsible .collapsible-content-search .input-search .search-box {
        width: 100% !important;
        box-sizing: border-box !important;
        max-width:100% !important;
    }

    /* select 要素: 全幅 */
    .search-list {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 検索ボタン: min-width 解放 */
    .button-search {
        min-width: 0 !important;
        width: auto !important;
    }

    /* Filter トグルボタン: min-width 解放 */
    .collapsible-dropdown-button-d {
        min-width: 0 !important;
    }

    /* リセットボタンコンテナ: 右寄せ → 通常フロー・下余白 */
    .button-reset {
        min-width: 0 !important;
        margin: 0 0 10px 0 !important;
    }

    /* リセットリンク: 幅自動維持 */
    .filter-reset-btn {
        width: auto !important;
    }

    /* ステータス等ボタン群: 固定幅解除・折返し対応 */
    .list-button-content-row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
        align-items: center !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    /* 縦線セパレーター: 非表示 */
    .line-content-row {
        display: none !important;
    }

    /* テーブルコンテナ: 横スクロール許可 */
    #table-container-wc {
        overflow-x: auto;
        width: 100%;
    }

    /* 検索カード内 padding */
    .collapsible-content-search {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* 展開フィルターエリア padding: layout.css の 18px (0,1,0) を (0,2,0) で縮小 */
    .card-collapsible .collapsibleContent {
        padding-left: 20px !important;
        padding-right: 10px !important;
    }

    /* Sort 全幅・Count+Reset 同行レイアウト
       doctor.css の .content-row (0,1,0 !important) に勝つため複合セレクタ (0,2,0) で指定 */
    .content-row.base-filter-option {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
    }

    /* Sort: 1行占有 */
    .base-filter-option > .content-row-filter:first-child {
        flex: 0 0 100% !important;
    }

    /* Count: コンパクト幅（共通の width: 100% を (0,3,0) で無効化） */
    .base-filter-option > .content-row-filter:not(:first-child) {
        flex: 0 0 auto !important;
        width: auto !important;
        margin-bottom: 0 !important;
    }

    /* Reset: Count の右側へ展開・右寄せ */
    .base-filter-option > .button-reset {
        flex: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        margin-right: 10px !important;
    }

    /* ================================================================
       見本寄せ 微調整
       ================================================================ */

    /* m-l-10 の margin-left: 30px をフィルター行内では無効化
       （PC 横並びレイアウト用スペーサーのためモバイルでは不要） */
    .content-row-filter .label-content-row {
        margin-left: 0 !important;
    }

    /* Filter ボタンの PC 用余白を解除
       layout.css の (0,3,0) を (0,4,0) で上書き */
    .collapsible .collapsible-content-search .content-row-filter .collapsible-dropdown-button-d {
        margin-top: 0 !important;
        margin-right: 0 !important;
        text-align: left !important;
    }

    /* Search/Filter ボタン行のみ横並び・中央寄せ
       column に変えた content-row-filter を最後の行（ボタン行）だけ row に戻す */
    .collapsible-content-search .content-row > .content-row-filter:last-child {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr;
        align-items: center !important;
        width: 100% !important;
        margin-top: 10px;
    }


        /* Search を中央 */
        .collapsible-content-search .content-row > .content-row-filter:last-child .button-search {
            grid-column: 2;
            justify-self: center;
            width: auto !important;
            min-width: 0 !important;
            margin: 0 !important;
        }

        /* Filter を右端 */
        .collapsible-content-search .content-row > .content-row-filter:last-child .collapsible-dropdown-button-d {
            grid-column: 3;
            justify-self: end;
            min-width: 0 !important;
            margin: 0 !important;
            text-align: right !important;
        }

        .collapsible-content-search .content-row > .content-row-filter:last-child .collapsible-dropdown-button-d #collapsible-dropdown-button {
            font-size:12px;
        }

    /* フィルター行の下 padding 解除: margin-bottom 8px + padding-bottom 5px = 13px → 8px に */
    .filter-option .content-row-filter {
        padding: 0 10px;
    }

    /* ================================================================
       Doctor 検索カード モバイル個別調整
       共通ルール適用後も doctor.css の固定幅指定が残る箇所を
       複合セレクタで特異度を上げて上書きする
       ================================================================ */

    /* Team ドロップダウン: column モードで全幅
       doctor.css の width: 170px !important (0,1,0) を (0,2,0) で上書き */
    .dropdown-category.team-list-content-row {
        width: 100% !important;
        flex: 0 0 auto !important;
        min-width: 0 !important;
    }

    /* Team select2: 固定幅解除 (doctor.css 0,2,0 → こちら 0,3,0) */
    .dropdown-category.team-list-content-row .select2,
    .dropdown-category.team-list-content-row .select2-container {
        width: 100% !important;
    }

    /* User Role ドロップダウン: column モードで全幅
       doctor.css の width: 310px !important (0,1,0) を (0,2,0) で上書き */
    .dropdown-category.role-list-content-row {
        width: 100% !important;
        flex: 0 0 auto !important;
        min-width: 0 !important;
    }

    /* User Role select2: 固定幅解除 (doctor.css 0,2,0 → こちら 0,3,0) */
    .dropdown-category.role-list-content-row .select2-container {
        width: 100% !important;
    }

    /* Count 行だけ ラベル左 + セレクト右 の横並び */
    .base-filter-option > .content-row-filter:nth-child(2) {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        width: auto !important;
    }

        .base-filter-option > .content-row-filter:nth-child(2) .label-content-row {
            flex-shrink: 0 !important;
            margin: 0 10px 0 0 !important;
        }

        .base-filter-option > .content-row-filter:nth-child(2) .dropdown-category-count {
            width: auto !important;
            min-width: 65px !important;
        }

    /* ================================================================
       検索フォーム開閉トグル (Search 見出し行右端)
       ================================================================ */

    /* 見出し行: flex 配置 + 高さ固定解除（常時適用） */
    .collapsible .collapsible-content-div {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        height: auto !important;        /* layout.css の height: 30px 固定を解除 */
        min-height: 36px !important;    /* クリック領域確保 */
        padding: 4px 0 !important;      /* 上下余白 */
    }

    /* 見出しラベル: height: inherit・margin を解除（常時適用） */
    .collapsible .collapsible-content-div label:first-child {
        height: auto !important;
        margin: 0 !important;
        line-height: 1.4 !important;
    }

    /* トグルボタン本体 */
    .wc-search-toggle-btn {
        background: none;
        border: none;
        padding: 0 4px;
        cursor: pointer;
        color: #0c5ab6;
        line-height: 1;
        flex-shrink: 0;
        outline: none !important;
        box-shadow: none !important;
        width:30px;
        margin-right:20px;
    }

        .wc-search-toggle-btn:hover,
        .wc-search-toggle-btn:focus,
        .wc-search-toggle-btn:active {
            outline: none !important;
            box-shadow: none !important;
            background: none !important;
            border: none !important;
            color: #0c5ab6 !important;
        }

    /* 閉じた状態: .collapsible の下余白（上下対称スペース） */
    .card-collapsible.wc-search-collapsed .collapsible {
        padding-bottom: 10px !important;
    }

    /* 閉じた状態: 検索フォーム・hr・フィルターエリアを非表示 */
    .card-collapsible.wc-search-collapsed .collapsible-content-search,
    .card-collapsible.wc-search-collapsed .collapsible-hr,
    .card-collapsible.wc-search-collapsed .collapsibleContent {
        display: none !important;
    }

    /* 閉じた状態: アイコン反転 (∧ → ∨) */
    .card-collapsible.wc-search-collapsed .wc-search-toggle-icon {
        transform: rotate(180deg);
    }
    .graph-header {
        margin-top: 0px !important;
    }

    #dashboard-ecommerce {
        margin-top : 0 !important;
    }
    /* 1) PC absolute配置をモバイルで解除（重なり防止） */
    /*#dashboard-ecommerce .dashboard-export-buttons,
    #dashboard-ecommerce .dashboard-patient-info {*/
        /*        position: static !important;
        right: auto !important;*/
    /*}*/
    /* 2) 3ボタンを欠けずに表示 */
    #dashboard-ecommerce .dashboard-export-buttons {
        width: 100% !important;
        display: flex !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
        margin-top: 4px !important;
    }

        #dashboard-ecommerce .dashboard-export-buttons .nav-link {
            flex: 1 1 0 !important;
            min-width: 0 !important;
            justify-content: center !important;
        }

            #dashboard-ecommerce .dashboard-export-buttons .nav-link span {
                white-space: nowrap !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
            }
    /* 3) 患者情報のはみ出し防止 */
    #dashboard-ecommerce .dashboard-patient-info {
        order: 2 !important;
        display: flex !important;
        position: static !important; /* 重要：PC用の絶対配置を完全に無効化 */
        margin-left: auto !important;
        margin-top: 65px !important; /* 見出しと高さを揃える */
        /*max-width: 160px;*/
    }
        #dashboard-ecommerce .dashboard-patient-info .nav-link {
            background-color: #F4F4F4 !important;
            border-radius: 10px !important;
            padding: 5px 12px !important;
            display: flex !important;
            align-items: center !important;
        }
        #dashboard-ecommerce .dashboard-patient-info .user-info-name-primary,
        #dashboard-ecommerce .dashboard-patient-info .user-info-name-sub {
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
        }
    #dashboard-ecommerce .graph-header {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 8px !important;
    }
        /* 1行目: 見出し */
        #dashboard-ecommerce .graph-header > nav {
            order: 1 !important;
            /*            flex: 0 0 100% !important;
            width: 100% !important;*/
            flex: 0 1 auto !important;
            width: auto !important;
            margin-top: 65px;
        }

            #dashboard-ecommerce .graph-header > nav .breadcrumb {
                margin: 0 !important;
                padding: 0 !important;
            }

        /* 2行目: ボタン1,2,3 */
        #dashboard-ecommerce .graph-header .dashboard-export-buttons {
            order: 2;
            flex: 0 0 100% !important;
            width: 100% !important;
            display: grid !important;
            grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
            gap: 8px !important;
            position: static !important;
            right: auto !important;
            margin-top: 4px !important; 
        }

            #dashboard-ecommerce .graph-header .dashboard-export-buttons .nav-link {
                min-width: 0 !important;
                justify-content: center !important;
                padding: 8px 8px !important;
            }

                #dashboard-ecommerce .graph-header .dashboard-export-buttons .nav-link span {
                    white-space: nowrap !important;
                    overflow: hidden !important;
                    text-overflow: ellipsis !important;
                    min-width:auto;
                }

    #dashboardSetting {
        max-width: 300px;
    }

    /*表タイトル*/
    /* ▼ 追加：スマホ時はタイトルを非表示 ▼ */
    .wc-table-title {
        display: none !important;
    }

    /*詳細*/
    /*.detail-body{
        margin-top: 100px;
    }*/

    /*医療機関申請*/
    .navbar-fixed.navbar-create-request{
        margin-top:60px;
    }

    #user-data-table-report {
        flex-wrap: wrap;
        gap: 0.25rem;
        justify-content: left;
        text-align: center;
        padding-left: 1rem;
        text-indent: 1rem;
    }

    #user-data-table-report div{
        padding:7px;
    }
    /*Data-Report画面*/
    #user-data-table-report .label-period{
        text-align:left;
        padding-left: 0.25rem;
        min-width:30px;
    }

    .card-body #user-data-table-report .row{
        margin-bottom : 3px;
    }

/*        .card-body #user-data-table-report .row .btn {
            max-width:75px;
        }*/

    /*血糖レポート画面*/
    /* メニュー部分を通常のフローに戻すか、高さを確保する */
    .navbar-fixed2 {
        position: relative !important; /* absolute から relative に変更 */
        top: 0 !important;
        margin-top: 15px !important;
        margin-bottom: 15px !important;
        z-index: 100 !important;
    }
        /* 表の上部マージンを調整 */
        #loadingOverlayDiv {
            margin-top: 0 !important; /* navbar-fixed2 が relative になれば不要になるためリセット */
        }
    /* PDF / CSV ボタンのコンテナを横並びに強制する */
    .navbar-fixed2 .card-body .row > div.d-flex.justify-content-start {
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }
    /* PDFボタンとCSVボタンのそれぞれのラッパー幅を調整して横並びにする */
    .navbar-fixed2 .btn-insulin-and-medicine {
        flex: 0 0 48% !important;
        max-width: 48% !important;
        margin-right: 2% !important;
        padding: 0 !important;
    }
        /* 2つ目のボタン（CSV）の右マージンをなくす */
        .navbar-fixed2 .btn-insulin-and-medicine:nth-child(2) {
            margin-right: 0 !important;
        }
        /* ボタン要素自体を親要素の幅いっぱいに広げる */
        .navbar-fixed2 .btn-insulin-and-medicine label.btn {
            width: 100% !important;
            display: block !important;
        }

    /* PDF/CSVボタンを横に並べるためのラッパー調整 */
    .navbar-fixed2 .card-body .row > div.d-flex.justify-content-start > div:first-child,
    .navbar-fixed2 .card-body .row > div.d-flex.justify-content-start > div:nth-child(2) {
        display: inline-block !important;
        width: 48% !important;
        margin-right: 2% !important;
    }
    /* =========================================
   2. ラジオボタン (Monthly / Date) の調整
   ========================================= */
    div#dashboard-ecommerce div.navbar-fixed2 div.card-body div.row div.d-flex.justify-content-start > div.mt-2 {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        margin-top: 15px !important;
        margin-bottom: 10px !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
    }

        div#dashboard-ecommerce div.navbar-fixed2 div.card-body div.row div.d-flex.justify-content-start > div.mt-2 input[type="radio"] {
            margin: 0 !important;
            padding: 0 !important;
            width: 18px !important;
            height: 18px !important;
            flex: 0 0 18px !important;
            display: inline-block;
        }

        div#dashboard-ecommerce div.navbar-fixed2 div.card-body div.row div.d-flex.justify-content-start > div.mt-2 label.radio-btn-label {
            width: auto !important;
            margin: 0 0 0 8px !important; /* ラジオボタンとラベルの間の隙間 */
            padding: 0 !important;
            white-space: nowrap !important;
            display: inline-block;
            line-height: 18px !important;
        }
            /* 【追加】Monthlyのラベルに右マージンを持たせる。
   非表示になるとこのマージンも消えるため、Dateが自然に左端に寄ります */
            div#dashboard-ecommerce div.navbar-fixed2 div.card-body div.row div.d-flex.justify-content-start > div.mt-2 label.radio-btn-label[for='radio-0'] {
                margin: 0 20px 0 8px !important; /* 右側に20pxの隙間を追加 */
            }
        /* JSのhide()で非表示にされた要素を強制的に消す確実な安全策 */
        div#dashboard-ecommerce div.navbar-fixed2 div.card-body div.row div.d-flex.justify-content-start > div.mt-2 .show-pdf-only[style*="none"] {
            display: none !important;
        }

    /* =========================================
       3. 期間指定 (Period) の調整 (縦積み対応)
       ========================================= */
    div#dashboard-ecommerce div.navbar-fixed2 div.card-body div.row div.d-flex.justify-content-start > div.select-time-group {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-top: 5px !important;
        margin-bottom: 15px !important;
        padding-left: 0 !important; /* 左揃え */
        margin-left: 0 !important; /* 左揃え */
    }
        /* フォームインラインを横並びベースで折り返し許可 */
        div#dashboard-ecommerce div.navbar-fixed2 div.card-body div.row div.d-flex.justify-content-start > div.select-time-group div.form-inline {
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: wrap !important; /* 折り返し許可 */
            align-items: center !important;
            justify-content: flex-start !important;
            width: 100% !important;
        }
        /* 「Period:」ラベルを100%幅にして単独行にする */
        div#dashboard-ecommerce div.navbar-fixed2 div.card-body div.row div.d-flex.justify-content-start > div.select-time-group label.show-date-only {
            flex: 0 0 100% !important;
            width: 100% !important;
            margin-right: 0 !important;
            margin-bottom: 5px !important;
            text-align: left !important;
            display: block !important; /* 強制的にブロック要素に */
        }
        /* 日付入力欄 (datepicker) の調整 */
        div#dashboard-ecommerce div.navbar-fixed2 div.card-body div.row div.d-flex.justify-content-start > div.select-time-group input.datepicker {
            flex: 1 1 auto !important; /* 利用可能なスペースを占有 */
            width: 40% !important; /* 目安の幅 */
            min-width: 0 !important; /* 縮小を許可 */
            margin-bottom: 0 !important;
            padding: 4px 2px !important; /* 左右の余白を極力小さく */
            text-align: center !important;
            font-size: 13px !important;
        }
        /* 「-」 (minus) の調整 */
        div#dashboard-ecommerce div.navbar-fixed2 div.card-body div.row div.d-flex.justify-content-start > div.select-time-group span.show-date-only {
            margin: 0 4px !important; /* 左右の余白を小さく */
            flex: 0 0 auto !important;
        }
        /* 「Maximum 3 months」ラベルの調整 */
        div#dashboard-ecommerce div.navbar-fixed2 div.card-body div.row div.d-flex.justify-content-start > div.select-time-group label#lbl-max-3months {
            width: 100% !important;
            flex: 0 0 100% !important;
            margin-top: 5px !important;
            margin-left: 0 !important;
            text-align: left !important;
            font-size: 12px !important;
            display: block !important;
        }

    /* トグルスイッチ（All Data View, Time Display, Self-Injection）のコンテナを縦積みにする */
    div#dashboard-ecommerce div.navbar-fixed2 div.card-body div.row:nth-child(2) > div.d-flex.justify-content-start {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
        /* 各トグルスイッチの行（ラベルとスイッチ）を横並びで両端揃えにする */
        div#dashboard-ecommerce div.navbar-fixed2 div.card-body div.row:nth-child(2) > div.d-flex.justify-content-start > div.show-pdf-only {
            display: flex !important;
            flex-direction: row !important;
            justify-content: space-between !important; /* ラベルを左、スイッチを右に配置 */
            align-items: center !important;
            width: 100% !important;
            margin-left: 0 !important; /* export.css の ml-4 を打ち消す */
            margin-bottom: 15px !important; /* 各行の間隔を少し開ける */
        }
            /* ラベルのスタイル調整 */
            div#dashboard-ecommerce div.navbar-fixed2 div.card-body div.row:nth-child(2) > div.d-flex.justify-content-start > div.show-pdf-only label.label-setting {
                margin-bottom: 0 !important;
                font-weight: bold !important;
                flex: 1 1 auto !important; /* ラベルが利用可能なスペースを占めるようにする */
                text-align: left !important;
            }
            /* スイッチ（トグル）自体のコンテナ調整 */
            div#dashboard-ecommerce div.navbar-fixed2 div.card-body div.row:nth-child(2) > div.d-flex.justify-content-start > div.show-pdf-only label.switch {
                margin-bottom: 0 !important;
                flex: 0 0 auto !important; /* スイッチの幅は固定 */
                float: none !important; /* export.css の float: right を打ち消す */
            }

    .row-input {
        margin-top: 100px;
    }

    .navbar-fixed.navbar-create-request h2 {
        margin-right: auto !important;
        margin-left: auto !important;
        font-size:20px;
        font-weight:bold;
    }

    /*ServiceRequest*/
    /* 医療機関検索ボタンエリアのモバイル用調整 */
    .mt-no-login .row-input .input-detail-flex-row {
        /* service-request.css の row !important を上書きして折り返しを許可*/ 
        flex-wrap: wrap !important;
        gap: 10px;
    }
/*
    #Searchmedical {
        max-width: 180px;
    }

    #btnClearMedicalCenter {
        max-width: 80px;
    }*/

    .input-request-service > div[style*="display:flex"] span.select2.select2-container.select2-container--default {
        width: 120px !important;
    }
    /* 電話番号入力欄のモバイル用調整 */
    .input-request-service > div[style*="display:flex"] {
        flex-wrap: wrap !important;
        gap: 5px; /* 要素間の隙間 */
    }

    .input-request-service .phone-no {
        /* 電話番号入力欄を100%にして確実に下の行へ落とす */
        width: 100% !important;
        margin-left: 0 !important; /* 既存の m-l-5 を打ち消す */
        margin-top: 5px; /* 上の国コードとの余白 */
    }

    .modal-open .modal {
        overflow-y: hidden;
        padding : 0 10px !important;
    }

    .modal-dialog {
        margin: 1.5rem auto;
    }

    .modal:not(#modalAddSchedule) .modal-body .row div label {
        font-size: 14px;
    }

    .table.table-modal{
        height:200px;
        overflow-y:auto;
    }

    .table thead th{
        font-size:12px;
    }
    .table tbody tr td {
        font-size: 12px;
    }

    tr th:first-child {
        padding-left: 0 !important;
        text-align: center;
    }
    tr th {
        padding: 7px !important;
    }

    tr td:first-child {
        padding-left: 0 !important;
        text-align: center;
    }
    tr td {
        padding: 7px !important;
    }

    .row .ColM1W {
        width: 35% !important;
        max-width: 35% !important;
    }

    .row .ColM2W {
        width: 40% !important;
        max-width: 40% !important;
    }

    .row .ColM3W {
        display: none;
    }

    .row .ColM4W {
        display: none;
    }

    .row .ColM5W {
        width: 25% !important;
        max-width: 25% !important;
        text-align: center;
    }

    .ColM5W .btn-select-modal {
        max-width: 100%;
        min-width:50px;
        padding: 5px 2px; /* 左右の余白を減らす */
        font-size: 12px; /* 文字サイズを小さく */
        white-space: normal; /* テキストの折り返しを許可 */
    }

    .modal:not(#modalAddSchedule) .modal-body .row {
        flex-wrap: wrap !important;
    }
    .navbar-fixed2 .show-pdf-only {
        display: flex !important;
        justify-content: space-between !important; /* ラベルを左、スイッチを右に */
        align-items: center !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-bottom: 10px !important;
    }

    .paginateDiv {
        flex-wrap: wrap !important;
        justify-content: center !important; /* 必要に応じて中央寄せ */
    }
    /* ページ番号ボタン（ul要素）の折り返し許可 */
    .dataTables_paginate .pagination {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 5px; /* ボタンが上下に折り返された際の隙間を設定 */
    }

    .navbar-fixed2 .label-setting {
        font-weight: bold !important;
    }

    /* =========================================
       5. Reset / Export ボタンのレイアウト
       ========================================= */
    /* 2つ目のrow（トグルスイッチとボタンを含む行）を縦積みに強制し、ボタンが確実に下に来るようにする */
    div#dashboard-ecommerce div.navbar-fixed2 div.card-body div.row:nth-child(2) {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

        /* Reset / Export ボタンのコンテナ（下部） */
        div#dashboard-ecommerce div.navbar-fixed2 div.card-body div.row:nth-child(2) > div.d-flex.justify-content-end {
            width: 100% !important;
            max-width: 100% !important;
            flex: 0 0 100% !important;
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            justify-content: space-between !important;
            align-items: center !important;
            margin-top: 25px !important;
            padding: 0 10px !important;
            box-sizing: border-box !important;
        }
            /* 各ボタンのラッパーを均等幅にするが、少し小さめに設定 */
            div#dashboard-ecommerce div.navbar-fixed2 div.card-body div.row:nth-child(2) > div.d-flex.justify-content-end > div.btn-export-pdf {
                flex: 0 0 46% !important;
                max-width: 46% !important;
                width: 46% !important;
                margin: 0 !important;
                padding: 0 !important;
            }
                /* ボタン本体をラッパー幅いっぱいに広げる（displayの強制は削除し、JSのshow/hideに任せる） */
                div#dashboard-ecommerce div.navbar-fixed2 div.card-body div.row:nth-child(2) > div.d-flex.justify-content-end > div.btn-export-pdf button {
                    width: 100% !important;
                    box-sizing: border-box !important;
                }
    .blood-sugar.blood-sugar__date{
        font-size: 12px !important;
        white-space:nowrap;
    }

    /* メインのデータテーブルのフォントサイズ調整 */
    #dataTableReport th,
    #dataTableReport td {
        font-size: 12px !important;
        padding: 4px !important; /* 余白も小さくして詰める */
    }
    /* 集計テーブル（下の表）のフォントサイズ調整 */
    #summaryTableData table th,
    #summaryTableData table td {
        font-size: 12px !important;
        padding: 4px !important;
    }

    /* 下の集計表を横スクロール可能にする */
    #summaryTableData {
        overflow-x: auto !important;
        width: 100% !important;
        -webkit-overflow-scrolling: touch; /* iOSでのスムーズスクロール */
    }
        /* テーブルが縮みすぎないように最小幅を設定 */
        #summaryTableData table {
            min-width: 600px !important; /* 必要に応じて調整してください */
        }

    /* カードのパディングを少し狭くしてスペースを有効活用 */
    .navbar-fixed2 .card-body {
        padding: 15px !important;
    }

    .card{
        min-width:320px !important;
    }

    /*ダッシュボードのグラフ*/
    .row-chart .card {
        min-height: 600px !important;
    }

    #timeTagBS_Primary,
    #timeTagBS_Secondary {
        width: 300px !important;
    }

    .content-overlay{
        margin-top:30px !important;
    }

    .insulin-section2 , .diabetes-medications-section2 {
        margin-right: 5px !important;
        margin-left: 5px !important;
    }

    .text-header2{
        margin-left : 10px !important;
    }

    .input-detail {
        flex-direction: column;
        gap: 10px;
    }

        .input-detail label {
            padding: 0;
        }

        .input-detail .input-doctor input[type="text"] {
            min-width: 0 !important;
            width: 100% !important;
        }

        .input-detail .label-setting{
            margin-left:5px;
            max-width : 85%;
        }

/*        .input-detail #btnShowQR{
            text-align:center;
            justify-content:center;
            margin: 0 35%;
        }*/

    .dashboard-wrapper .navbar-fixed h2 {
        font-size: 16px;
        margin-top: 3px !important;
    }

    .container-fluid.dashboard-content-list {
        padding: 80px 30px 20px 30px;
    }

    .tour-check {
        left: 0;
    }

    .detail-body .input-detail .btn-outline-primary.ml-3 {
        margin-left: 0 !important;
    }

    .zoom-status-not-connect{
        margin-left:5px;
    }

    .footer .btn-wrap{
        white-space:nowrap;
        display:flex;
    }

        .footer .btn-wrap .btn-primary.ml-5em {
            margin-left: 3em;
        }

    /* Footer: scroll to top (opt-in: .wc-mobile-footer-with-top) */
    .footer.wc-mobile-footer-with-top {
        height: auto;
        min-height: auto;
        padding-bottom: 12px;
    }
    
    .footer.wc-mobile-footer-with-top .wc-mobile-scroll-top-wrap {
        display: block;
        text-align: center;
    }

    .footer.wc-mobile-footer-with-top .wc-mobile-scroll-top-btn {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 30px;
        border: 1px solid #d2d2e4;
        border-radius: 4px;
        background: #fff;
        color: #71748d;
        font-size: 12px;
        line-height: 1.2;
        padding: 4px;
    }

    .footer-no-login.wc-mobile-footer-with-top {
        height: auto;
        min-height: auto;
        padding-bottom: 12px;
    }

        .footer-no-login.wc-mobile-footer-with-top .wc-mobile-scroll-top-wrap {
            display: block;
            text-align: center;
        }

        .footer-no-login.wc-mobile-footer-with-top .wc-mobile-scroll-top-btn {
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 30px;
            border: 1px solid #d2d2e4;
            border-radius: 4px;
            background: #fff;
            color: #71748d;
            font-size: 12px;
            line-height: 1.2;
            padding: 4px;
        }

    .wc-mobile-scroll-top-icon {
        font-size: 14px;
        line-height: 1;
    }

    .footer.wc-mobile-footer-with-top .wc-mobile-footer-divider {
        display: block;
        border: 0;
        border-top: 1px solid #d2d2e4;
        margin: 8px 0 12px;
    }

    .footer.wc-mobile-footer-with-top .wc-mobile-footer-actions {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center;
        width: 100%;
        white-space: normal;
    }

        .footer.wc-mobile-footer-with-top .wc-mobile-footer-actions .btn-primary.ml-5em {
            margin-left: 0 !important;
        }

    .footer-no-login.wc-mobile-footer-with-top .wc-mobile-footer-divider {
        display: block;
        border: 0;
        border-top: 1px solid #d2d2e4;
        margin: 8px 0 12px;
    }

    .footer-no-login.wc-mobile-footer-with-top .wc-mobile-footer-actions {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center;
        width: 100%;
        white-space: normal;
    }

        .footer-no-login.wc-mobile-footer-with-top .wc-mobile-footer-actions .btn-primary.ml-5em {
            margin-left: 0 !important;
        }

    /*患者グループ医療者検索ダイアログ*/
    .modal-dialog .base-filter-option .button-reset{
        margin : auto !important;
        justify-content : center !important;
    }

    .modal-dialog .statusList .select2-container {
        width: 100% !important;
    }

    .modal-dialog .roleList .select2-container{
        width : 100% !important;
    }

    /*Operator Detail*/
    .country-text-input .select2-container .selection .select2-selection {
        max-height: 100% !important;
    }

    /*ServiceRequestDetail*/
    .wc-mobile-backbutton {
        display: none;
    }

    /*ダイアログの表示制御*/
    .jconfirm-box.jconfirm-hilight-shake.jconfirm-type-animated{
        max-width:550px;
        width:95% !important;
    }

    /*お知らせ*/
    .input-effect-time-from , .input-effect-time-to{
        width:auto !important;
    }

    .notice-body{
        min-width:auto !important;
    }

    /*表のデータなし*/
    table.dataTable td.dataTables_empty, table.dataTable th.dataTables_empty {
        text-align: left !important;
    }

    /*UserInfo*/
    .input-user-infor > div[style*="display:flex"] span.select2.select2-container.select2-container--default {
        width: 120px !important;
    }
    /* 電話番号入力欄のモバイル用調整 */
    .input-user-infor > div[style*="display:flex"] {
        flex-wrap: wrap !important;
        gap: 5px; /* 要素間の隙間 */
    }

    .input-user-infor .phone-no {
        /* 電話番号入力欄を100%にして確実に下の行へ落とす */
        width: 100% !important;
        margin-left: 0 !important; /* 既存の m-l-5 を打ち消す */
        margin-top: 5px; /* 上の国コードとの余白 */
    }

    /* --- Physical Condition: 身長・体重を2列 --- */
    /* ================================================================
       sw014 UserInfo（患者）モバイル：Physical Condition（見本レイアウト）
       前提: 糖尿病行の空 label に @Localizer["Disease"] を入れること
       ================================================================ */

    /* sw014 Physical Condition */
    .sw014-user-dashboard .wc-mobile-section-body:has(#Height) {
        display: block;
        overflow: hidden;
    }

        .sw014-user-dashboard .wc-mobile-section-body:has(#Height) > .input-detail:nth-child(1),
        .sw014-user-dashboard .wc-mobile-section-body:has(#Height) > .input-detail:nth-child(2) {
            float: left;
            width: calc(50% - 6px);
            box-sizing: border-box;
            margin: 0 0 12px 0 !important;
        }

        .sw014-user-dashboard .wc-mobile-section-body:has(#Height) > .input-detail:nth-child(2) {
            float: right;
        }

        .sw014-user-dashboard .wc-mobile-section-body:has(#Height) > .input-detail:nth-child(n+3) {
            clear: both;
            margin: 10px 0 !important;
        }

            .sw014-user-dashboard .wc-mobile-section-body:has(#Height) > .input-detail:nth-child(n+3) > label.label-sub:empty {
                display: none;
            }

        .sw014-user-dashboard .wc-mobile-section-body:has(#Height) > .input-detail:nth-child(3) {
            display: flex !important;
            flex-direction: column !important;
            gap: 8px !important;
        }

            .sw014-user-dashboard .wc-mobile-section-body:has(#Height) > .input-detail:nth-child(3) .input-user-infor {
                display: flex;
                flex-direction: row;
                align-items: center;
                gap: 10px;
            }

            .sw014-user-dashboard .wc-mobile-section-body:has(#Height) > .input-detail:nth-child(3) .diabete-type-content {
                flex: 1;
                min-width: 0;
            }

            .sw014-user-dashboard .wc-mobile-section-body:has(#Height) > .input-detail:nth-child(3) .select2-container {
                width: 130px !important;
                flex-shrink: 0;
            }
            .sw014-user-dashboard .wc-mobile-section-body:has(#Height) > .input-detail:nth-child(3) .input-user-infor {
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                align-items: flex-start;
                gap: 10px;
            }

            .sw014-user-dashboard .wc-mobile-section-body:has(#Height) > .input-detail:nth-child(3) #DiabeteTypeError {
                flex: 1 1 100%;
                width: 100%;
                margin-top: 4px;
            }
    /*完了トースト*/
    #ui_notifIt {
        top: 100px;
        padding: 0 15px;
        right: 0 !important;
        left: 50vw !important;
        width: 300px !important;
    }
}

@media only screen and (max-width: 391px){
    /* ---- 3本線ハンバーガーボタン ---- */
    .wc-mobile-hamburger {
        margin-left: 0;
        padding: 4px;
    }

    .navbar-right-top .nav-item .nav-link {
        padding: 6px 4px 0 !important;
        margin-left: 0 !important;
    }

    .navbar.navbar-expand-md.bg-white.fixed-top .navbar-brand {
        margin-right: 0;
    }

    .dashboard-patient-chart{
        padding:20px !important;
    }

    /* 3) 患者情報のはみ出し防止 */
    #dashboard-ecommerce .dashboard-patient-info {
        position: static !important; /* 重要：PC用の絶対配置を完全に無効化 */
        max-width:120px; /*患者の表示を小さくする*/
        margin-top: 65px !important; /* 見出しと高さを揃える */
    }

    /*表示が完全に重なるため、中央に寄せる*/
    .base-filter-option > .button-reset {
        display: flex !important;
        align-items: center !important;
        justify-self: center;
        margin: auto !important;
        padding-top: 5px;
    }

    .content-row.base-filter-option {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        align-items: baseline !important;
    }

    .card{
        min-width: auto !important;
        min-height:auto !important;
    }

/*    #dashboardSetting{
        max-width:300px;
    }

    #Searchmedical {
        max-width: 160px;
    }

    #btnClearMedicalCenter {
        max-width: 60px;
    }*/

    tr th:first-child {
        padding-left: 0 !important;
        padding: 7px !important;
    }

    tr td:first-child {
        padding-left: 0 !important;
        padding: 7px !important;
    }

    .table thead th {
        font-size: 10px;
    }

    .table tbody tr td {
        font-size: 10px;
    }

    .modal-dialog {
        margin: 1.5rem auto;
    }

    #user-data-table-report div {
        padding: 3px;
    }

    .dashboard-wrapper .navbar-fixed h2 {
        display : none;
    }

    .dashboard-wrapper .navbar-fixed h3 {
        display: none;
    }

    .dashboard-ecommerce .row-input{
        margin-top:0px; /*タイトルを表示しないため、マージンを消す*/
    }

    .modal:not(#modalAddSchedule) .modal-content .modal-body .button-top {
        flex-direction: column;
        gap: 3px;
        display: flex;
        justify-content: flex-end;
    }

        .modal:not(#modalAddSchedule) .modal-content .modal-body .button-top .btn {
            max-width: 175px;
            font-size: 12px;
            text-align: center;
            margin-right: 0 !important;
            align-self: flex-end;
        }

    .wc-mobile-backbutton{
        display:flex !important;
    }

    .footer .btn-wrap .btn-outline-transparent {
        margin: 0;
    }

    .collapsible-content-search .content-row > .content-row-filter:last-child
    .collapsible-dropdown-button-d {
        font-size: 0;
    }

        .collapsible-content-search .content-row > .content-row-filter:last-child
        .collapsible-dropdown-button-d #collapsible-dropdown-button {
            font-size: 0;
        }
        .collapsible-content-search .content-row > .content-row-filter:last-child
        .collapsible-dropdown-button-d #collapsible-dropdown-button .fa-stack {
            font-size: 12px; /* アイコン表示用に復元 */
        }

        .collapsible-content-search .content-row > .content-row-filter:last-child
        .collapsible-dropdown-button-d #collapsible-dropdown-button-patient .fa-stack {
            font-size: 12px; /* アイコン表示用に復元 */
        }

    /*未読マーク*/
    .indicator {
        top: 4px !important;
        right: 7px !important;
    }

    .container-fluid.dashboard-content-list {
        padding: 60px 30px 20px 30px;
    }

    /*完了トースト*/
    #ui_notifIt {
        top: 100px;
        padding: 0 15px;
        right: 0 !important;
        left: 40vw !important;
        width: 200px !important;
    }
}
