.bg-blue-600 {
    --tw-bg-opacity: 1;
    background-color: rgb(17 49 79)!important;
}
.mb-3 {
    margin-bottom: .75rem;
    width: 50%;
}
.map-wrapper {
    display: flex
;
    gap: 15px;
}
.grid.grid-cols-2.gap-3.mb-3 {
    margin: 30px 0;
}
span.ml-2.text-xs.px-2.py-1.rounded.bg-green-100.text-green-800 {
  white-space: nowrap;
}
.text-lg {
  font-size: 1.00rem!important;
  line-height: 1.75rem;
  
}
.p-3.bg-blue-50.rounded {
    /* -webkit-transform: skew(-15deg); */
    /* transform: skew(-15deg); */
    color: #fff;
    border-radius: 10px;
    border: 2px solid #fff;
    background-image: -webkit-gradient(linear, left top, right top, from(#2af598), to(#009efd));
    background-image: -webkit-linear-gradient(left, #2af598 0%, #009efd 100%);
    background-image: linear-gradient(90deg, #6fb9ce 0%, #12335b 100%);
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
}
.p-3.bg-green-50.rounded {
    /* -webkit-transform: skew(-15deg); */
    /* transform: skew(-15deg); */
    color: #fff;
    border: 2px solid #fff;
    border-radius: 10px;
    background-image: -webkit-gradient(linear, left top, right top, from(#2af598), to(#009efd));
    background-image: -webkit-linear-gradient(left, #2af598 0%, #009efd 100%);
    background-image: linear-gradient(90deg, #6fce99 0%, #46720c 100%);
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
}
.nav-links.show {
  z-index: 9999!important;
}
.hamburger-menu {
  z-index: 999999!important;
}
.text-3xl {
  font-size: 1.3rem !important;
  line-height: 2.25rem;
}
.text-gray-600 {
  --tw-text-opacity: 1;
  color: rgb(213 209 209);
}
p.text-gray-600.mb-3 {
  color: #fff !important;
  font-size: 0.8rem;
}
.w-full.md\:w-1\/4 {
  padding: 10px;
}
.top-kaisetu {
  max-width: 56rem;
  padding: 30px 10px 30px 25px;
  margin-top: 30px;
  /* width: fit-content; */
  color: #484848;
  margin: 30px auto;
  text-align: left;
  border-radius: 10px;
  background-color: rgb(255 255 255 / 87%) !important;
}
.divide-y.divide-gray-200 {
  margin: 30px auto;
  border-radius: 10px;
  background-color: rgb(255 255 255 / 87%) !important;
  padding: 30px 20px 30px 20px;
}
ul.top-ul {
  text-align: left;
  margin: 0 auto;
  /* width: fit-content; */
  margin-top: 20px;
  padding-left: 20px;
}
li.top-li {
  list-style: disc;
}
ul.top-ul2 {
  padding: 5px 10px 20px 10px;
}
.font-semibold {
  font-weight: 600;
  color: #989898;
}
.label\.mr-2\.text-sm\.text-gray-600 {
  color: #fff;
}
h1.text-2xl.font-bold {
  color: #fff;
}
form.route-w3 {
  display: flex
;
  gap: 15px;
  flex-flow: wrap;
  background-color: #f5f5f5bd;
  padding: 16px;
  border-bottom: 1px solid #ffffff;
  border-radius: 10px;
}
button.bg-gray-500.text-white.px-4.py-2.rounded.hover\:bg-gray-600 {
  height: fit-content;
}
button{
  height: fit-content;
}
h1.hr-txt1.text-3xl.font-bold.mb-4,p.hr-txt2.text-xl.mb-6,p.hr-txt1.mb-2 {
  color: #fff;
}
h1.text-2xl.font-bold.mb-6 {
  color: #fff;
}
.p-4 {
  padding: 1rem;
  color: black;
}
.hyoukou {
    /*background-color: #fff;*/
    height: fit-content !important;
    margin-bottom: 15px;
}
.mb-4.p-3.bg-gray-100.rounded {
  background-color: #f8f8f8ba;
}
.leaflet-container.leaflet-touch.leaflet-retina.leaflet-fade-anim.leaflet-grab.leaflet-touch-drag.leaflet-touch-zoom {
    border-radius: 10px;
}

div#root {
    /* background-color: #eeeeee; */
    background-color: #2f2f2f;
    color: #ffffff;
    min-height:100vh;
    background-image: url(c-wal.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
a.text-2xl.font-bold {
    color: #ff9cea;
}
h3.font-semibold.mb-2 {
  color: #dadada!important;
}
a.bg-green-500.text-white.px-6.py-2.rounded.hover\:bg-green-600 {
  background-color: #fc5200 !important;
}
a.bg-blue-500.text-white.px-6.py-2.rounded.hover\:bg-blue-600 {
  background-color: #6fb471 !important;
  /* color: #000; */
}
/**/
/* custom.css - Map Component用スタイル定義 */
select#itemsPerPage {
  color: black;
}
label.mr-2.text-sm.text-gray-600 {
  color: #fff;
}
/* メインコンテナ */
.map-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #ffffffa3;
    color: #333333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
  }
  
  /* コントロールセクション */
  .map-controls {
    background-color: #f5f5f566;
    padding: 16px;
    border-bottom: 1px solid #ffffff;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
  }
  
  .control-group {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .control-label {
    font-weight: 500;
    color: #333333;
    font-size: 14px;
    min-width: 80px;
  }
  
  .control-select {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    color: #333333;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    min-width: 160px;
  }
  
  .control-select:focus {
    outline: none;
    border-color: #777777;
  }
  
  .control-hint {
    color: #666666;
    font-size: 12px;
    max-width: 600px;
    line-height: 1.5;
  }
  
  /* マップビュー */
  .map-view {
    width: 100%;
    position: relative;
  }
  
  .map-leaflet-container {
    height: 500px;
    width: 100%;
  }
  
  /* ポップアップスタイル */
  .map-popup {
    font-size: 13px;
  }
  
  /* ルートライン設定（カスタマイズ用CSS変数） */
  :root {
    --cycling-road-color: #FF4500;
    --bicycle-color: #2E8B57;
    --foot-color: #8B4513;
    --car-color: #0066FF;
    --fallback-color: #999999;
  }
  
  /* ルートライン用のクラス定義 (グローバルセレクタを使う) */
  .route-line.route-cycling-road {
    stroke: var(--cycling-road-color);
  }
  
  .route-line.route-bicycle {
    stroke: var(--bicycle-color);
  }
  
  .route-line.route-foot {
    stroke: var(--foot-color);
  }
  
  .route-line.route-driving-car {
    stroke: var(--car-color);
  }
  
  .route-line.route-fallback {
    stroke: var(--fallback-color);
    stroke-dasharray: 5, 10;
  }
  
  /* 情報表示部分 */
  .map-info {
    background-color: #f5f5f5;
    padding: 16px;
    border-top: 1px solid #e0e0e0;
  }
  
  .info-text {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
  }
  
  .info-label {
    font-weight: 600;
    color: #333333;
    margin-right: 4px;
  }
  
  .route-details {
    background-color: #ffffff;
    border-radius: 6px;
    padding: 12px;
    margin: 12px 0;
    border: 1px solid #e0e0e0;
  }
  
  .service-info {
    margin-left: 12px;
    color: #0066cc;
    font-size: 13px;
  }
  
  .multi-point-info {
    margin-left: 12px;
    color: #2E8B57;
    font-size: 13px;
  }
  
  .fallback-info {
    margin-left: 12px;
    color: #cc3300;
    font-size: 13px;
  }
  
  .profile-hint {
    color: #666666;
    font-size: 13px;
    font-style: italic;
    margin-top: 8px;
  }
  
  /* ボタン */
  .map-buttons {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
  }
  
  .map-button {
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .calculate-button {
    background-color: #2b2b2b !important;
    color: #ffffff;
  }
  button.map-button.clear-button {
    background-color: #ab2808;
}
button.map-button.delete-button {
    background-color: #c28610;
    color: #fff;
}
.clear-button:hover {
    background-color: #cf2a00 !important;
}
.delete-button:hover {
    background-color: #ff9f33 !important;
}
.calculate-button:hover {
    background-color: #5b5b5b !important;
    color: #ffffff;
}
  .calculate-button:hover:not(:disabled) {
    background-color: #0055aa;
  }
  
  .calculate-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  
  .clear-button {
    background-color: #cc3300;
    color: #ffffff;
  }
  
  .clear-button:hover {
    background-color: #aa2200;
  }
  
  .delete-button {
    background-color: #ffaa00;
    color: #333333;
  }
  
  .delete-button:hover {
    background-color: #ee9900;
  }
  /**/
  form.route-w3 {
    display: flex;
    gap: 15px;
    flex-flow: wrap;
}
.route-w {
    display: flex;
    gap: 15px;
    flex-direction: column;
}
.route-w2 {
    display: flex;
    gap: 15px;
}
.elevation-profile {
    background-color: #d2d2d2;
    /* height: 100vh; */
    border-radius: 10px;
}
button.bg-green-500.text-white.px-4.py-2.rounded.hover\:bg-green-600 {
    height: fit-content;
}
button.bg-blue-500.text-white.px-4.py-2.rounded.hover\:bg-blue-600 {
    height: fit-content;
}
.bg-blue-500 {
    --tw-bg-opacity: 1;
    background-color: rgb(83 87 93)!important;
}
.bg-green-500 {
    --tw-bg-opacity: 1;
    background-color: rgb(21 88 46)!important;
}
.flex.space-x-4 {
    padding-top: 27px;
}
input.w-full.p-2.border.border-gray-300.rounded {
    color: #000!important;
}
/*power*/
/* ここから RouteCalculator コンポーネント用のスタイル */
.route-calculator {
    padding: 16px;
    background-color: #f8f8f8ba;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #000000;
  }
  .bg-white {
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / 87%)!important;
}
  .calculator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
  }
  
  .calculator-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
  }
  
  .average-gradient {
    font-size: 14px;
    color: #000;
  }
  
  .calculator-mode-selector {
    margin-bottom: 16px;
  }
  
  .calculator-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
  }
  
  .input-group {
    display: flex;
    flex-direction: column;
  }
  
  .input-group label {
    font-size: 13px;
    margin-bottom: 4px;
    color: #000000;
  }
  
  .input-group input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    color: #000;
  }
  
  .calculation-results {
    background-color: #fff;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  .result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .result-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
  
  .result-label {
    font-weight: 500;
    color: #444;
  }
  
  .result-value {
    font-weight: 600;
    color: #0066cc;
  }
  
  .calculator-notes {
    font-size: 12px;
    color: #000000;
    line-height: 1.4;
  }
  
  .calculator-notes p {
    margin: 4px 0;
  }
  select.w-full.p-2.border.border-gray-300.rounded {
    color: black;
}
h3.font-semibold.mb-2 {
  color: black;
}
select.p-2.border.border-gray-300.rounded {
  color: black;
}
h2.text-xl.font-semibold {
  color: black;
}
p.font-semibold {
  color: black;
}
h3.ft-text-lg.font-semibold.mb-2 {
  color: #fff;
}
ul.space-y-2 li a {
  color: #fff;
}
.w-full.md\:w-1\/3.mb-6.md\:mb-0 {
  padding: 10px;
}
.ft-w-full.md\:w-1\/4.mb-6.md\:mb-0 {
  padding: 10px;
}
.ft-w-full.md\:w-1\/4 {
  padding: 10px;
}
/* src/styles/Navbar.css */
/* ベースのナビゲーションスタイル */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  padding: 0.5rem;
  transition: all 0.2s;
}

.nav-link:hover {
  text-decoration: underline;
}

.nav-link.active {
  font-weight: bold;
}

.register-button {
  background-color: white;
  color: #3b82f6; /* blue-600 */
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  transition: all 0.2s;
}

.register-button:hover {
  background-color: #f9fafb; /* gray-100 */
}

.user-menu {
  position: relative;
}

.user-menu-button {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  transition: all 0.2s;
  background-color: #11314f;
}

.user-menu-button:hover {
  background-color: rgb(50 127 205 / 64%);
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: 100%;
  width: 12rem;
  margin-top: 0.5rem;
  background-color: white;
  border-radius: 0.375rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  z-index: 10;
}

.dropdown-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 1rem;
  color: #1f2937; /* gray-800 */
  transition: all 0.2s;
}

.dropdown-item:hover {
  background-color: #f3f4f6; /* gray-100 */
}

/* ハンバーガーメニュー（デフォルトは非表示） */
.hamburger-menu {
  display: none;
  cursor: pointer;
  z-index: 20;
}

.hamburger-icon {
  width: 24px;
  height: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.hamburger-icon span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: white;
  border-radius: 3px;
  transition: all 0.3s;
}

.hamburger-icon.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.bg-white.rounded-lg.shadow-md.overflow-hidden {
  overflow: auto !important;
}
.mt-4.flex.justify-between.items-center {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
button.px-4.py-2.bg-blue-500.text-white.rounded.hover\:bg-blue-600 {
  white-space: nowrap;
  font-size: 0.9rem;
}
button.px-4.py-2.bg-gray-300.text-gray-700.rounded.hover\:bg-gray-400 {
  white-space: nowrap;
  font-size: 0.9rem;
}
button.px-4.py-2.bg-green-500.text-white.rounded.hover\:bg-green-600 {
  font-size: 0.9rem;
}
button{
  white-space: nowrap;
  font-size: 0.9rem;
  width: fit-content;
}
/* レスポンシブデザイン - モバイル表示用 */
@media (max-width: 768px) {
  .hamburger-menu {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color:#2c2c2cfa;
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    transition: all 0.3s ease-in-out;
    z-index: 10;
  }
  
  .nav-links.show {
    right: 0;
  }
  
  .nav-link, .register-button {
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .register-button {
    margin-top: 0.5rem;
    text-align: center;
  }
  
  .user-menu {
    width: 100%;
    padding: 0.75rem 0;
    height: 50px;
  }
  
  .dropdown-menu {
    position: relative;
    width: 100%;
    margin-top: 0.5rem;
  }
}
  /* レスポンシブ調整 */
  @media (max-width: 768px) {
    .calculator-header {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .average-gradient {
      margin-top: 8px;
    }
    
    .calculator-inputs {
      grid-template-columns: 1fr;
    }
    .justify-between {
      justify-content: space-between;
  }
  }
  /* レスポンシブ対応 */
  @media (max-width: 768px) {
    .map-controls {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
    }
    
    .control-group {
      width: 100%;
    }
    
    .control-select {
      flex-grow: 1;
    }
    
    .map-leaflet-container {
      height: 400px;
    }
    
    .map-buttons {
      justify-content: center;
    }
  }
@media (max-width:922px) {
    .mb-3 {
        margin-bottom: .75rem;
        width: 100%;
    }
    .map-wrapper {
        display: flex
    ;
        gap: 15px;
        flex-direction: column;
    }
}