@charset "utf-8";

* {
  box-sizing: border-box;
}

:root {
  --label-color: #0066ff;
  --border-color: #89b8fe;
}

body {
  width: 100%;
  margin: 110px 0 0 0;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
}

footer {
  background: #213775;
  width: 100%;
}

ul {
  list-style-type: none;
  margin: 0 0 0 0.8rem;
  font-size: 0.8rem;
  padding: 3px 0 1px 0;
}

ul li {
  line-height: 1.8;
}

article {
  width: 100%;
  font-size: 0.8rem;
  padding: 5px;
}

article img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  padding: 5px;
}

.outset {
  background: var(--label-color);
  border: 2px outset var(--border-color);
  color: white;
  text-decoration: none;
  padding: 1px 1px 1px 10px;
  width: 100%;
  margin: 0;
  height: fit-content;
  font-size: 1rem;
  font-weight: bold;  
  position: relative;
}

.outset--button {
  padding: 0;
  margin: 2px;
  text-align: center;
}

#breadcrumb {
  font-size: 0.8rem;
  padding: 10px;
  color; #000;
  width: 100%;
}

#breadcrumb a {
  color: #000;
}

.page-title {
  display: block;
  width: 100%;
  padding: 0 10px;
}

.page-title h1 {
  width: 100%;
  padding: 3px 3px;
  font-size: 1.3rem;
  color: #213775;  
}

.main-container {
  display: block;
  margin:0 auto;
  padding: 0 0 20px 0;
}

.item {
  width: 100%;
  padding: 5px;  
  border: none;
  font-size: 0.8rem;
}

.flex {
  display: flex;
  flex-wrap: wrap;
}

.width-full {
  width: 100%;
}

.width-wide {
  width: 60%;
}

.width-narrow {
  width: 40%;
}

.width-half {
  width: 50%;
}

.link-icon {
  position: absolute;
  right: 10px;
}

.link-icon::before {
  content: ">";
}

.pc-visible {
  display: none;
}

.sp-visible {
  display: block;
}

.banner {
  display: inline-flex;
  align-items: center;
  width: 100%;
  padding: 5px 0;
  flex-wrap: wrap;
  justify-content: center;
}

.banner img {
  width: 160px;
  margin: 0;
  padding: 2px;
  border: none;
}

a.no-deco {
  text-decoration: none;
}

.text-black a {
  color: black;
}

.justify-center {
  justify-content: center;
}

.padding-5px {
  padding: 5px;
}

.text-center {
  text-align: center;
}

.thumbnail {
  max-width: 200px;
  max-height: 200px;
}

/* 通報ページ用 */
/* 検索 */
.selectbox-2 {
    display: inline-flex;
    align-items: center;
    position: relative;
    font-size: 0.9rem;
}

.selectbox-2::after {
    position: absolute;
    align-items: center;
    right: 10px;
    width: 10px;
    height: 7px;
    background-color: #213775;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
    pointer-events: none;
}

.selectbox-2 select {
    appearance: none;
    min-width: 110px;
    height: 30px;
    padding: .3em calc(.8em + 20px) .3em .5em;
    border: 1px solid #213775;
    border-radius: 3px;
    background-color: #fff;
    color: #333333;
    font-size: 0.9em;
    cursor: pointer;
}

.button-1 {
    width: 40px;
    height: 30px;
    border: none;
    background-color: #213775;
    color: #fff;
    border-radius: 3px;
    font-size: 0.9em;
    cursor: pointer;
}

/* 検索(入力) */
.kensaku {
    appearance: none;
    width: 150px;
    height: 30px;
    padding: .3em calc(.8em + 30px) .3em .8em;
    border: 1px solid #213775;
    border-radius: 3px;
    background-color: #fff;
    color: #333333;
    font-size: 0.9em;
    cursor: pointer;
}

.button-2 {
    width: 40px;
    height: 30px;
    border: none;
    background-color: #213775;
    color: #fff;
    border-radius: 3px;
    font-size: 0.9em;
    cursor: pointer;
}

/* 見出し */
.heading-6 {
    padding:0 .4em .2em;
    border-bottom: 3px dotted #213775;
    background-color: #ffffff;
    color: #333333;
}

/* 管内図 */
.img-map{
 display: block;
 max-width: 80%;
 height: auto;
 margin-left: auto;
 margin-right: auto;
 margin-bottom: 30px;
}

/* 囲み */
.box-017 {
    position: relative;
    width: 95%;
    margin: 1.9em auto 0;
    padding: 1em 1.5em;
    font-size: 0.9em;
    border: 2px solid #213775;
    border-radius: 3px;
}

.box-017 span {
    position: absolute;
    top: -1.9em;
    left: -2px;
    padding: .2em .8em;
    border-radius: 5px 5px 0 0;
    background-color: #213775;
    color: #fff;
}

.box-017 p {
    margin: 0;
    color: #333;
}

/* ボタン１ */
.button-55 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    margin: 0 auto;
    padding: .9em 2em;
    border: 1px solid #213775;
    border-radius: 5px;
    background-image: repeating-linear-gradient(-45deg, #eee, #eee 1px, #ffffff 1px, #ffffff 4px);
    color: #213775;
    font-weight: 600;
    font-size: 1.2em;
    text-decoration: none;
    transition: box-shadow .3s;
}

