/* ============================================
   Petite Étoile - Kids Dress Shop
   "特別な日の１着を安心して選べる店"
   白基調 × 柔らかい高級感 × 余白デザイン
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --white: #ffffff;
  --off-white: #faf9f7;
  --cream: #f5f0eb;
  --beige: #e8ddd3;
  --beige-light: #f0e8df;
  --gold: #c9a96e;
  --gold-light: #d4ba8a;
  --gold-dark: #b08d4f;
  --charcoal: #3a3a3a;
  --dark: #2c2c2c;
  --text-main: #4a4a4a;
  --text-light: #8a8a8a;
  --text-lighter: #b0b0b0;
  --pink-soft: #e8c4c4;
  --pink-bg: #fdf5f5;
  --fav-pink: #f4a7c0;
  --fav-pink-dark: #ee8caf;
  --fav-pink-bg: #fdf0f4;
  --border-light: #e8e4e0;
  --shadow-soft: rgba(0, 0, 0, 0.04);
  --shadow-medium: rgba(0, 0, 0, 0.08);

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Noto Serif JP', serif;
  --font-body: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
  --font-accent: 'Cormorant Garamond', serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;

  /* Transitions（高速化：0.4→0.22s / 0.25→0.15s） */
  --transition-smooth: transform 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.22s ease, opacity 0.22s ease;
  --transition-fast: transform 0.15s ease, opacity 0.15s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.8;
  letter-spacing: 0.03em;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

/* 見出しは行末に1〜2文字だけ取り残される不格好な改行を避け、
   複数行になる場合は各行の文字数バランスを揃える（対応ブラウザのみ有効、非対応でも従来通り表示）。
   ※ word-break: keep-all は日本語の長文で改行位置が無くなり要素が横に伸びる重大な不具合を
   起こすため使用しない。見出しなど短いテキストに限定して text-wrap: balance のみを適用する。 */
h1, h2, h3, h4,
.section-title, .hero-content h1,
.sns-banner h2, .sg-heading h2, .sg-line-banner h3 {
  text-wrap: balance;
}

/* 本文・説明文は「禁則処理」を強化し、行末の句読点や単語の孤立を減らす */
p {
  text-wrap: pretty;
  overflow-wrap: break-word;
}

/* トップページ ヒーロー見出し：スマホの狭い画面幅でも改行させず必ず1行で収める。
   画面幅に応じてフォントサイズを自動縮小することで、横はみ出し・横スクロールを防止する。
   ※ .hero-content h1 の既存ルール（詳細度が高い）や見出し共通の text-wrap: balance に
   上書きされないよう、詳細度を上げた上で white-space / text-wrap を明示的に固定する。 */
h1.hero-title-line,
.hero-content h1.hero-title-line,
h2.hero-title-line,
.sns-banner h2.hero-title-line {
  white-space: nowrap !important;
  text-wrap: nowrap !important;
  font-size: clamp(0.72rem, 4.6vw, 1.8rem);
  line-height: 1.4;
  letter-spacing: 0.02em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* --- Typography --- */
.section-label {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--dark);
  letter-spacing: 0.05em;
  line-height: 1.3;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 2;
  max-width: 600px;
}

.text-center {
  text-align: center;
}

.section-subtitle.text-center {
  margin-left: auto;
  margin-right: auto;
}

