html {
  background-color: #8FAADC;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  background-color: #4472C4;
  color: white;
}

/* 平日/土休日、日時、ログインユーザー名、infomation、ログアウトボタンのラッパー */
.header-wrapper {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
}

/* 平日 or 土休日 */
.day-type {
  padding: 0 10px;
  border-radius: 6px;
  border: 3px solid #bbb;
  font-size: 13px;
}

.day-type.holiday {
  background-color: #fff;
  border: 3px solid #0070C0;
  color: #4472C4;
}

header p {
  margin: 5px 0;
}

header .title {
  width: auto;
}

header .title a {
  color: #fff;
}

header .now {
  text-align: right;
  width: 220px;
}

header .name {
  width: auto;
}

header .warning_img {
  height: 25px;
  width: 25px;
  margin-right: 10px;
  display: none;
  cursor: pointer;
  background: none;
  background-image: url(/static/img/warning.png);
  background-position: center;
  background-size: cover;
  border: none;
  border-radius: 50%;
}

#mention {
  display: none;
  width: 280px;
  height: 70px;
  background-color: rgb(255, 124, 128);
  color: #fff;
  font-size: 18px;
  position: absolute;
  right: 10px;
  top: 46px;
  justify-content: center;
  align-items: center;
  margin: 0;
  border: 1px solid #fff;
  text-shadow: 0 0 0.5px #fff;
  z-index: 99999;
}

.orangeButton {
  margin-right: 5px;
  width: 80px;
  height: 95%;
  border-radius: 5px;
  border: none;
  background-color: rgb(255, 198, 21);
  text-align: center;
  cursor: pointer;
}

header a {
  text-decoration: none;
  color: black;
}

@media screen and (max-width: 1133px) and (hover: none) {
  header {
    font-size: 14px;
  }

  .day-type {
    padding: 0 7px;
    border-radius: 6px;
    border: 3px solid #bbb;
    font-size: 12px;
  }

  header .now {
    text-align: right;
    letter-spacing: -0.5px;
    width: auto;
  }

  header .name {
    text-align: right;
    letter-spacing: -1px;
  }

  header .warning_img {
    height: 21px;
    width: 21px;
    margin-right: 0;
  }

  #mention {
    top: 45px;
    right: 4px;
    margin: 0 5px;
  }

  .orangeButton {
    width: 85px;
    font-size: 12px;
    height: 21px;
    color: #000;
    margin-right: 0;
  }
}