/* =====================================================
   CSS変数
   ===================================================== */
:root {
  --blue:      #00559c;
  --blue-dark: #003f78;
  --orange:    #f5820d;
  --red-btn:   #ef4529;
  --red:       #bf0000;
  --white:     #ffffff;
  --bg:        #f5f7fa;
  --text:      #222222;
  --text-sm:   #666666;
  --border:    #dddddd;
  --star:      #f5a623;
  --radius:    6px;
  --font:      'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'ヒラギノ角ゴ Pro W3', 'Meiryo', 'メイリオ', sans-serif;
  --tab-h:     56px;
  --footer-h:  100px;
}

/* =====================================================
   リセット・基本
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
ul  { list-style: none; }
a   { color: inherit; text-decoration: none; }
a:hover { opacity: .8; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: var(--font); cursor: pointer; }
input  { font-family: var(--font); }

/* =====================================================
   Makeshop既存UI 非表示
   ===================================================== */
.header,
.top-bar,
header:not(.gbft-header) {
  display: none
}

/* パンくず・余白リセット */
ul.breadcrumb {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
@media screen and (max-width: 767px) {
  main.main { margin-top: 0 !important; }
}

/* Makeshop既存の固定カートボタンを無効化 */
@media screen and (max-width: 767px) {
  .add-btn.cart-fixed { display: none !important; }
}

/* Makeshopのbg-section等の黄色背景を白に */
.bg-section,
.bg-section *,
.detail-description,
.left-detail-description,
.right-detail-description,
.description-text {
  background: var(--white) !important;
  background-color: var(--white) !important;
}

/* =====================================================
   ティッカー（スクロールバナー）
   ===================================================== */
.gbft-ticker {
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 0;
  overflow: hidden;
  position: relative;
  z-index: 900;
}
.gbft-ticker-slide {
  position: relative;
  height: 22px;
  overflow: hidden;
}
.gbft-ticker-item {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateX(100vw);
  transition: transform .6s cubic-bezier(.25,.46,.45,.94), opacity .1s;
  white-space: nowrap;
  pointer-events: none;
  line-height: 22px;
}
.gbft-ticker-item.active {
  opacity: 1;
  transform: translateX(0);
}
.gbft-ticker-item.leave {
  opacity: 1;
  transform: translateX(-100vw);
  transition: transform .6s cubic-bezier(.55,.06,.68,.19), opacity .1s .5s;
}

/* PC：スマホ用ティッカーは非表示（スティッキーバー内のもので代替） */
@media screen and (min-width: 768px) {
  .gbft-ticker { display: none !important; }
}

/* =====================================================
   ヘッダー（スマホ）
   ===================================================== */
.gbft-header {
  position: static;
  background: var(--white);
  border-bottom: 3px solid var(--blue);
  box-shadow: 0 2px 8px rgba(0,85,156,.12);
}
.gbft-header--static { position: static; }

.gbft-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  max-width: 430px;
  margin: 0 auto;
}

/* ハンバーガーボタン */
.gbft-menu-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: none;
  border: none;
  padding: 4px 6px;
}
.gbft-menu-btn .bar {
  display: block;
  width: 24px; height: 3px;
  background: var(--blue);
  border-radius: 2px;
  transition: all .35s ease;
}
.gbft-menu-btn .menu-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1px;
  margin-top: 2px;
}
.gbft-menu-btn.is-open .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.gbft-menu-btn.is-open .bar:nth-child(2) { opacity: 0; }
.gbft-menu-btn.is-open .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ロゴ */
.gbft-logo { display: block; line-height: 1; }
.gbft-logo img { height: 32px; width: auto; }

/* カートリンク（スマホヘッダー右） */
.gbft-cart-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
}
.gbft-cart-link img {
  width: 28px; height: 28px;
  filter: brightness(0) saturate(100%) invert(21%) sepia(97%) saturate(600%) hue-rotate(186deg) brightness(92%) contrast(101%);
}

/* =====================================================
   PCヘッダー
   ===================================================== */

/* スマホ要素をPCで非表示 */
@media screen and (min-width: 768px) {
  .gbft-header-sp  { display: none !important; }
  .gbft-search-sp  { display: none !important; }
  .gbft-menu-btn   { display: none !important; }
  /* PC：スマホヘッダーは不要（スティッキーバーで代替） */
  .gbft-header     { display: none !important; }
}

/* PC要素をスマホで非表示 */
@media screen and (max-width: 767px) {
  .gbft-header-pc-top { display: none !important; }
  .gbft-header-pc-nav { display: none !important; }
}

/* PC ヘッダー上段 */
.gbft-header-pc-top {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.gbft-header-pc-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.gbft-logo-pc { flex-shrink: 0; display: block; line-height: 1; }
.gbft-logo-pc img { height: 36px; width: auto; }

/* PC 検索窓 */
.gbft-search-pc { flex: 1; padding: 10px 0; }
.gbft-search-pc .gbft-search-inner,
.gbft-search-pc form.gbft-search-inner {
  display: flex !important;
  align-items: center !important;
  overflow: hidden;
  max-width: 100%;
  margin: 0;
  height: 38px;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  background: #f5f5f5;
}
.gbft-search-pc .gbft-search-inner input[type="text"],
.gbft-search-pc form.gbft-search-inner input[type="text"] {
  flex: 1 !important;
  min-width: 0 !important;
  border-radius: 6px 0 0 6px;
}

/* PC ヘッダー右側アイコン群 */
.gbft-header-pc-right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.gbft-pc-icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 12px;
  font-size: 11px;
  color: var(--text);
  text-decoration: none !important;
  white-space: nowrap;
  transition: color .2s;
}
.gbft-pc-icon-link:hover { color: var(--blue); opacity: 1; }
.gbft-pc-icon-link:hover svg { stroke: var(--blue); }