/* --- Header / Navigation --- */
.announcement-bar {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.announcement-bar a {
  color: var(--gold-light);
  text-decoration: underline;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

header.scrolled {
  box-shadow: 0 2px 20px var(--shadow-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img.logo-img {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
  /* 黒背景PNGを白背景に馴染ませる */
  mix-blend-mode: multiply;
  transition: opacity 0.25s ease;
}

.logo img.logo-img:hover {
  opacity: 0.8;
}

/* フッター用ロゴ */
.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-brand .logo img.logo-img {
  height: 56px;
  /* フッター背景はoff-whiteなのでmultiplyで馴染む */
  mix-blend-mode: multiply;
}

.logo span {
  display: none;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav > li {
  position: relative;
}

.main-nav > li > a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-main);
  padding: 8px 0;
  position: relative;
}

.main-nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition-smooth);
}

.main-nav > li > a:hover::after,
.main-nav > li > a.active::after {
  width: 100%;
}

.main-nav > li > a:hover {
  color: var(--gold-dark);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown > a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
  transition: var(--transition-fast);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  min-width: 200px;
  padding: 16px 0;
  border: 1px solid var(--border-light);
  box-shadow: 0 12px 40px var(--shadow-medium);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  z-index: 100;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 8px;
  background: var(--white);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  border-top: 1px solid var(--border-light);
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  top: calc(100% + 8px);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 28px;
  font-size: 0.8rem;
  color: var(--text-main);
  letter-spacing: 0.05em;
  transition: var(--transition-fast);
}

.dropdown-menu li a:hover {
  background: var(--cream);
  color: var(--gold-dark);
  padding-left: 34px;
}

/* Header Right */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-actions a, .header-actions button {
  color: var(--text-main);
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.header-actions a:hover, .header-actions button:hover {
  color: var(--gold);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--dark);
  transition: var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 85vh;
  min-height: 500px;
  max-height: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg2.jpg') right center / cover no-repeat;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  /* 左側テキストエリアを明るく保ち、右側の女の子を活かすグラデーション */
  background: linear-gradient(
    to right,
    rgba(255, 245, 240, 0.82) 0%,
    rgba(255, 245, 240, 0.55) 45%,
    rgba(255, 245, 240, 0.10) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
  padding: 40px 48px;
  max-width: 600px;
  align-self: center;
  margin-left: 4vw;
}

.hero-content .section-label {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.2s both;
  color: var(--gold-dark);
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);
  font-weight: 400;
  color: var(--dark);
  letter-spacing: 0.06em;
  line-height: 1.45;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.4s both;
  text-shadow: 0 1px 8px rgba(255,255,255,0.6);
}

.hero-content p {
  font-size: 0.88rem;
  color: var(--text-main);
  letter-spacing: 0.08em;
  margin-bottom: 40px;
  line-height: 2;
  animation: fadeInUp 0.8s ease 0.6s both;
  text-shadow: 0 1px 4px rgba(255,255,255,0.8);
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.8s both;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: 0;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--dark);
  color: var(--white);
  border: 1px solid var(--dark);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--dark);
}

.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold);
}

.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 169, 110, 0.3);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.72rem;
}

.btn-lg {
  padding: 18px 48px;
  font-size: 0.82rem;
}

/* --- Section Shared --- */
section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.bg-cream {
  background: var(--cream);
}

.bg-off-white {
  background: var(--off-white);
}

/* Decorative line */
.deco-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 16px auto;
}

/* --- New Arrival Section --- */
.new-arrival-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  transition: var(--transition-smooth);
  will-change: transform;
  contain: layout style;
}

.product-card:hover {
  box-shadow: 0 12px 40px var(--shadow-medium);
  transform: translateY(-4px);
}

.product-card-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--cream);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

/* ===== サムネイルホバー：クロスフェード用レイヤー ===== */
.product-card-image .img-hover-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  transform: none !important; /* カードホバーのscaleを無効化 */
}

.product-card-image .img-hover-layer.visible {
  opacity: 1;
}

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  text-transform: uppercase;
}

.product-card-quick {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 14px;
  transform: translateY(100%);
  transition: var(--transition-smooth);
  text-align: center;
}

.product-card:hover .product-card-quick {
  transform: translateY(0);
}

.product-card-quick a {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dark);
  font-weight: 500;
}

.product-card-quick a:hover {
  color: var(--gold);
}

.product-card-info {
  padding: 20px 8px;
  text-align: center;
}

.product-card-info h3 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--dark);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.product-card-info .product-category {
  font-size: 0.68rem;
  color: var(--text-lighter);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-card-info .product-price {
  font-family: var(--font-accent);
  font-size: 1rem;
  color: var(--gold-dark);
  letter-spacing: 0.05em;
}

.product-card-info .product-price .original-price {
  text-decoration: line-through;
  color: var(--text-lighter);
  font-size: 0.85rem;
  margin-left: 8px;
}

.tax-label {
  font-size: 0.72rem;
  color: var(--text-lighter);
  font-family: var(--font-body);
  letter-spacing: 0;
  margin-left: 3px;
  margin-right: 4px;
}

/* =====================================================
   お気に入り（Favorites）
===================================================== */

/* ヘッダーのハートアイコン */
.fav-header-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s;
}
.fav-header-btn:hover,
.fav-header-btn.active { color: var(--fav-pink); }
.fav-header-btn i { font-size: 1.1rem; }

