body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #f0f8ff;
    padding: 0;
    margin: 0;
    width: 100vw;
  }



  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%;
  }

  nav {
    display: flex;
    gap: 20px;
  }

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

  .menu-toggle {
    display: none;
    font-size: 28px;
    color: #006633;
    cursor: pointer;
    margin-top: -20px;
    margin-right: 20px;
  }
  .menu-toggle::before {
    content: "☰";
  }
  .menu-toggle.open::before {
    content: "×";
  }

  .slideshow-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    height: 100vh;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .slideshow-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
    z-index: 2;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
  }

  .slide {
    flex: none;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    transition: opacity 1s ease-in-out;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
  }

  .slide.active {
    opacity: 1;
    z-index: 1;
  }

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

  #box1 {
    /* background: #000; */
    background: #006633;

    padding: 100px 20px;
    text-align: left;
  }

  #box3 .menu-link-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
  }

  #box4 .access-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    align-items: center;
  }

  .card-container {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 0 40px;
    flex-wrap: wrap;
  }

  .card {
    background-color: #000;
    color: #fff;
    width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
  }

  .card:hover {
    transform: translateY(-8px);
  }

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

  .card-text {
    padding: 16px;
  }

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

  .card-text h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
  }

  footer {
    text-align: center;
    padding: 20px;
    background-color: #f5f5f5;
    color: #888;
  }
  footer a {
    color: #006633;
    text-decoration: none;
    margin: 0 8px;
  }
  footer a:hover {
    text-decoration: underline;
  }

  #loader {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to bottom right, #f8fbff, #e1f0ff); */
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 20px;
    color: #333;
    text-align: center;
  }

  #loader::after {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    width: 5vw;
    height: 100vh;
    background-color: white;
    z-index: 9999;
  }

  #loader img {
    width: 300px;
    height: auto;
    margin-bottom: 20px;
  }

  #loader p {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
  }

  .button-common {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, font-size 0.3s ease;
    border: none;
    color: white;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    user-select: none;
  }

  .menu-button {
    background-color: #006633;
  }

  .menu-button:hover {
    background-color: #004d26;
  }

  .reserve-button {
    font-size: 1.4rem;
    background-color: #006633;
    z-index: 100;
  }

  .reserve-button:hover {
    cursor: not-allowed;
  }

  /* --- box1 おしゃれ装飾 --- */
  #box1 p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 22px;
    line-height: 1.9;
    font-weight: 500;
    color: #fff;
    font-family: 'Noto Serif JP', 'Noto Sans JP', serif;
    animation: fadeInUp 1.2s ease-out;
    opacity: 0;
    transition: opacity 1s ease-out, transform 1s ease-out;
    transform: translateY(30px);
  }

  #box1 p.visible {
    opacity: 1;
    transform: translateY(0);
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .section-box h2 {
    border-bottom: 2px solid #90caf9;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 16px;
  }

  /* --- box3 施術メニューリンクセクション --- */
  #box3 .menu-image {
    flex: 1 1 400px;
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }

  #box3 .menu-content {
    flex: 1 1 200px;
    color: #333;
    text-align: left;
  }

  #box3 .menu-content h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }

  #box3 .menu-content p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.6;
  }
  
  /* --- box4 アクセス横並びセクション --- */
  #box4 .access-text,
  #box4 .access-map {
    flex: 1 1 200px;
    max-width: 480px;
  }

  #box4 .access-text h2 {
    font-size: 24px;
  }

  #box4 .access-map iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 8px;
  }

  #box5 .menu-link-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
  }

  #box5 .menu-image {
    flex: 1 1 400px;
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }

  #box5 .menu-content {
    flex: 1 1 200px;
    color: #333;
    text-align: left;
  }

  #box5 .menu-content h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }

  #box5 .menu-content p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.6;
  }

  .box1-signature {
    text-align: right;
    margin-top: 20px;
    margin-right: 20px;
    color: #fff;
    font-size: 16px;
    font-family: 'Noto Serif JP', serif;
  }

  @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;
    }

    /* --- 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: 24px;
      margin: 8px 0;
      line-height: 1.4;
    }

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

    #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;
    }

        /* --- box5 施術メニューリンクセクション（スマホ用中央揃え） --- */
        #box5 .menu-link-container {
          flex-direction: column;
          align-items: center;
          text-align: center;
        }
    
        #box5 .menu-image, #box5 .menu-content {
          flex: 1 1 100%;
          max-width: 100%;
          text-align: center;
        }
    
        #box5 .menu-image {
          width: 100%;
          height: 200px;
          min-height: 200px;
          background-size: cover;
          background-position: center;
          border-radius: 12px;
          box-shadow: none;
        }

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

    .reserve-button:hover {
      font-size: 1.3rem;
      pointer-events: none;
      opacity: 0.6;
      cursor: not-allowed;
    }

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

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

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

    .slideshow-caption {
      width: 400px;
    }

    #loader {
      width: 95%;
    }
  }
