header {
  /* position: unset; */
  position: relative;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  height: 78px;
}

header.is-sticky {
  position: fixed;
  top: -1px;
  padding-bottom: 0;
  height: 45px;
}

/* header.is-sticky .boxed-width .logo-wrapper figure .logo-text {
  display: none;
} */

header.is-sticky .boxed-width .nav-img {
  display: none;
}
header.is-sticky .boxed-width > .nav-list {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 27px;
  margin-right: 23px;
}
header.is-sticky .boxed-width .side-nav .side-nav-img {
  display: none;
}

header.is-sticky .boxed-width .nav-wrapper-bottom li {
  border: none;
}
header.is-sticky .boxed-width .nav-wrapper-bottom {
  gap: 24px;
}
header.is-sticky .boxed-width .side-nav li:first-child,
header.is-sticky .boxed-width .side-nav li:last-child {
  height: 45px;
}
header.is-sticky .boxed-width .nav-wrapper-top li {
  padding: 0;
}
header.is-sticky .boxed-width .side-nav li:first-child span {
  font-weight: normal;
}
header.is-sticky .boxed-width .logo-wrapper figure {
  width: fit-content;
}
header.is-sticky .boxed-width .nav-wrapper-top {
  gap: 29px;
}
header.is-sticky .boxed-width .side-nav li:last-child span {
  font-weight: normal;
}

header .boxed-width {
  align-items: center;
  box-sizing: border-box;
  position: relative;
  padding: 0 0;
}
header .boxed-width > div {
  box-sizing: border-box;
}
header .boxed-width .logo-wrapper {
  margin-right: auto;
  padding-left: 20px;
}
header .boxed-width .logo-wrapper figure {
  width: 220px;
  height: 25px;
  display: flex;
  box-sizing: border-box;
}
header .boxed-width .logo-wrapper figure a {
  display: flex;
  align-items: center;
  gap: 5px;
}
header .boxed-width .logo-wrapper figure .logo-img {
  object-fit: contain;
  box-sizing: border-box;
  max-width: 48px;
}
header .boxed-width .logo-wrapper figure .logo-text {
  max-width: 169px;
  object-fit: contain;
  box-sizing: border-box;
}
header .boxed-width .nav-img {
  width: auto;
  height: 18px;
  object-fit: contain;
}
header .boxed-width > .nav-list {
  width: fit-content;
  align-items: end;
  margin-right: 16px;
  gap: 12px;
}
header .boxed-width .nav-wrapper-top {
  gap: 19px;
}
header .boxed-width .nav-wrapper-bottom {
  gap: 20px;
}
header .boxed-width .nav-wrapper-top li {
  display: flex;
  width: fit-content;
  background-color: #ffffff;
}
header .boxed-width .nav-wrapper-top li:last-child a {
  padding: 3px 10px;
  background-color: #efefef;
  border-radius: 30px;
}
header .boxed-width .nav-wrapper-top li a:hover {
  background: #efefef;
}
header .boxed-width .nav-wrapper-top li a {
  display: flex;
  align-items: center;
}
header .boxed-width .nav-wrapper-top li span {
  font-size: 12px;
  flex-shrink: 0;
}
header .boxed-width .nav-wrapper-bottom li {
  display: flex;
  align-items: center;
  gap: 2.5px;
}
header .boxed-width .nav-wrapper-bottom li a {
  display: flex;
  align-items: center;
  gap: 3px;
  justify-content: center;
}
header .boxed-width .nav-wrapper-bottom li span {
  font-size: 14px;
}
header .boxed-width .side-nav li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
header .boxed-width .side-nav .side-nav-img {
  background-color: white;
  object-fit: contain;
  width: 36px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
header .boxed-width .side-nav .side-nav-img img {
  width: auto;
  height: 24px;
}

header .boxed-width .side-nav li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 14px;
}
header .boxed-width .side-nav li:first-child {
  background-color: var(--primary-blue);
  width: 127px;
  height: 73px;
  justify-content: center;
}
header .boxed-width .side-nav li:first-child span {
  color: var(--white);
  font-weight: 400;
}

