/* ============================ */
/* お問い合わせページ contact.css */
/* ============================ */

.contact-section h2 {
    margin-top: 5rem;
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form textarea {
    width: 100%;
    margin-bottom: 1em;
    padding: 0.8em 1.2em;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
  }
  
  .contact-form textarea {
    height: 150px;
    font-size: 16px;
    padding: 10px;
  }
  
  .contact-form button[type="submit"] {
    background-color: #59b9c6;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
  }
  
  .success, .error {
    color: #008060;
    background-color: #e0f8f0;
    padding: 1em;
    margin-bottom: 1em;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
  }
  
  .close-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #d97c00;
    color: white;
    border: none;
    padding: 0.6em 1.2em;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
  
  
  .close-btn:hover {
    background-color: #b65f00;
  }
  
  /* ============================ */
  /* レスポンシブ対応            */
  /* ============================ */
  @media screen and (max-width: 768px) {
    .contact-section {
      padding: 1em;
    }
  
    .contact-form {
      padding: 1.5em;
      width: 100%;
      box-sizing: border-box;
    }
  
    .contact-form label {
      font-size: 1em;
    }
  
    .contact-form input,
    .contact-form textarea {
      font-size: 1em;
      padding: 0.7em;
    }
  
    .contact-form textarea {
      height: 150px;
    }
  
    .contact-form button {
      width: 100%;
      font-size: 1.1em;
    }
  
    h2 {
      font-size: 1.3em;
    }
  }
  