@charset "UTF-8";
/* =========================================================
   WSP Global Header — Cleaned / WP Ver.
   target: #wsp-hdr2, .wsp-h2-header, #wsp-h2-nav
========================================================= */
/* 0) Reset / Helpers */
.wsp-h2-header, .wsp-h2-header * {
  box-sizing: border-box;
  font-size: 14px;
}
.wsp-h2-header .visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
/* 1) Tokens */ :root {
  scroll-padding-top: clamp(56px, var(--hdr-h, 72px), 96px);
}
.wsp-h2-header {
  --hdr-h: 72px; /* PC header height */
  --hdr-h-sp: 56px; /* SP header height */
  --nav-w: min(86vw, 550px);
  --dur: 220ms;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --border-color: #e6e6e6;
  --drawer-bg: #fff;
  --hover-bg: #f7f7f7;
  color: inherit;
}
@media (max-width:1024px) {
  .wsp-h2-header {
    --hdr-h: var(--hdr-h-sp);
  }
}
/* 2) Header base */
.wsp-h2-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border-color, #e6e6e6);
}
.wsp-h2-header .wsp-h2-bar {
  height: var(--hdr-h);
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  align-items: center;
  column-gap: 16px;
  grid-template-columns: auto 1fr auto auto; /* left / tabs / logo / right */
}
/* groups */
.wsp-h2-header .wsp-h2-leftgrp {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}
.wsp-h2-header .wsp-h2-rightgrp {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 15px;
}
/* logo */
.wsp-h2-header .wsp-h2-logo {
  justify-self: center;
  display: inline-flex;
  align-items: center;
}
.wsp-h2-header .wsp-h2-logo__img {
  max-height: calc(var(--hdr-h) - 24px);
  width: auto;
  height: auto;
  display: block;
}
/* brand tabs (PC) */
.wsp-h2-header .wsp-h2-brandtabs {
  align-self: center;
  white-space: nowrap;
}
.wsp-h2-header a.wsp-h2-brandtab {
  display: inline-flex;
  align-items: center;
  padding: 6px 8px;
  opacity: .7;
}
.wsp-h2-header a.wsp-h2-brandtab:hover {
  opacity: .9;
}
.wsp-h2-header .wsp-h2-brandtabs img {
  height: 13px;
  width: auto;
  display: block;
}
/* icons */
.wsp-h2-header .wsp-h2-icon, .wsp-h2-header .wsp-h2-hamburger {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  min-width: 36px;
  min-height: 36px;
  padding: 6px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}