header .boxed-width .mobile-menu {
  display: none;
}
header .icon-close-open {
  display: none;
  position: relative;
}
header .icon-close-open .close {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
header .icon-close-open.is-open .close {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
}
header .icon-close-open.is-open .open {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
header .boxed-width .mobile-menu {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
header .boxed-width .mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
}
header .icon-close-open .open.closed {
  visibility: hidden;
  opacity: 0;
}
header .icon-close-open .open.opened {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
}

@media (max-width: 1360px) {
  header.is-sticky {
    height: unset;
  }
  header .boxed-width {
    padding-left: 20px;
  }
  header .boxed-width .logo-wrapper figure .logo-img {
    width: 30px;
  }
  header .boxed-width .logo-wrapper figure .logo-text {
    width: 140px;
  }
  header .boxed-width .side-nav ul {
    flex-direction: column;
  }
  header .boxed-width .side-nav li {
    flex-direction: row;
    height: 52px !important;
  }
  header .boxed-width .side-nav li span {
    font-size: 10px;
  }
  header .boxed-width .side-nav li:first-child {
    border-radius: unset;
  }
  header .boxed-width .side-nav .side-nav-img {
    width: 32px !important;
  }
  header .boxed-width .side-nav .side-nav-img img {
    width: 25px;
  }
}
/* Mobile Menu */
@media (max-width: 1250px) {
  header .boxed-width {
    height: fit-content;
    padding: 0 10px;
    padding-right: 0;
  }

  header .nav-list.pc,
  header .side-nav {
    display: none !important;
  }
  header .icon-close-open {
    display: flex;
    width: 56px;
    height: 54px;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-yellow);
  }
  header .boxed-width .mobile-menu {
    display: unset;
    position: absolute;
    background-color: var(--white);
    top: 54px;
    left: 0;
    width: 100%;
    background-color: rgba(255, 253, 221, 1);
    z-index: 4;
  }
  header .double-cta ul span {
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
  }
  header .nav-list ul {
    margin: 0;
  }
  header .double-cta li {
    height: 60px;
    width: 50%;
    flex-grow: 0;
    flex-shrink: 0;
  }
  header .double-cta ul li {
    background-color: var(--primary-blue);
    padding: 0 26px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;
  }
  header .double-cta ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  header .double-cta ul li:last-child {
    background-color: var(--primary-orange);
    padding: 0 26px;
    box-sizing: border-box;
  }
  header .double-cta ul {
    justify-content: space-between;
  }
  header .double-cta .mobile-menu-cta-img.first {
    width: 26px;
    height: 21px;
    padding: 3px;
    background-color: white;
    object-fit: contain;
    border-radius: 30px;
  }
  header .double-cta .mobile-menu-cta-img.second {
    width: 26px;
    height: 21px;
    padding: 3px;
    background-color: white;
    object-fit: contain;
    border-radius: 30px;
  }
  header .mobile-menu .mobile-nav-row ul li {
    font-size: 14px;
    line-height: 260%;
  }
  header .mobile-menu .nav-list {
    gap: 30px;
    width: 100%;
    max-width: 335px;
    margin: 0 auto;
    padding-block: 30px 74px;
  }

  header .mobile-menu .nav-list .mobile-nav-row {
    display: flex;
    flex-direction: column;
    gap: 50px;
  }

  header .mobile-menu .nav-list .mobile-nav-row ul li:first-child {
    font-size: 16px;
    font-weight: 700;
    line-height: 100%;
    margin-bottom: 10px;
  }

  /* Accordion Styles */
  header .mobile-menu .mobile-nav-accordion {
    width: 100%;
    margin-bottom: 0;
  }

  header .mobile-menu .accordion-head {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    line-height: 100%;
    color: inherit;
    margin-bottom: 10px;
  }

  header .mobile-menu .accordion-head span:first-child {
    flex: 1;
  }

  header .mobile-menu .accordion-icon {
    display: inline-block;
    transition: transform 0.3s ease;
    width: 16px;
    margin-left: 10px;
    transform: rotate(180deg);
  }

  header .mobile-menu .accordion-head[aria-expanded="true"] .accordion-icon {
    transform: rotate(0deg);
  }

  header .mobile-menu .accordion-body {
    display: none;
    padding-left: 0;
    margin-bottom: 10px;
  }

  header .mobile-menu .accordion-body.active {
    display: block;
  }

  header .mobile-menu .accordion-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  header .mobile-menu .accordion-body ul li {
    font-size: 14px;
    line-height: 260%;
    font-weight: normal;
  }

  header .mobile-menu .accordion-body ul li a {
    color: inherit;
    text-decoration: none;
  }
}

header .boxed-width .side-nav .circle {
  background-color: white;
  width: 55px;
  height: 55px;
  border-radius: 70px;
  /* aspect-ratio: 1/1; */
}
header .boxed-width .side-nav li:last-child {
  background-color: #ff6200;
  width: 127px;
  height: 73px;
  justify-content: center;
}
header .boxed-width .side-nav li:last-child span {
  color: var(--white);
  font-weight: 400;
}
