.c-customFooter {
  background: #fff;
  color: #333;
}

.c-customFooter__inner {
  max-width: 760px;
  padding-top: 30px;
  padding-bottom: 0;
  text-align: center;
}

.c-customFooter__logoWrap {
  margin-bottom: 40px;
}

.c-customFooter__logoWrap .c-headLogo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

.c-customFooter__logoWrap .c-headLogo img,
.c-customFooter__logoWrap .c-headLogo__img {
  width: min(210px, 52vw);
  height: auto;
  display: block;
}

.c-customFooter__nav {
  list-style: none;
  margin: 0 auto 40px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 14px;
  max-width: 680px;
}

.c-customFooter__nav a {
  font-size: 16px;
  letter-spacing: 0.02em;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  &:hover,
  &:focus-visible {
    color: #8c4257;
  }
}

.c-customFooter__copyright {
  margin: 40px 0 0;
  font-size: 16px;
  color: #333;
  position: relative;
}

.c-customFooter__instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: #555!important;
  text-decoration: none;
  transition: all 0.3s ease;
  &:hover,
  &:focus-visible {
    color: #8c4257!important;
  }
}

.c-customFooter__instagram .icon-instagram {
  font-size: 22px;
  line-height: 1;
}

.c-customFooter__pagetop {
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: #333;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 40px auto 0;
  transition: all 0.3s ease;
  &:after{
    content: '';
    display: block;
    width: 1px;
    height: 30px;
    background: #333;
  }
}

.c-customFooter__pagetop:hover,
.c-customFooter__pagetop:focus-visible {
  color: #8c4257;
  outline: none;
  &:after{
    background: #8c4257;
  }
}

@media (max-width: 767px) {
  .c-customFooter__inner {
    max-width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }
  .c-customFooter__logoWrap {
    margin-bottom: 24px;
  }

  .c-customFooter__logoWrap .c-headLogo img,
  .c-customFooter__logoWrap .c-headLogo__img {
    width: min(190px, 58vw);
  }

  .c-customFooter__nav {
    gap: 4px 12px;
    max-width: 96vw;
    margin: 0 auto 24px;
  }
  .c-customFooter__copyright {
    margin-top: 24px;
  }
  .c-customFooter__nav a {
    font-size: 16px;
  }
  .c-customFooter__pagetop{
    margin-top: 24px;
    &:after{
      height: 30px;
    }
  }
}
