/**
 * brand.css — ブランド共有コンポーネント（hikari デザイン言語）
 *
 * トップページ index.twig 由来の hk-* 部品を全ページで再利用するために切り出したもの。
 * セクション枠・見出し・ボタン・カード・バナー・事例・Instagram 等。
 * 色は base-variables.css の --hk-* / --color-* トークンを参照（テーマで切替わる）。
 *
 * ※ HERO 専用（.hk-hero / .hk-scroll-hint）と背景/ヘッダーのダーク上書きは
 *    トップ固有 or theme-dark.css 側の責務のため、ここには含めない。
 */

/* =========================================================
   タイポグラフィ統一（全ページ共通の文字システム）
   ---------------------------------------------------------
   バラバラなインライン指定を「2フォントの明確なシステム」に揃える。
   - 見出し・商品名 = Noto Serif JP（ブランドの“声”）
   - 本文・UI・ラベル・ボタン・価格 = Noto Sans JP
   - 装飾ラテン = Cormorant（.hk-latin / .shop-eyebrow）
   サイズは各コンポーネント任せ（レイアウト維持）、家族・太さ・字間・行間を統一。
   _theme_shop / _theme_dark の両方が brand.css を読むため全テーマで一貫する。
   ========================================================= */
main h1, main h2, main h3, main h4,
.ec-headingTitle, .shop-title,
.cart-modal-title, .cart-modal-product-name, .cart-item-name,
.product-name, .product-title, .product_item .item_name {
  font-family: "Noto Serif JP", serif !important;
  font-weight: 600;
  letter-spacing: .03em;
  line-height: 1.5;
}
main, main p, main li, main dd, main dt, main span, main a,
main label, main input, main select, main textarea, main th, main td,
main button, .btn, .hk-btn,
.cart-item-option, .cart-modal-product-detail,
[class*="-price"], [class*="-badge"], [class*="-label"], [class*="-meta"] {
  font-family: "Noto Sans JP", sans-serif;
}
main { line-height: 1.8; letter-spacing: .01em; }
/* 価格・数値は整然と（等幅数字） */
.price, [class*="-price"], .cart-modal-product-price,
.product_item .price02_default__wrap, .ec-price__price {
  font-family: "Noto Sans JP", sans-serif !important;
  font-feature-settings: "tnum";
  letter-spacing: .01em;
}
/* Remixicon のクラス名が -price/-badge/-label/-meta を含む場合（例: ri-price-tag-3-line）に
   上の汎用フォント指定へ誤マッチして豆腐化するのを防ぐ（i 要素 + 属性で特異度を上回らせる） */
i[class^="ri-"], i[class*=" ri-"] {
  font-family: 'remixicon' !important;
}
/* 見出し内のインライン家族指定に負けないよう、見出し直下の span も継承させる */
main h1 span, main h2 span, main h3 span { font-family: inherit; }

/* ===== セクション枠 ===== */
.hk-wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.hk-sec { padding: clamp(64px, 10vw, 120px) 0; position: relative; }
.hk-veil { background: var(--hk-veil); backdrop-filter: blur(3px);
  border-top: 1px solid rgba(255, 255, 255, 0.04); border-bottom: 1px solid rgba(0, 0, 0, 0.3); }

/* ===== 見出し ===== */
.hk-sec-head { text-align: center; margin-bottom: 48px; }
.hk-latin { font-family: var(--font-decorative); letter-spacing: .4em; text-indent: .4em;
  text-transform: uppercase; color: var(--hk-mute); }
.hk-sec-head .hk-latin { font-size: 13px; display: block; margin-bottom: 12px; }
.hk-sec-head h2 { font-family: "Noto Serif JP", serif; font-weight: 300;
  font-size: clamp(26px, 4.4vw, 40px); letter-spacing: .08em; color: var(--hk-ink); }
.hk-sec-head .hk-lead { margin: 16px auto 0; max-width: 30em; font-weight: 300; line-height: 1.95;
  font-size: clamp(13px, 1.9vw, 14.5px); color: #cabfac; }

/* ===== ボタン（サイト共通の1系統） ===== */
.hk-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 2.2em; }
.hk-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 10px; padding: 15px 32px;
  font-weight: 700; font-size: 14.5px; text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease; }
