@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500&display=swap');
html {
  font-size: 62.5%;
}
a:link {
  color: #09215F;
  text-decoration: underline;
  transition: 0.3s;
}
a:visited {
  color: #09215F;
  text-decoration: underline;
}
a:hover {
  color: #0F369A;
  text-decoration: none;
}
a[href*="tel:"] {
  cursor: default;
  color: #333;
  text-decoration: none;
}
@media (min-width: 768px) {
  a[href*="tel:"] {
    pointer-events: none;
  }
}
.center {
  text-align: center;
}
a img {
  transition: 0.3s;
}
a img:hover {
  opacity: 0.6;
}
picture {
  display: block;
}
.maB10 {
  margin-bottom: 10px;
}
.maB20 {
  margin-bottom: 20px;
}
.marker {
  background: linear-gradient(transparent 60%, #ff6 60%);
}
.pc_none {
  display: none;
}
body {
  font-size: 1.6rem;
  color: #000;
  line-height: 1.8;
  font-family: 'Noto Sans JP', sans-serif, 'メイリオ', 'Meiryo', sans-serif, 'Hiragino Kaku Gothic ProN';
  font-weight: 400;
}
/* header
------------------------------------------------- */
header {
  padding: 15px 32px;
  border-bottom: solid 2px #09215F;
  margin-bottom: 50px;
}
h1#logo a {
  color: #09215F;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
  display: flex;
  align-items: flex-start;
  text-decoration: none;
}
h1#logo img {
  margin: 5px 15px 0 0;
}
header p {
  font-size: 1.2rem;
  margin: -15px 0 0 55px;
}
/* TOP地図エリア
------------------------------------------------- */
.leaflet-container {
  height: 100%;
  width: 100%;
}
.leaflet-popup-content-wrapper {
  /* border-radius: 0 !important; */
}

.leaflet-container a.leaflet-popup-close-button {
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px 4px 0 0;
  text-align: center;
  width: 24px;
  height: 22px;
  /* font: 16px/14px Tahoma, Verdana, sans-serif; */
  font: 24px/22px Tahoma, Verdana, sans-serif !important;
  color: #c3c3c3;
  text-decoration: none;
  font-weight: bold;
  background: transparent;
}

.popup-wrapper {
  max-height: 200px;
  overflow-y: auto;
}

.popup-table {
  width: 310px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-family: メイリオ;
  font-size: 16px;
}

.popup-table td {
  margin: 0;
  padding: 0px;
  border: 1px solid #ddd;
  max-width: 150px;
  max-height: 22px;
  overflow-wrap: break-word;
}

.popup-table td:first-child {
  background: #e6e6e6;
  font-weight: bold;
}

.popup-attachment-text {
  margin-top: 20px;
  font-family: メイリオ;
  font-size: 16px;
}

.popup-attachment-file {
  width: 310px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-family: メイリオ;
  font-size: 16px;
}

.popup-attachment-file td {
  margin: 0;
  padding: 0px;
  border: 1px solid #ddd;
  max-width: 150px;
  overflow-wrap: break-word;
}

.popup-attachment-file tr:first-child {
  background: #e6e6e6;
  font-weight: bold;
}

.dialog-popup-wrapper {
  max-height: 150px;
  max-width: 600px;
  overflow-y: auto;
  overflow-x: auto;
  white-space: nowrap;
}

.dialog-popup-table {
  max-height: 280px;
  margin-top: 10px;
  border: 1px solid black;
  border-collapse: collapse;
  font-family: Meiryo;
  font-size: 14px;
}

.dialog-popup-table td {
  border: 1px solid black;
  border-collapse: collapse;
  text-align: left;
  padding: 3px;
}

.dialog-popup-table tr:hover {
  background: #e6e6e6;
}

.dialog-popup-table tr:first-child {
  background: #e6e6e6;
  font-weight: normal;
  color: #555555;
}