/* カートボタン（オレンジ） */
.gbft-pc-cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none !important;
  margin-left: 8px;
  white-space: nowrap;
  transition: opacity .2s;
}
.gbft-pc-cart-btn:hover { opacity: .88; }

/* PC ヘッダー下段ナビ */
.gbft-header-pc-nav {
  background: #e4eef7;
  border-bottom: 1px solid #c5d8ee;
}
.gbft-header-pc-nav .gbft-header-pc-inner {
  padding: 0 24px;
  gap: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.gbft-pc-nav-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text);
  text-decoration: none !important;
  white-space: nowrap;
  border-right: 1px solid var(--border);
  transition: background .15s, color .15s;
}
.gbft-pc-nav-item:first-child { border-left: 1px solid var(--border); }
.gbft-pc-nav-item:hover { background: rgba(255,255,255,.6); color: var(--blue); opacity: 1; }
.gbft-pc-nav-item svg { flex-shrink: 0; stroke: #aaa; }
.gbft-pc-nav-item img {
  filter: brightness(0) saturate(100%) invert(21%) sepia(97%) saturate(600%) hue-rotate(186deg) brightness(92%) contrast(101%);
  flex-shrink: 0;
}

@media screen and (min-width: 768px) {
  .gbft-header-pc-top {
    box-shadow: 0 2px 6px rgba(0,85,156,.08);
  }
  /* PCヘッダーのborder-bottomはPC用ナビが担うので削除 */
  .gbft-header { border-bottom: none; box-shadow: none; }
}

/* =====================================================
   検索バー（スマホ）
   ===================================================== */
.gbft-search {
  background: var(--white);
  padding: 6px 14px;
  border-bottom: 1px solid var(--border);
}
.gbft-search-inner,
form.gbft-search-inner {
  display: flex !important;
  align-items: center !important;
  max-width: 430px;
  margin: 0 auto;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
  background: #f5f5f5;
  height: 34px;
}
.gbft-search-inner input[type="text"],
form.gbft-search-inner input[type="text"] {
  flex: 1 !important;
  min-width: 0 !important;
  border: none !important;
  border-bottom: none !important;
  background: transparent !important;
  padding: 0 10px !important;
  margin: 0 !important;
  font-size: 13px !important;
  font-family: var(--font) !important;
  outline: none !important;
  color: var(--text) !important;
  line-height: 34px !important;
  height: 34px !important;
  width: 100% !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
}
.gbft-search-inner input[type="text"]::placeholder { color: #aaa !important; opacity: 1 !important; }
.gbft-search-inner input[type="text"]::-webkit-input-placeholder { color: #aaa !important; opacity: 1 !important; }
.gbft-search-inner input[type="text"]::-moz-placeholder { color: #aaa !important; opacity: 1 !important; }
.gbft-search-btn {
  background: none !important;
  border: none !important;
  padding: 0 10px !important;
  margin: 0 !important;
  color: var(--text-sm);
  display: flex !important;
  align-items: center;
  justify-content: center !important;
  height: 34px !important;
  flex-shrink: 0;
}
.gbft-search-btn svg { width: 18px; height: 18px; }

/* =====================================================
   ドロワーメニュー
   ===================================================== */
.gbft-overlay {
  display: block !important;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}
.gbft-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.gbft-drawer {
  position: fixed;
  top: 0; left: -290px;
  width: 280px;
  min-width: 280px;
  height: 100%;
  background: var(--white);
  z-index: 1200;
  transition: left .35s cubic-bezier(.25,.46,.45,.94);
  overflow-y: auto;
  padding-bottom: calc(var(--tab-h) + var(--footer-h));
}
.gbft-overlay.is-open .gbft-drawer { left: 0 !important; }

/* ドロワーヘッダー */
.gbft-drawer-head {
  background: var(--blue);
  padding: 16px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.gbft-drawer-logo { display: flex; flex-direction: column; gap: 2px; text-decoration: none !important; }
.gbft-drawer-close {
  background: none; border: none; cursor: pointer;
  padding: 4px; display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex-shrink: 0; color: var(--white);
}

/* ドロワーボタン */
.gbft-drawer-btns { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.gbft-drawer-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  padding: 13px;
  border-radius: var(--radius);
  font-size: 15px !important;
  font-weight: 700 !important;
  font-family: var(--font) !important;
  border: none;
  text-decoration: none !important;
  position: static !important;
  transform: none !important;
}
.gbft-drawer-btn.register { background: var(--orange); color: var(--white); }
.gbft-drawer-btn.login    { background: var(--blue);   color: var(--white); }

/* ドロワーナビ（Makeshop既存CSSを上書き） */
#gbftDrawer,
#gbftDrawer * {
  font-family: var(--font) !important;
  box-sizing: border-box;
}
.gbft-drawer-nav {
  display: block !important;
  border-top: 1px solid var(--border);
}
.gbft-drawer-nav ul {
  display: block !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.gbft-drawer-nav li {
  display: block !important;
  border-bottom: 1px solid var(--border) !important;
  padding: 0 !important;
  margin: 0 !important;
  color: var(--text) !important;
  text-align: left !important;
}
.gbft-drawer-nav li a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 14px 16px !important;
  font-size: 14px !important;
  font-family: var(--font) !important;
  font-weight: 400 !important;
  color: var(--text) !important;
  text-decoration: none !important;
  background: transparent !important;
  width: 100% !important;
  position: static !important;
  transform: none !important;
}
.gbft-drawer-nav li a svg {
  flex-shrink: 0 !important;
  width: 18px !important; height: 18px !important;
  stroke: #aaa !important;
  fill: none !important;
}
.gbft-drawer-nav li a img {
  flex-shrink: 0 !important;
  width: 18px !important; height: 18px !important;
  filter: brightness(0) saturate(100%) invert(73%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(110%) contrast(85%) !important;
}
.gbft-drawer-nav li a:hover {
  background: var(--bg) !important;
  opacity: 1 !important;
  text-decoration: none !important;
}

/* =====================================================
   パンくず
   ===================================================== */
.gbft-breadcrumb-wrap {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.gbft-breadcrumb {
  padding: 8px 14px;
  font-size: 11px;
  color: var(--text-sm);
  background: var(--white);
}
.gbft-breadcrumb-wrap .gbft-breadcrumb {
  border-bottom: none;
}
.gbft-breadcrumb ul.breadcrumb {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center;
  list-style: none;
  padding: 0; margin: 0;
  gap: 0;
}
.gbft-breadcrumb ul.breadcrumb li {
  display: flex !important;
  align-items: center;
  white-space: normal;
  flex-shrink: 1;
  color: #999 !important;
  font-size: 11px !important;
}
.gbft-breadcrumb ul.breadcrumb li a {
  color: #999 !important;
  text-decoration: none;
  font-size: 11px !important;
}
.gbft-breadcrumb ul.breadcrumb li a:hover { color: var(--blue) !important; text-decoration: underline; }
.gbft-breadcrumb ul.breadcrumb li + li::before {
  content: '>';
  margin: 0 5px;
  color: #bbb;
  font-size: 10px;
}

@media screen and (min-width: 768px) {
  .gbft-breadcrumb-wrap .gbft-breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 24px;
  }
}

/* スマホ：navタグが既存CSSに引っ張られないよう上書き */
@media screen and (max-width: 767px) {
  nav.gbft-breadcrumb {
    width: 100% !important;
    height: auto !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    z-index: auto !important;
    transform: none !important;
    transition: none !important;
    background: var(--white) !important;
    padding: 8px 14px !important;
    display: block !important;
  }
}

/* =====================================================
   セクション区切り
   ===================================================== */
.gbft-divider { height: 6px; background: var(--white); }
.gbft-section-title { font-size: 15px; font-weight: 700; padding: 14px 14px 10px; color: var(--text); border-top: 6px solid var(--bg); }

/* =====================================================
   商品グリッド（おすすめ・履歴・関連）
   ===================================================== */
.gbft-grid-scroll {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  gap: 12px;
  padding: 0 14px 8px;
  margin: 0 0 14px;
  background: transparent;
  scrollbar-width: none;
}
.gbft-grid-scroll::-webkit-scrollbar { display: none; }
.gbft-grid-card {
  display: block;
  background: var(--white);
  text-decoration: none !important;
  color: var(--text);
  padding: 0;
  flex: 0 0 140px;
  width: 140px;
  border-radius: 8px;

  overflow: hidden;
}
.gbft-grid-card:hover { opacity: .85; }
.gbft-grid-img {
  width: 100%;
  aspect-ratio: 1/1;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #aaa;
  overflow: hidden;
}
.gbft-grid-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gbft-grid-name {
  font-size: 11px;
  line-height: 1.4;
  padding: 6px 8px 2px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gbft-grid-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  padding: 2px 8px 8px;
}
.gbft-grid-price small { font-size: 10px; font-weight: 400; color: var(--text-sm); }

/* スマホ：グリッドカード */
@media screen and (max-width: 767px) {
  .gbft-grid-scroll {
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
    padding-bottom: 12px;
  }
  .gbft-grid-scroll::-webkit-scrollbar { display: block !important; height: 4px; }
  .gbft-grid-scroll::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 2px; }
  .gbft-grid-scroll::-webkit-scrollbar-thumb { background: #bbb; border-radius: 2px; }
  .gbft-grid-card { border: none !important; border-radius: 8px !important; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
}

/* PC：グリッド 3列×2行 */
@media screen and (min-width: 768px) {
  .gbft-grid-scroll {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: repeat(2, auto) !important;
    overflow: visible !important;
    gap: 16px !important;
    padding: 0 24px 16px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
  }
  .gbft-grid-card { flex: none !important; width: auto !important; border: 1px solid var(--border) !important; border-radius: var(--radius) !important; }
  .gbft-grid-img  { aspect-ratio: 1/1; width: 100%; }
  .gbft-grid-name  { font-size: 13px !important; padding: 8px 8px 4px !important; }
  .gbft-grid-price { font-size: 14px !important; padding: 0 8px 8px !important; }
  .gbft-grid-price small { font-size: 11px !important; }
  /* 7枚目以降は非表示 */
  .gbft-grid-card:nth-child(n+7) { display: none !important; }
}

/* =====================================================
   もっと見るボタン
   ===================================================== */
.gbft-more-btn {
  display: block;
  width: 100%;
  padding: 12px;
  text-align: center;
  border: 1.5px solid var(--blue);
  border-radius: var(--radius);
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  background: var(--white);
  transition: background .2s, color .2s;
}
.gbft-more-btn:hover { background: var(--blue); color: var(--white); opacity: 1; }

@media screen and (min-width: 768px) {
  .gbft-more-btn {
    display: block;
    width: 200px !important;
    margin: 16px auto 20px !important;
    padding: 10px 24px;
  }
}

/* =====================================================
   FAQアコーディオン（共通）
   ===================================================== */
.gbft-faq-section { background: var(--white); }
.gbft-faq-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 10px;
}
.gbft-faq-head-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: visible;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gbft-faq-head-icon img { width: 40px; height: 40px; object-fit: contain; display: block; }
.gbft-faq-head-title { font-size: 15px; font-weight: 700; }
.gbft-faq-item { border-top: 1px solid var(--border); }
.gbft-faq-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--blue);
  color: var(--white);
  padding: 13px 14px;
  border: none;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  gap: 8px;
  cursor: pointer;
}
.gbft-acc-arrow { font-size: 18px; transition: transform .3s ease; flex-shrink: 0; display: inline-block; }
.gbft-faq-btn[aria-expanded="true"] .gbft-acc-arrow { transform: rotate(180deg); }
.gbft-faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; background: var(--white); }
.gbft-faq-answer.is-open { max-height: 600px; }
.gbft-faq-answer-inner { padding: 14px; font-size: 13px; line-height: 1.8; color: var(--text); border-bottom: 1px solid var(--border); }
.gbft-pay-icons { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.gbft-pay-icon { background: #f5f7fa; border: 1px solid var(--border); border-radius: 4px; padding: 4px 8px; font-size: 11px; font-weight: 700; }
.gbft-contact-phone { font-size: 22px; font-weight: 900; color: var(--blue); margin: 6px 0 4px; }
.gbft-contact-mail  { color: var(--blue); text-decoration: underline; font-size: 13px; }

/* FAQ 送料バナー */
.gbft-souryou-banner { width: 100%; display: block; margin: 12px 0 0; }
.gbft-souryou-banner img { width: 100%; height: auto; border-radius: 4px; }
.gbft-souryou-img { width: 100%; height: auto; display: block; margin-bottom: 8px; }

/* スマホ：PC版FAQカードを非表示 */
@media screen and (max-width: 767px) {
  .gbft-faq-grid { display: none !important; }
  .gbft-faq-item { display: block !important; }
}

/* PC：アコーディオンを非表示・カードグリッドを表示 */
@media screen and (min-width: 768px) {
  .gbft-faq-item { display: none !important; }
  .gbft-faq-grid { display: grid !important; }
  .gbft-faq-section {
    background: #e4eef7;
    border: none;
    border-radius: 0;
    margin-top: 24px;
    margin-bottom: 24px;
    padding: 32px 0;
    width: 100%;
    box-sizing: border-box;
  }
  .gbft-faq-head {
    justify-content: center;
    padding: 0 0 20px;
    max-width: 1200px;
    margin-left: auto; margin-right: auto;
    padding-left: 64px; padding-right: 64px;
    box-sizing: border-box;
  }
  .gbft-faq-head-title { font-size: 20px; }
  .gbft-faq-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 1200px;
    margin-left: auto; margin-right: auto;
    padding-left: 64px; padding-right: 64px;
    box-sizing: border-box;
  }
  .gbft-faq-card {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    border: none;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
  }
  .gbft-faq-card-q {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
  }
  .gbft-faq-card-q-icon {
    background: var(--blue);
    color: var(--white);
    font-size: 13px;
    font-weight: 900;
    width: 26px; height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .gbft-faq-card-a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text);
  }
  .gbft-faq-card-a-icon {
    color: var(--orange);
    font-size: 13px;
    font-weight: 900;
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 1.5px solid var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
  }
  /* 送料カードは横幅いっぱい */
  .gbft-faq-card--wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
  }
  .gbft-faq-card--wide .gbft-faq-card-left,
  .gbft-faq-card--wide .gbft-faq-card-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .gbft-souryou-img { max-width: 200px !important; }
  .gbft-souryou-banner img { max-width: 200px !important; border-radius: 4px; }
  .gbft-contact-phone { font-size: 28px; }
}

/* =====================================================
   カルーセル（横スクロール）
   ===================================================== */
.gbft-carousel-section { background: var(--white); padding: 0 0 14px; }
.gbft-carousel-title {
  font-size: 15px; font-weight: 700;
  padding: 14px 14px 10px;
  display: flex; align-items: center; gap: 8px;
}
.gbft-carousel-title svg { width: 18px; height: 18px; color: var(--blue); }
.gbft-carousel-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 14px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.gbft-carousel-scroll::-webkit-scrollbar { height: 4px; }
.gbft-carousel-scroll::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 2px; }
.gbft-carousel-scroll::-webkit-scrollbar-thumb { background: #bbb; border-radius: 2px; }
.gbft-carousel-card {
  min-width: 140px; max-width: 140px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: start;
  flex-shrink: 0;
  background: var(--white);
}
.gbft-carousel-img {
  height: 100px;
  background: #e8edf3;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: #aaa;
  overflow: hidden;
}
.gbft-carousel-img img { width: 100%; height: 100%; object-fit: cover; }
.gbft-carousel-body { padding: 8px; }
.gbft-carousel-name { font-size: 11px; line-height: 1.4; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gbft-carousel-price { font-size: 13px; font-weight: 700; color: var(--red); }
.gbft-module-wrap { padding: 0 14px; }

@media screen and (min-width: 768px) {
  .gbft-carousel-section {
    max-width: 1200px;
    margin: 0 auto 16px;
    border-radius: var(--radius);
    overflow: hidden;
    padding-bottom: 16px;
  }
  .gbft-carousel-title {
    font-size: 20px !important;
    font-weight: 700;
    padding: 20px 24px 16px !important;
    justify-content: center;
    gap: 10px;
  }
}

/* =====================================================
   カテゴリータグ
   ===================================================== */
.gbft-category-tags { padding: 14px; border-top: 1px solid var(--border); }
.gbft-category-tags-label { font-size: 12px; color: var(--text-sm); margin-bottom: 8px; font-weight: 700; }
.gbft-tags-wrap { display: flex; flex-wrap: wrap; gap: 6px; }
.gbft-tag {
  background: #eef4fb;
  border: 1px solid #c0d0f0;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--blue);
}

@media screen and (min-width: 768px) {
  .gbft-category-tags {
    max-width: 1200px;
    margin: 0 auto 16px;
    background: var(--white);
    border-radius: var(--radius);
  }
}

/* =====================================================
   フッター
   ===================================================== */
.gbft-footer { background: var(--white); border-top: 3px solid var(--bg); }
.gbft-footer-top {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 12px; color: var(--text-sm); cursor: pointer;
  background: none; border-top: none; border-left: none; border-right: none; width: 100%;
}

/* インテリアバナー */
.gbft-interior-wrap { padding: 14px; border-bottom: 1px solid var(--border); }
.gbft-interior-banner-img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.gbft-footer-logo-img { display: block; height: 36px; width: auto; margin-bottom: 12px; }
.gbft-interior-copy { margin-top: 10px; }
.gbft-interior-copy .catchcopy { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.gbft-interior-copy .description { font-size: 12px; color: var(--text-sm); line-height: 1.7; }

/* フッターナビ */
.gbft-footer-nav { padding: 14px; border-top: 1px solid var(--border); }
.gbft-footer-nav-title { font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 10px; }
.gbft-footer-nav ul { display: flex; flex-direction: column; gap: 8px; }
.gbft-footer-nav ul li a { font-size: 13px; color: var(--text); }
.gbft-footer-company { padding: 14px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-sm); line-height: 2; }
.gbft-footer-company strong { color: var(--text); font-size: 13px; }
.gbft-social-row { display: flex; gap: 10px; margin-top: 10px; }
.gbft-social-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #333;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 14px; font-weight: 900;
  text-decoration: none !important;
}
.gbft-social-icon.tiktok { background: #010101; }
.gbft-tiktok-svg { width: 18px; height: 18px; fill: #fff; }
.gbft-footer-copy { background: var(--blue); color: var(--white); text-align: center; padding: 10px; font-size: 11px; width: 100%; box-sizing: border-box; }

@media screen and (min-width: 768px) {
  .gbft-footer { max-width: 100%; margin: 0; border-radius: 0; overflow: hidden; border-top: none !important; }
  .gbft-footer-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--white);
    padding: 32px 64px;
    align-items: start;
    max-width: 1200px;
    margin-left: auto; margin-right: auto;
    box-sizing: border-box;
  }
  .gbft-interior-wrap {
    padding: 0 24px 0 0 !important;
    border-bottom: none !important;
    border-right: 1px solid var(--border);
  }
  .gbft-interior-banner-img { width: 100% !important; border-radius: 6px; margin-bottom: 10px; }
  .gbft-interior-copy .catchcopy { font-size: 13px !important; font-weight: 700; margin-bottom: 6px; }
  .gbft-interior-copy .description { font-size: 12px !important; line-height: 1.7; }
  .gbft-footer-right-half {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 0;
    padding-left: 40px;
  }
  .gbft-footer-navs { flex-direction: column !important; gap: 24px !important; display: flex; padding: 0; }
  .gbft-footer-nav { padding: 0 !important; border-top: none !important; flex: 1; }
  .gbft-footer-nav-title {
    font-size: 14px !important;
    margin-bottom: 16px !important;
    padding-bottom: 10px;
    display: inline-block;
    position: relative;
  }
  .gbft-footer-nav-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: var(--border);
    margin-top: 10px;
  }
  .gbft-footer-nav ul { gap: 12px !important; }
  .gbft-footer-nav ul li a { font-size: 13px !important; }
  .gbft-footer-company {
    padding: 0 0 0 24px !important;
    border-top: none !important;
    border-left: 1px solid var(--border);
    font-size: 13px !important;
    line-height: 1.9 !important;
  }
  .gbft-footer-company strong { font-size: 14px !important; display: block; margin-bottom: 4px; }
}

