:root {
  --bm-ink: #34312b;
  --bm-muted: #77736b;
  --bm-soft: #f7f4ef;
  --bm-line: #e6e0d7;
  --bm-max: 1160px;
  --bm-font: "Helvetica Neue", Arial, "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

html { scroll-behavior: smooth; }
body.bm-note-theme,
body.colorme-template-root {
  margin: 0;
  background: #fff;
  color: var(--bm-ink);
  font-family: var(--bm-font);
  -webkit-font-smoothing: antialiased;
}
body.bm-note-theme a { color: inherit; text-decoration: none; }
body.bm-note-theme img { max-width: 100%; height: auto; display: block; }
body.bm-note-theme button,
body.bm-note-theme input,
body.bm-note-theme textarea,
body.bm-note-theme select {
  font: inherit;
}
body.bm-note-theme button,
body.bm-note-theme .wp-block-button__link,
body.bm-note-theme input[type="submit"] {
  appearance: none;
  background: transparent !important;
  color: inherit !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0;
}
.wp-site-blocks { padding: 0 !important; }
.wp-block-template-part { display: contents; }
.bm-terms-src { display: none !important; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Utility header */
.utility-nav {
  position: fixed;
  top: 26px;
  right: 34px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .12em;
  color: var(--bm-ink);
}
.utility-nav a { white-space: nowrap; }
.utility-nav__search {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 22px;
}
.utility-nav__search input[type="search"] {
  width: 74px;
  min-height: 0;
  height: 20px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  padding: 0;
  font-size: 10px;
  letter-spacing: .12em;
  outline: none;
}
.utility-nav__search input[type="search"]:focus { border-bottom-color: currentColor; }
.utility-nav__search button { width: 13px; height: 13px; cursor: pointer; }
.utility-nav__search button img { width: 13px; height: 13px; }

/* Mobile header / drawer */
.mobile-header,
.drawer-backdrop,
.mobile-drawer { display: none; }
.mobile-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 56px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(230,224,215,.7);
}
.mobile-menu-button {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 20px;
  display: grid;
  align-content: space-between;
  cursor: pointer;
}
.mobile-menu-button span { display: block; height: 1px; background: var(--bm-ink); }
.mobile-header__brand img { width: 118px; }
.mobile-header__icons {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
}
.mobile-header__icons img { width: 17px; height: 17px; }
.mobile-cart-link { position: relative; }
.cart-count--badge {
  position: absolute;
  right: -8px;
  top: -8px;
  min-width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--bm-ink);
  color: #fff;
  font-size: 9px;
  line-height: 14px;
  text-align: center;
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(52,49,43,.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.drawer-backdrop.is-visible { opacity: 1; pointer-events: auto; }
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  width: min(84vw, 360px);
  height: 100dvh;
  padding: 78px 28px 32px;
  box-sizing: border-box;
  background: #fff;
  transform: translateX(-100%);
  transition: transform .28s ease;
  overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer__search {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--bm-line);
  margin-bottom: 34px;
}
.mobile-drawer__search input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 10px 0;
  font-size: 11px;
  letter-spacing: .14em;
  outline: none;
}
.mobile-drawer__nav { display: grid; gap: 17px; }
.mobile-drawer .menu-nav__link,
.mobile-drawer .menu-nav__sublink {
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--bm-ink);
}
.mobile-drawer .menu-nav__submenu {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-left: 14px;
}
.mobile-drawer__newsletter { margin-top: 42px; }
.mobile-drawer__newsletter > label,
.side-newsletter > label,
.footer-newsletter label {
  display: block;
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--bm-muted);
  margin-bottom: 10px;
}
.mobile-drawer__newsletter > div,
.side-newsletter__field,
.footer-newsletter__field {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--bm-line);
}
.mobile-drawer__newsletter input,
.side-newsletter input,
.footer-newsletter input {
  width: 100%;
  min-height: 0;
  border: 0;
  background: transparent;
  padding: 8px 0;
  font-size: 10px;
  letter-spacing: .12em;
  outline: none;
}
.mobile-drawer__newsletter button,
.side-newsletter button,
.footer-newsletter button { padding-left: 10px; cursor: pointer; }
.newsletter-consent {
  display: flex !important;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: .02em;
  color: var(--bm-muted);
}
.newsletter-consent[hidden] { display: none !important; }
.newsletter-consent input { width: auto; }

