#sU-31-1 .common-outer-panel {
    width: 94vw;
}

@media screen and (max-width: 1024px) {
    #sU-31-1 .common-outer-panel {
        width: 98vw;
    }
}

#sU-31-1 .search-criteria-1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media screen and (max-width: 1024px) {
    #sU-31-1 .search-criteria-1 {
        display: block;
    }

    #sU-31-1 .search-criteria-1 .common-radio {
        display: flex;
    }

    #sU-31-1 .search-criteria-1 .common-radio > label {
        margin: 3vw;
    }
}

#sU-31-1 .search-criteria-1 > div:first-child {
    width: 48vw;
}

@media screen and (max-width: 1024px) {
    #sU-31-1 .search-criteria-1 > div:first-child {
        width: auto;
    }
}

#sU-31-1 .search-criteria-2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media screen and (max-width: 1024px) {
    #sU-31-1 .search-criteria-2 {
        display: block;
        flex-wrap: wrap;
    }

    #sU-31-1 .search-criteria-2 .common-flex {
        display: block;
    }
}

#sU-31-1 .search-criteria-2 .common-select {
    width: 24vw;
    margin-right: 2vw;
}

@media screen and (max-width: 1024px) {
    #sU-31-1 .search-criteria-2 .common-select {
        width: 60vw;
        margin: 0;
    }
}

#sU-31-1 .search-criteria-3 {
    display: flex;
    align-items: center;
}

@media screen and (max-width: 1024px) {
    #sU-31-1 .search-criteria-3 {
        display: block;
    }
}

#sU-31-1 .search-criteria-3 .common-select {
    width: 15vw;
    margin-right: 2vw;
}

@media screen and (max-width: 1024px) {
    #sU-31-1 .search-criteria-3 .common-select {
        width: 40vw;
        margin: 0;
    }

    #sU-31-1 .search-criteria-3 > label {
        margin: 2vw;
    }
}

#sU-31-1 .search-criteria-4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
}

@media screen and (max-width: 1024px) {
    #sU-31-1 .search-criteria-4 {
        display: block;
    }
}

#sU-31-1 .common-button-blue,
#sU-31-1 .common-button-white {
    width: 15vw;
    margin: 0;
}

@media screen and (max-width: 1024px) {
    #sU-31-1 .common-button-blue,
    #sU-31-1 .common-button-white {
        width: 100%;
        margin: 3vw auto;
    }
}

#sU-31-1 .select-condition {
    order: 3;
}

@media screen and (max-width: 1024px) {
    #sU-31-1 .select-condition {
        order: 0;
    }
}

#sU-31-1 .csv-button {
    width: 10vw;
    font-size: 1vw;
    line-height: 1.5em;
}

@media screen and (max-width: 1024px) {
    #sU-31-1 .csv-button {
        width: 100%;
        font-size: 3.2vw;
    }
}

#sU-31-1 .common-grid {
    display: block;
    overflow-x: auto;
    overflow-y: auto;
    white-space: nowrap;
    max-height: calc(100vw / 2.2);
}

@media screen and (max-width: 1024px) {
    #sU-31-1 .common-grid {
        display: flex;
        overflow-x: hidden;
        white-space: normal;
        height: auto;
        max-height: none;
    }
}

#sU-31-1 .common-grid .name,
#sU-31-1 .common-grid .customer {
    white-space: normal;
    min-width: 20vw;
}
@media screen and (max-width: 1024px) {
    #sU-31-1 .common-grid .name,
    #sU-31-1 .common-grid .customer {
        white-space: nowrap;
    }
}

#sU-31-1 .common-grid th,
#sU-31-1 .common-grid td {
    min-width: 6vw;
    max-width: none;
}

@media screen and (max-width: 1024px) {
    #sU-31-1 .common-grid th,
    #sU-31-1 .common-grid td {
        max-width: 50vw;
    }
}

#sU-31-1 .common-grid th {
    background: #EEE;
    position: sticky;
    top: 0;
}

#sU-31-1 .common-grid th,
#sU-31-1 .common-grid td,
#sU-31-1 .common-grid th p,
#sU-31-1 .common-grid td p,
#sU-31-1 .common-grid td a {
    font-size: 1vw;
}

@media screen and (max-width: 1024px) {
    #sU-31-1 .common-grid th,
    #sU-31-1 .common-grid td,
    #sU-31-1 .common-grid th p,
    #sU-31-1 .common-grid td p,
    #sU-31-1 .common-grid td a {
        font-size: 3.2vw;
    }
}

#sU-31-1 .common-grid td a {
    line-height: 1.2vw;
    width: 6vw;
}

@media screen and (max-width: 1024px) {
    #sU-31-1 .common-grid td a {
        line-height: normal;
        width: auto;
        padding-inline: 1.5vw;
    }
}

/* 要素ごとの幅調整 */
#sU-31-1 .common-grid td:nth-child(1) {
    min-width: 8vw;
}

@media screen and (max-width: 1024px) {
    #sU-31-1 .common-grid td:nth-child(1) {
        max-width: 50vw;
    }
}

#sU-31-1 .common-grid th:nth-child(8),
#sU-31-1 .common-grid td:nth-child(8) {
    border-left: 0.22vw solid #aaa;
}

@media screen and (max-width: 1024px) {
    #sU-31-1 .common-grid th:nth-child(8),
    #sU-31-1 .common-grid td:nth-child(8) {
        border-left: 0.2vw solid #ddd;
    }
}

#sU-31-1 .common-grid .last-decision {
    border-right: 0.22vw solid #aaa;
}

@media screen and (max-width: 1024px) {
    #sU-31-1 .common-grid .last-decision {
        border-right: 0.2vw solid #ddd;
    }
}

/* レスポンシブ用高さ調整 */
@media screen and (max-width: 1024px) {
    #sU-31-1 .common-grid th,
    #sU-31-1 .common-grid td {
        display: flex;
    }

    #sU-31-1 .common-grid th p,
    #sU-31-1 .common-grid td p {
        padding-inline-end: 0.8vw;
    }

    #sU-31-1 .common-grid th:nth-child(1),
    #sU-31-1 .common-grid td:nth-child(1) {
        min-height: 2em;
    }

    #sU-31-1 .common-grid a {
        padding: 0;
    }
}

/* ハイライト */
#sU-31-1 .common-grid .red,
#sU-31-1 .common-grid .red > td {
    background: #fcd9d9;
}

/* グレーアウト */
#sU-31-1 .common-grid .gray,
#sU-31-1 .common-grid .gray > td {
    background: #eeeeee;
}