.wsp-h2-header .wsp-h2-icon:hover, .wsp-h2-header .wsp-h2-hamburger:hover {
  background: var(--hover-bg);
}
.wsp-h2-header .wsp-h2-icon img {
  display: block;
  height: 22px;
  width: auto;
}
/* cart badge */
.wsp-h2-header .wsp-h2-icon--cart {
  position: relative;
}
.wsp-h2-header .wsp-h2-icon--cart .badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #111;
  color: #fff;
  border-radius: 999px;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  font-size: 11px;
  padding: 0 4px;
  text-align: center;
}
.fs-client-cart-count:empty {
  display: none;
}
/* 3) Hamburger (to X) */
#wsp-hdr2 .wsp-h2-hamburger {
  --hb-w: 24px;
  --hb-th: 1px;
  --hb-gap: 10px;
  --hb-color: currentColor;
  width: 36px;
  height: 36px;
  position: relative;
  display: inline-block;
  line-height: 0;
  --hb-x-rot: 45deg;
  --hb-anim: var(--dur, 220ms) var(--ease, cubic-bezier(.2, .8, .2, 1));
}
#wsp-hdr2 .wsp-h2-hamburger__bar, #wsp-hdr2 .wsp-h2-hamburger__bar::before, #wsp-hdr2 .wsp-h2-hamburger__bar::after {
  content: "";
  position: absolute;
  left: 50%;
  width: var(--hb-w);
  height: var(--hb-th);
  background: var(--hb-color);
  border-radius: var(--hb-th);
  transform: translateX(-50%);
  transition: transform var(--hb-anim), top var(--hb-anim), background-color var(--hb-anim);
  transform-origin: center;
}
#wsp-hdr2 .wsp-h2-hamburger__bar {
  top: 52%;
}
#wsp-hdr2 .wsp-h2-hamburger__bar::before {
  top: calc(50% - var(--hb-gap));
}
#wsp-hdr2 .wsp-h2-hamburger__bar::after {
  top: calc(50% + var(--hb-gap));
}
/* 開状態フック */
.wsp-h2-header.is-open #wsp-hdr2 .wsp-h2-hamburger__bar, #wsp-hdr2.is-open .wsp-h2-hamburger__bar, #wsp-hdr2 .wsp-h2-hamburger[aria-expanded="true"] .wsp-h2-hamburger__bar {
  background: transparent !important;
}
.wsp-h2-header.is-open #wsp-hdr2 .wsp-h2-hamburger__bar::before, #wsp-hdr2.is-open .wsp-h2-hamburger__bar::before, #wsp-hdr2 .wsp-h2-hamburger[aria-expanded="true"] .wsp-h2-hamburger__bar::before, .wsp-h2-header.is-open #wsp-hdr2 .wsp-h2-hamburger__bar::after, #wsp-hdr2.is-open .wsp-h2-hamburger__bar::after, #wsp-hdr2 .wsp-h2-hamburger[aria-expanded="true"] .wsp-h2-hamburger__bar::after {
  top: 50%;
  background: var(--hb-color);
}
.wsp-h2-header.is-open #wsp-hdr2 .wsp-h2-hamburger__bar::before, #wsp-hdr2.is-open .wsp-h2-hamburger__bar::before, #wsp-hdr2 .wsp-h2-hamburger[aria-expanded="true"] .wsp-h2-hamburger__bar::before {
  transform: translateX(-50%) rotate(var(--hb-x-rot));
}
.wsp-hdr2.is-open .wsp-h2-hamburger__bar::after, #wsp-hdr2 .wsp-h2-hamburger[aria-expanded="true"] .wsp-h2-hamburger__bar::after, .wsp-h2-header.is-open #wsp-hdr2 .wsp-h2-hamburger__bar::after {
  transform: translateX(-50%) rotate(calc(-1 * var(--hb-x-rot)));
}
@media (prefers-reduced-motion:reduce) {
  #wsp-hdr2 .wsp-h2-hamburger__bar, #wsp-hdr2 .wsp-h2-hamburger__bar::before, #wsp-hdr2 .wsp-h2-hamburger__bar::after {
    transition: none !important;
  }
}
/* 4) Overlay */
.wsp-h2-header .wsp-h2-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
  z-index: 1000;
}
.wsp-h2-header.is-open .wsp-h2-overlay {
  opacity: 1;
  visibility: visible;
}
/* 5) Drawer（右スライド / 親固定・子スクロール） */
#wsp-h2-nav[role="dialog"] {
  position: fixed;
  right: 0;
  top: var(--hdr-h);
  width: var(--nav-w);
  height: calc(100svh - var(--hdr-h));
  transform: translateX(105%);
  transition: transform var(--dur) var(--ease);
  background: var(--drawer-bg);
  color: inherit;
  box-shadow: -8px 0 24px rgba(0, 0, 0, .08);
  border-left: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1001;
}
.wsp-h2-header.is-open #wsp-h2-nav {
  transform: translateX(0);
}
#wsp-h2-nav .h2-menu {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 12px 20px;
  display: grid;
  gap: 12px;
}
/* Drawer texts / links / lists */
#wsp-h2-nav :where(.h2-block, .acc, .acc-panel, .h2-links, .h2-list, .h2-title, .h2-links a, .h2-list a) {
  min-height: auto;
}
#wsp-h2-nav .h2-block {
  padding-top: 12px;
}
#wsp-h2-nav .h2-title {
  font-size: 16px;
  font-family: 'Noto Serif JP';
  font-weight: 600;
  text-align: left;
  margin: 4px 4px 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: inherit;
}
#wsp-h2-nav .h2-links {
  display: grid;
  gap: 0;
}
#wsp-h2-nav .h2-links a {
  display: block;
  padding: 12px 12px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--border-color);
}
#wsp-h2-nav .h2-links a:hover {
  background: var(--hover-bg);
}
#wsp-h2-nav .h2-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
#wsp-h2-nav .h2-list a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 12px 12px 12px 36px;
  text-decoration: none;
  color: inherit;
}
#wsp-h2-nav .h2-list a::before {
    content: "-";
}
#wsp-h2-nav .h2-list a:hover {
  background: var(--hover-bg);
}
#wsp-h2-nav .h2-group--footer {
  margin-top: 3rem;
  display: grid;
  gap: 0;
}
#wsp-h2-nav span.login {
  display: flex;
  justify-content: space-between;
  gap: 0 1.5rem;
}
#wsp-h2-nav span.login a {
  width: calc((100% - 1.5rem) / 2);
  text-align: center;
  border: 1px solid #ddd;
  padding: 10px 0;
  line-height: 1.8;
}
#wsp-h2-nav .h2-sns__list {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 36px 12px 24px;
  margin: 0;
  border-top: 1px solid var(--border-color);
}
#wsp-h2-nav .h2-sns__list img {
  height: 24px;
  width: auto;
  display: block;
}
/* 行レベル線 → ブロック単位の線に一本化 */
#wsp-h2-nav :is(.h2-links, .h2-list) a {
  border-bottom: none;
}
#wsp-h2-nav .h2-menu > :is(.h2-links, .h2-block) {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}
#wsp-h2-nav .fs-clientInfo {
  border-bottom: none !important;
  padding-bottom: 0;
}
#wsp-h2-nav .h2-group--footer, #wsp-h2-nav .h2-group--footer :is(.h2-links a, .h2-list a), #wsp-h2-nav .h2-group--footer .h2-sns__list {
  border: 0;
}
/* 6) Accordion */
#wsp-h2-nav .acc button[aria-controls] {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border-radius: 0;
  padding: 14px 12px;
  cursor: pointer;
  color: inherit;
  min-height: 44px;
}
#wsp-h2-nav .acc button[aria-controls]::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--dur) var(--ease);
}
#wsp-h2-nav .acc button[aria-controls][aria-expanded="true"]::after {
  transform: rotate(225deg);
}
#wsp-h2-nav .acc .acc-panel {
  padding: 0 0 8px;
}
#wsp-h2-nav .acc .acc-panel[hidden] {
  display: none;
}
#wsp-h2-nav .acc button[aria-expanded="true"] + .acc-panel {
  display: block;
}
/* 7) PC refinements (≥1025px) */
@media (min-width:1025px) {
  .wsp-h2-header .wsp-h2-bar {
    max-width: 1600px;
    padding: 0 24px;
    column-gap: 20px;
    grid-template-columns: auto 1fr auto auto;
  }
  .wsp-h2-header .wsp-h2-bar > * {
    grid-row: 1;
    min-width: 0;
  }
  .wsp-h2-header .wsp-h2-logo {
    grid-column: 1;
    justify-self: start;
  }
  .wsp-h2-header .wsp-h2-brandtabs {
    grid-column: 2;
    justify-self: start;
    min-width: 0;
    overflow: hidden;
  }
  .wsp-h2-header .wsp-h2-leftgrp {
    grid-column: 3;
    justify-self: end;
    white-space: nowrap;
  }
  .wsp-h2-header .wsp-h2-rightgrp {
    grid-column: 4;
    justify-self: end;
    white-space: nowrap;
  }
}
/* 8) SP layout (≤1024px) */
@media (max-width:1024px) {
  .wsp-h2-header .wsp-h2-logo__img {
    max-height: calc(var(--hdr-h) - 18px);
  }
  .wsp-h2-header .wsp-h2-bar {
    height: var(--hdr-h-sp);
    padding: 0 5px;
    column-gap: 0;
    grid-template-columns: 1fr auto 1fr;
  }
  .wsp-h2-header .wsp-h2-leftgrp {
    gap: 5px;
  }
  .wsp-h2-header .wsp-h2-brandtabs {
    display: none;
  }
  .wsp-h2-header .wsp-h2-icon, .wsp-h2-header .wsp-h2-hamburger {
    min-width: 40px;
    min-height: 40px;
    padding: 8px;
  }
  .wsp-h2-header .wsp-h2-icon img {
    height: 20px;
  }
  #wsp-hdr2 .wsp-h2-hamburger {
    --hb-w: 22px;
    --hb-gap: 9px;
  }
  #wsp-hdr2 .wsp-h2-hamburger__bar {
    top: 47%;
  }
  /* Drawer = ヘッダー下から表示 */
  #wsp-h2-nav[role="dialog"] {
    position: fixed;
    right: 0;
    top: var(--hdr-h-sp);
    height: calc(100svh - var(--hdr-h-sp));
    width: var(--nav-w);
  }
}
/* さらに狭い端末（≤480px）：ドロワーを全幅に */
@media (max-width:480px) {
  #wsp-h2-nav[role="dialog"] {
    width: 100% !important;
    border-left: none;
    box-shadow: none;
  }
	
  #wsp-h2-nav .h2-list a {
    padding-left: 24px;
  }
}
/* 9) Brand logo tweaks */
.wsp-h2-header .wsp-h2-logo__img.main-brand-logo__img {
  max-height: calc(var(--hdr-h) - 48px);
  margin-right: 10px;
}
.wsp-h2-header .wsp-h2-logo__img.main-brand-logo__img.main-marlena-logo {
  max-height: calc(var(--hdr-h) - 50px);
}
.wsp-h2-header .wsp-brand-area {
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #ddd;
}
.wsp-h2-header .wsp-brand-area .wsp-h2-brandtab {
  display: block;
  flex: 1;
  text-align: center;
  position: relative;
}
.wsp-brand-area .wsp-h2-brandtab img {
  max-height: 12px;
}
.wsp-brand-area .wsp-h2-brandtab:first-child {
  border-right: 1px solid #ddd;
  border-radius: 0;
}
@media (max-width:1024px) {
  .wsp-h2-header .wsp-h2-logo__img.main-brand-logo__img {
    max-height: calc(var(--hdr-h) - 36px);
    margin-right: 0;
  }
  .wsp-h2-header .wsp-h2-logo__img.main-brand-logo__img.main-marlena-logo {
    max-height: calc(var(--hdr-h) - 38px);
  }
}
/* 10) Brand-bar 専用パッチ（検索/フッター連動は削除済） */
.wsp-h2-header.has-brandbar {
  --brandbar-h: var(--brandbar-h, 38px);
}
@media (max-width:1024px) {
  .wsp-h2-header.has-brandbar #wsp-h2-nav[role="dialog"] {
    top: calc(var(--hdr-h-sp) + var(--brandbar-h));
    height: calc(100svh - (var(--hdr-h-sp) + var(--brandbar-h)));
  }
}
/* 11) Reduced motion (global) */
@media (prefers-reduced-motion:reduce) {
  .wsp-h2-header * {
    transition: none !important;
    animation: none !important;
  }
}