
/* header を囲むラッパー */
.header-wrapper {
    padding: 0.5rem ;
    margin: 1rem auto;
    width: 100vw;
    background-color: none;
    font-family: 'Noto Serif JP', serif;
    color: #333;
    min-width: 320px;
}
a {
  text-decoration: none;
}


.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: auto;
    width: auto;
    position: sticky;
    top: 0;
    z-index: 1000;


}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 3rem;
    
}

.logo img {
    height: 40px;
}

.logo-text {
    font-weight: bold;
    font-size: 1.2rem;
    color: #333;
}

.navbar {
    display: flex;
    background-color:#fff;
    border-radius: 2rem; /* 角丸 */
    padding: 1.2rem 3rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.06);
    margin-right: 3%;
  }

.menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 1.5rem;
}

.menu li {
    position: relative;
}

.menu li a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    padding: 0.5rem 0;
}

/* ドロップダウン */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 180px;
}

.submenu li a {
    display: block;
    padding: 0.75rem 1rem;
    white-space: nowrap;
}

.dropdown:hover > .submenu {
    display: block;
}
.mobil_header{
    display: none;
}
@media (max-width: 768px) {
    .header-wrapper {
        background-color:rgb(244, 246, 255,0) ;
    }
    .header,
    .logo,
    .logo-text {
      display: none;
    }
  
    .mobil_header {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      padding: 1rem;
      position: fixed;
      top: 0;
      right: 0;
      width: 100vw;
      height: 64px;
      background: transparent;
      z-index: 10001;
      overflow: visible;
    }
  
    .menu-toggle {
      position: fixed;
      top: 1rem;
      right: 1rem;
      width: 48px;
      height: 48px;
      background: #fff;
      border-radius: 50%;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
      border: none !important;
      font-size: 1.8rem;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      z-index: 10001;
    }
  
    .mobail_navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      opacity: 0;
      pointer-events: none;
      z-index: 10000;
      transition: opacity 0.4s ease;
      background: transparent;
    }
  
    .mobail_navbar.open {
      opacity: 1;
      pointer-events: all;
    }
  
    .mobail_navbar::before {
      content: '';
      position: fixed;
      top: 50%;
      left: 50%;
      width: 48px;
      height: 48px;
      background: white;
      border-radius: 50%;
      transform: translate(-50%, -50%) scale(0);
      transform-origin: center;
      transition: transform 0.6s ease-in-out;
      z-index: -1;
    }
  
    .mobail_navbar.open::before {
      transform: translate(-50%, -50%) scale(60);
    }
  
    .mobail_menu {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.5s ease, transform 0.5s ease;
      flex-direction: column;
      gap: 2rem;
      list-style: none;
      text-align: center;
      z-index: 10001;
      display: flex;
    }
  
    .mobail_menu.show {
      opacity: 1;
      transform: translateY(0);
    }
  
    .mobail_menu li a {
      text-decoration: none;
      font-size: 1.5rem;
      color: #222;
      display: block;
      padding: 0.5rem 1rem;
    }
  
    .submenu {
      position: static;
      background: #f9f9f9;
    }
  
    .dropdown > a::after {
      content: "▼";
      float: right;
    }
  }
  
  .site-footer {
    background-color: #0a0a0a;
    color: #ccc;
    padding: 60px 20px;
    text-align: center;
    font-size: 14px;
    box-sizing: border-box;
  }
  
  .footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  .footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  
  .footer-logo img {
    height: 30px;
  }
  
  .footer-logo .logo-text {
    font-size: 20px;
    font-weight: bold;
    color: #5ce1e6;
  }
  
  .footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
  }
  
  .footer-nav a {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .footer-nav a:hover {
    color: #fff;
  }
  
  .footer-copy {
    font-size: 12px;
    color: #777;
  }
  
  /* モバイル調整 */
  @media (max-width: 768px) {
    .footer-nav {
      flex-direction: column;
      gap: 10px;
    }
  }
  