/* ============================================================
   NAYUKISHOP v1 — Complete CSS
   (nashop_v2 base + v1 overrides unified)
   official.nayukitecture-shop.com
   v1.1 — 2026-03-26
   ============================================================ */

/* --- Color Palette ----------------------------------------- */
:root {
  --c1: #242d3f;   /* ウィッチクラフト  — テキスト・見出し */
  --c2: #3e868d;   /* エリクサグリーン  — ロゴ N */
  --c3: #94aa71;   /* 深緑             — ロゴ K・NEWバッジ */
  --c4: #459c7a;   /* 深青緑           — ロゴ Y */
  --c5: #895899;   /* 紫               — ロゴ SHOP */
  --c6:  #4b6a47;   /* フォレストグリーン — アクセント・CTA・ホバー */
  --c7:  #eb9a23;   /* オレンジ          — goodイメージカラー */
  --c51: #e11400;   /* レッド            — SOLD OUT文字 */

  --bg:     #ffffff;   /* 白背景（変更なし） */
  --bg-sub: #c9cfb3;   /* セクション背景（旧ベージュ → 新緑系） */
  --bg-sub-light: #dde1ca;   /* bg-subより薄い緑 — 商品サムネイル余白 */
  --bg-gray-light: #efefee;   /* ［仮］薄いグレー（商品詳細画像余白テスト用） */
  --border: #b8c4a0;   /* ボーダー・区切り線 */
  --text:   #242d3f;   /* = c1 */
  --muted:  #7a8a6a;   /* 補助テキスト */
  --header-h:  90px;
  --sidebar-w: 300px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  /* ロゴの font-weight / letter-spacing — 該当クラスを常に統一するため
     ここだけを変更すること。各クラスに直接 font-weight / letter-spacing を書かないこと。 */
  --logo-weight:  400;
  --logo-spacing: 0;
}

/* --- Font Loading ------------------------------------------ */
.wf-loading body { visibility: hidden; }

/* --- Reset -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html   { scroll-behavior: smooth; font-size: 16px; overflow-y: scroll; }
body   {
  font-family: 'futura-pt', 'zen-kaku-gothic-new', sans-serif;
  background: var(--bg); color: var(--text);
  line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
a      { text-decoration: none; color: inherit; }
a:hover, a:active { text-decoration: none; }
img    { max-width: 100%; display: block; border: none; }
ul, ol { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; }
h1, h2, h3, h4, h5, h6 { font-weight: normal; }
.clearfix::after { content: ""; display: table; clear: both; }
.show { display: block !important; }
.hide { display: none !important; }

/* --- BASE System Elements ----------------------------------- */
#i18 {
  z-index: 2005; left: 10px; position: fixed;
  top: calc(var(--information-banner-height, 0px) + 10px);
}
#i18 select {
  -webkit-appearance: none; appearance: none;
  background-color: #fff; border: 1px solid #ccc; border-radius: 2px;
  color: #000; cursor: pointer; font-size: 11px; padding: 5px 25px 5px 10px;
}
#baseMenu { display: none !important; }
.cart { position: relative; }
.cart-badge { display: block !important; }
.cart-qty {
  position: absolute; top: -4px; right: -6px;
  min-width: 14px; height: 14px;
  background: var(--c6); color: #fff; border-radius: 50%;
  font-size: 8px; line-height: 14px; text-align: center; padding: 0 2px;
}
.overlayBackground {
  background-color: rgba(0,0,0,0.5); display: none;
  position: fixed; inset: 0; z-index: 9999; cursor: pointer;
}
#informationBanner { width: 100%; }

/* ============================================================
   HEADER — v1 custom (transparent, 90px, logo left / nav center)
   ============================================================ */
#siteHeader {
  position: fixed; inset: 0 0 auto 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: none;
  overflow: visible;
  display: flex; align-items: center;
  justify-content: flex-end;
  padding-right: 80px;
  height: var(--header-h);
  z-index: 200;
  top: var(--information-banner-height, 0px);
}

