/*
Theme Name: SUMAI HOME
Theme URI: https://sumai.example
Author: SUMAI
Description: BEAMS スタイルのホームグッズ通販テーマ（ピンク系 / 日本語・韓国語 2言語 / WooCommerce 対応）
Version: 1.0.0
Requires PHP: 7.4
Text Domain: sumai
Tags: e-commerce, woocommerce, custom-menu, custom-logo, featured-images, translation-ready, blog
*/
@charset "utf-8";
/* =========================================================
   SUMAI HOME — BEAMS 風ホームグッズ EC / ピンク系
   ========================================================= */

:root {
  /* メインカラー rgba(255 23 139 / 1.0) を基準に、濃淡と淡い底色を自動生成 */
  --pk-main: rgba(255 23 139 / 1.0);
  --pk-700: rgba(190 5 96 / 1.0);
  --pk-600: rgba(224 18 122 / 1.0);
  --pk-500: rgba(255 23 139 / 1.0);
  --pk-400: rgba(255 82 168 / 1.0);
  --pk-300: rgba(255 150 199 / 1.0);
  --pk-200: rgba(255 23 139 / .22);
  --pk-100: rgba(255 23 139 / .12);
  --pk-50:  rgba(255 23 139 / .055);
  --ink:    #1A1A1D;
  --ink-2:  #5F5F66;
  --ink-3:  #9C9CA3;
  --line:   #ECECF0;
  --line-2: #DCDCE2;
  --bg:     #FFFFFF;
  --maxw:   1240px;
  --gut:    24px;
  --font: "Noto Sans JP", "Noto Sans KR", "Hiragino Kaku Gothic ProN", "Yu Gothic",
          "Malgun Gothic", "Apple SD Gothic Neo", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: .02em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select { font: inherit; color: inherit; }

/* ---------- 線画シンボル ---------- */
.art { width: 100%; height: 100%; display: block; }
.art * {
  fill: none; stroke: var(--pk-500); stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
}
.art .f { fill: var(--pk-100); }
.art--room .f  { fill: var(--pk-50); stroke: none; }
.art--room .s  { fill: none; stroke: var(--pk-500); stroke-width: 2.2; }
.art--room .sf { fill: var(--pk-100); stroke: var(--pk-500); stroke-width: 2.2; }

/* ---------- 共通パーツ ---------- */
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6;
      stroke-linecap: round; stroke-linejoin: round; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 32px; border-radius: 999px;
  font-size: 13px; letter-spacing: .12em; font-weight: 500;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.btn--primary { background: var(--pk-500); color: #fff; }
.btn--primary:hover { background: var(--pk-600); transform: translateY(-1px); }
.btn--ghost { border: 1px solid var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--line { border: 1px solid var(--pk-500); color: var(--pk-500); }
.btn--line:hover { background: var(--pk-500); color: #fff; }
.btn--sm { height: 40px; padding: 0 20px; font-size: 12px; }
.btn--block { width: 100%; }

.link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px;
        letter-spacing: .1em; color: var(--pk-600); border-bottom: 1px solid var(--pk-300); padding-bottom: 2px; }
.arw { width: 22px; height: 1px; background: currentColor; position: relative; display: inline-block; }
.arw::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px;
              border-top: 1px solid currentColor; border-right: 1px solid currentColor;
              transform: rotate(45deg); }

.section { padding: 72px var(--gut); max-width: var(--maxw); margin: 0 auto; }
.section--tight { padding: 48px var(--gut); }
.section--pink { max-width: none; background: var(--pk-50); padding: 72px var(--gut); }
.section--pink > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 32px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.section__en { font-size: 11px; letter-spacing: .28em; color: var(--pk-600); font-weight: 500; }
.section__title { font-size: 22px; font-weight: 700; letter-spacing: .06em; line-height: 1.4; margin-top: 4px; }
.section__more { display: inline-flex; align-items: center; gap: 10px; font-size: 12px;
                 letter-spacing: .1em; color: var(--ink-2); white-space: nowrap; }
.section__more:hover { color: var(--pk-600); }
.section__cta { text-align: center; margin-top: 40px; }

/* ---------- ユーティリティバー ---------- */
.utilbar { background: var(--pk-50); border-bottom: 1px solid var(--pk-100); }
.utilbar__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); height: 34px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.utilbar__note { font-size: 11px; color: var(--pk-600); display: flex; align-items: center; gap: 7px; letter-spacing: .04em; }
.utilbar__note .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--pk-500); }
.utilbar__list { display: flex; gap: 22px; }
.utilbar__list a { font-size: 11px; color: var(--ink-2); }
.utilbar__list a:hover { color: var(--pk-600); }

/* ---------- ヘッダー ---------- */
.header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96);
          backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); height: 76px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
}
.header__left { display: flex; align-items: center; gap: 4px; }
.header__right { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.iconbtn {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--ink); transition: background-color .2s, color .2s;
}
.iconbtn:hover { background: var(--pk-50); color: var(--pk-600); }
.iconbtn--cart { position: relative; }
.iconbtn--cart em {
  position: absolute; top: 3px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; background: var(--pk-500); color: #fff; font-size: 10px; font-style: normal;
  display: flex; align-items: center; justify-content: center; font-weight: 500;
}
.logo { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.logo__mark { font-size: 26px; font-weight: 700; letter-spacing: .22em; line-height: 1; }
.logo__sub { font-size: 10px; letter-spacing: .12em; color: var(--ink-3); }
.langsw { display: inline-flex; align-items: center; gap: 5px; margin-right: 8px;
          font-size: 11px; letter-spacing: .08em; color: var(--ink-3); }
.langsw .is-on { color: var(--pk-600); font-weight: 700; }
.langsw i { font-style: normal; color: var(--line-2); }
.langsw:hover .is-on { text-decoration: underline; }

.gnav { border-top: 1px solid var(--line); position: relative; }
.gnav__list {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut);
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0 34px;
}
.gnav__item { display: flex; align-items: center; gap: 1px; }
.gnav__link {
  display: block; padding: 12px 0; font-size: 12px; letter-spacing: .1em; white-space: nowrap;
  color: var(--ink); position: relative;
}
.gnav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px;
  background: var(--pk-500); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.gnav__link:hover { color: var(--pk-600); }
.gnav__link:hover::after { transform: scaleX(1); }

/* --- ドロップダウンサブメニュー --- */
.gnav__toggle {
  width: 22px; height: 22px; display: none; align-items: center; justify-content: center;
  color: var(--ink-3); transition: color .2s;
}
.gnav__item.has-sub .gnav__toggle { display: flex; }
.gnav__toggle:hover, .gnav__item.is-open .gnav__toggle { color: var(--pk-600); }
.chev { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.8;
        stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.gnav__item.is-open .chev,
.drawer__item.is-open .chev,
.filters.is-open .filters__title .chev { transform: rotate(180deg); }

.submenu {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 55;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 32px rgba(26, 26, 29, .08);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .22s, transform .22s, visibility .22s;
}
.gnav__item.is-open > .submenu { opacity: 1; visibility: visible; transform: none; }
.gnav__item:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) {
  .gnav__item.has-sub:hover > .submenu { opacity: 1; visibility: visible; transform: none; }
}
.submenu__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 30px var(--gut) 36px;
  display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 36px;
}
.submenu__title {
  font-size: 10px; letter-spacing: .22em; color: var(--pk-600); font-weight: 700;
  padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--line);
}
.submenu__list { display: grid; gap: 10px; }
.submenu__list a { font-size: 12px; color: var(--ink-2); transition: color .2s, padding-left .2s; }
.submenu__list a:hover { color: var(--pk-600); padding-left: 5px; }
.submenu__list--pop a { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; }
.submenu__art { width: 40px; height: 40px; background: var(--pk-50); padding: 7px; }
.submenu__list--pop em { font-style: normal; font-size: 11px; color: var(--ink-3); }
.submenu__list--pop a:hover em { color: var(--pk-600); }

