@charset "utf-8";

.site-footer-cta {
  padding: 80px 0;
  background-image: var(--site-footer-cta-bg);
  background-size: cover;
  background-position: center;
  position: relative;
}

.site-footer-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(119, 97, 88, 0.5);
}

.site-footer-cta__inner {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.site-footer-cta__catch {
  color: #fff;
  font-weight: 800;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.3em;
}

.site-footer-cta__lead {
  margin-top: 8px;
  color: #fff;
  font-weight: 800;
}

.site-footer-cta .c-btn {
  margin-top: 22px;
}

.site-footer {
  background:
    linear-gradient(135deg, transparent 70%, #73625b 70%),
    linear-gradient(135deg, transparent 72%, #ad8a62 72%);
  background-color: #f7f4ef;
}

.site-footer__inner {
  width: min(1100px, calc(100% - 60px));
  margin: 0 auto;
  padding: 56px 0 42px;
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}
.site-footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-footer__logo img {
  height: 58px;
  width: auto;
}

.site-footer__address {
  margin-top: 20px;
  line-height: 1.9;
}

.site-footer__nav {
  margin-top: 28px;
}

.site-footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.28s ease;
}
.site-footer__nav a:hover{
  color: var(--color-primary);
}

.site-footer__nav a::before {
  content: "—";
  color: var(--color-brown);
}
.site-footer__map {
  width: 400px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}

.site-footer__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 400 / 300;
  border: 0;
}
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 12px;
  color: var(--color-brown);
  background-color: #f7f4ef;
  border-top: 1px solid #d8d2c8;
}

@media screen and (max-width: 900px) {
  .site-footer-cta {
    padding: 56px 0;
  }
  .site-footer-cta__inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
    width: min(1100px, calc(100% - 40px));
  }

  .site-footer-cta .c-btn {
    margin-top: 0;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
  }

  .site-footer__left {
    max-width: 420px;
  }

  .site-footer__logo {
    justify-content: center;
  }
  .site-footer__logo img{
    height: 48px;
  }
  .site-footer__nav {
    display: none;
  }

  .site-footer__nav ul {
    align-items: center;
  }

  .site-footer__nav a {
    justify-content: center;
  }

  .site-footer__map {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  .site-footer__map,
  .site-footer__map iframe {
    height: 230px;
    width: 100%;
    aspect-ratio: initial;
  }
}

@media screen and (max-width: 640px) {
  .site-footer-cta {
    padding: 40px 0;
  }
  .site-footer-cta__inner {
    width: calc(100% - 24px);
  }

  .site-footer-cta .c-btn {
    padding: 14px 22px;
  }

  .site-footer__inner {
    width: calc(100% - 24px);
    padding: 40px 0 28px;
  }

  .site-footer__logo img {
    height: 32px;
  }

  .site-footer__nav ul {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer__pagetop {
    width: 34px;
    height: 34px;
    right: 12px;
  }
  .site-footer__bottom {
    padding: 8px 12px;
    font-size: 10px;
  }
}