/* 件数バッジ */
.fav-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--fav-pink);
  color: #fff;
  font-size: 0.65rem;
  font-family: var(--font-body);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
}

/* 商品カード上のハートボタン */
.fav-btn-card {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.88);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 1rem;
  transition: color 0.2s, background 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.fav-btn-card:hover { color: var(--fav-pink); background: #fff; }
.fav-btn-card.fav-active { color: var(--fav-pink); }

/* 商品詳細ページのハートボタン（薄いピンク・ホバー時も同色を維持）
   ※ .btn-outline:hover の黒背景（background: var(--dark)）を
     上書きするため background も明示的に指定する */
.fav-btn {
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.15s;
}
.fav-btn:hover,
.fav-btn:focus {
  background: var(--fav-pink-bg, #fdf0f4);
  color: var(--fav-pink);
  border-color: var(--fav-pink);
}
.fav-btn.fav-active i { color: var(--fav-pink); }
.fav-btn.fav-active { border-color: var(--fav-pink); color: var(--fav-pink); }
.fav-btn.fav-active:hover,
.fav-btn.fav-active:focus {
  background: var(--fav-pink-bg, #fdf0f4);
  color: var(--fav-pink);
  border-color: var(--fav-pink);
}

/* ぷるんアニメーション */
@keyframes fav-pop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.35); }
  70%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}
.fav-pop { animation: fav-pop 0.35s ease forwards; }

/* トースト通知 */
#fav-toast {
  position: fixed;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(40,40,40,0.88);
  color: #fff;
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 0.84rem;
  font-family: var(--font-body);
  white-space: nowrap;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}
#fav-toast.fav-toast-show { opacity: 1; }
#fav-toast.fav-toast-hide { opacity: 0; }

/* お気に入りページ ヒーロー */
.wishlist-hero {
  padding: 80px 0 48px;
  text-align: center;
  background: var(--cream, #fdf8f4);
  border-bottom: 1px solid var(--border-light, #f0e8e0);
}
.wishlist-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 400;
  color: var(--dark);
  margin: 8px 0 12px;
}
.wishlist-hero p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* --- Skeleton Loading (新作コレクション) --- */
@keyframes skeleton-shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skeleton-card {
  pointer-events: none;
}
.skeleton-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 800px 100%;
  animation: skeleton-shimmer 1.4s infinite linear;
  margin-bottom: 14px;
}
.skeleton-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 800px 100%;
  animation: skeleton-shimmer 1.4s infinite linear;
  margin-bottom: 10px;
}
.skeleton-line.w70 { width: 70%; }
.skeleton-line.w50 { width: 50%; }
.skeleton-line.w40 { width: 40%; }

/* --- Concept Section --- */
.concept-section {
  position: relative;
  background-image: url('../images/concept-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.concept-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 251, 251, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 0;
}

.concept-section .container {
  position: relative;
  z-index: 1;
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.concept-item {
  text-align: center;
  padding: 40px 24px;
}

.concept-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--beige);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.2rem;
}

.concept-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.concept-item p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 2;
}

