@charset "UTF-8";

.p-form__body {
  padding-block: 15px 70px;
}
@media screen and (min-width:768px) {
  .p-form__body {
    padding-block: 15px 140px;
  }
}

.fileArea {
  height: 50px;
}

.fileInput {
  width: 100%;
  height: inherit;
  font-size: 14px;
  line-height: 1;
}

.fileInput::-webkit-file-upload-button {
  width: 132px;
  height: 50px;
  color: #fff;
  background: #494d53;
  font-size: 14px;
  font-weight: 400;
  border-radius: 3px;
  border: 2px solid #494d53;
  cursor: pointer;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.fileInput::file-selector-button {
  width: 132px;
  height: 50px;
  color: #fff;
  background: #494d53;
  font-size: 14px;
  font-weight: 400;
  border-radius: 3px;
  border: 2px solid #494d53;
  cursor: pointer;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}


.fileCaution {
  color: #969696;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4166666667;
  margin-top: 8px;
}


.p-contact__btn-top {
  padding: 15px 60px 20px 100px;
  max-width: 500px;
  background: #5dc340;
  -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
          box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
  border-radius: 10px;
  margin-inline: auto;
  position: relative;
  cursor: pointer;
}
.p-contact__btn-top::before {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  left: 28.28px;
  width: 61.72px;
  height: 61.72px;
  background: url(../images/line-message.png) no-repeat center center/cover;
}
.p-contact__btn-top::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 22px;
  width: 40.08px;
  height: 40.08px;
  background: url(../images/line-arrow.png) no-repeat center center/cover;
}
@media screen and (min-width:768px) {
  .p-contact__btn-top::before {
    top: 22.64px;
    translate: 0;
  }
  .p-contact__btn-top::after {
    top: 33.46px;
    translate: 0;
  }
}

.texts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #ffffff;
}

.btn-text-left {
  font-size: 32px;
  line-height: 1.4375;
  letter-spacing: 1.92px;
  font-weight: 600;
}

.btn-text-right {
  padding-left: 6px;
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: 1.2px;
  font-weight: 700;
}

.btn-text-bottom {
  padding-top: 7px;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.4705882353;
  letter-spacing: 1.02px;
  font-weight: 700;
}

.p-contact__body {
  padding-block: 70px 80px;
}
@media screen and (min-width:768px) {
  .p-contact__body {
    padding-block: 140px 160px;
  }
}

.contact {
  padding-top: 80px;
  color: #5a5a5a;
  max-width: 900px;
  margin-inline: auto;
}
@media screen and (min-width:768px) {
  .contact {
    padding-top: 137px;
  }
}
.contact__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 40px;
}

.contact__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 17px;
}
.contact__item + .contact__item {
  margin-top: 37px;
}

.col-md-4,
.col-md-8 {
  padding: 0;
  max-width: 100%;
  -webkit-box-flex: unset;
      -ms-flex: unset;
          flex: unset;
}

.row {
  margin: 0;
}

.contact__item label {
  font-size: 14px;
  line-height: 1.3571428571;
}

.contact__item > .formTh > .requiredText {
  background: #d80e0e;
  width: 32px;
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  padding: 3px 2px;
  margin-left: 10px;
}

.contact__item > .formTh > .anyText {
  background: #5c5c5c;
  width: 32px;
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  padding: 3px 2px;
  margin-left: 10px;
}

.contact__item > .formTd > textarea {
  height: 180px;
}

:focus-visible {
  outline: #284038 auto 1px;
}

.privacy-policy {
  margin-top: 50px;
  height: 155px;
  padding: 30px 20px;
  border-radius: 3px;
  border: 1px solid #d3d3d3;
  background: #F3F4F5;
  overflow-y: scroll;
  width: 100%;
  margin-inline: auto;
}

@media screen and (min-width: 768px) {
  .privacy-policy {
    padding: 8px 43px 8px 34px;
  }
}
.privacy-policy__text.privacy-policy__text--first {
  margin: 0;
}

