/* Contact Form用 */
h1{
  text-align: center;
}

div.wpcf7 {
  max-width: 800px;
  margin: 0 auto;
  padding: 0.5em 2em;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  font-family: sans-serif;
  font-size: 1.2em;
}

div.wpcf7 label {
  display: block;
  font-weight: bold;
  margin-top: 1em;
  color: #333;
}

div.wpcf7 input[type="text"],
div.wpcf7 input[type="email"],
div.wpcf7 textarea {
  width: 100%;
  padding: 0.75em;
  margin-top: 0.3em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
}

div.wpcf7 textarea {
  resize: vertical;
}

div.wpcf7 .wpcf7-submit {
  background-color: #0073aa;
  color: white;
  padding: 0.75em 2em;
  border: none;
  border-radius: 6px;
  font-size: 1.4em;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 50%;
}

div.wpcf7 .subbt {
  text-align: center;
  margin: 24px 0px;
}

div.wpcf7 .wpcf7-submit:hover {
  background-color: #005f8d;
}

div.wpcf7 .p_agreement {
  max-width: 800px;
  
}

div.wpcf7 li p {
  margin-bottom: 2px;
}

div.wpcf7 .required-label {
  background-color: #e53935;
  color: white;
  font-size: 0.8em;
  padding: 2px 6px;
  margin-right: 6px;
  border-radius: 4px;
  display: inline-block;
}


div.wpcf7 .wpcf7-response-output{
  font-size: 1.4em;
  padding: 20px;
  color: #dc3232;
}