@media screen and (max-width: 1023px) {
  .jrb-rootbeer-theme .navi-in > ul > li {
    margin: 4px 6px;
  }

  .jrb-rootbeer-theme .navi-in > ul > li > a {
    padding: 9px 13px;
    font-size: 0.94em;
  }

  /* Fix overlap on mobile header menu: override parent's fixed 40px item height */
  #navi .navi-in > .menu-mobile li {
    height: auto;
    min-height: 56px;
    line-height: 1.25;
  }

  #navi .navi-in > .menu-mobile > .menu-item-has-description > a > .caption-wrap {
    height: auto;
    line-height: 1.25;
  }

  #navi .navi-in > .menu-mobile li a {
    height: auto;
    min-height: 56px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media screen and (max-width: 834px) {
  .jrb-rootbeer-theme .site-name-text {
    font-size: 1.28em;
  }

  #header-container::before {
    width: 120px;
    height: 120px;
  }
}

@media screen and (max-width: 480px) {
  .jrb-rootbeer-theme .site-name-text {
    letter-spacing: 0.01em;
  }

  .jrb-rootbeer-theme .navi-in > ul > li > a::before {
    width: 20px;
    height: 20px;
  }
}
