/** Shopify CDN: Minification failed

Line 218:0 Unexpected "}"

**/
/* フローティングヘッダーメニュー */
.floating-header-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--color-body-background, #fff);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 8px 10px;
  padding-top: calc(8px + env(safe-area-inset-top, 0px));
}

.floating-header-menu__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

.floating-header-menu__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--color-base, #142C73);
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px 8px;
  min-width: 50px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.floating-header-menu__item:hover,
.floating-header-menu__item:active {
  color: var(--color-accent, #000);
  transform: scale(1.05);
}

.floating-header-menu__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-bottom: 2px;
}

.floating-header-menu__icon svg {
  width: 20px;
  height: 20px;
}

.floating-header-menu__icon svg path {
  fill: currentColor;
}

.floating-header-menu__label {
  font-size: 9px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

/* ロゴ（中央） */
.floating-header-menu__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 10px;
  text-decoration: none;
}

.floating-header-menu__logo:hover {
  text-decoration: none;
}

.floating-header-menu__logo-svg {
  max-width: var(--max-width, 80px);
  max-height: var(--max-height, 40px);
}

.floating-header-menu__logo-svg svg {
  width: 100%;
  height: auto;
  max-height: 40px;
}

.floating-header-menu__logo-img {
  max-width: 80px;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.floating-header-menu__logo-text {
  font-size: 14px;
  font-weight: bold;
  color: var(--color-base, #142C73);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
  text-decoration: none;
  border-bottom: none;
}

.floating-header-menu__logo-text:hover {
  text-decoration: none;
}

/* カートのカウントバッジ */
.floating-header-menu__cart-count {
  position: absolute;
  top: -5px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 10px;
  font-weight: bold;
  line-height: 16px;
  text-align: center;
  color: #fff;
  background: var(--color-accent, #e74c3c);
  border-radius: 8px;
}

/* モバイルでのみ表示 */
@media (max-width: 992px) {
  .floating-header-menu {
    display: block;
  }

  /* フローティングメニューの高さ分、ページ上部に余白を追加 */
  body {
    padding-top: calc(60px + env(safe-area-inset-top, 0px));
  }

  /* 既存のモバイルヘッダーを非表示 */
  .header__mobile .header,
  .header__mobile .opened-search {
    display: none;
  }

  /* 検索ボタンタップ時: 検索バーをフローティングヘッダー直下に表示（top は JS で設定） */
  body.floating-search-open .header__mobile .opened-search {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 998;
    margin: 0;
    padding: 12px 15px 15px;
    background: var(--color-body-background, #fff);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }

  /* ヘッダーセクション自体をオーバーレイ(997)より前面に出す
     （.section-header は z-index:11 のためそのままだと検索バーがグレーの膜の下になる） */
  body.floating-search-open .section-header {
    position: relative !important;
    z-index: 998;
  }

  /* 検索バーの背面オーバーレイ（タップで閉じる） */
  body.floating-search-open .floating-search-overlay {
    display: block;
  }
}

.floating-search-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 997;
}

  /* モバイルヘッダー全体の余白調整 */
  .header__mobile {
    padding: 0;
  }

  /* モバイルでスティッキーヘッダー（タイルメニュー含む）を無効化 */
  .section-header,
  .shopify-section-header-sticky,
  sticky-header {
    position: static !important;
    top: auto !important;
  }

  /* sticky の隠しアニメーション(translateY)を無効化。
     フローティングメニューをこのセクション内で描画しているため、
     transform が掛かると position:fixed の基準がズレて画面外に飛ぶ */
  .section-header {
    transform: none !important;
  }

  .shopify-section-header-sticky:not(.shopify-section-header-hidden) {
    box-shadow: none;
  }
}

/* デスクトップでは非表示 */
@media (min-width: 993px) {
  .floating-header-menu,
  .floating-menu-drawer {
    display: none !important;
  }
}

/* フローティングメニュー用ドロワー */
.floating-menu-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
}

.floating-menu-drawer.is-open {
  display: block;
}

.floating-menu-drawer__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.floating-menu-drawer__content {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 330px;
  max-width: calc(100% - 60px);
  background: var(--color-body-background, #fff);
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.floating-menu-drawer.is-open .floating-menu-drawer__content {
  transform: translateX(0);
}

.floating-menu-drawer .drawer__header {
  display: flex;
  justify-content: flex-end;
  padding: 15px;
}

.floating-menu-drawer__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