.submenu__promo {
  display: grid; grid-template-columns: 108px 1fr; gap: 18px; align-items: center;
  background: var(--pk-50); padding: 18px 20px; transition: background-color .25s;
}
.submenu__promo:hover { background: var(--pk-100); }
.submenu__promoart { width: 108px; height: 108px; display: block; }
.submenu__promobody { display: block; }
.submenu__promotitle { display: block; font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.submenu__promotext { display: block; margin-top: 8px; font-size: 12px; color: var(--ink-2); line-height: 1.9; }
.submenu__promo .link { margin-top: 12px; }

/* ---------- ヒーロー（全幅バナー・3枚ローテーション） ---------- */
.hero { position: relative; border-bottom: 1px solid var(--line); background: #1b1016; overflow: hidden; }
.hero__slider { position: relative; width: 100%; }

.hero__slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .7s ease, visibility .7s; pointer-events: none;
}
.hero__slide.is-active { position: relative; opacity: 1; visibility: visible; pointer-events: auto; }

/* 全幅の広告画像 */
.hero__media {
  display: block; position: relative; width: 100%;
  aspect-ratio: 1920 / 860; max-height: 78vh; overflow: hidden; background: #1b1016;
}
.hero__media img,
.hero__media .hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 45%; display: block;
  transition: transform 8s linear;
}
.hero__slide.is-active .hero__media img { transform: scale(1.045); }
.hero__media .art--room { width: 100%; height: 100%; }

/* 文字を読みやすくするためのグラデーション */
.hero__slide::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(24,10,18,.66) 0%, rgba(24,10,18,.42) 38%, rgba(24,10,18,.08) 68%, rgba(24,10,18,0) 100%);
}

/* コピー（サイトのグリッド幅に合わせて重ねる） */
.hero__inner {
  position: absolute; inset: 0; left: 0; right: 0; margin: 0 auto;
  max-width: var(--maxw); padding: 0 var(--gut);
  display: flex; align-items: center; z-index: 3;
  pointer-events: none;
}
.hero__copy { max-width: 620px; padding-bottom: 36px; color: #fff; pointer-events: auto; }
.hero__eyebrow { font-size: 11px; letter-spacing: .3em; color: var(--pk-300); font-weight: 700; }
.hero__title { margin-top: 18px; font-size: 46px; line-height: 1.32; font-weight: 700; letter-spacing: .04em; color: #fff; text-shadow: 0 2px 18px rgba(24,10,18,.35); }
.hero__sub { margin-top: 20px; max-width: 30em; font-size: 14px; color: rgba(255,255,255,.88); line-height: 2; }
.hero__actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.hero .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* バナー全体をクリック可能にする（ボタンより下のレイヤー） */
.hero__hit { position: absolute; inset: 0; z-index: 2; }
.hero__hit span { position: absolute; inset: 0; }
.hero__copy .btn { position: relative; z-index: 4; }

/* 切り替え UI */
.hero__ui {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px; z-index: 6;
}
.hero__nav {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.18); backdrop-filter: blur(4px); display: grid; place-items: center; cursor: pointer;
  color: #fff; transition: background-color .2s, color .2s, border-color .2s;
}
.hero__nav:hover { background: var(--pk-500); color: #fff; border-color: var(--pk-500); }
.hero__nav .ic { width: 16px; height: 16px; }
.hero__dots { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.hero__dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.5); transition: background-color .25s, width .25s;
}
.hero__dot.is-on { background: #fff; width: 22px; border-radius: 6px; }

/* ---------- カテゴリー ---------- */
.catgrid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.catcard {
  background: #fff; padding: 34px 12px 28px; display: flex; flex-direction: column;
  align-items: center; gap: 12px; transition: background-color .25s;
  min-height: 168px; justify-content: center;
}
.catcard:hover { background: var(--pk-50); }
.catcard:hover .catcard__icon { background: #fff; transform: translateY(-2px); }
.catcard__icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--pk-50);
  display: grid; place-items: center; transition: background-color .25s, transform .25s;
}
.catcard__icon img { width: 32px; height: 32px; object-fit: contain; display: block; }
.catcard__name { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-align: center; }
.catcard__en { font-size: 10px; letter-spacing: .18em; color: var(--ink-3); }

/* ---------- 商品カード ---------- */
.pgrid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 40px 24px;
}
.pcard { display: flex; flex-direction: column; }
.pcard__media {
  position: relative; display: block; aspect-ratio: 1 / 1; background: var(--pk-50);
  overflow: hidden; padding: 0;
}
.pcard__media .pcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcard__media .art { transition: transform .45s ease; }
.pcard:hover .pcard__media .art { transform: scale(1.06); }
.pcard:hover .pcard__name { color: var(--pk-600); }
.pcard__fav {
  position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center;
  color: var(--pk-500); opacity: 0; transform: translateY(4px); transition: .25s;
}
.pcard:hover .pcard__fav { opacity: 1; transform: none; }
.pcard__fav .ic { width: 17px; height: 17px; }
.pcard__body { display: block; padding-top: 14px; }
.pcard__brand { display: block; font-size: 10px; letter-spacing: .16em; color: var(--ink-3); }
.pcard__name { display: block; margin-top: 5px; font-size: 13px; line-height: 1.65; transition: color .2s; }
.pcard__price { display: block; margin-top: 8px; font-size: 14px; font-weight: 500; letter-spacing: .04em; }
.pcard__tax { font-size: 10px; font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
.swatches { display: flex; gap: 5px; margin-top: 10px; }
.swatches i { width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--line-2); }

