html {
    background: #f2f5fb;
}

header {
    background: #165f94;
    padding: 15px 0;
    position: relative;
}

.navbar-brand .navbar-item,
header div.logo {
    margin: 0 auto;
    font-size: 21px;
    text-align: center;
    color: #fff;
    font-family: 'Merriweather', serif;
}

div.field {
    margin-bottom: 25px !important;
}

button.nav {
    display: none;
    z-index: 10;
    cursor: pointer;
    background: #33aaff;
    border: none;
    width: 60px;
    height: 59px;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
    padding: 7px;
    position: absolute;
    right: 0;
    top: 0;
}

button.nav ._bar {
    content: '';
    width: 35px;
    height: 3px;
    background: #fff;
    transition: 0.3s all ease;
    position: static;
}

button.nav ._bar._1.open {
    position: absolute;
    transform: rotate(45deg);
}

button.nav ._bar._2.open {
    display: none;
}

button.nav ._bar._3.open {
    position: absolute;
    transform: rotate(-45deg);
}

nav.main {
    background: #0bd;
    z-index: 5;
    height: 100vh;
    overflow-x: hidden;
    width: 250px;
    transition: all 0.3s ease;
}

nav.report {
    /*報告書画面の場合*/
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    /*Mobile*/
    button.nav {
        display: flex;
    }

    nav.main {
        position: absolute;
        height: 100vh;
        left: -100vw;
        top: 0;
        transition: all 0.3s ease;
    }

    nav.open {
        left: 0;
    }
}

nav.main ul {
    margin: 0;
    padding: 0;
}

nav.main ul li {
    text-align: left;
    list-style: none;
    border-bottom: 1px solid #ccc;
    font-size: 14px;
}

nav.main ul li.report_only {
    background: #1a2440;
}

nav.main a {
    display: block;
    padding: 15px;
    margin: 0;
    color: #fff;
    text-decoration: none;
    transition: all 0.5s linear;
}

nav.main a:hover {
    background: #f0f0f0;
    color: #333;
}

@media (min-width: 769px) {
    section.all {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
    }

    nav.main {
        position: sticky;
        z-index: 1;
        height: 100vh;
        left: 0;
        top: 0;
    }

    button.slide_menu {
        display: none;
    }
}

main {
    width: 100%;
    padding: 0px 10px;
    margin: 0 auto;
}

.flash {
    text-align: center;
    position: relative;
    margin: 10px 0 20px;
}

.flash span.close {
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 19px;
}

span.req {
    font-size: 8pt;
    color: #fff;
    background: #f33;
    border-radius: 6px;
    padding: 2px 4px;
    margin: 4px;
    vertical-align: middle;
    float: right;
}

::placeholder {
    color: #ccc;
}

.box:not(.narrow):not(.mid) {
    overflow-x: scroll;
}

.box.memo {
    background: #fafafb;
    overflow-x: visible !important;
}

.box.mid {
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

.box.narrow {
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.box:first-of-type {
    margin-top: 1.5rem;
}

div.table-container {
    max-height: 80vh;
    overflow-y: scroll;
}

table.list {
    table-layout: auto;
    width: auto;
}
table.list.fixed {
    table-layout: fixed;
    width: 100%;
}

table.list tr:nth-child(2n + 1) {
    background: #fcfcfc;
}

table.list th,
table.list td {
    white-space: nowrap;
    overflow: hidden;
}

table.list th:hover,
table.list td:hover {
    text-overflow: unset;
    overflow: unset;
    white-space: unset;
}

table.list th {
    vertical-align: middle;
    text-align: center;
    padding: 5px;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    background: #f8f8f8;
    color: #333;
    font-size: 15px;
    position: sticky;
    top: 0;
    z-index: 10;
}

table.list td {
    font-weight: normal;
    text-align: center;
    padding: 5px;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    vertical-align: middle;
    font-size: 15px;
}

td.right {
    text-align: right !important;
}

td.left {
    text-align: left !important;
}

table.vertical {
    width: 100%;
    max-width: 700px;
}

table.vertical th {
    padding: 7px;
    background: #f8f8f8;
    vertical-align: middle;
    font-size: 15px;
    width: 40%;
    box-sizing: border-box;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    text-align: left;
}

table.vertical td {
    padding: 7px;
    background: #fff;
    font-size: 15px;
    box-sizing: border-box;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.data {
    background: #f0f0f0;
    padding: 10px;
}

table.list th[size='50'],
table.list td[size='50'] {
    width: 50px;
}

table.list th[size='75'],
table.list td[size='75'] {
    width: 75px;
}

table.list th[size='100'],
table.list td[size='100'] {
    width: 100px;
}

table.list th[size='125'],
table.list td[size='125'] {
    width: 125px;
}

table.list th[size='150'],
table.list td[size='150'] {
    width: 150px;
}

table.list th[size='175'],
table.list td[size='175'] {
    width: 175px;
}

table.list th[size='200'],
table.list td[size='200'] {
    width: 200px;
}

table.list th[size='225'],
table.list td[size='225'] {
    width: 225px;
}

table.list th[size='250'],
table.list td[size='250'] {
    width: 250px;
}

table.list th[size='275'],
table.list td[size='275'] {
    width: 275px;
}

table.list th[size='300'],
table.list td[size='300'] {
    width: 300px;
}

table.list th[size='325'],
table.list td[size='325'] {
    width: 325px;
}

table.list th[size='350'],
table.list td[size='350'] {
    width: 350px;
}

table.list th[size='375'],
table.list td[size='375'] {
    width: 375px;
}

table.list th[size='400'],
table.list td[size='400'] {
    width: 400px;
}

table.list th[size='425'],
table.list td[size='425'] {
    width: 425px;
}

table.list th[size='450'],
table.list td[size='450'] {
    width: 450px;
}

table.list th[size='500'],
table.list td[size='500'] {
    width: 500px;
}

.box._sticky {
    position: sticky;
    top: 5px;
    z-index: 3;
}

input[type='file'] {
    border: 1px solid #ccc;
    padding: 10px;
    display: block;
    width: 100%;
    background: #fff;
}

.file_zone {
    background: #f8f8f8;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    border: 1px solid #ccc;
}
