/* ==========================================================
   ▼ 0) サイト全体の基本設定
   ========================================================== */

body {
    font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", sans-serif;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #333;
}


/* ==========================================================
   ▼ 1) ヘッダー（タイトル・サブタイトル・ナビ）
   ========================================================== */

.fg-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 20px 16px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;

    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    box-sizing: border-box;
}

.fg-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.fg-login-icon {
    cursor: pointer;
    font-size: 1rem;
    padding: 3px 8px;
    border-radius: 6px;
    background: #f3f3f3;
    border: 1px solid #ddd;
    transition: 0.15s;
}
.fg-login-icon:hover {
    background: #e7e7e7;
}

.fg-subtitle {
    margin: 6px 0 22px;
    font-size: 0.95rem;
    color: #666;
}

.fg-nav {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;

    width: 100%;
    padding: 0 10px;
    max-width: 1100px;
    box-sizing: border-box;
}

.fg-nav-btn {
    flex: 1;
    max-width: 180px;
    min-width: 150px;
    height: 46px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 10px;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;

    white-space: nowrap;
    transition: 0.15s;
}
.fg-nav-btn:hover {
    background: #e9e9e9;
}

@media (max-width: 600px) {
    .fg-nav {
        gap: 12px;
        padding: 0 6px;
    }
    .fg-nav-btn {
        max-width: none;
        width: 100%;
    }
}


/* ==========================================================
   ▼ 2) テーブル（Excel風）
   ========================================================== */

.fg-table-wrapper {
    width: 100%;
    padding: 0 20px;
    overflow-x: auto;
}

.fg-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff;
    font-size: 0.95rem;
}

.fg-table thead th {
    background: #f1f1f1;
    font-weight: 600;
    padding: 10px 8px;
    border-bottom: 2px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 10;
    text-align: left;
}

.fg-table td {
    padding: 8px;
    border-bottom: 1px solid #e5e5e5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.fg-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.fg-table tbody tr:hover {
    background: #eaf3ff;
}


/* ==========================================================
   ▼ 3) 検索バー
   ========================================================== */

.fg-search-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin: 25px auto;
    flex-wrap: wrap;
}

.fg-search-main {
    width: 260px;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.fg-clear-btn {
    padding: 10px 16px;
    background: #eee;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
}
.fg-clear-btn:hover {
    background: #ddd;
}


/* ==========================================================
   ▼ 4) ページ見出し・操作ボタン
   ========================================================== */

.fg-page-head {
    margin: 24px 0 16px;
}

.fg-job-action-center {
    display: flex;
    justify-content: center;
    margin: 16px 0 12px;
}


/* ==========================================================
   ▼ 5) 共通ユーティリティ
   ========================================================== */

.fg-hide {
    display: none !important;
}

.fg-title-link {
    color: inherit;
    text-decoration: none;
}
.fg-title-link:hover {
    text-decoration: underline;
}
.fg-title-link {
    color: inherit;
    text-decoration: none;
}
.fg-title-link:hover {
    opacity: 0.85;
}
#kyuujin {
    background: rgb(255, 231, 187);
}