/* =====================================================
   固定フッター（スマホ：お届け予定日＋カートに入れる）
   ===================================================== */
.gbft-fixed-footer {
  display: none;
  position: fixed !important;
  bottom: var(--tab-h) !important;
  left: 0 !important; right: 0 !important; top: auto !important;
  width: 100% !important;
  transform: none !important;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -3px 10px rgba(0,0,0,.12);
  z-index: 9800 !important;
  padding: 8px 14px;
  box-sizing: border-box;
}
.gbft-fixed-delivery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  background: #f5f7fa;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 6px 12px;
  margin-bottom: 6px;
  text-align: center;
  white-space: nowrap;
}
.gbft-fixed-delivery-icon { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.gbft-fixed-cart-icon { width: 20px; height: 20px; object-fit: contain; filter: brightness(0) invert(1); flex-shrink: 0; }
.gbft-fixed-delivery-text { font-size: 13px; color: var(--text); }
.gbft-fixed-delivery-text strong { color: var(--red); font-weight: 900; }
.gbft-fixed-delivery strong,
.gbft-fixed-delivery span strong,
#gbftFixedDeliverySpan strong { color: var(--red) !important; font-weight: 900; }
.gbft-fixed-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  background: var(--orange);
  color: var(--white);
  font-size: 16px;
  font-weight: 900;
  border-radius: var(--radius);
  border: none;
  text-decoration: none !important;
  letter-spacing: .3px;
  cursor: pointer;
}
.gbft-fixed-cart-btn img { width: 20px; height: 20px; object-fit: contain; filter: brightness(0) invert(1); }

