@charset "UTF-8";
/* =====================================================
   スリープデジレク（寝具EC） サンプルサイト
   style.css

   デザイン：shopvibe-DESIGN.md 準拠（日本人向けアレンジ）
   - 地は#FAFAFA、カードは白。明るく風通しよく
   - 主役色はフクシア（#D946EF）＝行動ボタン専用。飾りに使わない
   - セール表示はシアン（#22D3EE）、星評価はイエロー（#FACC15）
   - 角丸：バッジ4px／カード16px／特集バナー24px／CTAは完全ピル
   - 影はMaterial風の多層。商品カードはホバーで紫がかった浮き
   - 日本語主体（見出しはNoto Sans JP、価格数字はPoppins）

   【目次】
   1. 変数（デザイントークン）
   2. リセット・ベース
   3. 共通パーツ（ボタン・バッジ・チップ・セクション）
   4. ヘッダー（検索・カート付き）
   5. ヒーローバナー
   6. カテゴリカード
   7. 商品カード・グリッド
   8. 特集バナー（XL角丸）
   9. レビュー
   10. お知らせ
   11. CTAバンド
   12. フッター
   13. 下層ページ共通
   14. 商品一覧（フィルタ）・商品詳細
   15. カート
   16. ガイド・FAQ・フォーム類
   17. レスポンシブ

   ※色・角丸・余白はすべて「1. 変数」で一元管理。
===================================================== */

/* -----------------------------------------------------
   1. 変数（デザイントークン）
----------------------------------------------------- */
:root {
  /* ブランド */
  --primary:        #D946EF;   /* フクシア：CTA専用 */
  --primary-hover:  #C026D3;
  --primary-active: #A21CAF;
  --primary-pale:   #FDF4FF;
  --cyan:           #22D3EE;   /* セール・販促 */
  --cyan-dark:      #0E7490;
  --yellow:         #FACC15;   /* 星評価 */

  /* セマンティック */
  --success: #22C55E;
  --error:   #EF4444;

  /* サーフェス */
  --bg:      #FAFAFA;
  --surface: #FFFFFF;
  --line:    #E5E5E5;
  --line-dark: #D4D4D4;

  /* テキスト */
  --ink:        #171717;
  --text:       #404040;
  --muted:      #525252;
  --muted-soft: #A3A3A3;

  /* 角丸 */
  --r-sm: 4px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* 影（Material風多層） */
  --shadow-subtle: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.10), 0 6px 10px rgba(0,0,0,0.06);
  --shadow-hover: 0 14px 32px rgba(217,70,239,0.12), 0 6px 12px rgba(0,0,0,0.06);

  /* フォント */
  --font: "Noto Sans JP", "Nunito", -apple-system, system-ui, sans-serif;
  --font-num: "Poppins", "Noto Sans JP", sans-serif;

  /* 余白（8px基準） */
  --sp-xs: 8px;
  --sp-sm: 12px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 32px;
  --sp-xxl: 48px;
  --sp-section: 96px;

  /* コンテンツ幅 */
  --w-content: 1240px;
}

/* -----------------------------------------------------
   2. リセット・ベース
----------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--ink);
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

strong {
  font-weight: 700;
  color: var(--ink);
}

/* -----------------------------------------------------
   3. 共通パーツ
----------------------------------------------------- */

/* --- セクション共通 --- */
.section {
  padding: 56px 0;
}

.section__inner {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 0 24px;
}

/* セクション見出し（和文太字＋右側に「すべて見る」） */
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: var(--sp-lg);
}

.section__title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.005em;
  color: var(--ink);
}

.section__sub {
  font-size: 14px;
  color: var(--muted);
  margin-top: 2px;
}

/* --- ボタン（CTAはピルが掟） --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 12px 28px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  border-radius: var(--r-full);
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:hover {
  background: var(--primary-pale);
}

/* プライマリ（フクシア塗り） */
.btn--solid {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn--solid:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
}

.btn--solid:active {
  background: var(--primary-active);
  border-color: var(--primary-active);
}

