@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.5;
  min-width: 320px;
}

.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 1rem;
  overflow-wrap: break-word;
  word-break: break-all;
}

.wrapper {
  width: 100%;
  position: relative;
}

/* Header */
header.site-header {
  width: 100%;
  background-color: #ffffff;
}

header.site-header .row {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

header.site-header .row > .header-left {
  width: 45%;
  line-height: 1;
}
header.site-header .row > .header-center {
  width: 30%;
}
header.site-header .row > .header-right {
  text-align: right;
  width: 25%;
}

div.title a {
  text-decoration: none;
  color: inherit;
  background: none;
  padding: 0;
  font-size: 3.3rem;
  background-color: #ffffff;
}

.title1{
  font-size: 1.1rem;
  font-weight: normal;
  letter-spacing: 0.15rem;
}

.title2{
  font-size: 2.7rem;
  letter-spacing: 0.1rem;
  font-weight: bold;
}

h1.title a {
  text-decoration: none;
  color: inherit;
  background: none;
  padding: 0;
  font-size: 3.3rem;
  background-color: #ffffff;
}

h1.title span {
  text-decoration: none;
  color: #000000;
  background: none;
  padding: 0;
  font-size: 3.0rem;
  font-weight: normal;
  letter-spacing: 0px;
  -webkit-text-stroke: 1px #000000;
  text-stroke: 1px #000000;
}

.site-logo {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: bold;
  vertical-align: middle;
}

.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-top: 1rem;
  margin-bottom: 1rem;
}

.header-right .box-reload button {
  display: inline-block;
  border: 1px solid #B8D355;
  outline: none;
  padding: 0.2rem 2.3rem;
  text-align: center;
  border-radius: 0.3rem;
  background-color: #FF8000;
  color: #ffffff;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
}

.header-right .box-reload button:hover {
  background-color: #726F62;
  border: 1px solid #B8D355;
}   

.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: #23A9A2;
  font-size: 1.2rem;
  font-weight: bold;
}
.language_comment {
  color: #23A9A2;
  font-weight: bold;
  font-size: 1.1rem;
}
.language_item {
  font-weight: bold;
}

/* 文字サイズ変更 */
.btn {
  display: inline-block;
  padding: 0.5rem 2rem;
  border: 1px solid #000000;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover, .btn:focus, .btn.active {
  border-color: #B8D355;
  outline: none;
}

.btn.btn-size {
  padding: 0.1rem 0.4rem;
  background-color: #fff;
  border: 1px solid #C0C0C0;
  border-radius: 0.3rem;
  font-size: 1.1rem;
  font-weight: bold;
}

.btn.current {
  background-color: #23A9A2;
  color: #ffffff;
}

.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;
  display: flex;
  align-items: flex-end;
}

.title img {
  vertical-align: middle;
  width: 70px;
  height: 70px;
  margin-right: 1rem;
  margin-top: 0.2rem;
}

img {
  /*width: 50px;
  height: 50px; */
  max-width: 100%
}

.title subtitle{
  display: inline-block;
  height: 10px;
  font-size: 1rem;
}

img_hekiga {
  max-width: 100%
}

.link-list img {
  width: 28px;
  height: 28px;
  scale: 1;
}

/* グローバルナビゲーション */
nav.global-nav {
  background-color: #DEEBF7;
  background-repeat: repeat;
  background-size: contain;
}

/* Router */
.block-router ul {
  margin-top: 10px;
  margin-bottom: 10px;
  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: 2rem;
  font-size: 2rem;
}

.block-router ul li:first-child {
  margin-left: 0;
}

.block-router ul li a {
  display: block;
  padding-top: 0.5rem;
  background: #ffffff;
  color: #23A9A2;
  text-decoration: none;
  border-radius: 0.3rem;
  font-weight: normal;
  /* box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2);
  background: linear-gradient(to bottom, #CDCDCD 0%, #FFF 30%); */
}

.block-router ul li a:hover, .block-router ul li a.active:hover {
  background: #23A9A2;
  color: #fff;
  /* background: linear-gradient(to bottom, #025C90 0%, #23A9A2 30%); */
}

.block-router ul li a.active {
  background: #23A9A2;
  color: #ffffff;
  /* background: linear-gradient(to bottom, #025C90 0%, #23A9A2 30%); */
}