/* =====================================================
   固定タブバー（スマホ）
   ===================================================== */
.gbft-tab-bar {
  display: none;
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important; right: 0 !important; top: auto !important;
  width: 100% !important;
  transform: none !important;
  height: var(--tab-h);
  background: var(--white);
  border-top: 1px solid var(--border);
  z-index: 9900 !important;
  box-shadow: 0 -1px 4px rgba(0,0,0,.08);
}
.gbft-tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
  background: none;
  border: none;
  text-decoration: none !important;
  padding: 6px 0;
  position: relative;
}
.gbft-tab-item svg { width: 24px; height: 24px; }

/* =====================================================
   検索オーバーレイ
   ===================================================== */
.gbft-search-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.5);
  z-index: 1050;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}
.gbft-search-overlay.is-open { display: flex; }
.gbft-search-overlay-inner {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  border: 2px solid var(--blue);
  width: calc(100% - 32px);
  max-width: 400px;
  height: 48px;
}
.gbft-search-overlay-inner input {
  flex: 1; border: none; padding: 0 14px; font-size: 15px;
  outline: none; font-family: var(--font); height: 100%; line-height: 48px; margin: 0 !important;
}
.gbft-search-overlay-close {
  background: none; border: none; padding: 0 14px;
  font-size: 22px; color: var(--text-sm); cursor: pointer;
  height: 100%; display: flex; align-items: center;
}