/* 大ボタン */
.btn--lg {
  min-height: 50px;
  padding: 14px 36px;
  font-size: 16px;
}

/* ゴースト */
.btn--ghost {
  border-color: transparent;
  color: var(--muted);
}

.btn--ghost:hover {
  background: #F5F5F5;
}

/* テキストリンク */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.text-link::after {
  content: "\2192";
  transition: transform 0.2s;
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* --- バッジ --- */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: var(--r-sm);
  padding: 3px 10px;
  line-height: 1.4;
  white-space: nowrap;
}

.badge--sale {
  background: var(--cyan);
  color: #064E5E;
}

.badge--new {
  background: var(--ink);
  color: #fff;
}

.badge--stock {
  background: #FEF9C3;
  color: #854D0E;
}

/* --- 星評価（イエロー） --- */
.stars {
  color: var(--yellow);
  font-size: 14px;
  letter-spacing: 1px;
}

.stars__count {
  font-family: var(--font-num);
  font-size: 13px;
  color: var(--muted);
  margin-left: 4px;
}

/* --- フィルタチップ --- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 16px;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: var(--r-full);
  border: 1.5px solid var(--line-dark);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.chip:hover {
  background: #F5F5F5;
}

.chip.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 700;
}

/* -----------------------------------------------------
   4. ヘッダー
----------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  box-shadow: var(--shadow-subtle);
}

.header__inner {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* ロゴ：月のマーク＋和文ワードマーク */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo__mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.logo__name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink);
  line-height: 1.2;
}

.logo__sub {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted-soft);
}

/* ナビ */
.gnav__list {
  display: flex;
  gap: 2px;
}

.gnav__list a {
  display: block;
  white-space: nowrap;
  padding: 9px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--r-full);
  transition: color 0.2s, background 0.2s;
}

.gnav__list a:hover {
  color: var(--primary);
  background: var(--primary-pale);
}

.gnav__list a.is-current {
  color: var(--primary);
  background: var(--primary-pale);
  font-weight: 700;
}

/* ヘッダー右：カート */
.header__tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  background: var(--surface);
  border: 1.5px solid var(--line-dark);
  transition: border-color 0.2s, background 0.2s;
}

.cart-btn:hover {
  border-color: var(--primary);
  background: var(--primary-pale);
}

.cart-btn svg {
  width: 20px;
  height: 20px;
}

/* カート数バッジ */
.cart-btn__count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  border-radius: var(--r-full);
  background: var(--primary);
  color: #fff;
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* スマホ用メニューボタン */
.header__menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1.5px solid var(--line-dark);
  border-radius: var(--r-full);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.header__menu-btn span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}

.header__menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__menu-btn.is-open span:nth-child(2) { opacity: 0; }
.header__menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* お知らせ細帯（送料無料など） */
.promo-bar {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 16px;
}

.promo-bar strong {
  color: var(--cyan);
}

/* -----------------------------------------------------
   5. ヒーローバナー
----------------------------------------------------- */
.hero {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 24px 24px 0;
}

.hero__banner {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: center;
  /* メイン写真：images/hero.jpg（横長 2400×1100px・明るい寝室） */
  background-image: url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  background-color: #EFEAE4;
  box-shadow: var(--shadow-md);
}

.hero__banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.6) 42%, rgba(255,255,255,0) 75%);
}

.hero__copy {
  position: relative;
  padding: 48px 56px;
  max-width: 560px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan-dark);
  background: rgba(34, 211, 238, 0.18);
  border-radius: var(--r-full);
  padding: 4px 14px;
  margin-bottom: 14px;
}

.hero__title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}

.hero__sub {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 24px;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* -----------------------------------------------------
   6. カテゴリカード
----------------------------------------------------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
}

.cat-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--line-dark);
}

.cat-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: var(--bg);
}

.cat-card__name {
  display: block;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  padding: 12px 8px;
}

