/* 無料相談フォーム（Figma フォーム_PC / フォーム_SP） */

.consult-body {
  background-color: #a7e9ff;
  color: #0d265a;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-feature-settings: "palt" 0;
  overflow-x: hidden;
}

html:has(.consult-body) {
  scroll-padding-top: 6rem;
}

@media screen and (min-width: 768px) {
  html:has(.consult-body) {
    scroll-padding-top: 8.8rem;
  }
}

.consult-body.is-drawer-open {
  overflow: hidden;
}

.consult-body a,
.consult-body a:link,
.consult-body a:visited,
.consult-body a:hover,
.consult-body a:focus {
  color: #0d265a;
  transition: opacity 0.3s;
}

.consult-body a:hover img,
.consult-body a:focus img {
  opacity: 1;
}

.consult-body .consult-hero__tel,
.consult-body .consult-hero__tel:link,
.consult-body .consult-hero__tel:visited,
.consult-body .consult-hero__tel:hover,
.consult-body .consult-hero__tel:focus,
.consult-body .consult-header__drawer-phone,
.consult-body .consult-header__drawer-phone:link,
.consult-body .consult-header__drawer-phone:visited,
.consult-body .consult-header__drawer-phone:hover,
.consult-body .consult-header__drawer-phone:focus {
  color: #ff9000;
}

.consult-body .consult-footer__top,
.consult-body .consult-footer__top:link,
.consult-body .consult-footer__top:visited,
.consult-body .consult-footer__top:hover,
.consult-body .consult-footer__top:focus {
  color: #fff;
}

.consult-main {
  overflow: visible;
  padding-top: 6rem;
}

@media screen and (min-width: 768px) {
  .consult-main {
    padding-top: 8.8rem;
  }
}

.consult-page {
  position: relative;
  padding-bottom: 4.8rem;
}

.consult-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 40rem;
  height: 20rem;
  transform: translateX(-50%);
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0.11rem, transparent 0.12rem);
  background-size: 2rem 2rem;
  mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

@media screen and (min-width: 769px) {
  .consult-page {
    padding-bottom: 6rem;
  }

  .consult-page::before {
    width: 80rem;
    height: 80rem;
    background-size: 2.4rem 2.4rem;
  }
}

.consult-hero,
.consult-card {
  position: relative;
  z-index: 1;
}

/* Header
---------------------------------------- */
.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.consult-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 6rem;
  color: #0d265a;
}

@media screen and (min-width: 768px) {
  .consult-header {
    height: 8.8rem;
    padding-left: 4rem;
    padding-right: 3rem;
  }
}

.consult-header__logo {
  position: relative;
  z-index: 20;
  display: block;
  width: 13.4rem;
  height: 3.5rem;
  margin-left: 2rem;
}

@media screen and (min-width: 768px) {
  .consult-header__logo {
    width: 19.1rem;
    height: 5rem;
    margin-left: 0;
  }
}

.consult-header__logo picture,
.consult-header__logo img {
  display: block;
  width: 100%;
  height: 100%;
}

.consult-header__logo img {
  max-width: none;
  object-fit: contain;
}

.consult-header__nav {
  position: fixed;
  z-index: 19;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 100dvh;
  padding: 13rem 2rem 4rem;
  overflow-x: hidden;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  background-color: #a7e9ff;
  transition: none;
}

@media screen and (min-width: 768px) {
  .consult-header__nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: auto;
    min-height: 0;
    padding: 0;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    background: transparent;
    box-shadow: none;
    gap: 2.4rem;
  }

  .consult-header__nav::before,
  .consult-header__nav::after {
    content: none;
  }
}

.consult-header__nav::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 40rem;
  height: auto;
  aspect-ratio: 400/200;
  pointer-events: none;
  background: url("../img/my-vending-machine-form/hero_bg_sp.webp") center / cover no-repeat;
  content: "";
}

@media screen and (min-width: 768px) {
  .consult-header__nav::before {
    display: none;
  }
}

.consult-header__nav::after {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 400/200;
  pointer-events: none;
  background: url("../img/my-vending-machine-form/hero_bg_sp2.webp") center / cover no-repeat;
  content: "";
}

@media screen and (min-width: 768px) {
  .consult-header__nav::after {
    display: none;
  }
}

