@charset "UTF-8";
/* Sass Document */
.p-contact {
  padding-top: 5rem;
  padding-bottom: 7rem;
}

.p-contact__ttl {
  text-align: center;
  background-color: #00b315;
  font-size: 4rem;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  color: #fff;
  margin-inline: auto;
  font-weight: 900;
  min-width: 90rem;
  padding: 1.4rem 1rem 2rem;
}
@media screen and (max-width: 767.98px) {
  .p-contact__ttl {
    width: auto;
    font-size: 2.2rem;
    min-width: inherit;
    padding-bottom: 1.5rem;
  }
}

.p-contact__form-wrapper {
  background-color: #fff;
  max-width: 117rem;
  margin-inline: auto;
  padding: 6rem 0 5rem 10.4rem;
  border-radius: 1rem;
  margin-top: 5rem;
}
@media screen and (max-width: 767.98px) {
  .p-contact__form-wrapper {
    padding: 3rem 2rem;
    margin-top: 2rem;
  }
}

.p-contact__form-group {
  max-width: 60.5rem;
}
.p-contact__form-group:has(.-vertical) {
  margin-bottom: 6.5rem;
}
@media screen and (max-width: 767.98px) {
  .p-contact__form-group:has(.-vertical) {
    margin-bottom: 0;
  }
}
.p-contact__form-group + .p-contact__form-group {
  margin-top: 3.5rem;
}
@media screen and (max-width: 767.98px) {
  .p-contact__form-group + .p-contact__form-group {
    margin-top: 4rem;
  }
}

.p-label-container {
  font-size: 2rem;
  font-weight: 700;
}
@media screen and (max-width: 767.98px) {
  .p-label-container {
    font-size: 1.6rem;
  }
}

.p-mark {
  font-size: 1.6rem;
  font-weight: 500;
  margin-left: 1.6rem;
  padding: 0.2rem 0.5rem 0.3rem;
  line-height: 1;
  border-radius: 0.2rem;
  display: inline-block;
  position: relative;
}
@media screen and (max-width: 767.98px) {
  .p-mark {
    font-size: 1.2rem;
    top: -0.1rem;
    margin-left: 0.7rem;
  }
}
.p-mark.-required {
  background-color: #ffdd00;
}
.p-mark.-optional {
  background-color: #dedede;
}

.p-unit.-vertical {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}
.p-unit.-vertical .vertical-item {
  width: 100%;
  display: block;
}
@media screen and (max-width: 767.98px) {
  .p-unit.-vertical {
    gap: 2rem;
  }
}

.p-content-container {
  margin-top: 2rem;
}
@media screen and (max-width: 767.98px) {
  .p-content-container {
    margin-top: 1.2rem;
  }
}
.p-content-container:has(.-vertical) {
  margin-top: 1.4rem;
}

input[type=checkbox],
input[type=radio] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  clip: rect(0 0 0 0); /* 古いブラウザ対応 */
  -webkit-clip-path: inset(50%);
          clip-path: inset(50%); /* モダンブラウザ用 */
  overflow: hidden;
  white-space: nowrap;
}

input + span {
  display: inline-block;
  position: relative;
  padding-left: 2.6rem;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1.4;
}
@media screen and (max-width: 767.98px) {
  input + span {
    padding-left: 2.4rem;
    font-size: 1.5rem;
  }
}

/* inputの位置と枠　*/
input + span:before {
  display: block;
  position: absolute;
  border: 1px solid #333333;
  content: "";
  box-sizing: border-box;
}

input[type=checkbox] + span:before {
  top: 58%;
  left: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.2rem;
  transform: translateY(-50%);
}

/*　チェックマーク　*/
input[type=checkbox]:checked + span:after {
  display: block;
  position: absolute;
  top: 0.6rem;
  left: 0.4rem;
  width: 0.4rem;
  height: 0.8rem;
  transform: rotate(45deg);
  border-right: 2px solid #00b315;
  border-bottom: 2px solid #00b315;
  content: "";
}

input[type=radio] + span:before {
  left: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 100px;
  top: 0.5rem;
}
@media screen and (max-width: 767.98px) {
  input[type=radio] + span:before {
    width: 1.8rem;
    height: 1.8rem;
    top: 0.3rem;
  }
}

/* ラジオボタンのチェック　*/
input[type=radio]:checked + span:after {
  display: block;
  position: absolute;
  top: 0.8rem;
  left: 0.3rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 100%;
  background-color: #00b315;
  content: "";
}
@media screen and (max-width: 767.98px) {
  input[type=radio]:checked + span:after {
    top: 0.7rem;
    left: 0.4rem;
    width: 1rem;
    height: 1rem;
  }
}

