body {
  margin: 0;
  padding: 0;
  background: #ebf3ff;
}
header {
  font-family: initial;
  display: flex;
  width: 100%;
  height: 120px;
  background-color: #fff;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  font-size: 25px;
  border-bottom: 1px solid #b9c4dd;
  margin-top: -270px;
  z-index: 100;
}

/*===========
header
===========*/

header.login {
  height: 100px;
  justify-content: center;
}

.header_top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  height: 60%;
}
.header_top .title {
  color: #4472c4;
  margin-left: 20px;
}
.header_top .title img {
  height: 70px;
}
.header_top .menu_top {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-right: 20px;
}
.header_top .menu_top .menu_top_date {
  text-align: right;
  font-size: 16px;
}
.header_top .menu_top .menu_top_btn {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  font-size: 16px;
}
.header_top .menu_top .menu_top_btn .menu_top_btn_user {
  margin-right: 10px;
}
.header_top .menu_top .menu_top_btn .menu_top_btn_user i {
  margin-right: 5px;
}
.header_top .menu_top .menu_top_btn .menu_top_btn_logout a {
  display: block;
  max-width: 350px;
  margin: 0 auto;
  padding: 4px 10px;
  background-color: #ff0000;
  border-radius: 8px;
  box-sizing: border-box;
  text-decoration: none;
  transition: 0.3s;
  font-weight: bold;
}
.header_top .menu_top .menu_top_btn .menu_top_btn_logout a span {
  color: #fff;
  font-size: 16px;
  text-align: center;
}

.header_bottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  height: 40%;
  margin-bottom: 5px;
}
.header_bottom .menu_tab {
  margin-left: 20px;
}
.header_bottom .menu_tab .menu_tab_list ul {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 5px 5px -5px;
  align-items: flex-end;
}
.header_bottom .menu_tab .menu_tab_list li {
  width: 120px;
  text-decoration: none;
  text-align: center;
  border-bottom: 2px solid #ffffff;
}
.header_bottom .menu_tab .menu_tab_list li.active {
  border-bottom: 2px solid #4472c4;
}
.header_bottom .menu_tab .menu_tab_list li i {
  margin-right: 5px;
}
.header_bottom .menu_tab .menu_tab_list li a {
  text-decoration: none;
  text-align: center;
  color: #000000;
  font-size: 18px;
}
.header_bottom .filter_box {
  margin-right: 20px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  font-size: 16px;
}
.header_bottom .filter_box .filter_box_area {
  margin-left: 25px;
}

/*===========
login_box
===========*/
.login_box {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin: 50px auto;
}
.login_box .logo {
  width: 500px;
}
.login_box .login_box_area {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 3px;
}
.login_box .login_box_area div {
  margin: 10px;
}
.login_box .login_box_area .title {
  font-size: 25px;
}
.login_box .login_box_area input[type="email"],
.login_box .login_box_area input[type="text"],
.login_box .login_box_area input[type="password"] {
  width: 400px;
  height: 45px;
  padding-left: 10px;
  font-size: 20px;
  border: 1px solid #aaa;
  border-radius: 5px;
  outline: none;
  padding: 8px;
  box-sizing: border-box;
  transition: 0.3s;
}
.login_box .login_box_area input[type="email"]:focus,
.login_box .login_box_area input[type="text"]:focus,
.login_box .login_box_area input[type="password"]:focus {
  border-color: dodgerBlue;
  box-shadow: 0 0 8px 0 dodgerBlue;
}
.login_box .login_box_area .button a {
  display: block;
  max-width: 350px;
  margin: 0 auto;
  padding: 5px 20px;
  background-color: #4472c4;
  border-radius: 3px;
  box-sizing: border-box;
  text-decoration: none;
  transition: 0.3s;
}
.login_box .login_box_area .button a span {
  color: #fff;
  font-size: 20px;
  text-align: center;
}

/*===========
search_box
===========*/

