/* Sass Document */
.p-contact__content {
  padding-top: 11.3rem;
  padding-bottom: 16rem;
  max-width: 98rem;
  margin-inline: auto;
}
@media screen and (max-width: 767.98px) {
  .p-contact__content {
    padding: 9.1rem 3.4rem 15rem;
  }
}

.p-contact__heading .c-ttl {
  font-size: 3.2rem;
  font-weight: 400;
  color: #c5161d;
  text-align: center;
  margin-bottom: 4.2rem;
}
@media screen and (max-width: 767.98px) {
  .p-contact__heading .c-ttl {
    font-size: 3.2rem;
    margin-bottom: 6.5rem;
  }
}

.c-heading__txt {
  text-align: center;
}
@media screen and (max-width: 767.98px) {
  .c-heading__txt {
    text-align: left;
  }
}

.p-progress {
  display: flex;
  justify-content: center;
  gap: 0 11.9rem;
  margin-top: 4rem;
}
@media screen and (max-width: 767.98px) {
  .p-progress {
    display: block;
  }
}
.p-progress li {
  text-align: center;
  padding-inline: 6rem;
  opacity: 0.56;
}
@media screen and (max-width: 767.98px) {
  .p-progress li {
    display: none;
    padding-inline: 0;
  }
}
.p-progress li.c-current {
  opacity: 1;
}
@media screen and (max-width: 767.98px) {
  .p-progress li.c-current {
    display: flex;
    align-items: center;
    gap: 0 4rem;
  }
  .p-progress li.c-current p {
    position: relative;
  }
  .p-progress li.c-current::before {
    display: none;
  }
  .p-progress li.c-current::after {
    content: "";
    border-top: 1px solid #707070;
    flex-grow: 1;
  }
}
.p-progress li:not(:last-of-type) {
  position: relative;
}
.p-progress li:not(:last-of-type)::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 11.9rem;
  height: 1px;
  background-color: #707070;
  left: 100%;
}
.p-progress .c-step {
  color: #c5161d;
  font-family: "din-2014", sans-serif;
  letter-spacing: 0;
  font-weight: 400;
  display: block;
}
.p-progress .c-txt {
  display: block;
}
@media screen and (max-width: 767.98px) {
  .p-progress .c-txt {
    font-size: 2.8rem;
  }
}

.p-contact__body {
  margin-top: 4.2rem;
}
.p-contact__body .c-note {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}
@media screen and (max-width: 767.98px) {
  .p-contact__body .c-note {
    font-size: 2.6rem;
  }
}
@media screen and (max-width: 767.98px) {
  .p-contact__body {
    margin-top: 7.7rem;
  }
}
.p-contact__body input,
.p-contact__body button,
.p-contact__body select,
.p-contact__body textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
}
.p-contact__body textarea {
  resize: vertical;
}
.p-contact__body input[type=submit],
.p-contact__body input[type=button],
.p-contact__body label,
.p-contact__body button,
.p-contact__body select {
  cursor: pointer;
}
.p-contact__body select::-ms-expand {
  display: none;
}
.p-contact__body input[type=text] {
  line-height: normal;
}
.p-contact__body input[type=text],
.p-contact__body input[type=email],
.p-contact__body input[type=tel],
.p-contact__body textarea {
  width: 100%;
  border-radius: 1rem;
  padding: 1.8rem 2.2rem;
  border: 1px solid #707070;
  background-color: #fff;
}
.p-contact__body textarea {
  min-height: 38.7rem;
  padding-block: 3.8rem;
}
@media screen and (max-width: 767.98px) {
  .p-contact__body textarea {
    padding-block: 2.8rem;
  }
}
.p-contact__body ::-moz-placeholder {
  color: #5c5b5a;
}
.p-contact__body ::placeholder {
  color: #5c5b5a;
}
.p-contact__body input[type=checkbox] {
  position: relative;
  width: 2rem;
  height: 2rem;
  border: 1px solid #707070;
  cursor: pointer;
  position: relative;
  top: 0.6rem;
  background-color: #fff;
}
@media screen and (max-width: 767.98px) {
  .p-contact__body input[type=checkbox] {
    width: 3.3rem;
    height: 3.3rem;
    top: 0.2rem;
  }
}
.p-contact__body input[type=checkbox]:checked:before {
  position: absolute;
  top: 0.1rem;
  left: 0.5rem;
  transform: rotate(50deg);
  width: 0.6rem;
  height: 1rem;
  border-right: 0.2rem solid #707070;
  border-bottom: 0.2rem solid #707070;
  content: "";
}
@media screen and (max-width: 767.98px) {
  .p-contact__body input[type=checkbox]:checked:before {
    top: 0.2rem;
    left: 0.9rem;
    width: 1rem;
    height: 1.7rem;
    border-right-width: 0.4rem;
    border-bottom-width: 0.4rem;
  }
}

.p-name:has(.wpcf7-not-valid-tip) {
  margin-bottom: 7rem;
}
@media screen and (max-width: 767.98px) {
  .p-name:has(.wpcf7-not-valid-tip) {
    margin-bottom: 0;
  }
}

