/* Blanding 2026 design layer — tokens and the shared shell (header, menus,
   footer, floating help). Loaded last on every public route when the design
   is active (body.d26). Layout rules of the existing shell are kept; this file
   only changes surface, colour, radius, type weight and motion. */
:root{
  --d-paper:#f6f5f0;--d-surface:#fff;--d-ink:#0e1512;--d-ink-2:#2c3732;--d-muted:#65706a;--d-faint:#8c958f;
  --d-line:rgba(14,21,18,.1);--d-line-2:rgba(14,21,18,.16);
  --d-forest:#1b5445;--d-forest-2:#143f34;--d-deep:#0b241d;
  --d-mint:#e4efe8;--d-mint-2:#d2e6da;--d-lime:#d6f36a;
  --d-sand:#efeadf;--d-lav:#eae7f8;--d-sky:#e1ecf5;--d-peach:#f7e8db;
  --d-font:Pretendard,"Noto Sans JP","Noto Sans SC","Yu Gothic","Microsoft YaHei",system-ui,sans-serif;
  --d-ease:cubic-bezier(.2,.7,.2,1);--d-ease-out:cubic-bezier(.16,1,.3,1);
  --d-shadow:0 30px 70px -34px rgba(11,36,29,.34);
}

/* ---------- page surface ---------- */
html body.d26.blgp{background:var(--d-paper)!important;color:var(--d-ink)!important}
body.d26 ::selection{background:var(--d-lime);color:var(--d-ink)}

/* ---------- header ---------- */
html body.d26.blgp .site-header{position:sticky!important;top:0!important;z-index:10010!important}
html body.d26.blgp .site-header,
html body.d26 #bls-header#bls-header{
  background:rgba(246,245,240,.82)!important;
  -webkit-backdrop-filter:saturate(1.4) blur(18px);backdrop-filter:saturate(1.4) blur(18px);
  border-bottom:1px solid transparent!important;box-shadow:none!important;
  transition:border-color .35s,background-color .35s,box-shadow .35s;
}
html.d26-scrolled body.d26.blgp .site-header,
html.d26-scrolled body.d26 #bls-header#bls-header{border-bottom-color:var(--d-line)!important;background:rgba(246,245,240,.92)!important;box-shadow:0 14px 40px -30px rgba(11,36,29,.4)!important}
html body.d26.admin-bar.blgp .site-header{top:32px!important}
@media(max-width:782px){html body.d26.admin-bar.blgp .site-header{top:46px!important}}

html body.d26 #bls-header#bls-header :is(.bn-nav-destination,.bn-nav-group>summary,.bn-nav-panel a,.bn-header-account),
html body.d26.blgp .site-header :is(.bn-nav-destination,.bn-nav-group>summary,.bn-nav-panel a,.bn-header-account){color:var(--d-ink)!important;font-weight:550!important;letter-spacing:-.01em!important}
html body.d26 #bls-header#bls-header .bn-nav-destination,
html body.d26.blgp .site-header .bn-nav-destination{position:relative;transition:color .25s}
html body.d26 #bls-header#bls-header .bn-nav-destination::after,
html body.d26.blgp .site-header .bn-nav-destination::after{content:"";position:absolute;left:0;right:0;bottom:8px;height:1.5px;background:currentColor;transform:scaleX(0);transform-origin:right;transition:transform .45s var(--d-ease-out)}
html body.d26 #bls-header#bls-header .bn-nav-item:hover>.bn-nav-destination::after,
html body.d26.blgp .site-header .bn-nav-item:hover>.bn-nav-destination::after,
html body.d26 #bls-header#bls-header .bn-nav-destination:focus-visible::after,
html body.d26.blgp .site-header .bn-nav-destination:focus-visible::after{transform:scaleX(1);transform-origin:left}
html body.d26 #bls-header#bls-header .bn-nav-item.is-current>.bn-nav-destination,
html body.d26.blgp .site-header .bn-nav-item.is-current>.bn-nav-destination{color:var(--d-forest)!important;box-shadow:none!important}
html body.d26 #bls-header#bls-header .bn-nav-item.is-current>.bn-nav-destination::after,
html body.d26.blgp .site-header .bn-nav-item.is-current>.bn-nav-destination::after{transform:scaleX(1)}
body.d26 .bn-nav-chevron{opacity:.55;transition:transform .35s var(--d-ease-out),opacity .25s}
body.d26 .bn-nav-group[open]>summary .bn-nav-chevron{transform:rotate(180deg);opacity:1}