/* Logo: absolutely anchored left */
#siteLogo {
  position: absolute;
  top: 50%;
  left: 80px;
  transform: translateY(-50%);
  padding: 0;
  z-index: 1;
}
#siteLogo a {
  font-family: 'futura-pt', sans-serif;
  font-size: clamp(0.82rem, 2.5vw, 1.0rem);
  font-weight: var(--logo-weight);
  letter-spacing: var(--logo-spacing);
  color: var(--text);
  display: block;
  line-height: 1;
  transition: font-size 0.8s ease;
}
#siteLogo.grown a { font-size: clamp(1.2rem, 5vw, 2.7rem); }

/* Nav: absolute center */
#siteNav {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 36px; white-space: nowrap;
}
.site-nav-link {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em;
  color: var(--text); text-transform: uppercase; transition: color 0.2s;
  position: relative;
}
.site-nav-link.nav-brand {
  font-weight: var(--logo-weight); letter-spacing: var(--logo-spacing);
  font-size: clamp(0.82rem, 2.5vw, 1.0rem);
}
.site-nav-link::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--c6);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.site-nav-link:hover { color: var(--c6); }
.site-nav-link:hover::after { transform: scaleX(1); }

/* Header right group */
.header-right { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.header-cart {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex-shrink: 0;
  color: var(--text); transition: color 0.2s;
}
.header-cart:hover { color: var(--c6); }
.header-hamburger {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  color: var(--text); transition: color 0.2s; padding: 0;
}
.header-hamburger:hover { color: var(--c6); }

/* Mobile nav — fullscreen slide-in */
#mobileNav {
  position: fixed; inset: 0; z-index: 198;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 36px;
  padding-top: var(--header-h);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  overflow-y: auto;
}
#mobileNav.open { transform: translateX(0); }
.mobile-nav-link {
  font-family: 'futura-pt', sans-serif;
  font-size: 1rem; font-weight: 500; letter-spacing: 0.1em;
  color: var(--text); text-transform: uppercase;
  transition: color 0.2s;
  border: none;
}
.mobile-nav-link.mobile-nav-last { font-weight: 700; letter-spacing: 0.14em; }
.mobile-nav-link:hover { color: var(--c6); }

/* Logo letter colors */
.logo-k1 { color: var(--c2); }
.logo-k2 { color: var(--c4); }
.logo-k3 { color: var(--c3); }
.logo-shop { color: var(--c5); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  margin-top: 0;
  position: relative; overflow: hidden;
  background: var(--bg);
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.9s ease;
}
.hero-slide:first-child,
.hero-slide.active { opacity: 1; position: relative; }
.hero-slide img {
  width: 100%; height: 90vh; object-fit: cover; display: block;
}
.hero-slide--placeholder {
  height: 90vh; display: flex; align-items: center; justify-content: center;
  background: var(--bg);
}
.hero-placeholder { display: flex; flex-direction: column; align-items: center; }
.hero-brand {
  font-family: 'futura-pt', sans-serif; font-size: clamp(2rem, 6vw, 5rem);
  font-weight: var(--logo-weight); letter-spacing: var(--logo-spacing); color: var(--text);
  display: inline-block; animation: brandBounce 8s 2.49s infinite;
}
.hero-tagline {
  font-size: 0.65rem; font-weight: var(--logo-weight); letter-spacing: var(--logo-spacing);
  color: var(--text); margin-top: -1.4em; margin-bottom: 8px;
  display: inline-block; white-space: nowrap;
  animation: subSink 8s 3.29s infinite;
}
.hero-divider { margin: 0 0.5em; opacity: 0.4; }

/* Slider dots */
.hero-dots {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
}
.hero-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.8);
  cursor: pointer; transition: background 0.2s;
}
.hero-dot.active { background: #fff; }

/* Wave + bounce animation */
.wl {
  display: inline-block;
  animation: letterWave 8s calc(var(--i, 0) * 0.15s) infinite;
}
@keyframes letterWave {
  0%, 12%, 100% { transform: translateY(0); }
  4%  { transform: translateY(-14px); }
  8%  { transform: translateY(2px); }
}
@keyframes brandBounce {
  0%        { transform: translateY(0); }
  3%        { transform: translateY(6px); }
  8%        { transform: translateY(-15px); }
  13%, 100% { transform: translateY(0); }
}
@keyframes subSink {
  0%        { transform: translateY(0); }
  3%        { transform: translateY(5px); }
  8%, 100%  { transform: translateY(0); }
}

/* ============================================================
   LAYOUT
   ============================================================ */
.site-body { min-height: 100vh; }

/* ============================================================
   SECTION COMPONENTS
   ============================================================ */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 60px; }

