﻿/* 全体の罫線を1pxに設定 */
.styled-table {
    width: 80%; /* 横幅を80%に設定 */
    margin-left: 0; /* 左寄せ */
    margin-right: auto; /* 中央寄せ防止 */
    border-collapse: collapse; /* テーブル罫線を結合 */
}

    .styled-table td {
        border: 1px solid #ccc;
        padding: 8px;
    }

    /* ヘッダー行の背景色を薄灰色 */
    .styled-table .header-row {
        background-color: #d5d5D5; /* 薄灰色 */
    }

    /* データ行の背景色を白 */
    .styled-table .data-row {
        background-color: #ffffff; /* 白 */
    }

    /* テキストの整列を中央に */
    .styled-table td label, .styled-table td input[type="textbox"] {
        display: block;
        width: 100%;
    }
.custom-create-button {
    background-color: #ffffcc; /* ボタンの背景色 */
    color: #000000; /* テキストの色 */
    padding: 10px 5px; /* 内側の余白 */
    border: none; /* ボーダーなし */
    border-radius: 5px; /* 角を丸くする */
    font-size: 16px; /* テキストサイズ */
    cursor: pointer; /* マウスオーバー時のカーソルをポインターに変更 */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* 影を付ける */
    transition: all 0.3s ease; /* ホバー時のアニメーション */
    margin-top: 10px;
}

.custom-create-button:hover {
    background-color: #eeeebb; /* ホバー時の背景色 */
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2); /* ホバー時の影を強調 */
}

.custom-search-button {
    background-color: #ffffff; /* ボタンの背景色 */
    color: #000000; /* テキストの色 */
    padding: 7px 15px; /* 内側の余白 */
    border: none; /* ボーダーなし */
    border-radius: 5px; /* 角を丸くする */
    font-size: 16px; /* テキストサイズ */
    cursor: pointer; /* マウスオーバー時のカーソルをポインターに変更 */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* 影を付ける */
    transition: all 0.3s ease; /* ホバー時のアニメーション */
    margin-top: 10px;
}

.custom-button {
    background-color: #ffffcc; /* ボタンの背景色 */
    color: #000000; /* テキストの色 */
    padding: 2px 2px; /* 内側の余白 */
    border: none; /* ボーダーなし */
    border-radius: 5px; /* 角を丸くする */
    font-size: 16px; /* テキストサイズ */
    cursor: pointer; /* マウスオーバー時のカーソルをポインターに変更 */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* 影を付ける */
    transition: all 0.3s ease; /* ホバー時のアニメーション */
    margin-top: 10px;
}

    .custom-button:hover {
        background-color: #eeeebb; /* ホバー時の背景色 */
        box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2); /* ホバー時の影を強調 */
    }

.custom-search-button {
    background-color: #ffffff; /* ボタンの背景色 */
    color: #000000; /* テキストの色 */
    padding: 7px 15px; /* 内側の余白 */
    border: none; /* ボーダーなし */
    border-radius: 5px; /* 角を丸くする */
    font-size: 16px; /* テキストサイズ */
    cursor: pointer; /* マウスオーバー時のカーソルをポインターに変更 */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* 影を付ける */
    transition: all 0.3s ease; /* ホバー時のアニメーション */
    margin-top: 10px;
}

    .custom-search-button:hover {
        background-color: #DDDDDD; /* ホバー時の背景色 */
        box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2); /* ホバー時の影を強調 */
    }

.custom-del-button {
    background-color: #ffcccc; /* ボタンの背景色 */
    color: #000000; /* テキストの色 */
    padding: 2px 2px; /* 内側の余白 */
    border: none; /* ボーダーなし */
    border-radius: 5px; /* 角を丸くする */
    font-size: 16px; /* テキストサイズ */
    cursor: pointer; /* マウスオーバー時のカーソルをポインターに変更 */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* 影を付ける */
    transition: all 0.3s ease; /* ホバー時のアニメーション */
    margin-top: 10px;
}

    .custom-del-button:hover {
        background-color: #eebbbb; /* ホバー時の背景色 */
        box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2); /* ホバー時の影を強調 */
    }


.custom-submit-button {
    background-color: #FFFFFF; /* ボタンの背景色 */
    color: #000000; /* テキストの色 */
    padding: 2px 5px; /* 内側の余白 */
    border: none; /* ボーダーなし */
    border-radius: 5px; /* 角を丸くする */
    font-size: 16px; /* テキストサイズ */
    cursor: pointer; /* マウスオーバー時のカーソルをポインターに変更 */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* 影を付ける */
    transition: all 0.3s ease; /* ホバー時のアニメーション */
}

.custom-submit-button:hover {
    background-color: #DDDDDD; /* ホバー時の背景色 */
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2); /* ホバー時の影を強調 */
}

