    header {
      background-color: transparent;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      padding: 0 40px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 80px;
      box-sizing: border-box;
      z-index: 10;
    }

    .logo {
      display: flex;
      align-items: center;
      height: 100%;
    }

    .logo img {
      display: block;
    }

    nav {
      margin-left: auto;
      display: flex;
      gap: 20px;
    }

    nav a {
      text-decoration: none;
      color: #006633;
      font-weight: bold;
      font-size: 16px;
    }

    .section-box {
      /* padding: 80px 0; */
      background-color: #fff;
      /* border-top: 1px solid #ddd; */
      /* border-bottom: 1px solid #ddd; */
    }

    #box0 {
      padding: 40px 0;
      background: linear-gradient(to bottom, #ffffff, #f6f6f6);
      text-align: center;
      color: #222;
    }

  .menu-header h2 {
    font-size: 32px;
    font-weight: bold;
    color: #006633;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
  }

  .menu-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #006633;
    margin: 8px auto 0;
    border-radius: 2px;
  }

  .menu-header p {
    font-size: 16px;
    color: #555;
    margin-top: 8px;
  }
    
  .card-slideshow {
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    margin: 60px auto;
    position: relative;
  }

  .card-track {
    display: flex;
    transition: transform 0.6s ease;
    transform: translateX(0);
    padding-left: 20px;
    padding-right: 0; /* 右の余白をなくす */
  }

  .card-slide {
    flex: 0 0 80%;
    margin: 0 10px;
    opacity: 0.5;
    transition: transform 0.4s ease, opacity 0.4s ease;
    transform: scale(0.9);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    background: #fff;
    cursor: pointer;
  }

  .card-slide.active {
    opacity: 1;
    transform: scale(1);
  }

  .card-slide img {
    width: 100%;
    height: 320px;
    object-fit: cover;
  }

  .card-caption {
    background: #000;
    color: #fff;
    padding: 12px;
    height: 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .card-caption .label {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 4px;
  }

  .card-caption h3 {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
  }

  footer {
      text-align: center;
      padding: 20px;
      background-color: #f5f5f5;
      color: #888;
    }

    .menu-toggle {
      display: none;
      font-size: 28px;
      color: #006633;
      cursor: pointer;
      margin-top: -20px;
      margin-right: 20px;
    }
    .menu-toggle::before {
      content: "☰";
    }
    .menu-toggle.open {
      /* hide original hamburger text when open */
      color: transparent;
    }
    .menu-toggle.open::before {
      content: "×";
      /* ensure the close icon is visible */
      color: #006633;
    }

    .treatment-notes {
    margin: 60px auto 40px;
    max-width: 600px;
    padding: 20px;
    border: 1px solid #ccc;
    background-color: #fffbea;
  }

  .treatment-notes h3 {
    font-size: 18px;
    color: #cc0000;
    margin-bottom: 10px;
    text-align: center;
  }

  .treatment-notes ul {
    font-size: 14px;
    color: #333;
    padding-left: 80px;
    line-height: 1.6;
  }

  @media (max-width: 768px) {
      header {
        flex-direction: row;
        justify-content: space-between;
        height: auto;
        padding: 10px 20px;
      }

      .menu-toggle {
        display: block;
      }

      nav {
        display: none;
        flex-direction: column;
        background-color: white;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        padding: 10px 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 9;
        margin-left: 0;
        gap: 10px;
        align-items: center;
      }

      nav.menu-open {
        display: flex;
      }

      .slideshow-caption {
        font-size: 20px;
        padding: 0 20px;
      }

      #box1 {
        padding: 20px 0;
      }

      /* --- box3 施術メニューリンクセクション --- */
      #box3 .menu-link-container {
        flex-direction: column;
        align-items: center;
        padding: 0px 10px;
        gap: 20px;
        margin-bottom: 0;
        padding-bottom: 0;
        align-items: flex-start;
      }

      #box3 .menu-image, #box3 .menu-content {
        flex: 1 1 100%;
        max-width: 100%;
      }

      #box3 .menu-image {
        width: 100%;
        height: 200px;
        min-height: 200px;
        background-size: cover;
        background-position: center;
        border-radius: 12px;
        box-shadow: none;
      }

      #box3 .menu-content {
        text-align: center;
        padding: 0;
        margin-bottom: 0;
        height: auto !important;
        min-height: unset;
      }

      #box3 .menu-content h2 {
        font-size: 22px;
        margin: 0px;
      }

      #box3 .menu-content p {
        font-size: 14px;
      }

      #box3 .menu-button {
        margin-top: 10px;
        margin-bottom: 0;
      }

      /* --- card container and cards --- */
      .card-container,
      #box2 .card-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0 20px;
      }

      .card {
        width: 90%;
      }

      /* --- box4 アクセス横並びセクション --- */
      #box4 .access-container {
        flex-direction: column;
        align-items: center;
        padding: 10px 10px;
        gap: 20px;
      }

      #box4 .access-text, #box4 .access-map {
        max-width: 100%;
      }

      /* --- スマホ表示時のアクセステキスト余白調整 --- */
      #box4 .access-text {
        padding: 0 10px;
        margin-bottom: 0;
      }

      #box4 .access-text p {
        margin-bottom: 8px;
        font-size: 14px;
        line-height: 1.5;
      }

      .reserve-button {
        font-size: 1.2rem;
        padding: 10px 16px;
        background-color: #006633;
      }

      .reserve-button:hover {
        font-size: 1.3rem;
      }

      .card-caption {
        padding-top: 0px;
      }
    .card-caption .label {
        font-size: 16px;
      }

      .card-text h3 {
        font-size: 16px;
      }

      .card-text .label {
        font-size: 10px;
      }

      .section-box {
        padding: 40px 0;
      }

      /* Mobile slideshow improvements */
      .card-slideshow {
        width: 100%;
        max-width: 100%;
        margin: 20px auto;
        overflow: hidden;
      }
      .card-track {
        padding-left: 20px;
        padding-right: 0;
        transition: transform 0.6s ease;
      }
      .card-slide {
        flex: 0 0 90%;
        margin: 0 5px;
        opacity: 0.6;
        transition: transform 0.4s ease, opacity 0.4s ease;
      }
      .card-slide.active {
        opacity: 1;
        transform: scale(1);
      }
      .card-caption {
        font-size: 14px;
        /* padding: 10px; */
      }

      .card-caption h3 {
        margin-bottom: 10px;
      }
       

      .treatment-notes ul {
        font-size: 14px;
        color: #333;
        padding-left: 20px;
        line-height: 1.6;
      }

      
    }

  /* Hide hamburger on desktop */
  @media (min-width: 769px) {
    .menu-toggle {
      display: none;
    }

    
  }

  /* Desktop slideshow layout fixes */
  @media (min-width: 769px) {
    .card-slideshow {
      max-width: 1000px;
      margin: 60px auto 40px;
    }
    .card-track {
      padding: 0 40px; /* 境界余白を広げる */
    }
    .card-slide {
      flex: 0 0 70%; /* スライド幅を70%に抑える */
      margin: 0 20px;
    }
    .card-slide img {
      height: 360px; /* 画像高さを伸ばす */
    }
    .card-caption {
      height: auto !important; /* 高さ制限を解除 */
      padding: 16px; /* キャプション内余白を増やす */
    }
  }
  