.section-label {
  font-size: 0.60rem; font-weight: 700; letter-spacing: 0.28em;
  color: var(--c6); display: block; margin-bottom: 12px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
  font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; color: var(--text);
}

/* About teaser (index page) */
.section-about {
  padding: 80px 0;
  max-width: 100%; background: var(--bg-sub);
}
.section-about .section-inner { text-align: center; }
.section-about .section-title { margin-bottom: 20px; }
.section-about .section-desc {
  font-size: 0.88rem; line-height: 1.9; color: var(--muted); margin-bottom: 32px;
}

/* Button */
.btn-outline {
  display: inline-block;
  font-family: 'futura-pt', sans-serif; font-size: 0.70rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 11px 36px;
  border: 1px solid var(--c1); color: var(--text);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn-outline:hover {
  background: var(--c6); color: #fff; border-color: var(--c6);
}

/* ============================================================
   PRODUCT SECTION & GRID
   ============================================================ */
.product-section {
  padding: 60px 0 100px;
  background: var(--bg-sub);
}
#products { scroll-margin-top: calc(var(--header-h) + 20px); }

.product-section-head {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
}
.product-section-head .section-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--text);
  margin-bottom: 0;
}
.product-section-head .section-label::before { display: none; }

/* Product category tabs */
.product-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 12px;
}
.product-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--muted);
  cursor: pointer;
  font-family: 'futura-pt', sans-serif;
  transition: color 0.2s, border-color 0.2s;
}
.product-tab-sep {
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0;
  color: var(--muted);
  font-family: 'futura-pt', sans-serif;
  user-select: none;
  pointer-events: none;
}
.product-tab:hover { color: var(--text); }
.product-tab.active { color: var(--text); border-bottom-color: var(--c6); }

#mainContent,
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 350px));
  justify-content: center;
  gap: 56px 24px;
  width: 100%;
}
.product-section .section-inner { max-width: 1300px; }

.product-card { cursor: pointer; }
.product-link { display: block; color: var(--text); }
.product-thumb {
  position: relative; overflow: hidden;
  background: var(--bg-sub-light); aspect-ratio: 1 / 1;
}
.product-thumb img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-thumb img { transform: scale(1.04); }

.soldout-cover {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(239,233,212,0.55);
}
.soldout-cover span {
  font-family: 'futura-pt', sans-serif; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.22em; color: var(--c51);
}
@media (min-width: 769px) {
  .soldout-cover span { font-size: 0.80rem; }
}

.product-info { padding: 14px 0 0; }
.product-title {
  font-size: 0.90rem; font-weight: 500;
  color: #000; margin-bottom: 6px;
  letter-spacing: 0.04em; line-height: 1.5;
}
.product-price {
  font-family: 'futura-pt', sans-serif; font-size: 0.80rem; font-weight: 500;
  letter-spacing: 0.06em; color: #000;
}
.product-discount {
  display: flex; align-items: center; gap: 6px; margin-top: 4px;
}
.product-discount-rate {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.06em;
  color: #c0392b; border: 1px solid #c0392b; padding: 1px 4px;
}
.product-discount-price {
  font-size: 0.75rem; color: #c0392b; font-weight: 500;
}
.product-status {
  font-size: 0.68rem; letter-spacing: 0.08em; color: var(--c6);
  display: block; margin-top: 4px;
}
.product-badge {
  display: inline-block; font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.06em; padding: 2px 6px; margin-top: 4px;
  border: 1px solid var(--c1); color: var(--c1);
}

/* Item label */
.appsItemLabel { position: absolute; top: 10px; left: 10px; z-index: 1; }
.appsItemLabel span {
  display: block; font-size: 0.55rem; font-weight: 700;
  letter-spacing: 0.08em; padding: 3px 7px;
  background: var(--c3); color: var(--c1);
}