.badge {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  font-size: 9px; letter-spacing: .14em; padding: 3px 8px; font-weight: 700;
  background: var(--ink); color: #fff;
}
.badge.is-new { background: var(--pk-500); }
.badge.is-re { background: #fff; color: var(--pk-600); border: 1px solid var(--pk-300); }
.badge.is-pre { background: #6E6459; }
.badge.is-out { background: var(--ink-3); }

/* ---------- 特集 ---------- */
.feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.feature__card { display: grid; gap: 18px; }
.feature__media {
  position: relative; display: block; aspect-ratio: 16 / 10; background: #fff;
  padding: 0; overflow: hidden;
}
.feature__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.feature__card:hover .feature__img { transform: scale(1.05); }
.feature__label {
  position: absolute; left: 14px; top: 14px; font-size: 10px; letter-spacing: .18em;
  background: var(--pk-500); color: #fff; padding: 4px 10px; font-weight: 500;
}
.feature__date { font-size: 11px; letter-spacing: .12em; color: var(--ink-3); }
.feature__title { margin-top: 6px; font-size: 20px; font-weight: 700; line-height: 1.6; letter-spacing: .03em; }
.feature__text { margin-top: 12px; font-size: 13px; color: var(--ink-2); line-height: 2; }
.feature__body { padding: 0 4px; }
.feature__body .link { margin-top: 16px; }

/* ---------- ランキング ---------- */
.rank { display: grid; gap: 0; }
.rank__item a {
  display: grid; grid-template-columns: 56px 96px 1fr; align-items: center; gap: 20px;
  padding: 16px 0; border-bottom: 1px solid var(--line); transition: background-color .2s;
}
.rank__item a:hover { background: var(--pk-50); }
.rank__no { font-size: 26px; font-weight: 700; color: var(--pk-300); text-align: center; letter-spacing: 0; }
.rank__item:nth-child(1) .rank__no { color: var(--pk-600); }
.rank__media { position: relative; aspect-ratio: 1 / 1; background: var(--pk-50); padding: 12%; }
.rail__brand { display: block; font-size: 10px; letter-spacing: .16em; color: var(--ink-3); }
.rank__name { display: block; margin-top: 3px; font-size: 13px; }
.rank__price { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; }

/* ---------- スタッフ ---------- */
.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pick { border: 1px solid var(--line); }
.pick__media { display: block; aspect-ratio: 1 / 1; background: var(--pk-50); padding: 0; overflow: hidden; position: relative; }
.pick__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pick__body { padding: 18px 20px 22px; }
.pick__name { font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.pick__role { margin-top: 2px; font-size: 11px; color: var(--ink-3); letter-spacing: .06em; }
.pick__text { margin-top: 12px; font-size: 13px; color: var(--ink-2); line-height: 1.95; }

/* ---------- ジャーナル ---------- */
.journal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.jcard__media { display: block; aspect-ratio: 4 / 3; background: var(--pk-50); padding: 16%; }
.jcard__body { padding-top: 16px; }
.jcard__meta { display: flex; align-items: center; gap: 12px; font-size: 11px; color: var(--ink-3); letter-spacing: .1em; }
.jcard__cat { border: 1px solid var(--pk-300); color: var(--pk-600); padding: 1px 8px; font-size: 10px; }
.jcard__title { margin-top: 10px; font-size: 15px; font-weight: 700; line-height: 1.7; }
.jcard .link { margin-top: 14px; }
.jcard:hover .jcard__title { color: var(--pk-600); }

/* ---------- ABOUT ---------- */
.about { background: var(--pk-100); padding: 88px var(--gut); }
.about__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.about__eyebrow { font-size: 11px; letter-spacing: .3em; color: var(--pk-700); font-weight: 500; }
.about__title { margin-top: 18px; font-size: 32px; font-weight: 700; line-height: 1.6; letter-spacing: .04em; }
.about__text { margin: 24px auto 34px; max-width: 40em; font-size: 14px; color: #5B4450; line-height: 2.1; text-align: left; }

/* ---------- SNS ---------- */
.sns { padding: 64px var(--gut); max-width: var(--maxw); margin: 0 auto; }
.sns__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.sns__item { aspect-ratio: 1 / 1; background: var(--pk-50); padding: 16%; transition: background-color .25s; }
.sns__item:hover { background: var(--pk-100); }

/* ---------- NEWSLETTER ---------- */
.nl { border-top: 1px solid var(--line); background: var(--pk-50); padding: 56px var(--gut); }
.nl__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.nl__en { font-size: 11px; letter-spacing: .3em; color: var(--pk-600); font-weight: 500; }
.nl__sub { margin-top: 10px; font-size: 14px; }
.nl__form { margin-top: 24px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.nl__input {
  width: min(360px, 100%); height: 48px; padding: 0 18px; background: #fff;
  border: 1px solid var(--pk-300); border-radius: 999px; outline: none;
}
.nl__input:focus { border-color: var(--pk-500); }
.nl__btn {
  height: 48px; padding: 0 30px; border-radius: 999px; background: var(--pk-500); color: #fff;
  font-size: 13px; letter-spacing: .1em; transition: background-color .25s;
}
.nl__btn:hover { background: var(--pk-600); }
.nl__note { margin-top: 16px; font-size: 11px; color: var(--ink-3); }

/* ---------- パンくず / ページ見出し ---------- */
.breadcrumb { max-width: var(--maxw); margin: 0 auto; padding: 20px var(--gut) 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; color: var(--ink-3); }
.breadcrumb li + li::before { content: ">"; margin-right: 8px; color: var(--line-2); }
.breadcrumb a:hover { color: var(--pk-600); }

.pagehead { max-width: var(--maxw); margin: 0 auto; padding: 28px var(--gut) 40px; text-align: center; }

/* カテゴリーページのヘッダー（アイコン + 小分類チップ） */
.pagehead--cat { padding-bottom: 28px; }
.pagehead__icon {
  width: 72px; height: 72px; border-radius: 50%; background: var(--pk-50);
  display: inline-grid; place-items: center; margin: 14px 0 12px;
}
.pagehead__icon img { width: 38px; height: 38px; object-fit: contain; display: block; }

.catchips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line);
}
.catchip {
  display: inline-block; padding: 8px 16px; border: 1px solid var(--line-2);
  border-radius: 999px; font-size: 12px; letter-spacing: .04em; color: var(--ink-2);
  background: #fff; transition: background-color .2s, color .2s, border-color .2s;
}
.catchip:hover { border-color: var(--pk-300); color: var(--pk-600); background: var(--pk-50); }
.catchip.is-on { background: var(--pk-500); border-color: var(--pk-500); color: #fff; font-weight: 600; }
.pagehead__en { font-size: 11px; letter-spacing: .3em; color: var(--pk-600); font-weight: 500; }
.pagehead__title { margin-top: 8px; font-size: 30px; font-weight: 700; letter-spacing: .08em; }
.pagehead__lead { margin-top: 10px; font-size: 12px; color: var(--ink-3); }

/* ---------- 一覧ページ ---------- */
.colwrap {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut) 96px;
  display: grid; grid-template-columns: 232px 1fr; gap: 48px; align-items: start;
}
.filters { position: sticky; top: 148px; }
.filters__title {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 12px; letter-spacing: .2em; font-weight: 700; padding-bottom: 12px; text-align: left;
  border-bottom: 1px solid var(--ink);
}
.filters__title .chev { display: none; }
.fgroup { padding: 20px 0; border-bottom: 1px solid var(--line); }
.fgroup__title { font-size: 12px; font-weight: 700; letter-spacing: .08em; margin-bottom: 12px; }
.flist { display: grid; gap: 9px; }
.fitem { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--ink-2); cursor: pointer; }
.fitem input { accent-color: var(--pk-500); width: 14px; height: 14px; }
.fitem:hover { color: var(--pk-600); }
.fitem em { font-style: normal; font-size: 10px; color: var(--ink-3); }
.fitem__icon {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--pk-50); display: grid; place-items: center; transition: background-color .2s;
}
.fitem__icon img { width: 13px; height: 13px; object-fit: contain; display: block; }
.fitem:hover .fitem__icon, .fitem.is-current .fitem__icon { background: #fff; }

/* 商品一覧トップのカテゴリーグリッド */
.catnav { padding-top: 4px; }
.catnav .catgrid { max-width: var(--maxw); margin: 0 auto; }
.catcard.is-current { background: var(--pk-50); }
.catcard.is-current .catcard__name { color: var(--pk-600); font-weight: 700; }
.fitem--color i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line-2); }
.filters .btn--sm { margin-top: 20px; width: 100%; }

