/* One bottom-tab design for the legacy app and React pages.
   Equal specificity beats the older link/button-specific legacy rules. */
.mato-mobile-nav.mato-mobile-nav{display:none}
@media(max-width:800px){
 .mato-mobile-nav.mato-mobile-nav{position:fixed;inset:auto 0 0;z-index:30;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;justify-content:normal;box-sizing:border-box;height:calc(58px + env(safe-area-inset-bottom,0px));margin:0;padding:0 env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);border:0;border-top:1px solid #e8e6df;background:#fff;color:#171714;box-shadow:none;font-family:Inter,"Hiragino Sans","Yu Gothic",sans-serif;-webkit-text-size-adjust:100%;text-size-adjust:100%}
 .mato-mobile-nav.mato-mobile-nav > :is(a,button){position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;align-self:stretch;gap:3px;box-sizing:border-box;min-width:0;width:100%;min-height:0;height:57px;margin:0;padding:4px 2px;border:0;border-radius:0;background:transparent;color:inherit;box-shadow:none;transform:none;font:600 11px/14px Inter,"Hiragino Sans","Yu Gothic",sans-serif;letter-spacing:0;text-align:center;text-decoration:none;cursor:pointer;touch-action:manipulation;-webkit-appearance:none;appearance:none}
 .mato-mobile-nav.mato-mobile-nav > :is(a,button) > svg{display:block;flex:none;width:22px;height:22px;margin:0;stroke-width:1.6}
 .mato-mobile-nav.mato-mobile-nav > :is(a,button) > span:not(.mypage-notice-count){display:block;flex:none;margin:0;padding:0;color:inherit;font:inherit;line-height:14px;white-space:nowrap}
 .mato-mobile-nav.mato-mobile-nav > :is(a,button)[aria-current="page"]{color:#254cdb;font-weight:600}
 .mato-mobile-nav.mato-mobile-nav > :is(a,button)[aria-current="page"] > svg{stroke-width:2.1}
 .mato-mobile-nav.mato-mobile-nav > :is(a,button):focus-visible{outline:2px solid #254cdb;outline-offset:-4px}
}
@media(max-width:374px){.mato-mobile-nav.mato-mobile-nav > :is(a,button){font-size:10px}}
