/* Footer links and social buttons */

.footer {
  display: block;
  width: 100%;
  min-width: 1200px;
  position: relative;
  z-index: 2;
}

.footer__maps {
  border: none;
  width: 1000px;
  margin: 0 auto;
}

.footer__maps:after {
  content: "";
  clear: both;
  display: block;
}

.footer__maps__link {
  margin-bottom: 60px;
}

.footer__maps__link:after {
  content: "";
  clear: both;
  display: block;
}

.footer__maps__link__nav {
  display: block;
  width: 80%;
  float: left;
}

.footer__maps__link__nav:after {
  content: "";
  clear: both;
  display: block;
}

.footer__maps__link__nav li {
  width: 20%;
  float: left;
}

.footer__maps__link__nav a {
  color: #000000;
  text-decoration: none;
  line-height: 1em;
  font-size: 12px;
  font-family: var(--font-light);
  font-feature-settings:
    "palt" 1,
    "kern" 1;
  position: relative;
  display: inline-block;
}

.footer__maps__link__nav a:after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #000000;
  position: absolute;
  left: 0;
  bottom: -3px;
  transform-origin: 50% 0;
  transform: scaleX(0) scaleY(1);
  transition: all 0.2s;
}

.footer__maps__link__nav a:hover:after {
  transform: scaleX(1) scaleY(1);
}

.footer__maps__link__nav p {
  line-height: 1em;
  margin-bottom: 10px;
}

.footer__maps__link__nav span {
  display: block;
  line-height: 1em;
}

.footer__maps__link__nav .footer__maps__link__nav__head {
  line-height: 1em;
  margin-bottom: 15px;
}

.footer__maps__link__nav .footer__maps__link__nav__head a {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.footer__maps__link__official {
  width: 20%;
  float: right;
}

.footer__maps__link__official__tw {
  margin-bottom: 40px;
}

.footer__maps__link__official__name {
  font-size: 13px;
  line-height: 1em;
  margin-bottom: 25px;
}

.footer__maps__link__official__btn {
  line-height: 1em;
  width: 100%;
}

.footer__maps__link__official__btn a {
  text-decoration: none;
  line-height: 1em;
  box-sizing: border-box;
  border-radius: 8px;
  display: block;
  width: 100%;
  position: relative;
  transition: all 0.2s;
  box-shadow:
    inset 0 1px 3px yellow,
    inset 0 -20px 20px darkorange,
    0 1px 1px black;
  background-color: orange;
  background-image: var(--button-texture);
  text-shadow: 0 1px 5px black;
  color: #ffffff;
  border: 1px solid #dd6a00;
}

.footer__maps__link__official__btn a:hover {
  background-color: yellow;
}

.footer__maps__link__official__btn
  a:hover
  .footer__maps__link__official__btn__text {
  color: #ffffff;
}

.footer__maps__link__official__btn
  a:hover
  .footer__maps__link__official__btn__icon
  svg {
  fill: #ffffff;
}

.footer__maps__link__official__btn__icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1em;
}

.footer__maps__link__official__btn__icon svg {
  vertical-align: top;
}

.footer__maps__link__official__btn__icon svg {
  transition: all 0.2s;
}

.footer__maps__link__official__btn__text {
  font-size: 11px;
  font-family: var(--font-title);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-left: 45px;
  display: block;
  height: 38px;
  line-height: 38px;
  transition: all 0.2s;
}

.footer__maps__link__official__btn__blank {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1em;
  font-size: 0;
}

.footer__maps__link__official__btn__blank svg {
  vertical-align: top;
}

.footer__inner {
  border: none;
  position: relative;
  text-align: center;
  padding: 70px 0 30px 0;
}

.footer__links ul {
  letter-spacing: 0;
  font-size: 0;
}

.footer__links li {
  letter-spacing: normal;
  font-size: medium;
  display: inline-block;
  margin: 0 20px;
}

.footer__links a {
  font-family: var(--font-light);
  font-feature-settings:
    "palt" 1,
    "kern" 1;
  font-size: 14px;
  text-decoration: none;
  color: #000000;
}

.footer__copyright {
  font-size: 22px;
  position: absolute;
  right: 40px;
  bottom: 40px;
  z-index: 0;
  transform-origin: 100% 50%;
  transform: scale(0.6);
}

@media screen and (max-width: 768px) {
  .footer {
    min-width: 87.5%;
  }
  .footer__maps {
    width: 87.5%;
  }
  .footer__maps__link {
    margin-bottom: 0;
  }
  .footer__maps__link__nav {
    width: 100%;
    float: none;
    margin-bottom: 10.9375vw;
  }
  .footer__maps__link__nav li {
    width: 50%;
    margin-bottom: 18.75vw;
  }
  .footer__maps__link__nav li:nth-child(2n) {
    width: 42.85%;
    float: right;
  }
  .footer__maps__link__nav li:last-child {
    margin-bottom: 0;
  }
  .footer__maps__link__nav a {
    font-size: 3.75vw;
  }
  .footer__maps__link__nav a:after {
    display: none;
  }
  .footer__maps__link__nav p {
    margin-bottom: 9.375vw;
  }
  .footer__maps__link__nav p:last-child {
    margin-bottom: 0;
  }
  .footer__maps__link__nav .footer__maps__link__nav__head {
    margin-bottom: 9.375vw;
  }
  .footer__maps__link__nav .footer__maps__link__nav__head a {
    font-size: 3.75vw;
  }
  .footer__maps__link__official {
    width: 64.28%;
    float: none;
    text-align: center;
    margin: 0 auto;
  }
  .footer__maps__link__official__tw {
    margin-bottom: 9.375vw;
  }
  .footer__maps__link__official__name {
    font-size: 4.0625vw;
    margin-bottom: 4.0625vw;
  }
  .footer__maps__link__official__btn a {
    border: #666666 solid 0.3125vw;
    transition: none;
  }
  .footer__maps__link__official__btn a:hover {
    border: #666666 solid 0.3125vw;
  }
  .footer__maps__link__official__btn__icon {
    left: 4.0625vw;
  }
  .footer__maps__link__official__btn__icon svg {
    width: 6.25vw;
    height: auto;
  }
  .footer__maps__link__official__btn__icon svg {
    transition: none;
  }
  .footer__maps__link__official__btn__text {
    font-size: 3.125vw;
    margin-left: 12.5vw;
    height: 10.625vw;
    line-height: 10.625vw;
    transition: none;
    text-align: left;
  }
  .footer__maps__link__official__btn__blank {
    right: 5.625vw;
  }
  .footer__maps__link__official__btn__blank svg {
    width: 2.1875vw;
    height: auto;
  }
  .footer__inner {
    width: 87.5%;
    margin: 0 auto;
    padding: 0px;
    padding-top: 18.75vw;
    padding-bottom: 4.6875vw;
  }
  .footer__links {
    margin-bottom: 10.9375vw;
    transform: translateX(-3.125vw);
  }
  .footer__links ul {
    white-space: nowrap;
  }
  .footer__links li {
    margin: 0;
    transform-origin: 50% 0;
    transform: scale(0.8);
  }
  .footer__links a {
    font-size: 3.125vw;
  }
  .footer__copyright {
    font-size: 3.125vw;
    position: relative;
    right: auto;
    bottom: auto;
    transform-origin: 50% 0;
    transform: scale(0.7);
    white-space: nowrap;
  }
}

.footer__maps__link__official__btn__blank svg {
  fill: #ffffff;
}

/* Equal heights for the link columns. */
@media screen and (max-width: 768px) {
  .footer__maps__link__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
}