.consult-header__nav.is-open {
  visibility: visible;
  opacity: 1;
}

.consult-header__nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media screen and (min-width: 768px) {
  .consult-header__nav-links {
    flex-direction: row;
    gap: 2.4rem;
  }
}

.consult-header__nav-links a,
.consult-header__nav-links a:link,
.consult-header__nav-links a:visited,
.consult-header__nav-links a:hover,
.consult-header__nav-links a:focus {
  display: block;
  color: #0d265a;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

@media screen and (min-width: 768px) {
  .consult-header__nav-links a,
  .consult-header__nav-links a:link,
  .consult-header__nav-links a:visited,
  .consult-header__nav-links a:hover,
  .consult-header__nav-links a:focus {
    padding: 0;
    font-size: 1.6rem;
    line-height: 1;
  }
}

.consult-header__nav-links a + a {
  margin-top: 4rem;
}

@media screen and (min-width: 768px) {
  .consult-header__nav-links a + a {
    margin-top: 0;
  }
}

.consult-body .consult-header__contact,
.consult-body .consult-header__contact:link,
.consult-body .consult-header__contact:visited,
.consult-body .consult-header__contact:hover,
.consult-body .consult-header__contact:focus {
  display: none;
  border: 0.3rem solid #0d265a;
  border-radius: 3rem;
  background: #ffdd00;
  box-shadow: 0 0.3rem 0 #0d265a;
  color: #0d265a;
  text-align: center;
  text-decoration: none;
}

@media screen and (min-width: 768px) {
  .consult-body .consult-header__contact,
  .consult-body .consult-header__contact:link,
  .consult-body .consult-header__contact:visited,
  .consult-body .consult-header__contact:hover,
  .consult-body .consult-header__contact:focus {
    display: block;
    padding: 1.5rem 2rem;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1;
    white-space: nowrap;
  }
}

.consult-header__drawer-actions {
  display: flex;
  flex-direction: column;
  width: min(100%, 32rem);
  margin-top: 4rem;
  position: relative;
  z-index: 10;
}

@media screen and (min-width: 768px) {
  .consult-header__drawer-actions {
    display: none;
  }
}

.consult-header__drawer-actions > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.3rem 2rem;
  border: 0.2rem solid #0d265a;
  border-radius: 0.5rem;
  text-decoration: none;
}

.consult-header__drawer-actions > a + a {
  margin-top: 0.8rem;
}

.consult-header__drawer-phone {
  background: #fff;
  color: #ff9000;
}

.consult-header__drawer-phone-icon,
.consult-header__drawer-mail-icon {
  display: flex;
  flex: 0 0 5rem;
  align-items: center;
  justify-content: center;
  width: 5rem;
  aspect-ratio: 1;
}

@media (max-width: 350px) {
  .consult-header__drawer-phone-icon,
  .consult-header__drawer-mail-icon {
    flex-basis: 4rem;
    width: 4rem;
  }
}

.consult-header__drawer-phone-icon img,
.consult-header__drawer-mail-icon img {
  display: block;
  max-width: none;
  object-fit: contain;
}

.consult-header__drawer-phone-icon img {
  width: 80%;
  height: 80%;
}

.consult-header__drawer-mail-icon img {
  width: 100%;
  height: 100%;
}

.consult-header__drawer-phone > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 0.8rem;
  white-space: nowrap;
}

