/* Footer — match Figma design */
.footer {
  position: relative;
  width: 100%;
  margin-top: 0;
  padding: 4.8rem 2rem 2.8rem;
  background: #1880BB;
  color: #fff;
  text-align: center;
  box-sizing: border-box;
}

.footer_inner {
  margin: 0 auto;
}

.footer_address {
  text-align: center;
}

.footer_address_tit {
  display: inline-block;
  padding: 0.35rem 2.8rem;
  border: 1px solid #fff;
  border-radius: 999px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.footer_address_text {
  margin: 1rem 0 0;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.7;
}

.footer_address_text + .footer_address_text {
  margin-top: 0.2rem;
}

.footer_legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.4rem 3.2rem;
  margin: 2.8rem 0 0;
}

.footer_legal a {
  color: #fff !important;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: underline !important;
  text-underline-offset: 0.25em;
}

.footer_legal a:hover {
  opacity: 0.85;
}

.footer_msg {
  width: 100%;
  max-width: 100%;
  margin: 2.8rem 0 0;
  padding: 1.2rem 2rem;
  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  box-sizing: border-box;
}

.footer_msg p {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0;
}

.footer_msg img {
  width: 1.4rem !important;
  height: auto !important;
  max-width: 1.4rem !important;
  min-width: 1.4rem !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
}

.footer_msg span {
  display: inline;
  position: static;
  text-align: left;
}

.footer_copy {
  display: block;
  margin: 2rem 0 0;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

@media only screen and (max-width: 767px) {
  .footer {
    padding: 3.2rem 1.6rem 2rem;
  }

  .footer_address_tit {
    font-size: 1.3rem;
    padding: 0.3rem 2rem;
  }

  .footer_address_text {
    font-size: 1.3rem;
    margin-top: 0.8rem;
  }

  .footer_legal {
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2.4rem;
  }

  .footer_legal a {
    font-size: 1.3rem;
  }

  .footer_msg {
    margin-top: 2.4rem;
    padding: 1.2rem 1.2rem;
    font-size: 1.15rem;
    line-height: 1.5;
  }

  .footer_msg p {
    flex-direction: column;
    gap: 0.6rem;
  }

  .footer_msg span {
    text-align: center;
  }

  .footer_copy {
    margin-top: 1.6rem;
    font-size: 1.1rem;
  }
}
