#callInquiry {
  max-width: 800px;
  background: #EEF6F7;
  margin: 4rem auto 6rem;
  padding-bottom: 1.5rem;
}
#callInquiry h2 {
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  color: #1B9CD3;
  font-size: 2rem;
  padding: 2rem 1rem;
  position: relative;
  margin-bottom: 1rem;
}
#callInquiry h2:before {
  content: "";
  width: 2.8rem;
  aspect-ratio: 1;
  display: block;
  background: url(/lib/img/cmn/icon_call.webp) no-repeat center/contain;
}
#callInquiry h2:after {
  content: "";
  width: 100%;
  height: 2px;
  display: block;
  background: #fff;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
}
#callInquiry .link {
  text-align: center;
  margin-bottom: 0;
}
#callInquiry .link a {
  font-size: 2rem;
  font-family: "Red Hat Display", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 700;
  color: #1D88B9;
}
#callInquiry .link a span {
  font-size: 3rem;
}

.inquiry_wrap {
  position: relative;
}
.inquiry_wrap #inquiryTop,
.inquiry_wrap #inquiry {
  transition: 0.3s;
}
.inquiry_wrap #inquiry {
  width: 100%;
  opacity: 0;
  visibility: hidden;
  position: absolute;
}
.inquiry_wrap.next #inquiryTop {
  width: 100%;
  opacity: 0;
  visibility: hidden;
  position: absolute;
}
.inquiry_wrap.next #inquiry {
  transition-delay: 0.2s;
  opacity: 1;
  visibility: visible;
  position: static;
}

span.error {
  color: #cc0000;
  font-size: 1.4rem;
}

/* inquiryTop
------------------------------------ */
#inquiryTop .category {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 800px;
  margin: 8rem auto clamp(3rem, 4vw, 8rem);
  gap: 1rem 2rem;
}
#inquiryTop .category li label {
  background: #F5F5F5;
  padding: 1rem;
  display: block;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  transition: 0.3s;
}
#inquiryTop .category li label:before {
  background: #fff;
  border: 1px solid #D9D9D9;
  border-radius: 3px;
  content: "";
  display: block;
  width: 2.5rem;
  aspect-ratio: 1;
}
#inquiryTop .category li label::after {
  border-right: 2px solid #1D88B9;
  border-bottom: 2px solid #1D88B9;
  content: "";
  display: block;
  height: 1.6rem;
  width: 0.8rem;
  left: 2rem;
  margin-top: -1rem;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: rotate(45deg);
}
#inquiryTop .category li label:has(input:checked) {
  background: #1D88B9;
  color: #fff;
}
#inquiryTop .category li label:has(input:checked)::after {
  opacity: 1;
}
#inquiryTop .category li label:hover {
  background: #1D88B9;
  color: #fff;
}
#inquiryTop .category li input[type=checkbox] {
  display: none;
}
#inquiryTop .btnnext {
  margin-bottom: 1rem;
}
#inquiryTop .btnnext input[type=button] {
  background: #dedede;
  color: #444;
  padding: 0.5rem 4rem 0.5rem 4rem;
  font-size: 1.6rem;
  border-radius: 5px;
  margin: 0 auto;
  border: none;
  display: block;
  transition: 0.3s;
  font-family: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}
#inquiryTop .btnnext input[type=button].active {
  background: #1D88B9;
  color: #fff;
  cursor: pointer;
}
#inquiryTop .btnnext input[type=button].active:hover {
  opacity: 1;
  background: #1B9CD3;
}
@media screen and (max-width: 768px) {
  #inquiryTop .category {
    grid-template-columns: 1fr;
    margin: 8rem auto clamp(3rem, 4vw, 8rem);
  }
}

