@charset "utf-8";

.contact__wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1100px;
  margin-inline: auto;
}
.contact__wrap .formRow {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  align-items: start;
  gap: 19px;
  position: relative;
}
@media screen and (min-width: 768px) {
 .contact__wrap .formRow {
  display: grid;
  grid-template-columns: 1fr 400px;
  }
}
@media screen and (min-width: 900px) {
 .contact__wrap .formRow {
  display: grid;
  grid-template-columns: 1fr 550px;
  }
}
@media screen and (min-width: 1200px) {
 .contact__wrap .formRow {
  display: grid;
  grid-template-columns: 1fr 820px;
  }
}

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

.col-md-4 {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 20px;
}
@media screen and (min-width: 768px) {
.col-md-4 {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
}
}

.row {
  margin: 0;
}

.contact__wrap .formRow label,
.label {
  color: #333333;
  font-size: 16px;
  font-weight: 700;
  line-height: calc(19 / 14);
  letter-spacing: 0;
  display: inline-block;
}

.contact__wrap .formRow .requiredText {
  background: #1283BA;
  width: 40px;
  border-radius: 30px;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  padding: 3px 2px 4px;
  margin-left: 0;
}
.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: #FFFFFF;
  padding: 30px 28px;
  font-size: 16px;
}
.contact__wrap .formRow select {
  width: min(100%, 400px);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('../images/arrow-down.svg');
  background-repeat: no-repeat;
    background-position: right 32px center;
    padding-right: 20px;
    background-size: 17px;
  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: 300px;
  padding: 30px 28px;
}

.date__item + .date__item {
  margin-top: 5px;
}
.date__item {
  display: flex;
  gap: 5px;
  align-items: start;
  flex-direction: column;
}
@media screen and (min-width: 768px) {
  .date__item {
    flex-direction: row;
    gap: 27px;
    align-items: center;
  }
}
.contact__wrap .date__wrap select {
  width: 49px;
  height: 50px;
  padding: 0 10px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none;
  cursor: pointer;
  font-size: 14px;
  text-align: center;
}
.date__item .selectArea {
  display: flex;
}
.labelText02 {
  padding: 0 10px 0 5px;
}
.date__item-body {
  display: flex;
}

.d-md-inline-block {
  display: inline-flex !important;
  align-items: end;
}

.privacy-policy {
  margin-top: 27px;
  height: 150px;
  padding: 30px 20px 27px;
  background: rgba(250, 250, 250, 0.6);
  border: 1px solid #333;
  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: 14px;
  line-height: calc(30 / 16);
  letter-spacing: 0;
  color: #464646;
}
@media screen and (min-width: 768px) {
  .privacy-policy__text {
    font-size: 16px;
  }
}
.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: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}
.privChek input {
  cursor: pointer;
}
.privacyLabel {
  margin-bottom: 1px;
  font-size: 16px;
  letter-spacing: 0;
  font-weight: 400;
  color: #333333;
  cursor: pointer;
}

.formBtn {
  display: block;
  margin: 54px auto 0 !important;
  padding: 22px 20px 22px 41px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
  width: min(100%, 360px);
  background: #333333;
  font-family: "Noto Sans JP", sans-serif;
    font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1;
  color: #FFFFFF;
  text-decoration: none;
  transition: background 0.3s;
}
.formBtn::after {
  content: "";
  background: url('../images/icon-arrow-white.svg') center / contain no-repeat;
  width: 36px;
  height: 36px;
}
.formBtn:hover {
  background: #1283B9;
}

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