/* # =================================================================
   # Forms
   # ================================================================= */
.pageContainer {
  padding-block: 3.2rem 13rem;
  margin-block: 0;
}

input {
  border-radius: 0;
}

/* Replace pointer cursor in disabled elements */
[disabled] {
  cursor: default;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
  /* Correct the cursor style of increment and decrement buttons in Chrome */
}

[type="search"] {
  -webkit-appearance: textfield;
  /* Correct the odd appearance in Chrome and Safari */
  outline-offset: -2px;
  /* Correct the outline style in Safari */
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  /* Remove the inner padding in Chrome and Safari on macOS */
}

textarea {
  overflow: auto;
  /* Internet Explorer 11+ */
  resize: vertical;
  /* Specify textarea resizability */
}

button,
input,
optgroup,
select,
textarea {
  font: inherit;
  /* Specify font inheritance of form elements */
}

optgroup {
  font-weight: bold;
  /* Restore the font weight unset by the previous rule */
}

button {
  overflow: visible;
  /* Address `overflow` set to `hidden` in IE 8/9/10/11 */
}

button,
select {
  text-transform: none;
  /* Firefox 40+, Internet Explorer 11- */
}

/* Apply cursor pointer to button elements */
button,
[type="button"],
[type="reset"],
[type="submit"],
[role="button"] {
  cursor: pointer;
  color: inherit;
}

/* Remove inner padding and border in Firefox 4+ */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/* Replace focus style removed in the border reset above */
button:-moz-focusring,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  outline: 1px dotted ButtonText;
}

button,
html [type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  /* Correct the inability to style clickable types in iOS */
}

/* Remove the default button styling in all browsers */
button,
input,
select,
textarea {
  background-color: transparent;
  border-style: none;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline-width: 0;
}

/* Style select like a standard input */
select {
  -moz-appearance: none;
  /* Firefox 36+ */
  -webkit-appearance: none;
  /* Chrome 41+ */

  position: relative;
}

@media screen and (max-width: 767px) {
  .contact__select {
    position: relative;
  }
  .contact__select::after {
    content: "";
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translate(-50%, -50%) rotate(45deg);
    height: 0.4rem;
    width: 0.4rem;
  }

  .confirm .contact__select::after {
    content: none;
  }
}

select::-ms-expand {
  display: none;
  /* Internet Explorer 11+ */
}

select::-ms-value {
  color: currentColor;
  /* Internet Explorer 11+ */
}

legend {
  border: 0;
  /* Correct `color` not being inherited in IE 8/9/10/11 */
  color: inherit;
  /* Correct the color inheritance from `fieldset` elements in IE */
  display: table;
  /* Correct the text wrapping in Edge and IE */
  max-width: 100%;
  /* Correct the text wrapping in Edge and IE */
  white-space: normal;
  /* Correct the text wrapping in Edge and IE */
  max-width: 100%;
  /* Correct the text wrapping in Edge 18- and IE */
}

::-webkit-file-upload-button {
  /* Correct the inability to style clickable types in iOS and Safari */
  -webkit-appearance: button;
  color: inherit;
  font: inherit;
  /* Change font properties to `inherit` in Chrome and Safari */
}

.contact__innerwrap {
  background-color: #fff;
  border-radius: 15px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 75px 75px 92px 75px;
}

.contact__element {
  padding: 0 0;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  border-bottom: #bfbfbf solid 1px;
}

.contact__element dt {
  background: #f0f0f0;
  min-height: 10rem;
  max-width: 255px;
  width: 100%;
  font-weight: 700;
  padding: 22px 20px;
}

.contact__element_title {
  display: flex;
  align-items: center;
  height: 100%;
  line-height: 1;
  width: 100%;
}

.contact__element_title.flex_start {
  align-items: flex-start;
  padding-top: 12px;
}

.contact__element dd {
  align-self: center;
  padding: 20px 77px 20px 50px;
  width: calc(100% - 255px);
  min-height: calc(1.6em + 44px);
}

.contact__label {
  float: left;
  font-weight: 700;
  margin-right: 10px;
}

.t-center {
  text-align: center;
}

.contact__innerwrap .t-center {
  margin-top: 52px;
}

.horizontal-item {
  display: block;
}

.horizontal-item .mwform-checkbox-field-text {
  font-size: 1.8rem;
}

.only__first__step1 {
  display: block;
}

