@charset "UTF-8";

.p-contact__contents {
  padding-block: 60px;
  padding-inline: 10px;
}

.p-contact__inner {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
  margin-inline: auto;
  max-width: 1060px;
  padding-bottom: 92px;
  padding-top: 50px;
}

.p-contact__data {
  margin-inline: auto;
  max-width: 918px;
  padding-inline: 10px;
}

.container {
  display: flex;
  flex-direction: column;
}

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

.row {
  gap: 6px;
  margin: 0;
  margin-top: 40px;
}

.row label {
  color: #454545;
  font-size: 14px;
  letter-spacing: normal;
  line-height: 1.4285714286;
}

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

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

.row > .formTd > textarea {
  height: 197px;
}

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

.row > .formTd > div > div > select {
  appearance: none;
  width: 235px;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("../images/arrow-down.svg");
  background-position: right 20px center;
  background-repeat: no-repeat;
  background-size: 12px;
  padding-right: 20px;
}

.row > .formTd > input::-moz-placeholder, .row > .formTd > textarea::-moz-placeholder {
  color: #555555;
}

.row > .formTd > input::placeholder,
.row > .formTd > textarea::placeholder {
  color: #555555;
}

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

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

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

.privacy-policy__title {
  align-items: center;
  border-bottom: 1.5px solid #d0d0d0;
  color: #464646;
  display: flex;
  font-size: 18px;
  font-weight: 500;
  gap: 28px;
  letter-spacing: 1.08px;
  padding: 0 0 15px 0;
}

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

.privacy-policy__text {
  color: #464646;
  font-size: 14px;
  letter-spacing: normal;
  line-height: 2.2;
  margin-top: 36px;
}
.privacy-policy__text a {
  color: inherit;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}
.privacy-policy__text a:hover {
  opacity: 0.6;
  text-decoration: underline;
}
.privacy-policy__text.privacy-policy__text02 {
  margin-top: 20px;
  padding-right: 20px;
}
.privacy-policy__text + .privacy-policy__text {
  margin-top: 30px;
}

.privacy-policy__text-link {
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

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

.formBtnTd {
  width: 100%;
}

.formBtn {
  background: #52b0ad;
  border: 1px solid #52b0ad;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  display: block;
  font-size: 15px;
  letter-spacing: 0.05em;
  line-height: 1;
  margin: 20px auto 0;
  padding: 14px 0;
  text-align: center;
  transition: background 0.3s ease, color 0.3s ease;
  width: 183px;
}
.formBtn:hover {
  background: #fff;
  color: #555555;
}

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

.privacyLabel {
  color: #424d58;
  font-size: 14px;
  letter-spacing: normal;
  margin-bottom: 1px;
}

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

.contact-day {
  margin-bottom: 10px;
}
.contact-day > .formTh {
  align-items: center;
  display: flex;
}
.contact-day__item {
  align-items: center;
  display: flex;
  margin-top: 5px;
}
.contact-day__item .formTh,
.contact-day__item .formTd {
  width: auto;
}
.contact-day__item .selectArea {
  align-items: center;
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-day__item .d-md-inline-block {
  align-items: center;
  display: flex !important;
  gap: 5px;
}
.contact-day__item.row > .formTd > div > div > select {
  width: 80px;
}
.contact-day__item.row > .formTd > div > div:nth-of-type(3) > select {
  width: 145px;
}

.contact-img .formTd > p {
  color: #7c7c7c;
  font-size: 13px;
  line-height: calc(25 / 13);
}

@media (min-width: 768px) {
  .privacy-policy {
    padding-block: 16px;
    padding-inline: 29px 29px;
  }
}

@media (min-width: 1024px) {
  .p-contact__contents {
    padding-bottom: 150px;
    padding-top: 125px;
  }
  .contact-day__item.row > .formTd > div > div > select {
    width: 90px;
  }
}