/* --- Instagram Feed Section --- */
.instagram-section {
  padding: 80px 0;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.instagram-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.instagram-item::after {
  content: '\f16d';
  font-family: 'Font Awesome 6 Brands';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  color: var(--white);
  font-size: 1.4rem;
  opacity: 0;
  transition: var(--transition-smooth);
}

.instagram-item:hover img {
  transform: scale(1.1);
}

.instagram-item:hover::after {
  opacity: 1;
}

/* Instagram プレースホルダー（画像未設定時） */
.instagram-item.instagram-placeholder {
  background: linear-gradient(135deg, var(--cream) 0%, var(--beige-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.insta-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  transition: var(--transition-smooth);
}

.insta-placeholder-inner i {
  font-size: 2rem;
}

.insta-placeholder-inner span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-light);
  font-family: var(--font-body);
}

.instagram-item.instagram-placeholder:hover .insta-placeholder-inner {
  transform: scale(1.1);
  color: #e1306c;
}

.instagram-cta {
  text-align: center;
  margin-top: 40px;
}

.instagram-handle {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  color: var(--dark);
  letter-spacing: 0.05em;
}

.instagram-handle i {
  color: var(--gold);
  margin-right: 8px;
}

/* --- Order Flow Section --- */
.order-flow {
  padding: var(--section-padding);
  position: relative;
  background-image: url('../images/concept-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.order-flow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 251, 251, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 0;
}

.order-flow .container {
  position: relative;
  z-index: 1;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.flow-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: var(--beige);
}

.flow-step {
  text-align: center;
  position: relative;
}

.flow-step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.flow-step-number span {
  font-family: var(--font-accent);
  font-size: 1.6rem;
  color: var(--gold);
}

.flow-step h3 {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.flow-step p {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* --- LINE & SNS CTA Banner --- */
.sns-banner {
  background: var(--dark);
  padding: 60px 24px;
  text-align: center;
  color: var(--white);
}

.sns-banner h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.sns-banner p {
  font-size: 0.82rem;
  color: var(--text-lighter);
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}

.sns-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-line {
  background: #06C755;
  color: var(--white);
  border: 1px solid #06C755;
}

.btn-line:hover {
  background: #05b04c;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 199, 85, 0.3);
}

/* LINE購入・お問い合わせボタン（商品詳細ページ）
   ─ ホバー時も同じLINE公式グリーンを維持する */
.btn-line-primary {
  background: #06C755;
  color: var(--white);
  border: 1px solid #06C755;
}

.btn-line-primary:hover,
.btn-line-primary:focus {
  background: #06C755;
  border-color: #06C755;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 199, 85, 0.3);
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: var(--white);
  border: none;
}

.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 39, 67, 0.3);
}

/* --- Footer --- */
footer {
  background: var(--off-white);
  padding: 80px 0 0;
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 2;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.footer-nav h4 {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 20px;
  font-weight: 500;
}

.footer-nav li {
  margin-bottom: 12px;
}

.footer-nav li a {
  font-size: 0.8rem;
  color: var(--text-light);
  transition: var(--transition-fast);
}

.footer-nav li a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.7rem;
  color: var(--text-lighter);
  letter-spacing: 0.1em;
}

/* --- Product Detail Page --- */
.product-detail {
  padding: 60px 0 100px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 100px;
}

.product-main-image {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--cream);
  margin-bottom: 12px;
}

.product-main-image img,
.product-main-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.product-thumbnails .thumb {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-fast);
}

.product-thumbnails .thumb.active,
.product-thumbnails .thumb:hover {
  border-color: var(--gold);
}

.product-thumbnails .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding-top: 20px;
}

.product-info .breadcrumb {
  font-size: 0.72rem;
  color: var(--text-lighter);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.product-info .breadcrumb a:hover {
  color: var(--gold);
}

.product-info h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.product-info .product-code {
  font-size: 0.72rem;
  color: var(--text-lighter);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.product-info .product-price-detail {
  font-family: var(--font-accent);
  font-size: 1.6rem;
  color: var(--dark);
  margin-bottom: 32px;
  letter-spacing: 0.03em;
}

.product-info .product-price-detail small {
  font-size: 0.7rem;
  font-family: var(--font-body);
  color: var(--text-light);
}

.product-description {
  font-size: 0.85rem;
  color: var(--text-main);
  line-height: 2;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
}

/* Size Selector */
.size-selector {
  margin-bottom: 32px;
}

.size-selector h4 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.size-selector h4 a {
  font-size: 0.7rem;
  color: var(--gold);
  text-decoration: underline;
}

.size-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.size-option {
  width: 56px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  font-size: 0.78rem;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-fast);
}

.size-option:hover,
.size-option.active {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--white);
}

.size-option.out-of-stock {
  color: var(--text-lighter);
  text-decoration: line-through;
  cursor: not-allowed;
}

/* Color Selector */
.color-selector {
  margin-bottom: 32px;
}

.color-selector h4 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.color-options {
  display: flex;
  gap: 12px;
}

.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
}

.color-swatch::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: var(--transition-fast);
}

.color-swatch:hover::after,
.color-swatch.active::after {
  border-color: var(--dark);
}

.product-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.product-actions .btn {
  flex: 1;
}

/* LINE問い合わせ導線の補足テキスト */
.line-inquiry-hint {
  font-size: 0.74rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: -10px 0 20px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.line-inquiry-hint i {
  color: var(--gold);
  margin-top: 2px;
  flex-shrink: 0;
}

/* LINEお問い合わせ QRコードモーダル（PC向け） */
.line-qr-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.line-qr-modal.active {
  display: flex;
}

.line-qr-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 16, 0.6);
  animation: fadeIn 0.25s ease;
}

