input, textarea {
  font-family: var(--familyNoto);
}

.wpcf7-response-output {
  display: none;
}

.pageContact {
  padding-bottom: 16rem;
}

.page-template-page-complete .pageContact {
  background: none;
}

.page-template-page-complete .pageContact__lead.contact_sent {
  padding-top: 8rem;
}

.pageMv {
  z-index: 1;
}

.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
  content: "";
}

.pageContact__lead {
  padding-block: 6vw 0;
}
.pageContact__lead-title {
  font-size: clamp(1.375rem, 1.155rem + 0.94vw, 2rem);
  font-weight: 700;
  line-height: 181.818%;
}
.pageContact__lead-text {
  font-size: 1rem;
  font-weight: 400;
  line-height: 2;
  margin-top: 1.25rem;
}

.page-template-page-complete .pageContact__lead-text {
  margin-top: 4px;
}

.pageContact__note {
  display: flex;
  flex-direction: column;
  row-gap: 2.5rem;
  line-height: 1.5;
  margin-top: 2.2rem;
}

.pageContact__noteItem {
  line-height: 1.5;
  padding-left: 1.7rem;
  position: relative;
}

.pageContact__noteItem::before {
  display: inline-block;
  content: "";
  background: url(../../images/common/icon-h3.png) no-repeat center center / contain;
  width: 1.184rem;
  height: 1.184rem;
  position: absolute;
  left: 0;
  top: 0.1em;
}

.pageContact__noteItem h2 {
  font-weight: 700;
}

.pageContact__noteItem p {
  margin-top: 0.5rem;
}

.pageContact__noteItem a {
  text-decoration: underline;
}

@media (hover: hover) {
  .pageContact__noteItem a:hover {
    text-decoration: none;
  }
}

.form__block {
  background-color: #f7f7f7;
  border-radius: 6px;
  padding: 104px 11.666666666666666vw;
  margin-top: 5rem;
}

.page-template-page-confirm .form__block {
  padding: 104px 18.88888888888889vw;
  position: relative;
}

.form__head_nav {
  align-items: center;
  border-bottom: #e7e7e7 solid 1px;
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  padding-bottom: 18px;
}

.form__head_nav li {
  color: #a6a6a6;
  font-size: 1.125rem;
  font-weight: 400;
  font-weight: 500;
  line-height: 2;
  margin-right: 87.5px;
  position: relative;
}

.form__head_nav li.active {
  color: #282828;
  position: relative;
}