/* =====================================================
   スマホ：固定フッター・タブバー表示
   =====================================================  */
@media screen and (max-width: 767px) {
  body { padding-bottom: calc(var(--tab-h) + var(--footer-h) + 16px); }
  .gbft-fixed-footer { display: block !important; }
  .gbft-tab-bar      { display: flex !important; }
}

/* =====================================================
   PC：固定フッター・タブバー非表示
   ===================================================== */
@media screen and (min-width: 768px) {
  .gbft-fixed-footer { display: none !important; }
  .gbft-tab-bar      { display: none !important; }
  div.gbft-tab-bar   { transform: none !important; }
  div.gbft-fixed-footer { transform: none !important; }
  body { padding-bottom: 0 !important; padding-top: 0 !important; }
}

/* =====================================================
   PC用スティッキーバー
   ===================================================== */
.gbft-sticky-bar { display: none; }

@media screen and (min-width: 768px) {
  .gbft-sticky-bar {
    display: block;
    position: sticky !important;
    top: 0 !important;
    z-index: 2000;
      background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,.12);
  }
}

  /* スティッキーバー内ティッカー */
  .gbft-sticky-ticker {
    background: var(--blue);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    padding: 7px 0;
    overflow: hidden;
    text-align: center;
  }
  .gbft-sticky-ticker .gbft-ticker-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 22px;
    position: relative;
    overflow: hidden;
  }
  .gbft-sticky-ticker .gbft-ticker-item {
    position: absolute; top: 0; left: 0;
    width: 100%; text-align: center;
    opacity: 0; transform: translateX(100vw);
    transition: transform .6s cubic-bezier(.25,.46,.45,.94), opacity .1s;
    white-space: nowrap; pointer-events: none; line-height: 22px;
  }
  .gbft-sticky-ticker .gbft-ticker-item.active { opacity: 1; transform: translateX(0); }
  .gbft-sticky-ticker .gbft-ticker-item.leave {
    opacity: 1; transform: translateX(-100vw);
    transition: transform .6s cubic-bezier(.55,.06,.68,.19), opacity .1s .5s;
  }

  /* 1段目：ロゴ＋検索＋アイコン */
  .gbft-sticky-row1 { background: var(--white); border-bottom: none; }
  .gbft-sticky-row1-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 8px 64px;
    display: flex; align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .gbft-sticky-logo img { height: 32px; width: auto; display: block; }
  .gbft-sticky-search { flex: 1; max-width: 480px; width: 100%; }
 .gbft-sticky-search .gbft-search-inner,
