@charset "UTF-8";

.p-contact {
  padding-bottom: 170px;
}

.p-contact__inner {
  margin-inline: auto;
  max-width: 1100px;
  padding-inline: 20px;
}

.p-contact__contents {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
  padding-bottom: 109px;
  padding-top: 90px;
  position: relative;
  z-index: 2;
}

.container {
  display: flex;
  flex-direction: column;
  font-family: "Noto Sans JP", sans-serif;
  gap: 40px;
  margin-inline: auto;
  max-width: 938px;
  padding-inline: 20px;
}

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

.row {
  gap: 8px;
  margin: 0;
}

.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: 180px;
}

.row > .formTd > input,
.row > .formTd > textarea,
.row > .formTd > div > div > select {
  background-color: #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: #555;
}

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

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

.privacy-policy {
  background-color: #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: #343434;
  border-radius: 4px;
  content: "";
  display: inline-block;
  flex-shrink: 0;
  height: 13px;
  width: 13px;
}

.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: #0d8e8e;
  border: 1px solid #0d8e8e;
  border-radius: 24px;
  color: #fff;
  cursor: pointer;
  display: block;
  font-size: 14px;
  letter-spacing: 0.7px;
  line-height: 1;
  margin: 14px auto 0;
  padding: 20px 0;
  text-align: center;
  transition: background 0.3s ease, color 0.3s ease;
  width: 183px;
}
.formBtn:hover {
  background: #fff;
  color: #483c42;
}

.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;
}

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

@media (min-width: 1024px) {
  .p-contact.c-page-main {
    margin-top: -180px;
  }
  .p-contact.c-page-main::before {
    top: -190px;
  }
}