.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 16px; margin-bottom: 28px; border-bottom: 1px solid var(--line);
}
.toolbar__count { font-size: 12px; color: var(--ink-2); }
.toolbar__count span { font-weight: 700; color: var(--ink); font-size: 14px; }
.toolbar__sort { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-2); }
.toolbar__sort select {
  height: 38px; padding: 0 30px 0 14px; border: 1px solid var(--line-2); border-radius: 0;
  background: #fff; font-size: 12px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 15px) 17px, calc(100% - 10px) 17px;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.pgrid--col { grid-template-columns: repeat(3, 1fr); }
.pgrid--col .pcard.is-hidden { display: none; }

.pager { display: flex; justify-content: center; gap: 8px; margin-top: 64px; }
.pager__link {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); font-size: 12px; color: var(--ink-2);
}
.pager__link.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager__link:hover:not(.is-current) { border-color: var(--pk-500); color: var(--pk-600); }

/* ---------- 商品詳細 ---------- */
.item {
  max-width: var(--maxw); margin: 0 auto; padding: 32px var(--gut) 80px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.item__gallery { position: sticky; top: 148px; }
.item__main { position: relative; aspect-ratio: 1 / 1; background: var(--pk-50); padding: 18%; }
.item__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.item__thumb { aspect-ratio: 1 / 1; background: var(--pk-50); padding: 16%; border: 1px solid transparent; width: 100%; }
.item__thumb.is-on { border-color: var(--pk-500); }

.item__brand { font-size: 11px; letter-spacing: .18em; color: var(--pk-600); font-weight: 500; }
.item__title { margin-top: 10px; font-size: 26px; font-weight: 700; line-height: 1.6; letter-spacing: .04em; }
.item__price { margin-top: 16px; font-size: 22px; font-weight: 700; letter-spacing: .03em; }
.item__tax { font-size: 11px; font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
.item__code { margin-top: 6px; font-size: 11px; color: var(--ink-3); }
.item__desc { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line);
              font-size: 13px; color: var(--ink-2); line-height: 2.05; }
.item__opts { margin-top: 26px; }
.opt__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; display: flex; gap: 12px; align-items: baseline; }
.opt__val { font-weight: 400; color: var(--ink-2); font-size: 12px; }
.opt__swatches { display: flex; gap: 10px; margin-top: 12px; }
.swatchbtn { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); }
.swatchbtn.is-on { box-shadow: 0 0 0 2px #fff inset, 0 0 0 2px var(--pk-500); }
.opt__sizes { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.sizebtn { min-width: 96px; height: 40px; padding: 0 16px; border: 1px solid var(--line-2); font-size: 12px; }
.sizebtn.is-on { border-color: var(--pk-500); background: var(--pk-50); color: var(--pk-700); }
.qty { margin-top: 12px; display: inline-flex; align-items: center; border: 1px solid var(--line-2); }
.qty button { width: 40px; height: 40px; font-size: 15px; color: var(--ink-2); }
.qty button:hover { color: var(--pk-600); }
.qty span { min-width: 44px; text-align: center; font-size: 13px; }
.item__actions { margin-top: 32px; display: grid; gap: 10px; }
.item__ship { margin-top: 28px; padding: 18px 20px; background: var(--pk-50); }
.item__shiptitle { font-size: 12px; font-weight: 700; letter-spacing: .08em; margin-bottom: 6px; }
.item__ship p + p { font-size: 12px; color: var(--ink-2); line-height: 1.9; }
.spec { margin-top: 28px; border-top: 1px solid var(--line); }
.spec > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 12px; color: var(--ink-3); letter-spacing: .06em; }
.spec dd { font-size: 12px; }

/* ---------- フッター ---------- */
.footer { border-top: 1px solid var(--line); background: var(--pk-50); margin-top: 40px; }
.footer__top {
  max-width: var(--maxw); margin: 0 auto; padding: 56px var(--gut) 40px;
  display: grid; grid-template-columns: 1.05fr 1.9fr 1.4fr; gap: 36px;
}
.footer__logo { font-size: 22px; font-weight: 700; letter-spacing: .22em; }
.footer__addr { margin-top: 14px; font-size: 11px; color: var(--ink-2); line-height: 1.9; }
.footer__title { font-size: 11px; letter-spacing: .2em; font-weight: 700; margin-bottom: 14px; }
.footer__list { display: grid; gap: 8px; }
.footer__list a { font-size: 12px; color: var(--ink-2); }
.footer__list a:hover { color: var(--pk-600); }
.footer__pay {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut) 32px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.footer__paylabel { font-size: 11px; letter-spacing: .12em; color: var(--ink-3); }
.paylist { display: flex; gap: 8px; flex-wrap: wrap; }
.paylist li {
  font-size: 9px; letter-spacing: .1em; padding: 5px 9px; border: 1px solid var(--line-2);
  background: #fff; color: var(--ink-2);
}
.footer__bottom {
  border-top: 1px solid var(--pk-100); max-width: var(--maxw); margin: 0 auto;
  padding: 20px var(--gut) 32px; display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}
.footer__bottom p { font-size: 10px; color: var(--ink-3); letter-spacing: .06em; }
.footer__lang { display: flex; align-items: center; gap: 18px; }
.footer__lang a { font-size: 11px; color: var(--ink-2); }
.footer__lang a.is-on { color: var(--pk-600); font-weight: 700; }

/* フッターのカテゴリー一覧は2列表示 */
.footer__widget ul.product-categories {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 36px; align-items: start;
}
.footer__widget ul.product-categories > li.cat-item > a {
  font-size: 12px; font-weight: 700; color: var(--ink);
}
.footer__widget ul.product-categories ul.children { margin-top: 4px; display: grid; gap: 2px; }
.footer__widget ul.product-categories ul.children a { font-size: 11px; color: var(--ink-2); }
.footer__widget ul.product-categories a:hover,
.footer__widget ul.product-categories ul.children a:hover { color: var(--pk-600); }
.footer__widget ul.product-categories .count { margin-left: 3px; font-size: 10px; color: var(--ink-3); font-weight: 400; }
.footer__widget .widgettitle,
.footer__widget .widget-title {
  font-size: 11px; letter-spacing: .2em; font-weight: 700; margin-bottom: 14px; color: var(--ink-3);
}
/* フッターの商品検索は使わない（出てきても非表示） */
.footer__widget.widget_product_search,
.footer__widget.widget_woocommerce_product_search { display: none; }

/* ---------- 検索パネル ---------- */
.searchpanel { position: fixed; inset: 0; z-index: 80; background: rgba(26,26,29,.4); }
.searchpanel[hidden] { display: none; }
.searchpanel__inner { background: #fff; padding: 40px var(--gut); }
.searchpanel__close { margin-left: auto; display: block; font-size: 26px; line-height: 1; color: var(--ink-2); }
.searchpanel__form {
  max-width: 640px; margin: 24px auto 0; display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--ink); padding-bottom: 10px;
}
.searchpanel__form input { flex: 1; border: 0; outline: none; font-size: 16px; background: none; }
.searchpanel__form button { color: var(--pk-500); display: flex; }

/* ---------- トースト ---------- */
.toast {
  position: fixed; left: 50%; bottom: 40px; z-index: 90; transform: translate(-50%, 12px);
  background: var(--ink); color: #fff; font-size: 12px; letter-spacing: .08em;
  padding: 14px 26px; border-radius: 999px; opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- モバイルドロワーメニュー ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(26, 26, 29, .45); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; left: 0; bottom: 0; width: min(88vw, 400px);
  background: #fff; display: flex; flex-direction: column; overflow-y: auto;
  transform: translateX(-100%); transition: transform .32s cubic-bezier(.4, 0, .2, 1);
  -webkit-overflow-scrolling: touch;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--line);
}
.drawer__logo { font-size: 19px; font-weight: 700; letter-spacing: .22em; }
.drawer__close { width: 40px; height: 40px; font-size: 26px; line-height: 1; color: var(--ink-2); }
.drawer__lang { display: flex; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.drawer__lang a {
  flex: 1; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); font-size: 12px; letter-spacing: .1em;
}
.drawer__lang a.is-on { border-color: var(--pk-500); color: var(--pk-600); font-weight: 700; background: var(--pk-50); }
.drawer__list { padding: 8px 0; }
.drawer__row {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 15px 20px; font-size: 14px; letter-spacing: .05em; color: var(--ink);
}
.drawer__row:hover { color: var(--pk-600); }
.drawer__item { border-bottom: 1px solid var(--line); }
.drawer__sub { display: none; background: var(--pk-50); padding: 4px 0 10px; }
.drawer__item.is-open .drawer__sub { display: block; }
.drawer__sub a { display: block; padding: 10px 20px 10px 34px; font-size: 12.5px; color: var(--ink-2); }
.drawer__sub a:hover { color: var(--pk-600); }
.drawer__foot { margin-top: auto; padding: 20px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.drawer__foot a { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.drawer__foot .ic { width: 18px; height: 18px; color: var(--pk-600); }

/* ---------- アンカー位置（固定ヘッダー分） ---------- */
.section[id], .hero[id] { scroll-margin-top: 130px; }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1080px) {
  /* タブレット：バナーはやや縦長に、コピーは少し小さく */
  .hero__media { aspect-ratio: 1440 / 780; max-height: 62vh; }
  .hero__copy { max-width: 480px; padding-bottom: 54px; }
  .hero__title { font-size: 36px; }
  .hero__sub { font-size: 13.5px; margin-top: 16px; }

  /* タブレット：サブメニューパネルは2カラム */
  .subpanel__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .subpanel__promo { grid-column: 1 / -1; grid-template-columns: 108px 1fr; }
  .subpanel__promoart { width: 108px; height: 108px; }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .catgrid { grid-template-columns: repeat(3, 1fr); }
  .sns__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1.6fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .colwrap { grid-template-columns: 1fr; gap: 28px; }
  .filters { position: static; }
  .pgrid--col { grid-template-columns: repeat(3, 1fr); }
  .item { grid-template-columns: 1fr; gap: 36px; }
  .item__gallery { position: static; }

  /* タブレット：ナビは折り返し、サブメニューは全幅パネル */
  .gnav__list { gap: 0 22px; }
  .gnav__link { font-size: 11.5px; }
  .submenu__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .submenu__promo { grid-column: 1 / -1; grid-template-columns: 88px 1fr; }
  .submenu__promoart { width: 88px; height: 88px; }

  /* タブレット：フィルターを横並びに */
  .filters__body {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start;
  }
  .fgroup { padding: 16px 0 0; border-bottom: 0; }
  .filters .btn--sm { margin-top: 8px; }
}

@media (max-width: 768px) {
  :root { --gut: 16px; }
  .utilbar__list { display: none; }
  .header__inner { height: 60px; grid-template-columns: 1fr auto 1fr; }
  .logo__mark { font-size: 20px; }
  .logo__sub { display: none; }
  .iconbtn { width: 34px; height: 34px; }
  .langsw { margin-right: 0; }
  .gnav { display: none; }              /* モバイルはドロワーに集約 */
  .gnav__list { gap: 20px; justify-content: flex-start; }
  .gnav__link { font-size: 11px; }

  /* フィルターは折りたたみ式 */
  .filters__body { display: none; grid-template-columns: 1fr; gap: 0; }
  .filters.is-open .filters__body { display: grid; }
  .filters__title .chev { display: block; }
  .filters.is-open .filters__title .chev { transform: rotate(180deg); }
  .fgroup { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .filters .btn--sm { margin-top: 18px; }
  .section { padding: 48px var(--gut); }
  .section--pink { padding: 48px var(--gut); }
  .section__title { font-size: 18px; }
  .hero__title { font-size: 28px; }
  .hero__sub { font-size: 13px; }
  .btn { height: 44px; padding: 0 22px; }
  .pgrid, .pgrid--col { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .catgrid { grid-template-columns: repeat(2, 1fr); }
  .catcard { min-height: 132px; padding: 22px 10px 18px; }
  .catcard__icon { width: 52px; height: 52px; }
  .catcard__icon img { width: 26px; height: 26px; }

  /* ヒーロー：モバイルは縦長バナー＋下部にコピー */
  .hero__media { aspect-ratio: 900 / 760; max-height: none; }
  .hero__media img, .hero__media .hero__img { object-position: center 42%; }
  .hero__slide::after {
    background: linear-gradient(180deg, rgba(24,10,18,.10) 0%, rgba(24,10,18,.30) 42%, rgba(24,10,18,.72) 100%);
  }
  .hero__inner { align-items: flex-end; padding-bottom: 74px; }
  .hero__copy { max-width: none; padding-bottom: 0; }
  .hero__eyebrow { font-size: 10px; letter-spacing: .24em; }
  .hero__actions { margin-top: 20px; gap: 10px; }
  .hero__actions .btn { height: 42px; padding: 0 18px; font-size: 12px; }
  .hero__ui { bottom: 20px; gap: 10px; }
  .hero__nav { width: 30px; height: 30px; }

  /* カテゴリーページ */
  .catchips { gap: 6px; margin-top: 16px; padding-top: 16px; }
  .catchip { padding: 7px 13px; font-size: 11.5px; }
  .pagehead__icon { width: 60px; height: 60px; }
  .pagehead__icon img { width: 32px; height: 32px; }
  .feature__grid { grid-template-columns: 1fr; gap: 32px; }
  .picks { grid-template-columns: 1fr; }
  .journal { grid-template-columns: 1fr; gap: 24px; }
  .rank__item a { grid-template-columns: 34px 76px 1fr; gap: 14px; }
  .rank__no { font-size: 20px; }
  .sns__grid { grid-template-columns: repeat(3, 1fr); }
  .about { padding: 56px var(--gut); }
  .about__title { font-size: 24px; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .footer__brand { grid-column: auto; }
  .footer__widget ul.product-categories { grid-template-columns: 1fr 1fr; gap: 14px 20px; }
  .item__title { font-size: 21px; }
  .item__price { font-size: 19px; }
  .pager { gap: 6px; }
  .nl__form { flex-direction: column; align-items: center; }
  .nl__input { width: 100%; }
  .nl__btn { width: 100%; }
}

/* =========================================================
   WordPress 標準マークアップ用レイヤー
   （メニュー / ウィジェット / 本文 / 画像カード）
   ========================================================= */

/* ---------- 画像カード ---------- */
.pcard__media img.pcard__img,
.rank__media img,
.pick__media img,
.sns__item img,
.jcard__media img,
.catcard__art img.catcard__img,
.item__main img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.catcard__art { position: relative; }
.catcard__art img.catcard__img { position: static; height: 92px; object-fit: cover; }
.jcard__media { position: relative; display: block; }
.pick__media { position: relative; display: block; }
.rank__media { position: relative; display: block; }
.sns__item { position: relative; display: block; }

/* ---------- GNav（外観 > メニュー の「顶部菜单」） ---------- */
.gnav__list > li { display: flex; align-items: center; gap: 1px; position: static; }
.gnav__list > li > a { display: block; padding: 12px 0; font-size: 12px; letter-spacing: .1em; white-space: nowrap; position: relative; }
.gnav__list > li > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px;
  background: var(--pk-500); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.gnav__list > li > a:hover { color: var(--pk-600); }
.gnav__list > li > a:hover::after { transform: scaleX(1); }

.gnav__toggle {
  width: 22px; height: 22px; display: none; align-items: center; justify-content: center;
  color: var(--ink-3); transition: color .2s;
}
.gnav__list > li.menu-item-has-children > .gnav__toggle { display: flex; }
.gnav__list > li.is-open > .gnav__toggle { color: var(--pk-600); }

.gnav__list .sub-menu {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 55;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 32px rgba(26, 26, 29, .08);
  padding: 26px var(--gut) 32px;
  display: none;
}
.gnav__list .sub-menu > li { display: block; margin: 0; }
.gnav__list .sub-menu > li > a {
  display: block; padding: 8px 0; font-size: 12.5px; color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.gnav__list .sub-menu > li:last-child > a { border-bottom: 0; }
.gnav__list .sub-menu > li > a:hover { color: var(--pk-600); padding-left: 5px; }

.gnav__list > li.is-open > .sub-menu { display: block; }
@media (hover: hover) {
  .gnav__list > li.menu-item-has-children:hover > .sub-menu { display: block; }
}
.gnav__list .sub-menu::before {
  content: attr(data-label); display: block; font-size: 10px; letter-spacing: .22em;
  color: var(--pk-600); font-weight: 700; margin-bottom: 10px;
}

/* ---------- ドロップダウン 3カラムパネル（デザイン案どおり） ---------- */
.gnav__list .subpanel {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 55;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 32px rgba(26, 26, 29, .08);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .22s, transform .22s, visibility .22s;
}
.gnav__item.is-open > .subpanel { opacity: 1; visibility: visible; transform: none; }
.gnav__item:focus-within > .subpanel { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) {
  .gnav__item.has-sub:hover > .subpanel { opacity: 1; visibility: visible; transform: none; }
}
.subpanel__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 30px var(--gut) 36px;
  display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 36px; align-items: start;
}
.subpanel__title {
  font-size: 10px; letter-spacing: .22em; color: var(--pk-600); font-weight: 700;
  padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--line);
}
.subpanel__col--cat .sub-menu {
  position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px;
  background: none; box-shadow: none; padding: 0; border: 0;
}
.subpanel__col--cat .sub-menu > li { display: block; }
.subpanel__col--cat .sub-menu > li > a {
  display: block; padding: 6px 0; font-size: 12.5px; color: var(--ink-2);
  border-bottom: 1px solid var(--line-2); transition: color .2s, padding-left .2s;
}
.subpanel__col--cat .sub-menu > li > a:hover { color: var(--pk-600); padding-left: 5px; }

.subpanel__pops { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.subpanel__pops a { display: grid; grid-template-columns: 56px 1fr; gap: 4px 14px; align-items: center; }
.subpanel__popimg {
  grid-row: span 2; width: 56px; height: 56px; background: var(--pk-50);
  overflow: hidden; display: block;
}
.subpanel__popimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.subpanel__popname { font-size: 12.5px; line-height: 1.5; color: var(--ink); align-self: end; }
.subpanel__popprice { font-size: 12px; color: var(--pk-600); font-weight: 600; align-self: start; }
.subpanel__pops a:hover .subpanel__popname { color: var(--pk-600); }

.subpanel__promo {
  display: grid; grid-template-columns: 132px 1fr; gap: 20px; align-items: center;
  background: var(--pk-50); padding: 18px 20px; transition: background-color .25s;
}
.subpanel__promo:hover { background: var(--pk-100); }
.subpanel__promoart { width: 132px; height: 132px; overflow: hidden; display: block; background: #fff; }
.subpanel__promoart img { width: 100%; height: 100%; object-fit: cover; display: block; }
.subpanel__promobody { display: block; }
.subpanel__promotitle { display: block; font-size: 16px; font-weight: 700; letter-spacing: .04em; }
.subpanel__promotext { display: block; margin-top: 8px; font-size: 12px; color: var(--ink-2); line-height: 1.9; }
.subpanel__promo .link { margin-top: 12px; }

/* ---------- ドロワーメニュー（「手机抽屉菜单」） ---------- */
.drawer__menu { flex: 1; }
.drawer__menu ul.drawer__list { padding: 8px 0; }
.drawer__menu ul.drawer__list > li { border-bottom: 1px solid var(--line); }
.drawer__menu ul.drawer__list a {
  display: block; padding: 15px 20px; font-size: 14px; letter-spacing: .05em;
}
.drawer__menu ul.drawer__list a:hover { color: var(--pk-600); }
.drawer__menu .sub-menu { display: none; background: var(--pk-50); padding: 4px 0 10px; }
.drawer__menu li.is-open > .sub-menu { display: block; }
.drawer__menu .sub-menu a { padding: 10px 20px 10px 34px; font-size: 12.5px; color: var(--ink-2); }

/* ドロワー：親項目を「リンク + 開閉ボタン」の横並びにする */
.drawer__menu ul.drawer__list > li.has-sub {
  display: flex; align-items: stretch; flex-wrap: wrap;
}
.drawer__menu ul.drawer__list > li.has-sub > a { flex: 1 1 auto; }
.drawer__menu ul.drawer__list > li.has-sub > .drawer__sub { flex: 1 1 100%; }
.drawer__toggle {
  flex: 0 0 52px; width: 52px; background: none; border: 0; cursor: pointer;
  font-size: 17px; line-height: 1; color: var(--ink-3); transition: transform .25s, color .2s;
}
.drawer__toggle:hover { color: var(--pk-600); }
.drawer__item.is-open > .drawer__toggle { color: var(--pk-600); transform: rotate(45deg); }

/* GNav：開閉ボタンにシェブロンを描画 */
.gnav__toggle::after {
  content: ""; width: 6px; height: 6px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform .25s;
}
.gnav__item.is-open > .gnav__toggle::after { transform: rotate(-135deg); margin-top: 2px; }

/* ---------- フッター ---------- */
.footer__menu { margin-top: 16px; }
.footer__menu ul { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer__menu a { font-size: 12px; color: var(--ink-2); }
.footer__menu a:hover { color: var(--pk-600); }
.footer__widget { padding-bottom: 18px; }
.footer__widget ul { display: grid; gap: 8px; }
.footer__widget li { font-size: 12px; }
.footer__widget a { color: var(--ink-2); }
.footer__widget a:hover { color: var(--pk-600); }
.footer__widget select, .footer__widget input { max-width: 100%; }
.footer__col:empty { display: none; }

/* ---------- 本文 ---------- */
.entry__body { max-width: 760px; margin: 0 auto; font-size: 14px; line-height: 2; color: var(--ink-2); }
.entry__body h2 { font-size: 20px; color: var(--ink); margin: 32px 0 12px; }
.entry__body h3 { font-size: 16px; color: var(--ink); margin: 26px 0 10px; }
.entry__body p { margin-bottom: 16px; }
.entry__body img { max-width: 100%; height: auto; }
.entry__body a { color: var(--pk-600); text-decoration: underline; }
.entry__body ul, .entry__body ol { margin: 0 0 16px 1.2em; padding: 0; }
.entry__body li { list-style: disc; margin-bottom: 6px; }
.pagehead__desc { margin-top: 14px; font-size: 13px; color: var(--ink-2); max-width: 640px; margin-left: auto; margin-right: auto; }
.fitem.is-current { color: var(--pk-600); font-weight: 700; }

/* ---------- ブログ用ページャ ---------- */
.pager .nav-links { display: flex; justify-content: center; gap: 8px; }
.pager .nav-links a,
.pager .nav-links span {
  min-width: 40px; height: 40px; padding: 0 12px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); font-size: 12px; color: var(--ink-2);
}
.pager .nav-links span.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- 管理バーがある時の調整 ---------- */
body.admin-bar .header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .header { top: 46px; } }

/* =========================================================
   WooCommerce レイヤー
   （SUMAI のデザインに合わせて WooCommerce 既定マークアップを整形）
   ========================================================= */

/* ---------- 通知・パンくず ---------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top: 3px solid var(--pk-500);
  background: var(--pk-50);
  padding: 14px 20px;
  font-size: 13px;
  list-style: none;
}
.woocommerce-error { border-top-color: #b3261e; background: #fdecea; }
.woocommerce-message::before,
.woocommerce-info::before { color: var(--pk-600); }
.woocommerce .woocommerce-breadcrumb,
.woocommerce-breadcrumb {
  max-width: var(--maxw); margin: 0 auto; padding: 18px var(--gut) 0;
  font-size: 11px; color: var(--ink-3);
}
.woocommerce-breadcrumb a { color: var(--ink-3); }
.woocommerce-breadcrumb a:hover { color: var(--pk-600); }

/* ---------- ループ（商品一覧グリッド） ---------- */
/* WooCommerce 標準の woocommerce-layout.css を打ち消す：
   ・ul.products::before/::after{display:table} がグリッドの1マスを占めて
     先頭が空く（商品が2列目から始まる）
   ・li.product{width:22.05%} / .columns-3 li.product{width:30.75%} が
     カード幅を狭める                                          */
ul.products,
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 44px 24px;
  list-style: none; margin: 0; padding: 0;
  clear: both;
}
ul.products::before,
ul.products::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  content: none !important;
  display: none !important;
}
ul.products li.product,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  display: block !important; position: relative;
  width: 100% !important; max-width: none !important;
  margin: 0 !important; padding: 0 !important;
  float: none !important; clear: none !important;
}
/* カートのクロスセル／関連商品も同じグリッドに乗せる */
.woocommerce .cart-collaterals .cross-sells ul.products li,
.woocommerce ul.products.columns-1 li.product,
.woocommerce ul.products.columns-2 li.product,
.woocommerce ul.products.columns-3 li.product,
.woocommerce ul.products.columns-4 li.product,
.woocommerce ul.products.columns-5 li.product,
.woocommerce ul.products.columns-6 li.product {
  width: 100% !important; margin: 0 !important;
}
/* カード本体は .pcard（トップの新着と同一デザイン） */
ul.products li.product .pcard__media img.pcard__img { margin: 0; }

ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2,
ul.products li.product h3 {
  font-size: 13px; font-weight: 400; line-height: 1.65;
  color: var(--ink); padding: 0; margin: 0;
}
ul.products li.product .price {
  display: block; margin-top: 8px; font-size: 14px; font-weight: 500;
  color: var(--ink); letter-spacing: .04em;
}
ul.products li.product .price del { color: var(--ink-3); font-weight: 400; font-size: 12px; }
ul.products li.product .price ins { text-decoration: none; color: var(--pk-600); }

/* 一覧では「カゴに追加」ボタンと評価は出さない（デザイン案どおり） */
ul.products li.product .button,
ul.products li.product .add_to_cart_button,
ul.products li.product .added_to_cart,
ul.products li.product .star-rating,
ul.products li.product .onsale,
span.onsale {
  display: none !important;
}

/* セール等のバッジはカード側で表示 */
ul.products li.product .pcard .badge.is-new {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  font-size: 9px; letter-spacing: .14em; padding: 3px 8px; font-weight: 700;
  background: var(--pk-500); color: #fff;
}

/* ページャ */
.woocommerce-pagination { margin-top: 60px; }
.woocommerce nav.woocommerce-pagination ul,
.woocommerce-pagination ul.page-numbers {
  display: flex; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; border: 0;
}
.woocommerce-pagination ul.page-numbers li { border: 0; margin: 0; }
.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span {
  min-width: 40px; height: 40px; padding: 0 12px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); font-size: 12px; color: var(--ink-2); background: #fff;
}
.woocommerce-pagination ul.page-numbers li span.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.woocommerce-pagination ul.page-numbers li a:hover { border-color: var(--pk-500); color: var(--pk-600); }
.woocommerce-result-count { font-size: 12px; color: var(--ink-2); }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select {
  height: 38px; padding: 0 28px 0 12px; border: 1px solid var(--line-2); background: #fff; font-size: 12px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 14px) 17px, calc(100% - 9px) 17px;
  background-size: 5px 5px; background-repeat: no-repeat;
}

