.free-estimate {
  --estimate-blue: #4d98d5;
  --estimate-orange: #ff9200;
  --estimate-yellow: #fff0bd;
  --estimate-black: #000000;
  --estimate-white: #ffffff;
  font-family: 'Noto Sans JP', "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
  font-weight: normal;
  line-height: 1.7;
}

.free-estimate *,
.free-estimate *::before,
.free-estimate *::after {
  box-sizing: border-box;
}

.free-estimate img {
  display: block;
  max-width: 100%;
  height: auto;
}

.free-estimate figure {
  margin: 0;
}

.free-estimate p,
.free-estimate h1,
.free-estimate h2,
.free-estimate h3 {
  margin-top: 0;
}

.free-estimate__sr-only {
  position: absolute;
  width: 0.0833rem;
  height: 0.0833rem;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.free-estimate__hero {
  padding: 6rem 1.6667rem 6.5rem;
}

.free-estimate figure.free-estimate__hero-visual {
  width: min(100%, 105.6667rem) !important;
  margin: 0 auto 5.1667rem !important;
}

.free-estimate__hero-visual img {
  width: 100%;
}

.free-estimate__hero-cta,
.free-estimate__bottom-cta {
  display: flex;
  justify-content: center;
}

.free-estimate__button {
  display: flex;
  width: min(100%, 55rem);
  min-width: 0;
  height: clamp(5.8rem, 7vw, 7rem);
  align-items: center;
  justify-content: center;
  padding: 1rem clamp(1.5rem, 3vw, 2.1667rem);
  border: 0;
  border-radius: 1.25rem;
  background: var(--estimate-orange);
  box-shadow: 0 0.4167rem 0 rgba(230, 91, 0, 1);
  color: var(--estimate-white);
  font-size: clamp(1.8rem, 2.2vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.free-estimate__button:hover {
  background-color: rgba(230, 91, 0, 1);
  box-shadow: 0 0.4167rem 0 rgba(230, 91, 0, 1);
  transform: none;
}

.free-estimate__button .Btn-to-form-2-center {
  display: block;
}

.free-estimate__button .Btn-to-form-2-txt {
  color: var(--estimate-white);
  font-size: inherit;
  font-weight: 700;
}

.free-estimate__content {
  padding-bottom: 5.8333rem;
}

.free-estimate h2.free-estimate__message {
  position: relative;
  margin: 0 0 5.3333rem !important;
  padding: 1.8333rem 1.5rem;
  border-top: 0.1rem solid #ffc300;
  border-bottom: 0.1rem solid #ffc300;
  font-size: clamp(1.8rem, 2.5vw, 2.5rem) !important;
  font-weight: 700;
  line-height: 1.5;
  text-align: center !important;
}

.free-estimate h2.free-estimate__message::before,
.free-estimate h2.free-estimate__message::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 0.15rem;
  background: var(--estimate-yellow);
  content: "";
  filter: blur(0.15rem);
  pointer-events: none;
  z-index: -1;
}

.free-estimate h2.free-estimate__message::before {
  top: 0.0533rem;
}

.free-estimate h2.free-estimate__message::after {
  bottom: -0.35rem;
  height: 0.35rem;
}

.free-estimate__categories {
  display: grid;
  width: min(100% - 3.3333rem, 100rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(4rem, 8vw, 10rem);
  margin: 0 auto 3rem;
}

.free-estimate h3.free-estimate__category-label {
  margin: 0 0 2.1667rem !important;
  color: var(--estimate-orange);
  font-size: clamp(1.8rem, 1.7vw, 2rem) !important;
  font-weight: 700;
  text-align: center !important;
}

.free-estimate__card {
  display: flex;
  height: 25rem;
  min-height: 25rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.3333rem 1.6667rem;
  border-radius: 2.1667rem;
  background: var(--estimate-yellow);
  text-align: center;
}

.free-estimate__icon {
  width: 9rem;
  height: 9rem;
  margin-bottom: 1.8333rem;
  color: var(--estimate-orange);
}

.free-estimate p.free-estimate__card-copy {
  margin: 0 0 1rem !important;
  font-size: clamp(1.6rem, 1.25vw, 2rem) !important;
}

.free-estimate p.free-estimate__card-title {
  margin: 0 !important;
  font-size: clamp(1.8rem, 1.5vw, 2rem) !important;
  font-weight: 700;
  line-height: 1.5;
}

.free-estimate p.free-estimate__consult {
  margin: 2.6667rem 1.6667rem 0 !important;
  color: var(--estimate-orange);
  font-size: clamp(1.6rem, 1.5vw, 2rem) !important;
  font-weight: 700;
  text-align: center !important;
}

.free-estimate p.free-estimate__disclaimer {
  margin: 2.6667rem 1.6667rem 3.1667rem !important;
  font-size: clamp(1.6rem, 1.25vw, 2rem) !important;
  text-align: center !important;
}

.free-estimate p.free-estimate__contact-note {
  margin: 3rem auto 0 !important;
  font-size: clamp(1.6rem, 1.25vw, 2rem) !important;
  line-height: 1.9;
  text-align: center !important;
}

@media (max-width: 56.6667rem) {
  .free-estimate__hero {
    padding: 2.6667rem 1.3333rem 4rem;
  }

  .free-estimate figure.free-estimate__hero-visual {
    margin-bottom: 2.3333rem !important;
  }

  .free-estimate__button {
    width: min(100%, 55rem);
    height: clamp(5.4rem, 14vw, 6.4rem);
    padding: 1rem 1.5rem;
    border-radius: 1.0833rem;
    font-size: clamp(1.4rem, 4.2vw, 1.8rem);
  }

  .free-estimate h2.free-estimate__message {
    margin-bottom: 3.1667rem !important;
    padding: 1.5rem 1.1667rem;
  }

  .free-estimate__categories {
    width: min(100% - 2rem, 50rem);
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .free-estimate h3.free-estimate__category-label {
    margin-bottom: 1.1667rem !important;
  }

  .free-estimate__card {
    height: 25rem;
    min-height: 25rem;
    border-radius: 1.8333rem;
  }

  .free-estimate p.free-estimate__consult {
    width: min(100% - 3.2rem, 42rem);
    margin: 2.6667rem auto 0 !important;
    color: var(--estimate-orange);
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    line-height: 1.6;
    text-align: center !important;
  }

  .free-estimate p.free-estimate__disclaimer,
  .free-estimate p.free-estimate__contact-note {
    width: min(100% - 3.2rem, 42rem);
    margin-right: auto !important;
    margin-left: auto !important;
    font-size: 1.4rem !important;
    line-height: 1.8;
    text-align: center !important;
  }

  .free-estimate p.free-estimate__disclaimer {
    margin-top: 2.6667rem !important;
    margin-bottom: 3.1667rem !important;
  }

  .free-estimate p.free-estimate__contact-note {
    margin-top: 3rem !important;
  }

  .free-estimate__bottom-cta .free-estimate__button {
    width: 88%;
    height: clamp(4.8rem, 12vw, 5.6rem);
    font-size: clamp(1.3rem, 3.8vw, 1.6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .free-estimate__button {
    transition: none;
  }
}