/* Category / search header */
.list-head {
  padding: 40px 40px 20px; border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.list-head-title {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em;
  color: var(--c6); text-transform: uppercase;
}
.child-category-list {
  display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap;
}
.child-category-link {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em;
  padding: 4px 14px; border: 1px solid var(--border); color: var(--text);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.child-category-link:hover {
  background: var(--c6); color: #fff; border-color: var(--c6);
}

/* Pinned blog */
.pinned-blog {
  padding: 16px 40px;
  background: var(--bg-sub); border-bottom: 1px solid var(--border);
}
.pinned-blog a {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; color: var(--c6);
}

/* Empty state */
.empty-state {
  padding: 80px 40px; text-align: center;
  font-size: 0.85rem; color: var(--muted); letter-spacing: 0.08em;
}

/* Pagination */
.pagination {
  padding: 60px 40px;
  display: flex; align-items: center; justify-content: center; gap: 4px;
}
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  font-family: 'futura-pt', sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; border: 1px solid var(--border); color: var(--text);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pagination a:hover { background: var(--c6); color: #fff; border-color: var(--c6); }
.pagination span.current { background: var(--c6); color: #fff; border-color: var(--c6); }
.pagination a.prev, .pagination a.next {
  width: auto; padding: 0 14px; letter-spacing: 0.1em;
}

/* ============================================================
   ITEM DETAIL PAGE
   ============================================================ */
.item-wrap {
  padding-top: calc(var(--header-h) + var(--information-banner-height, 0px));
}
.item-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; max-width: 1200px; margin: 0 auto;
}

/* Gallery */
.item-gallery {
  padding: 40px 40px 40px 40px;
  max-width: 88%;
  flex-shrink: 0;
}
.item-gallery-main {
  overflow: hidden; background: var(--bg-gray-light); aspect-ratio: 1/1; position: relative;
}
.item-gallery-main img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  transition: transform 0.6s var(--ease);
}
.item-gallery-main:hover img { transform: scale(1.02); }
#mainItemImg.lightbox-trigger { cursor: zoom-in; }
.item-gallery-thumbs {
  display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; width: 100%;
}
.item-gallery-thumbs li { width: calc((100% - 40px) / 6); cursor: pointer; }
.item-gallery-thumbs li img {
  width: 100%; aspect-ratio: 1/1; height: auto; object-fit: cover; background: var(--bg);
  border: 1px solid transparent; transition: border-color 0.2s;
}
.item-gallery-thumbs li.active img,
.item-gallery-thumbs li:hover img { border-color: var(--c6); }

/* Gallery nav arrows */
.gallery-nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.55); border: none; color: #fff;
  font-size: 2.4rem; cursor: pointer;
  opacity: 0; transition: opacity 0.2s, background 0.2s;
  line-height: 1; padding: 6px 14px;
  display: flex; align-items: center; z-index: 2;
}
.gallery-prev-btn { left: 0; }
.gallery-next-btn { right: 0; }
.item-gallery-main:hover .gallery-nav-btn { opacity: 1; }
.gallery-nav-btn:hover { background: rgba(0,0,0,0.80); }

/* Gallery counter */
.gallery-counter {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,0.55); color: #fff;
  font-size: 0.86rem; letter-spacing: 0.08em;
  padding: 3px 10px; z-index: 2; white-space: nowrap;
  font-family: 'futura-pt', sans-serif;
  opacity: 0; transition: opacity 0.2s;
}
.item-gallery-main:hover .gallery-counter { opacity: 1; }

/* Gallery spinner */
.gallery-spinner {
  display: none;
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--bg);
  z-index: 10;
  align-items: center; justify-content: center;
}
.gallery-spinner.active { display: flex; }
.gallery-spinner::after {
  content: '';
  width: 40px; height: 40px;
  border: 3px solid rgba(0,0,0,0.08);
  border-top-color: var(--c6);
  border-radius: 50%;
  animation: spinner-spin 0.7s linear infinite;
}

/* Lightbox spinner */
.lb-spinner {
  display: none;
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
}
.lb-spinner.active { display: flex; }
.lb-spinner::after {
  content: '';
  width: 40px; height: 40px;
  border: 3px solid rgba(255,255,255,0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spinner-spin 0.7s linear infinite;
}

@keyframes spinner-spin {
  to { transform: rotate(360deg); }
}

/* Lightbox counter */
.lb-counter {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,0.15); color: #fff;
  font-size: 0.75rem; letter-spacing: 0.1em;
  padding: 4px 12px; white-space: nowrap;
  font-family: 'futura-pt', sans-serif;
}