/* ---------- 商品詳細 ---------- */
.single-product div.product { position: relative; }
.woocommerce-product-gallery { margin-bottom: 10px; }
.woocommerce-product-gallery .woocommerce-product-gallery__image img,
.woocommerce-product-gallery__wrapper img {
  width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: var(--pk-50);
}
.woocommerce-product-gallery ol.flex-control-thumbs,
.woocommerce-product-gallery .flex-control-thumbs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 10px 0 0; padding: 0; list-style: none;
}
.woocommerce-product-gallery .flex-control-thumbs li { width: auto; float: none; padding: 0; margin: 0; }
.woocommerce-product-gallery .flex-control-thumbs img {
  aspect-ratio: 1 / 1; object-fit: cover; border: 1px solid transparent; opacity: .85;
}
.woocommerce-product-gallery .flex-control-thumbs img.flex-active { border-color: var(--pk-500); opacity: 1; }

.single-product .item__info .price,
p.price { font-size: 22px; font-weight: 700; color: var(--ink); }
p.price del { font-size: 14px; color: var(--ink-3); font-weight: 400; }
p.price ins { text-decoration: none; }
.woocommerce-variation-price { margin-bottom: 16px; }

.single-product form.cart { margin: 22px 0 0; display: grid; gap: 14px; }
.single-product form.cart .quantity { display: inline-flex; border: 1px solid var(--line-2); margin: 0; }
.single-product form.cart .quantity input {
  width: 46px; height: 40px; text-align: center; border: 0; background: transparent; font-size: 13px;
}
.single-product form.cart .quantity .qty_button,
.single-product form.cart .quantity input[type="button"] { width: 34px; height: 40px; border: 0; color: var(--ink-2); }
.single-product button.single_add_to_cart_button,
.single-product .single_add_to_cart_button {
  height: 52px; border-radius: 999px; background: var(--pk-500); color: #fff;
  font-size: 13px; letter-spacing: .12em; font-weight: 500; width: 100%; text-align: center;
}
.single-product .single_add_to_cart_button:hover { background: var(--pk-600); }
.single-product .single_add_to_cart_button.disabled { opacity: .55; }
.single-product .product_meta { font-size: 11px; color: var(--ink-3); margin-top: 18px; }
.single-product .product_meta a { color: var(--pk-600); }
.single-product .woocommerce-product-rating { font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.single-product table.variations { border: 0; }
.single-product table.variations td { padding: 6px 0; }
.single-product table.variations select { height: 40px; border: 1px solid var(--line-2); min-width: 160px; }
.single-product .reset_variations { font-size: 11px; color: var(--ink-3); }

.woocommerce-tabs { margin-top: 40px; }
.woocommerce-tabs ul.tabs {
  display: flex; gap: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 0; list-style: none;
}
.woocommerce-tabs ul.tabs li { border: 0; background: transparent; margin: 0; padding: 0; border-radius: 0; }
.woocommerce-tabs ul.tabs li a {
  display: block; padding: 12px 22px; font-size: 12px; letter-spacing: .1em; color: var(--ink-3);
}
.woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-bottom: 2px solid var(--pk-500); }
.woocommerce-tabs .panel { padding: 24px 0; font-size: 13px; color: var(--ink-2); line-height: 2; }
.woocommerce-tabs h2 { font-size: 15px; margin-bottom: 12px; }
.woocommerce-product-attributes.shop_attributes { border-top: 1px solid var(--line); }
.woocommerce-product-attributes th,
.woocommerce-product-attributes td { border-bottom: 1px solid var(--line); padding: 12px 0; font-size: 12px; }
.woocommerce-product-attributes th { color: var(--ink-3); font-weight: 400; width: 140px; }

