/* Adopted UI styles. Color roles are defined in palette.css. */
body.jn-chrome{--jn-ink:var(--jnc-text);--jn-green:var(--jnc-brand);--jn-line:var(--jnc-line);--jn-paper:var(--jnc-page);background:var(--jnc-page);color:var(--jnc-text)}
.jn-chrome :is(.wp-block-post-title,.jn-lead){text-wrap:balance}
.jn-chrome .wp-site-blocks>header{margin:0;background:var(--jnc-white)}
.jn-chrome .jn-header{background:var(--jnc-white);border-bottom:1px solid var(--jnc-line-soft);padding:0 32px}
.jn-chrome .jn-header-inner{max-width:1120px;min-height:104px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:32px;padding:18px 0}
.jn-chrome .jn-brand{display:inline-flex;flex-direction:column;gap:4px;flex-shrink:0;text-decoration:none;color:var(--jnc-brand)}
.jn-chrome .jn-brand-name{font-family:var(--jn-heading);font-size:28px;font-weight:700;line-height:1.4;letter-spacing:.07em}
.jn-chrome .jn-brand-description{font-size:14px;line-height:1.8;letter-spacing:.035em;color:var(--jnc-muted)}
.jn-chrome .jn-header-nav{max-width:780px}
.jn-chrome .jn-header-nav ul{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px 32px;list-style:none;padding:0;margin:0}
.jn-chrome .jn-header-nav a{display:flex;align-items:center;min-height:44px;font-size:16px;line-height:1.7;color:var(--jnc-text);text-decoration:none;text-underline-offset:7px;text-decoration-thickness:1px}
.jn-chrome .jn-header-nav a:hover{color:var(--jnc-brand);text-decoration:underline}
.jn-chrome .jn-header-nav a[aria-current=page]{text-decoration:underline;color:var(--jnc-brand)}
body.jn-chrome main.wp-block-group{margin-block-start:44px!important}
.jn-chrome .jn-grid>a.jn-menu{padding:32px 32px 28px;background:var(--jnc-white);border:0;border-bottom:1px solid var(--jnc-line);border-radius:0;box-shadow:none;display:flex;flex-direction:column;align-items:flex-start;gap:0;text-decoration:none}
.jn-chrome .jn-grid>a.jn-menu:hover{background:var(--jnc-hover);border-bottom-color:var(--jnc-brand)}
.jn-chrome .jn-grid>a.jn-menu strong{font-size:22px;line-height:1.7;margin-bottom:14px}
.jn-chrome .jn-grid>a.jn-menu>span:not(.jn-menu-action){font-size:16px;line-height:1.9;margin-bottom:24px}
.jn-chrome .jn-grid>a.jn-menu .jn-menu-action{display:inline-flex;align-items:center;gap:20px;font-size:16px;line-height:1.8;font-weight:700;color:var(--jnc-brand);margin-top:auto}
.jn-chrome .jn-menu-action .fa-arrow-right:before{content:'\f061'}
.jn-chrome .jn-menu-action .fas{font-family:'Font Awesome 5 Free';font-weight:900;font-style:normal;font-size:14px;line-height:1}
.jn-chrome :is(.jn-header,.jn-footer,.jn-grid)>a:focus-visible,.jn-chrome :is(.jn-header,.jn-footer) a:focus-visible,.jn-chrome .jn-menu:focus-visible{outline:3px solid var(--jnc-focus);outline-offset:5px}
.jn-chrome .wp-site-blocks>footer{margin-block-start:72px!important}
.jn-chrome .jn-footer{background:var(--jnc-brand);color:var(--jnc-white);padding:56px 32px 28px;font-family:'Zen Kaku Gothic New',sans-serif}
.jn-chrome .jn-footer-inner{max-width:1120px;margin:auto}
.jn-chrome .jn-footer-main{display:grid;grid-template-columns:1.55fr 1fr 1fr;gap:40px 64px;padding-bottom:48px}
.jn-chrome .jn-footer a{color:var(--jnc-white);text-decoration:none;text-underline-offset:5px;text-decoration-thickness:1px}
.jn-chrome .jn-footer a:hover{text-decoration:underline}
.jn-chrome .jn-footer-name{display:inline-block;font-size:28px;line-height:1.5;font-weight:700;letter-spacing:.07em;margin-bottom:16px}
.jn-chrome .jn-footer-brand p{font-size:16px;line-height:1.95;margin:0;color:var(--jnc-on-brand-muted)}
.jn-chrome .jn-footer-group h2{font-size:16px;line-height:1.8;font-weight:700;margin:0 0 14px;color:var(--jnc-white)}
.jn-chrome .jn-footer-group ul{padding:0;margin:0;list-style:none}
.jn-chrome .jn-footer-group a{display:inline-flex;align-items:center;min-height:44px;font-size:16px;line-height:1.8;color:var(--jnc-on-brand-muted)}
.jn-chrome .jn-footer-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;border-top:1px solid var(--jnc-footer-line);padding-top:24px}
.jn-chrome .jn-footer-bottom p,.jn-chrome .jn-footer-bottom small{font-size:14px;line-height:1.8;margin:0;color:var(--jnc-on-brand-muted)}
@media(max-width:900px){.jn-chrome .jn-header-nav ul{gap:8px 24px}.jn-chrome .jn-footer-main{grid-template-columns:1.2fr 1fr 1fr;gap:32px}}
@media(max-width:650px){
 .jn-chrome .jn-header{padding:0 24px}.jn-chrome .jn-header-inner{min-height:0;align-items:flex-start;flex-direction:column;gap:16px;padding:24px 0 18px}
 .jn-chrome .jn-brand-name{font-size:28px}.jn-chrome .jn-brand-description{font-size:14px}
 .jn-chrome .jn-header-nav{width:100%;max-width:none}.jn-chrome .jn-header-nav ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 24px;justify-content:start}.jn-chrome .jn-header-nav a{font-size:16px;min-height:44px}
 body.jn-chrome main.wp-block-group{margin-block-start:28px!important}
 .jn-chrome .jn-grid>a.jn-menu{padding:28px 24px 26px}.jn-chrome .jn-grid>a.jn-menu strong{font-size:20px}.jn-chrome .jn-grid>a.jn-menu>span:not(.jn-menu-action){margin-bottom:22px}
 .jn-chrome .wp-site-blocks>footer{margin-block-start:48px!important}.jn-chrome .jn-footer{padding:44px 24px 24px}
 .jn-chrome .jn-footer-main{grid-template-columns:1fr;gap:32px;padding-bottom:32px}.jn-chrome .jn-footer-name{font-size:26px;margin-bottom:12px}.jn-chrome .jn-footer-group h2{margin-bottom:10px}.jn-chrome .jn-footer-bottom{display:block;padding-top:22px}.jn-chrome .jn-footer-bottom p{margin-bottom:10px}
}
