@charset "UTF-8";

article, aside, details, figcaption, figure, header, hgroup, menu, nav, section {
    display: block;
}

footer {
    position: absolute;
    bottom: 0; /*下に固定*/
}

.selectbox-001 {
    position: relative;
}

    .selectbox-001::before,
    .selectbox-001::after {
        position: absolute;
        content: '';
        pointer-events: none;
    }

    .selectbox-001::before {
        display: inline-block;
        right: 0;
        width: 2.8em;
        height: 2.8em;
        border-radius: 0 3px 3px 0;
        background-color: #D0D05C;
    }

    .selectbox-001::after {
        position: absolute;
        top: 50%;
        right: 1.4em;
        transform: translate(50%, -50%) rotate(45deg);
        width: 6px;
        height: 6px;
        border-bottom: 3px solid #fff;
        border-right: 3px solid #fff;
    }

    .selectbox-001 select {
        appearance: none;
        min-width: 230px;
        height: 2.8em;
        padding: .4em 3.6em .4em .8em;
        border: none;
        border-radius: 3px;
        background-color: #e6edf3;
        color: #333;
        font-size: 1em;
        cursor: pointer;
    }

        .selectbox-001 select:focus {
            outline: 2px solid #2589d0;
        }

#sani_table {
    border-collapse: collapse;
    font-size: 15px;
}

    #sani_table th {
        border: 1px solid black;
        color: #fff;
        background-color: #5F8C04;
    }

    #sani_table td {
        border: 1px solid black;
        color: #000000;
        font-weight: bold;
    }

#sort_table {
    border-collapse: collapse;
    font-size: 15px;
    width:800px;
}

    #sort_table th {
        border: 1px solid black;
        color: #fff;
        background-color: #5F8C04;
    }

    #sort_table td {
        border: 1px solid black;
        font-weight: bold;
    }
#sort_table2 {
    border-collapse: collapse;
    font-size: 15px;
    width: 800px;
}

    #sort_table2 th {
        border: 1px solid black;
        color: #fff;
        background-color: #5F8C04;
    }

    #sort_table2 td {
        border: 1px solid black;
        font-weight: bold;
    }

table tr:nth-child(even) td {
    background: #eee;
}

table tr:nth-child(odd) td {
    background: #fff;
}

.table-header-group {
    position: sticky;
}

body {
    background-color: wheat;
    color: black;
    font-size: 15px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
}

.back {
    font-size: 15px;
    font-family: "Meiryo UI";
}

button {
    height: 30px;
    font-size: 15px;
    border-radius: 5px;
    margin: 1px
}

    button:hover {
        opacity: 0.5;
    }

input {
    font-size: 15px;
    height: 20px;
    margin: 5px;
}

textarea {
    margin: 5px;
    font-family: "Meiryo UI";
    font-size: 15px;
}

.textarea_label {
    vertical-align: top;
}

.readonly {
    background-color: lightgray;
}
/* ドロップダウンメニュー全体 */
.dropdown {
    position: relative;
    display: inline-block;
}

/* ドロップダウンボタン */
.dropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
}

/* ドロップダウンコンテンツ */
.dropdown-content {
    display: none;
    position: absolute;
    z-index: 1;
}

    /* ドロップダウンコンテンツのリンク */
    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        /* ドロップダウンコンテンツのリンクにマウスホバーしたときのスタイル */
        .dropdown-content a:hover {
            background-color: #f1f1f1;
        }

.button {
    height: 30px;
    width: 50px;
}

.button-container {
    display: flex; /* フレックスボックスを使用して横に並べる */
    position: absolute; /*←絶対位置*/
    bottom: 0; /*下に固定*/
    margin-top: 10px;
}

.menu-button {
    height: 2em;
    padding: 2px;
    margin: 2px;
    width: 9em;
    font-size: 15px;
}
.box27 {
    position: relative;
    margin: 2em 0 0.5em 0;
    padding: 0.5em 1em;
    border: solid 3px #5F8C04;
    width: 150px;
}

    .box27 .box-title {
        position: absolute;
        display: inline-block;
        top: -27px;
        left: -3px;
        padding: 0 9px;
        height: 25px;
        line-height: 25px;
        font-size: 17px;
        background: #5F8C04;
        color: #ffffff;
        font-weight: bold;
        border-radius: 5px 5px 0 0;
    }

    .box27 p {
        margin: 0;
        padding: 0;
    }
select {
    height: 2em;
    padding: 2px;
    margin: 2px;
    width: 12em;
    font-size: 15px;
}
/* スマホ */
@media(max-width: 1000px) {
    #sani_table {
        border-collapse: collapse;
        font-size: 15px;
    }

        #sani_table th {
            border: 1px solid black;
            color: #fff;
            background-color: #5F8C04;
        }

        #sani_table td {
            border: 1px solid black;
            color: #000000;
            font-weight: bold;
        }

    #sort_table {
        border-collapse: collapse;
        font-size: 15px;
    }

        #sort_table th {
            border: 1px solid black;
            color: #fff;
            background-color: #5F8C04;
        }

        #sort_table td {
            border: 1px solid black;
            font-weight: bold;
        }
    #sort_table2 {
        border-collapse: collapse;
        font-size: 15px;
    }

        #sort_table th {
            border: 1px solid black;
            color: #fff;
            background-color: #5F8C04;
        }

        #sort_table td {
            border: 1px solid black;
            font-weight: bold;
        }

    table tr:nth-child(even) td {
        background: #eee;
    }

    table tr:nth-child(odd) td {
        background: #fff;
    }

    .table-header-group {
        position: sticky;
    }

    body {
        background-color: wheat;
        color: black;
        font-size: 15px;
    }

    .tb-wrap {
        width: 100%;
        overflow-x: scroll;
    }

    .com {
        font-size: 20px;
    }

    input {
        font-size: 10px;
        height: 25px;
    }

    button {
        height: 15px;
        font-size: 10px;
        border-radius: 5px;
        margin: 1px
    }

    #text1 {
        font-size: 20px;
    }

    .box27 {
        position: relative;
        margin: 2em 0 0.5em 0 ;
        padding: 0.5em 1em;
        border: solid 3px #5F8C04;
        width: 150px; 
    }

        .box27 .box-title {
            position: absolute;
            display: inline-block;
            top: -27px;
            left: -3px;
            padding: 0 9px;
            height: 25px;
            line-height: 25px;
            font-size: 17px;
            background: #5F8C04;
            color: #ffffff;
            font-weight: bold;
            border-radius: 5px 5px 0 0;
        }

        .box27 p {
            margin: 0;
            padding: 0;
        }
    /*.button-container {
        display: flex; /* フレックスボックスを使用して横に並べる */
        /*position: absolute; /*←絶対位置*/
        /*bottom: 0; /*下に固定*/
        /*margin-top: 10px;
    }*/
    .button-container {
        display: flex; /* フレックスボックスを使用して横に並べる */
        flex-wrap: wrap; /* 行が詰まったら次の行に折り返す */
        justify-content: space-between; /* ボタンを均等に配置する */
        position: absolute; /* 絶対位置 */
        bottom: 0; /* 下に固定 */
        margin-top: 10px;
    }

        .menu-button {
        height: 2em;
        padding: 2px;
        margin: 2px;
        width: 12em;
        font-size: 15px;
    }
    footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 800; /* 必要に応じて適切なz-indexを設定してください */
        background-color: wheat;
        color: #fff;
        padding: 10px;
    }
    
}