.hk-btn--primary { background: var(--hk-gold); color: #1c1404; box-shadow: 0 8px 30px rgba(255, 194, 77, 0.35); }
.hk-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(255, 194, 77, 0.5); }
.hk-btn--ghost { border: 1px solid rgba(255, 255, 255, 0.32); color: var(--hk-ink); }
.hk-btn--ghost:hover { border-color: var(--hk-gold-soft); color: var(--hk-gold-soft); }

/* ===== 価値訴求（3カラム等） ===== */
.hk-vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hk-val { text-align: center; padding: 34px 24px; border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px; background: rgba(255, 255, 255, 0.02); }
.hk-val .hk-n { font-family: "Noto Sans JP", sans-serif; font-weight: 700; font-size: 26px; color: var(--hk-gold); margin-bottom: 10px; letter-spacing: .04em; }
.hk-val h3 { font-family: "Noto Serif JP", serif; font-weight: 500; font-size: 19px; color: var(--hk-ink); margin-bottom: 8px; }
.hk-val p { font-size: 13.5px; color: #bdb3a1; font-weight: 300; line-height: 1.9; }

/* ===== カード/グリッド（商品・汎用） ===== */
.hk-grid { display: grid; gap: 18px; }
.hk-prod-grid { grid-template-columns: repeat(4, 1fr); }
.hk-card { border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; overflow: hidden;
  background: rgba(255, 255, 255, 0.02); transition: transform .2s ease, border-color .2s ease; }
.hk-card:hover { transform: translateY(-4px); border-color: rgba(255, 194, 77, 0.4); }
.hk-thumb { aspect-ratio: 4/3; position: relative; overflow: hidden; background: #0c0c14; }
.hk-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.hk-card:hover .hk-thumb img { transform: scale(1.06); }
.hk-prod-thumb { aspect-ratio: 1; }
.hk-card .hk-body { padding: 16px 16px 18px; }
.hk-card .hk-nm { font-family: "Noto Serif JP", serif; font-size: 13.5px; font-weight: 400; line-height: 1.6;
  color: #e9dfcc; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hk-card .hk-pr { margin-top: 8px; font-family: "Noto Sans JP", sans-serif; font-weight: 600; font-size: 16px; color: var(--hk-gold); }
.hk-card .hk-tag { display: inline-block; font-size: 11px; color: #1c1404; background: var(--hk-gold-soft);
  border-radius: 4px; padding: 2px 8px; margin-bottom: 8px; font-weight: 700; }

/* ===== 最終CTA ===== */
.hk-final { text-align: center; }
.hk-final h2 { font-family: "Noto Serif JP", serif; font-weight: 200; font-size: clamp(28px, 5.5vw, 52px);
  letter-spacing: .12em; line-height: 1.3; color: var(--hk-ink); text-shadow: 0 0 30px rgba(255, 200, 120, 0.3); }
.hk-final .hk-final-lead { margin-top: 1.2em; color: #cabfac; font-weight: 300; line-height: 2; font-size: clamp(13px, 2vw, 15px); }

/* ===== スクロールリビール ===== */
.hk-reveal { opacity: 0; transform: translateY(24px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.16, 1, .3, 1); }
.hk-reveal.hk-in { opacity: 1; transform: none; }

/* ===== 特価セールバナー ===== */
.hk-salebar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(135deg, #7f1d1d 0%, #b91c1c 50%, #7f1d1d 100%); color: #fff; text-decoration: none;
  padding: 14px 24px; border-radius: 12px; box-shadow: 0 10px 34px rgba(185, 28, 28, 0.32);
  transition: transform .15s ease, box-shadow .2s ease; }
.hk-salebar:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(185, 28, 28, 0.5); }
.hk-salebar .hk-sale-l { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hk-salebar .hk-sale-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, 0.16);
  padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.hk-salebar .hk-sale-pill i { color: #fde047; }
.hk-salebar .hk-sale-txt { font-weight: 600; font-size: 15px; }
.hk-salebar .hk-sale-more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; white-space: nowrap; }

/* ===== プロモバナー（コード化・モダン） =====
   JPG焼き込みの素人バナーを置き換える。クリーンな写真を背景に、
   グラデscrim＋セリフ見出し＋金アクセント＋1CTA。Retinaで常にシャープ。 */
.promo-banner {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  min-height: 210px; padding: 30px 34px; border-radius: 16px; overflow: hidden;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  transition: transform .3s ease, box-shadow .3s ease;
}
.promo-banner img.pb-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  transition: transform .5s ease;
}
.promo-banner::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(8, 8, 14, 0.88) 0%, rgba(8, 8, 14, 0.6) 46%, rgba(8, 8, 14, 0.12) 100%);
}
.promo-banner > .pb-eyebrow, .promo-banner > .pb-title,
.promo-banner > .pb-sub, .promo-banner > .pb-cta { position: relative; z-index: 2; }
.promo-banner:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3); }
.promo-banner:hover img.pb-bg { transform: scale(1.05); }
.promo-banner .pb-eyebrow {
  font-family: var(--font-decorative); letter-spacing: .28em; text-indent: .28em;
  text-transform: uppercase; font-size: 12px; color: var(--hk-gold-soft); margin-bottom: 10px;
}
.promo-banner .pb-title {
  font-family: "Noto Serif JP", serif; font-weight: 500; letter-spacing: .03em;
  font-size: clamp(20px, 2.3vw, 27px); line-height: 1.4; color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}
