.s-header {
  position: fixed;
  height: calc(var(--height-header) * 1px);
  top: 49px;
  left: 0;
  width: 100%;
  padding-left: 50px;
  padding-right: 50px;
  z-index: var(--zIndex-header);
  overflow: hidden;
}

@media screen and (max-width: 1024px) {
  .s-header {
    background-color: var(--color-primary);
    height: 70px;
    bottom: 0;
    top: unset;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding-left: unset;
    padding-right: unset;
    padding-top: 8px;
    padding-bottom: 22px;
  }
}

.s-header__inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 10px;
  height: 100%;
}

.s-header__sp {
  display: none;
  width: 100%;
}

@media screen and (max-width: 1024px) {
  .s-header__sp {
    align-items: center;
    display: grid;
    grid-template-columns: 1fr 60px;
  }
}

@media screen and (max-width: 1024px) {
  .s-header__left {
    display: none;
  }
}

.s-header__right {
  display: flex;
  column-gap: 30px;
  align-items: center;
}

@media screen and (max-width: 1024px) {
  .s-header__right {
    display: none;
  }
}

.s-header__spmenu {
  display: none;
}

@media screen and (max-width: 1024px) {
  .s-header__spmenu {
    display: revert;
  }
}

@media screen and (max-width: 1024px) {
  .s-header__toggle {
    display: grid;
    place-items: center;
  }
}

@media screen and (max-width: 1400px) {
  .s-header__logo {
    width: 240px;
  }
}
@media screen and (max-width: 1200px) {
  .s-header__logo {
    width: 200px;
  }
}

.s-header__cta {
  display: flex;
  column-gap: 10px;
  align-items: center;
}

@media screen and (max-width: 1200px) {
  .s-header__cta .c-button-round {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 2px;
    padding-bottom: 2px;
    min-height: 36px;
    font-size: 12px;
  }
}
.s-header__top {
  display: grid;
  place-items: center;
  border-left: 1px solid var(--color-secondary);
}

.s-header-nav__list {
  display: flex;
  column-gap: 35px;
  margin-bottom: 0;
}
@media screen and (max-width: 1400px) {
  .s-header-nav__list {
    column-gap: 20px;
  }
}
.s-header-nav__list .menu-item a {
  display: flex;
  align-items: center;
  column-gap: 19px;
  font-size: 14px;
  line-height: calc(32 / 14);
  font-weight: 500;
  letter-spacing: 0.1em;
  font-feature-settings: "palt";
  transition: color 0.3s;
}

@media screen and (max-width: 1400px) {
  .s-header-nav__list .menu-item a {
    font-size: 12px;
    column-gap: 10px;
  }
}
@media screen and (max-width: 1200px) {
  .s-header-nav__list .menu-item a {
    font-size: 10px;
  }
}
.s-header-nav__list .menu-item a:hover {
  color: var(--vk-color-text-link-hover);
  text-decoration-color: var(--vk-color-text-link-hover);
}

.s-header-nav__list .menu-item a::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='10' viewBox='0 0 9 10' fill='none'><path d='M0 5.00003H8' stroke='%231E1E1E' stroke-miterlimit='10'/><path d='M4 1L8 5L4 9' stroke='%231E1E1E' stroke-miterlimit='10'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}

.s-footer {
  background-color: var(--color-gray);
}
.s-footer__wrap {
  background-color: var(--color-primary);
  color: white;
  padding-top: 100px;
  padding-bottom: 50px;
  padding-left: 50px;
  padding-right: 50px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}