.custom-submit-button-wide {
    background-color: #FFFFFF; /* ボタンの背景色 */
    color: #000000; /* テキストの色 */
    padding: 5px 10px; /* 内側の余白 */
    border: none; /* ボーダーなし */
    border-radius: 5px; /* 角を丸くする */
    font-size: 16px; /* テキストサイズ */
    cursor: pointer; /* マウスオーバー時のカーソルをポインターに変更 */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* 影を付ける */
    transition: all 0.3s ease; /* ホバー時のアニメーション */
}

    .custom-submit-button-wide:hover {
        background-color: #DDDDDD; /* ホバー時の背景色 */
        box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2); /* ホバー時の影を強調 */
    }

h1, h3, h4 {
    color: #4e342e;
}

.d-table {
    width: 300px;
    margin: 0 auto;
    border-collapse: collapse;
    border: 2px solid #555;
}

    .d-table th {
        border: 2px solid #555;
        background-color: burlywood;
        padding-left: 5px;
    }

    .d-table td {
        border: 2px solid #555;
        background-color: floralwhite;
    }

.data-edit-table {
    width: 550px;
    margin: 0 auto;
    margin-top: 20px;
    table-layout: fixed;
    border-collapse: collapse;
}

.data-edit-table tr {
    height: 38px;
}


    .data-edit-table td {
        padding: 3px;
    }

        .data-edit-table td input, select {
            width: 100%;
            height: 30px;
        }

        .data-edit-table td textarea {
            width: 100%;
            max-width: 100%;
            resize: vertical;
            box-sizing: border-box;
            height: 90px;
        }

.receive-edit-table {
    width: 900px;
}

.btn {
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}

/* 各ボタンの配色 */
.btn-register {
    background-color: #0077cc;
}

    .btn-register:hover {
        background-color: #005fa3;
        color: white;
    }

.btn-search {
    background-color: #00897b;
}

    .btn-search:hover {
        background-color: #00695c;
    }

.btn-receive {
    background-color: #ff8000;
}

    .btn-receive:hover {
        background-color: #e68900;
    }

.btn-receive-continue {
    background-color: #2196f3;
}

    .btn-receive-continue:hover {
        background-color: #1976d2;
    }

.btn-edit {
    background-color: #4caf50;
}

    .btn-edit:hover {
        background-color: #388e3c;
        color: white;
    }

.btn-delete {
    background-color: #d32f2f;
}

    .btn-delete:hover {
        background-color: #b71c1c;
        color: white;
    }

.btn-primary {
    background-color: #0d6efd;
}

    .btn-primary:hover {
        background-color: #0b5ed7;
        color: white;
    }

.btn-new-register {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #cccccc;
}

    .btn-new-register:hover {
        background-color: #f8f9fa;
        color: #000000;
    }

.btn-pay {
    background-color: white;
    color: black;
}

    .btn-pay:hover {
        background-color: #eeeeee;
    }

.btn-back {
    background-color: #666666;
}

    .btn-back:hover {
        background-color: #555555;
    }

.back-list {
    margin-top: 20px;
}

.back-list a {
    color: #555555;
}

.btn-back-set {
    display: flex;
    flex-direction: row-reverse;
    margin: 20px auto;
    width: 300px;
    justify-content: space-around;
}

.btn-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}

.custom-create-button:hover {
    color: white;
}

.search-area {
    width: 800px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    margin-bottom: 20px;
    margin-top: 20px;
}

    .search-area label {
        font-size: 16px;
        font-weight: bold;
    }

.search-input {
    flex: 1;
    padding: 8px;
    border: 1px solid #6d4c41;
    border-radius: 5px;
    font-size: 16px;
    background-color: #fff8e1;
    color: #4e342e;
}

.btn-search {
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.table-container {
    overflow: auto;
    margin-top: 20px;
    font-size: 13px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: none;
}

th, td {
    border: 1px solid #6d4c41;
    padding: 3px;
    text-align: center;
    background-color: rgba(255, 245, 230, 0.85);
}

th {
    background-color: #6d4c41;
    color: white;
}

.top-title {
    display: flex;
    justify-content: center; /* タイトルを中央配置 */
    align-items: center;
    position: relative; /* ボタンの位置調整用 */
    margin-top: 20px;
}

    .top-title h1 {
        color: #4e342e;
    }

.btn-register-right {
    position: absolute;
    right: 0; /* 画面右端に固定 */
}

.brand-index-table tr {
    height: 40px;
}

.breed-index-table tr {
    height: 40px;
}

.btn-deepgreen {
    background-color: #006400;
    color: #fff;
}

.btn-deepgreen:hover {
    background-color: #004d1a;
    color: #fff;
}