@charset "utf-8";

.contact__box {
  padding: 60px 20px;
  border-radius: 10px;
  background: #FFFFFF;
  font-weight: 400;
  font-family: "Noto Sans JP", sans-serif;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  max-width: 1010px;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .contact__box {
    padding: 80px 40px;
  }
}
@media screen and (min-width: 1200px) {
  .contact__box {
    padding: 95px 80px 93px;
  }
}

.contact__wrap {
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.contact__wrap .formRow {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

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

.row {
 margin: 0;
}

.contact__wrap .formRow label,
.label {
  color: #5D5D5D;
  font-size: 14px;
  line-height: calc(20 / 14);
  letter-spacing: 0;
  display: inline-block;
}

.contact__wrap .formRow .requiredText {
  background: #D80E0E;
  width: 32px;
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  padding: 3px 2px 4px;
  margin-left: 10px;
}
.contact__wrap .formRow .optionalText {
  background: #6c757d;
}

.contact__wrap .formRow input,
.contact__wrap .formRow textarea,
.contact__wrap .formRow select{
  box-sizing: border-box;
  font: inherit;
  color: inherit;
  vertical-align: top;
  width: 100%;
  border-radius: 3px;
  border: 1px solid #D3D3D3;
  background: #F8F8F8;
  padding: 7px 15px 8px;
}
.contact__wrap .formRow select {
  width: 210px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('../images/arrow-down.svg');
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 20px;
  background-size: 12px;
  cursor: pointer;
}
.contact__wrap .formRow input::placeholder,
.contact__wrap .formRow textarea::placeholder,
.contact__wrap .formRow select::placeholder {
  color: #5A5A5A;
  letter-spacing: 0;
}

.contact__wrap .formRow textarea {
  height: 180px;
}

.privacy-policy {
  margin-top: 27px;
  height: 155px;
  padding: 30px 20px 27px;
  border-radius: 3px;
  border: 1px solid #D3D3D3;
  background: #FFFFFF;
  overflow-y: scroll;
  width: 100%;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .privacy-policy {
    padding: 35px 39px 27px 30px;
  }
}

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

.privacy-policy__title {
  font-size: 16px;
  letter-spacing: 0.006em;
  color: #464646;
  padding: 0 0 15px 0;
  border-bottom: 1.5px solid #D0D0D0;
  display: flex;
  gap: 15px;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .privacy-policy__title {
    font-size: 18px;
    gap: 28px;
  }
}
.privacy-policy__title::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: #272727;
  flex-shrink: 0;
}

.privacy-policy__text {
  margin-top: 20px;
  font-size: 13px;
  line-height: calc(30.8 / 14);
  letter-spacing: 0;
  color: #464646;
}
@media screen and (min-width: 768px) {
  .privacy-policy__text {
    font-size: 14px;
  }
}
.privacy-policy__text a {
  text-decoration: underline !important;
}
.privacy-policy__text a:hover {
  text-decoration: underline !important;
  opacity: 0.7;
}

.formBtn {
  display: block;
  margin: 45px auto 0;
}

.privChek {
  margin-top: -15px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.privChek input {
  cursor: pointer;
}
.privacyLabel {
  margin-bottom: 1px;
  font-size: 14px;
  letter-spacing: 0;
  color: #555555;
  cursor: pointer;
}

.formBtn {
  display: block;
  margin: 26px auto 0 !important;
  width: 219px;
  color: #fff;
  background: #FFA639;
  border: 1px solid #FFA639;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 20px;
  border-radius: 28px;
  transition: all 0.3s;
}
.formBtn:hover {
  cursor: pointer;
  color: #FFA639;
  background: #fff;
}

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