/* inquiry_2
------------------------------------ */
#inquiry .lead {
  max-width: 1100px;
  margin: 0 auto 4em;
  width: fit-content;
}
#inquiry textarea {
  border: 1px solid #D9D9D9;
  background: #faf8f8;
  font-family: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 1.6rem;
  padding: 1rem 1rem;
  width: 100%;
  display: block;
  border-radius: 5px;
  max-width: 1100px;
  min-height: 10em;
  margin: 0 auto 8rem;
}
#inquiry textarea::placeholder {
  color: #b7b7b7;
}
#inquiry .customer {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}
#inquiry .customer tr:last-child th {
  border-bottom: 2px solid #1B9CD3;
  color: #1B9CD3;
  font-weight: 500;
}
#inquiry .customer tr:last-child td {
  border-bottom: 2px solid #F5F5F5;
}
#inquiry .customer th {
  width: 30%;
  padding: 3.5rem 1.5rem;
  position: relative;
}
#inquiry .customer th span {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 1.2rem;
  background: #1B9CD3;
  color: #fff;
  padding: 2px 5px;
}
#inquiry .customer td {
  width: 70%;
  padding: 2.5rem 1.5rem;
}
#inquiry .customer td input[type=text] {
  border: 1px solid #D9D9D9;
  background: #faf8f8;
  font-family: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 1.6rem;
  padding: 1rem 1rem;
  width: 100%;
  border-radius: 5px;
}
#inquiry .customer td input[type=text]::placeholder {
  color: #b7b7b7;
}
#inquiry .customer td input[type=text].error, #inquiry .customer td textarea.error {
  background: #fff2f5;
}
#inquiry .customer td label.privacy {
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  grid-template-columns: 2.5rem auto;
  align-items: center;
  gap: 1rem;
  position: relative;
  transition: 0.3s;
}
#inquiry .customer td label.privacy input[type=checkbox] {
  position: absolute;
  visibility: hidden;
  top: 0;
}
#inquiry .customer td label.privacy:before {
  background: #fff;
  border: 1px solid #D9D9D9;
  border-radius: 3px;
  content: "";
  display: block;
  width: 2.5rem;
  aspect-ratio: 1;
}
#inquiry .customer td label.privacy::after {
  border-right: 2px solid #1D88B9;
  border-bottom: 2px solid #1D88B9;
  content: "";
  display: block;
  height: 1.6rem;
  width: 0.8rem;
  left: 1rem;
  margin-top: -1rem;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: rotate(45deg);
}
#inquiry .customer td label.privacy:has(input:checked)::after {
  opacity: 1;
}
#inquiry .customer td label.privacy:has(input.error):before {
  background: #fff2f5;
}
#inquiry .customer td .btn {
  margin-top: 1.5rem;
}
#inquiry .customer td .btn a {
  display: flex;
  justify-content: center;
  gap: 1rem;
  width: fit-content;
  background: #1D88B9;
  padding: 0.5rem 2rem 0.5rem 2rem;
  color: #fff;
  border-radius: 8px;
  align-items: center;
}
#inquiry .customer td .btn a:after {
  content: "";
  width: 2rem;
  aspect-ratio: 1;
  background: url(/lib/img/cmn/icon_openwin.png) no-repeat center/contain;
  display: block;
}
#inquiry .customer.confirm td {
  padding: 3.5rem 1.5rem;
}
#inquiry .btns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 1100px;
  margin: 8rem auto 0;
}
#inquiry .btns input[type=submit] {
  background: #1D88B9;
  color: #fff;
  padding: 1rem 4rem 1rem 4rem;
  font-size: 1.6rem;
  border-radius: 5px;
  margin: 0 auto;
  border: none;
  display: block;
  cursor: pointer;
  min-width: 260px;
  transition: 0.3s;
  font-family: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.6;
}
#inquiry .btns input[type=submit]:hover {
  opacity: 0.8;
}
#inquiry .btns .back {
  padding: 1rem 4rem 1rem 4rem;
  font-size: 1.6rem;
  width: fit-content;
  border-radius: 5px;
  border: none;
  display: block;
  cursor: pointer;
  background: #95989a;
  color: #fff;
  font-family: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}
#inquiry .goalText {
  max-width: 1100px;
  margin: 0 auto;
  width: fit-content;
}
@media screen and (max-width: 768px) {
  #inquiry textarea {
    margin: 0 auto 5rem;
  }
  #inquiry .customer tr:last-child th {
    border-bottom: none;
  }
  #inquiry .customer th {
    width: 30%;
    padding: 1.5rem 1.5rem;
  }
  #inquiry .customer th span {
    position: absolute;
    top: 100%;
    right: auto;
    left: 0;
    font-size: 1rem;
    background: #1B9CD3;
    color: #fff;
    padding: 2px 5px;
  }
  #inquiry .customer td {
    width: 70%;
    padding: 2.5rem 0;
  }
  #inquiry .customer td .btn {
    margin-top: 1.5rem;
  }
  #inquiry .customer td .btn a {
    width: 100%;
  }
  #inquiry .customer.confirm td {
    padding: 2.5rem 0;
  }
  #inquiry .btns {
    display: grid;
    grid-template-columns: 1fr auto;
    max-width: 1100px;
    margin: 3rem auto;
  }
  #inquiry .btns input[type=submit] {
    min-width: 0;
  }
}

.grecaptcha-badge {
  visibility: hidden;
}