.gbft-sticky-search form.gbft-search-inner {
    height: 36px; border-radius: 6px;
    border: 1.5px solid #ccc; background: #f5f5f5;
    display: flex; align-items: center; overflow: hidden;
  }
.gbft-sticky-search .gbft-search-inner input,
.gbft-sticky-search form.gbft-search-inner input {
    flex: 1 !important;
    min-width: 0 !important;
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    outline: none !important;
  }
  .gbft-sticky-search .gbft-search-btn {
    padding: 0 12px; background: transparent; border: none;
    cursor: pointer; display: flex; align-items: center;
  }
  .gbft-sticky-search .gbft-search-btn svg { width: 16px; height: 16px; stroke: #aaa; }

  /* 1段目カートボタン */
  .gbft-sticky-cart-top {
    display: flex; align-items: center; gap: 8px;
    background: var(--orange); color: var(--white);
    padding: 8px 20px; border-radius: var(--radius);
    font-size: 14px; font-weight: 900;
    text-decoration: none !important; white-space: nowrap;
    flex-shrink: 0; transition: opacity .2s;
  }
  .gbft-sticky-cart-top:hover { opacity: .88; }

  /* 2段目：ナビ */
  .gbft-sticky-nav {
    background: #e4eef7;
    border-top: none;
    border-bottom: 2px solid var(--blue);
  }
  .gbft-sticky-nav-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 0 64px;
    display: flex; align-items: stretch;
  }
  .gbft-sticky-nav .gbft-pc-nav-item img {
    filter: brightness(0) saturate(100%) invert(21%) sepia(97%) saturate(600%) hue-rotate(186deg) brightness(92%) contrast(101%) !important;
  }

  /* 3段目：商品情報（商品詳細ページのみ表示） */
  .gbft-sticky-bar-inner {
    max-height: 0; overflow: hidden; opacity: 0;
    padding-top: 0 !important; padding-bottom: 0 !important;
    transition: max-height .35s cubic-bezier(.25,.46,.45,.94), opacity .35s ease, padding .35s ease;
    max-width: 1200px; margin: 0 auto;
    padding: 10px 64px;
    display: flex; align-items: center; gap: 16px;
    /* border-topは is-visible 時のみ表示（水色ナビ下に余計な線が出ないよう） */
    border-top: none;
    background: var(--white);
    box-sizing: border-box;
  }
  .gbft-sticky-bar.is-visible .gbft-sticky-bar-inner {
    max-height: 80px; opacity: 1;
    padding-top: 10px !important; padding-bottom: 10px !important;
  }
  .gbft-sticky-bar.is-visible .gbft-sticky-cart-top { display: none !important; }

  .gbft-sticky-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; flex-shrink: 0; border: 1px solid var(--border); }
  .gbft-sticky-info  { flex: 1; min-width: 0; }
  .gbft-sticky-title { font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
  .gbft-sticky-price-num  { color: var(--red); font-weight: 900; font-size: 16px; }
  .gbft-sticky-price-tax  { color: var(--text); font-size: 13px; font-weight: 400; margin-left: 4px; }
  .gbft-sticky-price-free { color: var(--red); font-size: 13px; font-weight: 700; margin-left: 8px; }
  .gbft-sticky-delivery { font-size: 13px; color: var(--text); white-space: nowrap; flex-shrink: 0; font-weight: 500; }
  .gbft-sticky-delivery strong { color: var(--red); font-weight: 700; }
  .gbft-sticky-delivery span  { color: var(--red); font-weight: 700; }
  .gbft-sticky-cart-btn {
    display: flex; align-items: center; gap: 8px;
    background: var(--orange); color: var(--white);
    padding: 10px 24px; border-radius: var(--radius);
    font-size: 15px; font-weight: 900;
    text-decoration: none !important; white-space: nowrap;
    flex-shrink: 0; transition: opacity .2s;
  }
  .gbft-sticky-cart-btn:hover { opacity: .88; }
}

