@charset "utf-8";

@media print, screen and (min-width:601px) {
body {
  margin: 0px;
  background-color: #eee;
}
#container {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  font-family: 'Meiryo','メイリオ',sans-serif;
  font-size: 16px;
  color: #152197;
  background-color: #fff;
  border-left: 1px solid #444;
  border-right:1px solid #444;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.0);
  border-top: 1px solid #b19582;
}
header {
  width: 100%;
  height: 50px;
  background-color: #fff;}
h1 {
  color: crimson;
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 3px;
  padding: 12px 40px 0 0;
  text-align: right;
  text-shadow: 2px 2px 1px white, -2px 2px 1px white, 2px -2px 1px white, -2px -2px 1px white;
}

/* ■■========== nav ==========■■ */
nav {
  width: 100%;
  display: grid;
  grid-auto-rows: minmax(45px, auto);
  grid-template-columns: repeat(7, auto);
  grid-row-gap: 10px;
  background-color: #444;
  border-top: 2px solid #999;
}
.menu {
  font-size: 17px;
  color: #fff;
  padding: 17px 5px 0 5px;
  text-align: center;
  background-color: #444;
}
.tile:link,.tile:visited {
  color: #fff;
  text-decoration: none;
}
.tile:hover {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  background-color: #999;
}
.mcom {
  color: #fff;
  text-decoration: none;
}

/* ■■========== main ==========■■ */
main {
  width: 100%;
  padding: 0 0 10px 0;
}
h2 {
  width: 400px;
  font-size: 22px;
  color: blue;
  margin: 40px 0 10px 40px;
  letter-spacing: 3px;
}

/* ■■========== 地域の河川・地域の橋 ==========■■ */
.title1 {
  width: calc(100% - 40px);
  margin: 5px 20px 0 20px;
  padding: 15px 0 5px 0;
  border-top: 1px solid #777;
}
.title2 {
  width: calc(100% - 40px);
  margin: 5px 20px 0 20px;
  padding: 15px 0 5px 0;
  border-top: 2px solid #999;
}
.table1 {
  width: calc(100% - 40px);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

/* ■■========== 地域の河川 ==========■■ */
.photo_area1 {
  width: 364px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.p1 {
  flex: 0 0 172px;
  padding: 0 0 3px 0;
}
.p2 {
  flex: 0 0 172px;
  padding: 0 0 3px 0;
}
.photo {
  width: 100%;
  border: 1px solid #777;
}
.com {
  width: calc(100% - 374px);
  margin-left: 10px;
  padding-top: 5px;
  line-height: 20px;
}

/* ■■========== 地域の橋 ==========■■ */
.photo_area2 {
  width: calc(100% - 40px);
  max-width: 660px;
  margin-left: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.p3 {
  flex-basis: 320px;
  padding: 0 0 3px 0;
}
.p4 {
  flex-basis: 320px;
  padding: 0 0 3px 0;
}
.bt0 {
  border: none;
}
.bb1 {
  border-bottom: 1px solid #999;
}

/* ■■========== 川と橋のマップ ==========■■ */
#map1 {
  width: calc(100% - 40px);
  margin: 10px auto 30px;
}
#map2 {
  width: calc(100% - 40px);
  margin: 10px auto 30px;
}
.map {
  width: 100%;
  border: 1px solid #777;
}

/* ■■========== コメント ==========■■ */
.notice {
  width: calc(100% - 40px);
  font-size: 15px;
  margin: 30px 0 0 20px;
}

/* ■■========== footer ==========■■ */
footer {
  width: 100%;
  height: 36px;
  font-size: 17px;
  color: #fff;
  letter-spacing: 0.2em;
  text-align: center;
  margin: 0 0 5px 0;
  padding-top: 20px;
  background-color: #444;
}

}










@media screen and (max-width:600px) {
body {
  margin: 0px;
  background-color: #eee;
}
#container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  font-family: 'Meiryo','メイリオ',sans-serif;
  font-size: 16px;
  color: #152197;
  background-color: #fff;
  border-left: 1px solid #444;
  border-right:1px solid #444;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.0);
  border-top: 1px solid #b19582;
}
header {
  width: 100%;
  height: 50px;
  background-color: #fff;}
h1 {
  width: 100%;
  color: crimson;
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 3px;
  padding-top: 15px;
  text-align: center;
}

/* ■■========== nav ==========■■ */
nav {
  width: 100%;
  display: grid;
  grid-auto-rows: minmax(45px, auto);
  grid-template-columns: repeat(7, auto);
  grid-row-gap: 10px;
  background-color: #444;
  border-top: 2px solid #999;
}
.menu {
  font-size: 15px;
  color: #fff;
  padding: 17px 5px 0 5px;
  text-align: center;
  background-color: #444;
}
.tile:link,.tile:visited {
  color: #fff;
  text-decoration: none;
}
.tile:hover {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  background-color: #999;
}
.mcom {
  color: #fff;
  text-decoration: none;
}
/* ■■========== main ==========■■ */
main {
  width: 100%;
  padding: 25px 0 10px 0;
}
h2 {
  width: 400px;
  font-size: 22px;
  color: blue;
  margin: 10px 0 10px 20px;
  letter-spacing: 3px;
}

/* ■■========== 地域の河川・地域の橋 ==========■■ */
.title1 {
  width: calc(100% - 20px);
  margin: 5px 10px 0 10px;
  padding: 20px 0 5px 0;
  border-top: 1px solid #777;
}
.title2 {
  width: calc(100% - 20px);
  margin: 0px 10px 0 10px;
  padding: 25px 0 5px 0;
  border-top: 2px solid #999;
}
.table1 {
  width: calc(100% - 20px);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

/* ■■========== 地域の河川 ==========■■ */
.photo_area1 {
  width: 172px;
}
.p1 {
  width: 172px;
  padding: 0 0 5px 0;
}
.p2 {
  width: 172px;
  padding: 0 0 0 0;
}
.photo {
  width: 100%;
  border: 1px solid #777;
}
.com {
  width: calc(100% - 182px);
  margin-left: 10px;
  padding-top: 5px;
  line-height: 20px;
}

/* ■■========== 地域の橋 ==========■■ */
.photo_area2 {
  width: calc(100% - 20px);
  max-width: 330px;
  margin-left: 10px;
}
.p3 {
  width: 320px;
  padding: 0 0 5px 0;
}
.p4 {
  width: 320px;
  padding: 0 0 5px 0;
}

/* ■■========== 川と橋のマップ ==========■■ */
#map1 {
  width: calc(100% - 40px);
  margin: 10px auto 30px;
}
#map2 {
  width: calc(100% - 40px);
  margin: 10px auto 30px;
}
.map {
  width: 100%;
  border: 1px solid #777;
}

/* ■■========== コメント ==========■■ */
.notice {
  width: calc(100% - 20px);
  margin-left: 20px;
  padding-top: 10px;
  line-height: 20px;
}
footer {
  width: 100%;
  height: 40px;
  font-size: 17px;
  color: #fff;
  letter-spacing: 0.2em;
  text-align: center;
  margin: 0 0 5px 0;
  padding-top: 20px;
  background-color: #444;
}

}