@charset "UTF-8";
/* form.css（ベース：Basecode/component/original-cms/contact-form）
   XD：export_0010（フォーム枠 771 / r10 / #EBECE8）
   .row.formRow の中はクラスを追加せず、親から入れ子で指定する */
.p-form {
  margin-block-start: 4.9375rem;
  padding-block-start: 4.875rem;
  border-top: 2px solid #b6b5b4;
}
@media (min-width: 768px) {
  .p-form {
    margin-block-start: 7.4375rem;
    padding-block-start: 7.4375rem;
  }
}

.p-form__inner {
  width: 100%;
  max-width: 36.25rem;
  margin-inline: auto;
  padding-inline: 1.1875rem;
}
@media (min-width: 768px) {
  .p-form__inner {
    max-width: max(50.6875rem, 560px);
    padding-inline: 1.25rem;
  }
}

.p-form__title {
  color: #000000;
  text-align: center;
  font-size: max(1.75rem, 22.4px);
}
@media (min-width: 0px) {
  .p-form__title {
    font-size: 1.75rem;
  }
}
.p-form__title {
  font-weight: 900;
  line-height: 1.4285714286;
}
@media (min-width: 768px) {
  .p-form__title {
    font-size: max(2rem, 8px);
    font-weight: 900;
    line-height: 1.4375;
  }
}

.p-form__lead {
  width: min(100%, 18.75rem);
  margin-block-start: 1.125rem;
  margin-inline: auto;
  color: #000000;
  text-align: center;
  font-size: max(0.875rem, 11.2px);
}
@media (min-width: 0px) {
  .p-form__lead {
    font-size: 0.875rem;
  }
}
.p-form__lead {
  font-weight: 400;
  line-height: 1.7142857143;
}
@media (min-width: 768px) {
  .p-form__lead {
    width: min(100%, max(32.375rem, 400px));
    margin-block-start: 1.25rem;
    font-size: max(1rem, 8px);
    font-weight: 400;
    line-height: 1.5;
  }
}

.p-form__note {
  margin-block-start: 1.0625rem;
  color: #ff0000;
  font-size: max(0.875rem, 11.2px);
}
@media (min-width: 0px) {
  .p-form__note {
    font-size: 0.875rem;
  }
}
.p-form__note {
  font-weight: 400;
  line-height: 1.4285714286;
}
@media (min-width: 768px) {
  .p-form__note {
    margin-block-start: 3.5rem;
    font-size: max(1rem, 8px);
    font-weight: 400;
    line-height: 1.5;
  }
}

.p-form__contents {
  margin-block-start: 0.5rem;
  padding: 2.5rem 1.1875rem 2.5rem;
  background-color: #ebece8;
  border-radius: 0.3125rem;
}
@media (min-width: 768px) {
  .p-form__contents {
    margin-block-start: 1rem;
    padding: 4rem;
    border-radius: 0.625rem;
  }
}

.p-form .row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 0;
  margin-right: 0;
}

