/* Shared N-YATSUGATAKE header, contextual navigation and footer. */
.ny-shell-head,.ny-shell-foot,.ny-shell-local,.ny-shell-page-note{box-sizing:border-box;font:400 1rem/1.5 "Hiragino Sans","Yu Gothic",Meiryo,system-ui,sans-serif;letter-spacing:normal;text-align:left;color:#263b32}
.ny-shell-head *,.ny-shell-foot *,.ny-shell-local *{box-sizing:border-box}
.ny-shell-head a,.ny-shell-foot a,.ny-shell-local a{text-decoration:none}
.ny-shell-head :is(a,button):focus-visible,.ny-shell-foot a:focus-visible,.ny-shell-local a:focus-visible{outline:2px solid #547660;outline-offset:4px}
.ny-shell-head{position:sticky;top:0;z-index:75;background:rgba(249,249,246,.97);box-shadow:0 1px 0 #d9e1d7;backdrop-filter:blur(12px)}
.ny-shell-inner,.ny-shell-foot-inner{box-sizing:border-box;width:100%;max-width:1360px;margin-inline:auto;padding-inline:clamp(14px,3vw,34px)}
.ny-shell-head .ny-shell-inner{position:relative;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:64px}
.ny-shell-head .ny-site-logo,.ny-shell-foot .ny-site-logo{color:#242621}
.ny-shell-head .ny-shell-nav{display:flex;align-items:center;flex-wrap:nowrap;gap:clamp(14px,2vw,27px)}
.ny-shell-nav a,.ny-shell-local a{color:#30463a;font-size:.875rem;font-weight:500;white-space:nowrap}
.ny-shell-head .ny-shell-nav a{padding:19px 0 16px;border-bottom:2px solid transparent}
.ny-shell-head .ny-shell-nav a:hover,.ny-shell-head .ny-shell-nav a[aria-current]{color:#1f4834;border-color:#547660}
.ny-shell-head a.ny-shell-book{color:#fff;background:#234837;padding:10px 15px;font-size:.875rem;font-weight:600;white-space:nowrap;text-align:center;line-height:1.35}
.ny-shell-head a.ny-shell-book:hover,.ny-shell-head a.ny-shell-book[aria-current]{background:#37604b}
.ny-shell-head .ny-shell-toggle{display:none}
.ny-shell-local{background:#eef2ea;border-bottom:1px solid #dce3d9}
.ny-shell-local .ny-shell-inner{display:flex;align-items:center;flex-wrap:wrap;gap:2px 20px;padding-block:5px}
.ny-shell-local a{padding:5px 0;border-bottom:1px solid transparent}
.ny-shell-local a:hover,.ny-shell-local a[aria-current]{border-color:#547660}
.ny-shell-page-note{padding:16px max(16px,5vw);background:#f3f5ef;border-top:1px solid #dce3d9;font-size:.85rem;color:#475d50}
footer.ny-shell-foot{margin:0;padding:0;border:0;border-top:1px solid #dce4da;background:#f1f4ee;color:#263e32}
.ny-shell-foot p{margin:0}
.ny-shell-foot a:not(.ny-site-logo){color:#234837}
.ny-shell-foot a:hover:not(.ny-site-logo){text-decoration:underline;text-underline-offset:.22em}
.ny-foot-top{display:grid;grid-template-columns:1fr 1.65fr minmax(160px,.75fr);align-items:start;gap:28px;padding:40px 0 26px}
.ny-foot-brand p,.ny-foot-reserve p{margin-top:12px;font-size:.84rem;color:#53685a}
.ny-foot-links>p,.ny-foot-companies>p{margin:0 0 11px;font-size:.84rem;font-weight:650;color:#40584a}
.ny-foot-links>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px}
.ny-foot-links a{font-size:.88rem}
.ny-foot-reserve>a{display:inline-block;border:1px solid #759382;padding:8px 13px;font-size:.875rem;font-weight:650}
.ny-foot-companies{border-top:1px solid #d8e1d6;padding:24px 0;scroll-margin-top:78px}
.ny-foot-companies>div{display:grid;grid-template-columns:1.25fr 1fr;gap:14px}
.ny-foot-companies a{display:grid;gap:5px;padding:15px 18px;background:#e8eee6;min-width:0}
.ny-foot-companies a:first-child{border-left:3px solid #466e54;background:#e0eadf}
.ny-foot-companies small,.ny-foot-companies span{font-size:.84rem;color:#435e4d}
.ny-foot-companies strong{font-size:1.04rem}
.ny-foot-companies a:first-child strong{font-size:1.17rem}
.ny-foot-end{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 20px;padding:16px 0 24px;border-top:1px solid #d8e1d6}
.ny-foot-end .ny-foot-business{font-size:.94rem;font-weight:650;text-decoration:underline;text-decoration-color:#a6b8aa;text-underline-offset:.28em;scroll-margin-top:78px}
.ny-foot-end>div{display:flex;flex-wrap:wrap;gap:8px 18px;color:#52695b;font-size:.8rem}
.ny-exp-detail{display:inline-block;margin-top:8px;color:#315b43;text-decoration:underline;text-underline-offset:4px;font-size:.85rem}
.ny-experience-model .model-card{display:block;color:#243b30;cursor:default}
.ny-experience-model .model-card h3{margin:5px 12px;font-size:1rem}
.ny-experience-model .model-card p{margin:0 12px 12px;font-size:.85rem;line-height:1.6}
@media(max-width:1060px){
 .ny-shell-head .ny-shell-nav{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;background:#fafbf7;box-shadow:0 5px 14px #23352922;padding:4px 18px 10px;z-index:2}
 .ny-shell-head .ny-shell-nav[data-open]{display:flex}
 .ny-shell-head .ny-shell-nav a{padding:11px 5px;border-bottom:1px solid #e0e6dc}
 .ny-shell-head .ny-shell-nav a[aria-current]{font-weight:650;background:#edf2eb}
 .ny-shell-head .ny-shell-toggle{display:grid;place-items:center;order:3;color:#2b4938;background:none;border:1px solid #cdd9ce;width:40px;height:40px;padding:0;font-size:1.25rem;cursor:pointer}
 .ny-shell-head .ny-shell-book{margin-left:auto}
}
@media(max-width:720px){.ny-foot-top{grid-template-columns:1fr 1fr;gap:21px;padding-top:30px}.ny-foot-links{grid-column:1/-1;grid-row:2}.ny-foot-reserve{text-align:right}.ny-foot-links>div{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:530px){.ny-shell-head .ny-shell-inner{min-height:58px;gap:7px}.ny-shell-head a.ny-shell-book{font-size:.75rem;padding:8px}.ny-shell-head .ny-shell-toggle{width:36px;height:36px;flex:0 0 auto}.ny-shell-local .ny-shell-inner{gap:3px 13px}.ny-shell-local a{font-size:.78rem}.ny-foot-top{grid-template-columns:1fr;gap:16px}.ny-foot-links{grid-column:auto;grid-row:auto}.ny-foot-reserve{text-align:left}.ny-foot-reserve p{margin-top:6px}.ny-foot-companies>div{grid-template-columns:1fr}.ny-foot-end>div{flex-direction:column;gap:6px}}

/* B1 Moon identity: navy artwork on the light site surfaces. */
.ny-shell-head{background:#fff}
:is(.ny-shell-head,.ny-shell-foot) a.ny-site-logo,
header.top > .wrap > a[href="/"] {
  display:inline-flex; position:relative; align-items:center; flex:0 0 auto;
  width:237px;height:45px;max-width:100%; padding:0; margin:0;
  border:0; border-radius:0; box-sizing:border-box;
  background:transparent url("/nyatsugatake-moon-01r-lg.svg") left center / 100% auto no-repeat;
  font-size:0; line-height:0; letter-spacing:0; overflow:hidden;
}
:is(.ny-shell-head,.ny-shell-foot) a.ny-site-logo > :is(span,small) {display:none}
body.fanlab .fanlab-wordmark {margin:0 0 16px; padding:0}
body.fanlab .fanlab-wordmark img {display:block; width:146px; height:auto; max-width:55%}
@media(max-width:1060px) {
  .ny-shell-head a.ny-site-logo {width:min(46vw,225px); height:41px}
}
@media(max-width:530px) {
  .ny-shell-head a.ny-site-logo {width:min(43vw,188px); height:36px; background-size:100% auto}
}
@media(forced-colors:active){
  :is(.ny-shell-head,.ny-shell-foot) a.ny-site-logo,
  header.top > .wrap > a[href="/"] {font-size:17px;line-height:1; background:none; overflow:visible}
}

:is(.ny-shell-head,.ny-shell-foot) a.ny-site-logo:has(img){background:none}
:is(.ny-shell-head,.ny-shell-foot) a.ny-site-logo img{display:block;width:100%;height:100%;object-fit:contain;object-position:left center}
.ny-shell-head .ny-shell-inner{font-family:"Hiragino Sans","Yu Gothic",Meiryo,system-ui,sans-serif}

/* Legacy article and business sheets style bare header/nav elements.
   Isolate the shared shell from those page-level layout rules. */
html{scrollbar-gutter:stable}
header.ny-shell-head{display:block;width:100%;margin:0;padding:0;border:0;gap:0}
.ny-shell-head > .ny-shell-inner > .ny-shell-nav{margin:0;line-height:1.5}
.ny-shell-head > .ny-shell-inner > .ny-shell-nav > a{margin:0;line-height:1.5}
nav.ny-shell-local{display:block;margin:0;padding:0;gap:0}
.ny-shell-local > .ny-shell-inner > a{line-height:1.5}
nav.ny-foot-links{display:block;margin:0}
.ny-foot-links a{line-height:1.5}
#business-contact{scroll-margin-top:80px}
@media(max-width:1060px){
 .ny-shell-head > .ny-shell-inner > .ny-site-logo{flex:0 1 auto;min-width:0}
 .ny-shell-head > .ny-shell-inner > .ny-shell-book{flex:0 0 auto}
 .ny-shell-head > .ny-shell-inner > .ny-shell-toggle{flex:0 0 auto}
}
