/* Keep the complete desktop header (white logo row + black menu) visible. */
@media (min-width: 992px) {
  #js-header { position: sticky; top: 0; z-index: 1000; background: #fff; }
}

/* Inline SVG icons need the same horizontal layout as the original drawer. */
.current-navigation .p-drawer-bottom .c-sns-icons {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.current-navigation .p-drawer-bottom .c-sns-icons-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  line-height: 1;
}

/* Submenu rows grow naturally when labels wrap. */
@media (min-width: 992px) {
  #js-header .p-header-nav__list ul a {
    grid-template-rows: auto;
    min-height: 50px;
    height: auto;
    padding-block: 14px;
    line-height: 1.6;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media(min-width:992px) and (max-width:1100px){#js-header .p-header-nav__list>li>a{padding-inline:17px}}
#js-header .p-header-nav__list>li:last-child>ul{left:auto;right:0}

@media(max-width:991px){.l-footer .p-footer-main{flex-direction:column;align-items:center}.l-footer .p-footer-nav--pc{display:block;width:min(100%,420px);margin:26px auto 0;text-align:left}.l-footer .p-footer-nav a{display:inline-block;padding-block:5px;font-size:12px;overflow-wrap:anywhere}}
