/* =======================
   全体のスタイル
======================= */
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* =======================
   ヘッダーのデザイン
======================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-align: center;
    position: relative;
}

.menu-bar {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.menu-left,
.menu-right {
    display: flex;
    align-items: center;
}

.menu-left {
    flex: 1;
}

.menu-right {
    flex: 1;
    justify-content: flex-end;
}

a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
    transition: color 0.3s;
}

a:hover {
    color: #ffdd57;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
}

.hamburger span {
    background: #fff;
    height: 3px;
    margin: 4px 0;
    width: 25px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background-color: #007bff;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    margin: 10px 0;
    color: #fff;
}

.site-title {
    position: absolute;
    top: 10px;
    right: 50%;
    transform: translateX(50%);
    font-size: 14px;
    margin: 0;
}

@media (max-width: 768px) {
    .site-title {
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 14px;
        margin: 0;
        width: 100%;
        /* 幅を広げる */
        text-align: center;
        /* 中央寄せ */
    }
}

/* スマホメニューのトグル機能 */
@media (max-width: 768px) {
    .menu-bar {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

/* =======================
   ログインページのスタイル
======================= */
.auth-login {
    max-width: 400px;
    margin: 50px auto;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.auth-login input,
.auth-login button {
    width: 95%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* =======================
   ダッシュボードのスタイル
======================= */
.user-dashboard {
    padding: 20px;
}

.user-dashboard .stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.user-dashboard .stat-item {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dashboard-graph {
    max-width: 600px;
    height: 300px;
    margin: 20px auto;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/*現在のステータス*/
.weight-table {
    margin: 0 auto;
}

.weight-table th,
.weight-table td {
    text-align: center;
}

.weight-table th {
    background-color: #f0f0f0;
    padding: 10px;
    border: 1px solid #ddd;
}

.weight-table td {
    padding: 10px;
    border: 1px solid #ddd;
}

/* スマホ表示用のテーブルスタイル */
@media (max-width: 768px) {

    .weight-table th,
    .weight-table td {
        display: block;
        width: 100%;
        text-align: center;
    }
}

.dashboard-menu {
    display: none;
}

@media (max-width: 768px) {
    .dashboard-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        background-color: #f9f9f9;
        border-bottom: 1px solid #ddd;
    }

    .dashboard-menu a {
        margin-right: 20px;
        font-size: 14px;
        color: #333;
        text-decoration: none;
        width: 45%;
        margin-bottom: 10px;
    }

    .dashboard-menu a:hover {
        color: #337ab7;
    }
}

/* =======================
   テーブル共通デザイン
======================= */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.styled-table th,
.styled-table td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

.styled-table th {
    background-color: #f0f8ff;
    color: #333;
    font-weight: bold;
    text-align: center;
}

/* =======================
   スマホ表示用のテーブルスタイル
======================= */
@media (max-width: 768px) {
    .styled-table thead {
        display: none;
        /* ヘッダーを非表示にする */
    }

    .styled-table tr {
        display: block;
        margin-bottom: 15px;
        border-bottom: 1px solid #ddd;
        background-color: #f9f9f9;
        padding: 10px;
        border-radius: 10px;
    }

    .styled-table td {
        display: flex;
        justify-content: space-between;
        padding: 10px;
        border: none;
    }

    .styled-table td::before {
        content: attr(data-label);
        /* 各セルに対応するラベルを表示 */
        font-weight: bold;
        text-transform: uppercase;
        color: #4CAF50;
        flex: 1;
        text-align: left;
    }

    .styled-table td span {
        flex: 1;
        /* データ部分を広げる */
        text-align: right;
        color: #333;
    }
}

/* =======================
   ボタンの共通デザイン
======================= */
.button {
    display: inline-block;
    padding: 10px 15px;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.button:hover {
    background-color: #218838;
    transform: scale(1.05);
}

.button:active {
    background-color: #1e7e34;
    transform: scale(0.95);
}

/* =======================
   ビューボタンのデザイン
======================= */
.button-view {
    background-color: #007bff;
    color: #fff;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
}

/* =======================
   メッセージスタイル
======================= */
.message {
    text-align: center;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.message.success {
    background-color: #dff0d8;
    color: #3c763d;
}

.message.error {
    background-color: #f2dede;
    color: #a94442;
}

/* =======================
   テキストエリアのスタイル
======================= */
textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    resize: vertical;
}

textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 4px rgba(76, 175, 80, 0.5);
}

/* =======================
   ステータスセレクトボックスのスタイル
======================= */
select {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
}

select:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 4px rgba(76, 175, 80, 0.5);
}

/* =======================
   運動記録入力フォーム
======================= */
.exercise-daily-page {
    /* ページ全体の背景とフォント */
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    top: 10px;
}

.exercise-daily-page .form-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f9f9f9;
}

.exercise-daily-page .form-container {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    margin-bottom: 30px;
}

/* 見出し */
.exercise-daily-page h1 {
    text-align: center;
    color: #4CAF50;
    margin-bottom: 20px;
}

/* フォーム */
.exercise-daily-page form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ラベル */
.exercise-daily-page label {
    font-weight: bold;
    color: #333;
}

/* 入力フィールド */
.exercise-daily-page input,
.exercise-daily-page select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

/* フォーカス時のスタイル */
.exercise-daily-page input:focus,
.exercise-daily-page select:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 4px rgba(76, 175, 80, 0.5);
}

/* ボタン */
.exercise-daily-page button {
    padding: 15px;
    font-size: 16px;
    color: #fff;
    background-color: #4CAF50;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.exercise-daily-page button:hover {
    background-color: #45a049;
}

/* メッセージ */
.exercise-daily-page .message {
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 20px;
}

.exercise-daily-page .message.success {
    background-color: #d4edda;
    color: #155724;
}

.exercise-daily-page .message.error {
    background-color: #f8d7da;
    color: #721c24;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .exercise-daily-page .form-wrapper {
        padding: 20px;
        justify-content: center;
    }

    .exercise-daily-page .form-container {
        width: 100%;
        max-width: 100%;
        padding: 15px;
        box-sizing: border-box;
    }

    .exercise-daily-page form input,
    .exercise-daily-page form select,
    .exercise-daily-page button {
        width: 100%;
        font-size: 14px;
    }

    .exercise-daily-page button {
        padding: 12px;
    }
}

/* =======================
   運動記録履歴ページ
======================= */

/* スマホ表示用のテーブルスタイル */
@media (max-width: 768px) {
    .exercise-history-page .styled-table thead {
        display: none;
    }

    .exercise-history-page .styled-table tr {
        display: block;
        margin-bottom: 15px;
        border-bottom: 1px solid #ddd;
        background-color: #f9f9f9;
        padding: 10px;
        border-radius: 10px;
    }

    .exercise-history-page .styled-table td {
        display: flex;
        justify-content: space-between;
        padding: 10px;
        border: none;
        border-bottom: 1px solid #ddd;
    }

    .exercise-history-page .styled-table td::before {
        content: attr(data-label);
        font-weight: bold;
        text-transform: uppercase;
        color: #4CAF50;
        flex: 1;
        text-align: left;
    }

    .exercise-history-page .styled-table td span {
        flex: 1;
        text-align: right;
        color: #333;
    }
}

/* =======================
    管理者ページ用スタイル
======================== */
main {
    max-width: 1200px;
    margin: 0 auto;
}

footer {
    max-width: 1200px;
    margin: 0 auto;
}

.auth-login {
    max-width: 500px;
    margin: 50px auto;
}

.user-dashboard .stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.dashboard-graph {
    max-width: 800px;
    margin: 20px auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.admin-table th,
.admin-table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}

.admin-table th {
    background-color: #f0f8ff;
    color: #333;
    font-weight: bold;
}

/* =======================
 ユーザー編集ページ用スタイル
======================== */
.user-edit-form {
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-edit-form label {
    display: block;
    margin-bottom: 10px;
}

.user-edit-form input[type="text"],
.user-edit-form input[type="number"],
.user-edit-form input[type="password"] {
    width: 90%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.user-edit-form button[type="submit"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    background: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.user-edit-form button[type="submit"]:hover {
    background: #3e8e41;
}

.user-edit-form select {
    width: 90%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* =======================
   経費管理 - フォーム
======================= */
.expense-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.expense-form label {
    margin-bottom: 5px;
}

.expense-form input,
.expense-form select,
.expense-form textarea {
    width: 90%;
    /* 100%から90%に変更 */
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.expense-form button {
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    background-color: #4CAF50;
    color: #fff;
    cursor: pointer;
}

.expense-form button:hover {
    background-color: #45a049;
}

.expense-textarea {
    width: 90%;
    /* 100%から90%に変更 */
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    resize: vertical;
}

.expense-button {
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    background-color: #4CAF50;
    color: #fff;
    cursor: pointer;
}

.expense-button:hover {
    background-color: #45a049;
}

.expense-daily-page {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

.expense-daily-page .form-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-color: #f9f9f9;
}

.expense-daily-page .form-container {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    margin-bottom: 30px;
}

/* =======================
   経費管理 - 操作部分のスタイル
======================= */
.expense-operation-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.expense-operation-container form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

/* =======================
   経費管理 - ボタンスタイル
======================= */
.expense-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.expense-button:hover {
    background-color: #0056b3;
}

/* =======================
   経費管理 - メッセージスタイル
======================= */
.expense-message {
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.expense-message.success {
    background-color: #d4edda;
    color: #155724;
}

.expense-message.error {
    background-color: #f8d7da;
    color: #721c24;
}

/* =======================
   経費管理 - テーブルスタイル
======================= */
#expense-section .expense-styled-table {
    /* 経費申請セクション内のテーブルのみに適用されるスタイル */
    width: 95%;
    max-width: 1400px;
    margin: 20px auto;
    border-collapse: collapse;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#expense-section .expense-styled-table th,
#expense-section .expense-styled-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid #ddd;
}

#expense-section .expense-styled-table th {
    background-color: #f0f8ff;
    color: #333;
    font-weight: bold;
}

/* =======================
   経費管理 - テキストエリアスタイル
======================= */
.expense-textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    resize: vertical;
}

.expense-textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 4px rgba(76, 175, 80, 0.5);
}

/* =======================
   経費申請用のスマホ対応テーブルスタイル
======================= */
@media (max-width: 768px) {
    .expense-styled-table thead {
        display: none;
        /* ヘッダーを非表示にする */
    }

    .expense-styled-table tr {
        display: block;
        margin-bottom: 15px;
        background-color: #f9f9f9;
        padding: 10px;
        border-radius: 10px;
    }

    .expense-styled-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        border: none;
        /* 罫線を非表示にする */
        position: relative;
    }

    .expense-styled-table td::before {
        content: attr(data-label);
        /* 各セルに対応するラベルを表示 */
        font-weight: bold;
        text-transform: uppercase;
        color: #4CAF50;
        flex: 1;
        text-align: left;
        padding-right: 10px;
    }

    .expense-styled-table td span {
        flex: 2;
        /* データ部分を広げる */
        text-align: right;
        /* 数値やデータ部分を右寄せにする */
        color: #333;
    }
}

/* =======================
   経費管理ページ用の特別なテーブルスタイル
======================= */
.expense-styled-table {
    width: 95%;
    /* 幅を95%に設定して広げる */
    max-width: 1400px;
    /* 最大幅を1400pxに設定 */
    margin: 20px auto;
    /* テーブルを中央揃え */
    border-collapse: collapse;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.expense-styled-table th,
.expense-styled-table td {
    padding: 15px;
    /* テーブルセルのパディングを大きくして広くする */
    text-align: center;
    border: 1px solid #ddd;
}

.expense-styled-table th {
    background-color: #f0f8ff;
    color: #333;
    font-weight: bold;
}

.expense-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    padding: 20px;
    max-width: 800px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.card-header h2 {
    font-size: 18px;
    margin: 0;
}

.card-content {
    margin-top: 15px;
}

.expense-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.expense-button:hover {
    background-color: #0056b3;
}

.expense-textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    resize: vertical;
    margin-top: 5px;
    margin-bottom: 10px;
}

/* =======================
   経費申請管理ページ - 総計情報セクション
======================= */

.summary-section {
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.summary-items-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.summary-item {
    flex: 1;
    min-width: 150px;
    /* アイテムの最小幅を設定して、コンパクトに表示 */
    text-align: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* =======================
   経費申請管理ページ - ユーザーごとの総計情報セクション
======================= */

.user-summary-section {
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.user-summary-card {
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-summary-items-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.user-summary-item {
    flex: 1;
    min-width: 150px;
    /* アイテムの最小幅を設定して、コンパクトに表示 */
    text-align: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* =======================
  運動項目管理ページ用スタイル
======================== */
.exercise-management-form {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.exercise-management-form label {
    display: block;
    margin-bottom: 10px;
}

.exercise-management-form input[type="text"],
.exercise-management-form input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.exercise-management-form button[type="submit"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    background: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.exercise-management-form button[type="submit"]:hover {
    background: #3e8
}

.exercise-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.exercise-table th,
.exercise-table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}

.exercise-table th {
    background-color: #f0f8ff;
    color: #333;
    font-weight: bold;
}

/* =======================
  歩数管理ページ用スタイル
======================== */
.daily-entries-table {
    border-collapse: collapse;
    width: 100%;
}

.daily-entries-table th,
.daily-entries-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.daily-entries-table th {
    background-color: #f0f0f0;
}

.daily-entries-table td {
    background-color: #fff;
}

.daily-entries-table button {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.daily-entries-table button:hover {
    background-color: #3e8e41;
}

.daily-entries-table input[type="date"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
}

.daily-entries-table input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
}

/* admin_daily_entries.css */

/* フォーム */
.admin-daily-entries-form {
    width: 50%;
    margin: 40px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.admin-daily-entries-form label {
    display: block;
    margin-bottom: 10px;
}

.admin-daily-entries-form select {
    width: 100%;
    height: 40px;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.admin-daily-entries-form input[type="text"],
.admin-daily-entries-form input[type="date"],
.admin-daily-entries-form input[type="number"] {
    width: 100%;
    height: 40px;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.admin-daily-entries-form button[type="submit"] {
    width: 100%;
    height: 40px;
    background-color: #4CAF50;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.admin-daily-entries-form button[type="submit"]:hover {
    background-color: #3e8e41;
}

/* テーブル */
.daily-entries-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

.daily-entries-table th,
.daily-entries-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.daily-entries-table th {
    background-color: #f0f0f0;
}

.daily-entries-table td {
    background-color: #fff;
}

/* ボタン */
button {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #3e8e41;
}

/* =======================
  運動・体重管理ページ用スタイル
======================== */
.admin_userexercises_data {
    font-family: Arial, sans-serif;
    margin: 20px;
}

.admin_userexercises_data h1 {
    text-align: center;
}

.admin_userexercises_data ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin_userexercises_data li {
    margin-bottom: 10px;
}

.admin_userexercises_data table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.admin_userexercises_data th,
.admin_userexercises_data td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

.admin_userexercises_data th {
    background-color: #f0f8ff;
    color: #333;
    font-weight: bold;
    text-align: center;
}

.admin_userexercises_data .graph-container {
    display: flex;
    justify-content: space-between;
    gap: 0;
    /* ギャップを0に設定 */
}

.admin_userexercises_data .graph-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.admin_userexercises_data .graph-container div {
    flex: 1;
    /* グラフの幅を等しくする */
    text-align: center;
}

.admin_userexercises_data canvas {
    width: 100% !important;
    /* グラフの幅を100%に設定 */
    height: 300px !important;
}

/* =======================
  歩数管理ページ用スタイル
======================== */
.admin-daily-entries-form {
    width: 500px;
    /* フォームの幅を指定 */
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    /* フォームを中央に配置 */
}

.admin-daily-entries-label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.admin-daily-entries-select {
    width: 95% !important;
    height: 40px;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.admin-daily-entries-input {
    width: 95% !important;
    height: 40px;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.admin-daily-entries-button {
    width: 90%;
    height: 40px;
    margin-bottom: 20px;
    background-color: #4CAF50;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}