.related.products, .upsells.products { margin-top: 0; }
.related.products h2, .upsells.products h2 { font-size: 18px; margin-bottom: 24px; }

/* ---------- カート・チェックアウト ---------- */
.woocommerce-cart table.cart,
.woocommerce table.shop_table {
  border: 0; border-radius: 0; border-collapse: collapse; width: 100%;
}
.woocommerce table.shop_table th { font-size: 12px; letter-spacing: .08em; color: var(--ink-2); font-weight: 500; }
.woocommerce table.shop_table td { border-top: 1px solid var(--line); padding: 14px 8px; font-size: 13px; }
.woocommerce table.shop_table td.product-remove a { color: var(--ink-3); }
.woocommerce table.shop_table img { width: 80px; height: 80px; object-fit: cover; }
.woocommerce .cart-collaterals .cart_totals table th,
.woocommerce .cart-collaterals .cart_totals table td { border-top: 1px solid var(--line); }
.woocommerce .wc-proceed-to-checkout a.checkout-button,
.woocommerce a.button.checkout,
.woocommerce button.button.alt {
  background: var(--pk-500); color: #fff; border-radius: 999px; height: 52px;
  font-size: 13px; letter-spacing: .1em;
}
.woocommerce button.button.alt:hover { background: var(--pk-600); color: #fff; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  background: #fff; color: var(--ink); border: 1px solid var(--line-2); border-radius: 999px;
}
.woocommerce-MyAccount-content, .woocommerce-MyAccount-navigation { font-size: 13px; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); }
.woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--line); }
.woocommerce-MyAccount-navigation li a { display: block; padding: 12px 18px; }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--pk-50); color: var(--pk-600); }

