.contents {
  height: calc(100vh - 64.29px);
  min-width: 1180px;
  min-height: 636px;
  position: relative;
}

#version {
  text-align: right;
  padding-right: 10px;
}

h1 {
  font-weight: normal;
}

section>div:nth-child(2) {
  padding-top: 11vh;
  margin: auto;
  width: 17%;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

section form {
  margin-top: 5%;
  display: flex;
  flex-direction: column;
}

#request {
  margin: 0;
}

input {
  padding: 0 10px;
  margin: 1% auto;
  width: 100%;
  height: 40px;
  box-sizing: border-box;
  border: 1px solid #0a16be;
  border-radius: 0;
  cursor: text;
}

input:focus {
  outline: none;
}

#staff_number_text {
  padding: 0 10px;
  margin: 5px 0;
}

section .labels_equally {
  margin-top: 2vh;
}

button {
  width: 36%;
  height: 30px;
  color: white;
  background-color: #3D6FC9;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.display_none {
  display: none;
}

#warning {
  margin: 0;
  color: red;
  font-size: 14px;
}

.change {
  display: none;
}

.policy {
  background-color: #D3D3D3;
  width: 96%;
  border-radius: 5px;
  display: flex;
  justify-content: space-around;
  margin: auto;
  padding: 10px;
  position: absolute;
  bottom: calc(2vh + 24px);
  left: 0;
  right: 0;
}

.policy>div {
  width: 30%
}

.policy>div h4 {
  width: 100%;
  margin: 0;
  margin-bottom: 10px;
  text-align: center;
  font-weight: normal;
}

.policy p,
.policy ul {
  font-size: 12px;
  margin: 0;
  width: fit-content;
  margin: auto;
}

.policy p {
  text-align: center;
}

.policy ul {
  list-style-type: square;
  padding-left: 20px;
}

div.emergency {
  text-align: center;
  position: absolute;
  margin: 1vh auto;
  bottom: 0;
  left: 0;
  right: 0;
}

.emergency a {
  color: #000;
}


.labels_equally {
  width: 100%;
  justify-content: flex-end;
  flex-direction: row;
}

.form_popup {
  box-shadow: 0px 0px 5px #9b9b9b;
}

.form_container {
  display: flex;
  flex-wrap: wrap;
  width: 480px;
  padding: 10px;
  background-color: white;
}

.form_container p:first-child {
  padding: 5px 0;
  width: 100%;
  text-align: center;
  color: white;
  background-color: #507AC4;
}

.form_container p:not(:first-child) {
  width: 95%;
  margin: 1% 0;
  display: flex;
  justify-content: left;
  align-items: center;
  font-size: 14px;
}

.form_container p:not(:first-child) {
  margin: 10% auto 6%;
  justify-content: center;
}

.form_container input[type=text],
.form_container input[type=password] {
  width: 60%;
  height: 100%;
  box-sizing: border-box;
  border: none;
  border-left: 1px solid #0a16be;
  background: #fff;
}

.form_container .labels_equally {
  justify-content: space-between;
  margin-top: 10%;
  width: 100%;
}

.form_container .btn {
  width: 25%;
  height: 30px;
  background-color: #507AC4;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 10px;
}

.form_popup .cancel {
  color: #000;
  background-color: #fff;
  border: 1px solid #507AC4;
}

@media screen and (max-width: 1133px) and (hover: none) {
  .contents {
    width: 100%;
    min-width: 724px;
    max-width: 1133px;
    min-width: 724px;
    height: 848px;
    min-height: calc(100dvh - 60px);
    max-height: 964px;
  }

  .contents>div:nth-child(2) {
    width: 40%;
  }

  .policy {
    flex-wrap: wrap
  }

  .policy>div {
    width: 50%
  }

  .policy>div:first-child {
    width: 100%;
    margin-bottom: 30px;
  }

  button.submit {
    width: 40%;
    height: 40px;
    margin: 15px 0 15px 15px;
    font-size: 16px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  }

  button.change {
    width: 40%;
    height: 40px;
    margin: 15px 15px 15px 0px;
    font-size: 16px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  }

  button.submit.big_button {
    width: 100%;
    height: 40px;
    margin: 0;
    font-size: 16px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  }

  .labels_equally {
    width: 100% !important;
  }

  .form_container {
    width: 400px;
    margin: auto;
    box-shadow: 0px 0px 5px #9b9b9b;
  }

  .form_popup {
    box-shadow: none;
  }

  .form_container .btn {
    width: 30%;
    height: 40px;
    font-size: 13px;
  }

  .form_container p:first-child {
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}