@charset "UTF-8";
.p-contact {
  position: relative;
  overflow: hidden;
}

.p-contact__inner {
  width: 350px;
  max-width: calc(100% - 40px);
  margin-inline: auto;
  padding-block: 83px 0;
}
@media (min-width: 769px) {
  .p-contact__inner {
    width: 972px;
    max-width: calc(100% - 80px);
    padding-block: 268px 0;
  }
}

.p-contact__title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(32px, 29.0285714286px + 0.7619047619vw, 40px);
  font-weight: 700;
  line-height: 1.5;
  color: #000000;
  text-align: center;
}

.p-contact__lead {
  margin-top: 30px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(18px, 15.7714285714px + 0.5714285714vw, 24px);
  font-weight: 500;
  line-height: 1.5;
  color: #000000;
  text-align: center;
}
@media (min-width: 769px) {
  .p-contact__lead {
    margin-top: 42px;
  }
}

.p-contact__phone {
  background: #F3FBFF;
  margin: 85px -500%;
  padding: 45px 500%;
  display: block;
  justify-content: center;
  align-items: center;
  gap: 80px;
}
.p-contact__phone-lead {
  margin-bottom: 20px;
}
.p-contact__phone-lead strong {
  color: #005CA7;
}
.p-contact__phone-number {
  background: #005CA7;
  color: #fff;
  border-radius: 50px;
  padding: 10px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.5;
}
.p-contact__phone-number img {
  margin-right: 10px;
}
.p-contact__phone-number strong {
  font-weight: normal;
  font-size: 20px;
}
@media (min-width: 769px) {
  .p-contact__phone {
    display: flex;
  }
  .p-contact__phone-lead {
    margin-bottom: 0;
  }
}

.p-contact .wpcf7 {
  margin-top: 70px;
}
@media (min-width: 769px) {
  .p-contact .wpcf7 {
    margin-top: 100px;
  }
}

.p-contact__field + .p-contact__field {
  margin-top: 32px;
}

.p-contact__label {
  display: flex;
  gap: 8px;
  align-items: center;
}

.p-contact__label-text {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: #333333;
}

.p-contact__field--type .p-contact__label-text {
  line-height: 1.45;
  letter-spacing: normal;
}

.p-contact__required {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 2px 10px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: #ffffff;
  background: #5fcafd;
  border-radius: 5px;
}

.p-contact input[type=text],
.p-contact input[type=tel],
.p-contact input[type=email],
.p-contact textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding-inline: 15px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: #333333;
  background: #ffffff;
  border: 1px solid #cfcfcf;
  border-radius: 5px;
}

.p-contact input[type=text],
.p-contact input[type=tel],
.p-contact input[type=email] {
  height: 46px;
}

.p-contact textarea {
  height: 258px;
  padding-block: 10px;
  resize: vertical;
}

.p-contact input::placeholder,
.p-contact textarea::placeholder {
  color: #999999;
  opacity: 1;
}

.p-contact__radio .wpcf7-list-item {
  display: block;
  margin: 0;
}

.p-contact__radio .wpcf7-list-item + .wpcf7-list-item {
  margin-top: 12px;
}

.p-contact__radio label {
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
}

.p-contact__radio input[type=radio] {
  flex-shrink: 0;
  width: 23px;
  height: 23px;
  margin: 0;
  appearance: none;
  background: #ffffff;
  border: 1px solid #999999;
  border-radius: 50%;
  cursor: pointer;
}

.p-contact__radio input[type=radio]:checked {
  background: #999999;
  box-shadow: inset 0 0 0 6px #ffffff;
  border-color: #999999;
}

.p-contact__radio .wpcf7-list-item-label {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  color: #333333;
  white-space: nowrap;
}

.p-contact__radio {
  margin-top: 8px;
}

@media (min-width: 769px) {
  .p-contact__radio .wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 29px;
  }
  .p-contact__radio .wpcf7-list-item {
    display: flex;
    margin: 0;
  }
  .p-contact__radio .wpcf7-list-item:first-child {
    flex-basis: 100%;
  }
  .p-contact__radio .wpcf7-list-item + .wpcf7-list-item {
    margin-top: 0;
  }
}
.p-contact__zip {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-top: 5px;
}

