/* @import url("https://use.fontawesome.com/releases/v5.0.6/css/all.css"); */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");

/*---------
Reset CSS
---------*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}


/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}


/*---------
Style CSS
---------*/

body {
    font-family: sans-serif;
    font-size: 0.8rem;
    line-height: 1.2em;
    font-weight: 200;
    color: #222;
    margin: 10px 10px;
    background: #E9ECF3;
}

a {
    color: #006699;
    display: block;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1 {
    font-size: 1.2rem;
    text-align: center;
    margin: 0 0 40px 0;
}


/*menu*/

.menu {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

.menu.min {
    width: 20%;
    position: absolute;
    top: 0;
    left: 80%;
    z-index: 1;
}

.menu ul {
    display: flex;
}

.menu ul li {
    width: 100%;
}

.menu ul li a {
    background: #666;
    width: 100%;
    float: left;
    padding: 20px 0;
    text-align: center;
    color: #fff;
    text-decoration: none;
    border-right: 1px solid #777;
    box-sizing: border-box;
}

.menu ul li a:hover {
    background: #333;
}

.menu ul li a.active,
#link>a.active {
    background: rgba(51, 51, 51, 0.9);
}

.menu ul.drop {
    list-style: none;
    position: absolute;
    z-index: 9999;
    top: 100%;
    margin: 0;
    padding: 0;
}

.menu ul.drop li a {
    padding: 13px 15px;
    border: 1px solid #32373c;
    text-align: left;
}

.menu ul.drop.active li>a {
    background: #32373c;
}

.menu ul.drop.active li>a:hover {
    background: #111;
}

.menu ul.drop li {
    overflow: hidden;
    height: 0;
    transition: .2s;
    width: 180px;
}

.menu ul.drop.active li {
    overflow: visible;
    height: 38px;
}


/* iOS hack */

.menu>ul>li.drop {
    cursor: pointer;
}


/*main*/

.main {
    margin-top: 80px;
}


/* @media screen and (max-width: 799px) {
    .main {
        margin-top: 160px;
    }
} */


/*table*/

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: #fff;
}

table tr th,
table tr td {
    padding: 0 10px;
    border: 1px solid #ECF0F1;
    vertical-align: middle;
    padding: 5px;
    text-align: right;
}

table tr th {
    text-align: center;
    background: #4B99AD;
    color: #fff;
}

table tr.total td {
    background: #666;
    color: #ddd;
    border-top: 3px double #f2f2f2;
}

table tr:nth-child(n+1):hover {
    cursor: default;
    background: #f2f2f2;
}

table tr.ot {
    background: #eaf2f2;
}

table a {
    color: #006699;
    display: block;
    text-decoration: none;
}

table a:hover {
    text-decoration: underline;
}

.danger {
    background-color: pink !important;
}

.w-tbl {
    min-width: 720px;
}

.h-tbl {
    min-width: 720px;
}

.n-tbl {
    max-width: 720px;
}

.u-tbl {
    min-width: 1080px;
    white-space: nowrap;
}

.sp-tbl {
    min-width: 300px;
}

.hidden {
    display: none;
}

.showcolumn:hover {
    cursor: pointer;
    color: royalblue;
}

li>a:hover {
    cursor: pointer;
}

#signup {
    cursor: pointer;
    position: fixed;
    bottom: 10px;
    right: 10px;
}

.ok {
    background: #FFEEEE;
}

.gray {
    background: #ccc;
}

.low-table {
    width: 43%;
}

.low-table th {
    width: 39%;
}

.center-table {
    width: auto;
    margin: 0 auto;
}

.center-table th {
    /*     width: 40%; */
    margin: 0 auto;
}


/*form*/

.frm-r {
    margin: 10px auto;
    max-width: 460px;
    padding: 20px 12px 10px 20px;
    background: #fff;
}

.frm-r .field-long:not(textarea) {
    width: 100%;
    height: 24px;
    border: 1px solid #BEBEBE;
}

textarea.field-long {
    width: 100%;
    resize: none;
}

.frm {
    margin: 10px auto;
    max-width: 460px;
    padding: 20px 12px 10px 20px;
    background: #fff;
    box-shadow: 2px 2px 4px gray;
}

.frm li {
    padding: 0;
    display: block;
    list-style: none;
    margin: 10px 0 0 0;
}

.frm label {
    margin: 0 0 3px 0;
    padding: 0px;
    display: block;
    font-weight: bold;
}

.frm input[type=text],
.frm input[type=date],
.frm input[type=datetime],
.frm input[type=number],
.frm input[type=password],
.frm input[type=search],
.frm input[type=time],
.frm input[type=url],
.frm input[type=email],
textarea,
select {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    border: 1px solid #BEBEBE;
    padding: 7px;
    margin: 0px;
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
    outline: none;
}

.frm input[type=text]:focus,
.frm input[type=date]:focus,
.frm input[type=datetime]:focus,
.frm input[type=number]:focus,
.frm input[type=password],
.frm input[type=search]:focus,
.frm input[type=time]:focus,
.frm input[type=url]:focus,
.frm input[type=email]:focus,
.frm textarea:focus,
.frm select:focus {
    -moz-box-shadow: 0 0 8px #88D5E9;
    -webkit-box-shadow: 0 0 8px #88D5E9;
    box-shadow: 0 0 8px #88D5E9;
    border: 1px solid #88D5E9;
}

.frm .field-divided {
    width: 32.5%;
}

.field-min {
    max-width: 60%;
}

.frm .field-long {
    width: 100%;
}

.frm .field-select {
    width: 100%;
}

