* {
  margin: 0;
  padding: 0;
}
.mb_10 {
  margin-bottom: 10px;
}
p {
  margin-bottom: 0.5em;
}
html {
  min-height: 100%;
  position: relative;
}
.error_message {
  color: #ff0000;
}
.window_margin_top {
  margin-top: 8px;
}
body {
  background-color: #fff;
  font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'hirakakupro-w3';
  color: #555;
  font-size: 14px;
}
.csv_btn {
  border-radius: 5px;
  background-color: #b5b5b5;
  padding: 10px;
  text-decoration: none;
  color: black;
}
div.logout {
  margin-right: 25px;
  text-align: right;
}
div.msg {
  text-align: center;
  color: #ff0000;
}
.text_error {
  text-align: center;
  color: #ff0000;
}
/*2022.05デジマ追記*/
a {
  text-decoration: none;
  color: #0066c0;
}
a:visited {
  color: #0066c0;
}
a:active {
  color: #0066c0;
}
header {
  background-color: #c1c1c1;
  min-height: 50px;
  display: flex;
  justify-content: right;
  align-items: center;
}
div.logout {
    border: 2px solid white;
    padding: 5px;
}
div.logout a{
  color: white;
}
div.logout a:visited{
  color: white;
}
div.logout a:active{
  color: white;
}
footer {
  background-color: #c1c1c1;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
}
main {
  padding: 30px;
  width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: center;
}
h2 {
  display: table;
  margin: 1.5rem auto;
  font-size: 1.4rem;
  padding: 0 20px;
  border-bottom: 1px solid;
}
table.figure, table.figure td, table.figure th {
  border: 2px solid gray;
  border-collapse: collapse;
  padding: 7px;
  margin-top: 10px;
  width: auto;
}
table.figure th {
  background-color: darkgray;
  color: #fff;
}
input[type="button"], input[type="submit"] {
  background-color: gray;
  color: #fff;
  font-size: 1.1rem;
  border: none;
  border-radius: 0;
  border: 1px solid #d9d9d9;
  border-bottom: 2px solid #d9d9d9;
  display: inline-block;
  padding: 14px 10px 14px 10px;
  text-align: center;
  width: 308px;
  cursor: pointer;
  font-weight: normal !important;
  line-height: 1.4em;
  margin-top: 10px;
}
table.form td, table.form th {
  padding: 7px;
}
table.form th {
  text-align: right;
}
input[type="text"], input[type="password"] {
  width: 300px;
  font-size: 1rem;
  height: inherit;
  min-height: 25px;
  padding: 3px;
  margin-bottom: 10px;
}
.login_image {
  margin-bottom: 5px;
}
.two_buttons {
  display: inline-flex;
}
@media screen and (max-width: 768px) {
  main {
    width: 100%;
    padding: 10px;
  }
  div.logout {
    margin-right: 10px;
}
  table.form {
    width: 100%;
  }
  table.form td, table.form th {
    display: block;
    padding: 0;
  }
  table.form th {
    margin-top: 10px;
    text-align: left;
  }
  input[type="text"], input[type="password"] {
    width: 100%;
    min-height: 32px;
    box-sizing: border-box;
  }
  h2 {
    margin: 1rem auto;
  }
  table.figure td {
    text-align: left;
  }
  table.figure.sp1 {
    border: none;
  }
  table.figure.sp1 th, table.figure.sp1 td {
    display: block;
    border: none;
  }
  table.figure.sp1 td {
    padding: 0;
  }
  .two_buttons {
  display: block;
}
    .two_buttons input[type="button"], input[type="submit"] {
      margin-right: 0;
}
  
}