.line-qr-modal-content {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  padding: 36px 32px 28px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  animation: qrModalPop 0.25s ease;
}

@keyframes qrModalPop {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

.line-qr-modal-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 12px;
}

.line-qr-modal-desc {
  font-size: 0.82rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 24px;
}

.line-qr-code-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  margin-bottom: 20px;
  min-height: 276px;
}

.line-qr-code-wrap img,
.line-qr-code-wrap canvas {
  display: block;
}

.line-qr-modal-note {
  font-size: 0.72rem;
  color: var(--text-light);
  line-height: 1.6;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.line-qr-modal-note i {
  color: var(--gold);
  margin-top: 2px;
  flex-shrink: 0;
}

.line-qr-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--off-white);
  border-radius: 50%;
  color: var(--text-light);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.line-qr-modal-close:hover {
  background: var(--cream);
  color: var(--dark);
}

/* Payment Info Box（お支払い方法のご案内） */
.payment-info-box {
  padding: 16px 20px;
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  margin-bottom: 24px;
}

.payment-info-text {
  font-size: 0.8rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 12px;
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 30px;
  padding: 0 10px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-size: 1.3rem;
  color: var(--text-light);
}

.payment-badge-bank {
  font-size: 0.72rem;
  color: var(--text-main);
  font-weight: 500;
  gap: 4px;
}

.payment-badge-bank i {
  font-size: 0.9rem;
  color: var(--gold);
}

/* クレジットカードブランドの公式カラー */
.payment-icon-visa       { color: #1A1F71; } /* VISA：ネイビーブルー */
.payment-icon-mastercard { color: #EB001B; } /* Mastercard：レッド（円が重なる中心はオレンジ #F79E1B） */
.payment-icon-jcb        { color: #0E4C96; } /* JCB：ブルー */
.payment-icon-amex       { color: #006FCF; } /* American Express：ブルー */

/* Size Chart Table */
.size-chart {
  margin: 32px 0;
  overflow-x: auto;
}

.size-chart table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.size-chart th {
  background: var(--cream);
  padding: 12px 16px;
  text-align: center;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  border: 1px solid var(--border-light);
}

.size-chart td {
  padding: 10px 16px;
  text-align: center;
  border: 1px solid var(--border-light);
  color: var(--text-main);
}

.size-chart tr:hover td {
  background: var(--off-white);
}

/* 配送料テーブル専用スタイル */
.shipping-chart {
  border: 2px solid #e8a0c0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(180, 80, 120, 0.12);
}

.shipping-chart table {
  background: #fff;
}

.shipping-chart th {
  background: linear-gradient(135deg, #d4638a, #c0507a);
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  border: none;
  padding: 14px 24px;
}

.shipping-chart td {
  background: #fff;
  border: none;
  border-bottom: 1px solid #f5d5e5;
  padding: 12px 24px;
  font-size: 0.85rem;
  color: var(--dark);
}

.shipping-chart td:last-child {
  font-weight: 500;
  color: #c0507a;
}

.shipping-chart tr:last-child td {
  border-bottom: none;
}

.shipping-chart tr:nth-child(even) td {
  background: #fdf0f6;
}

.shipping-chart tr:hover td {
  background: #fce0ee;
}

/* 360 Video Section */
.video-360 {
  margin: 32px 0;
  padding: 32px 0;
  border-top: 1px solid var(--border-light);
}

.video-360 h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--dark);
}

.video-360 .video-container {
  aspect-ratio: 16/9;
  background: var(--cream);
  overflow: hidden;
  position: relative;
}

.video-360 video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Category / Product List Page --- */
.category-hero {
  background: var(--cream);
  padding: 80px 0 60px;
  text-align: center;
}

.category-hero h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--dark);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.category-hero p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* サイズガイドページ専用ヒーロー */
.size-guide-hero {
  position: relative;
  background: none;
  overflow: hidden;
  padding: 100px 0 80px;
}

.size-guide-hero::before {
  content: '';
  position: absolute;
  inset: -10px;
  background-image: url('../images/size-guide-hero-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: blur(1.5px);
  transform: scale(1.02);
  z-index: 0;
}

.size-guide-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 245, 250, 0.45);
  z-index: 1;
}

.size-guide-hero .container {
  position: relative;
  z-index: 2;
}

.size-guide-hero .section-label {
  color: #b5508a;
}

.size-guide-hero h1 {
  color: #3a1a2e;
  text-shadow: 0 2px 12px rgba(255,255,255,0.7);
}

.size-guide-hero p {
  color: #5a3050;
}

/* ご注文からお届けまでページ専用ヒーロー */
.order-hero {
  position: relative;
  background: none;
  overflow: hidden;
  padding: 100px 0 80px;
}

.order-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/order-hero-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: blur(1px);
  transform: scale(1.01);
  z-index: 0;
}