.consult-header__drawer-phone strong {
  color: #ff9000;
  font-family: Ubuntu, sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

@media (max-width: 350px) {
  .consult-header__drawer-phone strong {
    font-size: 2.8rem;
  }
}

.consult-header__drawer-phone small {
  color: #ff9000;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

@media (max-width: 350px) {
  .consult-header__drawer-phone small {
    font-size: 1rem;
  }
}

.consult-body .consult-header__drawer-mail,
.consult-body .consult-header__drawer-mail:link,
.consult-body .consult-header__drawer-mail:visited,
.consult-body .consult-header__drawer-mail:hover,
.consult-body .consult-header__drawer-mail:focus {
  background: #ffdd00;
  color: #0d265a;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

@media (max-width: 350px) {
  .consult-body .consult-header__drawer-mail,
  .consult-body .consult-header__drawer-mail:link,
  .consult-body .consult-header__drawer-mail:visited,
  .consult-body .consult-header__drawer-mail:hover,
  .consult-body .consult-header__drawer-mail:focus {
    font-size: 2rem;
  }
}

.consult-header__drawer-mail > span {
  margin-left: 0.8rem;
  white-space: nowrap;
}

.consult-header__menu {
  position: relative;
  z-index: 21;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7rem;
  height: 6rem;
  padding: 0;
  border: 0;
  border-bottom-left-radius: 1rem;
  background: #fff;
  cursor: pointer;
}

@media screen and (min-width: 768px) {
  .consult-header__menu {
    display: none;
  }
}

.consult-header__menu-icon {
  position: relative;
  display: block;
  width: 3rem;
  aspect-ratio: 30/22;
}

.consult-header__menu-line {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 0.3rem;
  border-radius: 0.3rem;
  background: #0d265a;
  transform-origin: center;
  transition: top 0.42s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.2s ease, transform 0.42s cubic-bezier(0.65, 0, 0.35, 1);
}

@media (prefers-reduced-motion: reduce) {
  .consult-header__menu-line {
    transition-duration: 0.01ms;
  }
}

.consult-header__menu-line--top {
  top: 0;
}

.consult-header__menu-line--middle {
  top: calc(50% - 0.15rem);
}

.consult-header__menu-line--bottom {
  top: calc(100% - 0.3rem);
}

.consult-header__menu[aria-expanded="true"] .consult-header__menu-line--top {
  top: calc(50% - 0.15rem);
  transform: rotate(45deg);
}

.consult-header__menu[aria-expanded="true"] .consult-header__menu-line--middle {
  opacity: 0;
  transform: scaleX(0);
}

.consult-header__menu[aria-expanded="true"] .consult-header__menu-line--bottom {
  top: calc(50% - 0.15rem);
  transform: rotate(-45deg);
}

@media (hover: hover) and (min-width: 768px) {
  .consult-header__logo:hover,
  .consult-header__nav-links a:hover,
  .consult-header__nav-links a:focus-visible,
  .consult-header__contact:hover,
  .consult-header__contact:focus-visible {
    opacity: 0.8;
  }
}

/* Hero
---------------------------------------- */
.consult-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 2rem 3.2rem;
}

@media screen and (min-width: 769px) {
  .consult-hero {
    padding: 7.8rem 2rem 4rem;
  }
}

.consult-hero__mascot {
  position: absolute;
  top: 1.4rem;
  right: 2rem;
  width: 7.6rem;
  pointer-events: none;
  z-index: 2;
}

.consult-hero__character {
  display: block;
  position: relative;
  z-index: 1;
  width: 7.6rem;
  height: 7.9rem;
  max-width: none;
  object-fit: cover;
  object-position: 40% 8%;
}

.consult-hero__shadow {
  display: block;
  position: absolute;
  right: -0.4rem;
  bottom: -0.4rem;
  width: 8.3rem;
  height: 2.5rem;
  max-width: none;
}

@media screen and (min-width: 769px) {
  .consult-hero__mascot {
    top: 17.5rem;
    right: max(2rem, calc(50% - 58rem));
    width: 19rem;
  }

  .consult-hero__character {
    width: 19rem;
    height: 19.8rem;
  }

  .consult-hero__shadow {
    right: -1.8rem;
    bottom: -1.2rem;
    width: 20.8rem;
    height: 6.2rem;
  }
}

.consult-hero__title {
  display: flex;
  justify-content: center;
  margin: 0;
  color: #0d265a;
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.05em;
}

.consult-hero__title-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 0;
}

.consult-hero__title-line {
  position: relative;
  display: inline-block;
  z-index: 0;
  padding: 0 0.6rem 1rem;
  color: #0d265a;
  font-size: 3.6rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.3;
  white-space: nowrap;
  -webkit-text-stroke: 0.4rem #fff;
  paint-order: stroke fill;
}

.consult-hero__title-line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1rem;
  height: 1.8rem;
  background-color: #ffdd00;
  z-index: -1;
}