.frm .field-textarea {
    height: 100px;
}

.frm input[type=submit],
.frm input[type=button],
.frm button {
    background: #4B99AD;
    padding: 8px 15px 8px 15px;
    border: none;
    color: #fff;
    width: 120px;
    margin-top: 20px;
}

.frm input[type=submit]:hover,
.frm input[type=button]:hover,
.frm button:hover {
    background: #4691A4;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

.frm .required {
    color: red;
}


/*button*/

button,
label.button {
    background: #34495E;
    border: 1px solid #88D5E9;
    border: none;
    color: #fff;
    padding: 5px 5px;
    border-radius: 2px;
}

button:hover,
label.button:hover {
    background: #486582;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    border-radius: 2px;
}

.btn {
    margin: 30px 0;
    text-align: center;
}

.btn-r {
    padding: 5px 5px;
    text-align: right;
    max-width: 720px;
    display: block;
    margin: 0 auto;
}

.btn-r li {
    display: inline-block;
    padding: 0 0 10px 0;
    margin-left: 20px;
}

.btn-accr:not(li) {
    background: #34495E;
    border-radius: 5px;
    padding: 12px 3px;
    color: #fff;
    border: 1px solid #88D5E9;
    margin: 10px auto;
    width: 250px;
    cursor: pointer;
}

.btn-accr.admin {
    display: inline-block;
}

.doc {
    text-align: center;
    border: 1px solid #006699;
    padding: 10px;
    margin: 5px 0;
    width: 100px;
    display: inline-block;
}

.doc a {
    text-decoration: none;
}

.center {
    text-align: center;
}

.out {
    text-align: right;
}

.left {
    text-align: left;
    padding-left: 10px;
}

select.doc {
    font-size: 120%;
    border: 1px;
}

select#src {
    font-size: 150%;
    border: 1px;
}

.xdebug-error * {
    text-align: left;
}

.ace_print-margin {
    display: none;
}

pre {
    margin: 20px;
}

pre,
.pre {
    padding: 20px;
    background: #2F3129;
    color: #E9ECF3;
    font-family: Consolas, 'Courier New', Courier, Monaco, monospace;
}

#link {
    position: absolute;
    top: 60px;
}

#link>a {
    display: inline-block;
    background: #666;
    width: 128px;
    padding: 10px 15px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    border-right: 1px solid #777;
    box-sizing: border-box;
}

#link.wide>a,
#link>a.wide {
    width: 180px;
}

#link.year {
    margin-top: 45px;
}

#link.year>a {
    width: 60px;
}

#link>a:hover {
    background: #333;
}

@media screen and (max-width: 413px) {
    .menu {
        font-size: 80%;
    }

    li#code {
        display: none;
    }
}

.custom {
    overflow: hidden;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    position: relative;
    border-radius: 0.2em;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 0 #AAA;
    background-color: white;
    position: absolute;
    top: 10px;
}

.custom>select {
    width: 130%;
    padding: 0.6em 2.4em 0.6em 0.6em;
    font-size: 1rem;
}

.custom:after {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1.8em;
    display: block;
    content: "";
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGFBMVEUAAAAZJCYWISIYIyQYIiUWIiIYIyQYIiXh0rToAAAACHRSTlMA/hTRqiinvwFkb0sAAABCSURBVHjajchBDsAgDAPBOJDw/x+XVN0icQGfPGs3i+2GEqeiLCXWLENzvdzrDfP2ls/NjfKbgimYglfBq2Dm+LwHguMA235EdKYAAAAASUVORK5CYII=") center no-repeat;
    pointer-events: none;
}

select {
    -moz-appearance: none;
    -webkit-appearance: none;
    -o-appearance: none;
    -ms-appearance: none;
    appearance: none;
    border-radius: 0;
    border: 0;
    margin: 0;
    padding: 0;
    background: none transparent;
    vertical-align: middle;
    font-size: inherit;
    color: inherit;
    box-sizing: content-box;
    background: #666;
    color: #fff;
}

.serverstatus {
    font-size: 1rem;
    line-height: 1.2rem;
    letter-spacing: 0.08rem;
    overflow-x: auto;
}

a.invalid {
    text-decoration: line-through;
}

.cologo {
    animation: cologo 2.5s linear 0s 1;
    position: fixed;
    right: 10px;
    bottom: 80px;
    width: 120px;
    height: 120px;
}

@keyframes cologo {
    0% {
        transform: translate(0%, 0%);
    }

    5% {
        transform: translate(10%, 0%) rotate(10deg);
    }

    25% {
        transform: translate(20%, 0%) rotate(20deg);
    }

    30% {
        transform: translate(-10%, 0%) rotate(-10deg);
    }

    35% {
        transform: translate(-15%, 0%) rotate(-15deg);
    }

    45% {
        transform: translate(10%, 0%) rotate(10deg);
    }

    50% {
        transform: translate(15%, 0%) rotate(15deg);
    }

    60% {
        transform: translate(-5%, 0%) rotate(-5deg);
    }

    65% {
        transform: translate(-7%, 0%) rotate(-7deg);
    }

    75% {
        transform: translate(0%, 0%) rotate(0deg);
    }

    100% {
        transform: translate(0%, 0%) rotate(0deg);
    }
}

input.noedit {
    padding: 2px 4px;
    outline: 0;
    border: 0px;
    background: transparent;
}

#buildhash {
    position: fixed;
    top: 60px;
    z-index: -1;
    font-size: 0.5rem;
}

/* faアイコンで改行されるのを防ぐ */
#dataTable td:nth-of-type(1) {
    min-width: 150px;
}