@charset "UTF-8";
:root {
  --blue: #376177;
}

.contact-main {
  background: var(--blue);
}

.privacy-section {
  padding: 188px var(--main-pad) 134px;
  font-size: 16px;
}
.privacy-section h2 {
  margin-top: 60px;
}
.privacy-section ol {
  margin-bottom: 20px;
}
.privacy-section ol li {
  list-style-type: num;
  position: relative;
}
.privacy-section ol li li {
  list-style-type: lower-latin;
}
.privacy-section ol li li li {
  list-style-type: disc;
}

.privacy-section .lower-heading {
  margin-bottom: 151px;
}

.contact-lead,
.contact-form,
.contact-note,
.contact-line > p,
.contact-line__note {
  margin-left: auto;
  margin-right: auto;
}

.contact-line__note {
  font-size: 13px;
  padding-top: 30px;
}

.contact-lead {
  position: relative;
  font-size: 15px;
  line-height: 2.1;
}

.contact-lead {
  width: min(960px, 100%);
}
.contact-lead .text {
  font-size: 16px;
  margin-bottom: 35px;
}
.contact-lead .attention {
  font-size: 13px;
  margin-bottom: 60px;
}

.contact-phone {
  position: absolute;
  right: 0;
  top: 90px;
  font-family: var(--latin);
  font-size: 34px;
  line-height: 0.5;
  text-align: right;
}
.contact-phone img {
  display: inline;
}

.contact-phone small {
  display: block;
  font-size: 13px;
}

.contact-form {
  width: min(960px, 100%);
  margin-top: 57px;
  font-size: 13px;
}

.contact-form label {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 160px 4px 1fr;
  grid-template-columns: 160px 1fr;
  gap: 4px;
  -webkit-box-align: top;
      -ms-flex-align: top;
          align-items: top;
  font-size: 13px;
  padding: 20px 0 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}

.contact-form label > span:first-child {
  padding-left: 10px;
  margin-top: -10px;
}

.contact-form em {
  font-style: normal;
  padding-bottom: 10px;
}

.contact-form input[type=text],
.contact-form input[type=tel],
.contact-form input[type=email],
.contact-form input[type=date],
.contact-form textarea {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  outline: 0;
}

.contact-form input[type=date] {
  padding: 8px;
  margin-top: 5px;
  background: #5a8091;
}

.contact-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.contact-form .wpcf7-list-item {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0 18px 0 0;
}

.contact-form .wpcf7-list-item label {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  min-height: 0;
  padding: 0;
  border: 0;
}

.contact-form .wpcf7-list-item input {
  width: auto;
  margin: 0;
}

.contact-form .wpcf7-list-item-label {
  padding-left: 0;
  margin-top: 0;
}

.contact-form__dates {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 70px 0px 1fr;
  grid-template-columns: 70px 1fr;
  gap: 0px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  line-height: 2.9em;
}

.contact-form__dates::after {
  content: none;
}

.contact-form__check,
.contact-form__dates {
  font-size: 13px;
  padding-right: 40px;
}

