/* フォント設定 */
@font-face {
  font-family: "Yu Gothic";
  src: local("Yu Gothic Medium");
  font-weight: 100;
}
@font-face {
  font-family: "Yu Gothic";
  src: local("Yu Gothic Medium");
  font-weight: 200;
}
@font-face {
  font-family: "Yu Gothic";
  src: local("Yu Gothic Medium");
  font-weight: 300;
}
@font-face {
  font-family: "Yu Gothic";
  src: local("Yu Gothic Medium");
  font-weight: 400;
}
@font-face {
  font-family: "Yu Gothic";
  src: local("Yu Gothic Bold");
  font-weight: bold;
}
@font-face {
  font-family: "Helvetica Neue";
  src: local("Helvetica Neue Regular");
  font-weight: 100;
}
@font-face {
  font-family: "Helvetica Neue";
  src: local("Helvetica Neue Regular");
  font-weight: 200;
}
html {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic",
    YuGothic, Verdana, Meiryo, "M+ 1p", sans-serif;
}
@media all and (-ms-high-contrast: none) {
  html {
    font-family: Verdana, Meiryo, sans-serif;
  }
}
@media all and (-ms-high-contrast: active) {
  html {
    font-family: Verdana, Meiryo, sans-serif;
  }
}

html {
  background: hsl(210, 8%, 92%);
  background: -webkit-repeating-linear-gradient(
    -45deg,
    #f0f8ff,
    #f0f8ff 3px,
    #e9f4ff 3px,
    #e9f4ff 7px
  );
  background: repeating-linear-gradient(
    -45deg,
    #f0f8ff,
    #f0f8ff 3px,
    #e9f4ff 3px,
    #e9f4ff 7px
  );
}

/* デフォルト設定 */
ul {
  list-style-position: inside;
}
img {
  display: block;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 10px;
}

/* 要素ごとの設定 */
body {
  margin: 0 12px;
  padding: 0;
}

#wrapper {
  max-width: 900px;
  padding: 10px;
  margin: 50px auto;
  background: hsl(210, 0%, 100%);
  border: solid 1px hsl(210, 60%, 25%);
}

.contents-box1 {
  margin-top: 10px;
  margin-bottom: 30px;
}
h2 {
  display: inline-block;
  padding: 0 7px;
  border: solid 1px hsl(210, 60%, 25%);
}

.contents-box2 {
  margin-top: 5px;
  margin-bottom: 10px;
}
.contents-box2 > :not(h3) {
  margin-left: 20px;
}
.contents-box2 .graph {
  margin: 10px 0;
}
h3 {
  /* display: inline-block; */
  padding: 0 8px;
}

table {
  border-collapse: collapse;
}

th,
td {
  padding: 1px 4px;
  border: 1px solid #333;
}

/* header関係 */

header {
  width: 100%;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgb(251, 255, 254);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  z-index: 10000;
}

header > div {
  width: 100%;
  margin: 0 20px;
}

header > div > div {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: block;
  position: relative;
}

header > div > div > ul {
  list-style: none;
  overflow: hidden;
}

header > div > div > ul li {
  width: 100px;
  height: 40px;
  line-height: 40px;
  text-align: left;
  float: left;
}

header > div > div > ul li a {
  height: 100%;
  width: 100%;
  font-size: 18px;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
  color: black;
}

#login-form {
  position: absolute;
  right: 10px;
  top: 50px;
  width: 300px;
  height: 124px;
  background-color: white;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
}

#login-form ul {
  list-style: none;
}

#login-form ul li {
  margin: 10px;
}

#login-form ul li span {
  width: 80px;
  display: inline-block;
  margin: 0px 10px;
}

#login-form ul li input {
  border: 1px #000000 solid;
  width: 180px;
  height: 24px;
}

.post-button {
  padding: 2px 10px;
  margin: 8px 0;
  border: 1px #000000 solid;
  display: inline-block;
  background-color: #f3f3f3;
  cursor: pointer;
}

#post-login {
  right: 10px;
  margin: 0;
  position: absolute;
}

/* dashboard関係 */
.date-box {
  width: 110px;
}
.time-box {
  width: 70px;
}

details summary {
  cursor: pointer;
}

.positive {
  color: hsl(134, 63%, 38%);
  font-weight: bold;
}
.negative {
  color: hsl(0, 72%, 56%);
  font-weight: bold;
}

.scroll-box {
  overflow-x: auto;
  -ms-overflow-style: none; /* IE, Edge 対応 */
  scrollbar-width: none; /* Firefox 対応 */
}
.scroll-box::-webkit-scrollbar {
  display: none; /* Chrome, Safari 対応 */
}

/* モバイルでは .dashboard #contents を表示しない */
/* .mobile .dashboard #contents {
  display: none;
} */

/* .dashboard #contents を表示しない */
/* .dashboard #contents {
  display: none;
} */