/* Shared side menu */
.site-shell { width: 100%; box-sizing: border-box; }
.product-layout.layout--product {
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
  padding: 58px 58px 128px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  gap: clamp(44px, 5vw, 82px);
  align-items: start;
}
.site-side-menu {
  position: sticky;
  top: 44px;
  min-height: calc(100vh - 88px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 42px;
}
.site-logo--side { width: 138px; height: auto; margin-bottom: 52px; }
.menu-nav--side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}
.menu-nav--side .menu-nav__link,
.menu-nav--side .menu-nav__trigger,
.menu-nav--side .menu-nav__sublink {
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .14em;
  color: var(--bm-ink);
  cursor: pointer;
  text-align: left;
}
.menu-nav--side .menu-nav__submenu {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding-left: 12px;
}
.side-newsletter { margin-top: auto; }

/* Breadcrumb */
.page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 4px 0 34px;
  font-size: 10px;
  letter-spacing: .11em;
  color: var(--bm-muted);
  text-transform: uppercase;
}
.page-breadcrumb a { color: var(--bm-muted); }

/* Single STYLING */
.product-content { min-width: 0; }
.staff-look-detail {
  display: grid;
  grid-template-columns: minmax(420px, 58%) minmax(260px, 360px);
  gap: clamp(42px, 5vw, 70px);
  align-items: start;
  width: 100%;
}
.staff-look-main-media,
.staff-look-main-media.wp-block-post-featured-image { margin: 0 !important; }
.staff-look-main-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.staff-look-panel {
  align-self: start;
  position: sticky;
  top: 88px;
  margin: 0 !important;
}
.staff-look-profile,
.staff-look-profile.wp-block-post-title {
  margin: 0 0 24px !important;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 400;
  letter-spacing: .05em;
  line-height: 1.45;
}
.bm-look-content,
.bm-look-content.wp-block-post-content {
  color: var(--bm-ink);
  font-size: 12px;
  line-height: 2;
  letter-spacing: .04em;
}
.bm-look-content p { margin: 0 0 18px; }
.bm-look-content h2,
.bm-look-content h3,
.bm-look-content h4,
.staff-look-section-title {
  margin: 34px 0 16px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .18em;
  color: var(--bm-ink);
  text-transform: uppercase;
}
.staff-look-items-section { margin-top: 34px; }
.staff-look-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.staff-look-item {
  display: grid;
  grid-template-columns: 74px minmax(0,1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
}
.staff-look-item__image {
  display: block;
  background: var(--bm-soft);
  overflow: hidden;
}
.staff-look-item__image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.staff-look-item__data { display: grid; gap: 5px; min-width: 0; }
.staff-look-item__name {
  font-size: 11px;
  line-height: 1.55;
  letter-spacing: .04em;
}
.staff-look-item__price {
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--bm-muted);
}
.staff-look-other {
  display: inline-block;
  margin-top: 46px;
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--bm-muted);
}

/* Single JOURNAL / NEWS */
.bm-mode-journal .product-layout,
.bm-note-single--journal .product-layout,
.bm-note-single--news .product-layout { grid-template-columns: 205px minmax(0, 1fr); }
.bm-mode-journal .journal-article {
  max-width: 840px;
  margin: 0 auto;
}
.journal-article__category {
  margin: 0 0 18px;
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--bm-muted);
}
.journal-article__title,
.journal-article__title.wp-block-post-title {
  margin: 0 0 34px !important;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: .06em;
}
.journal-article__visual,
.journal-article__visual.wp-block-post-featured-image { margin: 0 0 42px !important; }
.journal-article__visual img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
}
.journal-article__body {
  font-size: 13px;
  line-height: 2.15;
  letter-spacing: .04em;
}
.journal-article__body p { margin: 0 0 1.6em; }
.journal-article__body h2,
.journal-article__body h3 {
  margin: 2.4em 0 1em;
  font-weight: 400;
  letter-spacing: .12em;
}
.bm-journal-back { margin-top: 54px; }

/* Archives */
.bm-archive-shell .product-layout { padding-top: 88px; }
.bm-archive__title {
  margin: 0 0 42px !important;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 400;
  letter-spacing: .16em;
  line-height: 1.2;
}
.bm-card-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px 28px;
}
.bm-card { margin: 0 !important; }
.bm-card__image { margin: 0 0 12px !important; overflow: hidden; background: var(--bm-soft); }
.bm-card__image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.bm-card__label,
.bm-card__label.wp-block-post-title {
  margin: 0 !important;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1.6;
}
.bm-journal-list,
.bm-news-list { display: grid !important; gap: 38px; }
.bm-journal-item,
.bm-news-item {
  display: grid !important;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  border-bottom: 1px solid var(--bm-line);
  padding-bottom: 38px;
}
.bm-journal-item__image,
.bm-news-item__image { margin: 0 !important; background: var(--bm-soft); overflow: hidden; }
.bm-journal-item__image img,
.bm-news-item__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.bm-journal-item__date,
.bm-news-item__date {
  margin: 0 0 12px;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--bm-muted);
}
.bm-journal-item__title,
.bm-news-item__title {
  margin: 0 0 14px !important;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .06em;
}
.bm-journal-item__excerpt,
.bm-news-item__excerpt {
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
  color: var(--bm-muted);
}
.bm-pagination {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 54px;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--bm-muted);
}
.bm-empty { color: var(--bm-muted); font-size: 12px; }