@media screen and (min-width: 769px) {
  .consult-hero__title {
    font-size: 5.6rem;
  }

  .consult-hero__title-mark {
    flex-direction: row;
    gap: 0.5em;
    padding-bottom: 1rem;
  }

  .consult-hero__title-mark::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1rem;
    height: 3rem;
    background-color: #ffdd00;
    z-index: -1;
  }

  .consult-hero__title-line {
    padding: 0 0.8rem;
    font-size: 5.6rem;
    -webkit-text-stroke-width: 0.6rem;
  }

  .consult-hero__title-line::before {
    content: none;
  }
}

.consult-hero__lead {
  max-width: 36rem;
  margin: 0.6rem 0 0;
  color: #0d265a;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-align: center;
}

.consult-hero__lead br.consult-hero__br-pc {
  display: none;
}

@media screen and (min-width: 769px) {
  .consult-hero__lead {
    max-width: fit-content;
    margin-top: 1.4rem;
    font-size: 1.6rem;
  }

  .consult-hero__lead br.consult-hero__br-sp {
    display: none;
  }

  .consult-hero__lead br.consult-hero__br-pc {
    display: inline;
  }
}

.consult-body .consult-hero__tel,
.consult-body .consult-hero__tel:link,
.consult-body .consult-hero__tel:visited,
.consult-body .consult-hero__tel:hover,
.consult-body .consult-hero__tel:focus {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  box-sizing: border-box;
  width: min(32rem, 100%);
  max-width: 32rem;
  height: 8rem;
  min-height: 8rem;
  margin-top: 2.4rem;
  padding: 0 1.6rem;
  border: 0.2rem solid #0d265a;
  border-radius: 0.5rem;
  background-color: #fff;
  color: #ff9000;
  text-decoration: none;
}

@media screen and (min-width: 769px) {
  .consult-body .consult-hero__tel,
  .consult-body .consult-hero__tel:link,
  .consult-body .consult-hero__tel:visited,
  .consult-body .consult-hero__tel:hover,
  .consult-body .consult-hero__tel:focus {
    width: 50.1rem;
    max-width: 50.1rem;
    height: 13rem;
    min-height: 13rem;
    margin-top: 3.2rem;
    padding: 0 4rem;
    border-width: 0.3rem;
    border-radius: 1rem;
    color: #ff9000;
  }
}

.consult-hero__tel-icon {
  display: block;
  flex-shrink: 0;
  width: 5rem;
  height: 5rem;
  overflow: hidden;
}

.consult-hero__tel-icon img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

@media screen and (min-width: 769px) {
  .consult-hero__tel-icon {
    width: 7rem;
    height: 7rem;
  }
}

