.l-header {
  background: #fff;
}

.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  height: 60px;
  padding: 10px;
}

.l-header__brand {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.l-header__logo {
  flex-shrink: 0;
  width: 90px;
}

.l-header__logo img {
  width: 100%;
}

.l-header__text {
  font-size: 8px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-gray);
  white-space: nowrap;
}

.l-header__cta {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 40px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  border-radius: 20px;
}

.l-header__cta::before {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  width: 200%;
  height: 100%;
  content: "";
  background: linear-gradient(to right, var(--color-primary), var(--color-orange) 50%, var(--color-primary));
  transition: transform 0.3s;
}

@media (hover: hover) {
  .l-header__cta:hover::before {
    transform: translateX(50%);
  }
}

@media (max-width: 374px) {
  .l-header__text {
    display: none;
  }
}

@media (min-width: 768px) {
  .l-header__inner {
    max-width: 2280px;
    height: 100px;
    padding: 0 20px;
    margin-inline: auto;
  }

  .l-header__brand {
    gap: 20px;
  }

  .l-header__logo {
    width: 130px;
  }

  .l-header__text {
    font-size: 11px;
    line-height: 16px;
    letter-spacing: 0.5px;
  }

  .l-header__cta {
    width: 200px;
    height: 60px;
    font-size: 16px;
    letter-spacing: 1.6px;
    border-radius: 40px;
  }
}

.l-footer {
  position: relative;
  padding: 30px 16px 32px;
  background: var(--color-primary);
}

.l-footer__copy {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  letter-spacing: 1.8px;
}

.l-footer__pagetop {
  position: absolute;
  right: 15px;
  bottom: 5px;
}

@media (min-width: 768px) {
  .l-footer {
    padding: 10px 20px;
  }

  .l-footer__inner {
    max-width: 1140px;
    margin-inline: auto;
  }

  .l-footer__copy {
    padding-block: 3px;
    text-align: left;
  }
}
