@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@500&display=swap');

button,
input,
select,
textarea {
    font-family: inherit;
}

html {
    width: 100%;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

header {
    height: 20%;
    color: white;
    text-align: center;
}

div.header {
    height: 8.5em;
    background-color: rgb(31, 73, 125);
}

.header_title {
    padding: 15px;
    height: 3em;
    display: block;
    font-size: 1.5em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

header button.bottom {
    width: 8em;
    height: 3.5em;
    margin-top: 10px;
    color: black;
    background-color: rgb(217, 217, 217);
    border: none;
}

header button.bottom:hover {
    background-color: rgb(158, 157, 157);
    cursor: pointer;
}

sub {
    vertical-align: baseline;
    font-size: 50%;
}

div.main {
    padding-top: 50px;
    text-align: center;
    margin-bottom: 10px;
}

div.main_after_login {
    padding-top: 100px;
    text-align: center;
    margin-bottom: 10px;
}

div.user_id {
    text-align: center;
    padding-top: 5px;
}

p {
    font-size: 16px;
    color: black;
}

table.main {
    text-align: center;
    border-spacing: 15px;
    word-break: keep-all;
    max-width: 90%;
    table-layout: fixed;
    max-width: 20em;
}

table.main td {
    text-align: center;
    min-width: 15em;
}

table.main td.co2 {
    background-color: rgb(155, 187, 89);
    color: midnightblue;
    border-radius: 20px;
    overflow:hidden;
}

table.main td.co2 span.co2 {
    font-size: 3em;
    color: white;
}

table.main td.co2 a.link {
    font-size: 15px;
    color: midnightblue;
    text-align: right;
}

.none_decoration {
    display: inline-block
}

table.main td.filter_change_date {
    border: 2px solid rgb(202, 99, 15);
    border-radius: 10px;
}

table.main td.filter_change_date span {
    color: rgb(228, 108, 10);
    font-size: 16px;
    font-weight: bold
}

table.main td.filter_count {
    border: 2px solid rgb(85, 142, 213);
    border-radius: 10px;
}

table.main td.filter_count span {
    color: rgb(85, 142, 213);
    font-size: 16px;
    font-weight: bold;
}

body {
    height: 80%;
}

body h1.welcome {
    color: rgb(155, 187, 89);
    text-align: center;
    font-size: 50px;
}

div.main_form {
    padding-top: 25px;
    text-align: center;
    height: 350px;
    margin-bottom: 10px;
}

footer {
    height: 10%;
    text-align: center;
    flex: auto;
    margin-top: 40px;
}

footer a.link {
    color: black;
}

a.filter {
    display: block;
    width: 15em;
    margin: auto;
    background-color: rgb(85, 142, 213);
    color: white;
    text-decoration: none;
    text-align: center;
    margin-bottom: 10px;
    border-radius: 5px;
}

a.filter:hover {
    background-color: rgb(127, 166, 214);
    font-weight: bold;
}

a.manual {
    display: block;
    width: 15em;
    margin: auto;
    background-color: rgb(31, 73, 125);
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
}

a.manual:hover {
    background-color: rgb(72, 101, 136);
    font-weight: bold;
}

input {
    width: 18em;
    padding: 0.8em;
    margin-bottom: 8px;
    outline: solid rgb(55, 96, 146);
    border: none;
}


input.disabled {
    background: #d1d0d0;
}

input.readonly {
    background: #d1d0d0;
}

label {
    display: flex;
    justify-content: left;
}

.input_area {
    margin: auto;
}
select {
    width: 20em;
    padding: 0.8em;
    margin-bottom: 8px;
    outline: solid rgb(55, 96, 146);
    border: none;
}


/*ログイン後ヘッダー　各種ボタン*/
header div.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header div.item_up {
    max-width: 60em;
    margin: 0 auto;
}

header div.item_down {
    max-width: 24em;
    margin: -4em auto auto auto;
}

header div.bottom {
    display: flex;
    justify-content: space-evenly;
}

header div.bottom2 {
    display: flex;
    justify-content: space-between;
}

header div.serial {
    padding-right: 12px;
}

/*ログイン後ヘッダー　title*/
.page-title {
    text-align: center;
    color: rgb(55, 96, 146);
}

header h3 {
    overflow-wrap: break-word;
}

header div.icon {
    text-align: center;
}

header img.menu {
    margin-right: 10px;
}

.form-box {
    position: relative;
    margin: 5% auto;
    width: 320px;
    height: 400px;
    margin-top: 10px;
}

.innner-box {
    position: absolute;
    top: 0;
    left: 0;
    padding: 40px;
    width: 300px;
    height: 300px;
}

div.message {
    padding-top: 15px;
    width: 100%;
    text-align: center;
}

.alert-danger {
 color: #FF0000;
}

.alert-warning {
 color: #FF0000;
}

button {
    border-radius: 5px;
}

/*新規登録ボタン*/
button.register {
    color: white;
    background-color: rgb(228, 108, 10);
    text-align: center;
    display: flex;
    width: 7em;
    height: 3em;
    justify-content: center;
    align-items: center;
    border: none;
}

button.register:hover {
    background-color: rgb(175, 83, 8);
}

/*ログインボタン*/
button.login {
    color: white;
    background-color: rgb(55, 96, 146);
    text-align: center;
    display: flex;
    width: 7em;
    height: 3em;
    justify-content: center;
    align-items: center;
    border: none;
}

button.login:hover {
    background-color: rgb(28, 66, 112);
}

/*パスワード再発行ボタン*/
button.forget {
    color: white;
    background-color: rgb(155, 187, 89);
    width: 17em;
    height: 3em;
    align-items: center;
    border: none;
    margin-top: 30px;
}

button.forget:hover {
    background-color: rgb(122, 163, 41);
}

/*パスワード再発行送信ボタン*/
button.send {
    color: white;
    background-color: rgb(228, 108, 10);
    text-align: center;
    display: flex;
    width: 10em;
    height: 3em;
    justify-content: center;
    align-items: center;
    border: none;
}

button.send:hover {
    background-color: rgb(175, 83, 8);
}

/*非表示のボタン(Enter押下トリガー)*/
button.hidden {
    display: none;
}


/*キャンセルボタン*/
a.cancel {
    color: white;
    background-color: rgb(55, 96, 146);
    text-align: center;
    display: flex;
    width: 7em;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    font=size: 90%;
    text-decoration: none;
    border-radius: 5px;
}

a.cancel:hover {
    background-color: rgb(22, 57, 99);
}

.button_even {
    margin-top: 30px;
    display: flex;
    justify-content: space-evenly;
    align-self: center;
    margin-top: 30px;
    font=size: 90%
}

table.main {
    margin: auto;
    width: 95%;
    font-size: 130%;
}

div.top_sub {
    height: 45vh;
    overflow-y: scroll;
    display: flex;
    margin-top: 0;
}

table.sub td {
    border: 1px solid white;
}

table.sub {
    margin: auto;
    font-size: 100%;
    border-color: white;
    text-align: center;
    word-wrap: break-word;
    table-layout: fixed;
}

table.sub th {
    text-align: center;
    color: white;
    background-color: rgb(79, 129, 189);
    position: sticky;
    top: 0;
    left: 0;
    word-break: keep-all;
}

table.sub td:nth-of-type(3) {
    text-align: right;
}

tbody td,
thead th {
    text-align: left;
}

tbody td {
    line-height: 2;
}

tbody td.dateline {
    line-height: 1.5;
}

thead td {
    text-align: right;
    line-height: 2;
}

table.sub tr:nth-child(even) {
    background: rgb(233, 237, 244)
}

.list_setting_button,
.list_delete_button {
  width: 40px;
  text-align: center;
}

.button2 {
  background-color: rgb(251, 137, 137);
  color: white;
  border-style: none;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

.button2:hover {
  background-color: rgb(172, 103, 103);
}
