@font-face {
  font-family: "Avenir Custom";
  src: url("../../fonts/avenir/avenir-light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-024F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF;
}

@font-face {
  font-family: "Avenir Custom";
  src: url("../../fonts/avenir/avenir-book.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-024F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF;
}

@font-face {
  font-family: "Avenir Custom";
  src: url("../../fonts/avenir/avenir-regular.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-024F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF;
}

@font-face {
  font-family: "Avenir Custom";
  src: url("../../fonts/avenir/avenir-heavy.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-024F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF;
}

@font-face {
  font-family: "Avenir Custom";
  src: url("../../fonts/avenir/avenir-black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-024F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF;
}

:root {
  --font-ja: "Zen Kaku Gothic New";
  --font-en: "Avenir Custom";
  --content-max: 980px;
  --site-max: 1280px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-en), var(--font-ja);
  letter-spacing: 0.02em;
}

.js body {
  opacity: 0;
  transition: opacity 1.6s ease;
}

.js body.is-page-ready {
  opacity: 1;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.universe-fitit__Lp {
  max-width: var(--site-max);
  margin: 0 auto;
  background: var(--bg-main);
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.footer {
  margin-top: 0;
  margin-bottom: 0;
  width: 100%;
  position: relative;
  isolation: isolate;
  padding: clamp(140px, 19vw, 238px) 0 15px;
  color: #fff;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(100%, var(--site-max));
  transform: translateX(-50%);
  background-color: #edebeb;
  z-index: -2;
}

.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../../images/fitit/fitit-footer__Background.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  z-index: -1;
}

.footer__inner {
  width: min(100%, 62.5rem);
  margin-inline: auto;
  padding-inline: 6.875rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}

.footer__logo {
  display: inline-block;
  width: 156.5px;
  height: 86.8px;
}

.footer__logo img {
  width: 100%;
  height: 100%;
}

.footer__nav {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.23em;
  font-weight: 700;
}

.footer__social {
  display: inline-flex;
  width: 15px;
  height: 15px;
  opacity: 0.95;
}

.footer__social img {
  width: 100%;
  height: 100%;
}

.copyright {
  width: min(100% - 40px, var(--content-max));
  margin: 36px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 900px) {
  .footer {
    padding: 112px 0 15px;
  }
}

@media (max-width: 1000px) {
  .footer__inner {
    width: 100%;
    padding-inline: 8%;
  }
}

@media (max-width: 600px) {
  .copyright {
    width: min(100% - 28px, var(--content-max));
  }

  .footer__inner {
    padding-inline: 5.6%;
  }
}

@media (min-width: 320px) and (max-width: 499px) {
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 80px;
  }

  .footer__logo {
    margin-bottom: 35px;
  }

  .footer__nav {
    margin-bottom: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js body {
    opacity: 1;
    transition: none;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