.p-contact__zip .wpcf7-form-control-wrap {
  display: block;
}

.p-contact__zip input[type=text] {
  margin-top: 0;
}

.p-contact__zip .wpcf7-form-control-wrap[data-name=your-zip1] input {
  width: 112px;
}

.p-contact__zip .wpcf7-form-control-wrap[data-name=your-zip2] input {
  width: 172px;
}

.p-contact__zip-sep {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  line-height: 1.45;
  color: #333333;
}

.p-contact__agree {
  margin-top: 20px;
}
@media (min-width: 769px) {
  .p-contact__agree {
    margin-top: 19px;
  }
}

.p-contact__agree .wpcf7-list-item {
  margin: 0;
}

.p-contact__agree label {
  display: flex;
  gap: 16px;
  align-items: center;
  cursor: pointer;
}

.p-contact__agree input[type=checkbox] {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin: 0;
  appearance: none;
  background: #ffffff;
  border: 1px solid #999999;
  border-radius: 2px;
  cursor: pointer;
}

.p-contact__agree input[type=checkbox]:checked {
  background: #5fcafd;
  border-color: #5fcafd;
}

.p-contact__agree input[type=checkbox]:checked::after {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: #ffffff;
  clip-path: polygon(19% 47%, 8% 58%, 39% 88%, 92% 26%, 81% 17%, 38% 66%);
}

.p-contact__agree,
.p-contact__agree a {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #333333;
}

.p-contact__agree a {
  text-decoration: underline;
}

.p-contact__submit {
  margin-top: 50px;
}
@media (min-width: 769px) {
  .p-contact__submit {
    margin-top: 54px;
  }
}

.p-contact input[type=submit] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 63px;
  padding-block: 20px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 1.6px;
  color: #ffffff;
  text-align: center;
  background: #5fcafd;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.p-contact__note {
  margin-top: 50px;
  padding-bottom: 100px;
}
@media (min-width: 769px) {
  .p-contact__note {
    margin-top: 69px;
  }
}

.p-contact__note-text {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  color: #4b4b4b;
}

.p-contact__note-text a {
  text-decoration: underline;
}

.p-contact__fallback {
  margin-top: 70px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(14px, 13.2571428571px + 0.1904761905vw, 16px);
  line-height: 1.7;
  color: #333333;
}

.p-contact__submit {
  position: relative;
}

.p-contact .wpcf7-spinner {
  position: absolute;
  top: 50%;
  right: 24px;
  margin: 0;
  transform: translateY(-50%);
}

.p-contact .wpcf7-not-valid-tip,
.p-contact .wpcf7-response-output {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  line-height: 1.7;
}

.p-contact .wpcf7-response-output {
  margin-inline: 0;
}

.p-contact__bubble {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.p-contact__bubble--1 {
  top: 37px;
  right: -12px;
  width: 66px;
  height: 68px;
}
@media (min-width: 769px) {
  .p-contact__bubble--1 {
    top: -22px;
    right: -29px;
    width: 185px;
    height: 190px;
  }
}

.p-contact__bubble--2 {
  display: none;
}
@media (min-width: 769px) {
  .p-contact__bubble--2 {
    display: block;
    top: 260px;
    right: 82px;
    width: 104px;
    height: 106px;
  }
}

.p-contact__bubble--3 {
  display: none;
}
@media (min-width: 769px) {
  .p-contact__bubble--3 {
    display: block;
    top: 1973px;
    left: -99px;
    width: 215px;
    height: 216px;
  }
}

.p-contact__bubble--sp2 {
  top: 126px;
  right: 15px;
  width: 23px;
  height: 24px;
}
@media (min-width: 769px) {
  .p-contact__bubble--sp2 {
    display: none;
  }
}

/* SP: リード文の折返し幅（Figma 1078:… 実測 w360・fs18＝「〜ご依頼まで、/お気軽に」で折る。
   350だとブラウザの字幅差で「ま/で、」と分かれてしまう）。768px以下限定。 */
@media (max-width: 768px) {
  .p-contact__lead {
    width: 372px; /* 20字+ls0.42×19＝369.8 を収める */
    max-width: none;
    margin-inline: calc((100% - 372px) / 2); /* 親が狭くても中央のまま確保 */
  }
}
