@charset "UTF-8";
.section-contact {
  max-width: 800px;
  margin: 3rem auto;
  padding: 25px;
  box-sizing: border-box;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}
.section-contact h2 {
  font-size: 3.2rem;
  color: #D80000;
  text-align: center;
  margin-top: 0;
  margin-bottom: 20px;
  line-height: 1.3;
}
@media (max-width: 768px) {
  .section-contact h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
}
.section-contact p.form-description {
  font-size: 1.3rem;
  color: #333;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) {
  .section-contact p.form-description {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
}
.section-contact form.wpcf7-form {
  width: 100%;
  padding: 0;
}
.section-contact dl {
  margin-bottom: 20px;
  padding: 0;
  margin-top: 0;
}
.section-contact dl dt {
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
  line-height: 1.4;
}
.section-contact dl dt label {
  display: block;
  cursor: pointer;
}
.section-contact dl dt .required {
  color: #dc3545;
  margin-left: 5px;
}
.section-contact dl dd {
  margin: 0;
}
.section-contact input[type=email],
.section-contact input[type=tel],
.section-contact input[type=text],
.section-contact textarea,
.section-contact select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 1.3rem;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.section-contact input[type=email]:focus,
.section-contact input[type=tel]:focus,
.section-contact input[type=text]:focus,
.section-contact textarea:focus,
.section-contact select:focus {
  outline: none;
  border-color: #0099cc;
  box-shadow: 0 0 0 3px rgba(0, 153, 204, 0.25);
}
.section-contact input[type=email]::placeholder,
.section-contact input[type=tel]::placeholder,
.section-contact input[type=text]::placeholder,
.section-contact textarea::placeholder,
.section-contact select::placeholder {
  color: #999;
  opacity: 1; /* ブラウザによってはデフォルトで透明度があるため */
}
.section-contact input[type=email]::-webkit-input-placeholder,
.section-contact input[type=tel]::-webkit-input-placeholder,
.section-contact input[type=text]::-webkit-input-placeholder,
.section-contact textarea::-webkit-input-placeholder,
.section-contact select::-webkit-input-placeholder {
  color: #999;
  opacity: 1;
}
.section-contact input[type=email]::-moz-placeholder,
.section-contact input[type=tel]::-moz-placeholder,
.section-contact input[type=text]::-moz-placeholder,
.section-contact textarea::-moz-placeholder,
.section-contact select::-moz-placeholder {
  color: #999;
  opacity: 1;
}
.section-contact input[type=email]:-ms-input-placeholder,
.section-contact input[type=tel]:-ms-input-placeholder,
.section-contact input[type=text]:-ms-input-placeholder,
.section-contact textarea:-ms-input-placeholder,
.section-contact select:-ms-input-placeholder {
  color: #999;
  opacity: 1;
}
.section-contact textarea {
  resize: vertical;
  min-height: 120px;
}
.section-contact span.wpcf7-list-item {
  display: inline-block;
  margin-right: 20px;
  margin-bottom: 8px;
}
.section-contact span.wpcf7-list-item label {
  cursor: pointer;
  display: flex;
  align-items: center;
  font-weight: normal;
}
.section-contact span.wpcf7-list-item input[type=radio] {
  width: auto;
  margin-right: 8px;
  flex-shrink: 0;
  transform: scale(1.2);
}
.section-contact input[type=submit] {
  display: block;
  width: auto;
  min-width: 200px;
  padding: 15px 30px;
  margin: 30px auto 0;
  background-color: #D80000;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1.3rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.section-contact input[type=submit]:hover {
  background-color: #a50000;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.section-contact input[type=submit]:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  opacity: 0.7;
}
.section-contact .wpcf7-response-output {
  margin-top: 25px;
  padding: 18px;
  border-radius: 5px;
  font-size: 1rem;
  text-align: center;
  line-height: 1.5;
  background-color: #f8f9fa;
  border: 1px solid #ccc;
}
.section-contact .wpcf7-response-output.wpcf7-validation-errors {
  background-color: rgb(253.8924050633, 248.6075949367, 249.1139240506); /* 薄い赤 */
  color: #dc3545;
  border: 1px solid #dc3545;
}
.section-contact .wpcf7-response-output.wpcf7-mail-sent-ok {
  background-color: rgb(195.7028985507, 240.7971014493, 206); /* 薄い緑 */
  color: #28a745;
  border: 1px solid #28a745;
}
.section-contact .wpcf7-not-valid-tip { /* 個別フィールドのエラーメッセージ */
  color: #dc3545;
  font-size: 1em; /* 親のフォントサイズに対する相対サイズ */
  display: block;
  margin-top: 5px;
  text-align: left;
}
.section-contact .button-container {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}
.section-contact a.button-primary {
  display: inline-block;
  padding: 15px 30px;
  background-color: #D80000;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.section-contact a.button-primary:hover {
  background-color: #a50000;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.section-contact a.button-primary:active {
  transform: translateY(0);
}
@media (max-width: 768px) {
  .section-contact {
    padding: 15px;
  }
  .section-contact dl {
    margin-bottom: 15px;
  }
  .section-contact dt {
    margin-bottom: 5px;
  }
  .section-contact input[type=email],
  .section-contact input[type=tel],
  .section-contact input[type=text],
  .section-contact textarea,
  .section-contact select {
    padding: 10px;
    font-size: 1rem;
  }
  .section-contact span.wpcf7-list-item {
    margin: 0 1rem 0 0;
  }
  .section-contact span.wpcf7-list-item span.wpcf7-list-item-label {
    font-size: 1.2rem;
  }
  .section-contact input[type=submit] {
    padding: 12px 25px;
    font-size: 1.3rem;
    min-width: 150px;
  }
}

/*# sourceMappingURL=contact.css.map */
