body {
  overflow-x: clip;
  color: #1d1d1f;
  font-family: Inter, sans-serif;
  line-height: 1.6;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 88px;
  background: #fff;
  box-shadow: 0 1px 5px rgb(0 0 0 / 8%);
}

@media (max-width: 767px) {
  .header {
    height: 64px;
  }
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 72px, 1400px);
  height: 100%;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .header__inner {
    width: calc(100% - 40px);
  }
}

.header__logo {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 767px) {
  .header__logo {
    font-size: 15px;
  }
}

.header__nav-list {
  display: flex;
  gap: 42px;
}

@media (max-width: 767px) {
  .header__nav {
    display: none;
  }
}

.header__nav-link {
  position: relative;
  display: block;
  padding: 31px 0 27px;
  font-size: 15px;
  font-weight: 600;
}

.header__nav-link::after {
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  height: 1px;
  background: #1d1d1f;
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.header__nav-link:hover::after,
.header__nav-link:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.header__menu-button {
  display: none;
}

@media (max-width: 767px) {
  .header__menu-button {
    position: relative;
    display: block;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .header__menu-button span {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 22px;
    height: 2px;
    border: 0;
    border-radius: 0;
    background: #1d1d1f;
    box-shadow: none;
    transform-origin: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .header__menu-button span::before,
  .header__menu-button span::after {
    display: none;
    content: none;
  }

  .header__menu-button span:nth-child(1) {
    transform: translate(-50%, -8px);
  }

  .header__menu-button span:nth-child(2) {
    transform: translate(-50%, -1px);
  }

  .header__menu-button span:nth-child(3) {
    transform: translate(-50%, 6px);
  }

  .header__menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translate(-50%, -1px) rotate(45deg);
  }

  .header__menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    visibility: hidden;
    background: transparent;
    box-shadow: none;
  }

  .header__menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translate(-50%, -1px) rotate(-45deg);
  }

  .header__menu-button[aria-expanded="true"],
  .header__menu-button[aria-expanded="true"]:hover,
  .header__menu-button[aria-expanded="true"]:focus,
  .header__menu-button[aria-expanded="true"]:active {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
}

.header__mobile-nav {
  position: fixed;
  top: 64px;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  place-items: center;
  height: calc(100dvh - 64px);
  padding: 24px 20px;
  border-top: 1px solid #ededed;
  background: #fff;
  overflow-y: auto;
}

.header__mobile-nav[hidden] {
  display: none;
}

.header__mobile-list a {
  display: block;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.header__mobile-list li + li {
  margin-top: 12px;
}

@media (max-width: 767px) {
  body.is-menu-open {
    overflow: hidden;
  }
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 148px;
  background: #929292;
  color: #fff;
}

@media (max-width: 767px) {
  .footer {
    gap: 16px;
    min-height: 160px;
  }
}

.footer__logo {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  transition: opacity 0.2s ease;
}

.footer__logo:hover,
.footer__logo:focus-visible {
  opacity: 0.7;
}

@media (max-width: 767px) {
  .footer__logo {
    font-size: 18px;
  }
}

.footer__copyright {
  font-size: 12px;
}

@media (max-width: 767px) {
  .footer__copyright {
    font-size: 10px;
  }
}

.page-top {
  position: fixed;
  right: 12px;
  bottom: 18px;
  z-index: 15;
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #55c7d8;
  box-shadow: 0 2px 5px rgb(0 0 0 / 20%);
}

@media (max-width: 767px) {
  .page-top {
    right: 10px;
    bottom: 18px;
    width: 44px;
    height: 44px;
  }
}

.page-top::before {
  position: absolute;
  top: 18px;
  left: 15px;
  width: 14px;
  height: 14px;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
  content: "";
  transform: rotate(45deg);
}

@media (max-width: 767px) {
  .page-top::before {
    top: 17px;
    left: 15px;
    width: 13px;
    height: 13px;
  }
}