.form__head_nav li.active:before {
  background: url(../../images/contact/icon_active.webp) center center no-repeat;
  background-size: cover;
  content: "";
  display: block;
  height: 4px;
  width: 4px;
  left: 50%;
  position: absolute;
  top: 0;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

.form__head_nav li:after {
  background: url(../../images/contact/arrow_contact.webp) center center no-repeat;
  background-size: contain;
  content: "";
  display: block;
  height: 12.5px;
  position: absolute;
  right: -48px;
  top: 38%;
  width: 12.5px;
}

.form__head_nav li:last-child {
  margin-right: 0;
}

.form__head_nav li:last-child:after {
  display: none;
}

.form__line {
  margin-bottom: 32px;
}

.form__line_title {
  align-items: center;
  color: #282828;
  display: flex;
  font-weight: 600;
  justify-content: flex-start;
  line-height: 32px;
  margin-bottom: 10px;
}

.form__line_title .must {
  align-items: center;
  background-color: #e7211a;
  border-radius: 2px;
  color: #fff;
  display: flex;
  font-size: 10px;
  font-weight: 700;
  height: 18px;
  justify-content: center;
  margin-left: 8px;
  width: 32px;
}

.wpcf7-list-item {
  display: flex;
  margin: 0 0 0 0;
}

.wpcf7-list-item-label {
  padding-left: 26px;
}

.wpcf7-list-item label {
  position: relative;
  cursor: pointer;
}

.form__line_cont input[type="radio"] {
  appearance: none;
  background-color: #fff;
  border: 2px solid #e7e7e7;
  border-radius: 50%;
  cursor: pointer;
  height: 20px;
  margin: 0 8px 0 0;
  position: absolute;
  width: 20px;
  top: 3px;
}

.form__line_cont input[type="radio"]:checked::before {
  background-color: #a6a6a6;
  border-radius: 50%;
  content: "";
  height: 6px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
}

.form__select_text {
  color: #676767;
  font-size: 0.875rem;
  line-height: 1.8;
  margin-bottom: 11px;
  padding-left: 28px;
  display: block;
}

.form__select_text a {
  color: #676767;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: underline;
}

.form__select_text a:hover {
  text-decoration: none;
}

/* .form__select_list span:nth-child(1) label:after {
  color: #676767;
  content: "検討のフェーズに問わず、お気軽にご相談ください。";
  display: block;
  font-size: 0.875rem;
  line-height: 1.8;
  margin-bottom: 11px;
  padding-left: 28px;
  cursor: default;
} */

/* .form__select_list span:nth-child(2) label:after {
  color: #676767;
  content: "採用に関するお問い合わせも本フォームよりご連絡ください。エントリーは、採用ページより受け付けております。";
  display: block;
  font-size: 0.875rem;
  line-height: 1.8;
  margin-bottom: 11px;
  padding-left: 28px;
  cursor: default;
} */

.form__line_cont input[type="checkbox"],
.policy__check input[type="checkbox"] {
  appearance: none;
  background-color: #fff;
  border: 2px solid #e7e7e7;
  border-radius: 3px;
  cursor: pointer;
  height: 20px;
  margin: 0 8px 0 0;
  position: absolute;
  top: 2px;
  width: 20px;
}

[data-name="area"] .wpcf7-checkbox {
  display: grid;
  grid-template-columns: 225px 1fr;
  gap: 12px;
}

.policy__check input[type="checkbox"] {
  position: relative;
}

.policy__check .wpcf7-list-item-label {
  padding-left: 0;
}

.form__line_cont input[type="checkbox"]:checked,
.policy__check input[type="checkbox"]:checked {
  background-color: #fff;
}

.form__line_cont input[type="checkbox"]:checked::before,
.policy__check input[type="checkbox"]:checked::before {
  color: #a6a6a6;
  content: "✓";
  font-size: 14px;
  left: 50%;
  line-height: 1;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.form__line_innerlist {
  align-items: center;
  display: flex;
  justify-content: flex-start;
  margin-bottom: 12px;
}

.form__line_innerlist li {
  margin-right: 16px;
}

.form__line_innerlist li:last-child {
  margin-right: 0;
}

.form__line_cont input[type="text"],
.form__line_cont input[type="email"],
.form__line_cont input[type="tel"] {
  background-color: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 3px;
  color: #282828;
  font-size: 14px;
  padding: 11px;
  width: 100%;
}

.form__line_cont input[type="text"]::placeholder,
.form__line_cont input[type="email"]::placeholder,
.form__line_cont input[type="tel"]::placeholder {
  color: #a6a6a6;
}

.form__line_cont textarea {
  background-color: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 3px;
  color: #282828;
  font-size: 14px;
  height: 184px;
  padding: 11px;
  resize: vertical;
  width: 100%;
}

.policy__check {
  display: block;
  margin-top: -7px;
}

.policy__check .wpcf7-list-item {
  justify-content: center;
}

.policy__check label,
.policy__check label a {
  color: #282828;
  font-size: 12px;
}

.policy__check label {
  align-items: center;
  display: flex;
  justify-content: center;
}

.policy__check label a {
  text-decoration: underline;
}

.policy__check label a:hover {
  text-decoration: none;
}

input[type="submit"] {
  padding: 0 0;
}

.form__submit_line {
  margin-top: 20px;
  text-align: center;
}

.wpcf7-submit {
  background: none;
  border: none;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 0.875rem;
  justify-content: center;
  margin: 0 auto;
  transition: 0.3s;
  font-weight: 400;
}

.button.dot:hover .wpcf7-submit {
  color: #002dd1;
}

.page-template-page-confirm .button.dot {
  width: 160px;
}

.wpcf7-spinner {
  display: none;
}

input[type="submit"].confirm {
  align-items: center;
  background: #002dd1 url(../../images/contact/icon_submit.webp) center right 26px no-repeat;
  border: #fff solid 1px;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 0.875rem;
  height: 56px;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  transition: 0.3s;
  width: 208px;
}

input[type="submit"].confirm:hover {
  background: #fff url(../../images/contact/icon_submit_active.webp) center right 26px no-repeat;
  border: #002dd1 solid 1px;
  color: #002dd1;
  transition: 0.3s;
}

.wpcf7-previous {
  border: #e7e7e7 solid 1px;
  border-radius: 999px;
  width: 108px;
  height: 56px;
  background: #e7e7e7;
  color: #676767;
  font-size: 14px;
  cursor: pointer;
  margin-right: 16px;
  transition: 0.3s;
}

.wpcf7-previous:hover {
  background: #ffffff;
  border: #002dd1 solid 1px;
  color: #002dd1;
  transition: 0.3s;
}

.page-template-page-confirm .wpcf7-spinner {
  display: none;
}

.page-template-page-confirm .form__submit_line ul {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row-reverse;
}

.text-center {
  text-align: center;
}

.notice {
  margin-top: 5px;
  font-size: 14px;
}

.page-template-page-confirm .form__line_title {
  margin-bottom: 0;
}

.form__submit_line .button.dot {
  padding: 0 0;
}

.form__submit_line .button.dot input {
  padding: 1.1em 2em;
  padding-right: 3.5em;
}

@media screen and (max-width: 1030px) {
  [data-name="area"] .wpcf7-checkbox {
    grid-template-columns: 100%;
    gap: 8px;
  }
}

@media screen and (max-width: 767px) {
  .page-template-page-complete .pageContact__lead.contact_sent {
    padding-top: 6vw;
  }
  .pageContact {
    padding-bottom: 3.5rem;
  }
  .pageContact__lead {
    padding-block: 3.5rem 0;
    width: fit-content;
  }
  .pageContact__lead-container {
    padding-inline: 1.2rem;
  }
  .pageContact__lead-title {
    line-height: 154.545%;
  }
  .pageContact__lead-text {
    font-size: 1rem;
    margin-top: 0.25rem;
  }
  .pageContact__noteItem h2,
  .pageContact__noteItem p {
    font-size: 1rem;
  }
  .form__block,
  .page-template-page-confirm .form__block {
    padding: 1.875rem 1.25rem;
  }
  .form__head_nav li {
    font-size: 16px;
    margin-right: 63.5px;
  }
  .form__line_innerlist {
    display: block;
  }
  .form__line_innerlist li {
    margin-bottom: 10px;
  }
  .form__head_nav li::after {
    right: -38px;
  }
  .page-template-page-confirm .form__submit_line ul {
    display: block;
  }
  .page-template-page-confirm .form__submit_line ul li {
    margin-bottom: 20px;
    text-align: center;
  }
  .page-template-page-confirm .form__submit_line ul li:last-child {
    margin-bottom: 0;
  }
  .wpcf7-previous {
    margin-right: 0;
  }
}

.sectionContact {
  overflow-x: clip;
  padding-bottom: 5rem;
  position: relative;
}

@media screen and (max-width: 767px) {
  .sectionContact {
    padding-bottom: 2.5rem;
  }
  .sectionContact__container {
    gap: 1.25rem;
  }
}

/* 送信完了画面 */

.pageContact__lead.contact_sent {
  padding-block: 6vw 3rem;
}

.contact_sent.container {
  max-width: 834px;
  width: auto;
}

.pageContact__lead-title {
  color: #282828;
  font-size: 2rem;
  font-weight: 700;
  line-height: 54px;
}

.button__top {
  text-align: center;
}

@media screen and (max-width: 767px) {
  .pageContact__lead.contact_sent {
    width: 100%;
  }
  .pageContact__lead-title {
    font-size: clamp(1.375rem, 1.155rem + 0.94vw, 2rem);
    letter-spacing: -0.07rem;
    line-height: 154.545%;
  }
}

/* 背景の赤い糸とアイテム */
.contact,
.pageContact {
  position: relative;
  overflow-x: clip;
}
.contact__bg {
  position: absolute;
  bottom: 3vw;
  left: 0;
  width: 100%;
  z-index: -2;

  .contact__bg-line-1 {
    position: absolute;
    bottom: 0vw;
    left: -4vw;
    width: 104%;
    z-index: var(--indexLine);
  }
  .contact__bg-line-2 {
    position: absolute;
    bottom: -5vw;
    left: 0;
    width: 104%;
    z-index: var(--indexLine);
  }
  .contact__ring {
    position: absolute;
    img {
      width: 100%;
    }
  }
  .item-1-bottom {
    width: 10.34583vw;
    bottom: -8vw;
    left: 12.5vw;
    z-index: var(--indexRingBottom);
  }
  .item-1-top {
    width: 10.524305vw;
    bottom: -8vw;
    left: 12.5vw;
    z-index: var(--indexRingTop);
  }
}
.page-template-page-confirm .contact__bg {
  bottom: 12vw;
}

@media screen and (max-width: 1180px) {
  .contact__bg {
    .contact__bg-line-1 {
      /* bottom: -8vw; */
    }
    .contact__bg-line-2 {
      /* bottom: -8vw; */
    }
  }
}