/* =====================================================
   PC：全体レイアウト共通
   ===================================================== */
@media screen and (min-width: 768px) {
  body { background: var(--white); }

  /* wrapper・main：Makeshopの.wrapperクラスの干渉を!importantで確実に制圧 */
  .wrapper.gbft-wrapper,
  .gbft-wrapper {
    position: relative;
    z-index: 0;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    left: auto !important;
    right: auto !important;
    box-sizing: border-box !important;
    background: var(--white) !important;
  }
  .gbft-main,
  main.gbft-main {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    background: var(--white) !important;
    left: auto !important;
    right: auto !important;
    float: none !important;
  }

  /* PC：divider非表示・セクションタイトルの上グレー帯を白に */
  .gbft-divider { display: none !important; }
  .gbft-section-title { border-top-color: var(--white) !important; }

  /* 商品エリア全体を白背景に */
  .gbft-product-layout,
  .gbft-gallery,
  .gbft-product-right,
  .gbft-desc-section { background: var(--white) !important; }

  /* 商品説明・白枠セクション */
  .gbft-white-section {
    width: 100%;
    max-width: 1200px;
    margin-left: auto; margin-right: auto;
    margin-bottom: 24px;
    box-sizing: border-box;
  }
  /* レビューセクション */


  .gbft-section-title--star {
    width: 100%;
    max-width: 1200px;
 margin-left: auto ;
    margin-right: auto ;
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* =====================================================
   各種補足スタイル
   ===================================================== */

/* ラッパー（スマホ時） */
.gbft-wrapper { position: relative; z-index: 0; }

/* 白枠セクション */
.gbft-white-section {
  background: var(--white);
  border: none;
  border-radius: 0;

  overflow: hidden;
}
.gbft-white-section .gbft-section-title { border-top: none; }
.gbft-section-title--star { display: flex; align-items: center; gap: 8px; }

/* 特徴ボックス */
.gbft-feature-box {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-top: 12px;
}
.gbft-feature-box ul { display: flex; flex-direction: column; gap: 6px; list-style: none; }
.gbft-feature-box ul li { font-size: 13px; font-weight: 700; padding-left: 18px; position: relative; }
.gbft-feature-box ul li::before { content: '・'; position: absolute; left: 0; color: var(--blue); }

/* 送料無料テキスト */
.gbft-free-ship { font-size: 16px !important; font-weight: 700; color: var(--red); }

/* お気に入りボタン：押すと青くなる */
.gbft-btn-fav.is-faved { background: var(--blue) !important; color: var(--white) !important; border-color: var(--blue) !important; }
.gbft-btn-fav.is-faved svg { stroke: var(--white); fill: var(--white); }

/* Makeshopオプション選択モーダル：デフォルト非表示（JSがfadeInで開く） */
.ms-cs-modal-content { display: none; }
.ms-cs-modal-overlay { display: none; }

/* モーダル（画像拡大） */
.gbft-modal { display: none !important; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.88); display: flex; align-items: center; justify-content: center; padding: 60px 20px 20px; }
.gbft-modal.is-open { display: flex !important; }
.gbft-modal-img { max-width: 92%; max-height: 80vh; display: block; margin: 0 auto; }
.gbft-modal-prev,
.gbft-modal-next {
  position: fixed;
  bottom: 24px;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.6);
  color: var(--white);
  font-size: 20px;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s;
  z-index: 10000;
}
.gbft-modal-prev { left: calc(50% - 60px); }
.gbft-modal-next { right: calc(50% - 60px); }
.gbft-modal-prev:hover,
.gbft-modal-next:hover { background: rgba(255,255,255,.35); }
/* 閉じるボタンはモーダルが非表示の間は絶対に見えないよう display:none */
.gbft-modal-close { display: none; position: absolute; top: 18px; right: 28px; color: var(--white); font-size: 38px; cursor: pointer; background: none; border: none; line-height: 1; }
.gbft-modal.is-open .gbft-modal-close { display: block; }