/* -----------------------------------------------------
   7. 商品カード・グリッド
----------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg) var(--sp-md);
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.product-card__photo {
  position: relative;
  display: block;
}

.product-card__photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: var(--bg);
}

.product-card__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
}

.product-card__body {
  padding: var(--sp-md);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__name {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 4px;
}

.product-card__rating {
  margin-bottom: 8px;
}

/* 価格：数字はPoppins。セール時は元値に打ち消し線 */
.product-card__price {
  margin-top: auto;
  margin-bottom: 10px;
  line-height: 1.3;
}

.price-now {
  font-family: var(--font-num);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}

.price-now small {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}

.price-was {
  font-family: var(--font-num);
  font-size: 13px;
  color: var(--muted-soft);
  text-decoration: line-through;
  margin-right: 8px;
}

.price-sale {
  color: var(--cyan-dark);
}

/* カートに入れる：カード上で最も目立つ要素（掟） */
.product-card .btn {
  width: 100%;
  min-height: 40px;
  padding: 10px 16px;
  font-size: 14px;
}

/* -----------------------------------------------------
   8. 特集バナー（XL角丸）
----------------------------------------------------- */
.feature-banner {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-color: #E8EDF2;
  box-shadow: var(--shadow-md);
}

.feature-banner--trial {
  /* 特集写真：images/feature.jpg（横長 2000×800px） */
  background-image: url("../images/feature.jpg");
}

.feature-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23,23,23,0.6) 0%, rgba(23,23,23,0.3) 50%, rgba(23,23,23,0.05) 100%);
}

.feature-banner__copy {
  position: relative;
  padding: 40px 48px;
  color: #fff;
  max-width: 560px;
}

.feature-banner__title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.feature-banner__text {
  font-size: 14.5px;
  line-height: 1.9;
  color: rgba(255,255,255,0.95);
  margin-bottom: 20px;
}

/* -----------------------------------------------------
   9. レビュー
----------------------------------------------------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  box-shadow: var(--shadow-subtle);
}

.review-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  object-fit: cover;
  background: var(--bg);
}

.review-card__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.review-card__item {
  font-size: 12px;
  color: var(--muted);
}

.review-card__text {
  font-size: 14px;
  color: var(--text);
}

/* -----------------------------------------------------
   10. お知らせ
----------------------------------------------------- */
.news-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.news-list li + li {
  border-top: 1px solid var(--line);
}

.news-list a {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 16px 22px;
  transition: background 0.2s;
}

.news-list a:hover {
  background: var(--bg);
}

.news-list__date {
  font-family: var(--font-num);
  font-size: 13px;
  color: var(--muted);
  flex-shrink: 0;
  width: 96px;
}

.news-list__cat {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan-dark);
  background: rgba(34, 211, 238, 0.15);
  border-radius: var(--r-sm);
  padding: 2px 10px;
}

.news-list__title {
  font-size: 14px;
  color: var(--text);
}

/* -----------------------------------------------------
   11. CTAバンド
----------------------------------------------------- */
.cta-band {
  background: var(--primary-pale);
  padding: 64px 24px;
  text-align: center;
}

.cta-band__inner {
  max-width: 700px;
  margin: 0 auto;
}

.cta-band__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 8px;
}

.cta-band__text {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: var(--sp-lg);
}

.cta-band__buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* -----------------------------------------------------
   12. フッター
----------------------------------------------------- */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: var(--sp-xxl) 0 0;
}

.footer__inner {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 0 24px var(--sp-xl);
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: var(--sp-lg);
}

