.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 #007FAD;
  color: #014069;
}

/*====================
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;
}
.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: #014069;
}
.selecter p.kikan {
  font-size: 1.2rem;
  line-height: 1.2em;
  margin-bottom: 0.4rem;
}
.selecter .button {
  width: 6.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  border-radius: 0.2rem;
  background-color: #007FAD;
  background: linear-gradient(#00aeed 5%, #007FAD);
}
.selecter .button:hover {
  background: linear-gradient(#00b9fc 5%, #00aeed);
}
.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 li.mae a {
  padding-left: 0.5em;
  background: url(../images/mae_sankaku.png) no-repeat 6px 2px;
}
.selecter li.ato a {
  padding-right: 0.5em;
  background: url(../images/ato_sankaku.png) no-repeat right 6px top 2px;
}

.now {
  margin-top: 0.8rem;
  display: flex;
  align-items: flex-end;
}
.now h3 {
  color: #007FAD;
  font-size: 1.5rem;
  line-height: 1.5em;
  font-weight: bold;
}
.now h3 span {
  margin-left: 1em;
  color: #232323;
  font-weight: normal;
}
.now p.unit {
  font-size: 1.2rem;
  margin-right: 0;
  margin-left: auto;
  margin-bottom: 0.4rem;
}

/*====================
hyogumi
====================*/
.hyogumi {
  width: 100%;
}
.hyogumi thead th {
  padding: 3px 2px 5px;
  font-size: 1.3rem;
  line-height: 1em;
}
.hyogumi thead th .kmk {
  height: 30px;
  font-size: 1rem;
  line-height: 30px;
}
.hyogumi thead th .kmk.nigyo {
  line-height: 13px;
}
.hyogumi thead th .enk {
  font-size: 1.7rem;
  line-height: 1.5em;
  font-weight: normal;
}
.hyogumi thead th .tni {
  font-size: 1.1rem;
  line-height: 1.2em;
  font-weight: normal;
}
.hyogumi td, .hyogumi th {
  white-space: nowrap;
  border: 1px solid #a7a7a7;
  text-align: center;
  font-size: 1.4rem;
  vertical-align: middle;
  width: 60px;
}
.hyogumi thead th {
  background: #8ec153;
}
.hyogumi tbody tr {
  height: 27px;
  background: #e0e2df;
}
.hyogumi tbody tr:nth-child(2n-1) {
  background-color: #ffffff;
}
.hyogumi tbody tr th {
  border: 1px solid #a7a7a7;
  font-size: 1.2rem;
  background: #b9dcd2;
  max-width: 78px;
  width: 78px;
  padding: 0 4px;
}
.hyogumi tbody tr td {
  line-height: 31px;
}

/*====================
tyuui
====================*/
.tyuui {
  margin: 7px 0 0 0;
}
.tyuui p {
  font-size: 1.3rem;
  color: #000;
  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%;
  }

  /*====================
  hyogumi
  ====================*/
  .hyogumi thead th {
    font-size: 1.3rem;
    line-height: 1em;
  }
  .hyogumi thead th .kmk {
    height: 24px;
    font-size: 1rem;
    line-height: 24px;
  }
  .hyogumi thead th .kmk.nigyo {
    line-height: 11px;
  }
  .hyogumi thead th .enk {
    font-size: 1.3rem;
    line-height: 1em;
    font-weight: normal;
  }
  .hyogumi thead th .tni {
    font-size: 0.9rem;
    line-height: 1.2em;
    font-weight: normal;
  }
  .hyogumi td, .hyogumi th {
    white-space: nowrap;
    font-size: 1.3rem;
    width: 9.5rem;
  }
  .hyogumi tbody tr th:first-child {
    font-size: 1.1rem;
  }
  .hyogumi tbody tr td {
    line-height: 2rem;
  }

  /*====================
  tyuui
  ====================*/
  .tyuui p {
    font-size: 1.1rem;
  }
}