html {
    font-size: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

body {
    width:100%;
    background-color: #EEEEEE;
}

a {
    text-decoration: none;
}

div {
    box-sizing: border-box;
}

/* ----- テーブル ----- */
table, th, td {
    /* border:0px solid #ffffff; */
    border:none;
    box-sizing: border-box;
}

table {
    table-layout: fixed;
    border:1px solid #DDDDDD;
    border-left: 0px;
    border-top: 0px;
    border-collapse: collapse;
    border-spacing: 0;
    margin:auto;
    margin-bottom:10px;
    width:100%;
}

thead{
    top:50px;
    position: sticky;
    z-index: 2;
}

th{
    background-color: #8d8d8d;
    border:1px solid #CCCCCC;
    border-right: 0px;
    color: #FFFFFF;
    padding: 10px;
}

th a {
    color: #FFFFFF;
}

td {
    background-color: #ffffff;
    border:1px solid #DDDDDD;
    border-right: 0px;
    border-bottom: 0px;
    color: #000000;
    text-align: left;
    vertical-align: top;
    padding:5px;
}

/* ----- 入力要素 ----- */
input[type="text"], input[type=number], input[type=password], input[type=date], input[type=month], select {
    font:inherit;
    width:90%;
    box-sizing:border-box;
    border:1px solid rgb(180, 180, 180);
    border-radius: 3px;
    outline:none;
    padding:5px;
    box-sizing: border-box;
}

input[type="text"]:hover, input[type=number]:hover, input[type=password]:hover, select:hover {
    outline:1px solid #5d9cfa
}

input[type="text"][readonly], input[type="date"][readonly], input[type=number][readonly]{
    border: none;
    outline: none;
    background-color: transparent;
}

/* ----- ボタン ----- */
input[type="button"] {
    text-align: center;
    cursor:pointer;
}

input[type="button"][class$="-xxs"] {
    border-radius:3px;
    width:27px;
    height:27px;
}

input[type="button"][class$="-xs"] {
    border-radius:3px;
    width:40px;
    height:27px;
}

input[type="button"][class$="-s"], input[type="submit"][class$="-s"]{
    border-radius:2px;
    width:60px;
    height:27px;
}

input[type="button"][class$="-m"], input[type="submit"][class$="-m"]{
    border-radius:2px;
    width:90px;
    height:27px;
}

input[type="button"][class$="-l"], input[type="submit"][class$="-l"]{
    border-radius:2px;
    width:120px;
    height:27px;
}

input[type="button"][class^="btn-dg"], input[type="submit"][class^="btn-dg"] {
    border:solid 1px #666666;
    background-color:#666666;
    color:#FFFFFF;
}
input[type="button"][class^="btn-dg"]:hover, input[type="submit"][class^="btn-dg"]:hover {
    border:solid 1px #666666;
    background-color:#FFFFFF;
    color:#666666;
}

input[type="button"][class^="btn-b"], input[type="submit"][class^="btn-b"] {
    border:solid 1px #0D6EFD;
    background-color:#0D6EFD;
    color:#FFFFFF;
}
input[type="button"][class^="btn-b"]:hover, input[type="submit"][class^="btn-b"]:hover {
    border:solid 1px #0D6EFD;
    background-color:#FFFFFF;
    color:#0D6EFD;
}

input[type="button"][class^="btn-g"], input[type="submit"][class^="btn-g"] {
    border:solid 1px #00a50e;
    background-color:#00a50e;
    color:#FFFFFF;
}
input[type="button"][class^="btn-g"]:hover, input[type="submit"][class^="btn-g"]:hover {
    border:solid 1px #00a50e;
    background-color:#FFFFFF;
    color:#00a50e;
}

input[type="button"][class^="btn-r"] {
    border:solid 1px #b80000;
    background-color:#b80000;
    color:#FFFFFF;
}
input[type="button"][class^="btn-r"]:hover {
    border:solid 1px #b80000;
    background-color:#FFFFFF;
    color:#b80000;
}

input[type="button"][class^="btn-o"], input[type="submit"][class^="btn-o"] {
    border:solid 1px #dd7d00;
    background-color:#dd7d00;
    color:#FFFFFF;
}
input[type="button"][class^="btn-o"]:hover, input[type="submit"][class^="btn-o"]:hover{
    border:solid 1px #dd7d00;
    background-color:#FFFFFF;
    color:#dd7d00;
}

input[type="button"][class^="btn-disable"] {
    border:solid 1px #9c9c9c;
    background-color:#FFFFFF;
    color:#b4b4b4;
}

input[type="button"]:disabled {
    pointer-events: none;
    border: none;
    background-color: #888888;
}

/* ↓↓↓ ドロップダウンボタン ↓↓↓ */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #00a50e;
    width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 3;
}
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
.dropdown-content a:hover {
    background-color: #ffffff;
    color:#2ad438;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropbtn {
    border-radius:2px;
    background-color: #00a50e;
    color: white;
    padding: 6px 0;
    width: 120px;
    border: none;
    cursor: pointer;
}
/* ↑↑↑ ドロップダウンボタン ↑↑↑ */

#contents {
    position: relative;
    font-size: 12px;
    top: 60px;
    left: 20px;
    /* width: calc(100% - 60px); */
    width:95%;
    line-height:15px;
    box-sizing: border-box;
    padding-bottom: 20px;
    margin:auto;
    z-index: 0;
    position: relative;
}

.btn-link {
    cursor: pointer;
    background-image:url(/images/btn-link.png);
    background-repeat: no-repeat;
    background-size: 15px;
    background-color: rgba(255, 0, 0, 0);
    background-position:center;
    border:none;
    width:20px;
    margin-top:7px;
    margin-left:5px;
}

.btn-fix {
    cursor: pointer;
    background-image:url(/images/btn_check.png);
    background-repeat: no-repeat;
    background-size: 20px;
    background-color: transparent;
    background-position:center;
    border:none;
    width:30px;
    margin:0;
    height:100%;
}

.btn-cancel {
    cursor: pointer;
    background-image:url(/images/btn_cancel.png);
    background-repeat: no-repeat;
    background-size: 20px;
    background-color: transparent;
    background-position:center;
    border:none;
    width:30px;
    margin:0;
    height:100%;
}

a > input[type="text"] {
    color:#003aa5;
    cursor: pointer;
}

textarea {
    font-family:inherit;
}

#popup_message {
    display:flex;
    z-index: 10;
    position:absolute;
    top: 100px;
    left: calc(50% - 150px); 
    width: 300px; 
    height: 120px; 
    padding: 10px;
    background: white;
    border: solid 1px rgba(0, 0, 0, 0.1);
    border-radius: 0px;
    box-shadow: 5px 5px 10px 1px rgba(0, 0, 0, 0.2);
}

#popup_message .show {
    display: flex;
}

#moment-message-value .show {
    display: flex;
}