.header__bg {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #7a3500;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.header__bg.active {
  opacity: 1;
}

.header__content {
  position: relative;
  z-index: 1;
  height: 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  border-radius: 0 0 1.875rem 1.875rem;
}

@media (max-width: 480px) {
  .header__content {
    height: 2.875rem;
  }
}

.header__logo {
  width: 10rem;
  display: block;
}

@media (max-width: 480px) {
  .header__logo {
    width: 9.375rem;
  }
}

.header__logo-link {
  display: block;
}

.header__menu {
  display: flex;
  align-items: center;
}

/* .header__menu-list {
  display: flex;
  align-items: center;
  margin-right: 1.875rem;
}

@media (max-width: 768px) {
  .header__menu-list {
    display: none;
  }
} */

/* .header__menu-item {
  font-size: 1rem;
  font-weight: 700;
  margin-right: 1.875rem;
  cursor: pointer;
  color: #282119;
}

.header__menu-item .header:last-child {
  margin-right: 0;
} */

.header__button-wrapper {
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .header__button-wrapper {
    display: none;
  }
}

.header__button {
  width: 11.0625rem;
}

.header__hamburger {
  display: none;
}

@media (max-width: 768px) {
  .header__hamburger {
    display: block;
    width: 25px;
    height: 14px;
    position: relative;
  }
}

.header__hamburger.active .header__hamburger-line:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.header__hamburger.active .header__hamburger-line:nth-child(2) {
  opacity: 0;
}

.header__hamburger.active .header__hamburger-line:nth-child(3) {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

.header__hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  position: absolute;
  background-color: #7a3500;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease,
    bottom 0.3s ease;
}

.header__hamburger-line:nth-child(1) {
  top: 0;
}

.header__hamburger-line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.header__hamburger-line:nth-child(3) {
  bottom: 0;
}


.header__sp-menu {
  display: none;
  position: fixed;
  transition: opacity 0.3s ease, pointer-events 0.3s ease;
  background-color: #7a3500;
  opacity: 0;
  pointer-events: none;
  inset: 5rem 0 0 0;
  z-index: 100;
  padding-top: 1rem;
}

@media (max-width: 768px) {
  .header__sp-menu {
    display: block;
  }
}

@media (max-width: 480px) {
  .header__sp-menu {
    top: 2.875rem;
  }
}

.header__sp-menu.active {
  opacity: 1;
  pointer-events: auto;
}

.header__sp-menu-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.header__sp-menu-list {
  padding: 0.625rem 1.25rem;
  overflow-y: auto;
}

.header__sp-menu-item {
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.625rem;
  border-bottom: 1px solid #fff;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__sp-menu-item-arrow {
  width: 1.5625rem;
}

.header__sp-menu-button-wrapper {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem;
  background-color: #7a3500;
  gap: 0.5rem;
}

.header__sp-menu-button-link {
  /* width: calc(50% - 0.25rem); */
  display: block;
  cursor: pointer;
}

.header__sp-menu-button {
  /* width: 100%; */
}

.header__button-link {
  display: block;
  cursor: pointer;
  margin-right: 0.625rem;
}

.header__button-link:last-child {
  margin-right: 0;
}