.header__button-modal {
  outline: none;
  border: none;
  position: absolute;
  bottom: 8.5%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: auto;
  background: transparent;
  cursor: pointer;
}

.header__button-modal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header__button-modal:hover {
  animation: pop-p4 0.7s ease infinite;
}

.down-arrow {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 21px;
  animation: bounce-out-down 2s ease infinite;
}

.lp-4__lc {
  position: relative;
  margin-top: -9%;
  z-index: 2;
  background: url('/img/p4/local-community-bg.webp');
  background-size: 100% 100%;
  padding-block: 80px;
  padding-inline: 4%;
}

.lp-4__lc-body {
  position: relative;
  padding: 2px;
  overflow: hidden;
  border-radius: 12px;
  margin-top: -34%;
  z-index: 2;
}

.lp-4__lc-body-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,rgba(233, 71, 9, 1) 0%, rgba(243, 152, 0, 1) 52%, rgba(233, 71, 9, 1) 100%);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.lp-4__lc-form {
  background: #fff;
  padding: 16px 12px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.lp-4__lc-body .select {
  position: relative;
  margin-bottom: 2.5%;
}

.lp-4__lc-body .select select {
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  border: 1px solid #efc100;
  color: #c6bab6;
  padding: 2%;
  font-size: min(1.8rem,6vw);
  cursor: pointer;
}

.lp-4__lc-body .select select::-ms-expand {
  display: none;
}

.lp-4__lc-body .select::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 2%;
  width: 0;
  height: 0;
  display: block;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid #643e33;
  transform: translateY(-50%);
  pointer-events: none;
}

.lp-4__lc-body .lp-4__lc-form .searchResult1 {
  margin-top: 10px;
}

.lp-4__lc-body .lp-4__lc-form .searchResult1 > div {
  background-color: #fffa9c;
}

.lp-4__lc-body .lp-4__lc-form .searchResult1 > div .placeholder {
  text-align: center;
  font-size: min(1.3rem,6vw);
  line-height: 1.2;
  color: #987e5a;
  padding-block: 10px;
  padding-inline: 5px;
  &.hidden {
    display: none;
  }
}

.lp-4__lc-body .lp-4__lc-form .searchResult1 > div .result {
  padding: 4%;
  &.hidden {
    display: none;
  }

  > div {
    font-size: min(2rem,7vw);
    line-height: 1;
    color: #634037;
    font-weight: 600;
  }

  > p {
    margin-top: 10px;
    font-size: min(1.1rem,4.5vw);
    line-height: 1.4;
    color: #634037;
    font-weight: 500;
  }
}

.lp-4__lc-body .lp-4__lc-form .searchResult2 {
  margin-top: 10px;
}

.lp-4__lc-body .lp-4__lc-form .searchResult2 > div {
  background-color: #fffa9c;

  > div.placeholder {
    text-align: center;
    font-size: min(1.3rem,6vw);
    line-height: 1.2;
    color: #987e5a;
    padding-block: 10px;
    padding-inline: 5px;
    &.hidden {
      display: none;
    }
  }

  > div.result {
    padding: 4%;
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 5px;
    &.hidden {
      display: none;
    }
    @media (width < 600px) {
      grid-template-columns: auto;
      justify-content: center;
    }
    > p {
      font-size: min(1rem,4.5vw);
      line-height: 1.3;
      color: #634037;
      font-weight: 600;
      @media (width < 600px) {
        text-align: center;

        > br {
          display: none;  
        }
      }
    }
    > div {
      display: flex;
      column-gap: 10px;
      align-items: center;
      > img {
        display: block;
        width: 21px;
        padding: 0;
        max-width: 100%;
      }
      > div {
        font-size: min(2.2rem,8vw);
        line-height: 1;
        color: #634037;
        font-weight: 600;
        white-space: nowrap;
      }
    }
  }
}

.lp-4__lc-body .lp-4__lc-form .searchAssessment {
  margin-top: 15px;
  background: transparent;
}

.lp-4__lc-body .lp-4__lc-form .searchAssessment:hover {
  animation: pop 0.7s ease infinite;

  img {
    opacity: 1;
  }
}

.lp-4__property {
  position: relative;
  margin-top: -35%;
}

.lp-4__property-btn {
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  height: auto;
  transition: 0.3s ease;
}

.lp-4__property-btn:hover {
  animation: pop-p4 0.7s ease infinite;
}

.lp-4__purchase {
  position: relative;
}

.lp-4__purchase-btn {
  position: absolute;
  bottom: 8.6%;
  left: 50%;
  transform: translateX(-50%);
  width: 83%;
  height: auto;
}