/* 追加画像：PC中央寄せ */
.multi-image-section { text-align: center; }
.sp-img-size { display: block; text-align: center; }
.sp-img-size img { max-width: 100%; height: auto; display: block; margin: 0 auto 16px; }
@media screen and (min-width: 768px) {
  .sp-img-size img { max-width: 800px; margin: 0 auto 24px; }
}

/* =====================================================
   PCカテゴリードロップダウン
   ★ 全ページ共通CSS欄の末尾に追記してください
   ===================================================== */
@media screen and (min-width: 768px) {


.gbft-sticky-bar {
  position: sticky !important;
}
.gbft-header-pc-nav {
  position: relative;
}

  /* カテゴリーボタン */
  .gbft-cat-nav-btn {
    display: flex;
    align-items: center !important;
    gap: 5px;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text);
    background: none;
    border: none;
    border-right: 1px solid var(--border);
    border-left: 1px solid var(--border);
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s, color .15s;
    font-family: var(--font);
    height: 100%;
    line-height: 1;
    line-height: normal;
  }
  .gbft-cat-nav-btn:hover,
  .gbft-cat-nav-btn.is-open {
    background: rgba(255,255,255,.6);
    color: var(--blue);
  }
  .gbft-cat-nav-btn svg { flex-shrink: 0; stroke: #aaa; }
  .gbft-cat-nav-btn.is-open svg { stroke: var(--blue); }
  
  .gbft-cat-nav-btn.is-open .gbft-cat-nav-arrow {
    transform: rotate(180deg);
  }
    
    .gbft-cat-nav-arrow {
  transition: transform .2s;
  display: inline-block;
  flex-shrink: 0;
}
.gbft-cat-nav-btn.is-open .gbft-cat-nav-arrow {
  transform: rotate(180deg);
}

  /* スティッキーバー内はborder-leftなし（左端のアイテムなので） */
  .gbft-sticky-nav .gbft-cat-nav-btn {
    border-left: none;
  }

  /* ドロップダウンパネル */
 .gbft-cat-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--white);
  border-top: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
  z-index: 3000;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
  .gbft-cat-dropdown.is-open {
    display: block;
  }
  .gbft-cat-dropdown-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 64px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 32px;
  }

  /* 各カテゴリー列 */
  .gbft-cat-dd-item {
    border-bottom: 1px solid var(--border);
    padding: 10px 0 8px;
  }
  .gbft-cat-dd-item:last-child {
    border-bottom: none;
  }

  /* 親カテゴリーリンク */
  .gbft-cat-dd-parent {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none !important;
    padding-bottom: 4px;
  }
  .gbft-cat-dd-parent:hover { color: var(--blue); opacity: 1; }
  .gbft-cat-dd-parent img {
    width: 22px; height: 22px;
    object-fit: contain;
    flex-shrink: 0;
  }

  /* 子カテゴリーリスト */
  .gbft-cat-dd-children {
    display: flex;
    flex-direction: column;
    padding-left: 29px;
  }
  .gbft-cat-dd-children a {
    font-size: 12px;
    color: var(--text-sm);
    text-decoration: none !important;
    padding: 2px 0;
    display: block;
    line-height: 1.6;
  }
  .gbft-cat-dd-children a:hover { color: var(--blue); opacity: 1; }
}
/* =====================================================
   スマホ カテゴリーモーダル
   ===================================================== */

@media screen and (min-width: 768px) {
  .gbft-cat-modal { display: none !important; }
}

.gbft-cat-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: var(--white);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.gbft-cat-modal.is-open { display: block; }

.gbft-cat-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 2px solid var(--blue);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 10;
}
.gbft-cat-modal-title { font-size: 16px; font-weight: 700; color: var(--text); }
.gbft-cat-modal-close {
  background: none; border: none; cursor: pointer;
  padding: 4px; display: flex; align-items: center; justify-content: center;
  color: var(--text-sm); font-size: 22px; line-height: 1;
}

.gbft-cat-modal-body { padding: 16px 14px 180px; }

.gbft-cat-modal-group { margin-bottom: 20px; }
.gbft-cat-modal-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.gbft-cat-modal-group-title img {
  width: 28px; height: 28px;
  object-fit: contain; flex-shrink: 0;
}

.gbft-cat-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.gbft-cat-modal-item {
  display: flex;
  padding: 12px 9px;
  text-decoration: none !important;
  color: var(--text);
  font-size: 12px;
  text-align: center;
  line-height: 1.4;
  border-bottom: 1px solid var(--border);
    margin-right: 10px;
}
.gbft-cat-modal-item:hover {
  background: var(--bg);
  opacity: 1;
}