/* Footer */
.footer {
  padding: 74px 58px 26px;
  border-top: 1px solid var(--bm-line);
  color: var(--bm-ink);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(140px, 1.4fr) minmax(120px, .8fr) minmax(120px, .8fr) minmax(240px, 1.3fr) auto;
  gap: 34px;
  align-items: start;
}
.site-logo--footer { width: 132px; }
.footer__column h2 { margin: 0 0 12px; font-size: 10px; letter-spacing: .16em; font-weight: 400; }
.footer-accordion__trigger { font-size: 10px; letter-spacing: .16em; cursor: default; }
.footer-accordion__panel { display: grid; gap: 9px; }
.footer-accordion__panel a,
.footer-newsletter p,
.footer__bottom,
.social-links a {
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: .08em;
  color: var(--bm-muted);
}
.footer-newsletter p { margin: 0 0 12px; }
.social-links { display: flex; gap: 12px; }
.social-links img { width: 17px; height: 17px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 70px;
}
.footer__bottom p { margin: 0; }
.footer__bottom nav { display: flex; gap: 18px; }

@media (max-width: 1100px) {
  .product-layout.layout--product {
    grid-template-columns: 178px minmax(0, 1fr);
    gap: 38px;
    padding-inline: 38px;
  }
  .staff-look-detail {
    grid-template-columns: minmax(360px, 1fr) minmax(240px, 330px);
    gap: 36px;
  }
  .staff-look-items { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 760px) {
  body.bm-note-theme { padding-top: 56px; }
  .utility-nav { display: none !important; }
  .mobile-header { display: flex; }
  .drawer-backdrop,
  .mobile-drawer { display: block; }
  .product-layout.layout--product,
  .bm-mode-journal .product-layout,
  .bm-note-single--journal .product-layout,
  .bm-note-single--news .product-layout {
    display: block;
    padding: 24px 18px 78px;
  }
  .site-side-menu { display: none; }
  .page-breadcrumb {
    margin: 0 0 22px;
    font-size: 9px;
    gap: 6px;
  }
  .staff-look-detail { display: block; }
  .staff-look-main-media { margin: 0 -18px 26px !important; }
  .staff-look-main-media img { width: 100%; aspect-ratio: 4 / 5; }
  .staff-look-panel { position: static; margin: 0 !important; }
  .staff-look-profile,
  .staff-look-profile.wp-block-post-title {
    margin-bottom: 18px !important;
    font-size: 20px;
  }
  .bm-look-content { font-size: 12px; line-height: 2; }
  .staff-look-items { grid-template-columns: 1fr 1fr; gap: 16px; }
  .staff-look-item { grid-template-columns: 1fr; gap: 8px; align-items: start; }
  .staff-look-item__name { font-size: 10px; }
  .journal-article__visual { margin-left: -18px !important; margin-right: -18px !important; }
  .journal-article__title,
  .journal-article__title.wp-block-post-title { font-size: 24px; margin-bottom: 24px !important; }
  .journal-article__body { font-size: 12px; line-height: 2.05; }
  .bm-archive-shell .product-layout { padding-top: 34px; }
  .bm-archive__title { margin-bottom: 28px !important; font-size: 24px; }
  .bm-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 30px 14px; }
  .bm-journal-item,
  .bm-news-item { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding-bottom: 28px; }
  .bm-journal-item__title,
  .bm-news-item__title { font-size: 14px; line-height: 1.55; }
  .bm-journal-item__excerpt,
  .bm-news-item__excerpt { display: none; }
  .footer { padding: 54px 18px 24px; }
  .footer__top { display: block; }
  .brand--footer { display: inline-block; margin-bottom: 34px; }
  .footer__column { border-top: 1px solid var(--bm-line); }
  .footer__column h2 { margin: 0; }
  .footer-accordion__trigger {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0 !important;
    cursor: pointer;
  }
  .footer-accordion__trigger::after { content: "+"; }
  .footer__column.is-open .footer-accordion__trigger::after { content: "−"; }
  .footer-accordion__panel { padding-bottom: 16px; }
  .footer-newsletter { margin-top: 32px; }
  .social-links { margin-top: 34px; }
  .footer__bottom { display: block; margin-top: 44px; }
  .footer__bottom nav { flex-wrap: wrap; margin-top: 12px; }
}