/* Info */
.item-info {
  padding: 40px 60px 40px 20px;
  position: sticky; top: calc(var(--header-h) + var(--information-banner-height, 0px));
  align-self: start;
}
.item-brand-tag {
  font-size: 0.60rem; font-weight: 700; letter-spacing: 0.25em;
  color: var(--c6); display: block; margin-bottom: 12px; text-transform: uppercase;
}
.item-title {
  font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 700;
  letter-spacing: -0.01em; line-height: 1.35; color: var(--text); margin-bottom: 20px;
}
.item-price-wrap {
  margin-bottom: 12px; font-family: 'futura-pt', sans-serif;
}
.item-price-main {
  font-size: 1.1rem; font-weight: 400; letter-spacing: 0.04em; color: var(--text);
}
.item-price-tax { font-size: 0.68rem; color: var(--muted); margin-left: 4px; }
.item-price-proper { text-decoration: line-through; color: var(--muted); }
.item-price-discount { color: #c0392b; }
.item-discount-rate {
  display: inline-block; font-size: 0.60rem; font-weight: 700;
  border: 1px solid #c0392b; color: #c0392b; padding: 1px 5px; margin-right: 6px;
}
.item-attention { margin: 16px 0; font-size: 0.80rem; color: var(--muted); line-height: 1.7; }

/* Purchase */
.item-purchase { margin-top: 20px; }
.item-purchase select {
  width: 100%; padding: 12px 36px 12px 14px;
  border: 1px solid var(--border); background: var(--bg);
  font-family: inherit; font-size: 0.85rem; color: var(--text);
  margin-bottom: 12px; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23899BAC' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  transition: border-color 0.2s;
}
.item-purchase select:focus { border-color: var(--c6); outline: none; }
.item-purchase input[type="number"] {
  width: 80px; padding: 12px 12px; border: 1px solid var(--border);
  font-family: inherit; font-size: 0.85rem; color: var(--text);
  margin-bottom: 12px; text-align: center;
}

/* Purchase button — match homepage .hero-cta */
.purchase-button,
#BuyButton,
.item-purchase input[type="submit"],
.item-purchase button[type="submit"],
.item-purchase a.purchase-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  padding: 14px 30px !important;
  background: var(--c5) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  transition: background 0.25s ease !important;
  width: 100% !important;
}
.purchase-button:hover,
#BuyButton:hover,
.item-purchase input[type="submit"]:hover,
.item-purchase button[type="submit"]:hover,
.item-purchase a.purchase-button:hover {
  background: var(--text) !important;
  color: #fff !important;
}

/* 再入荷通知ボタン */
.purchaseButton__btn--requestRestockMail {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  padding: 14px 30px !important;
  background: var(--muted) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  transition: background 0.25s ease !important;
  width: 100% !important;
  cursor: pointer !important;
  text-decoration: none !important;
}
.purchaseButton__btn--requestRestockMail:hover {
  background: var(--text) !important;
  color: #fff !important;
}

.item-soldout {
  font-size: 0.80rem; color: var(--muted); letter-spacing: 0.1em;
  display: block; margin-bottom: 16px;
}
.item-coming-soon { color: var(--c2); font-size: 0.85rem; margin-bottom: 16px; }
.item-label-badge {
  display: inline-block; border: 1px solid var(--c1); color: var(--c1);
  font-size: 0.60rem; font-weight: 700; padding: 2px 8px;
  margin-bottom: 12px; letter-spacing: 0.08em;
}

/* Description */
.item-divider {
  border: none; border-top: 1px solid var(--border); margin: 28px 0;
}
.item-desc {
  font-size: 0.88rem; line-height: 2.0; color: var(--text);
}
.item-share { margin-top: 28px; display: flex; align-items: center; gap: 12px; }
#reportBtn { margin-top: 16px; font-size: 0.70rem; color: var(--muted); }

/* ============================================================
   REVIEW SECTION
   ============================================================ */
