@charset "UTF-8";
* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic","Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 12px;
  line-height: 1.6;
  min-width: 320px;
}

.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 1.5rem;
  overflow-wrap: break-word;
  word-break: break-all;
}

.wrapper {
  width: 100%;
  position: relative;
}

/* Header */
header.site-header {
  width: 100%;
}

header.site-header .row {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

header.site-header .row > .header-left {
  width: 45%;
}
header.site-header .row > .header-center {
  width: 40%;
}
header.site-header .row > .header-right {
  text-align: right;
  width: 15%;
}

h1.title.page-title {
  display: flex;
  align-items: center; /* 縦中央揃え（画像とテキスト） */
  margin: 0;
}

#title_logo img {
  display: block;
}

#title_box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 10px;
  line-height: 1;
}

#title_text {
  display: block;
  margin: 0;
  line-height: 1;
  font-size: 2.8rem;
  text-decoration: none;
  color: #000;
  margin-top: 1rem;
}

#title_subtext {
  display: block;
  margin: 0;
  line-height: 1;
  text-decoration: none;
  font-size: 1.5rem;
  color: #000;
  margin-top: -2rem;
}

.homepage-link {
  display: inline-block;
  font-size: 1rem;
  vertical-align: middle;
  margin-left: 3rem;
}

.homepage-link a {
  text-decoration: none;
}

.header-right .box-reload {
  margin-bottom: 1rem;
}

.header-right .box-reload button {
  display: inline-block;
  outline: none;
  padding: 0.3rem 2.5rem;
  text-align: center;
  border-radius: 0.3rem;
  background-color: #0153a2;
  color: #fff;
  cursor: pointer;
  border: 1px solid #0153a2;
}

.header-right .box-reload button:hover {
  background-color: #0153a2;
}

.block-notice-black .block-title {
  background-color: #b20000;
}

.header-right .size {
  display: inline-block;
  vertical-align: middle;
}

.header-right .size-options {
  display: inline-block;
  vertical-align: middle;
  margin-left: 1rem;
}

/* 言語 */
.language {
  padding: 10px 0px;
}
.language_title,
.language_list {
  color: #4CB848;
  font-size: 1.6rem;
  font-weight: bold;
}
.language_comment {
  color: #4CB848;
  font-weight: bold;
  font-size: 1.1rem;
}
.language_item {
  font-weight: bold;
}

/* 文字サイズ変更 */
.btn {
  display: inline-block;
  padding: 0.5rem 2rem;
  border: 1px solid #ddd;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover, .btn:focus, .btn.active {
  border-color: #ccc;
  outline: none;
}

.btn.btn-size {
  padding: 0.2rem 0.5rem;
  background-color: #fff;
  border: 1px solid #dbdbdb;
}

.btn.current {
  background-color: #0153a2;
  color: #fff;
}

.btn.btn-blue {
  background-color: #3f51b5;
  color: #fff;
  outline: none;
  border-radius: 0.5rem;
}

.btn.btn-blue:hover, .btn.btn-blue:focus, .btn.btn-blue.active {
  background-color: #b3d1ff;
  color: #3f51b5;
  outline: none;
}

.title {
  margin: 0;
  padding: 0;
}

.title img {
  vertical-align: top;
}

img {
  max-width: 100%;
}

.hazard-pdf-link img {
  max-width: 100%;
  height: 37px;
  scale: 1.55;
}

.link-list img {
  max-width: 100%;
  height: 35px;
  scale: 1.65;
}

/* グローバルナビゲーション */
nav.global-nav {
  padding: 0.5rem;
  background-color: #deebf7;
}

/* Router */
.block-router ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}

.block-router ul li {
  text-align: center;
  flex: auto;
  list-style: none;
  margin-left: 1.5rem;
  font-size: 1.8rem;
}

.block-router ul li:first-child {
  margin-left: 0;
}

.block-router ul li a {
  display: block;
  padding: 1rem;
  background-color: #fefefe;
  color: #005fb8;
  text-decoration: none;
  border-radius: 0.3rem;
  font-weight: bold;
}

.block-router ul li a:hover, .block-router ul li a.active:hover {
  background-color: #005fb8;
  color: #fff;
}

.block-router ul li a.active {
  background-color: #0153a2;
  color: #fff;
}

/* Main */
main.site-content {
  width: 100%;
}

.site-main {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 2rem 25%;
  grid-template-columns: 1fr 2rem 25%;
}

