@charset "utf-8";

.contact__box {
  max-width: 900px;
  margin: 0 auto;
}

.contact__wrap {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
@media screen and (min-width: 768px) {
  .contact__wrap {
    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: #555555;
  font-size: 14px;
  line-height: calc(19 / 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: #FFFFFF;
  padding: 15px 14px;
}
.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;
}

.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: 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: 80px auto 0 !important;
  width: 200px;
  color: #fff;
  background: #0080D9;
  border: 1px solid #0080D9;
  font-size: 16px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
  color: #fff;
  text-align: center;
  padding: 20px;
  border-radius: 28px;
  transition: all 0.3s;
}
.formBtn:hover {
  color: #0080D9;
  background: #fff;
}

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

/* orderのチェックボックス */
.checkArea {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 10px;
}

@media screen and (min-width: 768px) {
  .checkArea {
    grid-template-columns: repeat(2, 1fr);
    gap: 33px;
  }
}

@media screen and (min-width: 1000px) {
  .checkArea {
    grid-template-columns: repeat(3, 1fr);
    gap: 33px;
  }
}