html {
    background: #f4f9ff;
    font-family: "Helvetica Neue",
        Arial,
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans",
        Meiryo,
        sans-serif;
}

.navbar-brand .navbar-item,
header div.logo {
    display: block;
    margin: 0 auto;
    font-size: 23px;
    text-align: center;
    color: #fff;
    font-family: 'BIZ UDPGothic', sans-serif;
}


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;
}

::placeholder {
    color: #aaa;
}

.label {
    font-size: 1.2em;
}

.input,
.select select,
.textarea,
.button {
    margin-bottom: 0.5em;
}


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

.css_hidden {
    display: none;
}

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

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

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

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

table.list {
    width: 100%;
}

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

table.list th {
    background: #f7f4ef;
    vertical-align: middle;
    font-weight: normal;
    text-align: center;
    padding: 7px;
    border: 1px solid #ccc;
    color: #7b756e;
    font-size: 15px;
}

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

table.list tr.total td {
    background: #fffccc;
}

table.vertical td.left,
table.vertical th.left,
table.list td.left,
table.list th.left {
    text-align: left;
}

table.vertical td.right,
table.vertical th.right,
table.list td.right,
table.list th.right {
    text-align: right;
}

table.vertical {
    width: 100%;
    max-width: 700px;
    border: 1px solid #ccc;
}

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

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

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

.staff_role {
    padding: 8px;
}

.staff_role .control {
    display: flex;
    justify-content: center;
}

table.list th.sorting {
    background: #ffa;
}


/*報告書作成画面*/

.datetime_parent {
    position: relative;
}

.datetime_act {
    z-index: 10;
    position: absolute;
    right: 5px;
    top: 43px;
    padding: 18px 14px;
}



input[type=number].right {
    text-align: right;
}

.message-body {
    font-size: 2em;
    text-align: center;
    padding: 0.5em;
}


.toggle_box {
    display: none;
}

.toggle_box.open {
    display: block;
}

div.qrcode {
    margin: 0 auto;
}

div.qrcode * {
    display: block;
    margin: 0 auto;
}