/** Form CSS **/
.form__area {
  background: linear-gradient(222deg, #fcfefe 2.78%, #e8f0f0 97.06%);
  padding: 80px 0;
}
@media screen and (max-width: 1279px) {
  .form__area {
    padding: 80px 0 120px;
  }
}
.form__heading {
  display: flex;
  flex-direction: column;
  color: #60a8b0;
  font-size: 48px;
  margin: 0 auto 32px;
  padding: 0;
  line-height: 1.4;
  text-align: center;
  letter-spacing: 0.05em;
  @media screen and (max-width: 1279px) {
    font-size: 40px;
    margin: 0 auto 51px;
  }
  @media screen and (max-width: 767px) {
    font-size: 32px;
    margin-bottom: 7px;
  }
}
@media screen and (max-width: 767px) {
  #form__section .form__heading {
    margin-bottom: 42px;
  }
}

.form__heading-small {
  font-size: 32px;
}
.form__center {
  text-align: center;
  width: calc(100% - 48px);
  margin: 0 auto 48px !important;
}
.form__box {
  width: calc(100% - 48px);
  margin: 0 auto 64px;
  display: flex;
  flex-direction: column;
  gap: 27px;
  align-items: flex-start;
  color: #fff;
}
.form__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.form__item-text {
  font-size: 18px;
  padding-left: 8px;
  color: #555;
  line-height: 1.2;
}
.form__item-text em {
  font-size: 16px;
}
.form__item-flex {
  display: flex;
  align-items: stretch;
  width: 100%;
  flex-wrap: wrap;
  position: relative;
}
div.mfp_ok {
  position: absolute;
  top: 68px;
}
div.mfp_err {
  position: absolute;
  top: 60px;
}
.form__age .form__item-flex {
  /* max-width: 278px; */
  max-width: 100%;
}
.form__colmun-flex {
  display: flex;
  flex-direction: column;
  width: 100%;
  flex-wrap: wrap;
  gap: 32px;
}
.form__item-left {
  display: flex;
  width: 56px;
  height: 64px;
  font-size: 16px;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 0px;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}
.form__textarea .form__item-left {
  height: 256px;
}
.form__hasselect::before {
  content: "";
  position: absolute;
  background: url(/assets/img/form/form-select-icon.webp) no-repeat;
  transform: translate(0, -50%);
  background-size: cover;
  top: 50%;
  right: 20px;
  width: 18px;
  height: 10px;
}
.form__item-input {
  font-size: 17px;
  max-width: 100%;
  width: calc(100% - 56px);
  color: #555;
  background: #fff;
  padding: 16px;
  border-radius: 0px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}
.form__item-kome {
  margin-left: 8px;
  display: block;
  text-indent: -1.2em;
  padding-left: 1.2em;
  line-height: 1.4;
  font-size: 15px;
  letter-spacing: 0;
}
.form__required {
  background: #70bac0;
}
.form__any {
  background: #b3b3b3;
}
.form-btn {
  margin: auto;
  display: block;
  max-width: 310px;
  width: 100%;
  transform: translateX(3px);
}
.form__btn-image img {
  width: 100% !important;
  height: auto;
  margin: auto !important;
}
.form__bottomlist {
  display: flex;
  flex-direction: column;
  padding: 49px 0 48px;
  margin: 64px 0 0;
  gap: 25px;
}
.form__bottomlist li {
  font-size: 15px;
  width: calc(100% - 48px);
  margin: auto;
  line-height: 1.6;
  padding-left: 24px;
  padding-right: 16px;
  position: relative;
}
.form__list-area {
  background: #fff;
  margin: 0 auto;
  width: calc(100% - 48px);
}
ul.form__bottomlist > li:not(:last-of-type) {
  margin-bottom: 0;
}
.form__bottomlist li::before {
  content: "";
  position: absolute;
  background: url(/assets/img/form/form-list-icon-blue.svg) no-repeat;
  background-size: cover;
  top: 5px;
  left: 5px;
  width: 6px;
  height: 12px;
}
select.form__item-input {
  padding-right: 56px;
  align-items: center;
}
textarea.form__item-input {
  padding: 32px 20px;
  line-height: 1.6;
}
::placeholder {
  color: #d9d9d9;
}
form#mailformpro {
  padding: 0px;
}
div.mfp_buttons > * {
  background: #5bb7d3;
  padding: 12px 16px;
  color: #fff;
}
.form__bottomlist li > a {
  text-decoration: underline;
  display: inline-block;
  transform: translateY(6px);
}
.form__bottomlist li > a:hover {
  text-decoration: none;
  color: #fff;
}
.form__btn-image {
  /* width: calc(100% - 40px); */
  margin: 0 auto 48px;
  transition: ease all 0.5s;
}
.form__btn-image:hover {
  opacity: 0.8;
}
.form__listlink .btn__tel-num {
  font-size: 20px;
  display: inline-flex;
  margin: 0 3px;
  gap: 2px;
  line-height: 1;
  color: #60a8b0;
}
.form__bottomlist li > a.form__listlink {
  text-decoration: none;
}
.form__bottomlist li > a.form__listlink:hover {
  color: #333c77 !important;
}
.form__listlink .btn__tel-num::before {
  /* width: 12px;
  height: 16px; 
  margin-top: 0;*/
}
div.mfp_ok {
  display: none !important;
}