/* 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 0.5rem;
  background-color: #23A9A2;
  color: #ffffff;
  border-radius: 0.3rem;
  text-decoration: none;
  font-weight: normal;
  font-weight: bold;
}

.view-btn a::after {
  content: " ";
  display: inline-block;
  width: 12px;
  height: 12px;
  background: url(../img/arrow_right_blue.png) no-repeat;
  vertical-align: middle;
  margin-left: 0.4rem;
  padding-top: 0.2rem;
}

.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;
}

/* Block */
.block {
  margin-top: 1rem;
  border-radius: 0.5rem;
}

.block:first-child {
  margin-top: 0;
}

.block-title {
  padding: 0.1rem;
  background-color: #23A9A2;
  color: #ffffff;
  font-weight: bold;
  border-radius: 0.3rem;
}

.block-title .title-container {
  display: flex;
  align-items: center;
}

 .block-title .title-container.up::after {
  content: "\025b2";
  font-size: 2.5rem;
  margin-left: auto;
  color: #ffffff;
}

.block-title .title-container.down::after {
  content: "\025bc";
  font-size: 2.5rem;
  margin-left: auto;
  color: #ffffff;
} 

.block-title .title-container img {
   width: 3rem;
  height: 3rem;
  border-radius: 3rem;
  width: 3.3rem;
  height: 3.3rem;
  margin-left: 0.4rem;
  scale: 1;
}

.block-title .title-container .title {
  display: block;
  padding: 1rem;
  line-height: 1;
  font-size: 2rem;
}

.block-border {
  border: 2px solid #23A9A2;
  background-color: #fff;
  padding: 0.5rem;
  border-radius: 0.3rem;
}

.block-pink {
  background-color: #fff;
  border: 0px solid #777777;
}

.block-pink .block-title {
  background-color: #23A9A2;
  color: #fff;
}

.block-pink .view-btn a {
  background-color: #B00D15;
  color: #fff;
}

.block-orange {
  background-color: #B20000;
  border: 2px solid #EA7C62;
}

.block-orange .block-title {
  background-color: #B20000;
  color: #ffffff;
}

.block-orange .view-btn a {
  background-color: #ffffff;
  color: #B20000;
}

.block-orange .view-btn a::after {
  content: " ";
  display: inline-block;
  width: 12px;
  height: 12px;
  background: url(../img/arrow_right_black.png) no-repeat;
  vertical-align: middle;
  margin-left: 0.4rem;
  padding-top: 0.2rem;
}

.block-cyan {
  border: 2px solid #23A9A2;
}

.block-cyan .block-title {
  background-color: #23A9A2;
  color: #ffffff;
}

.block-cyan.active .block-title {
  background-color: #23A9A2;
}

.block-cyan .block-title:hover {
  background-color: #23A9A2;
}

.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: #23A9A2;
  border: 2px solid #23A9A2;
}

.block-red {
  background-color: #fff9f5;
  border: 2px solid #eba7a4;
}

.block-red .block-title {
  background-color: #ea5550;
  color: #fff;
}

.block-red .view-btn a {
  background-color: #ea5550;
}

/* 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 #753f9e;
}

.alert-critical .box-title .title::before {
  background: url(../img/alert_critical_icon.png) no-repeat;
}

.alert-danger .box-title {
  border-bottom: solid 3px #ea5550;
}

.alert-danger .box-title .title::before {
  background: url(../img/alert_danger_icon.png) no-repeat;
}

.alert-warning .box-title {
  border-bottom: solid 3px #fff462;
}

.alert-warning .box-title .title::before {
  background: url(../img/alert_warning_icon.png) no-repeat;
}

.alert-sedimentdisaster .box-title {
  border-bottom: solid 3px #ffb862;
}

.alert-sedimentdisaster .box-title .title::before {
  background: url(../img/alert_sedimentdisaster_icon.png) no-repeat;
}

.box-image {
  text-align: center;
}

.alert-critical 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;
}

.alert-sedimentdisaster ul li {
  background-color: #ffb862;
  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-Preparation .evacuation-title,
.e-Preparation .box-title .title {
  background-color: #fff46c;
  color: #000;
}

.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: 0.5rem;
  display: flex;
  align-items: center;
}

.block-hazard .hazard-pdf-link img {
  max-height: 40px;
  margin-right: 0.5rem;
  vertical-align: middle;
  width: 30px;
  height: 30px;
  scale: 1;
}

.block-hazard .hazard-link {
  display: block;
  padding: 0.8rem 1.5rem;
  background-color: #CCECFF;
  border-radius: 0.6rem;
  background-image: none;
  text-align: center;
  color: #000;
  text-decoration: none;
}

.block-hazard .hazard-link:hover {
  background-color: #B6D2FF;
}

.block-hazard .hazard-link img {
  vertical-align: middle;
  margin-right: 1rem;
  margin-bottom: 0.2rem;
}

.flex-container {
  display: flex;
  flex-direction: column;
}
 
.flex-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
 
.flex-box {
  flex: 1;
  text-align: center;
}

/*
.block-hazard{
    display: none;
}
*/