.order-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 242, 245, 0.55);
  z-index: 1;
}

.order-hero .container {
  position: relative;
  z-index: 2;
}

.order-hero .section-label {
  color: #b5508a;
}

.order-hero h1 {
  color: #3a1a2e;
  text-shadow: 0 2px 12px rgba(255,255,255,0.7);
}

.order-hero p {
  color: #5a3050;
}

/* ボーイズコレクションページ専用ヒーロー */
.boys-hero {
  position: relative;
  background: none;
  overflow: hidden;
  padding: 100px 0 80px;
}

.boys-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/boys-hero-bg-new.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: blur(2px);
  transform: scale(1.03);
  z-index: 0;
}

.boys-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(230, 240, 255, 0.50);
  z-index: 1;
}

.boys-hero .container {
  position: relative;
  z-index: 2;
}

.boys-hero .section-label {
  color: #4a6fa5;
}

.boys-hero h1 {
  color: #1a2a3e;
  text-shadow: 0 2px 12px rgba(255,255,255,0.7);
}

.boys-hero p {
  color: #2a3a54;
}

/* ガールズコレクションページ専用ヒーロー */
.girls-hero {
  position: relative;
  background: none;
  overflow: hidden;
  padding: 100px 0 80px;
}

.girls-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/girls-hero-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: blur(4px);
  transform: scale(1.05);
  z-index: 0;
}

.girls-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 235, 245, 0.50);
  z-index: 1;
}

.girls-hero .container {
  position: relative;
  z-index: 2;
}

.girls-hero .section-label {
  color: #b5508a;
}

.girls-hero h1 {
  color: #3a1a2e;
  text-shadow: 0 2px 12px rgba(255,255,255,0.7);
}

.girls-hero p {
  color: #5a3050;
}

/* お問い合わせページ専用ヒーロー */
.contact-hero {
  position: relative;
  background: none;
  overflow: hidden;
  padding: 100px 0 80px;
}

.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/contact-hero-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: blur(4px);
  transform: scale(1.05);
  z-index: 0;
}

.contact-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 240, 248, 0.52);
  z-index: 1;
}

.contact-hero .container {
  position: relative;
  z-index: 2;
}

.contact-hero .section-label {
  color: #b5508a;
}

.contact-hero h1 {
  color: #3a1a2e;
  text-shadow: 0 2px 12px rgba(255,255,255,0.7);
}

.contact-hero p {
  color: #5a3050;
}

/* 店舗アクセスページ専用ヒーロー */
.access-hero {
  position: relative;
  background: none;
  overflow: hidden;
  padding: 100px 0 80px;
}

.access-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/access-hero-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: blur(4px);
  transform: scale(1.05);
  z-index: 0;
}

.access-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 240, 248, 0.55);
  z-index: 1;
}

.access-hero .container {
  position: relative;
  z-index: 2;
}

.access-hero .section-label {
  color: #b5508a;
}

.access-hero h1 {
  color: #3a1a2e;
  text-shadow: 0 2px 12px rgba(255,255,255,0.7);
}

.access-hero p {
  color: #5a3050;
}

/* 検索バー */
.product-search-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 0 0;
  flex-wrap: wrap;
}

.product-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 40px;
  padding: 10px 20px;
  width: 300px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.product-search-bar:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.12);
}

.product-search-bar i {
  color: var(--text-light);
  font-size: 0.85rem;
}

.product-search-bar input {
  border: none;
  outline: none;
  font-size: 0.85rem;
  font-family: var(--font-body);
  color: var(--dark);
  background: transparent;
  width: 100%;
}

.product-search-bar input::placeholder {
  color: #bbb;
}

.search-count {
  font-size: 0.8rem;
  color: var(--text-light);
  background: var(--cream);
  padding: 4px 12px;
  border-radius: 20px;
  display: none;
}