.p-form__container {
  display: flex;
  flex-direction: column;
  row-gap: 2.25rem;
}
@media (min-width: 768px) {
  .p-form__container {
    row-gap: 2.75rem;
  }
}
.p-form__container .col-md-4 {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  column-gap: 0.25rem;
  margin-block-end: 0.75rem;
}
@media (min-width: 768px) {
  .p-form__container .col-md-4 {
    margin-block-end: 1rem;
  }
}
.p-form__container .col-md-4 > label {
  margin-bottom: unset;
}
.p-form__container .col-md-4,
.p-form__container .col-md-8,
.p-form__container .col-md-6 {
  flex: unset;
  max-width: 100%;
  padding: 0;
  width: 100%;
}
.p-form__container .labelText01 {
  color: #000000;
  font-size: max(1rem, 12.8px);
}
@media (min-width: 0px) {
  .p-form__container .labelText01 {
    font-size: 1rem;
  }
}
.p-form__container .labelText01 {
  font-weight: 400;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .p-form__container .labelText01 {
    font-size: max(1.125rem, 8px);
    font-weight: 400;
    line-height: 1.4444444444;
  }
}
.p-form__container .requiredText {
  color: #ff0000;
  font-size: max(1rem, 12.8px);
}
@media (min-width: 0px) {
  .p-form__container .requiredText {
    font-size: 1rem;
  }
}
.p-form__container .requiredText {
  font-weight: 500;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .p-form__container .requiredText {
    font-size: max(1rem, 8px);
    font-weight: 500;
    line-height: 1.5;
  }
}
.p-form__container input[type=text],
.p-form__container input[type=email],
.p-form__container select,
.p-form__container textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 0.8125rem;
  color: #000000;
  background-color: #ffffff;
  border: none;
  border-radius: 0;
  font-size: max(0.875rem, 11.2px);
}
@media (min-width: 0px) {
  .p-form__container input[type=text],
  .p-form__container input[type=email],
  .p-form__container select,
  .p-form__container textarea {
    font-size: 0.875rem;
  }
}
.p-form__container input[type=text],
.p-form__container input[type=email],
.p-form__container select,
.p-form__container textarea {
  font-weight: 400;
  line-height: 1.7142857143;
}
@media (min-width: 768px) {
  .p-form__container input[type=text],
  .p-form__container input[type=email],
  .p-form__container select,
  .p-form__container textarea {
    min-height: max(3.6875rem, 44px);
    padding: 1rem 0.8125rem;
    font-size: max(1.125rem, 8px);
    font-weight: 400;
    line-height: 1.4444444444;
  }
}
.p-form__container input[type=text]::placeholder,
.p-form__container input[type=email]::placeholder,
.p-form__container select::placeholder,
.p-form__container textarea::placeholder {
  color: #7c7b7b;
}
.p-form__container select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-inline-end: 3rem;
  color: #7c7b7b;
  background-image: url("https://fukusatogama33.com/system_panel/uploads/images/select-triangle.svg");
  background-position: right 0.875rem center;
  background-repeat: no-repeat;
  background-size: 0.875rem auto;
  cursor: pointer;
}
@media (min-width: 768px) {
  .p-form__container select {
    background-position: right 2.0625rem center;
    background-size: 1.125rem auto;
  }
}
.p-form__container textarea {
  height: 9.6875rem;
  resize: vertical;
}
@media (min-width: 768px) {
  .p-form__container textarea {
    height: max(9.3125rem, 120px);
  }
}
.p-form__container .formErrorContent {
  color: #ff0000;
  font-size: max(0.75rem, 8px);
  line-height: 1rem;
  margin-block-start: 0.625rem;
}
.p-form__container .text-center {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 0.5rem;
}
.p-form__container .text-center label {
  margin-block-end: 0;
}
.p-form__container input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  background-color: #ffffff;
  border: 1px solid #000000;
  border-radius: 0;
  cursor: pointer;
}
@media (min-width: 768px) {
  .p-form__container input[type=checkbox] {
    width: max(1.5rem, 18px);
    height: max(1.625rem, 19px);
  }
}
.p-form__container input[type=checkbox]::after {
  content: "";
  width: 30%;
  height: 55%;
  margin-block-start: -15%;
  border-right: 2px solid #000000;
  border-bottom: 2px solid #000000;
  rotate: 45deg;
  visibility: hidden;
  pointer-events: none;
}
.p-form__container input[type=checkbox]:checked::after {
  visibility: visible;
}
.p-form__container .privacyLabel {
  color: #000000;
  cursor: pointer;
  font-size: max(0.8125rem, 10.4px);
}
@media (min-width: 0px) {
  .p-form__container .privacyLabel {
    font-size: 0.75rem;
  }
}
.p-form__container .privacyLabel {
  font-weight: 400;
  line-height: 1.5384615385;
}
@media (min-width: 768px) {
  .p-form__container .privacyLabel {
    font-size: max(1.125rem, 8px);
    font-weight: 400;
    line-height: 1.4444444444;
  }
}

/*----------------------------------
  プライバシーポリシー（XD：643x148 白 / 14px #7C7B7B）
  ※ .row.formRow の中だが、例外として p-form__privacy を付与してよい（original-cms ルール）
-----------------------------------*/
.p-form__privacy {
  overflow-y: auto;
  height: 9.6875rem;
  padding: 1rem 0.875rem;
  background-color: #ffffff;
}
@media (min-width: 768px) {
  .p-form__privacy {
    height: max(9.25rem, 120px);
    padding: 1.375rem 1.0625rem;
  }
}
.p-form__privacy p {
  color: #7c7b7b;
  font-size: max(0.75rem, 9.6px);
}
@media (min-width: 0px) {
  .p-form__privacy p {
    font-size: 0.75rem;
  }
}
.p-form__privacy p {
  font-weight: 400;
  line-height: 1.6666666667;
}
@media (min-width: 768px) {
  .p-form__privacy p {
    font-size: max(0.875rem, 8px);
    font-weight: 400;
    line-height: 1.4285714286;
  }
}
.p-form__privacy p + p {
  margin-block-start: 1.4em;
}

/*----------------------------------
  送信ボタン（XD：長方形 4432 272x69 / r35 / 枠 #403C3C / 20px Bold）
-----------------------------------*/
.p-form__btn {
  display: grid;
  place-items: center;
  width: min(100%, 14.4375rem);
  min-height: 3.25rem;
  margin-block-start: 0.25rem;
  margin-inline: auto;
  color: #000000;
  background-color: #ffffff;
  border: 2px solid #000000;
  border-radius: 100vmax;
  font-size: max(1rem, 12.8px);
}
@media (min-width: 0px) {
  .p-form__btn {
    font-size: 1rem;
  }
}
.p-form__btn {
  font-weight: 900;
  line-height: 1.625;
  --btn-grad-1: #ffffff;
  --btn-grad-2: #ffffff;
  --btn-grad-3: #ffffff;
  background-image: linear-gradient(96deg, var(--btn-grad-1) 0%, var(--btn-grad-2) 50.7%, var(--btn-grad-3) 100%);
  transition: --btn-grad-1 0.3s ease, --btn-grad-2 0.3s ease, --btn-grad-3 0.3s ease;
}
@media (any-hover: hover) {
  .p-form__btn:hover {
    opacity: 1;
    --btn-grad-1: #ffbd28;
    --btn-grad-2: #fbe93e;
    --btn-grad-3: #fac639;
  }
}
@media (min-width: 768px) {
  .p-form__btn {
    width: min(100%, max(17rem, 200px));
    min-height: max(4.3125rem, 48px);
    margin-block-start: 0.75rem;
    border: 1px solid #403c3c;
    font-size: max(1.25rem, 8px);
    font-weight: 700;
    line-height: 1.45;
  }
}