.p-inquiry:has(.wpcf7-not-valid-tip) {
  margin-bottom: 7rem;
}
@media screen and (max-width: 767.98px) {
  .p-inquiry:has(.wpcf7-not-valid-tip) {
    margin-bottom: 9rem;
  }
}

.p-select-wrapper {
  display: inline-block;
  border: 1px solid #707070;
  border-radius: 1rem;
  position: relative;
  background-color: #fff;
}
.p-select-wrapper select {
  padding: 1.8rem 4rem 1.8rem 2.2rem;
  color: #222222;
}
.p-select-wrapper .wpcf7-not-valid-tip {
  position: absolute;
  bottom: -4.1rem;
}
@media screen and (max-width: 767.98px) {
  .p-select-wrapper .wpcf7-not-valid-tip {
    bottom: -3.5rem;
  }
}
@media screen and (max-width: 767.98px) {
  .p-select-wrapper {
    width: 100%;
  }
  .p-select-wrapper select {
    width: 100%;
    display: block;
  }
}
.p-select-wrapper::after {
  content: "";
  position: absolute;
  top: 47%;
  right: 2.2rem;
  width: 1.2rem;
  height: 0.6rem;
  background-color: #222222;
  -webkit-clip-path: polygon(0 0, 50% 100%, 100% 0);
          clip-path: polygon(0 0, 50% 100%, 100% 0);
}
@media screen and (max-width: 767.98px) {
  .p-select-wrapper::after {
    width: 2rem;
    height: 1rem;
    right: 3rem;
  }
}

label {
  cursor: text !important;
}

.p-field {
  display: flex;
  align-items: flex-start;
}
@media screen and (max-width: 767.98px) {
  .p-field {
    display: block;
  }
}
.p-field + .p-field {
  margin-top: 5rem;
}
.p-field.p-privacy, .p-field.p-message {
  display: block;
}
.p-field.p-privacy .p-legend-container, .p-field.p-message .p-legend-container {
  padding-bottom: 2.6rem;
  width: auto;
}

.p-privacy .p-unit {
  align-items: center;
  gap: 0 1.9rem;
}
.p-privacy a {
  color: #c5161d;
}
@media (any-hover: hover) {
  .p-privacy a:hover {
    text-decoration: none;
  }
}
@media screen and (max-width: 767.98px) {
  .p-privacy p {
    font-size: 2.4rem;
  }
}
.p-privacy .wpcf7-list-item {
  margin-left: 0 !important;
}

.p-legend-container {
  font-size: 1.8rem;
  font-weight: 400;
  padding-top: 0.9rem;
  width: 22.3rem;
  flex-shrink: 0;
  padding-right: 1em;
  display: block;
}
@media screen and (max-width: 767.98px) {
  .p-legend-container {
    font-size: 2.8rem;
    width: auto;
    padding: 0 0 2.5rem 0;
  }
}

.p-content-container {
  font-size: 1.6rem;
  flex-grow: 1;
}
@media screen and (max-width: 767.98px) {
  .p-content-container {
    font-size: 2.4rem;
  }
}

.p-unit {
  display: flex;
  gap: 0 5.7rem;
}

@media screen and (max-width: 767.98px) {
  .p-name .p-unit {
    display: block;
  }
}
.p-name .p-unit > div {
  width: 50%;
  display: flex;
  align-items: center;
  gap: 0 2rem;
}
@media screen and (max-width: 767.98px) {
  .p-name .p-unit > div:has(.wpcf7-not-valid-tip) {
    margin-bottom: 5rem;
  }
}
.p-name .p-unit > div .wpcf7-form-control-wrap {
  position: relative;
}
.p-name .p-unit > div .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
  position: absolute;
  bottom: -2.2rem;
}
@media screen and (max-width: 767.98px) {
  .p-name .p-unit > div .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
    bottom: -3.5rem;
  }
}
@media screen and (max-width: 767.98px) {
  .p-name .p-unit > div {
    gap: 0 4.3rem;
    width: 100%;
  }
  .p-name .p-unit > div + div {
    margin-top: 3rem;
  }
  .p-name .p-unit > div + div:has(.wpcf7-not-valid-tip) {
    margin-bottom: 8rem;
  }
}
.p-name .p-unit > div p {
  color: #5c5b5a;
}
@media screen and (max-width: 767.98px) {
  .p-name .p-unit > div p {
    font-size: 2.4rem;
  }
}

.p-btn-unit {
  margin: 9.2rem auto 0;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  display: flex;
  justify-content: center;
  gap: 0 5rem;
  flex-direction: row-reverse;
  position: relative;
}
@media screen and (max-width: 767.98px) {
  .p-btn-unit {
    display: block;
  }
  .p-btn-unit div + div {
    margin-top: 3rem;
  }
}
.p-btn-unit .c-btn {
  width: 25.6rem;
}
@media screen and (max-width: 767.98px) {
  .p-btn-unit .c-btn {
    width: 40.7rem;
  }
}
@layer components {
  .p-btn-unit .c-btn {
    background-color: #fff;
  }
}
.p-btn-unit input {
  width: 100%;
}

