/* Layout styles: header/footer and page-level structure. */
.header__bg {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #BF380C;
  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: #317295;
}

.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: #BF380C;
  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: #BF380C;
  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: #BF380C;
  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;
}
/* .footer__top-inner { */
  /* max-width: 1280px; */
  /* margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8.125rem;
  padding: 5rem 4.375rem 5rem; */
/* } */

/* @media (max-width: 480px) {
  .footer__top-inner {
    flex-flow: column;
    gap: 1.25rem;
    padding: 3.125rem 1.25rem;
  }
} */

/* .footer__logo-wrap {
  width: 17rem;
}

@media (max-width: 480px) {
  .footer__logo-wrap {
    width: 11.25rem;
    margin-left: 1.25rem;
  }
}

.footer__logo {
  width: 100%;
  display: block;
} */

/* .footer__description {
  font-size: 0.875rem;
  color: #fff;
  line-height: 1.875rem;
}

@media (max-width: 480px) {
  .footer__description {
    text-align: center;
    font-size: 0.75rem;
  }
} */
/* 
.footer__title-content {
  display: flex;
  gap: 3.75rem;
}

@media (max-width: 480px) {
  .footer__title-content {
    width: 100%;
    flex-flow: column;
    gap: 0;
    border-bottom: solid 1px #fff;
  }
} */

/* .footer__list-wrap {
  display: flex;
  flex-flow: column;
  gap: 0.9375rem;
}

@media (max-width: 480px) {
  .footer__list-wrap {
    gap: 0;
  }
}

.footer__list {
  display: flex;
  align-items: center;
  cursor: pointer;
}

@media (max-width: 480px) {
  .footer__list {
    border-bottom: solid 1px #fff;
    padding: 0.9375rem 0;
  }
}

@media (max-width: 480px) {
  .footer__list:first-child {
    border-top: solid 1px #fff;
  }
}

@media (max-width: 480px) {
  .footer__list:last-child {
    border-bottom: 0;
  }
}

.footer__arrow-wrap {
  width: 1.5625rem;
  margin-right: 0.3125rem;
}

.footer__list-description {
  font-size: 1.125rem;
  color: #fff;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .footer__list-description {
    font-size: 1rem;
  }
}

.footer__bottom {
  background-color: #BF380C;
}

.footer__bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.875rem 4.375rem 11.25rem;
}

@media (max-width: 480px) {
  .footer__bottom-inner {
    padding: 1.25rem 1.25rem 8.125rem;
  }
} */

