/* ===============================
   グローバル設定
================================= */

body {
    background-color: #fcf6f5 !important;
    margin: 0;
    font-family: var(--font-noto-sans-jp, sans-serif);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ===============================
   ヘッダー
================================= */

.main-header {
    background-image: linear-gradient(90deg, #d8a3dd, #f29893);
    color: #fff;
    padding: 25px 20px;
    font-size: 24px;
    height: 30px;
    display: flex;
    align-items: center;
}

/* ===============================
   レイアウト
================================= */

.layout {
    display: flex;
    height: calc(100vh - 56px);
}

/* ===============================
   メインコンテンツ
================================= */

.main-content {
    flex: 1;
    padding: 20px 30px;
    overflow-y: auto;
}


/* ===============================
   余白（Tailwind削除用）
================================= */

.mt-s {
    margin-top: 8px;
}

.mt-m {
    margin-top: 16px;
}

.mt-l {
    margin-top: 24px;
}

.mb-s {
    margin-bottom: 8px;
}

.mb-m {
    margin-bottom: 16px;
}

.mb-l {
    margin-bottom: 24px;
}

/* ===============================
   グリッド / レイアウトユーティリティ
================================= */

.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.grid-3col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.grid-4col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 16px;
}

.col-span-2 {
    grid-column: span 2;
}

/* 横並び */
.hstack {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 幅 */
.w-100 {
    width: 100%;
}
/* ===============================
   入力系
================================= */





/* 2カラム内で横幅100%使う */
.col-2 {
    grid-column: span 2;
}

/* フォームフィールドの上下余白 */
.form-field {
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: #777;
}

/* flex基準の幅可変 */
.flex-1 {
    flex: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* .separator {
    text-align: center;
    font-weight: bold;
} */
/*
.text-left {
    text-align: left;
} */

/* .date-range-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: center;
} */
/*
.sortable {
    text-align: center;
    padding: 0;
}

.sort-arrow {
    display: flex;
    flex-direction: column;
    line-height: 1;
    font-size: 12px;
    align-items: center;
}

.form-group-inline {
    display: grid;
    grid-template-columns: 1fr 120px;
    align-items: end;
    gap: 20px;
}

.form-block {
    display: flex;
    flex-direction: column;
}

.form-label {
    margin-bottom: 5px;
    font-weight: bold;
}

.form-input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    background: #F5F5F5;
} */
/*
.gray-input {
    background: #ddd;
    font-size: 18px;
    padding: 14px;
}

.modal-message {
    font-size: 16px;
    margin-bottom: 22px;
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 22px;
} */

/*
.detail-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
}

.detail-table th {
    background: #000;
    color: #fff;
    padding: 12px;
    font-size: 16px;
}

.detail-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #ddd;
}

.detail-table .left-header {
    background: #000 !important;
} */



/* =========================
   モーダル背景
   ========================= */
/* #totalModal .modal-overlay,
#updateprocessModal .modal-overlay,
#canceloperationModal .modal-overlay,
#registerModal .modal-overlay,
#detailsreflectedModal .modal-overlay,
#deletedetailsModal .modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9999;
    justify-content: center;
    align-items: center;
} */

/* display:block の場合でも中央配置されるように flex に変更 */
/* #totalModal .modal-overlay[style*="block"],
#updateprocessModal .modal-overlay[style*="block"],
#canceloperationModal .modal-overlay[style*="block"],
#registerModal .modal-overlay[style*="block"],
#detailsreflectedModal .modal-overlay[style*="block"],
#deletedetailsModal .modal-overlay[style*="block"] {
    display: flex !important;
} */

/* =========================
   モーダル本体
   ========================= */
/* #totalModal .modal-window,
#updateprocessModal .modal-window,
#canceloperationModal .modal-window,
#registerModal .modal-window,
#detailsreflectedModal .modal-window,
#deletedetailsModal .modal-window {
    background: #ffffff;
    border-radius: 12px;
    min-width: 480px;
    max-width: 640px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    height: 210px;
} */

/* メッセージ部分 */
/* #totalModal .modal-message,
#updateprocessModal .modal-message,
#canceloperationModal .modal-message,
#registerModal .modal-message,
#detailsreflectedModal .modal-message,
#deletedetailsModal .modal-message {
    padding-top: 24px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
} */

/* OK / キャンセル */
/* #totalModal .modal-buttons,
#updateprocessModal .modal-buttons,
#canceloperationModal .modal-buttons,
#registerModal .modal-buttons,
#detailsreflectedModal .modal-buttons,
#deletedetailsModal .modal-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
} */

/* 閉じる */
/* #totalModal .modal-footer,
#updateprocessModal .modal-footer,
#canceloperationModal .modal-footer,
#registerModal .modal-footer,
#detailsreflectedModal .modal-footer,
#deletedetailsModal .modal-footer {
    padding: 16px 0;
    border-top: 1px solid #e2e2e2;
    text-align: center;
} */

/* =========================
   ボタン
   ========================= */

/* OK（青ボタン） */
/* #totalModal .btn-ok,
#updateprocessModal .btn-ok,
#canceloperationModal .btn-ok,
#registerModal .btn-ok,
#detailsreflectedModal .btn-ok,
#deletedetailsModal .btn-ok {
    min-width: 240px;
    height: 44px;
    border-radius: 6px;
    background: #7ec1ff;
    border: none;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
} */

/* キャンセル（白ボタン） */
/* #totalModal .btn-cancel,
#updateprocessModal .btn-cancel,
#canceloperationModal .btn-cancel,
#registerModal .btn-cancel,
#detailsreflectedModal .btn-cancel,
#deletedetailsModal .btn-cancel {
    min-width: 240px;
    height: 44px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #cccccc;
    font-weight: 700;
    cursor: pointer;
} */

/* 閉じるボタン（下段） */
/* #totalModal .btn-close,
#updateprocessModal .btn-close,
#canceloperationModal .btn-close,
#registerModal .btn-close,
#detailsreflectedModal .btn-close,
#deletedetailsModal .btn-close {
    min-width: 150px;
    height: 40px;
    border-radius: 6px;
    background: #7ec1ff;
    color: #fff;
    border: none;
    font-weight: 700;
    cursor: pointer;
} */

/* =========================
   ページネーション（スクショ寄せ）
========================= */
.pagination {
    display: flex;
    align-items: center;
    font-size: 14px;
}

/* 通常リンク（1 / 2 / ≫） */
.pagination .page-link {
    color: #1a73e8;         /* 青リンク */
    text-decoration: underline;
    cursor: pointer;
    padding: 2px 4px;       /* ← 押しやすさ確保 */
}

/* 現在ページ */
.pagination .page-active {
    color: #1a73e8;
    font-weight: bold;
    text-decoration: underline;
    cursor: default;
    padding: 2px 4px;
}

/* 無効（… や 押せない≪≫） */
.pagination .page-disabled {
    color: #999;
    text-decoration: none;
    padding: 2px 4px;
}

/* hover（リンク感を強調） */
.pagination .page-link:hover {
    opacity: 0.75;
}

/* =========================
     Bootstrap4 ページネーション強制適用
========================= */
.pagination .page-link,
.pagination .page-item .page-link {
    border: 1px solid #dee2e6;
    color: #007bff;
    background-color: #fff;
    margin-left: -1px;
    padding: 0.375rem 0.75rem;
    text-decoration: none;
}

.pagination .page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}