.site-primary {
  grid-column-start: 1;
  grid-column-end: 2;
  -ms-grid-column: 1;
  -ms-grid-column-span: 1;
  -ms-grid-row: 2;
}

.site-secondary {
  grid-column-start: 3;
  grid-column-end: 4;
  -ms-grid-column: 3;
  -ms-grid-column-span: 1;
  -ms-grid-row: 2;
}

/* view-btn　見るボタン */
.view-btn {
  margin: 1rem -0.5rem 0 0;
  text-align: right;
}

.view-btn a {
  padding: 0.5rem 1rem;
  background-color: #0153a2;
  color: #ffffff;
  border-radius: 0.3rem;
  text-decoration: none;
}

.view-btn a::after {
  content: " ";
  display: inline-block;
  width: 16px;
  height: 16px;
  clip-path: polygon(0% 0%, 0% 100%, 35% 100%, 35% 20%, 80% 50%, 80% 50%, 35% 80%, 35% 100%, 100% 100%, 100% 0%);
  vertical-align: middle;
  margin-left: 0.4rem;
}

.view-btn a:hover {
  text-decoration: underline;
}

.content-scroll {
  margin: 0 -0.5rem;
  padding: 0.5rem;
  /* max-height: 300px; */
  max-height: 30rem;
  overflow-y: auto;
  background-color: #ffffff;
}

.background-yellow {
  background-color: #e5d839 !important;
}

/* Block */
.block {
  margin-top: 1rem;
  border-radius: 0.5rem;
}

.block:first-child {
  margin-top: 0;
}

.block-title {
  padding: 0.5rem;
  background-color: #0153a2;
  color: #ffffff;
  font-weight: bold;
  border-radius: 0.3rem;
}

.block-content .view-btn a::after {
  background: #fff;
  border-radius: 50%;
  width: 16px;
  height: 16px;
}

.block-title .title-container {
  display: flex;
  align-items: center;
}

.block-title .title-container.up::after {
  content: "\025bc";
  font-size: 2.5rem;
  margin-left: auto;
}

.block-title .title-container.down::after {
  content: "\025b2";
  font-size: 2.5rem;
  margin-left: auto;
}

.block-title .title-container img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 3rem;
  scale: 1.54;
  padding: 0.78rem;
}

.block-title .title-container .title {
  display: block;
  padding: 0.5rem;
  line-height: 1.4;
  font-size: 2.0rem;
}

.block-border {
  border: 2px solid #0153a2;
  background-color: #fff;
  padding: 0.5rem;
  border-radius: 0.3rem;
}

.block-pink {
  background-color: #b20000;
  border: 2px solid #b20000;
}

.block-pink .block-title {
  background-color: #b20000;
  color: #fff;
}

.block-pink .view-btn a {
  background-color: #fff;
  font-weight: bold;
  color: #b20000;
}

.block-pink .view-btn a::after {
  background: #b20000;
  border-radius: 50%;
  width: 16px;
  height: 16px;
}

.block-cyan {
  border: 2px solid #000;
}

.block-cyan .block-title {
  background-color: #0153a2;
  color: #fff;
}

.block-cyan.active .block-title {
  background-color: #0153a2;
}

.block-cyan .block-title:hover {
  background-color: #0153a2;
}

.block-column2 {
  display: flex;
  flex-wrap: wrap;
}

.block-column2 section {
  width: calc(50% - 1rem);
  margin: 0;
}

.block-column2 section:first-child {
  margin-right: 2rem;
}

/* block-color */
.block-white {
  background-color: #ffffff;
}

.block-blue {
  background-color: #deebf7;
  border: 2px solid #3f51b5;
}

.block-red {
  background-color: #fff9f5;
  border: 2px solid #eba7a4;
}

.border-color-red {
  border-color: #0153a2 !important;
}

.block-red .block-title {
  background-color: #0153a2;
  color: #fff;
}

.block-red .view-btn a {
  background-color: #0153a2;
}

/* block-content */
.block-content {
  padding: 0.5rem;
}

/* Block Alert */
.block-alert {
  /* padding-bottom: 1.5rem; */
}

/* side alert */
.box-alert {
  background-color: #fff;
  border: solid 1px #ccc;
  margin: 0.5rem -0.5rem 0;
  border-radius: 0.3rem;
}

.box-alert:first-child {
  margin-top: 0;
}

.box-alert:last-child {
  margin-bottom: -0.5rem;
}