.search_box {
  background-color: #f7f5f5;
  display: flex;
  flex-direction: column;
  position: fixed;
  width: 100%;
  z-index: 10;
}
.search_box .search_box_title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 5px 20px 0;
}
.search_box .search_box_title .title {
  font-size: 18px;
  font-weight: bold;
}
.search_box .search_box_title .clear a {
  color: #7196da;
  text-decoration: underline;
}
.search_box .search_box_title .clear a:hover {
  color: #5678b5;
}
.search_box .search_box_column {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin: 0px 20px 10px;
}
.search_box .search_box_column .search_box_column_search {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
}
.search_box .search_box_column .search_box_column_search .search_box_area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.search_box .search_box_column .search_box_column_search .search_box_area .search {
  overflow: hidden;
  width: 90%;
  margin: 0;
  text-align: center;
}
.search_box .search_box_column .search_box_column_search .search_box_area .search select {
  width: 100%;
  padding-right: 1em;
  cursor: pointer;
  text-indent: 0.01px;
  text-overflow: ellipsis;
  border: none;
  outline: none;
  background: transparent;
  background-image: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}
.search_box .search_box_column .search_box_column_search .search_box_area .search select::-ms-expand {
  display: none;
}
.search_box .search_box_column .search_box_column_search .search_box_area .search.selectbox_style {
  position: relative;
  border: 1px solid #bbbbbb;
  border-radius: 2px;
  background: #ffffff;
}
.search_box .search_box_column .search_box_column_search .search_box_area .search.selectbox_style::before {
  position: absolute;
  top: 0.9em;
  right: 0.9em;
  width: 0;
  height: 0;
  padding: 0;
  content: '';
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #666666;
  pointer-events: none;
}
.search_box .search_box_column .search_box_column_search .search_box_area .search.selectbox_style:after {
  position: absolute;
  top: 0;
  right: 2.5em;
  bottom: 0;
  width: 1px;
  content: '';
  border-left: 1px solid #bbbbbb;
}
.search_box .search_box_column .search_box_column_search .search_box_area .search.selectbox_style select {
  padding: 5px 38px 5px 5px;
  color: #666666;
}
.search_box .search_box_column .search_box_column_search .search_box_area .term_area {
  display: flex;
  align-items: center;
  justify-content: flex-start
}
.search_box .search_box_column .search_box_column_search .search_box_area .term_area .search.year {
  min-width: 95px;
}
.search_box .search_box_column .search_box_column_search .search_box_area .term_area .search.month {
  min-width: 80px;
}
.search_box .search_box_column .search_box_column_btn {
  text-align: center;
  margin-top: 20px;
  width: 5%;
  min-width: 84px;
}
.search_box .search_box_column .search_box_column_btn a {
  display: block;
  margin: 0 auto;
  padding: 10px 25px;
  background-color: #4472c4;
  border-radius: 8px;
  box-sizing: border-box;
  text-decoration: none;
  transition: 0.3s;
  font-weight: bold;
  height: 44px;
}
.search_box .search_box_column .search_box_column_btn a span {
  color: #fff;
  font-size: 16px;
  text-align: center;
}

/*===========
sum_box
===========*/

.sum_box {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin: 110px 20px 0px;
}
.sum_box .sum_box_area {
  display: flex;
  flex-direction: column;
  margin: 10px;
  padding: 10px 20px;
  background: #fff;
  border-radius: 3px;
  min-width: 125px;
  width: 10%;
}
.sum_box .sum_box_area .title {
  text-align: left;
  font-size: 12px;
}
.sum_box .sum_box_area .sum {
  text-align: right;
  margin: 10px 0;
}
.sum_box .sum_box_area .sum span {
  font-size: 13px;
}

/*===========
graph_box
===========*/

