@charset "utf-8";
html,
body {
  height: 100%;
  padding: 0;
  margin: 0;
  font-family: Roboto,-apple-system,BlinkMacSystemFont,'游ゴシック体',YuGothic,'Yu Gothic Medium','Noto Sans JP',sans-serif;
  background-color: #525252;;
}
.wf-notosansjapanese {
  font-family: "Noto Sans JP";
}

.flex {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  position: relative;
  justify-content: space-evenly;
  align-items: center;
}

#mapContainer {
  width: 70%;
  height: 96%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #A1A4A5;
  z-index: 10000;
}

#mapDiv{
  margin: 1.5% 0px 1.5% 0px;
  width: 97%;
  height: 97%;
  display: flex;
}

#graphContainer {
  width: 28%;
  height: 96%;
  background-color: #A1A4A5;
  display: flex;
  align-items: baseline;
  justify-content: space-around;
  flex-direction: column;
  align-items: center;
  z-index: 10000;
}

#switch {
  margin: 0 auto;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 6px;
  width: fit-content;
  background-color: #525252;
  border: none;
  border-radius: 50px;
}

.chartInput {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
}
.chartLabel {
  color: #bbb;
  font-size: 0.8em;
  padding: 0.25rem 0.7rem;
  margin: 0 3px 0 3px;
  border-radius: 50px;
  transition: all 0.3s;
  cursor: pointer;
  display: inline-block;
  vertical-align: top;
}

.chartInput:checked + .chartLabel {
  background: #eee;
  color: #666;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
}

.graph {
  width: 96%;
  height: 93%;
}

#modalContainer {
  width: 100%;
  height: auto;
  min-height: 100%;
  z-index: 20000;
  background-color: rgba(0, 0, 0, 0.4);
  position: fixed;
}

body > #modalContainer {
  height: auto;
}

dialog {
  padding: 0;
  border: 0;
  box-shadow: 0 0 1em black;
}

dialog[open] {
  animation: slide-up 0.4s ease-out;
}

dialog {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  max-width: 80vw;
  background-color: white;
  opacity: 0.8;
  height: 35vh;
  max-height: 500px;
  min-height: 350px;
  width: 80vw;
  max-width: 500px;
  overflow: auto;
}
dialog[open] {
  display: block;
}

dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.4);
}

dialog + .backdrop {
  background-color: rgba(0, 0, 0, 0.4);
}

.close {
  position: absolute;
  top: 0.2em;
  right: 0.2em;
  padding: 0.3em;
  line-height: 0.6;
  background-color: transparent;
  border: 0;
  font-size: 2em;
  cursor: pointer;
}
.modal-header,
.modal-body,
.modal-footer {
  color: #555;
  padding: 1em;
}

.desc1 {
  margin: 0 0 20px 0;
}

.desc2 {
  font-size: 0.85em;
  margin: 0 0 20px 0;
}

.small {
  font-size: 0.84em;
  margin: 0px;
}

.modal-header {
  font-size: 1.2em;
  margin: 0;
  padding-bottom: 0;
  border-top-left-radius: 0.6rem;
  border-top-right-radius: 0.6rem;
}
.modal-body{
  padding-top: 0.7em;
}

.br::before {
  content: "\A";
  white-space: pre;
}

.map {
  z-index: 0;
  margin: 0 3px;
  width: 100%;
  touch-action: auto !important;
}

.legend {
  padding: 6px 8px;
  font: 14px/20px Arial, Helvetica, sans-serif;
  line-height: 18px;
  color: #555;
}
.legend i {
  width: 18px;
  height: 18px;
  float: left;
  margin-right: 8px;
  opacity: 0.7;
}

.inforanking {
  padding: 6px 8px;
  font: 14px/20px Arial, Helvetica, sans-serif;
  line-height: 18px;
  color: #555;
}

.inforanking p {
  margin: 1px;
}

.pref{
  padding-top: 3px;
  font-size: 1.1em;
  display: inline-block;
}

.infopanel {
  padding: 6px 8px;
  font: 14px/20px Arial, Helvetica, sans-serif;
  line-height: 18px;
  color: #555;
}
.info h3 {
  margin: 0 0 5px;
  color: #777;
}

.info {
  background: white;
  background: rgba(240, 240, 240, 0.8);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}
.info h4 {
  margin: 0 0 5px;
  color: #777;
}

fieldset {
  border: none;
  margin: 1em 0.5em 0.3em 0.5em;
  font-size: 1em;
}
.radio_input {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
}
.radio_label {
  color: #555;
  display: inline-block;
  padding: 0.3rem 0.65rem;
  margin-right: 8px;
  border-radius: 3px;
  transition: all 0.2s;
  cursor: pointer;
}

.radio_input:checked + .radio_label {
  background: #9c404c;
  color: #f8fbf8;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.7);
}

.inputarea {
  margin: 0 0.9em;
}

.cp_iptxt {
  position: relative;
  width: 100%;
  left: 0;
  right: 0;
  margin: auto;
}
.cp_iptxt input[type="text"] {
  font: 1.1em/1.3em sans-serif;
  box-sizing: border-box;
  width: 100%;
  padding: 0.2em 0.3em;
  transition: 0.3s;
  letter-spacing: 1px;
  color: #555;
  border: none;
  border-bottom: 2px solid #1b2538;
  background: transparent;
  text-align: center;
}
.ef input[type="text"]:focus {
  border-bottom: 2px solid #bbb;
  outline: none;
}

.compare {
  background-image: url(https://www.dmuchgis.com/myojimap/images/compare.svg) !important;
  background-size:26px 26px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  display: block;
}

.button {
  text-align: right;
  width: 96%;
  margin-bottom: 1.1em;
  margin-top: 1.1em;
}

.btn-flat-border {
  display: inline-block;
  font-size: 1.1em;
  padding: 0.45em 0.85em 0.45em 0.85em;
  text-decoration: none;
  color: #f8fbf8 !important;
  background: #3b5b91;
  border-radius: 3px;
  transition: 0.4s;
}

.btn-flat-border:hover {
  background: #aaa;
  color: #f8fbf8;
}


.searchform {
  font-size: 0.95em;
  z-index: 1000;
  position: absolute;
}




@media screen and (max-width: 900px) {
  #mapContainer {
    width: 95%;
    height: 90%;
    margin-top: 2%;
  }

  #mapDiv{
    width: 96%;
  }
  
  #graphContainer {
    width: 95%;
    height: 150%;
    margin: 2% 0 2% 0;
  }
  
  .inforanking {
    font: 12px/20px Arial, Helvetica, sans-serif;
    line-height: 13px;
  }
  .legend {
    font: 12px/18px Arial, Helvetica, sans-serif;
  }
}

@media screen and (max-width: 640px) {
  .comparediv {
    display: none !important;
  }

  .searchform {
    font-size: 0.8em;
  }

  .cp_iptxt input[type="text"] {
    font: 1.1em/1.3em sans-serif;
    padding: 0.2em 0.3em;
  }

  .btn-flat-border:hover {
    display: inline-block;
    font-size: 1.1em;
    padding: 0.45em 0.85em 0.45em 0.85em;
    text-decoration: none;
    color: #f8fbf8 !important;
    background: #364e96;
    border-radius: 3px;
  }
}