body {
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0;
  padding: 0;
  --theme-color: #701570;
}

h3 {
  text-align: center;
  font-weight: bold;
}

/* --- nav bar --- */
/* 常に下線あり、色付き */
.navbar-nav .nav-link {
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
}



/* --- 基本コンテナ調整 --- */
.container-md {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .container-md {
    max-width: 720px;
  }
}


/* --- テキスト中央寄せ（スマホ）→ 左寄せ（PC） --- */
@media (max-width: 720px) {
  .text-responsive {
    text-align: center;
  }
}

@media (min-width: 768px) {
  .text-responsive {
    text-align: left;
  }
}


/* --- タブ --- */
.nav-tabs .nav-link {
  color: #5e3a87; /* 通常の文字色（紫系） */
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease-in-out;
}

.nav-tabs .nav-link:hover {
  background-color: rgba(138, 109, 255, 0.1);
  border-radius: 0.25rem 0.25rem 0 0;
}

.nav-tabs .nav-link.active {
  background-color: #f5f0ff;
  border-color: #8a6dff #8a6dff transparent;
  border-bottom: 2px solid #8a6dff;
  color: #4b3a7d;
  font-weight: 600;
}



/* --- index.html --- */
/* --- 参加登録ボタン --- */
.register-button {
  background-color: #5e3a87;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(111, 66, 193, 0.3);
  transition: background-color 0.3s, box-shadow 0.3s;
}

.register-button:hover {
  background-color: #5a32a3;
  box-shadow: 0 0 12px rgba(90, 50, 163, 0.5);
  color: white;
}



/* --- アコーディオンヘッダ調整 --- */
.accordion-button {
  font-size: 1rem;
}

@media (min-width: 768px) {
  .accordion-button {
    font-size: 1.2rem;
  }
}











.list-group-item {
  border-radius: 0.75rem;
  margin-bottom: 0.5rem;
  transition: background-color 0.3s ease;
}
.list-group-item:hover {
  background-color: #f0f0f0;
}

#map {
  width: 100%;
  height: 100vh;
}
.icon-gray {
  filter: grayscale(100%) ;
}
.info {
  color: #333;
  background: white;
  padding: 10px;
  border: 1px solid #5d5d5d;
  border-radius: 4px;
  width: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.info p {
  padding: 0;
  margin: 0 0 2px 0;
  font-weight: bold;
}
.legend {
  line-height: 18px;
}
.progressValue {
  font-size: 25px;
  line-height: 1;
  margin: 0;
}
.legend-inner-container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.legend-gradient {
  background: linear-gradient(to top,
    #ffffff,
    #f0dcf5,
    #dcb4eb,
    #b96ed2,
    #8c32a5,
    #701570
  );
  height: 100px;
  width: 20px;
}
.legend-labels {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100px; /* same as legend-gradient */
  margin-left: 10px;
}
.legend-labels span {
  text-align: left;
}



/* leaflet-locatecontrol 現在地ボタンの色調整 */
.leaflet-control-locate a {
  background-color: white !important;
  color: #66b3ff !important;
  border: 1px solid #66b3ff !important;
}
.leaflet-control-locate.active a,
.leaflet-control-locate.active-follow a {
  background-color: white !important;
  color: #66b3ff !important;
  border: 1px solid #66b3ff !important;
}

.mode-toggle {
  display: flex;
  border: 1.5px solid var(--theme-color);
  border-radius: 6px;
  overflow: hidden;
  width: auto;
  height: 28px;
}

.toggle-button {
  background: none;
  border: none;
  font-size: 0.8rem;
  padding: 0 0.8rem;
  color: var(--theme-color);
  transition: color 0.3s ease, background 0.3s ease;
}

.toggle-button.active {
  background-color: var(--theme-color);
  color: #fff;
}



.toggle-indicator {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background-color: var(--theme-color);
  transition: transform 0.3s ease;
  z-index: 0;
}

.stat-card {
  background-color: #f6f1fc;
  border-radius: 1rem;
  width: 130px;
  flex: 0 0 auto;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.04);
}

.text-purple {
  color: #8a6dff;
}



.mode-left .toggle-indicator {
  transform: translateX(0%);
}

.mode-right .toggle-indicator {
  transform: translateX(100%);
}

@media (max-width: 767px) {
  .info {
    padding: 7px;
  }
  .legend {
    margin-bottom: 50px !important;
  }
  .progressValue {
    font-size: 25px;
  }
}


.bg-purple {
  background-color: #800080 !important; /* 紫色 */
}　