.box-alert .box-title {
  padding: 1rem;
}

.box-alert .box-title .title {
  font-size: 1.2rem;
  font-weight: bold;
}

.box-alert .box-title .title::before {
  content: " ";
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  padding-left: 0.4rem;
  padding-top: 0.2rem;
}

.box-alert .box-content {
  padding: 0.5rem;
}

.box-alert .box-content p {
  margin: 0.5rem;
  padding: 0;
}

.box-alert ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  list-style: none;
}

.box-alert ul li {
  margin: 0.3rem;
  padding: 0.8rem 1rem;
  text-align: center;
  list-style: none;
  background-color: #ccc;
  border-radius: 0.3rem;
}

.alert-critical .box-title {
  border-bottom: solid 3px #000000;
}

.alert-critical .box-title .title::before {
  background: url(../img/alert_level5_icon.png) no-repeat;
}

.alert-urgent .box-title {
  border-bottom: solid 3px #753f9e;
}

.alert-urgent .box-title .title::before {
  background: url(../img/alert_level4_icon.png) no-repeat;
}

.alert-danger .box-title {
  border-bottom: solid 3px #ea5550;
}

.alert-danger .box-title .title::before {
  background: url(../img/alert_level3_icon.png) no-repeat;
}

.alert-warning .box-title {
  border-bottom: solid 3px #fff462;
}

.alert-warning .box-title .title::before {
  background: url(../img/alert_level2_icon.png) no-repeat;
}

.box-image {
  text-align: center;
}

.alert-critical ul li {
  background-color: #000000;
  color: #fff;
}

.alert-urgent ul li {
  background-color: #753f9e;
  color: #fff;
}

.alert-danger ul li {
  background-color: #ea5550;
  color: #fff;
}

.alert-warning ul li {
  background-color: #fff462;
  border: solid 1px #e0de94;
  color: #000;
}

/* evacuation */
.evacuation-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.evacuation-area {
  margin-top: 0;
  padding: 0.5rem;
  width: 100%;
}

.evacuation-area:first-child {
  border-left: none;
}

.evacuation-title {
  margin-top: 0;
  padding: 0.5rem;
  border-radius: 0.3rem;
}

/* 避難情報（緊急安全確保） */
.e-Emergency .evacuation-title,
.e-Emergency .box-title .title {
  background-color: #0c000c;
  color: #fff;
}

/* 避難情報（避難指示） */
.e-Instruction .evacuation-title,
.e-Instruction .box-title .title {
  background-color: #aa00aa;
  color: #fff;
}

/* 避難情報（高齢者等避難） */
.e-Elderly .evacuation-title,
.e-Elderly .box-title .title {
  background-color: #ff2800;
  color: #fff;
}

.e-Ready .evacuation-title,
.e-Ready .box-title .title {
  background-color: #fff45d;
  color: #210201;
}

.block-hazard .hazard-pdf-view {
  display: flex;
  align-items: center;
  padding: 0.8rem 1rem;
  background-color: #cb322d;
  border-radius: 0.3rem;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
}

.block-hazard .hazard-pdf-view img {
  max-height: 40px;
  vertical-align: middle;
  margin-right: 1rem;
}

