@charset "UTF-8";

.fixed-left {
  position: fixed;
  top: 0;
  left: 0;
  width: 180px;
  height: 100vh;
  background-color: #212529;
  border-right: 1px solid #444;
  z-index: 1030; 
  padding-top: 20px;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nav-link {
  color: #fff !important;
  font-size: 16px;
}

.nav-link.active {
  border-left: 2px solid #fff;
  padding-left: 5px;
}

main {
  margin-left: 180px;
  padding: 40px;
}

@media (max-width: 767px) {
  .fixed-left {
    width: 100%;
    height: auto;
    position: relative;
    border-right: none;
  }

  main {
    margin-left: 0;
  }
.side-menu {
    position: fixed;
    top: 0;
    left: -250px; 
    width: 250px;
    height: 100%;
    background-color: #212529;
    transition: left 0.3s ease;
    z-index: 1050;
    padding-top: 80px;
  }

  .side-menu.active {
    left: 0;
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1040;
  }

  .overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .navbar-toggler {
    position: absolute;
    top: 15px;
    left: 15px;
  }

  .navbar-brand {
    margin-left: 60px;
  }
}

.navbar .nav-link {
    font-size: 14px;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.navbar .nav-link.active {
    border-bottom: #fff 2px solid
}

@media screen and (max-width: 576px) {
    .navbar .nav-link.active {
        border-left: #fff 2px solid;
        border-bottom: none;
    }
}

@font-face { 
    font-family: 'Noto Sans JP'; 
    src: url('../font/static/NotoSansJP-Light.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

body {
    font-family: 'Noto Sans JP', Arial, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

h2 {
font-size: 35px;
border-left: 20px #333 solid;
border-bottom: 1px #333 solid;
background-color: #f5f5f5;
padding: 5px;
text-align: center;
letter-spacing: 10px;
width: 100%;
}

#box_a {
padding: 20px;
width: 210px;
float: left;
background-color: #ffffff;
border: 1px #333 solid;
margin: 15px;
}

.text-center {
    text-align: center;
}

.member-box {
  display: flex;  
  align-items: center; 
  justify-content: center;
  margin-bottom: 40px;
  text-align: center;
}

.member-box img {
  width: 150px;
  height: auto;
  margin-right: 20px;
  border-radius: 8px;
}

.member-container {
    display: flex;             
    justify-content: center; 
    gap: 40px;
    flex-wrap: wrap;
}

.member-name {
    margin-top: 10px;
}

.welfare {
  text-align: center;
  margin: 50px 0;
}

.welfare-boxes {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
}

.welfare-item {
  border: 1px solid #333;
  padding: 20px 40px;
  font-size: 18px;
  color: #333;
  background-color: #fff;
  border-radius: 10px;
  min-width: 250px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

table {
  text-align: left;
  border-collapse: collapse;
  border-spacing: 0;
  border-top: 1px solid #ccc;
}

table td {
  padding: 4px 20px;
  border-bottom: 1px solid #ccc;
}

.carousel-item {
  height: 32rem;
}

.carousel-item img {
  height: 32rem;
}

.carousel-caption {
  bottom: 3rem;
}

img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 767px) {
  .navbar.fixed-left {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
  }

  .navbar-brand {
    display: none !important;
  }

  .navbar {
    background: transparent !important;
    height: 0;
    padding: 0;
    margin: 0;
    border: none;
    box-shadow: none;
  }

  .navbar-toggler {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1100; 
    background: rgba(0, 0, 0, 0.4); 
    border-radius: 8px;
    padding: 6px 8px;
  }

    .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h22M4 15h22M4 23h22'/%3E%3C/g%3E%3C/svg%3E");
  }
}

.card {
  border: none !important;
  box-shadow: none !important;
}