.only__first__step1 label {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.only__first__step1 label .contact__required {
  margin-right: 19px;
}

.wpcf7-list-item {
  margin-left: 0;
}

.mb30 {
  margin-bottom: 30px;
}

.horizontal-item input {
  transform: scale(1.42857142857);
  margin-right: 12px !important;
}

.only__first__step1 {
  font-size: 2rem;
  text-align: center;
}

.contact__error {
  float: left;
  color: #f00;
  font-size: 1.4rem;
  padding-bottom: 10px;
}
.contact__required {
  display: inline-block;
  width: 3.7rem;
  height: 1.8rem;
  line-height: 1.8rem0;
  text-align: center;
  background: #ff5d5d;
  border-radius: .4rem;
  color: #fff;
  font-size: 1.1rem;
}
.contact__required--optional {
  background: #bebcbc;
}
.contact__body {
  margin-left: 15px;
  width: calc(100% - 45px - 15px);
}
.contact__input {
  clear: both;
  display: block;
  width: 100%;
  border: 1px solid #a1a1a1;
  border-radius: 4px;
  padding: 16px;
  font-size: 1.6rem;
}
select.contact__input {
  color: #333;
}
.contact__select {
  clear: both;
  background: url(../../images/contact/bg_select_01.png) no-repeat top 25px right 20px;
}
.contact select {
  -webkit-appearance: none;
  appearance: none;
}
.contact select::-ms-expand {
  display: none;
}
.contact textarea {
  height: 240px;
  line-height: 1.5;
}
.contact input[type="checkbox"] {
  margin-right: 10px;
}
.contact__button {
  display: inline-block;
  width: 260px;
  height: 50px;
  line-height: 50px;
  color: #fff;
  border-radius: 10px;
  background: #047f4a;
  text-align: center;
  cursor: pointer;
  font-size: 1.8rem;
  transition: 0.3s;
}
.contact__button:hover {
  background: #472715;
}
.contact__button--back {
  border: #047f4a solid 1px;
  background: var(--colorHoverGreen);
  color: #333;
  transition: 0.3s;
}
.contact__button--back:hover {
  background: #047f4a;
  color: #fff;
  transition: 0.3s;
}

.contact__button:last-child {
  margin-right: 0;
}
.contact__button:hover {
  opacity: 0.7;
}
.contact p {
  margin-bottom: 22px;
}
.contact p:last-child {
  margin-bottom: 0;
}
.contact > p {
  line-height: 2;
  margin-bottom: 60px;
}

.contact__confirm,
.contact__lead {
  padding: 0 10px;
  max-width: 900px;
  margin: 0 auto;
}
.contact__confirm {
  display: flex;
  flex-wrap: wrap;
}
.contact__confirm dt,
.contact__confirm dd {
  margin-bottom: 20px;
  line-height: 2;
}
.contact__confirm dt {
  width: 178px;
}
.contact__confirm dd {
  width: calc(100% - 178px);
}

.contact-thanks-wrap {
  background-color: #fff;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1100px;
  width: 100%;
  padding: 8rem 13.6rem 7.8rem 13.6rem;
}

.contact-thanks p {
  color: #000;
  line-height: 1.6;
  margin-bottom: 6.6rem;
  font-size: 1.8rem;
}

.direct-contact-tel {
  background-color: var(--colorHoverGreen);
  border-radius: 1rem;
  color: #000;
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 700;
  margin-inline: auto;
  padding: 2.5rem 5.6rem;
  width: fit-content;
}

.direct-contact-telLink {
  font-size: 1.8rem;
  font-weight: 700;
}

.contact-thanks p + div a {
  pointer-events: none;
}

.contact-thanks .contact__button {
  background-color: #047f4a;
  border-radius: 10px;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 400;
  margin-top: 6.7rem;
  height: 50px;
  width: 210px;
  transition: 0.3s;
}

.contact-thanks .button:hover {
  background: #472715;
  transition: 0.3s;
}

.contact-thanks .button span {
  text-align: center;
  background: none;
}

.contact-thanks .button:before,
.contact-thanks .button:after {
  display: none;
}

.contact-thanks img {
  padding-right: 6px;
  vertical-align: bottom;
}

.confirm__back__submit__container__item p {
  text-align: center;
}

.wpcf7-spinner {
  display: none;
}

@media screen and (max-width: 768px) {
  .container1100 {
    padding-inline: 2.5rem;
  }
  .contact__button {
    margin-inline: auto;
    width: 100%;
  }
  .contact__innerwrap {
    padding: 7.59493670886076vw 0 10.126582278481013vw;
  }
  .contact__innerwrap .contact__innerwrap {
    padding: 0;
  }
  .contact__element {
    flex-direction: column;
    border-bottom: none;
  }
  .contact__element dt {
    max-width: 100%;
    padding: 1rem 2rem;
    font-size: 1.6rem;
  }
  .contact__element dd {
    font-size: 1.6rem;
    padding: 2.6rem 2rem 4.6rem;
    min-height: 5.6rem;
    width: 100%;
  }
  .contact__element_title.flex_start {
    padding-top: 0;
  }

  .contact__element_title p {
    display: flex;
    align-items: center;
  }
  .contact__input {
    padding: 10px;
  }
  .contact__element textarea {
    height: 300px;
  }
  .contact__select {
    background: url(../img/contact/bg_select_01.png) no-repeat top 24px right 20px;
  }
  .mb30 {
    margin-bottom: 15px;
  }
  .contact__innerwrap .t-center {
    margin-top: 0.8rem;
  }
  .privacy-area {
    display: flex;
    row-gap: 1rem;
    flex-direction: column;
    justify-content: flex-start;
    margin-inline: auto;
    width: fit-content;
  }
  .only__first__step1 {
    font-size: 1.6rem;
    margin-bottom: 1.3rem;
  }
  .contact-thanks p {
    margin-bottom: 4.5rem;
  }
  .contact-thanks p + div a {
    pointer-events: auto;
    display: block;
    margin-top: 15px;
    font-size: 1.8rem;
  }
  .contact-thanks-wrap {
    padding: 5rem 2.5rem;
  }
  .contact-thanks p + div {
    flex-direction: column;
    font-size: 1.8rem;
    padding: 2.5rem;
    text-align: center;
    width: 100%;
  }
  .sec-group {
    padding: 0 0 60px;
  }
  .contact-thanks .contact__button {
    margin-top: 3.8rem;
    height: auto;
    width: 100%;
  }
}

.mw_wp_form_confirm {
  margin-top: 84px;
}

@media screen and (max-width: 768px) {
  .mw_wp_form {
    font-size: 1.4rem;
    line-height: 2;
  }
}

.confirm__back__submit__container {
  display: flex;
  justify-content: center;
  margin: 50px auto 0;
}

.confirm__back__submit__container div {
  margin: 0 12px 20px;
}

.mw_wp_form .error {
  font-size: 1.5rem !important;
}

.contact__element .error {
  margin-top: 5px;
}

.only__first__step1 .error {
  margin-left: 1rem;
}

.wpcf7-list-item-label {
  margin-left: 0.5rem;
}

.contact__element dd.confirm-textarea,
.confirm-textarea-dt {
  min-height: 283px;
}

.contact__element dd.confirm-textarea {
  padding-top: 34px;
}

.pageContents::after {
  content: "";
  position: absolute;
  display: block;
  background-image: url(../../images/common/img_bg_footer-leaf-2.webp);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0;
  width: 6.7rem;
  height: 4.7rem;
  top: 75rem;
  right: -8rem;
  animation: fall-left 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: 0.7s;
}

@media screen and (max-width: 768px) {
  .confirm__back__submit__container {
    display: block;
  }
  .confirm__back__submit__container + div {
    margin-bottom: 20px;
  }
  .only__first__step1 label .contact__required {
    display: block;
    align-self: flex-start;
    margin-left: 2.5rem;
  }
  .horizontal-item .mwform-checkbox-field-text {
    font-size: 1.4rem;
  }
  .horizontal-item input {
    transform: scale(1);
    margin-right: 6px !important;
  }
  .confirm__back__submit__container div {
    margin-bottom: 1.2rem;
    text-align: center;
  }

  .pageContents .leaf-1 {
    right: 0;
  }

  .thanks-page .pageContents .leaf-1 {
    right: 0;
    top: 48rem;
  }

  .pageContents::before {
    content: "";
    background: url(../../images/common/img_bg_right-tree-3-sp.png) no-repeat center center / contain;
    width: 25rem;
    height: 80rem;
    position: absolute;
    top: 88rem;
    right: 0;
    z-index: -1;
  }

  .contact__element dd.confirm-textarea,
  .contact__element dt {
    min-height: unset;
  }

  .contact__element dd.confirm-textarea {
    padding-top: 2.6rem;
  }
}