/* 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: #f38e4a;
  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 {
  background-color: #ffffff;
  width: 100%;
}

footer.site-footer .row {
  background-color: #ffffff;
  margin: 0;
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.site-info {
  padding: 1rem 0;
  width: 43%;
  order: 6;
  border-right: 2px solid #23A9A2;
}

.site-info p {
  margin: 0;
  padding: 0rem 0;
   font-size: 2.2rem;
  font-weight: normal;
}

.site-info p:nth-child(2){
  font-size: 1.2rem;
  font-weight: bold;
}

.site-info p:nth-child(3){
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: bold;
}


.site-info p:nth-child(4),
.site-info p:nth-child(5),
.site-info p:nth-child(6),
.site-info p:nth-child(7){
  font-size: 1.2rem;
  font-weight: bold;
}

.site-navigation {
  padding: 1.5rem 0;
  width: 20%;
  order: 2;
  border-right: solid 2px #23A9A2;
  margin-bottom: 0px;
  font-weight: bold;
}

.site-qrcode {
  padding: 2;
  border-radius: 0rem;
  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; */
  margin-top: 1rem;
}

.site-menu {
  position:  relative; 
  margin: 0;
  padding: 0;
  list-style: none;
  flex-shrink: 0;
}

.site-menu li {
  margin: 0;
  padding: 0.2rem;
}

.site-menu img {
  position: absolute;
  top: 100px;
  max-width: 200%;
  min-width: 35%;
}

.site-menu hekiga {
  position: absolute;
  top: 220px;
  font-size: 1.3rem;
}

.site-link {
  padding: 1rem 0;
  width: 22%;
  order: 3;
  border-right: solid 2px #23A9A2;
}

.info-name {
  font-weight: bold;
  font-size: 1.5rem;
}

  
.link-row{
  border-left-color:#425BA9;
  border-bottom-color:#425BA9;
  border-left-width:5px;
  border-bottom-width:1px;
  border-left-style:solid;
  border-bottom-style:solid;
}
.link-container{
  display: flex;
  flex-direction: row;
  margin-bottom:1rem;
  align-items: flex-start;
}
.link-qrcode{
  display:flex;
  border-style:solid;
  margin-left:2rem;
  width:150px;
}
.link-qrcode.blue{
  border-color:#2965A5;
}
.link-qrcode.purple{
  border-color:#4F4681;
}
.link-qrcode.green{
  border-color:#42B648;
}
.link-detail{
  display:flex;
  flex-direction: column;
  margin-left:2rem;
  width:210px;
}
.link-detail-title{
  font-size:1.2rem;
  color:white;
  border-radius: 0.3rem;
  height:34px;
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:1rem;
}
.link-detail-title.blue{
  background-color:#2965A5;
}
.link-detail-title.purple{
  background-color:#4F4681;
}
.link-detail-title.green{
  background-color:#42B648;
}

.link-detail-explanation{
}

/* ページの上部へ戻るボタン */
#page_top {
  position: fixed;
  right: 20px;
  bottom: 50px;
}

#page_top a {
  padding: 1rem;
  background-color: #25528c;
  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;
  font-weight: bold;
  font-size: 1.1rem;
}

a[target="_blank"].pdf-link {
  padding-right: 20px;
  margin-right: 1.5rem;
  background-image: url(../img/icon_pdf.png);
  background: url(../img/icon_pdf.png) no-repeat center right;
}

.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: "";
}

@media (min-width: 801px) {
  .block-router ul li {
    max-width: 410px;
  }
  .pc {
    display: block !important;
  }
  .sp {
    display: block !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 {
    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 #23A9A2;
    border-right: none;
  }
  .site-navigation {
    width: 38%;
    border-left: none;
    margin-bottom: 0px;
  }
  
  .site-link {
    width: 38%;
    border-right: none;
  }
  .site-qrcode {
    width: 24%;
  }
}



/* ブラウザ幅が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;
    margin-bottom: 0px;
  }
  
  .site-link {
    width: 50%;
    border-right: none;
  }
  .site-qrcode {
    width: 100%;
  }
  
    .link-qrcode{
    display:flex;
    border-style:solid;
    margin-left:2rem;
    width:80px;
  }
}