.consult-hero__tel-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.consult-hero__tel-number {
  color: #ff9000;
  font-family: Ubuntu, sans-serif;
  font-size: clamp(2.4rem, 8vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.3;
  white-space: nowrap;
}

@media screen and (min-width: 769px) {
  .consult-hero__tel-number {
    font-size: 4.6rem;
    letter-spacing: 0.05em;
  }
}

.consult-hero__tel-hours {
  color: #ff9000;
  font-size: clamp(1rem, 3.2vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.3;
  white-space: nowrap;
}

@media screen and (min-width: 769px) {
  .consult-hero__tel-hours {
    font-size: 1.6rem;
    letter-spacing: 0.05em;
  }
}

/* Card / form
---------------------------------------- */
.consult-card {
  box-sizing: border-box;
  width: calc(100% - 4rem);
  max-width: 102rem;
  margin: 0 auto 1.6rem;
  padding: 2rem 2rem 3rem;
  border: 0.2rem solid #0d265a;
  border-radius: 0.5rem;
  background-color: #fff;
  box-shadow: 0 0.8rem 0 #0d265a;
}

@media screen and (min-width: 769px) {
  .consult-card {
    margin-bottom: 1.4rem;
    padding: 6rem;
    border-width: 0.3rem;
    border-radius: 1rem;
    box-shadow: 0 1rem 0 #0d265a;
  }
}

.consult-card .wpcf7 {
  width: 100%;
}

.consult-card .wpcf7-form {
  margin: 0;
}

.consult-form {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.consult-form__fields {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.consult-form__row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.consult-form__row--textarea {
  min-height: 18rem;
}

.consult-form__row--file {
  gap: 0.8rem;
}

@media screen and (min-width: 769px) {
  .consult-form__row {
    flex-direction: row;
    align-items: center;
    gap: 1.6rem;
  }

  .consult-form__row--textarea {
    align-items: flex-start;
    min-height: 20rem;
  }

  .consult-form__row--file {
    gap: 1.6rem;
  }
}

.consult-form__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 2.1rem;
  color: #0d265a;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

@media screen and (min-width: 769px) {
  .consult-form__label {
    flex-shrink: 0;
    width: 20rem;
    min-height: 4.4rem;
    font-size: 1.6rem;
  }
}

.consult-form__req {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  background-color: #ff9000;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.5;
  white-space: nowrap;
}

@media screen and (min-width: 769px) {
  .consult-form__req {
    font-size: 1.6rem;
  }
}

.consult-form__field {
  width: 100%;
  min-width: 0;
}

.consult-form__field .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.consult-form input[type="text"],
.consult-form input[type="email"],
.consult-form input[type="tel"],
.consult-form textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 0;
  background-color: #fff8d6;
  color: #0d265a;
  font-family: inherit;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.5;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}

@media screen and (min-width: 769px) {
  .consult-form input[type="text"],
  .consult-form input[type="email"],
  .consult-form input[type="tel"],
  .consult-form textarea {
    padding: 1rem 2rem;
    font-size: 1.6rem;
  }
}

.consult-form input::placeholder,
.consult-form textarea::placeholder,
.consult-form input::-webkit-input-placeholder,
.consult-form textarea::-webkit-input-placeholder {
  color: #b0b0b0;
  opacity: 1;
  -webkit-text-fill-color: #b0b0b0;
}

.consult-form textarea {
  min-height: 14.5rem;
  resize: vertical;
}

@media screen and (min-width: 769px) {
  .consult-form textarea {
    min-height: 20rem;
  }
}

.consult-form__file {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.consult-form__file-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.8rem;
  border: 0.2rem solid #0d265a;
  background-color: #fff;
  color: #0d265a;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.5;
  pointer-events: none;
}

@media screen and (min-width: 769px) {
  .consult-form__file-btn {
    padding: 0.4rem 0.8rem;
    font-size: 1.6rem;
  }
}

.consult-form__file .wpcf7-form-control-wrap,
.consult-form__file input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.consult-card p {
  margin: 0;
  color: #0d265a;
}

.consult-form__file-name {
  display: block;
  margin-top: 0.6rem;
  color: #0d265a;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  word-break: break-all;
}

.consult-form__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
  position: relative;
}

@media screen and (min-width: 769px) {
  .consult-form__footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.consult-form__checks {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
}

.consult-form__checks > .wpcf7-form-control-wrap {
  display: block;
  width: auto;
  max-width: 100%;
}

@media screen and (min-width: 769px) {
  .consult-form__checks {
    flex-direction: row;
    gap: 3.2rem;
  }
}

.consult-form .wpcf7-acceptance {
  margin: 0;
}

.consult-form .wpcf7-acceptance .wpcf7-list-item {
  display: block;
  margin: 0;
}

.consult-form .wpcf7-list-item-label::before,
.consult-form .wpcf7-list-item-label::after {
  content: none;
}

.consult-form .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
  color: #0d265a;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.5;
  cursor: pointer;
}

@media screen and (min-width: 769px) {
  .consult-form .wpcf7-acceptance label {
    font-size: 1.6rem;
  }
}

.consult-form .wpcf7-acceptance input[type="checkbox"] {
  flex-shrink: 0;
  box-sizing: border-box;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  border: 0.2rem solid #0d265a;
  border-radius: 0;
  background-color: #fff8d6;
  appearance: none;
  cursor: pointer;
}

.consult-form .wpcf7-acceptance input[type="checkbox"]:checked {
  background-color: #fff8d6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25 25' fill='none'%3E%3Cpath d='M6 13L11 18L19.5 7' stroke='%230D265A' stroke-width='2'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 2.5rem 2.5rem;
}

.consult-form .wpcf7-list-item-label a,
.consult-form .wpcf7-list-item-label a:link,
.consult-form .wpcf7-list-item-label a:visited,
.consult-form .wpcf7-list-item-label a:hover,
.consult-form .wpcf7-list-item-label a:focus {
  color: #0d265a;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.consult-body .consult-form input[type="submit"].consult-form__submit,
.consult-body .consult-complete__btn,
.consult-body .consult-complete__btn:link,
.consult-body .consult-complete__btn:visited,
.consult-body .consult-complete__btn:hover,
.consult-body .consult-complete__btn:focus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: auto;
  min-width: 19.5rem;
  padding: 2rem 4.8rem;
  border: 0.3rem solid #0d265a;
  border-radius: 3rem;
  background-color: #ffdd00;
  box-shadow: 0 0.3rem 0 #0d265a;
  color: #0d265a;
  font-family: inherit;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

@media screen and (min-width: 769px) {
  .consult-body .consult-form input[type="submit"].consult-form__submit,
  .consult-body .consult-complete__btn {
    padding: 2rem 6rem;
  }
}

.consult-body .consult-complete__btn,
.consult-body .consult-complete__btn:link,
.consult-body .consult-complete__btn:visited,
.consult-body .consult-complete__btn:hover,
.consult-body .consult-complete__btn:focus {
  max-width: 100%;
  padding: 2rem 2.4rem;
  line-height: 1.4;
  white-space: normal;
  text-align: center;
}

@media (hover: hover) {
  .consult-form__submit:hover,
  .consult-form__submit:focus-visible,
  .consult-form__submit.is-hover,
  .consult-complete__btn:hover,
  .consult-complete__btn:focus-visible,
  .consult-complete__btn.is-hover {
    color: #0d265a;
    transform: translateY(0.2rem);
    box-shadow: 0 0.1rem 0 #0d265a;
  }
}

.consult-form .wpcf7-spinner {
  position: absolute;
  margin: 0 0 0 1.2rem;
}

.consult-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 0.4rem;
  color: #ff9000;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.consult-form .wpcf7-response-output {
  margin: 1.6rem 0 0;
  padding: 1.2rem;
  border-color: #0d265a;
  color: #0d265a;
  font-size: 1.4rem;
}

.consult-form form.sent .wpcf7-response-output {
  display: none !important;
}

.consult-form input.wpcf7-not-valid,
.consult-form textarea.wpcf7-not-valid {
  outline: 0.2rem solid #ff9000;
}

/* Complete
---------------------------------------- */
.consult-complete {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
  padding: 2.4rem 0;
  text-align: center;
}

.consult-complete__title {
  margin: 0;
  color: #0d265a;
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

@media screen and (min-width: 769px) {
  .consult-complete__title {
    font-size: 3.2rem;
  }
}

.consult-complete__text {
  margin: 0;
  color: #0d265a;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.7;
}

@media screen and (min-width: 769px) {
  .consult-complete__text {
    font-size: 1.6rem;
  }
}

.consult-card--complete {
  margin-top: 4rem;
}

@media screen and (min-width: 769px) {
  .consult-card--complete {
    margin-top: 6rem;
  }
}

/* Footer
---------------------------------------- */
.consult-footer {
  position: relative;
  z-index: 2;
  padding-top: 4rem;
  padding-bottom: 2rem;
  overflow: hidden;
  background: #fff;
  color: #0d265a;
}

@media screen and (min-width: 768px) {
  .consult-footer {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }
}

.consult-footer__inner {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  max-width: 125rem;
  margin: 0 auto;
  padding-right: 2rem;
  padding-left: 2rem;
}

@media screen and (min-width: 768px) {
  .consult-footer__inner {
    padding-right: 2.5rem;
    padding-left: 2.5rem;
  }
}

.consult-footer__body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}

@media screen and (min-width: 768px) {
  .consult-footer__body {
    flex-wrap: nowrap;
    align-items: center;
  }
}

.consult-footer__logo {
  display: block;
  width: 21rem;
  aspect-ratio: 210/65;
}

@media screen and (min-width: 768px) {
  .consult-footer__logo {
    width: 30.3rem;
    aspect-ratio: 303/108;
  }
}

.consult-footer__logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

.consult-footer__info {
  order: 2;
  display: flex;
  flex-basis: 100%;
  flex-direction: column;
  margin-top: 2.4rem;
}

@media screen and (min-width: 768px) {
  .consult-footer__info {
    order: 1;
    flex: 0 0 30.3rem;
    margin-top: 0;
    margin-right: 18rem;
  }
}

.consult-footer__address {
  display: flex;
  flex-direction: column;
  margin: 0;
  color: #0d265a;
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

@media screen and (min-width: 768px) {
  .consult-footer__address {
    font-size: 1.6rem;
  }

  .consult-footer__address-line {
    white-space: nowrap;
  }
}

.consult-body .consult-footer__address a,
.consult-body .consult-footer__address a:link,
.consult-body .consult-footer__address a:visited,
.consult-body .consult-footer__address a:hover,
.consult-body .consult-footer__address a:focus {
  color: #0d265a;
  text-decoration: none;
}

.consult-body .consult-footer__corporate,
.consult-body .consult-footer__corporate:link,
.consult-body .consult-footer__corporate:visited,
.consult-body .consult-footer__corporate:hover,
.consult-body .consult-footer__corporate:focus {
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: 1.6rem;
  color: #0d265a;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.08em;
}

@media screen and (min-width: 768px) {
  .consult-body .consult-footer__corporate,
  .consult-body .consult-footer__corporate:link,
  .consult-body .consult-footer__corporate:visited,
  .consult-body .consult-footer__corporate:hover,
  .consult-body .consult-footer__corporate:focus {
    margin-top: 2.4rem;
    font-size: 1.6rem;
  }
}

.consult-footer__external-icon {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  margin-left: 0.8rem;
  max-width: none;
}

@media screen and (min-width: 768px) {
  .consult-footer__external-icon {
    width: 2rem;
    height: 2rem;
  }
}

.consult-body .consult-footer__top,
.consult-body .consult-footer__top:link,
.consult-body .consult-footer__top:visited,
.consult-body .consult-footer__top:hover,
.consult-body .consult-footer__top:focus {
  position: fixed;
  z-index: 20;
  right: 2rem;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 7rem;
  aspect-ratio: 1;
  border-radius: 9999px;
  background: #0d265a;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(1.2rem);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
  text-decoration: none;
}

@media screen and (min-width: 768px) {
  .consult-body .consult-footer__top,
  .consult-body .consult-footer__top:link,
  .consult-body .consult-footer__top:visited,
  .consult-body .consult-footer__top:hover,
  .consult-body .consult-footer__top:focus {
    right: 6.9444444444vw;
    bottom: 10rem;
    width: 6.9444444444vw;
    color: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consult-body .consult-footer__top {
    transition-duration: 0.01ms;
  }
}

.consult-body .consult-footer__top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 767px) {
  .consult-body .consult-footer__top.is-footer-position {
    position: absolute;
    top: 4rem;
    right: 2rem;
    bottom: auto;
  }
}

.consult-footer__top-arrow {
  display: block;
  width: 1.6rem;
  height: 1rem;
  max-width: none;
  object-fit: contain;
}

@media screen and (min-width: 768px) {
  .consult-footer__top-arrow {
    width: 2.3rem;
    height: 1.5rem;
  }
}

.consult-footer__top-label {
  margin-top: 0.8rem;
  color: #fff;
  font-family: Ubuntu, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

@media screen and (min-width: 768px) {
  .consult-footer__top-label {
    font-size: 2rem;
  }
}

.consult-footer__copyright {
  align-self: center;
  margin-top: 2.4rem;
  color: #0d265a;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .consult-footer__copyright {
    margin-top: 6rem;
    font-size: 1.4rem;
  }
}

.consult-footer__logo:focus-visible,
.consult-footer__corporate:focus-visible,
.consult-footer__top:focus-visible {
  outline: 0.3rem solid #ffdd00;
  outline-offset: 0.4rem;
}

@media (hover: hover) and (min-width: 768px) {
  .consult-footer__logo:hover,
  .consult-footer__corporate:hover,
  .consult-footer__corporate:focus-visible {
    opacity: 0.8;
  }

  .consult-body .consult-footer__top.is-visible:hover,
  .consult-body .consult-footer__top.is-visible:focus-visible {
    color: #fff;
    opacity: 0.8;
  }
}

.consult-form input,
.consult-form textarea,
.consult-form__submit {
  box-sizing: border-box;
}