#leaflet_map {
  margin: auto;
  background-color: #fff;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
  z-index: 1;
}
.map {
  margin: auto;
  background-color: #fff;
  max-width: 1920px;
  padding: 0 64px;
  display: flex;
}
/* 地図 */
.pc-tab {
  display: flex;
}
dl.livecamera {
  width: calc(100% - 300px);
  display: flex;
  flex-direction: column;
  z-index: 1;
}
dl.livecamera dt {
  background-color: #8d8e91;
  font-size: 1.6rem;
  text-align: center;
  color: #FFF;
  border-radius: 8px 8px 0 0;
  padding: 6px 30px;
  align-self: flex-start;
  cursor: pointer;
}
.tab-item.active {
  background-color: #214A9A;
}
.tab-item:focus {
  outline: solid 2px #000;
}
.sp-tab {
  display: none;
}
dl.livecamera dd {
  min-height: 600px;
  box-sizing: border-box;
  border: solid 1px #09215F;
  height: 100%;
  border-radius: 0 0 0 2px;
}
dl.livecamera dd img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* 離島一覧 */
dl.list_area {
  width: 320px;
  display: flex;
  flex-direction: column;
}
dl.list_area dt {
  padding: 6px 30px;
}
dl.list_area dd {
  background-color: #E6EEFA;
  border: solid 1px #09215F;
  border-left: none;
  box-sizing: border-box;
  padding: 20px 30px;
  height: 100%;
  border-radius: 0 2px 2px 0;
}
.ritou-live {
  display: flex;
}
.ritou-kuiki-shisetsu {
  display: none;
}
.ritou {
  max-height: 600px;
}
.ritou-scroll {
  max-height: 500px;
  overflow-y: scroll;
  padding: 0px 15px;
}

h2.ritou_name {
  font-size: 2rem;
  color: #09215F;
  margin-bottom: 10px;
  font-weight: 500;
}
.ritou_sub_name {
  font-size: 1.9rem;
}
dl.list_area ul {
  list-style: none;
}
dl.list_area ul li a {
  background-color: #FFF;
  font-size: 1.4rem;
  margin: 12px 0;
  display: block;
  text-decoration: none;
  border-radius: 100px;
  padding: 4px 15px;
}
dl.list_area ul li a:hover {
  display: block;
  text-decoration: none;
  background-color: #214A9A;
  color: #FFF;
}

.tree {
  position: relative;
  margin-bottom: 12px;
}

.tree .parent {
  margin: 2px 0;
  cursor: pointer;
}

.tree .parent:focus {
  outline: solid 2px #000;
}
.tree .toggle-button {
  font-size: 2.0rem;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  left: -15px;
  top: 7px;
  line-height: 1;
  margin-left: 2px;
}

.tree .toggle-button:focus {
  outline: solid 2px #000;
}

.tree li {
	margin: 2px;
	padding: 2px 10px;
  background-color: #FFF;
  font-size: 1.4rem;
  text-decoration: none;
  border-radius: 100px;
  padding: 4px 15px;
  cursor: pointer;
}

.nested {
  margin-left: 20px;
  display: none;
}

.nested :hover {
  display: block;
  text-decoration: none;
  background-color: #214A9A;
  color: #FFF;
}
.nested :focus {
  outline: solid 2px #000;
}

