.lifeinfo_container {
  max-width: 1000px;
  margin: 50px auto;
  font-family: YakuHanJP, "Noto Serif JP", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

.lifeinfo_tabs {
  display: flex;
  flex-direction: row;
  column-gap: 5px;
}

.lifeinfo_tab {
  color: #ffffff;
  width: 20%;
  padding: 10px 5px;
  text-align: center;
  cursor: pointer;
}

/* タブ内テキスト微調整 (文化・スポーツ・レジャー 以外) */
.lifeinfo_tab:not(:nth-of-type(7)) {
  padding-top: 15px;
}


.lifeinfo_tab:hover {
  opacity: 0.8;
}

@media screen and (max-width: 768px) {
  .lifeinfo_tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    padding: 5px;
  }

  .lifeinfo_tab {
    width: 100%;
    padding: 10px 0;
  }
}

.lifeinfo_content {
  width: 100%;
  height: 100%;
  max-height: 800px;
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

.mapbox {
  width: 100%;
  height: 400px;
}

.content_panels {
  width: 100%;
  height: 100%;
  max-height: 400px;
  background-color: #f3f0ee;
  overflow-y: scroll;
}

.content_panel {
  display: none;
  /* display: grid; jsで表示時に再設定 */
  grid-auto-flow: column;
  /* grid-template-rows: repeat(5, auto); */
  list-style: none;
}

.content_panel li {
  display: flex;
  flex-direction: row;

  padding: 10px;
  border-bottom: 1px solid #eee;
  color: #000;
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
}

.content_panel li > img {
  display: block;
  width: 25px;
  height: 25px;
}

.content_panel li > p {
  padding: 0 10px;
  line-height: 1.5;
}

.content_panel li > p > span {
  display: block;
  font-size: 13px;
}

.content_panel_item {
  cursor: pointer;
}

.building_marker {
  width: 100px;
  height: 50px;
}

.building_marker > img {
  width: 100%;
}

.marker {
  font-size: 16px;
}

.marker > span {
  display: block;
  font-size: 12px;
}

.icon {
  text-align: center;
}

.icon.marker {
  width: 24px;
  height: 24px;
  font-size: 16px;
  border-radius: 12px;
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
}

.icon.list {
  width: 24px;
  height: 24px;
  font-size: 16px;
  border-radius: 12px;
  padding-top: 3px;
}

/* 色設定 */

.category0.color {
  background-color: #efefef;
  color: #000;
}

.category1.color {
  background-color: #7e7393;
  color: #ffffff;
}

.category2.color {
  background-color: #91666a;
  color: #ffffff;
}

.category3.color {
  background-color: #506f7c;
  color: #ffffff;
}
.category4.color {
  background-color: #698165;
  color: #ffffff;
}

.category5.color {
  background-color: #99813a;
  color: #ffffff;
}

.category6.color {
  background-color: #a66948;
  color: #ffffff;
}

.category7.color {
  background-color: #cd5c5c;
  color: #ffffff;
}

.category8.color {
  background-color: #6a5acd;
  color: #ffffff;
}

/* リストの背景色設定 */
.category0.bg_color {
}

.category1.bg_color {
  background-color: #f5f5f9;
}

.category2.bg_color {
  background-color: #f9f5f5;
}

.category3.bg_color {
  background-color: #f5f8f9;
}
.category4.bg_color {
  background-color: #f5f6f5;
}

.category5.bg_color {
  background-color: #f8f7f5;
}

.category6.bg_color {
  background-color: #f7f4f3;
}

.category7.bg_color {
  background-color: #fffaf0;
}

.category8.bg_color {
  background-color: #f8f8ff;
}



/* markerのアニメーション設定 */
@keyframes drop {
  0% {
    transform: translateY(-200px);
    opacity: 0;
  }
  80% {
    transform: translateY(0px);
    opacity: 0.5;
  }
  90% {
    transform: translateY(-15px);
    opacity: 0.8;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.drop-animation {
  animation: drop 0.5s ease-out forwards;
}