@media screen and (min-width: 768px) {
  .form__colmun-flex .form__item {
    width: 47%;
  }
  .form__colmun-flex {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
  .form-btn {
    max-width: 480px;
  }

  .form__age .form__item-flex {
    max-width: 298px;
  }
  .form__box {
    width: calc(100% - 80px);
    gap: 40px;
  }
  .form__center {
    width: calc(100% - 80px);
    font-size: 17px;
    margin-bottom: 32px;
    text-align: center;
  }
  .form__item-text {
    font-size: 20px;
  }
  .form__item-left {
    width: 72px;
  }
  .form__item-input {
    padding-left: 20px;
    font-size: 18px;
    width: calc(100% - 72px);
  }
  .form__list-area {
    max-width: calc(100% - 80px);
    margin-top: 104px;
  }
  .form__bottomlist {
    margin: 64px auto 0;
    padding: 48px 46px 59px;
    gap: 24px;
  }
}

@media screen and (min-width: 1280px) {
  .form__area {
    padding: 140px 0;
  }
  .form__heading {
    font-size: 56px;
    line-height: 1.4;
  }
  .form__heading-small {
    font-size: 46px;
  }
  .form__heading {
    font-size: 48px;
    line-height: 1.4;
    letter-spacing: 0.04em;
    margin-bottom: 40px;
  }
  .form__center {
    font-size: 19px;
    margin-bottom: 32px;
    text-align: center;
  }
  .form__box {
    max-width: 832px;
    gap: 40px;
  }
  .form__item-text {
    font-size: 20px;
  }
  .form__colmun-flex {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
  .form__hasselect {
    max-width: 432px;
  }
  .form__colmun-flex .form__item {
    width: 47%;
  }
  .form__item-text em {
    font-size: 18px;
  }
  .form__item-input {
    padding-left: 20px;
    font-size: 18px;
    width: calc(100% - 72px);
  }
  .form__item-kome {
    font-size: 16px;
  }
  textarea.form__item-input {
    padding: 24px 32px;
  }
  .form__item-left {
    width: 72px;
  }
  .form__textarea .form__item-left {
    height: 176px;
  }
  textarea.form__item-input {
    height: 176px;
  }
  .form-btn {
    max-width: 480px;
  }
  .form__bottomlist {
    /* max-width: 832px; */
    margin: 64px auto 0;
    padding: 48px 84px 53px;
    gap: 18px;
  }
  .form__bottomlist li {
    font-size: 18px;
    line-height: 1.6;
    width: 100%;
  }
  .form__bottomlist li::before {
    top: 9px;
    width: 7px;
    height: 13px;
  }
  .form__age .form__item-flex {
    max-width: 298px;
  }
  .form__center {
    margin-bottom: 59px !important;
  }
  .form__list-area {
    max-width: 832px;
    margin-top: 104px;
  }
  .form__btn-image {
    width: 100%;
    margin-bottom: 47px;
    cursor: pointer;
  }
}

@media screen and (max-width: 800px) {
  table#mfp_confirm_table tr th {
    white-space: normal;
    width: 100px;
    line-height: 1.6;
  }
}