.privacy-policy__item {
  max-width: 828px;
}

.privacy-policy__item + .privacy-policy__item {
  margin-top: 52px;
}

.privacy-policy__title {
  font-size: 18px;
  letter-spacing: 0.006em;
  color: #464646;
  padding: 0 0 15px 0;
  border-bottom: 1.5px solid #d0d0d0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 28px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.privacy-policy__title::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: #184EA3;
}

.privacy-policy__text {
  margin-top: 20px;
  font-size: 14px;
  line-height: 2.2;
  color: #646464;
}

.privacy-policy__text-bottom {
  margin-top: -16px;
  font-size: 14px;
  line-height: 2.0571428571;
}

.privacy-policy__text-link {
  text-decoration: underline;
}

.privacy-policy__text-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.privacy-policy__text-link:hover {
  opacity: 0.6;
  text-decoration: underline;
}

.privacy-policy__check {
  margin-top: 20px;
}

.formBtn {
  margin: 80px auto 0;
  padding: 5px 0;
  border-radius: 28px;
  border: 1px solid #184EA3;
  width: 200px;
  background: #184EA3;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 2.8125;
  text-align: center;
  cursor: pointer;
}

.formBtn:hover {
  background: transparent;
  color: #184EA3;
}

.privChek {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
}

.privacyLabel {
  margin-bottom: 1px;
  font-size: 14px;
}

.privacyformError {
  margin-top: -36.5px !important;
}

.contact__item > .formTd > input,
.contact__item > .formTd > textarea,
.contact__item > .formTd > select {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font: inherit;
  color: inherit;
  vertical-align: top;
  width: 100%;
  border-radius: 3px;
  border: 1px solid #d3d3d3;
  background: #F3F4F5;
  padding: 15px 14px 15px;
}

.contact__item > .formTd > select {
  width: min(320px, 100%);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("../images/arrow-down.svg");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 20px;
  background-size: 12px;
}

.contact__item > .formTd > input::-webkit-input-placeholder, .contact__item > .formTd > textarea::-webkit-input-placeholder, .contact__item > .formTd > div > select::-webkit-input-placeholder {
  color: #5a5a5a;
}

.contact__item > .formTd > input::-moz-placeholder, .contact__item > .formTd > textarea::-moz-placeholder, .contact__item > .formTd > div > select::-moz-placeholder {
  color: #5a5a5a;
}

.contact__item > .formTd > input:-ms-input-placeholder, .contact__item > .formTd > textarea:-ms-input-placeholder, .contact__item > .formTd > div > select:-ms-input-placeholder {
  color: #5a5a5a;
}

.contact__item > .formTd > input::-ms-input-placeholder, .contact__item > .formTd > textarea::-ms-input-placeholder, .contact__item > .formTd > div > select::-ms-input-placeholder {
  color: #5a5a5a;
}

.contact__item > .formTd > input::placeholder,
.contact__item > .formTd > textarea::placeholder,
.contact__item > .formTd > div > select::placeholder {
  color: #5a5a5a;
}

input[type=radio] {
  width: 1px;
  height: 1px;
  position: absolute;
  clip: rect(0, 0, 0, 0);
}

.d-inline:nth-of-type(n+2) {
  padding-left: 20px;
}

/* ラベルのデザイン */
.checkbox-label {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
  font-size: 16px;
  position: relative;
  padding-left: 30px; /* ラジオボタン用のスペースを確保 */
}

.p-contact-after__body {
  padding-top: 50px;
  padding-bottom: 50px;
}
@media screen and (min-width:768px) {
  .p-contact-after__body {
    padding-top: 150px;
    padding-bottom: 150px;
  }
}

.p-contact-after__text {
  color: #24354C;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: 1px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}
@media screen and (min-width:768px) {
  .p-contact-after__text {
    font-size: 18px;
  }
}