/* === v1.1 static STYLING detail parity overrides === */
body.bm-note-theme .skip-link { z-index: 1000; }
body.bm-note-theme .wp-block-post-content .bm-styling-intro,
body.bm-note-theme .wp-block-post-content .bm-recommend-source-wrap,
body.bm-note-theme .bm-recommend-source {
  display: none !important;
}

@media (min-width: 761px) {
  body.bm-note-theme .product-layout.layout--product {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 58px 58px 128px !important;
    display: grid !important;
    grid-template-columns: 205px minmax(0, 1fr) !important;
    column-gap: clamp(170px, 14vw, 265px) !important;
    row-gap: 0 !important;
    align-items: start !important;
  }

  body.bm-note-theme .product-content.layout__main--product {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  body.bm-note-theme .page-breadcrumb.product-breadcrumb {
    margin: 0 0 34px !important;
    font-size: 10px !important;
    line-height: 1 !important;
    letter-spacing: .12em !important;
  }

  body.bm-note-single--styling .staff-look-detail {
    display: grid !important;
    grid-template-columns: minmax(430px, 552px) minmax(560px, 1fr) !important;
    gap: 40px !important;
    align-items: start !important;
    width: min(100%, 1238px) !important;
    max-width: none !important;
  }

  body.bm-note-single--styling .staff-look-main-media,
  body.bm-note-single--styling .staff-look-main-media.wp-block-post-featured-image {
    width: 100% !important;
    max-width: 552px !important;
    margin: 0 !important;
    line-height: 0 !important;
  }

  body.bm-note-single--styling .staff-look-main-media img {
    width: 100% !important;
    max-width: 552px !important;
    aspect-ratio: 3 / 4 !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
  }

  body.bm-note-single--styling .staff-look-panel {
    position: relative !important;
    top: auto !important;
    align-self: stretch !important;
    min-height: min(74vw, 736px) !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 650px !important;
  }

  body.bm-note-single--styling .staff-look-panel__body {
    position: static !important;
    margin: 0 !important;
    width: 100% !important;
  }

  body.bm-note-single--styling .staff-look-profile,
  body.bm-note-single--styling .staff-look-profile.wp-block-post-title {
    margin: 0 0 30px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: .055em !important;
    line-height: 1.6 !important;
    color: var(--bm-ink) !important;
  }

  body.bm-note-single--styling .bm-look-content,
  body.bm-note-single--styling .bm-look-content.wp-block-post-content {
    display: block !important;
    max-width: none !important;
    font-size: 11px !important;
    line-height: 1.65 !important;
    letter-spacing: .04em !important;
  }

  body.bm-note-single--styling .staff-look-items-section {
    margin: 0 !important;
  }

  body.bm-note-single--styling .staff-look-section-title {
    margin: 0 0 18px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: .16em !important;
  }

  body.bm-note-single--styling .staff-look-items {
    display: grid !important;
    grid-template-columns: repeat(3, 155px) !important;
    gap: 34px 50px !important;
    align-items: start !important;
    width: max-content !important;
    max-width: 100% !important;
  }

  body.bm-note-single--styling .staff-look-item {
    display: block !important;
    width: 155px !important;
    min-width: 0 !important;
    color: var(--bm-ink) !important;
  }

  body.bm-note-single--styling .staff-look-item__image {
    display: block !important;
    width: 155px !important;
    background: var(--bm-soft) !important;
    overflow: hidden !important;
  }

  body.bm-note-single--styling .staff-look-item__image img {
    width: 155px !important;
    aspect-ratio: 4 / 5 !important;
    height: auto !important;
    object-fit: cover !important;
  }

  body.bm-note-single--styling .staff-look-item__data {
    display: grid !important;
    gap: 3px !important;
    margin-top: 16px !important;
  }

  body.bm-note-single--styling .staff-look-item__name,
  body.bm-note-single--styling .staff-look-item__price,
  body.bm-note-single--styling .staff-look-item__meta {
    display: block !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    letter-spacing: .02em !important;
    color: var(--bm-ink) !important;
  }

  body.bm-note-single--styling .staff-look-item__price {
    letter-spacing: .04em !important;
  }

  body.bm-note-single--styling .staff-look-other {
    position: absolute !important;
    right: 0 !important;
    bottom: 18px !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1 !important;
    letter-spacing: .18em !important;
    color: var(--bm-muted) !important;
  }

  body.bm-note-single--styling .product-after-content.product-extra {
    display: block !important;
    width: 100% !important;
    padding: 82px 0 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  body.bm-note-single--styling .page-section--recommend {
    display: block !important;
    width: 100% !important;
    padding: 0 0 76px !important;
    margin: 0 !important;
  }

  body.bm-note-single--styling .page-section--recommend .section__header {
    display: none !important;
  }

  body.bm-note-single--styling .edge-carousel.carousel--edge {
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    padding-left: 70px !important;
  }

  body.bm-note-single--styling .carousel-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 20px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x proximity !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body.bm-note-single--styling .carousel-track::-webkit-scrollbar { display: none !important; }

  body.bm-note-single--styling .mini-card {
    flex: 0 0 270px !important;
    width: 270px !important;
    display: block !important;
    scroll-snap-align: start !important;
    background: var(--bm-soft) !important;
    overflow: hidden !important;
  }

  body.bm-note-single--styling .mini-card img {
    width: 270px !important;
    aspect-ratio: 3 / 4 !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
  }

  body.bm-note-single--styling .slider-dots {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 18px !important;
    min-height: 12px !important;
    margin: 44px 0 0 !important;
  }

  body.bm-note-single--styling .slider-dot {
    width: 16px !important;
    height: 1px !important;
    padding: 0 !important;
    background: #d8d1c7 !important;
    border: 0 !important;
    cursor: pointer !important;
  }

  body.bm-note-single--styling .slider-dot.is-active {
    width: 28px !important;
    background: var(--bm-muted) !important;
  }
}

@media (min-width: 761px) and (max-width: 1440px) {
  body.bm-note-theme .product-layout.layout--product {
    grid-template-columns: 180px minmax(0, 1fr) !important;
    column-gap: clamp(70px, 9vw, 150px) !important;
    padding-inline: 46px !important;
  }

  body.bm-note-single--styling .staff-look-detail {
    grid-template-columns: minmax(390px, 48vw) minmax(420px, 1fr) !important;
  }

  body.bm-note-single--styling .staff-look-items {
    grid-template-columns: repeat(2, 145px) !important;
    gap: 30px 42px !important;
  }

  body.bm-note-single--styling .staff-look-item,
  body.bm-note-single--styling .staff-look-item__image,
  body.bm-note-single--styling .staff-look-item__image img {
    width: 145px !important;
  }
}

@media (max-width: 760px) {
  body.bm-note-single--styling .staff-look-profile,
  body.bm-note-single--styling .staff-look-profile.wp-block-post-title {
    font-size: 12px !important;
    margin-bottom: 22px !important;
  }

  body.bm-note-single--styling .bm-look-content .bm-styling-intro { display: none !important; }

  body.bm-note-single--styling .staff-look-items {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px 14px !important;
  }

  body.bm-note-single--styling .staff-look-item {
    display: block !important;
    width: 100% !important;
  }

  body.bm-note-single--styling .staff-look-item__image,
  body.bm-note-single--styling .staff-look-item__image img {
    width: 100% !important;
  }

  body.bm-note-single--styling .staff-look-item__image img {
    aspect-ratio: 4 / 5 !important;
    object-fit: cover !important;
  }

  body.bm-note-single--styling .staff-look-item__data {
    margin-top: 10px !important;
    display: grid !important;
    gap: 2px !important;
  }

  body.bm-note-single--styling .staff-look-item__meta {
    display: block !important;
  }

  body.bm-note-single--styling .product-after-content.product-extra {
    padding: 40px 0 0 !important;
  }

  body.bm-note-single--styling .edge-carousel.carousel--edge {
    padding-left: 18px !important;
  }

  body.bm-note-single--styling .mini-card {
    flex-basis: 42vw !important;
    width: 42vw !important;
  }

  body.bm-note-single--styling .mini-card img {
    width: 42vw !important;
    aspect-ratio: 3 / 4 !important;
    object-fit: cover !important;
  }
}


/* === v1.2 polish: utility, newsletter, social icons, recommend heading, mobile stability === */
body.bm-note-theme,
body.bm-note-theme * {
  box-sizing: border-box;
}
body.bm-note-theme {
  overflow-x: hidden;
}
body.bm-note-theme .wp-site-blocks,
body.bm-note-theme .site-shell,
body.bm-note-theme .product-site {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

/* RECOMMENDは静的サイトと同じく見出しを画面表示しない */
body.bm-note-theme .bm-wp-recommend .section__header,
body.bm-note-theme .bm-wp-recommend #product-recommend-title {
  display: none !important;
}

/* Utility nav: WP標準フォーム/ボタンの干渉を解除して静的サイト寄りに固定 */
body.bm-note-theme .utility-nav.colorme-utility-nav {
  position: fixed !important;
  top: 28px !important;
  right: 34px !important;
  z-index: 300 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 19px !important;
  width: auto !important;
  max-width: calc(100vw - 68px) !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 10px !important;
  line-height: 1 !important;
  letter-spacing: .12em !important;
  white-space: nowrap !important;
}
body.bm-note-theme .utility-nav.colorme-utility-nav a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 10px !important;
  line-height: 1 !important;
  letter-spacing: .12em !important;
  color: var(--bm-ink) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
body.bm-note-theme .utility-nav__search {
  display: flex !important;
  align-items: center !important;
  flex: 0 0 186px !important;
  width: 186px !important;
  height: 18px !important;
  gap: 7px !important;
  margin: 0 !important;
  padding: 0 0 3px !important;
  border-bottom: 1px solid var(--bm-ink) !important;
  background: transparent !important;
}
body.bm-note-theme .utility-nav__search label {
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.bm-note-theme .utility-nav__search input[type="search"] {
  display: block !important;
  width: 100% !important;
  height: 15px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  color: var(--bm-ink) !important;
  font-size: 10px !important;
  line-height: 1 !important;
  letter-spacing: .12em !important;
}
body.bm-note-theme .utility-nav__search input[type="search"]::placeholder {
  color: var(--bm-ink) !important;
  opacity: .72 !important;
}
body.bm-note-theme .utility-nav__search button {
  flex: 0 0 12px !important;
  width: 12px !important;
  height: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 0 !important;
  background: transparent !important;
  border: 0 !important;
  cursor: pointer !important;
}
body.bm-note-theme .utility-nav__search button img {
  display: block !important;
  width: 10px !important;
  height: 10px !important;
  max-width: 10px !important;
  object-fit: contain !important;
}

/* Footer: newsletterとSNSを同じ列に積み、WP/外部CSSによる崩れを抑える */
body.bm-note-theme .footer.colorme-footer {
  padding: 74px 58px 26px !important;
  border-top: 1px solid var(--bm-line) !important;
  background: #fff !important;
  overflow: hidden !important;
}
body.bm-note-theme .footer.colorme-footer .footer__top,
body.bm-note-theme .footer.colorme-footer .footer__bottom {
  width: min(100%, 1120px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.bm-note-theme .footer.colorme-footer .footer__top {
  display: grid !important;
  grid-template-columns: minmax(150px, 1.45fr) minmax(120px, .78fr) minmax(120px, .78fr) minmax(260px, 1.18fr) !important;
  gap: 36px 58px !important;
  align-items: start !important;
}
body.bm-note-theme .footer.colorme-footer .brand--footer,
body.bm-note-theme .footer.colorme-footer .footer__column,
body.bm-note-theme .footer.colorme-footer .footer-newsletter,
body.bm-note-theme .footer.colorme-footer .social-links {
  min-width: 0 !important;
  margin-top: 0 !important;
}
body.bm-note-theme .footer.colorme-footer .footer-newsletter {
  grid-column: 4 !important;
  grid-row: 1 !important;
  width: 100% !important;
  max-width: 300px !important;
  margin: 0 !important;
}
body.bm-note-theme .footer.colorme-footer .footer-newsletter label {
  margin: 0 0 12px !important;
  padding: 0 !important;
  display: block !important;
  font-size: 10px !important;
  line-height: 1 !important;
  letter-spacing: .16em !important;
  color: var(--bm-muted) !important;
}
body.bm-note-theme .footer.colorme-footer .footer-newsletter p {
  margin: 0 0 18px !important;
  padding: 0 !important;
  font-size: 10px !important;
  line-height: 1.7 !important;
  letter-spacing: .08em !important;
  color: var(--bm-muted) !important;
}
body.bm-note-theme .footer.colorme-footer .footer-newsletter__field {
  display: flex !important;
  align-items: stretch !important;
  width: 250px !important;
  max-width: 100% !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #cfc8bd !important;
  background: #fff !important;
}
body.bm-note-theme .footer.colorme-footer .footer-newsletter__field input {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: 36px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  color: var(--bm-ink) !important;
  font-size: 10px !important;
  line-height: 36px !important;
  letter-spacing: .09em !important;
}
body.bm-note-theme .footer.colorme-footer .footer-newsletter__field button {
  flex: 0 0 38px !important;
  width: 38px !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: #9d978e !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}
body.bm-note-theme .footer.colorme-footer .footer-newsletter__field button:disabled {
  opacity: 1 !important;
  background: #9d978e !important;
  color: #fff !important;
}
body.bm-note-theme .footer.colorme-footer .social-links {
  grid-column: 4 !important;
  grid-row: 1 !important;
  align-self: end !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  width: max-content !important;
  margin: 104px 0 0 !important;
  padding: 0 !important;
}
body.bm-note-theme .footer.colorme-footer .social-links a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
}
body.bm-note-theme .footer.colorme-footer .social-links img {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  object-fit: contain !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.bm-note-theme .footer.colorme-footer .footer__bottom {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 24px !important;
  margin-top: 70px !important;
  padding-top: 20px !important;
  border-top: 1px solid var(--bm-line) !important;
}

@media (min-width: 761px) and (max-width: 1180px) {
  body.bm-note-theme .utility-nav.colorme-utility-nav {
    top: 20px !important;
    right: 24px !important;
    gap: 14px !important;
    max-width: calc(100vw - 48px) !important;
  }
  body.bm-note-theme .utility-nav__search {
    flex-basis: 128px !important;
    width: 128px !important;
  }
  body.bm-note-single--styling .staff-look-detail {
    grid-template-columns: minmax(360px, 50vw) minmax(320px, 1fr) !important;
    gap: 34px !important;
  }
  body.bm-note-single--styling .staff-look-items {
    grid-template-columns: repeat(2, minmax(132px, 145px)) !important;
    gap: 28px 34px !important;
    width: 100% !important;
  }
}

@media (max-width: 760px) {
  html.is-drawer-open,
  html.is-drawer-open body {
    overflow: hidden !important;
  }
  body.bm-note-theme {
    padding-top: 56px !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }
  body.bm-note-theme .utility-nav.colorme-utility-nav {
    display: none !important;
  }
  body.bm-note-theme .wp-site-blocks,
  body.bm-note-theme .site-shell,
  body.bm-note-theme .product-content,
  body.bm-note-theme .bm-wp-single {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  body.bm-note-theme .mobile-header {
    display: flex !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
  body.bm-note-theme .mobile-drawer {
    display: block !important;
    width: min(86vw, 360px) !important;
    max-width: 360px !important;
  }
  body.bm-note-theme .drawer-backdrop {
    display: block !important;
  }
  body.bm-note-theme .product-layout.layout--product,
  body.bm-note-single--styling .product-layout.layout--product,
  body.bm-mode-journal .product-layout,
  body.bm-note-single--journal .product-layout,
  body.bm-note-single--news .product-layout {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 24px 18px 66px !important;
  }
  body.bm-note-theme .site-side-menu {
    display: none !important;
  }
  body.bm-note-single--styling .staff-look-detail {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  body.bm-note-single--styling .staff-look-main-media,
  body.bm-note-single--styling .staff-look-main-media.wp-block-post-featured-image {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 26px !important;
    overflow: hidden !important;
  }
  body.bm-note-single--styling .staff-look-main-media img {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 4 / 5 !important;
    object-fit: cover !important;
  }
  body.bm-note-single--styling .staff-look-panel {
    position: static !important;
    min-height: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  body.bm-note-single--styling .staff-look-items {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px 14px !important;
    width: 100% !important;
  }
  body.bm-note-single--styling .staff-look-item,
  body.bm-note-single--styling .staff-look-item__image,
  body.bm-note-single--styling .staff-look-item__image img {
    width: 100% !important;
    max-width: 100% !important;
  }
  body.bm-note-single--styling .staff-look-other {
    position: static !important;
    display: inline-block !important;
    margin: 34px 0 0 !important;
    font-size: 11px !important;
  }
  body.bm-note-single--styling .product-after-content.product-extra,
  body.bm-note-single--styling .bm-wp-recommend {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 42px 0 56px !important;
    overflow: hidden !important;
  }
  body.bm-note-single--styling .page-section--recommend {
    width: 100% !important;
    padding: 0 !important;
  }
  body.bm-note-single--styling .edge-carousel.carousel--edge {
    width: 100% !important;
    max-width: 100vw !important;
    padding-left: 18px !important;
    overflow: hidden !important;
  }
  body.bm-note-single--styling .carousel-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
  }
  body.bm-note-single--styling .carousel-track::-webkit-scrollbar {
    display: none !important;
  }
  body.bm-note-single--styling .mini-card {
    flex: 0 0 54vw !important;
    width: 54vw !important;
    max-width: 220px !important;
    min-width: 164px !important;
  }
  body.bm-note-single--styling .mini-card img {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 3 / 4 !important;
    object-fit: cover !important;
  }
  body.bm-note-single--styling .slider-dots {
    margin-top: 28px !important;
    gap: 14px !important;
  }

  body.bm-note-theme .footer.colorme-footer {
    width: 100% !important;
    max-width: 100% !important;
    padding: 52px 18px 24px !important;
    overflow: hidden !important;
  }
  body.bm-note-theme .footer.colorme-footer .footer__top {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  body.bm-note-theme .footer.colorme-footer .brand--footer {
    display: inline-block !important;
    margin: 0 0 34px !important;
  }
  body.bm-note-theme .footer.colorme-footer .footer-newsletter {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 28px !important;
  }
  body.bm-note-theme .footer.colorme-footer .footer-newsletter__field {
    width: 100% !important;
    max-width: 320px !important;
    height: 40px !important;
  }
  body.bm-note-theme .footer.colorme-footer .footer-newsletter__field input {
    height: 38px !important;
    line-height: 38px !important;
  }
  body.bm-note-theme .footer.colorme-footer .footer-newsletter__field button {
    height: 38px !important;
  }
  body.bm-note-theme .footer.colorme-footer .social-links {
    display: flex !important;
    position: static !important;
    width: max-content !important;
    margin: 28px 0 0 !important;
    gap: 14px !important;
  }
  body.bm-note-theme .footer.colorme-footer .footer__bottom {
    display: block !important;
    width: 100% !important;
    margin-top: 44px !important;
    padding-top: 18px !important;
  }
  body.bm-note-theme .footer.colorme-footer .footer__bottom nav {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 14px 18px !important;
    margin-top: 12px !important;
  }
}

/* === v1.5 classic PHP template hardening === */
body.bm-note-theme .bm-classic-site,
body.bm-note-theme .bm-common-header {
  display: contents;
}
body.bm-note-theme .utility-nav .search-form,
body.bm-note-theme .utility-nav__search.search-form {
  display: flex !important;
  align-items: center !important;
}
body.bm-note-theme .utility-nav.colorme-utility-nav .search-form,
body.bm-note-theme .utility-nav.colorme-utility-nav .utility-nav__search {
  flex: 0 0 186px !important;
  width: 186px !important;
}
body.bm-note-theme .utility-links {
  display: flex !important;
  align-items: center !important;
  gap: 19px !important;
}
body.bm-note-theme .site-side-menu.colorme-side-menu .brand--hero img,
body.bm-note-theme .site-side-menu.colorme-side-menu .site-logo--side {
  width: 150px !important;
  height: auto !important;
}
body.bm-note-theme .footer.colorme-footer .brand--footer img,
body.bm-note-theme .footer.colorme-footer .site-logo--footer {
  width: 132px !important;
  height: auto !important;
}
body.bm-note-theme .footer.colorme-footer .footer-newsletter input,
body.bm-note-theme .side-newsletter input,
body.bm-note-theme .mobile-drawer__newsletter input {
  appearance: none !important;
}
body.bm-note-theme .taxonomy-category.bm-terms-src {
  display: none !important;
}
body.bm-note-theme .bm-wp-recommend .section__header {
  display: none !important;
}


/* === v1.6 guarded common parts + desktop footer recovery === */
body.bm-note-theme .side-newsletter .newsletter-consent[hidden],
body.bm-note-theme .mobile-drawer__newsletter .newsletter-consent[hidden],
body.bm-note-theme .footer-newsletter .newsletter-consent[hidden] {
  display: none !important;
}
body.bm-note-theme .side-newsletter .newsletter-consent,
body.bm-note-theme .mobile-drawer__newsletter .newsletter-consent,
body.bm-note-theme .footer-newsletter .newsletter-consent {
  clear: both !important;
}

@media (min-width: 761px) {
  body.bm-note-theme .footer.colorme-footer {
    display: block !important;
    width: 100% !important;
    padding: 74px 58px 26px !important;
    border-top: 1px solid var(--bm-line) !important;
  }
  body.bm-note-theme .footer.colorme-footer > .footer__top {
    display: grid !important;
    grid-template-columns: 1.35fr .8fr .8fr 1.35fr !important;
    grid-template-areas:
      "brand guide member newsletter"
      "brand guide member social" !important;
    column-gap: 74px !important;
    row-gap: 28px !important;
    align-items: start !important;
    width: min(100%, 1120px) !important;
    margin: 0 auto !important;
  }
  body.bm-note-theme .footer.colorme-footer .brand--footer { grid-area: brand !important; }
  body.bm-note-theme .footer.colorme-footer .footer__column--guide { grid-area: guide !important; }
  body.bm-note-theme .footer.colorme-footer .footer__column--member { grid-area: member !important; }
  body.bm-note-theme .footer.colorme-footer .footer-newsletter { grid-area: newsletter !important; }
  body.bm-note-theme .footer.colorme-footer .social-links { grid-area: social !important; }

  body.bm-note-theme .footer.colorme-footer .footer__column,
  body.bm-note-theme .footer.colorme-footer .footer-newsletter,
  body.bm-note-theme .footer.colorme-footer .social-links {
    margin: 0 !important;
    padding: 0 !important;
  }
  body.bm-note-theme .footer.colorme-footer .footer__column h2,
  body.bm-note-theme .footer.colorme-footer .footer-newsletter label {
    margin: 0 0 18px !important;
  }
  body.bm-note-theme .footer.colorme-footer .social-links {
    align-self: start !important;
    margin-top: 24px !important;
  }
}
