/* LACURI SP Header v5 — viewport-wide layout, SP only. */
.lacuri-sp-header{display:none!important}
@media (max-width:768px){
 :root{--lsh-rose:#a66b73;--lsh-ink:#383333;--lsh-border:#e9e0df;--lsh-header-height:50px}
 body.lsh-drawer-open{overflow:hidden!important}
 .lacuri-sp-header,.lacuri-sp-header *{box-sizing:border-box}
 .lacuri-sp-header{display:block!important;width:100vw!important;width:100dvw!important;max-width:none!important;min-width:0!important;margin-left:var(--lsh-fullbleed-offset,0px)!important;margin-right:0!important;padding:0!important;position:relative;z-index:99999;height:var(--lsh-header-height);font-family:'Noto Sans JP',sans-serif;color:var(--lsh-ink)}
 .lacuri-sp-header .lsh-bar{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;position:relative;z-index:10013;display:flex;align-items:center;justify-content:space-between;height:var(--lsh-header-height);padding:0 9px 0 13px;gap:5px;background:#fff;border-bottom:1px solid var(--lsh-border)}
 .lacuri-sp-header .lsh-logo{flex:1 1 auto;display:flex;align-items:center;min-width:0;max-width:102px;height:100%}
 .lacuri-sp-header .lsh-logo img{display:block;width:100%;max-width:96px;max-height:28px;height:auto;object-fit:contain;object-position:left center}
 .lacuri-sp-header .lsh-actions{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:1px}
 .lacuri-sp-header .lsh-action{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:44px;min-width:44px;height:48px;padding:2px 0;border:0;background:transparent;border-radius:0;color:var(--lsh-ink)!important;text-decoration:none!important;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
 .lacuri-sp-header .lsh-action svg{display:block;width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
 .lacuri-sp-header .lsh-action>span:not(.lsh-cart-count){font-size:9px;line-height:1.15;font-weight:400;letter-spacing:0;white-space:nowrap}
 .lacuri-sp-header .lsh-action:focus-visible,.lacuri-sp-header button:focus-visible,.lacuri-sp-header a:focus-visible{outline:2px solid var(--lsh-rose);outline-offset:-2px}
 .lacuri-sp-header .lsh-menu-button .lsh-menu-icon{width:24px;height:24px;overflow:visible}
 .lacuri-sp-header .lsh-menu-line1,.lacuri-sp-header .lsh-menu-line2,.lacuri-sp-header .lsh-menu-line3{transition:opacity .18s,transform .18s;transform-origin:12px 12px}
 .lacuri-sp-header .lsh-cart-count:not([hidden]){position:absolute;top:1px;right:0;display:flex;align-items:center;justify-content:center;min-width:16px;height:16px;padding:0 3px;border-radius:9px;border:1px solid #fff;background:var(--lsh-rose);color:#fff!important;font:600 10px/1 sans-serif!important}
 .lacuri-sp-header .lsh-overlay{position:fixed;z-index:10010;top:var(--lsh-panel-top,50px);right:0;bottom:0;left:0;background:rgba(47,39,39,.36)}
 .lacuri-sp-header .lsh-overlay[hidden]{display:none!important}
 .lacuri-sp-header .lsh-drawer{position:fixed;z-index:10011;top:var(--lsh-panel-top,50px);right:0;bottom:0;width:min(88vw,420px);height:calc(100dvh - var(--lsh-panel-top,50px));display:flex;flex-direction:column;background:#fff;box-shadow:-5px 0 20px rgba(55,38,41,.10);overflow:hidden;visibility:hidden;transform:translateX(105%);transition:transform .22s ease,visibility .22s ease}
 .lacuri-sp-header .lsh-drawer.is-open{visibility:visible;transform:translateX(0)}
 .lacuri-sp-header .lsh-drawer-scroll{flex:1;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0 0 32px}
 .lacuri-sp-header .lsh-member-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:20px 14px 22px}
 .lacuri-sp-header .lsh-member-actions a{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:46px;padding:0 5px;border:1px solid #d9c8c9;border-radius:24px;text-decoration:none!important;font-size:13px;font-weight:500;white-space:nowrap}
 .lacuri-sp-header .lsh-member-actions svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
 .lacuri-sp-header .lsh-login{background:var(--lsh-rose);border-color:var(--lsh-rose)!important;color:#fff!important}
 .lacuri-sp-header .lsh-register{background:#fff;color:#8d5961!important}
 .lacuri-sp-header .lsh-section-bar{padding:13px 19px;background:#f7f1f0;border-top:1px solid #eee3e1;border-bottom:1px solid #e9dedc;color:#75525a;font-size:13px;font-weight:600;letter-spacing:.01em}
 .lacuri-sp-header .lsh-category{border-bottom:1px solid var(--lsh-border)}
 .lacuri-sp-header .lsh-category-button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:61px;padding:11px 20px;background:#fff;border:0;color:var(--lsh-ink);text-align:left;font:inherit;cursor:pointer}
 .lacuri-sp-header .lsh-category-button strong{font-size:15px;line-height:1.5;font-weight:500}
 .lacuri-sp-header .lsh-category-button i{position:relative;width:20px;height:20px;flex:none}
 .lacuri-sp-header .lsh-category-button i:before,.lacuri-sp-header .lsh-category-button i:after{content:'';position:absolute;top:9px;left:4px;width:12px;height:1.5px;background:#a66b73}
 .lacuri-sp-header .lsh-category-button i:after{transform:rotate(90deg);transition:transform .18s}
 .lacuri-sp-header .lsh-category-button[aria-expanded='true'] i:after{transform:rotate(0)}
 .lacuri-sp-header .lsh-category-content{margin:0;padding:0 20px 7px;background:#fbf8f7}
 .lacuri-sp-header .lsh-category-content[hidden]{display:none!important}
 .lacuri-sp-header .lsh-category-content a{display:flex;align-items:center;min-height:48px;padding:9px 10px;border-bottom:1px solid #eee6e4;color:#454040!important;text-decoration:none!important;font-size:14px;font-weight:400}
 .lacuri-sp-header .lsh-category-content a:last-child{border-bottom:0}
 .lacuri-sp-header .lsh-guide a{display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:0 20px;border-bottom:1px solid var(--lsh-border);color:var(--lsh-ink)!important;text-decoration:none!important;font-size:14px}
 .lacuri-sp-header .lsh-guide a span{font-size:22px;color:#a66b73}
 /* v7: breadcrumb is visible again; prevent clipping below header. */
 body .fs-c-breadcrumb,body .fs-c-breadcrumb__list{display:block!important}
}
@media (max-width:350px){.lacuri-sp-header .lsh-bar{padding-left:9px;padding-right:5px;gap:2px}.lacuri-sp-header .lsh-logo img{max-width:86px}.lacuri-sp-header .lsh-logo{max-width:90px}}
@media (prefers-reduced-motion:reduce){.lacuri-sp-header .lsh-drawer,.lacuri-sp-header .lsh-menu-line1,.lacuri-sp-header .lsh-menu-line2,.lacuri-sp-header .lsh-menu-line3{transition:none!important}}

/* v6: Fix shrink-to-content #header and bar on SP. */
@media screen and (max-width:768px) {
  html body #header {
    box-sizing:border-box!important;
    display:block!important;
    width:100%!important;
    width:100vw!important;
    max-width:none!important;
    min-width:0!important;
    left:0!important;
    right:0!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  html body #header #lacuri-sp-header {
    box-sizing:border-box!important;
    width:100vw!important;
    max-width:none!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  html body #header #lacuri-sp-header .lsh-bar {
    box-sizing:border-box!important;
    display:flex!important;
    width:100vw!important;
    max-width:none!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    justify-content:space-between!important;
    background:#fff!important;
  }
}


/* v8: accessible, single-line horizontally scrollable breadcrumb. */
@media screen and (max-width:768px){
  .lacuri-sp-header .lsh-menu-button{position:relative}
  .lacuri-sp-header .lsh-menu-button .lsh-close-icon{display:none;width:24px;height:24px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:none}
  .lacuri-sp-header .lsh-menu-button[aria-expanded="true"] .lsh-menu-icon{display:none!important}
  .lacuri-sp-header .lsh-menu-button[aria-expanded="true"] .lsh-close-icon{display:block!important}
  .lacuri-sp-header .lsh-menu-button[aria-expanded="true"]::before,
  .lacuri-sp-header .lsh-menu-button[aria-expanded="true"]::after{content:none!important;display:none!important}
  .lacuri-sp-header .lsh-menu-button[aria-expanded="true"] .lsh-menu-caption{visibility:visible!important}
  body .fs-c-breadcrumb{
    display:block!important;visibility:visible!important;position:relative!important;
    box-sizing:border-box!important;z-index:1!important;clear:both!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin-left:0!important;margin-right:0!important;
    padding:0 14px!important;background:#faf8f7!important;
    border-bottom:1px solid #eee8e6!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    white-space:nowrap!important;-webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;scrollbar-width:none;
  }
  body .fs-c-breadcrumb::-webkit-scrollbar{display:none}
  body .fs-c-breadcrumb__list{
    display:flex!important;visibility:visible!important;align-items:center!important;
    flex-wrap:nowrap!important;gap:0!important;
    width:max-content!important;min-width:100%!important;max-width:none!important;
    margin:0!important;padding:0!important;list-style:none!important;
    white-space:nowrap!important;font-size:12px!important;line-height:1.4!important;
  }
  body .fs-c-breadcrumb__list > li,
  body .fs-c-breadcrumb__list > .fs-c-breadcrumb__listItem{
    display:flex!important;align-items:center!important;flex:0 0 auto!important;
    width:auto!important;max-width:none!important;min-height:38px!important;
    padding:0!important;margin:0!important;
    white-space:nowrap!important;overflow:visible!important;
    font-size:12px!important;line-height:1.4!important;
  }
  body .fs-c-breadcrumb__list li a,
  body .fs-c-breadcrumb__list li span,
  body .fs-c-breadcrumb__listItem a,
  body .fs-c-breadcrumb__listItem span{
    font-size:12px!important;line-height:1.4!important;
    white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;
  }
  body .fs-c-breadcrumb a{color:#74686a!important;text-decoration:none!important}
  body .fs-c-breadcrumb__list > li:last-child,
  body .fs-c-breadcrumb__list > .fs-c-breadcrumb__listItem:last-child{color:#383333!important;font-weight:500!important}
  /* Some FutureShop themes apply a wrapping rule to nested breadcrumb lists. */
  body .fs-c-breadcrumb ol,body .fs-c-breadcrumb ul{flex-wrap:nowrap!important;white-space:nowrap!important}
}

/* v9: area-LP breadcrumb design adapted to LACURI / FutureShop (SP only).
   Reference: .breadcrumb-container / .breadcrumb-list from the supplied area LP.
   No separate breadcrumb HTML is inserted: reuse FutureShop's native breadcrumb. */
@media screen and (max-width:768px){
  html body .fs-c-breadcrumb{
    display:block!important;visibility:visible!important;
    box-sizing:border-box!important;position:relative!important;z-index:1!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    height:39px!important;min-height:39px!important;max-height:39px!important;
    padding:0 15px!important;margin-bottom:0!important;
    background:#F8F5F4!important;border:0!important;border-bottom:1px solid #E9E0DF!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    white-space:nowrap!important;-webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;scrollbar-width:none;
  }
  html body .fs-c-breadcrumb::-webkit-scrollbar{display:none}
  html body .fs-c-breadcrumb .fs-c-breadcrumb__list{
    display:flex!important;flex-direction:row!important;align-items:center!important;
    flex-wrap:nowrap!important;gap:0!important;
    box-sizing:border-box!important;width:max-content!important;min-width:100%!important;max-width:none!important;
    height:38px!important;min-height:38px!important;max-height:38px!important;
    margin:0!important;padding:0!important;list-style:none!important;
    white-space:nowrap!important;font-family:'Noto Sans JP',sans-serif!important;
    font-size:12px!important;line-height:1.4!important;
  }
  html body .fs-c-breadcrumb .fs-c-breadcrumb__list > *{
    display:inline-flex!important;align-items:center!important;flex:0 0 auto!important;
    position:relative!important;width:auto!important;max-width:none!important;
    height:38px!important;min-height:38px!important;max-height:38px!important;
    margin:0!important;padding:0!important;border:0!important;
    color:#6D6467!important;white-space:nowrap!important;
    font-size:12px!important;line-height:1.4!important;font-weight:400!important;
  }
  /* Reference uses chevrons between breadcrumb items; no Font Awesome dependency. */
  html body .fs-c-breadcrumb .fs-c-breadcrumb__list > * + *::before{
    content:'›'!important;display:inline-block!important;position:static!important;
    margin:0 10px!important;padding:0!important;
    color:#B9A7AB!important;font:500 18px/1 Arial,sans-serif!important;
    background:none!important;transform:none!important;
  }
  html body .fs-c-breadcrumb .fs-c-breadcrumb__list a{
    display:inline-flex!important;align-items:center!important;
    color:#75565E!important;text-decoration:none!important;
    font-size:12px!important;line-height:1.4!important;font-weight:500!important;
    white-space:nowrap!important;
  }
  html body .fs-c-breadcrumb .fs-c-breadcrumb__list a:focus-visible{
    outline:2px solid #A66B73!important;outline-offset:2px!important;
  }
  html body .fs-c-breadcrumb .fs-c-breadcrumb__list > *:last-child,
  html body .fs-c-breadcrumb .fs-c-breadcrumb__list > *:last-child > *:not(a){
    color:#544C4F!important;font-weight:600!important;
  }
  /* LP reference: house icon before Home. Add to the first linked crumb only. */
  html body .fs-c-breadcrumb .fs-c-breadcrumb__list > :first-child a::before{
    content:''!important;display:inline-block!important;flex:0 0 14px!important;
    width:14px!important;height:14px!important;margin-right:6px!important;
    background-color:#A66B73!important;
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3 2 12h3v9h6v-6h2v6h6v-9h3L12 3z'/%3E%3C/svg%3E") center/contain no-repeat!important;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3 2 12h3v9h6v-6h2v6h6v-9h3L12 3z'/%3E%3C/svg%3E") center/contain no-repeat!important;
  }
  html body .fs-c-breadcrumb .fs-c-breadcrumb__list > * *,
  html body .fs-c-breadcrumb .fs-c-breadcrumb__list > *{
    overflow-wrap:normal!important;word-break:normal!important;white-space:nowrap!important;
  }
}

@media screen and (max-width: 768px) {
  .lsh-menu-button[aria-expanded="true"] .lsh-menu-caption {
    display: none !important;
  }
}


/* v14: Removed the legacy 25px breadcrumb offset for fixed headers.
   Breadcrumb height and visual styling remain unchanged. */

/* 会員メニュー（SP）：既存のドロワー・パンくずのレイアウトは変更しない */
@media screen and (max-width:768px){
 .lacuri-sp-header .lsh-member-signedin[hidden],.lacuri-sp-header .lsh-member-actions[hidden]{display:none!important}
 .lacuri-sp-header .lsh-member-signedin{padding:17px 14px 19px;background:#fbf8f7;border-bottom:1px solid #eee4e3}
 .lacuri-sp-header .lsh-member-greeting{display:flex;align-items:center;gap:11px;margin-bottom:14px}
 .lacuri-sp-header .lsh-member-avatar{display:flex;align-items:center;justify-content:center;flex:none;width:42px;height:42px;border-radius:50%;background:#f0e2e4;color:#a66b73;font-size:23px}
 .lacuri-sp-header .lsh-member-welcome{display:block;color:#42393b;font-size:15px;line-height:1.55;font-weight:500;overflow-wrap:anywhere}
 .lacuri-sp-header .lsh-member-name{font-weight:700}
 .lacuri-sp-header .lsh-member-subtitle{display:block;margin-top:2px;color:#827479;font-size:11px}
 .lacuri-sp-header .lsh-mypage{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:10px 14px;border-radius:7px;background:#a66b73;color:#fff!important;text-decoration:none!important;font-size:15px;font-weight:700}
 .lacuri-sp-header .lsh-mypage span{margin-left:auto;font-size:22px;line-height:1}
 .lacuri-sp-header .lsh-logout{display:block;width:max-content;margin:13px 1px 0 auto;color:#79676b!important;font-size:12px;text-decoration:underline!important;text-underline-offset:3px}
}

/* 会員情報置換文字の判定用ノードは常に非表示 */
.lacuri-sp-header .lsh-member-state-source{display:none!important}

/* v15: SP product breadcrumb fallback before JS measures the fixed header.
   On the verified product page, main starts at 24px and header ends at 50px.
   The header JS recalculates this offset if the layout changes. */
@media screen and (max-width:768px){
  body.fs-body-product .fs-l-main > .fs-c-breadcrumb{
    margin-top:26px!important;
  }
}
