@charset "UTF-8";

html {
  overflow-x: hidden;
}

.page_title {
  word-break: keep-all;
}

#map {
  height: 400px;
  width: 100%;
}
#map img {
  max-width: none !important;
}

.crossArea {
  text-align: center;
  width: 100%;
  overflow-x: scroll;
  overflow-y: hidden;
}
.crossArea img {
  max-width: none !important;
  width: 751px;
}


/* 国土地理院の出典表示用 */
.olControlAttributionCustom {
  padding: 3px;
  color: #000000;
  background-color: rgba(230, 255, 255, 0.7);
  font-size: 12px;
  line-height: 14px;
  bottom: 5px;
  vertical-align: middle;
  right: 3px;
}


/* 共通 */
@media print, screen and (min-width: 1080px) {
  article#contents {
    width: 1200px !important;
  }
}

.annotation:first-letter {
  color: #ff0000;
}

a.button {
  display:inline;
  color :#333;
  background-color :white;
  border : solid 1px #333;
  cursor :pointer;
  padding : 5px;
  text-decoration :none;
}
a.button:hover {
  color :white;
  background-color:#ff9900;
}
.rightButton {
  text-align: right;
}


.mapArea {
  width: 750px;
  margin: 10px 0px;
  padding: 10px 0px;
  border : solid 1px #333;
}

.camArea {
  margin: 10px auto;
}
.camArea ul {
  text-align: center;
}
.camArea li {
  display: inline-block;
  margin: 10px 10px 0px 0px;
  padding : 0px 10px 0px 0px;
  text-align: center;
}
.camArea li img {
  margin : 5px 5px 5px 5px;
  border : solid 1px #333;
}

.crossArea {
  width: 100%;
  margin: 10px 0px;
  padding: 0px;
  display: flex;
  overflow-x: auto;
}
.crossArea img {
  display: block;
  margin: 0 auto;
  flex-shrink: 0;
}


@media screen and (max-width: 1080px) {
  .camArea {
    display: block !important;
    width: 100%;
  }

  .camAreaUp,
  .camAreaDown {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .camAreaUp > ul.camList,
  .camAreaDown > ul.camList {
    width: 332px;
    margin: 0 auto;
    padding: 0;
    list-style: none;

    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px 12px;
  }

  .camAreaUp > ul.camList > li,
  .camAreaDown > ul.camList > li {
    flex: 0 0 calc((100% - 12px) / 2);
    max-width: calc((100% - 12px) / 2);
    margin: 0 !important;
    padding: 0 !important;
    text-align: center;
    display: block;
    box-sizing: border-box;
  }

  .camAreaUp > ul.camList > li img,
  .camAreaDown > ul.camList > li img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto 2px;
    box-sizing: border-box;
  }

  .camAreaUp > h3.mainTitle,
  .camAreaDown > h3.mainTitle {
    width: 332px;
    margin: 0 auto 12px;
    text-align: center;
  }

  #contents_wrap .camArea > ul.camList {
    width: 340px;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 16px;
  }

  .camArea > ul.camList > li {
    margin: 0 !important;
    padding: 0 !important;
    text-align: center;
    vertical-align: top;
    min-width: 0;
  }

  .camArea > ul.camList > li img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto 2px;
    box-sizing: border-box;
  }
}