/* 並び替えセレクト */
.sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.sort-label {
  font-size: 0.78rem;
  color: var(--text-light);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.sort-select {
  appearance: none;
  -webkit-appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23aaa' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid var(--border-light);
  border-radius: 40px;
  padding: 9px 36px 9px 16px;
  font-size: 0.82rem;
  font-family: var(--font-body);
  color: var(--dark);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  min-width: 160px;
}

.sort-select:focus,
.sort-select:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.12);
}

/* カラーフィルター */
.color-filter-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 48px;
}

.color-filter-label {
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.color-filter-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.color-filter-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  font-size: 0.78rem;
  font-family: var(--font-body);
  color: var(--text-main);
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.color-filter-btn:hover {
  border-color: var(--gold);
  color: var(--dark);
}

.color-filter-btn.active {
  border-color: var(--gold);
  background: var(--cream);
  color: var(--dark);
  font-weight: 500;
}

/* カラードット（カード内・フィルターボタン内共通） */
.color-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.product-color-dots {
  display: flex;
  gap: 5px;
  margin-top: 6px;
}

.product-color-dots .color-dot {
  width: 13px;
  height: 13px;
}

.category-filters {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 24px 0 0;
  flex-wrap: wrap;
}

.filter-btn {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 8px 16px;
  border-bottom: 2px solid transparent;
  transition: var(--transition-fast);
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--dark);
  border-bottom-color: var(--gold);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

/* --- サブ画像サムネイル（商品カード） --- */
.product-sub-thumbs {
  display: flex;
  gap: 6px;
  padding: 8px 4px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.product-sub-thumbs::-webkit-scrollbar { display: none; }

.sub-thumb-btn {
  flex-shrink: 0;
  width: 48px;
  height: 58px;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: var(--cream);
  padding: 0;
  transition: border-color 0.2s;
}
.sub-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sub-thumb-btn.active,
.sub-thumb-btn:hover {
  border-color: var(--gold);
}

/* 画像枚数バッジ（カード右下） */
.product-gallery-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 0.7rem;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
  z-index: 2;
}
.product-gallery-btn:hover { background: rgba(0,0,0,0.75); }

/* --- 画像ギャラリーモーダル --- */
.gallery-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.gallery-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.gallery-modal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90vw;
  max-width: 720px;
}

.gallery-img-wrap {
  width: 100%;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 4px;
}
.gallery-img-wrap img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
  border-radius: 4px;
  background: #111;
}

.gallery-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s;
  z-index: 10;
}
.gallery-close:hover { opacity: 1; }

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
  z-index: 10;
}
.gallery-nav:hover { background: rgba(255,255,255,0.3); }
.gallery-nav-prev { left: -56px; }
.gallery-nav-next { right: -56px; }

.gallery-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.gallery-dots {
  display: flex;
  gap: 8px;
}
.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.gallery-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}
.gallery-count {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .gallery-nav-prev { left: -4px; }
  .gallery-nav-next { right: -4px; }
  .gallery-nav {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
}

/* --- Blog Page --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  background: var(--white);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-medium);
}

.blog-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--cream);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 24px;
}

.blog-card-date {
  font-size: 0.68rem;
  color: var(--text-lighter);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.blog-card-content h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.6;
}

.blog-card-content p {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form .form-group {
  margin-bottom: 24px;
}

.contact-form label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 8px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  background: var(--white);
  font-size: 0.85rem;
  font-family: var(--font-body);
  color: var(--text-main);
  transition: var(--transition-fast);
  border-radius: 0;
  -webkit-appearance: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

/* 店舗アクセス「ご来店のお客様へ」エリア背景 */
.access-visit-wrap {
  position: relative;
  overflow: hidden;
}

.access-visit-wrap::before {
  content: '';
  position: absolute;
  inset: -10px;
  background-image: url('../images/access-visit-bg.jpg');
  background-size: cover;
  background-position: center center;
  filter: blur(5px);
  transform: scale(1.08);
  z-index: 0;
}

.access-visit-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 245, 250, 0.78);
  z-index: 1;
}

.access-visit-wrap > * {
  position: relative;
  z-index: 2;
}

/* お問い合わせ LINEバナーエリア背景 */
.line-banner-wrap {
  position: relative;
  overflow: hidden;
}

