:root {
	--fukidashi-color: #f6fbff;
	--common-font: 'ヒラギノ角ゴ Pro W6', 'ヒラギノ角ゴ W6 JIS2004', 'ヒラギノ角ゴ ProN W6', 'HiraKakuProN-W6', 'Hiragino Kaku Gothic ProN W6', 'Hiragino Kaku Gothic W6 JIS2004', 'Noto Sans JP', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif; 
}
html, body { width: 100%; height: 100%; margin: 0; }
#map { width: 100%; height: 100%; }
.maplibregl-popup-content {
  border-radius: 14px;
  background-color: var(--fukidashi-color);
  padding: 14px 16px;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(16, 37, 63, 0.18);
}
.maplibregl-popup-anchor-bottom .maplibregl-popup-tip {border-top-color: var(--fukidashi-color)}
.maplibregl-popup-anchor-top .maplibregl-popup-tip {border-bottom-color: var(--fukidashi-color)}
.maplibregl-popup-anchor-left .maplibregl-popup-tip {border-left-color: var(--fukidashi-color)}
.maplibregl-popup-anchor-right .maplibregl-popup-tip {border-right-color: var(--fukidashi-color)}
.maplibregl-popup-content .shelter-popup {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #17324d;
  line-height: 1.4;
}
.maplibregl-popup-content .shelter-status {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
}
.maplibregl-popup-content .shelter-status.is-open {
  color: #b31367;
}
.maplibregl-popup-content .shelter-status.is-closed {
  color: #4e5b67;
}
.maplibregl-popup-content .shelter-status__value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}
.maplibregl-popup-content .shelter-status.is-open .shelter-status__value {
  background: linear-gradient(135deg, #ff4aa2 0%, #d81b78 100%);
  color: #fff;
}
.maplibregl-popup-content .shelter-status.is-closed .shelter-status__value {
  background: linear-gradient(135deg, #9099a3 0%, #67727d 100%);
  color: #fff;
}
.maplibregl-popup-content .shelter-field {
  display: flex;
  flex-direction: column;
}
.maplibregl-popup-content .shelter-name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}
.maplibregl-popup-content .shelter-name-kana {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  color: #667788;
  letter-spacing: 0.02em;
}
.maplibregl-popup-content .shelter-static-title {
  font-size: 11px;
  font-weight: 800;
  color: #5a6977;
  letter-spacing: 0.03em;
}
.maplibregl-popup-content .shelter-address {
  font-size: 13px;
  font-weight: 400;
  color: #455463;
  line-height: 1.45;
}
.maplibregl-popup-content .shelter-congestion {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.maplibregl-popup-content .shelter-congestion__label {
  font-size: 12px;
  font-weight: 700;
  color: #5a6977;
  letter-spacing: 0.02em;
}
.maplibregl-popup-content .shelter-congestion__value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}
.maplibregl-popup-content .shelter-congestion__value.is-vacant {
  background: linear-gradient(135deg, #21c85f 0%, #13984a 100%);
}
.maplibregl-popup-content .shelter-congestion__value.is-crowded {
  background: linear-gradient(135deg, #f6a623 0%, #e57d12 100%);
}
.maplibregl-popup-content .shelter-congestion__value.is-full {
  background: linear-gradient(135deg, #f15d5d 0%, #cb2f44 100%);
}
.maplibregl-popup-content .shelter-congestion__value.is-unknown,
.maplibregl-popup-content .shelter-congestion__value.is-none {
  background: linear-gradient(135deg, #a1acb6 0%, #758290 100%);
}
.maplibregl-popup-content .shelter-address-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.maplibregl-popup-content .shelter-address__maplink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  width: 1em;
  height: 1em;
  font-size: 16px;
  font-weight: 700;
  color: #1f6da3;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
  white-space: nowrap;
}
.maplibregl-popup-content .shelter-address__mapicon {
  width: 1em;
  height: 1em;
  fill: currentColor;
}
.maplibregl-popup-content .shelter-hazard__title {
  font-size: 11px;
  font-weight: 800;
  color: #5a6977;
  letter-spacing: 0.03em;
}
.maplibregl-popup-content .shelter-hazard-block {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.maplibregl-popup-content .shelter-hazard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  padding: 0 0 2px;
}
.maplibregl-popup-content .shelter-hazard__item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(69, 84, 99, 0.15);
}
.maplibregl-popup-content .shelter-hazard__label {
  font-size: 12px;
  font-weight: 600;
  color: #5a6977;
}
.maplibregl-popup-content .shelter-hazard__value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 14px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}
.maplibregl-popup-content .shelter-hazard__value.is-active {
  color: #ef349f;
}
.maplibregl-popup-content .shelter-hazard__value.is-inactive {
  color: #9aa4ae;
}
.maplibregl-popup { font-family: var(--common-font); }
.fukidashi { padding: 5px;  }
.comment { font-size: 16px; line-height: 1.5em; margin-bottom: 8px; padding: 0 5px; }
.place { font-size: 14px; text-align: right; line-height: 1.2em; }
.time { font-size: 14px; text-align: right; line-height: 1.2em; margin-bottom: 5px; }
/*▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼
▼ タイトル
▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼*/
.titleArea {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: absolute;
  flex-direction: column;
  z-index: 10;
  zoom: 0.5;
  font-family: var(--common-font);
}

.titleArea__first, .titleArea__second {
  -webkit-box-align: center;
  -ms-flex-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  align-items: center;
  padding: 0px 30px 0px 45px;
}

.titleArea__first {
  height: 95px;
  background-color: #fff;
}

.titleArea__first:before {
  display: block;
  position: absolute;
  top: 0;
  right: -40px;
  width: 40px;
  height: 100%;
  background-color: #fff;
  content: "";
}

.titleArea__first:after {
  display: block;
  position: absolute;
  top: 0;
  right: -85px;
  border-top: 95px solid #fff;
  border-right: 45px solid transparent;
  border-bottom: 0px;
  border-left: 0px;
  content: "";
}

.titleArea__second {
  height: 80px;
  background-color: #000;
}

.titleArea__second * {
  color: #fff;
}

.titleArea__second:after {
  display: block;
  position: absolute;
  top: 0;
  right: -40px;
  border-top: 80px solid #000;
  border-right: 40px solid transparent;
  border-bottom: 0px;
  border-left: 0px;
  content: "";
}

.titleFirst {
  font-size: 65px;
  font-weight: bold;
  line-height: 1em;
}

.titleSecond {
  font-size: 50px;
  font-weight: bold;
  line-height: 1em;
}

#report_modal { z-index: 10000; background-color: rgb(83 83 87 / 84%); width: 100%; height: 100%; position: fixed; top: 0; left: 0; backdrop-filter: blur(2px);}
#report_image, #report_video { 
    width: 90%; height: 80%; object-fit: contain; position: absolute; top: 32px; left: 50%; transform: translateX(-50%); z-index: 20; 
    filter:  drop-shadow(1px 1px 2px #000);
    /*filter: drop-shadow(0 -5px 0 #000) drop-shadow(0 5px 0 #000) drop-shadow(-5px 0 0 #000) drop-shadow(5px 0 0 #000)  drop-shadow(1px 1px 2px #000);*/
}
#report_image {
    pointer-events: none; 
}
#report_info { background-color: rgba(255, 255, 255, .8); position: absolute; top: 14px; left: 10px; z-index: 2500; font-family:var(--common-font); padding: 3px 5px; max-width: 90%; min-width: 60%; box-shadow: 1px 1px 2px #999; }
#report_place { font-size: 22px; color: #101010; border-bottom: 1px solid #101010; line-height: 1.4em; font-family:var(--common-font); }
#report_time { font-size: 18px; color: #101010; line-height: 1.4em; font-family:var(--common-font); }
#report_name { font-size: 18px; color: #101010; line-height: 1.4em; margin-top: 5px; background: url(img/report_icon_camera@2x.png); background-repeat: no-repeat; background-size: 55px 50px; padding-left: 1.5em; font-family:var(--common-font); }
#report_close_button { -webkit-appearance: none; appearance: none; position: absolute; bottom: 30px; right: 30px; height: 40px; width: 40px; cursor: pointer; border: 1px solid #999; border-radius: 3px; }
#report_close_button:hover { opacity: .5; }
#report_close_button svg { margin-top: 6px; }

.menu-selector {
	list-style-type: none;
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 20;
	display: flex;
}
.menu-selector-radio {
	display: none;
}
.menu-selector-label {
	display: block;
	width: 5em;
	font-size: 16px;
	border: 1px solid #000;
	text-align: center;
  line-height: 1.6;
}
.maplibregl-popup-content .shelter-contact {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #3c4b59;
  line-height: 1.2;
}
.maplibregl-popup-content .shelter-contact__icon {
  font-size: 13px;
  line-height: 1;
}
.maplibregl-popup-content .shelter-contact__text {
  letter-spacing: 0.01em;
	background-color: #ebebeb;
  padding: 2px 6px;
	font-family: var(--common-font);
	border-collapse: collapse;
	cursor: pointer;
	transition: all 0.3s ease-out;
}
.menu-selector-label:first-of-type {
	border-radius: 0;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	
}
.menu-selector-label:last-of-type {
	border-radius: 0;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
	border-left: 0;
}
.menu-selector-radio:checked + label { background-color: #111; color: #fff; }


main { width: 100%; height: 100%; display: flex; flex-direction: column; overflow-hidden: none; }
.map-wrapper { width: 100%; height: 100%; flex-grow: 1; position: relative; }
.maplibregl-popup { position: absolute; z-index: 50; }
/*▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼
▼ mapBottom
▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼*/
.mapBottom {
  padding: 10px 20px;
  overflow: hidden;
  background-color: #303030;
}
.mapBottom ul {
  margin: 0; padding: 0 10px;
}
.mapBottom li {
  list-style-type: none;
}

@media screen and (max-width: 374px) {
  .mapBottom {
    padding: 10px 5px;
  }
}

.mapBottom > *:not(:last-child) {
  margin-bottom: 10px;
}
/*====================================================================================
スライダーエリア
====================================================================================*/
.rangeArea {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-box-align: center;
  -ms-flex-align: center;
  gap: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media screen and (max-width: 374px) {
  .rangeArea {
    gap: 2px;
  }
}

.rangeArea__item {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.rangeArea__item.disable {
	pointer-events: none;
	filter: brightness(0.5) grayscale(0.8);
}

/*====================================================================================
スライダー
====================================================================================*/
.mapScale {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  z-index: 2;
  position: relative;
  width: 100%;
  height: 4px;
  border-radius: 10px;
  outline: none;
  background: #F0F3F6;
  cursor: pointer;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
}

.mapScale:focus {
  outline: none;
  cursor: pointer;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
}

/*------------------------------------------
スライダーの球
------------------------------------------*/
.mapScale::-webkit-slider-thumb {
  -webkit-appearance: none;
  /* -webkit-transform: translateY(-8px);
    transform: translateY(-8px); */
  width: 22px;
  height: 22px;
  border: 2px solid #fff;
  border-radius: 100px;
  background: #0C419A;
}

.mapScale::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: none;
  border: 2px solid #fff;
  border-radius: 100px;
  background: #0C419A;
  /* transform: translateY(0px); */
}

.mapScale::-moz-focus-outer {
  border: 0;
}

/*------------------------------------------
スライダーの球の位置の調整
------------------------------------------*/
_::-webkit-full-page-media, _:future, :root input[type=range]::-webkit-slider-thumb {
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  ::i-block-chrome, input[type=range]::-webkit-slider-thumb {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
  }
}

/*====================================================================================
メモリ
====================================================================================*/
/*------------------------------------------
目盛り
------------------------------------------*/
.scaleGroup {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 10px;
}

.scaleGroup {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
}

/* メモリ全体
------------------------------------------*/
.scale {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  width: 0px;
  text-align: center;
  white-space: nowrap;
}

/* ライン */
.scale .line {
  display: block;
  width: 1px;
  height: 3px;
  background-color: #979797;
}

.scale.show .line {
  height: 6px;
}

/* テキスト */
.scale .text {
  width: 30px;
  color: #fff;
  font-size: 10px;
  text-align: center;
  opacity: 0;
}

.scale.show .text {
  opacity: 1;
}

.scale.plus .text {
  color: #FF9900;
}