/* コンテンツエリア
------------------------------------------------- */
.contents {
  max-width: 1360px;
  margin: auto;
  padding: 0 80px 80px;
  box-sizing: border-box;
}
h1.border {
  color: #09215F;
  font-weight: 500;
  font-size: 2rem;
  border-bottom: solid 1px #09215F;
  margin: 80px 0 30px;
  padding-bottom: 10px;
  line-height: 1.4;
}
.contents p {
  margin-bottom: 30px;
}
ul.list {
  list-style: disc;
  margin-left: 1.5em;
  margin-bottom: 25px;
}
ul.list li {
  margin-bottom: 5px;
}
.btn_link a {
  color: #09215F;
  text-decoration: none;
  font-weight: 500;
  padding-left: 20px;
  position: relative;
}
.btn_link a:before {
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  left: 3px;
  margin: auto;
  width: 6px;
  height: 6px;
  border-top: 3px solid #09215F;
  border-right: 3px solid #09215F;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
/* リンク集
------------------------------------------------- */
aside.link {
  text-align: center;
  padding: 100px 32px;
  background-color: #f5f5f5;
}
aside.link h2 {
  font-size: 2.8rem;
  font-weight: 500;
  color: #09215F;
  margin-bottom: 30px;
}
aside.link ul {
  display: flex;
  justify-content: center;
  list-style: none;
}
aside.link ul li {
  margin: 15px;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #214A9A;
  border: solid 1px #214A9A;
  border-radius: 8px;
  box-shadow: 0px 3px 6px 0px #ccc;
}
aside.link ul li a {
  display: block;
  padding: 25px 30px;
  color: #FFF;
  font-size: 2rem;
  font-weight: 500;
  text-decoration: none;
  box-sizing: border-box;
  min-width: 375px;
  position: relative;
}
aside.link ul li.subcopy {
  line-height: 1.2;
}
aside.link ul li:hover {
  background-color: #FFF;
  border: solid 1px #214A9A;
}
aside.link ul li a:hover {
  color: #214A9A;
}
aside.link ul li.subcopy a span {
  font-size: 1.2rem;
}
aside.link ul li a:before {
  position: absolute;
  content: "";
  right: 10px;
  top: 0;
  bottom: 0;
  margin: auto;
  box-sizing: border-box;
  width: 7px;
  height: 7px;
  border: 7px solid transparent;
  border-left: 7px solid #FFF;
}
aside.link ul li a:hover:before {
  border-left: 7px solid #214A9A;
}
aside.link ul li a:after {
  content: "";
  margin: auto;
  background-image: url("../images/ico_blank.svg");
  background-repeat: no-repeat;
  background-position: right center;
  width: 13px;
  height: 11px;
  position: absolute;
  z-index: 999;
  top: 5%;
  bottom: 0;
  padding-left: 5px;
}
aside.link ul li a:hover:after {
  background-image: url("../images/ico_blank2.svg");
}
/* フッター
------------------------------------------------- */
footer {
  background-color: #09215F;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #FFF;
  font-size: 1.4rem;
  font-weight: 500;
  padding: 6px 32px;
}
footer ul {
  list-style: none;
  display: flex;
}
footer ul li {
  margin: 5px 30px 5px 0;
}
footer ul li a:link {
  color: #FFF;
  text-decoration: none;
}
footer ul li a:visited {
  color: #FFF;
  text-decoration: none;
}
.copy {
  font-size: 1.4rem;
}
#page-top {
  position: fixed;
  bottom: 60px;
  right: 2%;
  z-index: 99;
}
#page-top a {
  color: #214A9A;
  width: 56px;
  height: 56px;
  line-height: 56px;
  display: block;
  text-decoration: none;
  position: relative;
  background-color: #FFF;
  border-radius: 50px;
  border: solid 1px #214A9A;
}
#page-top a:before {
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  margin: auto;
  top: 40%;
  width: 20px;
  height: 20px;
  border-top: 1px solid #214A9A;
  border-right: 1px solid #214A9A;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
/* 情報提供について
------------------------------------------------- */
h1.page_ttl {
  margin: 80px 0;
  text-align: center;
  font-size: 3.2rem;
  font-weight: 500;
  color: #09215F;
}
h2.bg_blue {
  color: #09215F;
  font-size: 2rem;
  font-weight: 500;
  background-color: #E6EEFA;
  padding: 3px 12px;
  border-radius: 2px;
  margin: 55px 0 25px;
}
.mgn {
  margin-bottom: 5px !important;
}
.btn {
  text-align: center;
}