.footer__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.footer__address {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

.footer__head {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.footer__nav li {
  margin-bottom: 8px;
}

.footer__nav a {
  font-size: 13.5px;
  color: var(--text);
}

.footer__nav a:hover {
  color: var(--primary);
}

.footer__legal {
  border-top: 1px solid var(--line);
  padding: 16px 24px;
  text-align: center;
  font-size: 12px;
  color: var(--muted-soft);
}

/* -----------------------------------------------------
   13. 下層ページ共通
----------------------------------------------------- */
.page-header {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 32px 24px 4px;
}

.page-header__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.page-header__sub {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

/* パンくず */
.breadcrumb {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 16px 24px 0;
  font-size: 12.5px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
}

.breadcrumb li + li::before {
  content: "\203A";
  margin: 0 8px;
  color: var(--muted-soft);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.breadcrumb li {
  color: var(--text);
}

/* 中見出し */
.heading-2 {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--sp-md);
}

/* -----------------------------------------------------
   14. 商品一覧・商品詳細
----------------------------------------------------- */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: var(--sp-lg);
}

.filter-bar__count {
  font-size: 13px;
  color: var(--muted);
}

.filter-bar__count strong {
  font-family: var(--font-num);
}

/* --- 商品詳細 --- */
.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--sp-xl);
  align-items: start;
}

.product-detail__gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-subtle);
}

.product-detail__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.product-detail__thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--r-md);
  cursor: pointer;
  border: 2px solid transparent;
  background: var(--surface);
}

.product-detail__thumbs img:hover {
  border-color: var(--primary);
}

.product-detail__name {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  margin: 6px 0;
}

.product-detail__price {
  margin: 14px 0 4px;
}

.product-detail__price .price-now {
  font-size: 30px;
}

.product-detail__tax {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}

.product-detail__desc {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 18px;
}

/* 数量セレクタ（ピル型） */
.qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line-dark);
  border-radius: var(--r-full);
  overflow: hidden;
  margin-right: 12px;
}

.qty button {
  width: 42px;
  height: 42px;
  border: none;
  background: var(--surface);
  font-size: 18px;
  cursor: pointer;
  color: var(--ink);
}

.qty button:hover {
  background: var(--primary-pale);
  color: var(--primary);
}

.qty input {
  width: 48px;
  height: 42px;
  border: none;
  text-align: center;
  font-family: var(--font-num);
  font-size: 16px;
  font-weight: 600;
  background: var(--surface);
}

.product-detail__cartrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.product-detail__notice {
  font-size: 12.5px;
  color: var(--muted);
}

/* スペック表 */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--surface);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.spec-table th,
.spec-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px 18px;
  text-align: left;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table th {
  background: var(--bg);
  color: var(--muted);
  font-weight: 600;
  width: 30%;
  white-space: nowrap;
}

/* -----------------------------------------------------
   15. カート
----------------------------------------------------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--sp-xl);
  align-items: start;
}

.cart-items {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  align-items: center;
}

.cart-item + .cart-item {
  border-top: 1px solid var(--line);
}

.cart-item__photo {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: var(--r-md);
  flex-shrink: 0;
  background: var(--bg);
}

.cart-item__name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
}

.cart-item__variant {
  font-size: 12.5px;
  color: var(--muted);
}

.cart-item__price {
  font-family: var(--font-num);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-left: auto;
  white-space: nowrap;
}

.cart-item__remove {
  font-size: 12px;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}

.cart-item__remove:hover {
  color: var(--error);
}

/* 注文サマリー */
.cart-summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 96px;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 7px 0;
}

.cart-summary__row strong {
  font-family: var(--font-num);
}

.cart-summary__total {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.cart-summary__total strong {
  font-family: var(--font-num);
  font-size: 24px;
  color: var(--primary-active);
}

.cart-summary .btn {
  width: 100%;
  margin-top: 16px;
}

.cart-summary__note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}

/* プロモコード（Space Mono風＝等幅） */
.promo-code {
  font-family: "Space Mono", monospace;
  background: var(--bg);
  border: 1px dashed var(--line-dark);
  border-radius: var(--r-sm);
  padding: 2px 10px;
  font-size: 13px;
  color: var(--cyan-dark);
}

/* -----------------------------------------------------
   16. ガイド・FAQ・フォーム類
----------------------------------------------------- */

/* ガイド（写真＋本文の交互） */
.guide-block {
  display: flex;
  gap: var(--sp-xl);
  align-items: center;
  padding: var(--sp-xl) 0;
}