/* フォーム */
.woocommerce form .form-row { margin-bottom: 14px; }
.woocommerce form .form-row label { font-size: 12px; color: var(--ink-2); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 0; background: #fff; font-size: 13px;
}
.woocommerce form .form-row textarea { height: 120px; padding: 10px 14px; }
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button { border-radius: 999px; }
.select2-container--default .select2-selection--single { border-color: var(--line-2); height: 44px; border-radius: 0; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 42px; }

/* 数量 */
.woocommerce .quantity .qty { width: 52px; height: 40px; text-align: center; border: 1px solid var(--line-2); }

/* ---------- ウィジェット（サイドバー） ---------- */
.sidebar-shop .widget,
.filters .widget { padding: 16px 0; border-bottom: 1px solid var(--line); }
.filters .widget:last-child { border-bottom: 0; }
.widget .widget-title,
.widget h2.widgettitle {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; margin-bottom: 12px;
}
.widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.widget ul li { font-size: 12px; color: var(--ink-2); }
.widget ul li a { color: var(--ink-2); }
.widget ul li a:hover { color: var(--pk-600); }
.widget ul.children { margin: 8px 0 0 12px; }
.widget .count { color: var(--ink-3); font-size: 10px; }
.widget_price_filter .price_slider { margin-bottom: 14px; }
.widget_price_filter .ui-slider .ui-slider-handle,
.widget_price_filter .ui-slider .ui-slider-range { background: var(--pk-500); border-color: var(--pk-500); }
.widget_price_filter .price_slider_amount .button { font-size: 11px; height: 36px; padding: 0 16px; }
.widget_product_search input[type="search"] { width: 100%; height: 40px; border: 1px solid var(--line-2); padding: 0 12px; }
.widget_product_search input[type="submit"] { display: none; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1080px) {
  /* 上の指定より優先度を揃える（.woocommerce ul.products を含める） */
  ul.products,
  .woocommerce ul.products { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 768px) {
  ul.products,
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 28px 12px; }
  .woocommerce-product-gallery { width: 100% !important; }
  p.price, .single-product .item__info .price { font-size: 19px; }
  .woocommerce-tabs ul.tabs li a { padding: 10px 14px; font-size: 11px; }
  .woocommerce table.shop_table td { padding: 10px 4px; font-size: 12px; }
  .woocommerce table.shop_table img { width: 56px; height: 56px; }
}
