@charset "UTF-8";

body,
html {
  margin: 0;
  border: 0;
  outline: 0;
  vertical-align: baseline;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
html {
  overflow-x: hidden;
  overflow-y: scroll;
  font-size: 62.5%;
}
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.4em;
  font-weight: 500;
  line-height: 1.6;
  color: #3f3f3f;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
}
a,
a:active,
a:hover,
a:visited {
  color: #3f3f3f;
  text-decoration: none;
}
div,
a,
button {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* common */
.form-control {
  width: 100%;
  padding: .5rem;
  font-size: 1.4rem;
  color: #3f3f3f;
  background-color: #fff;
  border: 0;
  border-bottom: .1rem solid #ddd;
  border-radius: 0;
  display: inline-block;
}
.form-control::placeholder {
  color: #cecece;
}
.select-box {
  position: relative;
}
.select-box::after {
  content: "";
  width: 1.4rem;
  height: .9rem;
  background-image: url(../img/icon_arrow_select.png);
  background-size: contain;
  display: block;
  position: absolute;
  top: 50%;
  right: .5rem;
  transform: translateY(-50%);
}

/* header */
.warning-txt {
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
}
.warning-txt.for-android {
  width: 100%;
  height: 4rem;
  background: url(../img/bg_warning.png) repeat-x center;
  background-size: contain;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}
.header {
  width: 100%;
  height: 6rem;
  background-color: #fff;
  box-shadow: 0 .5rem .5rem rgb(0 0 0 / 25%);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9;
}
.warning-txt + .header {
  margin-top: 4rem;
}
.header .ttl-group {
  height: 100%;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.header .ttl-group .warning-txt {
  margin-bottom: .5rem;
  padding: 0 1.5rem;
  background-color: #ffff48;
}
.overlay {
  content: "";
  display: block;
  width: 0;
  height: 0;
  background-color: rgba(63, 63, 63, .4);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  opacity: 0;
  transition: opacity .5s;
}
.overlay.open {
  width: 100%;
  height: 100vh;
  opacity: 1;
}
.menu {
  width: 2rem;
  height: 1.8rem;
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 2.1rem;
  transform: translateY(-50%);
}
.sidebar {
  width: 27rem;
  height: 100%;
  margin-left: -27rem;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  transition: all .5s;
}
.sidebar.open {
  margin-left: 0;
  box-shadow: 0 0 .5rem rgb(0 0 0 / 50%);
  animation-name: openSidebar;
  animation-duration: .5s;
}
@keyframes openSidebar {
  0% {
    margin-left: -27rem;
  }
  100% {
    margin-left: 0;
  }
}
.sidebar .account-group {
  padding: 5rem 1.5rem 1.5rem;
  border-bottom: .3rem solid #efefef;
}
.sidebar .account-group .box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.account-img {
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
}
.account-img img {
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.sidebar .account-group .box .account-name {
  margin-top: 1rem;
  font-size: 1.7rem;
}
.sidebar .account-group .box .account-id {
  margin-top: .5rem;
  font-size: 1.4rem;
  color: #777;
}
.sidebar .account-group .app-ver {
  margin-top: 2rem;
  font-size: 1.2rem;
  color: #cecece;
  text-align: right;
}
.sidebar .nav-group {
  padding: 4rem 1.5rem;
}
.sidebar .nav-group ul li:not(:first-child) {
  border-top: .1rem solid #efefef;
}
.sidebar .nav-group ul li .link {
  padding: 1rem 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.3rem;
  color: #29bc00;
  display: block;
}

/* footer */
.footer {
  width: 100%;
  background-color: #fff;
  box-shadow: 0 .0 .5rem rgb(0 0 0 / 50%);
  position: fixed;
  bottom: 0;
  left: 0;
}
.footer .topic-create {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  box-shadow: 0 .0 .5rem rgb(0 0 0 / 70%);
  position: absolute;
  top: -6.5rem;
  right: 1.5rem;
  cursor: pointer;
  display: none;
}
.footer .topic-create.active {
  display: block;
}
.footer .topic-block {
  height: 6.2rem;
  padding: 1rem 1.5rem;
  border-bottom: .2rem solid #efefef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer .topic-block .img-box {
  width: 3rem;
  height: 3rem;
  border-radius: .3rem;
  overflow: hidden;
  position: relative;
}
.footer .topic-block .img-box img {
  width: 3rem;
  height: 3rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.footer .topic-block .input-topic {
  width: calc(100% - 6rem - 2rem);
  height: 3rem;
  border: .1rem solid #ddd;
  border-radius: .4rem;
}
.footer .btn-block {
  height: 8rem;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-around;
}
.footer .btn-block .btn-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer .btn-block .btn-box.inactive {
  opacity: .5;
}
.footer .btn-block .btn-box .txt {
  font-size: 1.1rem;
  font-weight: 700;
  color: #29bc00;
}

/* main */
.main {
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 6rem - 8rem);
  margin-top: 6rem;
  margin-bottom: 8rem;
  position: relative;
}
.warning.for-android .main {
  min-height: calc(100vh - 6rem - 8rem - 4rem);
  margin-top: calc(6rem + 4rem);
}
.topic .main {
  min-height: calc(100vh - 6rem - 8rem - 6.2rem);
  margin-bottom: calc(8rem + 6.2rem);
}
.warning.topic .main {
  min-height: calc(100vh - 6rem - 8rem - 4rem - 6.2rem);
}
#map-content,
#map {
  height: calc(100vh - 6rem - 8rem);
  position: relative;
}
.warning.for-android #map-content,
.warning.for-android #map {
  height: calc(100vh - 6rem - 8rem - 4rem);
}
.map-data {
  width: 100%;
  height: 27.2rem;
  padding: 0 1.5rem 2.5rem;
  background-color: #fff;
  border-radius: 1.3rem 1.3rem 0 0;
  box-shadow: 0 0 .5rem rgb(0 0 0 / 50%);
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1;
  transform : translateY(105%);
  transition: all .5s;
}
.map-data.active {
  transform: translate(0);
  display: block;
}
.map-data .close {
  width: 100%;
  height: 3rem;
}
.map-data .close::before {
  content: "";
  width: 2.8rem;
  height: .4rem;
  background-color: #dadce0;
  border-radius: .2rem;
  display: block;
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
}
.map-data .shelter-name,
.map-data .shelter-address {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.map-data .shelter-equipment {
  height: 6.6rem;
}
.map-data .btn-box,
.shelter-list .btn-box {
  margin-top: 2.5rem;
  display: flex;
  justify-content: space-between;
}
.map-data .btn-box .btn,
.shelter-list .btn-box .btn{
  width: 47.5%;
  font-size: 1.3rem;
  color: #fff;
  text-align: center;
  line-height: 4rem;
  border-radius: 2rem;
}
.map-data .btn-box .btn.icon-detail,
.shelter-list .btn-box .btn.icon-detail {
  background: #29bc00 url(../img/icon_detail.png) no-repeat center left 1.5rem;
  background-size: auto 1.8rem;
}
.map-data .btn-box .btn.icon-route,
.shelter-list .btn-box .btn.icon-route {
  background: #29bc00 url(../img/icon-route.png) no-repeat center left 1.5rem;
  background-size: auto 1.8rem;
}
.tabs {
  width: 100%;
  position: relative;
}
.tab-item {
  width: 15rem;
  height: 3.2rem;
  margin-top: 1.5rem;
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
  color: #777;
  line-height: 3rem;
  border: .1rem solid #29bc00;
  box-shadow: 0 .2rem .5rem rgb(0 0 0 / 25%);
  display: block;
  float: left;
  transition: all 0.2s ease;
  position: fixed;
  z-index: 1;
}
.tab-item.tab-left {
  border-radius: 1.5rem 0 0 1.5rem;
  background: #fff url(../img/icon_show-map.png) no-repeat center left 1rem;
  background-size: auto 1.3rem;
  right: 50%;
}
.tab-item.tab-right {
  border-radius: 0 1.5rem 1.5rem 0;
  background: #fff url(../img/icon_show-list.png) no-repeat center left 1rem;
  background-size: auto 1.3rem;
  left: 50%;
}
input[name="tab-item"] {
  display: none;
}
.tab-content {
  display: none;
  clear: both;
}
#show-map:checked ~ #map-content,
#show-list:checked ~ #list-content {
  display: block;
}
.tabs input:checked + .tab-item {
  color: #fff;
  background-color: #29bc00;
}
.tabs input:checked + .tab-item.tab-left {
  background: #29bc00 url(../img/icon_show-map_active.png) no-repeat center left 1rem;
  background-size: auto 1.3rem;
}
.tabs input:checked + .tab-item.tab-right {
  background: #29bc00 url(../img/icon_show-list_active.png) no-repeat center left 1rem;
  background-size: auto 1.3rem;
}
.shelter-list {
  padding-top: 3rem;
}
.warning .shelter-list {
  padding-bottom: 5rem;
}
.shelter-list > li {
  padding: 2.5rem 1.5rem;
  border-bottom: .3rem solid #efefef;
  position: relative;
}
.shelter-list > li:last-child {
  border-bottom-width: 0;
}
.shelter-level,
.shelter-capacity {
  font-size: 1.2rem;
  line-height: 2rem;
  display: inline-block;
}
.shelter-level {
  margin-right: 1rem;
  padding: 0 1rem;
  color: #777;
  border-radius: 1rem;
  background-color: #efefef;
}
.shelter-level.specify {
  color: #249100;
  background-color: #ebff99;
}
.shelter-capacity {
  padding: 0 .5rem 0 2.5rem;
  color: #29bc00;
  border-radius: .3rem;
  background: #f4f4f4 url(../img/icon_capacity.png) no-repeat center left .5rem;
  background-size: 1.5rem 1.4rem;
}
.shelter-name {
  margin-top: 1rem;
  font-size: 2rem;
  font-weight: 500;
}
.shelter-list .shelter-name {
  margin-top: .5rem;
  font-size: 1.7rem;
}
.shelter-address,
.shelter-tel {
  font-size: 1.3rem;
  color: #777;
  display: block;
}
.shelter-address.icon,
.shelter-tel.icon {
  padding-left: 2.5rem;
}
.shelter-address.icon {
  background: url(../img/icon_pin.png) no-repeat center left;
  background-size: auto 2rem;
}
.shelter-tel.icon {
  background: url(../img/icon_tel.png) no-repeat center left;
  background-size: auto 2rem;
}
.shelter-list .shelter-address {
  margin-top: 1rem;
}
.equipment-ttl {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 2.5rem;
  background-color: #efefef;
  border-radius: .3rem;
  text-align: center;
}
.shelter-equipment {
  display: flex;
  flex-wrap: wrap;
}
.shelter-equipment li {
  width: calc(100% / 3);
  margin-top: 1rem;
  padding: 0 .5rem 0 3rem;
  font-size: 1.2rem;
  line-height: 2.3rem;
  color: #777;
}
.shelter-equipment li.icon-light {
  background: url(../img/icon_light.png) no-repeat top left;
  background-size: 2.3rem;
}
.shelter-equipment li.icon-parking {
  background: url(../img/icon_parking.png) no-repeat top left;
  background-size: 2.3rem;
}
.shelter-equipment li.icon-power {
  background: url(../img/icon_power.png) no-repeat top left;
  background-size: 2.3rem;
}
.shelter-equipment li.icon-toilet {
  background: url(../img/icon_toilet.png) no-repeat top left;
  background-size: 2.3rem;
}
.shelter-equipment li.icon-water {
  background: url(../img/icon_water.png) no-repeat top left;
  background-size: 2.3rem;
}
.shelter-equipment li.icon-roof {
  background: url(../img/icon_roof.png) no-repeat top left;
  background-size: 2.3rem;
}
.shelter-equipment li.icon-wifi {
  background: url(../img/icon_wifi.png) no-repeat top left;
  background-size: 2.3rem;
}
.shelter-equipment li.icon-pet {
  background: url(../img/icon_pet.png) no-repeat top left;
  background-size: 2.3rem;
}
.shelter-detail-box > li {
  padding: 1.5rem;
  position: relative;
}
.shelter-detail-box > li:first-child {
  padding: 2.5rem 1.5rem 2rem;
}
.shelter-detail-box > li:not(:first-child) {
  border-top: .1rem solid #efefef;
}
#participating {
  padding: 0 2rem;
  font-size: 1.3rem;
  line-height: 2.4rem;
  color: #fff;
  background-color: #29bc00;
  display: none;
  position: absolute;
  top: 2.5rem;
  right: 1.5rem;
}
#participating.active {
  display: inline-block;
}
.join-btn-block {
  padding: 1.5rem;
  background-color: #efefef;
}
.join-btn-block .btn {
  width: 30rem;
  margin: auto;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  line-height: 4rem;
  background: #29bc00 url(../img/icon_join.png) no-repeat center left 1rem;
  background-size: 2rem;
  border: .1rem solid #29bc00;
  border-radius: 2rem;
  display: block;
}
.join-btn-block .btn::before {
  content: "この避難所に参加する";
}
.join-btn-block .btn.withdrawal {
  color: #3f3f3f;
  background: #fff url(../img/icon_withdrawal.png) no-repeat center left 1rem;
  background-size: 2rem;
}
.join-btn-block .btn.withdrawal::before {
  content: "この避難所を脱退する";
}
.shelter-detail .topic-list > li {
  padding: 2.5rem 0;
  border-bottom: .3rem solid #efefef;
}
.ttl-group {
  padding: 0 1.5rem;
}
.topic-detail .ttl-group {
  padding-top: 2rem;
}
.ttl-group .topic-ttl {
  font-size: 2rem;
  font-weight: 500;
  display: inline;
}
.ttl-group .comments-num {
  margin-left: 1rem;
  padding: 0 .5rem 0 2.5rem;
  font-size: 1.3rem;
  color: #29bc00;
  line-height: 2rem;
  background: #f4f4f4 url(../img/icon_comments-num.png) no-repeat center left .3rem;
  background-size: 1.7rem auto;
  border-radius: .3rem;
  display: inline-block;
}
.topic-box-list li {
  padding: 1rem 1.5rem 0;
  position: relative;
}
.topic-detail .topic-box-list li {
  padding: 1.5rem;
  border-bottom: .1rem solid #efefef;
}
.topic-detail .topic-box-list li:first-child {
  margin-bottom: 1rem;
  padding-bottom: 2.5rem;
  border-bottom-width: .3rem;
}
.shelter-detail .topic-box-list li:first-child::before {
  content: "";
  width: .1rem;
  height: calc(100% - 5.3rem);
  background-color: #efefef;
  display: block;
  position: absolute;
  top: 5.3rem;
  left: calc(1.5rem + (3.3rem / 2));
}
.account-block {
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.account-block .account-group {
  width: calc(100% - 7rem);
  display: flex;
  align-items: center;
}
.account-block .img-box {
  width: 3.3rem;
  height: 3.3rem;
  margin-right: 1rem;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
}
.account-block .img-box img {
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.account-block .name-box {
  width: calc(100% - 4.3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.account-block .account-name,
.account-block .account-id {
  font-size: 1.3rem;
}
.account-block .account-name {
  margin-right: .5rem;
}
.account-block .account-id {
  color: #777;
}
.account-block .time-posted {
  width: 7rem;
  font-size: 1.2rem;
  color: #cecece;
  text-align: right;
}
.topic-txt {
  padding: 1.5rem;
  font-size: 1.3rem;
  line-height: 1.2;
  color: #777;
  background-color: #efefef;
  border-radius: .3rem;
}
.shelter-detail .topic-txt {
  width: calc(100% - 4.3rem);
  margin-left: auto;
}
.topic-box-list li:first-child .topic-txt {
  background-color: #faff92;
}
.topic-reply {
  margin-top: 1.5rem;
  font-size: 1.3rem;
  text-align: right;
}
.topic-reply a {
  color: #249100;
}
.register-btn {
  width: 90%;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  line-height: 4rem;
  background: #29bc00 url(../img/icon_join.png) no-repeat center left 1rem;
  background-size: 2rem;
  border: .1rem solid #29bc00;
  border-radius: 2rem;
  box-shadow: 0 0 .5rem rgb(0 0 0 / 70%);
  display: block;
  position: fixed;
  bottom: 9.5rem;
  left: 50%;
  transform: translateX(-50%);
}

/* disaster-info */
.disaster-info {
  padding: 0 1.5rem;
}
.disaster-info li {
  padding: 2.5rem 0;
  border-bottom: .3rem dotted #efefef;
}
.disaster-info li:last-child {
  border: 0;
}
.disaster-info li .info-ttl {
  margin-bottom: 2rem;
}
.disaster-info li a {
  color: #3436f2;
  text-decoration: underline;
  display: block;
}

/* modal */
.modal {
  width: 100%;
  height: 100vh;
  display: none;
  position: fixed;
  top: 0;
  z-index: 999999;
  overflow: auto;
}
.modal .modal__bg {
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, .4);
  position: absolute;
}
.modal .modal__content {
  width: 90%;
  height: 80vh;
  padding: 4rem 2rem;
  background: #fff;
  border-radius: 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.modal .modal__content.modal-alert {
  height: 30vh;
}
.modal .modal__content.modal-alert02 {
  height: 50vh;
}
.modal .modal__content.modal-regiter_select {
  height: 60vh;
  min-height: 38rem;
}
.modal .modal__content_height100 {
  width: 100%;
  height: 100vh;
  background-color: #fff;
  position: fixed;
}
.modal .scroll-content {
  width: 100%;
  height: 100%;
  margin: auto;
  padding: 0 5% 6rem;
  overflow-y: auto;
}
.warning.for-android .modal .scroll-content {
  padding-bottom: 10rem;
}
.warning.for-android .modal .scroll-content.regiter-content {
  padding-right: 0;
  padding-left: 0;
}
.modal .modal__content > *:not(:first-child) {
  margin-top: 1rem;
}
.modal-note {
  font-size: 1.2rem;
  color: red;
  text-align: center;
}
.modal-ttl {
  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
}
.modal .txt {
  font-size: 1.5rem;
}
.modal .btn-box {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.modal .btn-box .btn {
  width: 100%;
  height: 4rem;
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  line-height: 4rem;
  text-align: center;
  background-color: #29bc00;
  border-radius: 2rem;
  display: block;
}
.modal .btn-box02 .btn {
  width: 48%;
}
.modal .btn-box .btn.close-btn {
  background-color: #999;
}
#modal-start01 {
  z-index: 1000000;
}
#modal-start01.modal .modal__content,
#modal-start02.modal .modal__content {
  min-height: 50rem;
}
.profile-content .account-img-outer {
  padding: 2.5rem 0;
  border-bottom: .3rem solid #efefef;
}
.profile-content .account-img-outer .account-img {
  width: 10rem;
  height: 10rem;
  margin: auto;
}
.profile-block {
  padding: 1rem 1.5rem 2.5rem;
}
.profile-list {
  padding-bottom: 2.5rem;
}
.profile-list li {
  padding: 1.5rem 0;
  border-bottom: .1rem solid #efefef;
}
.profile-list .ttl,
.topic_create-list .ttl,
.regiter-list .ttl {
  margin-bottom: .5rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: #777;
}
.profile-list .txt,
.topic_create-list .txt,
.regiter-list .txt {
  font-size: 1.3rem;
}
.topic_create-list,
.regiter-list {
  padding: 1rem 0 2.5rem;
}
.topic_create-list li,
.regiter-list li {
  padding-top: 1.5rem;
}
.topic_create-list .count,
.regiter-list .count {
  font-size: 1.2rem;
  color: #cecece;
  text-align: right;
}
.file-box-outer {
  display: flex;
  justify-content: space-between;
}
.file-box {
  width: 10rem;
  min-height: 10rem;
  height: auto;
  margin: auto;
  margin-top: 2rem;
  position: relative;
}
.file-box .file-upload {
  display: none;
}
.file-box .upload-btn {
  width: 3.3rem;
  height: 3.3rem;
  display: block;
  position: absolute;
  top: -.7rem;
  right: -.7rem;
}
.file-box #preview {
  max-width: unset;
  width: 100%;
  vertical-align: middle;
}
#map_canvas {
  width: 100%;
  height: 30rem;
}
.regiter-box {
  padding: 0 5% 3rem;
}
#modal-regiter_equipment .shelter-equipment {
  width: 100%;
  margin-top: 0;
  flex-direction: column;
}
#modal-regiter_equipment .shelter-equipment li,
#modal-regiter_equipment .shelter-equipment li label {
  width: 100%;
  display: block;
}
#modal-regiter_equipment .shelter-equipment li .checkbox-input {
  display: none;
}
#modal-regiter_equipment .shelter-equipment li .checkbox-parts {
  width: 100%;
  display: block;
  position: relative;
}
#modal-regiter_equipment .shelter-equipment li .checkbox-parts::before {
  content: "";
  width: 2rem;
  height: 2rem;
  background-color: #fff;
  border: .1rem solid #CEC8C8;
  border-radius: .4rem;
  display: block;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
#modal-regiter_equipment .shelter-equipment li .checkbox-input:checked + .checkbox-parts::after {
  content: "";
  width: 1.2rem;
  height: 1.2rem;
  background: url(../img/icon_check.png) no-repeat center;
  background-size: 100%;
  display: block;
  position: absolute;
  top: 50%;
  right: .4rem;
  transform: translateY(-50%);
}
