/* Shared navigation only: do not restyle Bootstrap components or page content. */
.samurai-shell-header,.samurai-shell-footer{--shell-ink:#14110f;--shell-paper:#fffdf8;--shell-gold:#b8923e;--shell-red:#9e1b1b;font-family:"Noto Sans JP","Yu Gothic",sans-serif;color:var(--shell-ink);font-size:14px;line-height:1.9}
.samurai-shell-header *,.samurai-shell-footer *{box-sizing:border-box}
.samurai-shell-header a,.samurai-shell-footer a{color:inherit;text-decoration:none}
.samurai-shell-header a:hover,.samurai-shell-footer a:hover{color:var(--shell-red)}
/* 準備中のメニュー（鑑定）。リンクがないので灰色にする */
.samurai-shell-disabled{color:#b5ada2;cursor:default}
/* 今いるページのメニュー */
.samurai-shell-nav a[aria-current="page"]{text-decoration:underline;text-decoration-color:var(--shell-gold);text-decoration-thickness:2px;text-underline-offset:6px}
.samurai-shell-header :focus-visible,.samurai-shell-footer :focus-visible{outline:3px solid var(--shell-gold);outline-offset:3px}
.samurai-shell-header{position:fixed;inset:0 0 auto;z-index:1030;background:rgba(255,253,248,.97);border-bottom:1px solid #e4dccb}
.samurai-shell-header__inner{max-width:1160px;margin:auto;padding:0 20px;min-height:96px;display:flex;align-items:center;justify-content:space-between;gap:24px;position:relative}
.samurai-shell-brand{display:flex;align-items:center;gap:10px;flex-shrink:0;font-family:"Shippori Mincho","Yu Mincho",serif;font-weight:700;line-height:1.5}
.samurai-shell-brand img{width:52px;height:60px;object-fit:contain;flex-shrink:0}
.samurai-shell-brand__tagline{display:block;font-size:12px;white-space:nowrap}
.samurai-shell-brand__name{display:block;font-size:15px;white-space:nowrap}
.samurai-shell-header__panel{min-width:0;display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.samurai-shell-nav{display:flex;gap:16px;list-style:none;padding:0;margin:0;white-space:nowrap}
.samurai-shell-account{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:6px 16px;font-size:12px}
.samurai-shell-account__name{max-width:260px;overflow-wrap:anywhere}
.samurai-shell-toggle{display:none;background:transparent;border:1px solid var(--shell-ink);padding:8px 12px;font:inherit;line-height:1.5;color:inherit;cursor:pointer}
.samurai-shell-footer{background:#fffdf8;border-top:1px solid #e4dccb;padding:40px 0}
.samurai-shell-footer__inner{max-width:1160px;margin:auto;padding:0 20px}
.samurai-shell-footer__row{display:flex;justify-content:space-between;align-items:flex-start;gap:40px}
.samurai-shell-footer__links{display:flex;flex-wrap:wrap;gap:12px 22px;max-width:560px;list-style:none;padding:0;margin:0;font-size:13px}
.samurai-shell-footer small{display:block;margin-top:24px;font-size:11px;color:#6a6158;text-align:right}
.samurai-shell-footer--guest{padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))}
.samurai-shell-signin{min-height:52px;padding-bottom:calc(8px + env(safe-area-inset-bottom,0px));border-top:1px solid #e4dccb}
.samurai-shell-signin .col-2{width:auto}
@media(max-width:1100px){.samurai-shell-header__inner{gap:16px}.samurai-shell-nav{gap:12px;font-size:13px}.samurai-shell-brand__tagline{font-size:11px}.samurai-shell-brand__name{font-size:14px}}
@media(max-width:900px){
.samurai-shell-header__inner{min-height:72px;gap:10px}
.samurai-shell-toggle{display:block;flex-shrink:0;font-size:12px}
.samurai-shell-brand img{width:42px;height:50px}
.samurai-shell-brand__name{font-size:13px}
.samurai-shell-header__panel{display:none;position:absolute;top:100%;left:0;right:0;padding:8px 20px 20px;max-height:calc(100dvh - 72px);overflow-y:auto;background:var(--shell-paper);border-bottom:1px solid #e4dccb;align-items:stretch;gap:0}
.samurai-shell-header__panel.is-open{display:flex}
.samurai-shell-nav{flex-direction:column;gap:0;font-size:15px}
.samurai-shell-nav a,.samurai-shell-nav li>span{display:block;padding:12px 0;border-bottom:1px solid #eee6d6}
.samurai-shell-account{flex-direction:column;align-items:stretch;font-size:13px;gap:0}
.samurai-shell-account>a,.samurai-shell-account__name{display:block;padding:12px 0;border-bottom:1px solid #eee6d6;max-width:none}
.samurai-shell-footer__row{flex-direction:column;gap:28px}.samurai-shell-footer small{text-align:left}
}
@media(max-width:360px){.samurai-shell-brand{gap:6px}.samurai-shell-brand img{width:36px;height:46px}.samurai-shell-brand__tagline{font-size:9.5px}.samurai-shell-brand__name{font-size:12px}.samurai-shell-toggle{padding:7px 8px;font-size:11px}.samurai-shell-footer__links{gap:12px 16px}}
@media print{.samurai-shell-header,.samurai-shell-footer,.samurai-shell-signin{display:none!important}}

/* Desktop utility row above navigation; mobile navigation keeps its current order. */
.samurai-shell-header .samurai-shell-cart svg{display:none}
@media(min-width:901px){
  .samurai-shell-header__panel{flex:1;gap:8px;padding-block:10px}
  .samurai-shell-header .samurai-shell-account{order:-1;flex-wrap:nowrap;gap:0;min-height:34px;font-size:11.5px;line-height:1.5;color:#6b655e}
  .samurai-shell-header .samurai-shell-account__name{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#89837b}
  .samurai-shell-header .samurai-shell-account>a:not(.samurai-shell-cart){transition:color .18s ease}
  .samurai-shell-header .samurai-shell-account>*+a:not(.samurai-shell-cart){border-left:1px solid #ded8ce;margin-left:14px;padding-left:14px}
  .samurai-shell-header .samurai-shell-account>a:hover{color:var(--shell-red)}
  .samurai-shell-header .samurai-shell-cart{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex-shrink:0;margin-left:18px;border-radius:50%;background:#eee7dc;color:#655e54;transition:background-color .18s ease,color .18s ease}
  .samurai-shell-header .samurai-shell-cart:hover{background:#e6dccd;color:var(--shell-red)}
  .samurai-shell-header .samurai-shell-cart svg{display:block;width:18px;height:18px}
  .samurai-shell-header .samurai-shell-cart__label{display:none}
  .samurai-shell-header .samurai-shell-nav{gap:24px;align-items:center;font-size:14.5px;font-weight:500;letter-spacing:.025em;line-height:1.8;color:#3d3934}
  .samurai-shell-header .samurai-shell-nav a{transition:color .18s ease}
}
@media(min-width:901px) and (max-width:1100px){
  .samurai-shell-header .samurai-shell-nav{gap:18px;font-size:13.5px}
  .samurai-shell-header .samurai-shell-account__name{max-width:180px}
}