.guide-block + .guide-block {
  border-top: 1px solid var(--line);
}

.guide-block:nth-child(even) {
  flex-direction: row-reverse;
}

.guide-block__photo {
  width: 42%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-subtle);
}

.guide-block__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.guide-block__text {
  font-size: 14.5px;
  margin-bottom: 12px;
}

.check-list li {
  position: relative;
  font-size: 14px;
  padding-left: 24px;
  margin-bottom: 6px;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* 案内ボックス */
.notice-box {
  background: var(--primary-pale);
  border-radius: var(--r-lg);
  padding: 22px 26px;
  font-size: 14px;
}

.notice-box__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-active);
  margin-bottom: 6px;
}

/* FAQ */
.faq-group {
  margin-bottom: var(--sp-xxl);
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item__q {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 16px 48px 16px 48px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__q::before {
  content: "Q";
  position: absolute;
  left: 18px;
  font-family: var(--font-num);
  font-weight: 700;
  color: var(--primary);
}

.faq-item__q::after {
  content: "+";
  position: absolute;
  right: 18px;
  font-size: 20px;
  font-weight: 400;
  color: var(--primary);
}

.faq-item[open] .faq-item__q::after {
  content: "\2212";
}

.faq-item__a {
  padding: 0 20px 16px 48px;
  font-size: 14px;
  color: var(--text);
}

/* 概要テーブル */
.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--surface);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.company-table th,
.company-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 18px;
  text-align: left;
  vertical-align: top;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

.company-table th {
  background: var(--bg);
  color: var(--muted);
  width: 28%;
  font-weight: 600;
}

/* -----------------------------------------------------
   17. レスポンシブ
----------------------------------------------------- */

/* === タブレット（〜1100px） === */
@media (max-width: 1100px) {
  .product-grid,
  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* === ナビ折りたたみ（〜1024px） === */
@media (max-width: 1024px) {
  .header__menu-btn {
    display: flex;
  }

  .gnav {
    display: none;
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--surface);
    z-index: 99;
    border-top: 1px solid var(--line);
    overflow-y: auto;
  }

  .gnav.is-open {
    display: block;
  }

  .gnav__list {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 24px;
  }

  .gnav__list a {
    padding: 15px 4px;
    font-size: 16px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }
}

/* === スマホ（〜768px） === */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 76px;
  }

  .header__inner {
    padding: 0 16px;
    height: 60px;
  }

  .gnav {
    inset: 60px 0 0 0;
  }

  .logo__name {
    font-size: 17px;
  }

  /* --- ヒーロー --- */
  .hero {
    padding: 12px 16px 0;
  }

  .hero__banner {
    min-height: 420px;
    align-items: flex-end;
  }

  .hero__banner::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.88) 55%);
  }

  .hero__copy {
    padding: 24px 22px 28px;
  }

  .hero__title {
    font-size: 27px;
  }

  .hero__buttons .btn {
    width: 100%;
  }

  /* --- セクション --- */
  .section {
    padding: 40px 0;
  }

  .section__inner {
    padding: 0 16px;
  }

  .section__title {
    font-size: 21px;
  }

  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 10px;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .feature-banner__copy {
    padding: 28px 22px;
  }

  .feature-banner__title {
    font-size: 22px;
  }

  /* --- 下層 --- */
  .page-header {
    padding: 20px 16px 4px;
  }

  .page-header__title {
    font-size: 22px;
  }

  .breadcrumb {
    padding: 12px 16px 0;
  }

  .guide-block,
  .guide-block:nth-child(even) {
    flex-direction: column;
  }

  .guide-block__photo {
    width: 100%;
  }

  .product-detail__cartrow .btn--lg {
    width: 100%;
  }

  .cart-item {
    flex-wrap: wrap;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-lg);
    padding: 0 16px var(--sp-lg);
  }

  .cta-band {
    padding: 48px 16px;
  }

  .cta-band__buttons .btn {
    width: 100%;
  }
}