.promo-banner .pb-title b { color: #ffd873; font-weight: 700; }
.promo-banner .pb-sub {
  margin-top: 9px; max-width: 30em; font-size: 13.5px; font-weight: 300; line-height: 1.75;
  color: rgba(255, 255, 255, .85); text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
}
.promo-banner .pb-cta {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 18px;
  padding: 11px 22px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .42);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.promo-banner:hover .pb-cta { background: var(--hk-gold); border-color: var(--hk-gold); color: #1c1404; }

/* ===== 訴求バナー（画像バナー） ===== */
.hk-banners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.hk-banner { display: block; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4); transition: transform .2s ease, box-shadow .2s ease; }
.hk-banner:hover { transform: translateY(-3px); box-shadow: 0 14px 42px rgba(0, 0, 0, 0.6); }
.hk-banner img { width: 100%; height: auto; display: block; }

/* ===== 設置事例 ===== */
.hk-cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.hk-case { position: relative; display: block; text-decoration: none; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08); aspect-ratio: 16/10; }
.hk-case img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hk-case:hover img { transform: scale(1.05); }
.hk-case-cap { position: absolute; inset: auto 0 0 0; padding: 30px 22px 18px;
  background: linear-gradient(180deg, rgba(5, 5, 10, 0) 0%, rgba(5, 5, 10, 0.86) 100%); }
.hk-case-cap h3 { font-family: "Noto Serif JP", serif; font-weight: 500; font-size: 16px; color: #fff; letter-spacing: .04em; }
.hk-case-cap p { margin-top: 6px; font-size: 12.5px; color: #d8cfbe; font-weight: 300; line-height: 1.7; }
.hk-stats { display: flex; justify-content: center; gap: 36px; margin-top: 32px; flex-wrap: wrap; }
.hk-stat { text-align: center; }
.hk-stat i { font-size: 26px; color: var(--hk-gold); }
.hk-stat span { display: block; margin-top: 8px; font-size: 13px; letter-spacing: .1em; color: var(--hk-gold-soft); }

/* ===== Instagram 埋め込み ===== */
.hk-ig-grid { display: grid; grid-template-columns: 1fr; gap: 20px; justify-items: center; }
.hk-ig-item { width: 100%; max-width: 380px; }
.hk-ig-item .instagram-media { margin: 0 auto !important; min-width: 0 !important; width: 100% !important; max-width: 100% !important; }
@media (min-width: 768px) { .hk-ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin: 0 auto; } }

/* ===== レスポンシブ ===== */
@media (max-width: 820px) {
  .hk-vals { grid-template-columns: 1fr; }
  .hk-prod-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hk-banners, .hk-cases { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hk-reveal { opacity: 1; transform: none; }
}
