.block {
  width: 30rem;
  max-width: 90%;
  padding: 10px;
  border-radius: 10px;
  background-color: #FFFFFF;
  color: #000000;
  text-align: center;
  margin: auto;
}

.status {
  margin: auto;
  margin-top: 0.5em;
  width: 10em;
  border-radius: 0.5em;
  color: #FFFFFF;
}

.active {
  background-color: #4DB56A;
}

.inactive {
  background-color: #808080;
}

.absent {
  background-color: #ff7f7f;
}

.flex {
  display: flex;
  flex-wrap: wrap;
}

.box {
  height: 140px;
  width: 140px;
  margin: 10px;
  border-radius: 1em;
  box-shadow: 0 0 2px #777777;
  cursor: pointer;
}

.box .icon {
  height: 110px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.box .icon span {
  color: #8FAADC;
  text-align: center;
  font-size: 75px;
}

.box .name {
  text-align: center;
}

.box a {
  display: block;
  height: 100%;
  width: 100%;
  text-decoration: none;
  color: #000000;
}

#qr-code {
  padding: 10px;
}

#qr-code * {
  margin: auto;
}

h3 {
  margin: 5px;
}

button{
  background-color: transparent;
  border: none;
  outline: none;
  padding: 0;
  appearance: none;
}

.submit {
  margin-top: 0.5em;
  background-color: #8FAADC;
  color: white;
  padding: 0.5em;
  text-align: center;
  cursor: pointer;
  border-radius: 0.25em;
}

.submit:disabled {
  background-color: #808080;
}

.auto_close {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  background-color: #FFFFFF;
  padding: 6px;
  border-radius: 0.5em;
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.25);
  width: 19em;
  text-align: center;
}

/* === ボタンを表示するエリア ============================== */
.switchArea {
  line-height: 2em;
  /* 1行の高さ          */
  letter-spacing: 0;
  /* 文字間             */
  text-align: center;
  /* 文字位置は中央     */

  position: relative;
  /* 親要素が基点       */
  display: inline-block;
  width: 5em;
  /* ボタンの横幅       */
  background: #fff;
  /* デフォルト背景色   */
}

/* === チェックボックス ==================================== */
.switchArea input[type="checkbox"] {
  display: none;
  /* チェックボックス非表示 */
}

/* === チェックボックスのラベル（標準） ==================== */
.switchArea label {
  display: block;
  /* ボックス要素に変更 */
  box-sizing: border-box;
  /* 枠線を含んだサイズ */
  height: 2em;
  /* ボタンの高さ       */
  border: 2px solid #999999;
  /* 未選択タブのの枠線 */
  border-radius: 1em;
  /* 角丸               */
}

/* === チェックボックスのラベル（ONのとき） ================ */
.switchArea input[type="checkbox"]:checked+label {
  border-color: #4db56a;
  /* 選択タブの枠線     */
}

/* === 表示する文字（標準） ================================ */
.switchArea label span:after {
  content: "OFF";
  /* 表示する文字       */
  font-weight: bold;
  padding: 0 0 0 16px;
  /* 表示する位置       */
  color: #999999;
  /* 文字色             */
}

/* === 表示する文字（ONのとき） ============================ */
.switchArea input[type="checkbox"]:checked+label span:after {
  content: "ON";
  /* 表示する文字       */
  font-weight: bold;
  padding: 0 16px 0 0;
  /* 表示する位置       */
  color: #4db56a;
  /* 文字色             */
}

/* === 丸部分のSTYLE（標準） =============================== */
.switchArea #swImg {
  position: absolute;
  /* 親要素からの相対位置*/
  width: 1em;
  /* 丸の横幅           */
  height: 1em;
  /* 丸の高さ           */
  background: #999999;
  /* カーソルタブの背景 */
  top: 0.5em;
  /* 親要素からの位置   */
  left: 0.5em;
  /* 親要素からの位置   */
  border-radius: 1em;
  /* 角丸               */
  transition: .2s;
  /* 滑らか変化         */
}

/* === 丸部分のSTYLE（ONのとき） =========================== */
.switchArea input[type="checkbox"]:checked~#swImg {
  transform: translateX(3em);
  /* 丸も右へ移動       */
  background: #4db56a;
  /* カーソルタブの背景 */
}