.item-review {
  padding: 60px 20px 64px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.item-review-label {
  display: block; text-align: center;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.35em;
  color: var(--text); margin-bottom: 32px;
}
.item-review-body {
  max-width: 720px; margin: 0 auto;
  font-size: 0.88rem; color: var(--text); line-height: 1.9;
}
.review-empty {
  text-align: center; color: var(--muted);
  font-size: 0.82rem; letter-spacing: 0.05em; padding: 16px 0;
}
/* BASEレビューApp — カスタムSVGアイコン（塗りつぶし・白パーツ） */
.review01 .ico--good {
  filter: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23eb9a23'/%3E%3Ccircle cx='9' cy='9.5' r='1.2' fill='white'/%3E%3Ccircle cx='15' cy='9.5' r='1.2' fill='white'/%3E%3Cpath d='M8 13.5 Q12 17 16 13.5' stroke='white' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") !important;
}
.review01 .ico--normal {
  filter: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%237a8a6a'/%3E%3Ccircle cx='9' cy='9.5' r='1.2' fill='white'/%3E%3Ccircle cx='15' cy='9.5' r='1.2' fill='white'/%3E%3Cline x1='8.5' y1='14.5' x2='15.5' y2='14.5' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") !important;
}
.review01 .ico--bad {
  filter: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%233e868d'/%3E%3Ccircle cx='9' cy='9.5' r='1.2' fill='white'/%3E%3Ccircle cx='15' cy='9.5' r='1.2' fill='white'/%3E%3Cpath d='M8 16.5 Q12 13 16 16.5' stroke='white' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") !important;
}

/* BASEレビューApp — タイトル非表示 */
.review01__title { display: none !important; }

/* BASEレビューApp — フォント統一 */
.review01__title,
.x_reviewLabel,
.item-review-body {
  font-family: 'futura-pt', 'zen-kaku-gothic-new', sans-serif !important;
}

/* BASEレビューApp — タブ均等配置（▽含む） */
.review01__tabWrap {
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
}
.review01__tab {
  display: flex !important;
  justify-content: space-evenly !important;
  flex: 1 !important;
}
.review01__trigger {
  flex-shrink: 0 !important;
  margin-left: 8px !important;
}

/* BASEレビューApp — タブ選択時のアンダーライン */
.review01__radio:checked + .x_reviewLabel {
  border-bottom: 2px solid var(--c6) !important;
}

/* BASEレビューApp内部の要素をテーマに合わせる */
.item-review-body a { color: var(--c2); }
.item-review-body a:hover { color: var(--c4); }
.item-review-body button,
.item-review-body input[type="submit"] {
  background: var(--c6); color: #fff;
  border: none; border-radius: 2px;
  padding: 10px 28px; font-size: 0.8rem; letter-spacing: 0.1em;
  cursor: pointer; transition: background 0.2s var(--ease);
}
.item-review-body button:hover,
.item-review-body input[type="submit"]:hover {
  background: var(--c4);
}
@media (max-width: 640px) {
  .item-review { padding: 40px 16px 48px; }
}

/* ============================================================
   RELATED ITEMS
   ============================================================ */
.item-related { padding: 60px 0; background: var(--bg-sub); }
.item-related-label,
.item-related-grid { opacity: 0; transition: opacity 0.6s ease; }
.item-related.visible .item-related-label,
.item-related.visible .item-related-grid { opacity: 1; }
.item-related-label {
  display: block; text-align: center;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.35em;
  color: var(--text); margin-bottom: 32px;
}
.item-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 180px));
  justify-content: center;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 60px;
}
.item-related .product-card {
  display: flex !important;
  flex-direction: column !important;
}
.item-related .product-link {
  display: flex !important;
  flex-direction: column !important;
}
.item-related .product-thumb {
  position: relative !important;
  width: 100% !important;
  padding-bottom: 100% !important;
  height: 0 !important;
  overflow: hidden !important;
  background: #fff !important;
  flex-shrink: 0 !important;
}
.item-related .product-info {
  padding: 8px 4px 4px !important;
  flex-shrink: 0 !important;
  overflow: visible !important;
}
.item-related .product-thumb img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-wrap {
  padding-top: calc(var(--header-h) + var(--information-banner-height, 0px));
  padding-bottom: 80px;
  max-width: 900px; margin: 0 auto; padding-left: 60px; padding-right: 60px;
  text-align: center;
}
.about-label {
  font-size: 0.60rem; font-weight: 700; letter-spacing: 0.28em;
  color: var(--c6); display: block; margin-bottom: 12px; padding-top: 48px;
}
.about-title {
  font-size: clamp(1.3rem, 2.5vw, 2rem); font-weight: 700;
  letter-spacing: -0.01em; line-height: 1.3; color: var(--text); margin-bottom: 36px;
}
.about-body { font-size: 0.92rem; line-height: 2.0; color: var(--text); margin-bottom: 48px; }
.about-body p { margin-bottom: 1.4em; }
.about-body a:not(.about-flea-btn) { color: var(--c6); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.about-body a:not(.about-flea-btn):hover { color: var(--c1); }
.about-catchcopy { font-size: 1.84rem; font-weight: 700; }
.about-flea-btns { display: flex; gap: 12px; justify-content: center; margin-top: 8px; }
.about-flea-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 30px; width: 176px; text-align: center; white-space: nowrap;
  background: var(--c5); color: #fff; border: none; border-radius: 0;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em;
  text-decoration: none; transition: background 0.25s ease;
}
.about-flea-btn:hover { background: var(--text); color: #fff; }
.pc-only { display: inline; }
.sp-only { display: none; }
.sp-640 { display: none; }
.about-img img { width: 100%; height: auto; margin: 40px 0; }
.about-sns { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 40px; }
.about-sns a {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
  color: var(--muted); transition: color 0.2s; text-transform: uppercase;
}
.about-sns a:hover { color: var(--c6); }

/* ============================================================
   CONTACT / PRIVACY / LAW
   ============================================================ */
.main { background: var(--bg); }
.inquirySection {
  padding-top: calc(var(--header-h) + var(--information-banner-height, 0px));
  padding-bottom: 80px;
  max-width: 900px; margin: 0 auto; padding-left: 60px; padding-right: 60px;
  text-align: center;
}
.inquirySection h1 {
  font-family: 'futura-pt', sans-serif;
  font-size: 0.60rem; font-weight: 700; letter-spacing: 0.28em;
  color: var(--c6); text-transform: uppercase;
  display: block; margin-bottom: 12px; padding-top: 48px;
}
.inquirySection > p {
  font-size: 0.92rem; line-height: 2.0; color: var(--text); margin-bottom: 48px;
}
.inquirySection form { text-align: left; max-width: 560px; margin: 0 auto; }
.inquirySection dl { margin: 0; padding: 0; }
.inquirySection dt {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--text); margin-bottom: 6px; margin-top: 20px;
}
.inquirySection dl dt:first-of-type { margin-top: 0; }
.inquirySection dt span {
  font-weight: 400; font-size: 0.65rem; color: var(--muted);
  margin-left: 6px; letter-spacing: 0.05em;
}
.inquirySection dd { margin: 0; padding: 0; }
.inquirySection dd.error { font-size: 0.72rem; color: #c0392b; }
.inquirySection input[type="text"],
.inquirySection textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border);
  font-family: inherit; font-size: 0.85rem; color: var(--text);
  background: #fff; outline: none; transition: border-color 0.2s;
  box-sizing: border-box;
}
.inquirySection input[type="text"]:focus,
.inquirySection textarea:focus { border-color: var(--c6); }
.inquirySection textarea { min-height: 140px; resize: vertical; }
.inquirySection .control-panel { margin-top: 32px; text-align: center; }
#buttonLeave {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c5); color: #fff;
  font-family: 'futura-pt', sans-serif; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; padding: 14px 48px; border: none; border-radius: 0;
  cursor: pointer; transition: background 0.25s ease;
}
#buttonLeave:hover { background: var(--text); }
#privacy, #law {
  max-width: 780px; margin: 0 auto; text-align: left;
  padding: calc(var(--header-h) + var(--information-banner-height, 0px) + 48px) 60px 80px;
  font-size: 0.88rem; line-height: 1.8; color: var(--text);
}
#privacy h2, #law h2 { font-size: 1.05rem; font-weight: 700; margin: 24px 0 12px; }
#privacy h3, #privacy dt, #law h3 { font-weight: 700; margin: 16px 0 8px; }
#law .law_attention {
  padding: 12px; margin-top: 12px; background: var(--bg-sub); font-size: 0.85rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
