body {
  margin: 0;
  padding: 0;
  font-family: "Helvetica", "Helvetica Neue", Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.contact-info {
  width: 40%;
}

.contact-info h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 15px;
}

.contact-form {
  width: 50%;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.contact-form label {
  font-size: 1em;
  margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form button {
  background-color: red;
  color: white;
  padding: 10px 20px;
  font-size: 1.1em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: darkred;
}

#status-message {
  font-size: 0.9em;
  margin-top: 10px;
}

/* ハンバーガーメニュー */
.menu-toggle {
  display: none;
  font-size: 2.5em;
  color: #333;
  cursor: pointer;
  user-select: none;
  padding: 0 15px;
  align-self: center;
  z-index: 1100;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .contact-info,
  .contact-form {
    width: 90%;
  }

  .menu-toggle {
    display: block;
    color: white;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1500;
  }

  .navbar .right {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    position: absolute;
    top: 50px;
    right: 0;
    background: white;
    width: 200px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    flex-direction: column;
    padding: 0;
    z-index: 1400;
  }

  .navbar .right.active {
    max-height: 1000px;
    opacity: 1;
    padding: 10px 0;
    display: flex;
  }

  .navbar .right a {
    color: #333;
    padding: 12px 20px;
    font-size: 1.2em;
    border-bottom: 1px solid #ddd;
  }

  .navbar .right a:last-child {
    border-bottom: none;
  }
}