.contact-form__message {
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
  min-height: 164px;
  padding-top: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.contact-form textarea {
  height: 110px;
  resize: vertical;
}

.contact-form__privacy {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
  font-size: 16px !important;
  min-height: auto !important;
  margin: 43px 0 26px;
  border: 0 !important;
}
.contact-form__privacy a {
  font-weight: bold;
  text-decoration: underline;
}

.contact-form .wpcf7-acceptance {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 43px 0 26px;
  font-size: 16px;
}

.contact-form .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.contact-form .wpcf7-acceptance label {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  min-height: 0;
  padding: 0;
  border: 0;
}

.contact-form .wpcf7-acceptance a {
  font-weight: bold;
  text-decoration: underline;
}

.contact-form .wpcf7-spinner {
  position: absolute;
}

.contact-submit {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: min(960px, 100%);
  height: 74px;
  margin: 0 auto;
  border: 0;
  background: var(--white);
  color: var(--blue);
  font-size: 20px;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.contact-submit::after {
  content: "→";
  position: absolute;
  right: 28px;
  font-family: var(--sans);
  font-size: 14px;
}

.contact-submit::after {
  content: "→";
  position: absolute;
  right: 28px;
  font-family: var(--sans);
  font-size: 14px;
}

.contact-submit--line span {
  position: relative;
}

.contact-submit--line span:before {
  content: "";
  background: url("../assets/figma/line-green.png") 0 0 no-repeat;
  width: 40px;
  height: 36.5px;
  display: inline-block;
  position: absolute;
  background-size: contain;
  left: -50px;
}

.contact-submit {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: min(960px, 100%);
  height: 74px;
  margin: 0 auto;
  border: 0;
  background: var(--white);
  color: var(--blue);
  font-size: 20px;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.contact-submit-wrap {
  position: relative;
  display: block;
  width: min(960px, 100%);
  margin: 0 auto;
}

.contact-submit-wrap .contact-submit {
  width: 100%;
  margin: 0;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
}

.contact-submit::after {
  content: "→";
  position: absolute;
  right: 28px;
  font-family: var(--sans);
  font-size: 14px;
}

.contact-submit-wrap::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: 28px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  color: var(--blue);
  font-family: var(--sans);
  font-size: 14px;
  pointer-events: none;
}

.contact-submit {
  position: relative;
}

.contact-note {
  margin-top: 18px;
  width: min(960px, 100%);
  font-size: 14px;
  line-height: 1.85;
  text-align: left;
}

.contact-line {
  padding: 96px var(--main-pad) 120px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}

.contact-line .lower-heading {
  width: min(1040px, 100%);
  margin: 0 auto 70px;
}

.contact-line p {
  line-height: 2;
}

.contact-line .text, .contact-line .contact-line__note {
  width: min(960px, 100%);
  --main-width: calc(100vw - 240px);
  --main-pad: calc(6.6667vw - 16px);
}

.contact-submit--line {
  margin-top: 36px;
}

@media (max-width: 780px) {
  .privacy-section {
    font-size: 13px;
  }
  .privacy-section ol {
    -webkit-padding-start: 0;
            padding-inline-start: 0;
    margin-left: 1.5em;
    margin-bottom: 10px;
  }
  .privacy-section h2 {
    font-size: 18px;
    margin-top: 40px;
  }
  .contact-lead .text {
    font-size: 13px;
  }
  .contact-lead .text br {
    display: none;
  }
  .contact-lead .attention {
    font-size: 11px;
  }
  .contact-lead .attention br {
    display: none;
  }
  .contact-lead .attention {
    margin-bottom: 10px;
  }
  .contact-form__privacy {
    gap: 0 !important;
  }
  .contact-note {
    font-size: 11px;
  }
  .contact-submit {
    font-size: 16px;
    height: 54px;
  }
  .contact-form__check, .contact-form__dates {
    padding-right: 0;
  }
  .contact-form label > span:first-child {
    padding-left: 0;
  }
  .privacy-section,
  .contact-line {
    padding: 70px 20px 70px;
  }
  .contact-line .text {
    font-size: 13px;
  }
  .contact-line .text br {
    display: none;
  }
  .contact-line__note {
    font-size: 11px;
    padding-top: 0px;
  }
  .privacy-section .lower-heading {
    margin-bottom: 54px;
  }
  .contact-phone {
    position: static;
    text-align: left;
    font-size: 28px;
  }
  .contact-form label {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 0;
  }
  .contact-form .wpcf7-list-item {
    margin-right: 12px;
  }
  .contact-form .wpcf7-acceptance {
    margin: 32px 0 20px;
    font-size: 13px;
  }
  .contact-submit--line span:before {
    content: "";
    background: url("../assets/figma/line-green.png") 0 0 no-repeat;
    width: 25px;
    height: 30px;
    display: inline-block;
    position: absolute;
    background-size: contain;
    left: -35px;
    top: 3px;
  }
}