/* Shared magazine header. Deliberately scoped away from page content and Prime. */
/* The home page smooths its own text; without this the same header renders heavier elsewhere.
   Only the wordmark keeps the Mincho; the buttons, links and menu use the body's Noto Sans JP. */
body.pm-magazine-header .m7-site-header,body.pm-magazine-header .m7-search-dialog{font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-size:14px;line-height:1.7;color:#102538;letter-spacing:0;-webkit-font-smoothing:antialiased}
body.pm-magazine-header .m7-site-header *,body.pm-magazine-header .m7-search-dialog *{box-sizing:border-box}
/* The header scrolls away with the page; while reading, the consult button under the TOC follows instead. */
body.pm-magazine-header .m7-site-header{position:relative;top:auto;z-index:1000;background:#fff;border:0;border-bottom:1px solid #d6e0e8;margin:0;padding:0}
body.pm-magazine-header .m7-site-header .m7-masthead{width:var(--pm-frame);max-width:none;min-height:76px;margin:0 auto;padding:0;display:flex;align-items:center;gap:22px;flex-wrap:nowrap}
body.pm-magazine-header .m7-site-header a{color:inherit;text-decoration:none;background:none;border-radius:0}
body.pm-magazine-header .m7-site-header .m7-brand{display:flex;flex-shrink:0;margin:0;padding:0}
body.pm-magazine-header .m7-site-header .m7-masthead>.m7-brand strong{display:block;font-family:"Shippori Mincho","Hiragino Mincho ProN","Yu Mincho",serif;font-size:24px;font-weight:700;line-height:1.4;letter-spacing:.035em;white-space:nowrap;margin:0;padding:0;border:0}
/* PC: the wordmark, a short rule, then "by Pacific Meta" on one line. Phones stack them (below). */
body.pm-magazine-header .m7-site-header .m7-brand>span{display:flex;align-items:baseline;margin:0;padding:0}
body.pm-magazine-header .m7-site-header .m7-brand small{display:inline-flex;align-items:center;gap:12px;font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-size:11px;font-weight:500;line-height:1.5;letter-spacing:.04em;margin:0 0 0 14px;color:#52687b}
body.pm-magazine-header .m7-site-header .m7-brand small::before{content:"";display:block;width:1px;height:12px;background:#b7c4cf}
body.pm-magazine-header .m7-site-header .m7-main-nav{display:flex;flex:1;align-items:center;justify-content:center;gap:18px;margin:0;padding:0;white-space:nowrap;order:0}
body.pm-magazine-header .m7-site-header .m7-main-nav>a{font-size:14px;font-weight:700;line-height:1.7;letter-spacing:0;padding:12px 0 10px;border:0;border-bottom:3px solid transparent;margin:0}
body.pm-magazine-header .m7-site-header .m7-main-nav>a:hover{border-bottom-color:#406c8b}
body.pm-magazine-header .m7-site-header .m7-header-actions{display:flex;flex-shrink:0;align-items:center;gap:12px;margin:0 0 0 auto}
body.pm-magazine-header .m7-site-header .m7-login{font-size:13px;font-weight:700;white-space:nowrap}
body.pm-magazine-header .m7-site-header .m7-button,body.pm-magazine-header .m7-search-dialog .m7-button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 14px;font-size:13px;font-weight:700;line-height:1.5;letter-spacing:0;white-space:nowrap;border:1px solid transparent;border-radius:0;box-shadow:none;cursor:pointer}
body.pm-magazine-header .m7-site-header .m7-button-outline{border-color:#627d93;background:#fff}
body.pm-magazine-header .m7-site-header a.m7-button-navy,body.pm-magazine-header .m7-search-dialog .m7-button-navy{background:#102e46;color:#fff}
body.pm-magazine-header .m7-site-header .m7-icon-button,body.pm-magazine-header .m7-search-dialog .m7-icon-button{display:inline-grid;place-items:center;width:38px;height:38px;padding:8px;margin:0;border:0;background:transparent;color:#102538;cursor:pointer;box-shadow:none}
body.pm-magazine-header .m7-site-header .m7-icon-button svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6}
body.pm-magazine-header .m7-site-header .m7-menu-trigger,body.pm-magazine-header .m7-site-header .m7-mobile-actions,body.pm-magazine-header .m7-site-header .m7-nav-label{display:none}
body.pm-magazine-header .m7-site-header .m7-menu-trigger svg path:last-child{display:none}
body.pm-magazine-header .m7-site-header a:focus-visible,body.pm-magazine-header .m7-site-header button:focus-visible{outline:2px solid #2458d8;outline-offset:4px}
body.pm-magazine-header .m7-skip{position:fixed;top:8px;left:8px;transform:translateY(-180%);z-index:1100;background:#102e46;color:#fff;padding:10px}
body.pm-magazine-header .m7-skip:focus{transform:none}
body.pm-magazine-header .m7-search-dialog{width:min(560px,calc(100% - 32px));max-width:none;padding:30px;border:1px solid #d6e0e8;background:#fff;margin:auto;border-radius:0}
body.pm-magazine-header .m7-search-dialog:not([open]){display:none}
body.pm-magazine-header .m7-search-dialog::backdrop{background:rgba(12,30,47,.6)}
body.pm-magazine-header .m7-search-dialog .m7-search-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
body.pm-magazine-header .m7-search-dialog h2{font:700 23px/1.4 "Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;margin:0;padding:0;background:none;border:0;color:#102538}
body.pm-magazine-header .m7-search-dialog .m7-search-close{font-size:27px}
body.pm-magazine-header .m7-search-dialog label{font-size:14px;font-weight:600}
body.pm-magazine-header .m7-search-dialog .m7-search-row{display:flex;gap:10px;margin-top:8px}
body.pm-magazine-header .m7-search-dialog input{width:100%;min-width:0;border:1px solid #7891a4;padding:11px;background:#fff;border-radius:0;font:inherit}
body.pm-magazine-header .pm-interview-context{display:flex;align-items:center;justify-content:space-between;gap:20px;width:min(1280px,calc(100% - 64px));margin:18px auto;font:600 14px/1.6 "Inter","Noto Sans JP",sans-serif}
body.pm-magazine-header .pm-interview-context a{color:inherit;text-decoration:none}
body.pm-magazine-header .pm-interview-context nav{display:flex;gap:12px}
body.pm-magazine-header .pm-interview-context [aria-current]{text-decoration:underline;text-underline-offset:4px}
/* PC header drops the four category links; the footer nav keeps them reachable. */
@media(min-width:1024px){
body.pm-magazine-header .m7-site-header .m7-main-nav{display:none}
}
/* The article and home stylesheets hide the consult button up to 900px; it is the one coloured button, so it stays. */
@media(min-width:801px){
body.pm-magazine-header .m7-site-header .m7-header-consult{display:inline-flex!important}
}
@media(min-width:801px) and (max-width:1023px){
body.pm-magazine-header .m7-site-header .m7-masthead{flex-wrap:wrap;gap:0 20px;padding-top:12px;min-height:0}
body.pm-magazine-header .m7-site-header .m7-main-nav{order:3;flex-basis:100%;gap:28px;margin-top:2px}
body.pm-magazine-header .m7-site-header .m7-main-nav>a{padding-block:9px 8px}
}
@media(max-width:800px){
body.pm-magazine-header .m7-site-header .m7-masthead{flex-wrap:wrap;min-height:65px;gap:0 10px;padding-block:10px}
body.pm-magazine-header .m7-site-header .m7-masthead>.m7-brand strong{font-size:22px;line-height:1.35}
body.pm-magazine-header .m7-site-header .m7-brand>span{display:block}
/* The two-line wordmark's ink sits 2.5px under its box centre (the Mincho's leading); lift it to the icons' line. */
body.pm-magazine-header .m7-site-header .m7-brand{position:relative;top:-2px}
body.pm-magazine-header .m7-site-header .m7-brand small{display:block;font-size:11px;line-height:1.3;margin:2px 0 0}
body.pm-magazine-header .m7-site-header .m7-brand small::before{content:none}
body.pm-magazine-header .m7-site-header .m7-header-actions{gap:7px}
body.pm-magazine-header .m7-site-header .m7-header-consult,body.pm-magazine-header .m7-site-header .m7-header-prime,body.pm-magazine-header .m7-site-header .m7-login{display:none}
body.pm-magazine-header .m7-site-header .m7-menu-trigger{display:inline-grid}
body.pm-magazine-header .m7-site-header .m7-main-nav{display:none;order:3;flex:1 1 100%;flex-direction:column;align-items:stretch;gap:0;padding:0;margin:0;white-space:normal}
body.pm-magazine-header .m7-site-header .m7-main-nav.m7-is-open{display:flex;margin-top:10px}
body.pm-magazine-header .m7-site-header .m7-main-nav.m7-is-open{padding:20px 0 24px;border-top:1px solid #d6e0e8}
body.pm-magazine-header .m7-site-header .m7-nav-label{display:block;margin:0 0 4px;padding:0;font-size:12px;font-weight:500;line-height:1.5;color:#52687b}
body.pm-magazine-header .m7-site-header .m7-main-nav>a{display:flex;align-items:center;justify-content:space-between;font-size:17px;padding:16px 2px 16px 0;border-bottom:1px solid #d6e0e8}
body.pm-magazine-header .m7-site-header .m7-main-nav>a::after{content:"";width:6px;height:6px;margin-right:4px;border-top:1.5px solid #7d90a0;border-right:1.5px solid #7d90a0;transform:rotate(45deg)}
body.pm-magazine-header .m7-site-header .m7-main-nav>a:hover{border-bottom-color:#d6e0e8}
body.pm-magazine-header .m7-site-header .m7-mobile-actions{display:flex;flex-direction:column;gap:12px;padding-top:24px;width:100%}
body.pm-magazine-header .m7-site-header .m7-mobile-actions .m7-button{width:100%;min-height:52px;font-size:15px}
body.pm-magazine-header .m7-site-header .m7-mobile-actions .m7-button-outline{min-height:48px;border-color:#102e46}
body.pm-magazine-header .m7-site-header .m7-mobile-login{align-self:center;padding:6px 12px;border:0;font-size:14px;font-weight:500;color:#52687b}
body.pm-magazine-header .m7-site-header .m7-menu-trigger[aria-expanded="true"] svg path:first-child{display:none}
body.pm-magazine-header .m7-site-header .m7-menu-trigger[aria-expanded="true"] svg path:last-child{display:inline}
body.pm-magazine-header .m7-search-dialog{padding:22px}
body.pm-magazine-header .m7-search-dialog h2{font-size:19px}
}
@media(max-width:360px){body.pm-magazine-header .m7-site-header .m7-masthead>.m7-brand strong{font-size:19px}}
