@charset "utf-8";

.contact{
  padding: 83px 20px 80px;
  background: #fff;
  border-radius: 5px;
}
@media screen and (min-width: 768px) {
  .contact{
    padding: 80px 40px;
  }
}
@media screen and (min-width: 1100px) {
  .contact{
    padding: 105px 150px 100px;
  }
}

.contact__wrap {
  display: flex;
  flex-direction: column;
  gap: 33px;
  font-family: "Noto Sans JP", serif;
}

.contact__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.row {
 margin: 0;
}

.contact__item label {
  color: #5A5A5A;
  font-size: 14px;
  line-height: calc(20 / 14);
  letter-spacing: 0;
  font-family: "Noto Serif JP", serif;
}

.contact__item > .formTh > .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__item > .formTd > input,
.contact__item > .formTd > textarea,
.contact__item > .formTd > div > select{
  box-sizing: border-box;
  font: inherit;
  color: inherit;
  vertical-align: top;
  width: 100%;
  border-radius: 3px;
  border: 1px solid #D3D3D3;
  background: #F3F4F5;
  padding: 5px 13px 7px;
}

.contact__item > .formTd > div > 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 10px center;
  padding-right: 20px;
  background-size: 12px;
}

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

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

.privacy-policy {
  margin-top: 16px;
  height: 155px;
  padding: 25px 30px 27px 18px;
  border-radius: 3px;
  border: 1px solid #D3D3D3;
  background: #F3F4F5;
  overflow-y: scroll;
  width: 100%;
  margin-inline: auto;
  font-family: "Noto Serif JP", serif;
}
@media screen and (min-width: 768px) {
  .privacy-policy {
    padding: 33px 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: 900px) {
  .privacy-policy__title {
    font-size: 18px;
    gap: 28px;
  }
}

.privacy-policy__title::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: #002955;
  flex-shrink: 0;
}

.privacy-policy__text {
  margin-top: 20px;
  font-size: 14px;
  line-height: calc(30.8 / 14);
  letter-spacing: 0;
  color: #646464;
}

.formBtn {
  display: block;
  margin: 51px auto 0;
  padding: 13px 0;
  border-radius: 25px;
  border: 1px solid #E0ECF5;
  width: 217px;
  background: #E0ECF5;
  color: #0F355E;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  transition: all 0.3s;
}
.formBtn:hover {
  background: #0F355E;
  color: #E0ECF5;
}

.privChek {
  margin-top: -19px;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