#siteFooter {
  background: var(--bg);
  color: var(--text);
  padding: 48px 80px;
}
.footer-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-left {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}
.footer-logo {
  font-family: 'futura-pt', sans-serif; font-size: 1.0rem; font-weight: var(--logo-weight);
  letter-spacing: var(--logo-spacing); color: var(--text);
}
.footer-credit {
  font-family: 'futura-pt', sans-serif; font-size: 0.58rem; font-weight: var(--logo-weight);
  letter-spacing: var(--logo-spacing); color: var(--muted); text-transform: uppercase;
}
.footer-nav {
  position: absolute; left: 50%; transform: translateX(-50%);
}
.footer-nav ul {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px;
}
.footer-nav a {
  font-size: 0.60rem; font-weight: 700; letter-spacing: 0.14em;
  color: var(--muted); transition: color 0.2s; text-transform: uppercase;
}
.footer-nav a:hover { color: var(--c6); }
.footer-share { display: flex; align-items: center; gap: 12px; }
.footer-sns-link {
  font-size: 0.60rem; font-weight: 700; letter-spacing: 0.14em;
  color: var(--muted); text-transform: uppercase; transition: color 0.2s;
}
.footer-sns-link:hover { color: var(--c6); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.88);
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lb-stage {
  position: relative;
  width: 80vw; height: 80vh;
  overflow: hidden;
  flex-shrink: 0;
}
.lb-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}
.lb-close {
  position: absolute; top: 24px; right: 32px;
  background: none; border: none; color: #fff;
  font-size: 1.6rem; cursor: pointer; opacity: 0.7;
  transition: opacity 0.2s; line-height: 1; padding: 4px;
}
.lb-close:hover { opacity: 1; }
.lb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #fff;
  font-size: 4rem; cursor: pointer; opacity: 0.6;
  transition: opacity 0.2s; line-height: 1; padding: 0 24px;
  display: flex; align-items: center;
}
.lb-arrow:hover { opacity: 1; }
.lb-prev { left: 0; }
.lb-next { right: 0; }