/* dropdown panels */
html body.d26 #bls-header#bls-header .bn-nav-panel,
html body.d26.blgp .site-header .bn-nav-panel{
  padding:10px!important;border:1px solid var(--d-line)!important;border-radius:18px!important;background:rgba(255,255,255,.98)!important;
  box-shadow:0 34px 70px -30px rgba(11,36,29,.38),0 2px 6px rgba(11,36,29,.04)!important;
  animation:d26-panel .32s var(--d-ease-out) both;transform-origin:top left;
}
html body.d26 #bls-header#bls-header .bn-nav-panel a,
html body.d26.blgp .site-header .bn-nav-panel a{border-radius:11px!important;padding:10px 14px!important;color:var(--d-ink-2)!important;font-weight:500!important;transition:background .2s,color .2s,padding .3s var(--d-ease-out)}
html body.d26 #bls-header#bls-header .bn-nav-panel a:hover,
html body.d26.blgp .site-header .bn-nav-panel a:hover,
html body.d26 #bls-header#bls-header .bn-nav-panel a:focus-visible,
html body.d26.blgp .site-header .bn-nav-panel a:focus-visible{background:var(--d-mint)!important;color:var(--d-forest-2)!important;padding-left:18px!important}
html body.d26 #bls-header#bls-header .bn-nav-panel a[aria-current=page],
html body.d26.blgp .site-header .bn-nav-panel a[aria-current=page]{background:var(--d-ink)!important;color:#fff!important}
html body.d26 .bn-store-mega strong{color:var(--d-faint)!important;font-weight:600!important;letter-spacing:.06em!important}
@keyframes d26-panel{from{opacity:0;transform:translateY(-8px) scale(.98)}to{opacity:1;transform:none}}

/* account, language, contact, menu */
html body.d26 #bls-header#bls-header .bn-header-account,
html body.d26.blgp .site-header .bn-header-account{border-radius:999px!important;transition:color .25s}
html body.d26 #bls-header#bls-header .bn-header-account:hover,
html body.d26.blgp .site-header .bn-header-account:hover{color:var(--d-forest)!important}
html body.d26 #bls-header#bls-header .bn-contact-cta.bn-contact-cta,
html body.d26.blgp .site-header .bn-contact-cta.bn-contact-cta,
html body.d26 .bn-contact-cta{
  min-height:44px!important;padding:10px 12px 10px 20px!important;gap:10px!important;border-radius:999px!important;
  background:var(--d-ink)!important;border:1px solid var(--d-ink)!important;color:#fff!important;font-weight:600!important;
  transition:background .3s,border-color .3s,transform .3s var(--d-ease-out)!important;
}
html body.d26 .bn-contact-cta>span{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--d-lime);color:var(--d-ink);font-size:13px;line-height:1;transition:transform .45s var(--d-ease-out)}
html body.d26 #bls-header#bls-header .bn-contact-cta.bn-contact-cta:hover,
html body.d26.blgp .site-header .bn-contact-cta.bn-contact-cta:hover,
html body.d26 .bn-contact-cta:hover{background:var(--d-forest)!important;border-color:var(--d-forest)!important}
html body.d26 .bn-contact-cta:hover>span{transform:rotate(45deg)}
html body.d26 #bls-header#bls-header .bn-menu-toggle,
html body.d26.blgp .site-header .bn-menu-toggle,
html body.d26 .bn-menu-toggle{
  width:44px!important;height:44px!important;flex:0 0 44px!important;border-radius:50%!important;border:1px solid var(--d-line-2)!important;
  background:transparent!important;color:var(--d-ink)!important;transition:background .3s,color .3s,border-color .3s,transform .3s var(--d-ease-out)!important;
}
html body.d26 #bls-header#bls-header .bn-menu-toggle:hover,
html body.d26.blgp .site-header .bn-menu-toggle:hover,
html body.d26 .bn-menu-toggle:hover{background:var(--d-ink)!important;border-color:var(--d-ink)!important;color:#fff!important}
body.d26 .bn-menu-toggle:focus-visible,body.d26 .bn-nav-group summary:focus-visible,body.d26 .bn-contact-cta:focus-visible{outline:2px solid var(--d-forest)!important;outline-offset:4px!important}

/* ---------- full menu dialog ---------- */
html body.d26 .bn-directory{background:var(--d-paper)!important;color:var(--d-ink)!important}
html body.d26 .bn-directory::backdrop{background:rgba(11,36,29,.45);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
html body.d26 .bn-directory[open]{animation:d26-dialog .5s var(--d-ease-out) both}
@keyframes d26-dialog{from{opacity:0;transform:translateX(28px)}to{opacity:1;transform:none}}
html body.d26 .bn-directory .bn-menu-groups h2{color:var(--d-faint)!important;letter-spacing:.04em!important}
html body.d26 .bn-directory .bn-menu-groups a{color:var(--d-ink)!important;transition:color .2s,padding .3s var(--d-ease-out)}
html body.d26 .bn-directory .bn-menu-groups a:hover{color:var(--d-forest)!important;padding-left:6px}
html body.d26 .bn-directory .bn-account-panel{background:var(--d-mint)!important;border:0!important;border-radius:22px!important}
html body.d26 .bn-directory .bn-account-primary,
html body.d26 .bn-directory .bn-menu-contact{background:var(--d-ink)!important;border-color:var(--d-ink)!important;color:#fff!important;border-radius:999px!important;transition:background .3s}
html body.d26 .bn-directory .bn-account-primary:hover,
html body.d26 .bn-directory .bn-menu-contact:hover{background:var(--d-forest)!important}
html body.d26 .bn-directory [data-blgp-close]{border-radius:50%!important;transition:background .3s,color .3s,transform .4s var(--d-ease-out)}
html body.d26 .bn-directory [data-blgp-close]:hover{background:var(--d-ink)!important;color:#fff!important;transform:rotate(90deg)}

/* ---------- footer ---------- */
html body.d26 .bn-site-footer{background:var(--d-paper)!important;border-top:1px solid var(--d-line)!important;color:var(--d-ink-2)!important;padding:44px 0 34px!important}
html body.d26 .bn-site-footer .bn-footer-bottom p{color:var(--d-muted)!important}
html body.d26 .bn-site-footer .bn-footer-bottom nav{gap:8px!important}
html body.d26 .bn-site-footer .bn-footer-bottom nav a{padding:7px 13px;border:1px solid var(--d-line);border-radius:999px;color:var(--d-ink-2)!important;transition:background .25s,color .25s,border-color .25s}
html body.d26 .bn-site-footer .bn-footer-bottom nav a:hover{background:var(--d-ink);border-color:var(--d-ink);color:#fff!important;text-decoration:none!important}
html body.d26 .bn-site-footer a:focus-visible{outline:2px solid var(--d-forest)!important}

/* ---------- floating help ---------- */
html body.d26 .bsc-root{--bsc-accent:#0e1512!important;--bsc-on-accent:#fff!important}
html body.d26 .bsc-root .bsc-launch{border-radius:999px!important;box-shadow:0 18px 40px -16px rgba(11,36,29,.55)!important;transition:transform .35s var(--d-ease-out),background .3s!important}
html body.d26 .bsc-root .bsc-launch:hover{transform:translateY(-3px)}

@media(prefers-reduced-motion:reduce){
  html body.d26 .bn-nav-panel,html body.d26 .bn-directory[open]{animation-duration:.01s!important}
  html body.d26 .bn-contact-cta>span,html body.d26 .bn-directory [data-blgp-close]{transition:none!important}
}