.button-55:hover {
    box-shadow: 0 7px 30px -5px rgb(0 0 0 / 20%);
}

.button-55::after {
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    margin-left: 10px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    content: '';
}

/* ボタン２ */
.button_solid014 a{
    background: #eee;
    border-radius: 1px;
    position: relative;
    display: grid;
    grid-auto-flow: column; 
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin: 5px;
    width: 250px;
    padding: 10px 10px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: 600;
    font-size: 0.9em;
    text-decoration: none;
    box-shadow: 5px 5px 0 #213775;
    border-radius: 50px;
}
.button_solid014 a:hover {
  background-color: #b3d9ff;
  box-shadow: 0 0 0;
  transform: translate(5px, 5px);
}
.button_solid014 a:after {
    position: absolute;
    top: 50%;
    right: 40px;
    transition: 0.2s ease-in-out;
    content: "\f0da";
    font-family: "Font Awesome 5 Free";
    font-weight: 900; /* 太字 */
    transform: translateY(-50%);
}

/* 表フォーマット（水路通報_CGI使用）*/
.table_design08 {
  margin: center
  border-collapse: collapse;
  table-layout: auto;
  width:  850px;
  font-size: 14px;
}

.table_design08 tr, .table_design08 tr{
  border-bottom: solid 1px #eee;
}

.table_design08 tr:hover{
  background-color: #d4f0fd;
}

.table_design08 th, .table_design08 td {
  border: 1px solid #b9b9b9;
  padding: 3px;
}
.table_design08 thead th {
  position: sticky;
  background-color: #b9b9b9;
  color: #333;
  border: 1px solid #b9b9b9;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
.table_design08 thead th:last-of-type {
  border-right: 1px solid #b9b9b9;
}
.table_design08 tbody th {
  color: #b9b9b9;
  font-weight: normal;
  text-align: left;
}

/*-------- スマホ版の表(ここから) --------*/
@media screen and (max-width: 480px) {
  .table_design08 {
    width: 100%;
    text-align: left;
　　font-size: 0.7rem;
  }
  .table_design08 thead {
    display:none;
  }
  .table_design08 th, .table_design08 td {
    display: block;
    border: 0;
    border-bottom: 1px solid #e6f1f6;
  }
  .table_design08 tbody th{
    background: #b9b9b9;
    color:#fff;
  }
  .table_design08 td::before{
    content: attr(data-label);
    color: #b9b9b9;
    font-weight: bold;
    display: inline-block;
    width: 30%;
    min-width: 0.7em;
  }
}
/*-------- スマホ版(ここまで) --------*/
/* 通報ページ用終わり */


/* PC用 */
@media print, screen and (min-width: 767px){

  header {
    position: static;
    margin: 0 auto;
  }
  
  footer {
    margin: 0 auto;
  }

  body {
    margin: 0 auto;
  }

  .main-container {
    display: flex;
    width: 840px;
    flex-wrap: wrap;
  }

  .pc-half {
    width: 50%;
  }
  
  .pc-wide {
    width: 60%;
  }
  
  .pc-narrow {
    width: 40%;
  }

  .pc-visible {
    display: block;
  }

  .sp-visible {
    display: none;
  }
  
}
/* PC用終わり */


/* アコーディオンメニュー */
.accordion {
}

.accordion a {
  color: white;
}

.accordion__label {
  display: block;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  box-sizing: border-box;
}

.accordion__list {
  display: none;
}

.accordion-toggle:checked
  + .accordion__label + .accordion__list {
  display: block;
}

.accordion-toggle {
  display: none;
}

.accordion-icon {
  position: absolute;
  right: 10px;
}

.accordion__list {
  color: black;
}

.accordion__list a {
  color: black;
}

.accordion-icon::before {
  content: "＋";
}

.accordion-toggle:checked
  + .accordion__label .accordion-icon::before{
  content: "－";
}

@media print, screen and (min-width: 767px){

  .accordion-toggle {
    display: none;
  }
  
  .accordion__list {
    display: block;
  }
  
  .accordion label{
    pointer-events: none;
  }
  
  .accordion-icon {
    display: none;
  }
}
/* アコーディオンメニュー終わり */

/* クリッカブルマップ */
.clickable-map {
  display: flex;
  flex-flow: column;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 2px;
}

.clickable-map figure {
  margin: 0;
}

.clickable-map figcaption {
  text-align: center;
  width: 100%;
  font-size: 0.9rem;
}

.clickable-map img {
  width: 100%;
  box-shadow: 2px 2px 2px #ccc;
}

.clickable-map__legend {
  display: inline-flex;
  justify-content: center;
}

.clickable-map__legend--tide {
  color: blue;
  text-shadow: 2px 2px 2px rgba(100,100,100,1);
}

.clickable-map__legend--weather {
  color: yellow;
  text-shadow: 2px 2px 2px rgba(100,100,100,1);
}

.clickable-map__legend--notice {
  color: orange;
  text-shadow: 2px 2px 2px rgba(100,100,100,1);
}

/* クリッカブルマップ終わり */
