.graphwrap {
  color: #707070;
  background-color: #FFF;
  padding: 15px;
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index:100;
  display:none;
  box-sizing: border-box; }
  .graphwrap .close {
    font-size: 32px;
    position: absolute;
    right: 6px;
    top: 6px;
    cursor: pointer; }
  .graphwrap .ttl {
    font-weight: bold;
    font-size: 20px; }
  .graphwrap .cal {
    font-size: 16px;
    margin-left: 200px;
    text-align: right;
    line-height: 1.2;
    position: absolute;
    right: 50px;
    top: 18px; }
    .graphwrap .cal .subttl {
      font-weight: bold;
      display: inline-block;
      margin-right: 10px; }
    .graphwrap .cal .slash {
      display: inline-block;
      margin-right: 60px; }
    .graphwrap .cal a {
      color: inherit; }
    .graphwrap .cal .modal_open {
      text-decoration: underline;
      cursor: pointer; }
  .graphwrap .graph {
    padding-top: 6px;
    padding-bottom: 6px;
    height:250px; }
  .graphwrap .detail {
    font-size: 12px;
    text-align: right; }

@media screen and (max-width: 768px) {
  .graphwrap .cal {
    position: relative;
    right: auto;
    top: auto;
    margin-left: 0;
    text-align: left;
    margin-top: 10px;
    line-height: 1.4; }
    .graphwrap .cal .slash {
      margin-right: 0; }
  .graphwrap .graph {
    height:200px; }
  .graphwrap .detail {
    text-align: left; } }

.calinput {
  text-align: center; }
  .calinput input[type="number"], .calinput select {
    width: 6em !important;
    margin-right: 0.5em;
    text-align: right; }
  .calinput select {
    -moz-appearance: menulist;
    -webkit-appearance: menulist; }
  .calinput p {
    font-weight: bold;
    display: inline-block;
    width: 8em;
    text-align: right;
    margin-right: 1em; }
  .calinput + .calinput {
    margin-top: 10px; }
  .calinput + .button {
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box; }
  .calinput span {
    display: inline-block;
    width: 2em; }

ul.slash > li {
  display: inline-block; }
  ul.slash > li:after {
    content: ' / '; }
  ul.slash > li:last-child:after {
    display: none; }

.graphwrap .modal_open {
  cursor: pointer; }