/* ============================================================
   SCROLL FADE-IN ANIMATION
   ============================================================ */
.fadeinup {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fadeinup.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --sidebar-w: 260px; }
  #mainContent, .product-grid {
    gap: 40px 16px;
  }
  .item-inner { grid-template-columns: 1fr 1fr; }
  .item-info { padding: 40px 30px 40px 16px; }
  .item-related-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 160px)); }
}

@media (max-width: 640px) {
  .sp-640 { display: inline; }
  .about-flea-btns {
    display: grid;
    grid-template-columns: repeat(2, 176px);
    justify-content: center;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }
  #siteNav { display: none; }
  .header-hamburger { display: flex; }
  #siteLogo { left: 40px !important; }
  #siteHeader { padding-right: 40px !important; }
  .section-inner { padding: 0 24px; }
  .section-about { padding: 60px 0 !important; }
  .product-section { padding: 40px 0 80px !important; }
  #mainContent, .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 10px;
  }
  #mainContent[data-visible="1"] {
    grid-template-columns: minmax(0, 180px);
  }
  .item-inner { grid-template-columns: 1fr; }
  .item-gallery { padding: 24px 20px 0; max-width: 100%; }
  .item-info { padding: 24px 20px 40px; position: static; }
  .item-related-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 160px));
    padding: 0 24px;
    max-width: 100%;
  }
  .item-related { padding: 40px 0 60px; }
  .list-head { padding: 24px 20px 16px; }
  .pinned-blog { padding: 12px 20px; }
  .about-wrap, #shopContactContainer, #privacy, #law { padding-left: 24px; padding-right: 24px; }
  #siteFooter { padding: 40px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-nav { position: static; transform: none; }
  .footer-nav ul { justify-content: flex-start; }
  .pagination { padding: 40px 20px; }
  .hero-slide img { height: 60vh; }
  .hero-slide--placeholder { height: 60vh; }
}

@media (max-width: 480px) {
  #mainContent, .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 10px;
  }
  .product-section { padding: 24px 0 60px !important; }
  .item-related-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 150px)); }
}
