@charset "utf-8";

.contact-h2 {
  color: #2274a5;
  text-align: center;
  margin-top: 2rem;
  font-weight: 600;
}

@media screen and (max-width: 768px) {
  .contact-h2 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .contact-h2 {
    font-size: 1.2rem;
    margin-top: 0;
  }
}

.contact-image {
  margin: 3rem auto;
}

@media screen and (max-width: 768px) {
  .contact-image {
    margin: 1.5rem auto;
  }
}

.section-contact {
  max-width: 690px;
  margin: 0 auto;
}

.section-contact .BoxContact {
  border: solid 2px #2274a5;
  padding: 35px 15px 36px;
  background-color: rgba(255, 255, 255, 0.8);
}

.section-contact .BoxContact h2 {
  background-color: #2274a5;
  text-align: center;
  color: #fff;
  margin: 1.5rem 0 3rem;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 1rem;
}

.section-contact p {
  text-align: center;
}

.section-contact .mw_wp_form_preview p.contact-desc {
  display: none;
}

.section-contact .mwform-checkbox-field-text {
  font-size: 1rem;
  color: #343a40;
}

.section-contact .mwform-checkbox-field label {
  margin: 0 0 1rem;
}

.section-contact textarea,
.section-contact input[type="date"],
.section-contact input[type="datetime"],
.section-contact input[type="datetime-local"],
.section-contact input[type="email"],
.section-contact input[type="month"],
.section-contact input[type="number"],
.section-contact input[type="password"],
.section-contact input[type="search"],
.section-contact input[type="tel"],
.section-contact input[type="text"],
.section-contact input[type="time"],
.section-contact input[type="url"],
.section-contact input[type="week"],
.section-contact select {
  padding: 13px 13px;
  width: 100%;
  border: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 22px;
  border-radius: 3px;
  transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  border: 1px solid #ccc;
  box-sizing: border-box;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08) inset;
  color: #222;
}

.section-contact .mwform-tel-field input[type="text"],
.section-contact .mwform-zip-field input[type="text"] {
  display: inline-block;
  width: auto;
}

.section-contact textarea {
  resize: vertical;
}

.section-contact label {
  color: #185173;
  font-weight: 700;
  font-size: 0.875rem;
  margin: 1.5rem 0 0.15rem;
}

.section-contact option {
  color: #222;
  font-size: 1rem;
}

.section-contact input[type="submit"],
.section-contact input[type="button"] {
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: 0.3rem;
  background-color: #2274a5;
  color: #fff;
  box-shadow: 2px 5px 5px rgba(0, 0, 0, 0.3);
}

.section-contact input[type="submit"]:hover,
.section-contact input[type="button"]:hover {
  box-shadow: none;
  transform: translate(5px, 5px);
  transition: all 0.3s ease;
  background-color: #185173;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.contact-h2.contact-h2-231030 {
  color: #000000;
  font-weight: 700;
  line-height: 1.42857143;
  position: relative;
  width: fit-content;
  margin: 2rem auto 2.5rem;
  padding-bottom: 10px;
  font-size: 1.5rem;
}

.contact-h2.contact-h2-231030::after {
  content: "";
  width: 48.7%;
  height: 3px;
  background-color: #2274a5;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.contact-fukidashi-img {
  max-width: 428px;
  margin: 0 auto 2rem;
}

.section-contact label.label-231030 {
  color: #000000;
  width: 100%;
}

.section-contact.section-contact-231030 {
  max-width: 1110px;
}

.section-contact-right dl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.section-contact-right dl dd {
  width: 100%;
}

@media screen and (min-width: 768px) {
  /* .contact-row {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
  } */
  .section-contact .label-231030 {
    width: 200px;
    margin-top: 0;
  }

  .section-contact-right dl dd {
    width: calc(100% - 200px);
  }
}

@media screen and (min-width: 992px) {
  .contact-h2.contact-h2-231030 {
    margin: 2rem auto 3.125rem;
    font-size: 1.75rem;
  }

  .contact-fukidashi-img {
    margin: 0 auto 2.5rem;
  }

  .section-contact-inner {
    display: flex;
    margin-left: -21px;
    margin-right: -21px;
  }

  .section-contact-left,
  .section-contact-right {
    padding: 0 21px;
  }

  .section-contact-left {
    width: 40%;
  }

  .section-contact-right {
    width: 60%;
  }
}
