.clearfix:after {
  display: block;
  content: "";
  clear: both;
}

/* CSS Document */
/*====================
content
====================*/
[id="content"] {
  clear: both;
  padding-top: 1.6rem;
  padding-bottom: 2.4rem;
}
[id="content"] .wrapper {
  position: relative;
  width: 100rem;
}
[id="content"] .midashi {
  font-size: 1.8rem;
  line-height: 1.8rem;
  margin-bottom: 1.6rem;
  padding-left: 0.8rem;
  font-weight: bold;
  border-left: 0.4rem solid #006bbd;
  color: #184950;
}
[id="content"] .kakomi .controls {
  display: flex;
  height: 60px;
  width: 100%;
}
[id="content"] ul.toggle {
  display: inline-flex;
  margin: auto;
}
[id="content"] ul.toggle li {
  padding: 5px;
  margin: -20px 40px 0px 40px;
  width: 10rem;
  text-align: center;
  border: 1px solid #ccc;
  background: #f1e767;
  background: linear-gradient(to bottom, #fdfbfb 0%, #ebedee 100%);
  box-shadow: inset 1px 1px 1px #fff;
}
[id="content"] ul.toggle li a {
  text-decoration: none;
}
[id="content"] ul.toggle li:hover {
  background: linear-gradient(to top, #fdfbfb 0%, #ebedee 100%);
}

/*====================
section
====================*/
.selecter {
  margin-bottom: 0.8rem;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.selecter .migi {
  flex-direction: column;
  width: 100%;
  align-items: stretch;
}
.selecter .controls {
  display: flex;
  justify-content: space-between;
}
.selecter .time-ctrl {
  display: flex;
  align-items: center;
}
.selecter .hyl-ctrl {
  display: flex;
  align-items: center;
}
.selecter .hidari {
  display: inline-flex;
  width: auto;
}
.selecter .hidari .group {
  margin-right: 6px;
}
.selecter .hidari .controls {
  display: flex;
}
.selecter h3 {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 4px;
  line-height: 1em;
  color: #184950;
}
.selecter p.kikan {
  font-size: 1.2rem;
  line-height: 1.2em;
  margin-bottom: 0.4rem;
}
.selecter .button {
  width: 8.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  border-radius: 0.2rem;
  background-color: #006bbd;
  background: linear-gradient(#008ffd 5%, #006bbd);
}
.selecter .button:hover {
  background: linear-gradient(#0d96ff 5%, #008ffd);
}
.selecter .button + .button {
  margin-left: 0.8rem;
}
.selecter .button a {
  display: block;
  width: 100%;
  font-weight: bold;
  font-size: 1.4rem;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
}
.selecter .button2 {
  width: 7.4rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  border-radius: 0.2rem;
  background-color: #006bbd;
  background: linear-gradient(#008ffd 5%, #006bbd);
}
.selecter .button2:hover {
  background: linear-gradient(#0d96ff 5%, #008ffd);
}
.selecter .button2 + .button2 {
  margin-left: 0.8rem;
}
.selecter .button2 a {
  display: block;
  width: 100%;
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
}
.selecter li.mae a {
  padding-left: 0.8em;
  background: url(../images/mae_sankaku.png) no-repeat 6px;
}
.selecter li.ato a {
  padding-right: 0.5em;
  background: url(../images/ato_sankaku.png) no-repeat right 3px top 0px;
}
.selecter .range {
  display: flex;
  align-items: flex-end;
}
.selecter input[type="date"] {
  font-size: 1.4rem;
  line-height: 24px;
  font-weight: normal;
  height: 24px;
  border: #aeaeae solid 1px;
  border-radius: 4px;
  background: #fafafa;
  min-width: 140px;
  box-sizing: border-box;
}
.selecter p {
  margin-right: 6px;
}

/*====================
grap
====================*/
.kakomi {
  background: #b8e5f3;
  padding: 0.8rem 1.6rem;
  width: 100%;
  border-radius: 0px;
}

/*====================
tyuui
====================*/
.tyuui {
  margin: 0.8rem 0 0 0;
}
.tyuui p {
  font-size: 1.3rem;
  line-height: 1.4em;
}

@media screen and (max-width: 768px) {
  /*====================
  content
  ====================*/
  [id="content"] .wrapper {
    position: relative;
    width: 94%;
  }
  [id="content"] h2.midashi {
    font-size: 1.6rem;
    line-height: 1em;
    background-size: 3%;
    margin-bottom: 11px;
  }

  /*====================
  section
  ====================*/
  .selecter {
    flex-direction: column;
  }
  .selecter .hidari {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .selecter .hidari .group {
    width: 100%;
    margin-bottom: 0.8rem;
  }
  .selecter .hidari .group select {
    width: 100%;
  }

  /*====================
  graph
  ====================*/
  .kakomi {
    overflow-x: scroll;
    height: 380px;
  }
  .kakomi #grap {
    width: 980px !important;
    height: 300px !important;
  }

  /*====================
  tyuui
  ====================*/
  .tyuui {
    width: 980px !important;
  }
  .tyuui p {
    font-size: 1.1rem;
    line-height: 1.4em;
  }
}