.block-hazard .hazard-pdf-link {
  margin-top: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.block-hazard .hazard-pdf-link img {
  max-height: 40px;
  margin-right: 1rem;
  vertical-align: middle;
}

.block-hazard .hazard-link {
  display: block;
  margin: 1rem 1.5rem;
  padding: 0.9rem 1.5rem;
  background-color: #0097ce;
  border-radius: 0.7rem;
  background-image: none;
  font-size: 1.1rem;
  text-align: center;
  color: #fff;
  text-decoration: none;
}

.block-hazard .hazard-link:hover {
  background-color: #00aae8;
}

.block-hazard .hazard-link img {
  vertical-align: middle;
  margin-right: 1rem;
  margin-bottom: 0.2rem;
}

/* emergency */
span.tag.alert_w,
.emergency-list dt .emergency-type.alert_w {
  background-color: #fff462;
  border: solid 1px #e0de94;
}

span.tag.alert_c,
.emergency-list dt .emergency-type.alert_c {
  background-color: #ea5550;
  border: none;
  color: #fff;
}

span.tag.alert_d,
.emergency-list dt .emergency-type.alert_d {
  background-color: #753f9e;
  border: none;
  color: #fff;
}

span.tag.alert_k,
.emergency-list dt .emergency-type.alert_k {
  background-color: #00aae8;
  border: none;
  color: #fff;
}

span.tag.alert_s,
.emergency-list dt .emergency-type.alert_s {
  background-color: #000000;
  border: none;
  color: #fff;
}

span.tag.alert_a,
.emergency-list dt .emergency-type.alert_a {
  background-color: #800000;
  border: none;
  color: #fff;
}

span.tag.alert_sd,
.emergency-list dt .emergency-type.alert_sd {
  background-color: #ffb862;
  border: none;
}

span.tag.alert_emergency,
.emergency-list dt .emergency-type.alert_emergency {
  background-color: #0c000c;
  border: none;
  color: #fff;
}

span.tag.alert_instructions,
.emergency-list dt .emergency-type.alert_instructions {
  background-color: #aa00aa;
  border: none;
  color: #fff;
}

span.tag.alert_elderly,
.emergency-list dt .emergency-type.alert_elderly {
  background-color: #ff2800;
  border: none;
  color: #fff;
}

/* Footer */
footer.site-footer {
  width: 100%;
}

footer.site-footer .row {
  /*padding: 2rem 0;*/
  display: flex;
  flex-wrap: wrap;
}

.site-info {
  padding: 1rem 0;
  width: 45%;
  order: 4;
  border-right: solid 2px #0153a2;
}

/* タイトル */
p.info-name {
  font-size: 2.4rem;
  margin: 0;
}

/* 住所 */
.address {
  font-size: 1.4rem;
  margin: 0.4rem 0 1em;
  line-height: 1.5;
}

.info-row {
  display: grid;
  grid-template-columns: 4em 1fr;
  column-gap: 1rem;
  margin: 0.2rem 0;
  font-size: 1.2rem;
  line-height: 0.6;       /* ←詰める */
}

.info-row .label {
  text-align: justify;
}

.info-row .label::after {
  content: "";
  display: inline-block;
  width: 100%;
}

.site-navigation {
  padding: 1.5rem 0;
  width: 20%;
  order: 2;
  border-right: solid 2px #0153a2;
}

.site-qrcode {
  order: 1;
  width: 15%;
}

.site-qrcode .block-title .title {
  /* font-size: 1.5rem; */
  text-align: center;
}

.site-qrcode p {
  font-size: 0.8rem;
  margin: 0;
  padding: 0.2rem 0;
}

.site-qrcode img {
  /* max-height: 120px; */
  height: 100%;
  width: 100%;
}

.site-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-menu li {
  margin: 0;
  padding: 0.2rem;
}

.site-menu li a {
  color: #3b6ebf;
}

.site-link {
  padding: 1rem 0;
  width: 20%;
  order: 3;
  border-right: solid 2px #0153a2;
}

/* ページの上部へ戻るボタン */
#page_top {
  position: fixed;
  right: 20px;
  bottom: 50px;
}

#page_top a {
  padding: 1rem;
  background-color: #0153a2;
  border: solid 2px #fff;
  color: #fff;
  text-decoration: none;
  border-radius: 0.5rem;
  opacity: 0.6;
  font-size: 1rem;
}

#page_top a::after {
  content: "\025b2";
  margin-left: 0.4rem;
}

#page_top a:hover {
  opacity: 1;
}

/* 外部リンクアイコン */
a[target="_blank"] {
  padding-right: 14px;
  background: url(../img/external_link.png) no-repeat center right;
  color: #366abd;
}

a[target="_blank"].pdf-link {
  padding-right: 20px;
  background-image: url(../img/icon_pdf.png);
  color: #366abd;
}

.txt_c {
  text-align: center;
}

/* パンくずリスト */
#breadcrumb {
  grid-column-start: 1;
  grid-column-end: 4;
  -ms-grid-column: 1;
  -ms-grid-column-span: 3;
  width: 100%;
  margin-bottom: 1rem;
}

#breadcrumb ul {
  margin: 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
}

#breadcrumb ul li::after {
  content: "\03e";
  margin-left: 0.4rem;
  margin-right: 0.4rem;
}

#breadcrumb ul li:last-child::after {
  content: "";
}

#breadcrumb ul a {
  color: #404040;
}

#breadcrumb .enlarge-map-blue a {
  color: #5167af;
}

.balloon {
  position: relative;
  border: 2px solid #000;
  background-color: #fff;
  border-radius: 7px;
  margin: 0;
  padding: 2px;

}