.p-contact__form-input {
  font-size: 1.6rem;
  width: 100%;
  border: 1px solid #00b315;
  border-radius: 0.8rem;
  padding: 2.6rem 3.6rem;
  font-weight: 500;
}
@media screen and (max-width: 767.98px) {
  .p-contact__form-input {
    font-size: 1.6rem;
    padding: 1.5rem 0.6rem;
  }
}

::-moz-placeholder {
  color: #a1a1a1;
  font-weight: 500;
}

::placeholder {
  color: #a1a1a1;
  font-weight: 500;
}

textarea {
  min-height: 40rem;
  line-height: 1.4;
}
@media screen and (max-width: 767.98px) {
  textarea {
    min-height: 16rem;
  }
}

.p-btn-unit {
  margin-top: 3.2rem;
}

.p-contact__form-submit-wrapper {
  max-width: 46rem;
  position: relative;
}
.p-contact__form-submit-wrapper::before {
  content: "";
  position: absolute;
  width: 3.5rem;
  height: 2.5rem;
  background-color: #fff;
  -webkit-mask: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35 25"><title>mail</title><path class="cls-1" d="M33.75,0H1.25C.56,0,0,.56,0,1.25v22.5c0,.69.56,1.25,1.25,1.25h32.5c.69,0,1.25-.56,1.25-1.25V1.25c0-.69-.56-1.25-1.25-1.25ZM31.7,2.5l-14.2,10.92L3.3,2.5h28.4ZM32.5,22.5H2.5V5.04l14.24,10.95c.45.34,1.07.34,1.52,0l14.24-10.95v17.46Z"/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35 25"><title>mail</title><path class="cls-1" d="M33.75,0H1.25C.56,0,0,.56,0,1.25v22.5c0,.69.56,1.25,1.25,1.25h32.5c.69,0,1.25-.56,1.25-1.25V1.25c0-.69-.56-1.25-1.25-1.25ZM31.7,2.5l-14.2,10.92L3.3,2.5h28.4ZM32.5,22.5H2.5V5.04l14.24,10.95c.45.34,1.07.34,1.52,0l14.24-10.95v17.46Z"/></svg>') center/contain no-repeat;
  left: 10.4rem;
  top: 53%;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}
@media screen and (max-width: 767.98px) {
  .p-contact__form-submit-wrapper::before {
    width: 2.4rem;
    height: 1.7rem;
    left: 6.4rem;
  }
}

.p-contact__form-submit {
  min-height: 10rem;
  background-color: #00b315;
  border-radius: 100vw;
  width: 100%;
  font: inherit;
  color: #fff;
  border: none;
  font-size: 2.8rem;
  font-weight: 700;
  padding-left: 5rem;
  cursor: pointer;
}
@media (any-hover) {
  .p-contact__form-submit {
    transition: 0.3s;
  }
  .p-contact__form-submit:hover {
    opacity: 0.7;
  }
}
@media screen and (max-width: 767.98px) {
  .p-contact__form-submit {
    padding-left: 3rem;
    min-height: 6rem;
    font-size: 1.8rem;
  }
}
.p-contact__form-submit:disabled {
  pointer-events: none;
  background-color: #a1a1a1;
}

.c-return {
  display: grid;
  place-content: center;
  color: #fff;
  font-weight: 700;
  min-height: 6rem;
  background-color: #00b315;
  border-radius: 100vw;
  text-decoration: none;
  text-align: center;
  font-size: 1.6rem;
}
@media (any-hover) {
  .c-return {
    transition: 0.3s;
  }
  .c-return:hover {
    opacity: 0.7;
  }
}

.thanks .p-contact__form-wrapper {
  text-align: center;
}
.thanks .p-contact__form-wrapper .p-txt-wrapper {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}
.thanks .p-contact__form-wrapper .p-txt-wrapper .c-ttl {
  font-size: 3rem;
  text-align: center;
  font-weight: 700;
  margin-bottom: 4rem;
  line-height: 1.4;
}
@media screen and (max-width: 767.98px) {
  .thanks .p-contact__form-wrapper .p-txt-wrapper .c-ttl {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }
}
.thanks .p-contact__form-wrapper .p-txt-wrapper p + p {
  margin-top: 2em;
}
@media screen and (max-width: 767.98px) {
  .thanks .p-contact__form-wrapper .p-txt-wrapper p + p {
    margin-top: 1em;
  }
}
.thanks .p-contact__form-wrapper .p-txt-wrapper a {
  color: currentColor;
}
@media screen and (max-width: 767.98px) {
  .thanks .p-contact__form-wrapper {
    text-align: left;
  }
}
.thanks .p-btn-wrapper {
  margin: 8rem auto 0;
  max-width: 30rem;
}
@media screen and (max-width: 767.98px) {
  .thanks .p-btn-wrapper {
    margin-top: 4rem;
  }
}

p.error {
  color: red;
  font-size: 1.4rem;
}

.l-footer__entry {
  display: none;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}
/*# sourceMappingURL=contact.css.map */