@charset "utf-8";

.entry {
}

.contact {
  background: #e9e9e9;
  border-radius: 16px;
  margin-block-start: -5rem;
  padding-block-end: clamp(5rem, 2.1480918142rem + 12.1681415929vw, 11.875rem);
}

@media screen and (width >= 768px) {
  .contact {
    margin-block-start: -14.375rem;
  }
}

.contact label {
  margin: 0;
}

.contact .contact__wrap {
  border-radius: 5px;
  margin-inline: auto;
  padding-block-start: 9.375rem;
  padding-inline: clamp(1.25rem, 0.7314712389rem + 2.2123893805vw, 2.5rem);
  width: min(1020px, 100%);
}

@media screen and (width >= 768px) {
  .contact .contact__wrap {
    padding-block-start: 19.3125rem;
  }
}

.contact .contact__container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact .contact__item.contact-btn {
  align-items: center;
}

.contact .col-md-4,
.contact .col-md-8 {
  align-items: center;
  color: #272727;
  display: flex;
  flex: unset;
  flex-wrap: wrap;
  gap: 0.625rem;
  max-width: 100%;
  padding: 0;
}

.contact .row {
  margin: 0;
}

.contact .contact__item label {
  color: #272a2c;
  font-size: 16px;
  font-weight: 600;
}

.contact .contact__item > .formTh > .requiredText,
.contact .d-inline-block {
  background: #d80e0e;
  border-radius: 2px;
  color: #fff;
  display: grid;
  font-size: 12px;
  height: 18px;
  line-height: 1;
  padding: 0.125rem 0.25rem;
  place-items: center;
  text-align: center;
  width: 32px;
}

.contact .d-inline-block {
  background: #5a5a5a;
}

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

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

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

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

.contact .privacy-policy .privacy-link {
  text-decoration: underline;
  display: block;
}

.contact .privacy-policy .privacy-telBox {
    display: flex;
    align-items: center;
  margin-block: 20px;
}



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

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

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

.contact .privacy-policy__text {
  color: #646464;
  font-size: 14px;
  line-height: 2.2071428571;
}

.contact .privacy-policy__text-bottom {
  font-size: 14px;
  line-height: 2.0571428571;
  margin-top: -16px;
}

.contact .privacy-policy__text-link {
  text-decoration: underline;
}

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

.contact .formBtn {
  border: 1px solid rgb(39 42 44 / 50%);
  border-radius: 5px;
  color: #272a2c;
  display: block;
  font-size: 16px;
  line-height: 1;
  margin: 24px auto 0;
  margin-inline: auto;
  padding: 16px 0;
  position: relative;
  text-align: center;
  transition: color 0.3s ease, background 0.3s ease;
  width: 300px;
}

@media (any-hover: hover) {
  .contact .formBtn:hover {
    background: #3d3b3b;
    color: #fff;
    cursor: pointer;
    opacity: 1;
  }

  .contact .formBtn:hover::after {
    background: url(../images/icon_chevron-right.png) no-repeat center center/cover;
  }
}

.contact .formBtn::after {
  background: url(../images/icon_chevron-right-black.png) no-repeat center center/cover;
  content: "";
  height: 10px;
  position: absolute;
  right: 1em;
  top: 50%;
  transition: background 0.3s ease;
  translate: 0 -50%;
  width: 10px;
}

.contact .privChek {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-block-start: -0.625rem;
}

.contact .privacyLabel {
  color: #272a2c;
  font-size: 14px;
  font-weight: 500;
}

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

.contact .file-upload {
  position: relative;
  width: 100%;
}

.contact .file-upload .file-upload__dropzone {
  background: #fff;
  border: 1px solid #d3d3d3;
  border-radius: 3px;
  cursor: pointer;
  padding: 0.75rem;
  position: relative;
  text-align: center;
  transition: border-color 0.3s, background-color 0.3s;
}

.contact .file-upload .file-upload__input {
  cursor: pointer;
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.contact .file-upload .file-upload__label {
  color: #272727;
  font-size: clamp(0.75rem, 0.6981471239rem + 0.2212389381vw, 0.875rem);
}

.contact .file-upload .file-upload__filename {
  color: #888;
  font-size: 13px;
  max-width: 100%;
  overflow: hidden;
  position: absolute;
  right: 0;
  text-overflow: ellipsis;
  top: 100%;
  white-space: nowrap;
}

.contact .fileCaution {
  color: #272a2c;
  font-family: "Noto Sans JP";
  font-size: 13px;
  line-height: 25px;
  text-align: left;
}

.contact + * {
  margin-block-start: -1.25rem;
}

@media screen and (width >= 768px) {
  .contact + * {
    margin-block-start: -4.375rem;
  }
}

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

@media screen and (width >= 768px) {
  .contact .privacy-policy {
    padding: 39px;
  }
}

@media screen and (width >= 768px) {
  .contact .privacy-policy__text {
    font-size: 14px;
  }
}
