body {
  background: aliceblue;
  margin: 0;
  padding: 0;
}

body.auth {
  background: cadetblue;
}

div.center,
main.center {
  text-align: center;
  width: 75%;
  margin-left: 12.5%;
  color: black;
}

/*
**************************************************
********            Login page            ********
**************************************************
*/

div.logindiv {
  position: relative;
  z-index: 1;
  max-width: 360px;
  margin: 0 auto 100px;
  padding: 45px;
  text-align: center;
  background: white;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}

div.logindiv input[type="text"],
div.logindiv input[type="password"] {
  outline: 0;
  background: whitesmoke;
  width: 100%;
  border: 0;
  margin: 0 0 15px;
  padding: 15px;
  box-sizing: border-box;
  font-size: 14px;
}

/*input.logintxt {*/
div.logindiv input[type="text"]:has(+ ul.errorlist),
div.logindiv input[type="password"]:has(+ ul.errorlist) {
  margin: 0 0 0;
}



div.logindiv ul.errorlist {
  margin: 0 0 auto auto;
}

div.logindiv ul.errorlist>li {
  color: red;
  font-size: 9px;
  list-style: none;
  text-align: right;
  margin: 0 0 auto auto;
}

input.loginbutton {
  text-transform: uppercase;
  outline: 0;
  background: steelblue;
  width: 100%;
  border: 0;
  padding: 15px;
  color: white;
  font-size: 14px;
  -webkit-transition: all 0.3 ease;
  transition: all 0.3 ease;
  cursor: pointer;
}

input.loginbutton:hover,
input.loginbutton:active,
input.loginbutton:focus {
  background: navy;
}

/*
**************************************************
******            mein manu style            *****
**************************************************
*/

/* menu area */
.gnavi__wrap {
  width: 95%;
  margin: 0% 0% 2.5% 2.5%;
  padding-left: 0%;
}

nav.gnavi__nav {
  width: 100%;
  height: calc(5vh);
}

/* menu list */
.gnavi__lists {
  display: flex;
  margin: 0% auto 0% auto;
  padding-left: 0%;
  width: 100%;
  list-style: none;
}

/* menu items */
.gnavi__list {
  width: 25%;
  height: calc(5vh);
  background-color: lightsteelblue;
  position: relative;
  transition: all .3s;
}

/* menu item (mouse over) */
.gnavi__list:hover {
  background-color: royalblue;
}

/* before menu item without first item */
.gnavi__list:not(:first-child)::before {
  content: "";
  width: 1px;
  height: 100%;
  background-color: aliceblue;
  position: absolute;
  top: 0;
  left: 0;
  transition: all .3s;
}

/* before menu item (mouse over) */
.gnavi__list:hover::before {
  background-color: royalblue;
}

/* menu item text */
.gnavi__list a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: royalblue;
  font-size: 15px;
  letter-spacing: 0.05em;
  font-weight: 600;
  transition: all .3s;
}

/* menu item text (mouse over) */
.gnavi__list:hover a {
  color: aliceblue;
}

/*
**************************************************
******          dropdown manu style          *****
**************************************************
*/

/* dropdown list */
.dropdown__lists {
  display: none;
  /*デフォルトでは非表示の状態にしておく*/
  list-style: none;
  width: 100%;
  position: absolute;
  top: calc(5vh);
  padding-left: 0%;
  left: 0%;
  /*visibility: hidden;*/
}

/* dropdown list (mouse over) */
.gnavi__list:hover .dropdown__lists {
  display: block;
  /*visibility: visible;*/
  /*Gナビメニューにホバーしたら表示*/
}

/* dropdown items */
.dropdown__list {
  background-color: #274a78;
  /*kon-iro*/
  height: calc(5vh);
  transition: all .3s;
  position: relative;
}

/* before dropdown items without first item */
.dropdown__list:not(:first-child)::before {
  content: '';
  width: 100%;
  height: 1px;
  background-color: royalblue;
  position: absolute;
  top: 0;
  left: 0;
}

/* dropdown items (mouse over) */
.dropdown__list:hover {
  background-color: #0f2350;
  /* koi-ai */
}

/* dropdown item text */
.dropdown__list a {
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-decoration: none;
  position: relative;
}

.dropdown__list form {
  width: 100%;
  height: 100%;
}

.dropdown__list input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  color: white;
  width: 100%;
  height: 100%;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

/*
**************************************************
******                 Table                 *****
**************************************************
*/

thead.table tr>th {
  background-color: #0d6efd;
  color: white;
}

tbody td.td-clear-delete>a {
  text-decoration: none;
  color: #dc3545;
}

/*
**************************************************
******               Loglist                 *****
**************************************************
*/
.logs {
  margin-left: auto;
  margin-right: auto;
  margin-top: 1%;
  margin-bottom: 1%;
  width: 50%;
  height: 20%;
  background: white;
  border: 1px solid black;
  /* わかりやすくボーダーを引く */
  overflow-y: auto;
  text-align: left;
  /* 縦方向にスクロール可能にする */
}

/*
**************************************************
******               Message                 *****
**************************************************
*/
div.alert-success svg {
  fill: #198754;
}

div.alert-info svg {
  fill: #0dcaf0;
}

div.alert-warning svg {
  fill: #ffc107;
}

div.alert-danger svg {
  fill: #dc3545;
}

div.alert-secondary svg {
  fill: #6c757d;
}