.graph_box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 98%;
}
.graph_box .graph_box_area {
  display: flex;
  flex-direction: row;
  width: 99%;
}
.graph_box .graph_area {
  width: 49%;
  margin: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.graph_box .graph_area .title {
  margin-top: 20px;
  font-size: 30px;
  font-weight: bold;
}
.graph_box .graph_area .detail {
  width: 100%;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.graph_box.top .graph_area {
  width: 100%;
}
.graph_box.top .graph_area .detail {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.graph_box .graph_area .detail .detail_table {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.graph_box.top .graph_area .detail .detail_table {
  width: 49%;
}
.graph_box .graph_area .detail .table {
  width: 100%;
  max-height: 300px;
  display: block;
  overflow-x: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border: 2px solid #b1b1b154;
}
.graph_box .graph_area .detail .table_title {
  margin-left: 10px;
  font-size: 16px;
  color: #323232;
}
.graph_box .graph_area .detail .table_title i {
  margin-right: 5px;
}
.graph_box .graph_area .detail .table table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}
.graph_box .graph_area .detail .table th,
.graph_box .graph_area .detail .table td {
  vertical-align: middle;
  padding: 10px 20px;
  border-bottom: 1px solid #535353;
  color: #000;
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
}
.graph_box .graph_area .detail .table tr:not(:first-child) th {
  font-weight: normal;
}
.graph_box .graph_area .detail .table td {
  background: #fff;
  text-align: right;
}
.graph_box .graph_area .detail .table td span {
  font-size: 10px;
}

.graph_box .graph_area .detail .table .table_col_header {
  position: sticky;
  top: 0;
  left: 0;
  background: none;
  border-left: none;
  border-right: none;
  text-align: left;
}
.graph_box .graph_area .detail .table .table_col_header:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f7f5f5;
  z-index: -1;
}
.graph_box .graph_area .detail .table .table_row_header {
  position: sticky;
  top: 0;
  left: 0;
  background: none;
  border-top: none;
  border-bottom: none;
}
.graph_box .graph_area .detail .table .table_row_header:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-bottom: 2px solid #000000;
  background: #f7f5f5;
  z-index: -1;
}
.graph_box .graph_area .detail .table .table_row {
  position: sticky;
  top: 0;
  left: 0;
  background: none;
  border-top: none;
  border-bottom: none;
  border-left: none;
  border-right: none;
  z-index: 1;
}
.graph_box .graph_area .detail .table .table_row:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-bottom: 2px solid #000000;
  background: #f7f5f5;
  z-index: -1;
}

.graph_box .graph_area .detail .chart {
  width: 99%;
  margin-top: 20px;
  overflow-x: scroll;
  overflow-y: auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
}
.graph_box.top .graph_area .detail .chart {
  width: 49%;
  margin-left: 1%;
}
.graph_box .graph_area .detail .chart canvas {
  min-height: 300px;
  max-height: 300px;
  border: 2px solid #b1b1b154;
  margin: 0 1px 10px 10px;
}
.graph_box .graph_area .detail .chart canvas.line {
  max-width: 70%;
}
.graph_box .graph_area .detail .chart canvas.pie {
  max-width: 50%;
}

.graph_box .graph_other .detail {
  position: relative;
}
/* ぼかしを入れる */
.graph_box .graph_other.blur .detail .table,
.graph_box .graph_other.blur .detail .chart {
  -ms-filter: blur(4px);
  filter: blur(4px);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}
.graph_box .graph_other .detail_pop {
  display: none;
  position: absolute;
  top: 20%;
  left: 25%;
  background: #ededed;
  padding: 100px;
}

/*===========
scrollbar
===========*/

/*スクロールバー全体の高さ*/
.scroll_box::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

/*スクロールバー全体の背景*/
.scroll_box::-webkit-scrollbar-track {
  background: #eee;
}

/*スクロールバーの動く部分*/
.scroll_box::-webkit-scrollbar-thumb {
  background: #aaa;
  border: none;
}

/*スクロールバーの動く部分のホバー（マウスオーバー）*/
.scroll_box::-webkit-scrollbar-thumb:hover {
  background: #999;
}