.lp-4__purchase-btn:hover {
  animation: pop-p4 0.7s ease infinite;
}

.lp-4__purchase-btn img:hover {
  opacity: 1;
}

.lp-4__budget {
  position: relative;
  margin-top: -32.5%;
}

.lp-4__budget-btn {
  position: absolute;
  bottom: 9.3%;
  left: 50%;
  transform: translateX(-50%);
  width: 79%;
  height: auto;
}

.lp-4__budget-btn:hover {
  animation: pop-p4 0.7s ease infinite;
}

.lp-4__budget-btn img:hover {
  opacity: 1;
}

.lp-4__qa {
  position: relative;
  margin-top: -18%;
  z-index: 2;
}

.lp-4__testimonial {
  position: relative;
  margin-top: -20%;
  z-index: 3;
}

.lp-4__contact {
  position: relative;
  background-image: url('/img/p4/lines-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: repeat-y;
  padding: 40% 4% 15%;
  margin-top: -25%;
}

.lp-4__contact-fig-01 {
  width: 88%;
  margin: 0 auto 11.5%;
}

.lp-4__contact-fig-02 {
  width: 78%;
  margin: 0 auto 14%;
}

.lp-4__contact .form {
  background: #fff;
  border-radius: 20px;
  border: 4px solid #efc100;
  padding: 20px;
  position: relative;
}
.lp-4__contact .form h3 {
  text-align: center;
  margin-bottom: 20px;
}
.lp-4__contact .form dl {
  margin-bottom: 20px;
}
.lp-4__contact .form dl dt {
  display: block;
  color: #643e33;
  font-weight: 600;
  margin-bottom: 3px;
}
.lp-4__contact .form dl dt em {
  margin-left: 10px;
  background: #e50012;
  padding: 1px 2px;
  color: #fff;
  font-size: 0.9rem;
  display: inline-block;
}
.lp-4__contact .form dl dt em.free {
  background: #9e9e9f;
}
.lp-4__contact .form dl dd input.w100 {
  border: 2px solid #efc100;
  background: #fff;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}
.lp-4__contact .form dl dd input[type=radio] {
  display: none; /* ラジオボタンを非表示にする */
}
.lp-4__contact .form dl dd .label {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 2px;
  color: #f29600;
  text-align: center;
  cursor: pointer;
  border-radius: 25px;
  background: #fff;
  font-size: 1.1rem;
  padding: 5px 14px;
  border: 2px solid #f29600;
}
.lp-4__contact .form dl dd .label .fs-10 {
  display: block;
  font-size: 1rem;
}
.lp-4__contact .form dl dd .label.mfp_checked {
  background: #f29600;
  color: #fff;
}
.lp-4__contact .form dl.how dt {
  padding-bottom: 10px;
  border-bottom: 1px solid #efc100;
  margin-bottom: 1em;
}
.lp-4__contact .form dl.how dd {
  display: flex;
  flex-wrap: wrap;
}
.lp-4__contact .form .privacy_txt {
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.4;
}
.lp-4__contact .form .privacy_txt a {
  color: #efc100;
}
.lp-4__contact .form .text-center {
  font-size: 1.2rem;
}
.lp-4__contact .form .submit {
  text-align: center;
  margin-top: 10px;
}
.lp-4__contact .form .submit input {
  border-radius: 10px;
  background: #f29600;
  padding: 10px 15px;
  width: 150px;
  box-sizing: border-box;
  border: 0;
  color: #fff;
  cursor: pointer;
}
.lp-4__contact .form .mfp_buttons button {
  border-radius: 10px;
  background: #f29600;
  padding: 10px 15px;
  box-sizing: border-box;
  border: 0;
  color: #fff;
  cursor: pointer;
}
.lp-4__contact .form .mfp_buttons button#mfp_button_cancel {
  background: #808080;
}
.lp-4__contact .form .thanks {
  text-align: center;
}
.lp-4__contact .form .thanks h3 {
  font-size: 1.4rem;
  font-weight: 600;
}
.lp-4__contact .form .thanks p {
  font-size: 1.1rem;
  line-height: 1.4;
}

.lp-4__cb-privacy {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

#container footer {
  background: url('/img/p4/lines-bg.webp') repeat-y center / cover !important;
}

.footer__logo {
  width: 151px;
  margin: 0 auto 24px;

}

@keyframes pop-p4 {
  0%, 100% {
    transform: scale(1) translateX(-50%);
  }
  50% {
    transform: scale(0.98) translateX(-50%);
  }
}

@keyframes bounce-out-down {
  0% { transform: translate(-50%, 0); }
  20% {
    opacity: 1;
    transform: translate(-50%, -5px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 5px);
  }
}