.balloon:before {
  content: '';
    position: absolute;
    display: block;
    left: 137px;
    top: 11px;
    border-left: 13px solid #000;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
}
.balloon:after {
  content: '';
  position: absolute;
  display: block;
  left: 13px;
  top: 11px;
  border-left: 13px solid #fff;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
}

.hamada-footer>div{
  margin-top: 5px;
}
.city-site-link{
  /*border-radius: 20px;
  width:190x;
  height: 100px;
  border: 2px solid #000;
  padding: 5px 10px;
  margin-right: 10px;*/
}

.city-site-link a{
  background: none;
}

.city-site-link>div{
  float: left;
}

.city-site-link img {
  height: 219px;
  width: 199px;
}

.city-message-left{
  display: flex;
  flex-direction: column;
  /* width: 50%; */
  border: 3px solid #d34635;
  border-radius: 3px;
  background-color: #f6edd0;
}

.city-message-left-top {
  width: 100%;
  background-color: yellow;
}

.city-message-left-top>h1{
  margin: 0px 0px 0px 5px;
}

.city-message-left-top>h3 span{
  border-bottom: 1px solid #F00;
}

.city-message-left-top>h3 span span{
  color: red
}

.city-message-left-bottom{
  padding: 5px;
}

.city-message-left-bottom>div {
  display: flex;
  flex-direction: row;
}

.qrcode {
  width: 58px;
  height: 58px;
}

.city-message-right{
  /* width: 50%; */
  border-left: 3px solid #d34635;
  border: 3px solid #d34635;
  display: flex;
  flex-direction: column;
background-color: #f6edd0;
}

.city-message-right-top>h1{
  margin: 0px 0px 0px 5px;
}

.city-message-right-bottom {
  padding: 5px;
  position: relative;
}

.city-message-right-bottom>img{
  position: absolute;
  left: 250px;
  top: 0px;
}
@media (min-width: 801px) {
  .block-router ul li {
    max-width: 410px;
  }
  .pc {
    display: block !important;
  }
  .sp {
    display: none !important;
  }
}

/* IE Fix */
@media (min-width: 801px) and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .block-router ul li {
    max-width: inherit;
  }
}

/* ブラウザ幅が800px以下の場合 */
@media (max-width: 800px) {
  .container {
    width: 98%;
  }
  .sp {
    display: block !important;
  }
  .pc {
    display: none !important;
  }
  h1.title {
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
  }
  header.site-header .row > .header-left {
    width: 100%;
    order: 1;
  }
  header.site-header .row > .header-center {
    width: 100%;
    order: 2;
  }
  header.site-header .row > .header-right {
    width: 100%;
    order: 3;
  }
  /* Main */
  .site-main {
    -ms-grid-columns: 1fr 1rem 40%;
    grid-template-columns: 1fr 1rem 40%;
  }
  .evacuation-area {
    width: 100%;
    border-left: none;
    border-bottom: dotted 1px #ccc;
  }
  .box-alert ul li {
    padding: 0.4rem 0.6rem;
  }
  /* Footer */
  .site-menu {
    justify-content: center;
  }
  .site-info {
    width: 100%;
    border-top: solid 2px #d3e38e;
    border-right: none;
  }
  .site-navigation {
    width: 38%;
    border-left: none;
  }
  .site-link {
    width: 38%;
    border-right: none;
  }
  .site-qrcode {
    width: 24%;
  }

  .city-message-left, .city-message-right{
    width: 98%;
  }
}

/* ブラウザ幅が550px以下の場合 */
@media (max-width: 550px) {
  /* Router */
  .block-router ul li {
    flex: 30%;
    margin: 3px;
  }
  .block-router ul li:first-child {
    flex: 100%;
  }
  .block-router ul li:nth-child(even) {
    margin-left: 0;
  }
  /* Main */
  .site-primary,
  .site-secondary {
    width: 100%;
    -ms-grid-column: 1;
    -ms-grid-column-span: 3;
    grid-column-start: 1;
    grid-column-end: 4;
  }
  .site-secondary {
    margin-top: 1rem;
    -ms-grid-row: 3;
  }
  .site-navigation {
    width: 50%;
    border-left: none;
  }
  .site-link {
    width: 50%;
    border-right: none;
  }
  .site-qrcode {
    width: 100%;
  }  
  .city-message-left, .city-message-right {
      width: 98%;
  }
}