@media screen and (max-width: 768px) {
  .s-footer__wrap {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding-top: 80px;
    padding-bottom: 65px;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
}
.s-footer__inner {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.s-footer__layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  column-gap: 4%;
}

.s-footer__nav {
  margin-top: 30px;
}

@media screen and (max-width: 768px) {
  .s-footer__nav {
    margin-top: 20px;
  }
}
@media screen and (max-width: 768px) {
  .s-footer__catch {
    width: clamp(186px, calc(186 / 375 * 100vw), calc(186px * 1.5));
    max-width: 307px;
  }
}

@media screen and (max-width: 768px) {
  .s-footer__layout {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }
}
.s-footer__banners {
  display: flex;
  justify-content: flex-end;
  column-gap: 30px;
}

@media screen and (max-width: 1024px) {
  .s-footer__banners {
    flex-direction: column;
    row-gap: 20px;
    align-items: center;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

.s-footer__banner {
  transition: opacity.1s ease-in;
}
.s-footer__banner:hover {
  opacity: 0.8;
}
.s-footer__sns {
  text-align: center;
  margin-top: 72px;
}

@media screen and (max-width: 768px) {
  .s-footer__sns {
    margin-top: 45px;
  }
}

.s-footer__sns .-heading {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: calc(32 / 15);
  font-feature-settings: "palt";
}

@media screen and (max-width: 768px) {
  .s-footer__sns .-heading {
    font-size: 12px;
    line-height: calc(32 / 12);
  }
}
.s-footer__sns .-list {
  display: flex;
  justify-content: center;
  column-gap: 20px;
  margin-top: 22px;
  padding-left: unset;
}
@media screen and (max-width: 768px) {
  .s-footer__sns .-list {
    margin-top: 13px;
    column-gap: 15px;
  }

  .s-footer__sns .-img {
    width: 40px;
  }
}

.s-footer__sns .-link {
  transition: opacity.1s ease-in;
}
.s-footer__sns .-link:hover {
  opacity: 0.8;
}

.s-footer__copyright {
  text-align: center;
  margin-top: 45px;
  font-size: 12px;
  line-height: calc(32 / 12);
  letter-spacing: 0.1em;
  color: var(--color-secondary);
}

@media screen and (max-width: 768px) {
  .s-footer__copyright {
    font-size: 10px;
    line-height: calc(32 / 10);
    margin-top: 35px;
  }
}

/* SP Menu */
.s-spmenu {
  height: 100vh;
  height: 100lvh;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  pointer-events: none;
  z-index: var(--zIndex-spmenu);
  display: none;
}

@media screen and (max-width: 1024px) {
  .s-spmenu {
    display: block;
  }
}

.s-spmenu__wrap {
  width: 100%;
  height: 100%;
}

.s-spmenu._is-open {
  pointer-events: all;
}

.s-spmenu__wrap {
  transition: opacity 0.4s var(--ease-in-out-quad);
  opacity: 0;
}

.s-spmenu__wrap._is-open {
  opacity: 1;
}

.s-spmenu__main {
  width: 100%;
  height: 100%;
  background-color: var(--color-primary);
  transition: transform 0.4s var(--ease-in-out-quad);
  color: white;
}

.s-spmenu__main._is-open {
}

.s-spmenu__inner {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  height: 100%;
  width: 100%;
  position: relative;
  padding-top: 40px;
  padding-bottom: 110px;
  overflow-y: auto;
}

.s-spmenu__main {
  position: relative;
  width: 100%;
}

.s-spmenu__logo {
  display: grid;
  place-items: center;
}

.s-spmenu__body {
  height: calc(100vh - var(--height-header-sp) * 1px);
  overflow-y: auto;
  padding-bottom: 2vh;
}

.s-spmenu-nav__list {
  padding-left: unset;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #4c5275;
  margin-top: 80px;
}
.s-spmenu-nav__list > .menu-item {
  border-bottom: 1px solid #4c5275;
}

.s-spmenu-nav__list .menu-item a {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  column-gap: 19px;
  font-size: 14px;
  line-height: calc(32 / 14);
  font-weight: 500;
  letter-spacing: 0.1em;
  font-feature-settings: "palt";
  display: grid;
  grid-template-columns: 10px 1fr 10px;
  align-items: center;
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
  color: white;
}

.s-spmenu-nav__list .menu-item a::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='10' viewBox='0 0 9 10' fill='none'><path d='M0 5.00003H8' stroke='white' stroke-miterlimit='10'/><path d='M4 1L8 5L4 9' stroke='white' stroke-miterlimit='10'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}
.s-spmenu-nav__list .menu-item a::after {
  content: "";
  display: inline-block;
  width: 9px;
  height: 10px;
}

.s-spmenu__buttons {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  align-items: center;
}

.s-footer-nav__list {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.s-footer-nav__list .menu-item a {
  font-size: 14px;
  line-height: calc(32 / 14);
  font-weight: 500;
  letter-spacing: 0.1em;
  font-feature-settings: "palt";
  transition: color 0.3s;
  width: fit-content;
}

@media screen and (max-width: 768px) {
  .s-footer-nav__list .menu-item a {
    font-size: 12px;
  }
}

.s-footer-nav__list .menu-item a:hover {
  color: var(--vk-color-text-link-hover);
  text-decoration-color: var(--vk-color-text-link-hover);
}