.line-banner-wrap::before {
  content: '';
  position: absolute;
  inset: -10px;
  background-image: url('../images/contact-info-bg.jpg');
  background-size: cover;
  background-position: center center;
  filter: blur(5px);
  transform: scale(1.08);
  z-index: 0;
}

.line-banner-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 245, 250, 0.82);
  z-index: 1;
}

.line-banner-wrap > * {
  position: relative;
  z-index: 2;
}

/* お問い合わせ 店舗情報エリア背景 */
.contact-info-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.contact-info-wrap::before {
  content: '';
  position: absolute;
  inset: -10px;
  background-image: url('../images/contact-info-bg.jpg');
  background-size: cover;
  background-position: center center;
  filter: blur(5px);
  transform: scale(1.08);
  z-index: 0;
}

.contact-info-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 245, 250, 0.78);
  z-index: 1;
}

.contact-info-wrap > * {
  position: relative;
  z-index: 2;
}

.contact-info-card {
  padding: 40px;
  background: transparent;
}

.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-info-item i {
  color: var(--gold);
  margin-top: 4px;
  width: 20px;
  text-align: center;
}

.contact-info-item p {
  font-size: 0.85rem;
  color: var(--text-main);
  line-height: 1.8;
}

/* --- Access Page --- */
.access-map {
  width: 100%;
  height: 400px;
  background: var(--cream);
  margin-bottom: 48px;
}

.access-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Size Guide Page --- */
.size-guide-content {
  max-width: 800px;
  margin: 0 auto;
}

.size-guide-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--dark);
  margin: 40px 0 20px;
}

.measure-tips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 32px 0;
}

.measure-tip {
  padding: 24px;
  background: var(--cream);
  text-align: center;
}

.measure-tip i {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.measure-tip h4 {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--dark);
}

.measure-tip p {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* --- Order Flow Page --- */
.order-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 60px;
}

.order-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--beige);
}

.timeline-step {
  position: relative;
  margin-bottom: 48px;
}

.timeline-step::before {
  content: attr(data-step);
  position: absolute;
  left: -60px;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-accent);
  font-size: 1.1rem;
  color: var(--gold);
  z-index: 1;
}

.timeline-step h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 8px;
}

.timeline-step p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 2;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* --- Mobile Navigation --- */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  padding: 80px 32px 32px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-list {
  margin-bottom: 40px;
}

.mobile-nav-list > li {
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-list > li > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
}

.mobile-subnav {
  display: none;
  padding: 0 0 16px 16px;
}

.mobile-subnav.open {
  display: block;
}

.mobile-subnav li a {
  display: block;
  padding: 10px 0;
  font-size: 0.82rem;
  color: var(--text-light);
}

.mobile-nav-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.mobile-nav-bottom a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 0.82rem;
  color: var(--text-main);
}

.mobile-nav-bottom a i {
  width: 24px;
  color: var(--gold);
}

/* --- Floating CTA --- */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-cta a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
}

.floating-cta a:hover {
  transform: scale(1.1);
}

.floating-cta .line-btn {
  background: #06C755;
}

.floating-cta .instagram-btn {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .new-arrival-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .product-gallery {
    position: static;
  }

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

  .concept-grid {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .hero {
    height: 70vh;
    min-height: 400px;
  }

  .hero-content {
    text-align: center;
    padding: 32px 20px;
    margin-left: 0;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(2px);
    width: 90%;
    border-radius: 2px;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-content h1:not(.hero-title-line) {
    font-size: 1.6rem;
  }

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

  .concept-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .concept-item {
    padding: 24px 16px;
  }

  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .flow-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .flow-steps::before {
    display: none;
  }

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

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .category-filters {
    gap: 12px;
    padding: 16px 0;
  }

  .filter-btn {
    font-size: 0.72rem;
    padding: 6px 12px;
  }

  .sns-buttons {
    flex-direction: column;
    align-items: center;
  }

  .measure-tips {
    grid-template-columns: 1fr;
  }

  .floating-cta {
    bottom: 16px;
    right: 16px;
  }

  .floating-cta a {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1:not(.hero-title-line) {
    font-size: 1.5rem;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.72rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .product-card-info {
    padding: 12px 4px;
  }

  .product-card-info h3 {
    font-size: 0.75rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .flow-steps {
    grid-template-columns: 1fr;
  }
}
