/* contact.css */
body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
    position: relative;
  }
  
  /* ナビメニューボタン */
  .nav-wrapper {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
  }
  
  .nav-toggle {
    width: 56px;
    height: 56px;
    background-color: #fff0f5;
    color: #444;
    font-size: 0.9rem;
    font-weight: bold;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
  }
  
  .nav-toggle:hover {
    background-color: #ffe0eb;
    color: #d94c8c;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    right: 0;
    background-color: #ffffff;
    padding: 1rem 1.2rem;
    border-radius: 1rem 0 1rem 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: right;
    width: 180px;
  }
  
  .nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .nav-menu li {
    margin: 0.8rem 0;
    text-align: left;
    white-space: nowrap;
  }
  
  .nav-menu a {
    text-decoration: none;
    color: #444;
    font-size: 1rem;
    display: block;
    padding: 0.2rem 0;
    transition: color 0.3s;
  }
  
  .nav-menu a:hover {
    color: #d94c8c;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeOut {
    from {
      opacity: 1;
      transform: translateY(0);
    }
    to {
      opacity: 0;
      transform: translateY(-10px);
    }
  }
  
  .nav-menu.show {
    display: block;
    animation: fadeIn 0.3s ease-in-out forwards;
  }
  
  .nav-menu.hide {
    animation: fadeOut 0.3s ease-in-out forwards;
  }
  
  .contact-form {
    max-width: 800px;
    margin: 5rem auto 2rem auto; /* 上を5remに調整 */
    padding: 2rem;
    background-color: #f9fefe;
    border: 2px solid #a2e8e0;
    border-radius: 10px;
    box-sizing: border-box;
  }
  
  .contact-form h2 {
    font-size: 1.8rem;
    text-align: center;
    color: #7c003c;
    margin-bottom: 2rem;
  }
  
  .contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form textarea {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
  }
  
  .contact-form fieldset {
    border: 1px solid #a2e8e0;
    border-radius: 8px;
    padding: 1rem;
    background-color: #ffffff;
  }
  
  .contact-form legend {
    font-weight: bold;
    color: #333;
  }
  
  .contact-form label {
    display: block;
    font-size: 0.95rem;
    color: #444;
  }
  
  .contact-form button {
    background-color: #ff99cc;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 2rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: center;
  }
  
  .contact-form button:hover {
    background-color: #f06292;
  }
  
  @media screen and (max-width: 600px) {
    .contact-form {
      padding: 1.5rem 1rem;
      margin: 1rem;
    }
  
    .contact-form button {
      width: 100%;
      text-align: center;
    }
  }
  