.p-contactPage {
  background: #fff;
}

.p-contactPage .l-header {
  background: transparent;
  box-shadow: none;
}

.p-contactPage .l-header.is-scrolled,
.p-contactPage.is-open .l-header {
  background: #fff;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.06);
}

.p-pageFv {
  position: relative;
  height: 419px;
  overflow: hidden;
  background: #d8d8d8;
}

.p-pageFv__bg,
.p-pageFv__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.p-pageFv__bg img {
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: blur(1.5px);
  transform: scale(1.02);
}

.p-pageFv__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
}

.p-pageFv__title {
  position: absolute;
  z-index: 1;
  top: 176px;
  left: max(24px, calc(50% - 560px));
  color: #00102c;
}

.p-pageFv__title h1 {
  font-family: Montserrat, sans-serif;
  font-size: 77px;
  font-weight: 700;
  letter-spacing: 1.54px;
  line-height: 1;
}

.p-pageFv__title p {
  margin-top: 14px;
  font-family: "BIZ UDGothic", sans-serif;
  font-size: 24px;
  letter-spacing: 0.96px;
  line-height: 1;
}

.p-crumb {
  width: min(1120px, calc(100% - 48px));
  margin: 40px auto 0;
  color: #4c4c4c;
  font-family: "BIZ UDGothic", sans-serif;
  font-size: 16px;
  letter-spacing: 0.16px;
  line-height: 1.75;
}

.p-crumb a {
  color: #095aaf;
  font-weight: 700;
  text-decoration: underline;
}

.p-contactBody {
  display: flex;
  flex-direction: column;
  gap: 80px;
  width: min(1120px, calc(100% - 48px));
  margin: 80px auto;
  color: #333;
  font-family: "BIZ UDGothic", sans-serif;
}

.p-block {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.p-block > .p-secHead + .p-lead,
.p-block > .p-secHead + .p-privacy {
  margin-top: 32px;
}

.p-block > .p-lead + .p-form {
  margin-top: 64px;
}

.p-secHead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.p-secHead h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  min-height: 54px;
  color: #333;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1.92px;
  line-height: 1.45;
  text-align: center;
}

.p-secHead h2::before {
  content: "";
  width: 4px;
  height: 30px;
  background: #73580d;
  flex: none;
}

.p-secHead::after {
  content: "";
  width: 100%;
  height: 4px;
  background: #73580d;
}

.p-lead {
  font-size: 16px;
  letter-spacing: 1.28px;
  line-height: 1.45;
}

.p-lead p {
  margin: 0;
}

.p-lead .is-blank {
  height: 1.45em;
}

.p-form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.p-form__note {
  margin: 0 0 16px;
  font-size: 14px;
  letter-spacing: 0.28px;
  line-height: 1.5;
}

.p-form__note .is-req {
  color: #fe2e00;
}

.p-form__fields {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.p-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-field label,
.p-field__label {
  font-size: 20px;
  letter-spacing: 1px;
  line-height: 1.4;
}

.p-field .is-req {
  color: #fe2e00;
}

.p-field input,
.p-field textarea {
  width: 100%;
  padding: 16px 24px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  background: #fafafa;
  color: #333;
  font-family: "BIZ UDGothic", sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  line-height: 1.4;
}

.p-field input::placeholder,
.p-field textarea::placeholder {
  color: #999;
}

.p-field textarea {
  height: 160px;
  resize: vertical;
}

.p-form__agree {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 64px;
  font-size: 20px;
  letter-spacing: 1px;
  line-height: 1.4;
}

.p-form__agree input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #222;
}

.p-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 310px;
  height: 56px;
  margin: 20px auto 0;
  border: 1px solid #fff;
  background: linear-gradient(90deg, #5a5a5a 0%, #2b2b2b 100%);
  color: #fff;
  font-family: "BIZ UDGothic", sans-serif;
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1;
  cursor: pointer;
}

.p-form__submit img {
  width: 10px;
  height: 10px;
  transform: rotate(-45deg);
}

.p-tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 32px 16px;
  background: #fafafa;
}

.p-tel p {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.8px;
  line-height: 2;
  text-align: center;
}

.p-tel a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #333;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1.2px;
  line-height: 2;
  text-decoration: none;
}

.p-privacy {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.p-privacy h3 {
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 1.92px;
  line-height: 1.6;
}

.p-privacy p {
  margin: 0;
  font-size: 16px;
  letter-spacing: 1.28px;
  line-height: 1.6;
}

@media screen and (max-width: 1100px) {
  .p-secHead h2,
  .p-privacy h3 {
    font-size: 20px;
    letter-spacing: 1px;
  }
}

@media screen and (max-width: 768px) {
  .p-pageFv {
    height: 280px;
  }

  .p-pageFv__bg img {
    object-position: right center;
  }

  .p-contactPage .l-header {
    background: #fff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  }

  .p-pageFv__title {
    top: auto;
    right: 20px;
    bottom: 36px;
    left: 24px;
  }

  .p-pageFv__title h1 {
    font-size: 42px;
  }

  .p-pageFv__title p {
    margin-top: 8px;
    font-size: 18px;
  }

  .p-contactBody {
    gap: 56px;
    margin-top: 48px;
    margin-bottom: 48px;
  }

  .p-field label,
  .p-field__label,
  .p-field input,
  .p-field textarea,
  .p-form__agree {
    font-size: 16px;
  }

  .p-field input,
  .p-field textarea {
    padding: 14px 16px;
  }

  .p-form__agree {
    flex-wrap: wrap;
    justify-content: flex-start;
    text-align: left;
  }

  .p-form__submit {
    width: min(310px, 100%);
  }

  .p-tel a {
    font-size: 22px;
    letter-spacing: 0.4px;
  }
}
