/* Base styles */
html {
  font-size: 100%; /* Adjust base font size */
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif; /* Example font */
}

img,
.footer-logo {
  max-width: 100%;
  height: auto; /* Ensure images are responsive */
}

footer {
  display: grid;
  grid-template-columns: 70% 30%;
}

footer div {
  display: inline-flex;
  align-items: center; /* Center images vertically */
}

footer a,
footer div img,
footer div a {
  width: auto;
  margin-right: 8px; /* Margin between logo images and text */
}

/* Responsive table styles */
table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 8px;
}

/* Responsive toggle button styles */
.toggle-button {
  padding: 8px 8px; /* Adjust button size */
  background-color: #007bff; /* Example background color */
  color: white;
  border: none;
  cursor: pointer;
}

#customNavbar,
footer div a {
  display: flex;
  align-items: center; /* Center items vertically */
  justify-content: space-between; /* Equal space between items */
}

/* Media queries for responsive adjustments */
@media (max-width: 768px) {
  html {
    font-size: 80%;
  }
  th,
  td,
  .toggle-button {
    padding: 4px;
  }
  #customNavbar {
    height: 35px;
  }
  .navbar-logo,
  footer a,
  footer img,
  .footer-logo {
    height: 25px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  html {
    font-size: 90%;
  }
  th,
  td {
    padding: 2px;
  }
  .toggle-button {
    padding: 6px 6px;
  }
  #customNavbar {
    height: 45px;
  }
  .navbar-logo,
  footer a,
  footer div img,
  .footer-logo {
    height: 30px;
  }
}

@media (min-width: 1025px) {
  html {
    font-size: 100%;
  }
  th,
  td {
    padding: 2px;
  }
  .toggle-button {
    padding: 8px 15px;
  }
  #customNavbar {
    height: 60px;
  }
  .navbar-logo {
    height: 40px;
  }
  footer a,
  .footer-logo {
    height: 35px;
  }
  footer {
    height: 50px;
  }
  footer img {
    height: 40px;
  }
}
.list-unstyled li {
  margin-bottom: 5px; /* 各リストアイテムの下マージンを調整 */
}

.list-unstyled li form {
  display: flex;
  gap: 5px; /* 隙間を小さく調整 */
  justify-content: center;
  align-items: center; /* 垂直方向の中央揃え */
}

/* 新しいCSSクラスを適用した場合の例 */
.nav-item {
  padding: 5px 0; /* 上下のパディングを調整 */
}