.p-btn-submit {
  padding: 0;
  flex-shrink: 0;
  background-color: #fff;
}
.p-btn-submit:has(input:disabled) {
  opacity: 0.5;
}
.p-btn-submit:has(input:disabled):hover {
  background-color: transparent;
  color: #c5161d;
  border-color: #c5161d !important;
}
.p-btn-submit:has(input:disabled):hover::after {
  background-color: #c5161d;
}
.p-btn-submit:has(input:disabled)::before {
  display: none;
}
.p-btn-submit input {
  width: 100%;
  text-align: left;
  color: currentColor;
  padding: 1.8rem 2.3rem;
}
@media screen and (max-width: 767.98px) {
  .p-btn-submit input {
    padding-block: 2.4rem;
  }
}

@media screen and (max-width: 767.98px) {
  .p-confirm .p-contact__body {
    margin-top: 2.7rem;
  }
}
.p-confirm .p-field.p-privacy .p-legend-container,
.p-confirm .p-field.p-message .p-legend-container {
  padding-bottom: 0;
}
.p-confirm .p-field {
  border-bottom: 1px solid #707070;
  margin-top: 0;
  padding-block: 3rem;
}
.p-confirm .p-message {
  margin-top: 0 !important;
}
.p-confirm .p-field.p-message {
  display: flex;
}
@media screen and (max-width: 767.98px) {
  .p-confirm .p-field.p-message {
    display: block;
  }
}
.p-confirm .p-field.p-message .p-legend-container {
  width: 22.3rem;
}
@media screen and (max-width: 767.98px) {
  .p-confirm .p-field.p-message .p-legend-container {
    width: 100%;
    padding-bottom: 0.5rem;
  }
}
.p-confirm .p-field.p-privacy {
  display: none;
}
.p-confirm .p-legend-container {
  padding-top: 0;
}
@media screen and (max-width: 767.98px) {
  .p-confirm .p-legend-container {
    padding-bottom: 0.5rem;
  }
}
.p-confirm .p-content-container p {
  font-size: 1.8rem;
}
@media screen and (max-width: 767.98px) {
  .p-confirm .p-content-container p {
    font-size: 2.6rem;
  }
}
.p-confirm .p-name .p-unit {
  gap: 0 1em;
}
@media screen and (max-width: 767.98px) {
  .p-confirm .p-name .p-unit {
    display: flex;
  }
}
.p-confirm .c-required {
  display: none;
}

.p-thanks {
  padding-bottom: 25.2rem;
}
@media screen and (max-width: 767.98px) {
  .p-thanks {
    padding-bottom: 15rem;
  }
}
.p-thanks .c-heading__txt {
  max-width: 80rem;
  margin-inline: auto;
}
.p-thanks .p-contact__body {
  padding-top: 4.4rem;
  margin-top: 0;
}
@media screen and (max-width: 767.98px) {
  .p-thanks .p-contact__body {
    padding-top: 10.4rem;
  }
}
.p-thanks .p-btn-unit {
  margin-top: 0;
}

.wpcf7-spinner {
  position: absolute !important;
  bottom: -4rem;
  left: 0;
  right: 0;
  margin-inline: auto;
}
@media screen and (max-width: 767.98px) {
  .wpcf7-spinner {
    bottom: -8rem;
  }
}

.p-confirm .wpcf7-spinner {
  bottom: -4rem;
  left: -4rem;
  right: auto;
  margin: 0;
}
@media screen and (max-width: 767.98px) {
  .p-confirm .wpcf7-spinner {
    left: 0;
    right: 0;
    margin-inline: auto;
  }
}
@media screen and (max-width: 767.98px) and (max-width: 767.98px) {
  .p-confirm .wpcf7-spinner {
    bottom: -19rem;
  }
}

.p-privacy .wpcf7-list-item label {
  display: flex;
  gap: 0 1rem;
}
.p-privacy .wpcf7-list-item-label {
  margin-top: -0.2rem;
}

.wpcf7-response-output {
  border-color: #c5161d !important;
}

.p-message {
  margin-top: 2.6rem !important;
}

.p-privacy {
  margin-top: 3rem !important;
}

#privacy {
  padding-bottom: 0.7rem;
}

.c-required {
  color: #c5161d;
}

.wpcf7-not-valid-tip {
  font-size: 1.2rem;
}
@media screen and (max-width: 767.98px) {
  .wpcf7-not-valid-tip {
    font-size: 2.4rem;
    white-space: nowrap;
  }
}

.wpcf7-form-control-wrap:has(.wpcf7-not-valid-tip) textarea,
.wpcf7-form-control-wrap:has(.wpcf7-not-valid-tip) input {
  border-color: #c5161d;
  background-color: #fff0f1;
}

.p-select-wrapper:has(.wpcf7-not-valid-tip) {
  border-color: #c5161d;
  background-color: #fff0f1;
}

@media screen and (max-width: 767.98px) {
  .p-company-name .wpcf7-not-valid-tip,
.p-mail .wpcf7-not-valid-tip {
    position: absolute;
    bottom: -5rem;
  }
}
/*# sourceMappingURL=contact.css.map */