/* ================================================
   Lune et Miel - 共通スタイルシート
   高級感のあるアパレルショップ
   ================================================ */

:root {
  --bg: #0a0a0a;
  --bg-soft: #1a1a1a;
  --card: #151515;
  --card-hover: #1f1f1f;
  --text: #f5f5f5;
  --text-soft: #e0e0e0;
  --sub: #a0a0a0;
  --line: #2a2a2a;
  --line-light: #333333;
  --accent: #d4af37;
  --accent-dark: #b8941f;
  --accent-light: #f0d875;
  --badge: #2a2520;
  --badge-text: #d4af37;
  --sale: #c77b7b;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);
  --radius: 2px;
  --radius-lg: 4px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-top: 100px;
  font-family: "Cormorant Garamond", "Noto Serif JP", "Yu Mincho", "YuMincho", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
  letter-spacing: 0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent);
}

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

/* ================================================
   コンテナ
   ================================================ */

.container {
  width: min(1400px, calc(100% - 64px));
  margin: 0 auto;
}

.container-narrow {
  width: min(1000px, calc(100% - 64px));
  margin: 0 auto;
}

/* ================================================
   ヘッダー
   ================================================ */

.site-header {
  background: rgba(10, 10, 10, 0.98);
  border-bottom: 1px solid var(--line);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  border-color: var(--accent);
  background: rgba(212, 175, 55, 0.05);
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-soft);
  transition: all 0.3s ease;
}

.menu-toggle:hover span {
  background: var(--accent);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  font-size: 20px;
}

.cart-icon:hover {
  border-color: var(--accent);
  background: rgba(212, 175, 55, 0.05);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 11px;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-family: "Noto Sans JP", sans-serif;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

.cart-badge.active {
  display: flex;
}

/* サイドメニュー */
.side-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 400px;
  height: 100vh;
  background: #0a0a0a;
  border-right: 1px solid var(--line);
  z-index: 200;
  transition: left 0.4s ease;
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.8);
  visibility: hidden;
}

.side-menu.active {
  left: 0;
  visibility: visible;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.92);
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-header {
  padding: 32px 28px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-close {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text-soft);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.menu-close:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: rotate(90deg);
}

.menu-content {
  padding: 32px 28px;
}

.menu-title {
  font-size: 12px;
  color: var(--sub);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 20px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
}

.menu-list {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
}

.menu-list li {
  margin-bottom: 4px;
}

.menu-list a {
  display: block;
  padding: 16px 20px;
  color: var(--text-soft);
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.menu-list a:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent);
  padding-left: 28px;
}

.logo {
  flex-shrink: 0;
}

.logo h1 {
  margin: 0;
  font-size: 32px;
  letter-spacing: 0.15em;
  font-weight: 400;
  font-family: "Cormorant Garamond", serif;
  text-transform: uppercase;
}

.logo p {
  margin: 8px 0 0;
  color: var(--sub);
  font-size: 11px;
  letter-spacing: 0.2em;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  text-transform: uppercase;
}

.nav {
  display: none;
}

/* ================================================
   ヒーロー
   ================================================ */

.hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--line), transparent);
  opacity: 0.5;
}

.hero-box {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(15, 15, 15, 0.9) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-box::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, transparent, var(--accent), transparent);
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}

.hero-box > * {
  position: relative;
  z-index: 1;
}

.hero-box small {
  display: inline-block;
  color: var(--accent);
  font-weight: 400;
  letter-spacing: 0.25em;
  margin-bottom: 24px;
  text-transform: uppercase;
  font-size: 11px;
  font-family: "Noto Sans JP", sans-serif;
}

.hero-box h2 {
  margin: 0 0 32px;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text);
  font-family: "Cormorant Garamond", serif;
}

.hero-box p {
  margin: 0 auto 40px;
  color: var(--sub);
  max-width: 800px;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.08em;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
}

.hero-cta {
  display: inline-flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-hero {
  padding: 18px 48px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2em;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--bg);
  cursor: pointer;
  transition: all 0.4s ease;
  text-transform: uppercase;
  font-family: "Noto Sans JP", sans-serif;
}

.btn-hero:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-hero-outline {
  background: transparent;
  color: var(--accent);
}

.btn-hero-outline:hover {
  background: var(--accent);
  color: var(--bg);
}

/* ================================================
   セクション
   ================================================ */

.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
}

.section-header::after {
  content: "";
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
}

.section-title {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 400;
  letter-spacing: 0.12em;
  font-family: "Cormorant Garamond", serif;
  text-transform: uppercase;
}

.section-subtitle {
  margin: 0;
  color: var(--sub);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
}

/* ================================================
   カテゴリグリッド
   ================================================ */

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.category-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}

.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(212, 175, 55, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.category-card:hover::before {
  opacity: 1;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--line-light);
}

.category-thumb {
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  overflow: hidden;
  position: relative;
}

.category-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3));
}

.category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: grayscale(30%) brightness(0.8);
}

.category-card:hover .category-thumb img {
  transform: scale(1.05);
  filter: grayscale(0%) brightness(1);
}

.category-body {
  padding: 32px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.category-name {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.15em;
  font-family: "Cormorant Garamond", serif;
  text-transform: uppercase;
}

.category-desc {
  margin: 0;
  font-size: 12px;
  color: var(--sub);
  letter-spacing: 0.08em;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
}

/* ================================================
   ツールバー
   ================================================ */

.toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 32px 0 48px;
}

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

.tab {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 24px;
  font-size: 12px;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: "Noto Sans JP", sans-serif;
}

.tab:hover {
  background: var(--card-hover);
  border-color: var(--line-light);
  color: var(--accent);
}

.tab.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  box-shadow: var(--shadow-gold);
}

.result-info {
  font-size: 12px;
  color: var(--sub);
  white-space: nowrap;
  letter-spacing: 0.1em;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
}

/* ================================================
   商品グリッド
   ================================================ */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px;
  padding-bottom: 80px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--line-light);
}

.product-thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--bg-soft);
  overflow: hidden;
}

.product-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.4));
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: grayscale(20%) brightness(0.85);
}

.product-card:hover .product-thumb img {
  transform: scale(1.08);
  filter: grayscale(0%) brightness(1);
}

.badge-wrap {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 2;
}

.badge {
  background: var(--badge);
  color: var(--badge-text);
  font-size: 10px;
  font-weight: 400;
  padding: 6px 12px;
  border-radius: var(--radius);
  letter-spacing: 0.12em;
  border: 1px solid rgba(212, 175, 55, 0.3);
  text-transform: uppercase;
  font-family: "Noto Sans JP", sans-serif;
}

.badge.featured {
  background: rgba(199, 123, 123, 0.2);
  color: var(--sale);
  border-color: rgba(199, 123, 123, 0.4);
}

.product-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 10px;
  color: var(--sub);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 300;
  font-family: "Noto Sans JP", sans-serif;
}

.product-name {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.5;
  min-height: 3em;
  font-weight: 400;
  letter-spacing: 0.05em;
  font-family: "Cormorant Garamond", serif;
}

.product-desc {
  font-size: 13px;
  color: var(--sub);
  margin: 0 0 20px;
  line-height: 1.8;
  flex-grow: 1;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
}

.product-price {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--accent);
  letter-spacing: 0.05em;
  font-family: "Cormorant Garamond", serif;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  color: var(--sub);
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  letter-spacing: 0.08em;
}

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

/* ================================================
   ボタン
   ================================================ */

.btn {
  flex: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.15em;
  cursor: pointer;
  background: var(--card);
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-family: "Noto Sans JP", sans-serif;
}

.btn:hover {
  background: var(--card-hover);
  border-color: var(--line-light);
  color: var(--accent);
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: var(--shadow-gold);
}

/* ================================================
   商品詳細ページ
   ================================================ */

.breadcrumbs {
  padding: 32px 0;
  font-size: 11px;
  color: var(--sub);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
}

.breadcrumbs span {
  margin: 0 12px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  padding-bottom: 64px;
}

.gallery-main {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(10%) brightness(0.9);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.thumb {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 1 / 1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.thumb:hover {
  border-color: var(--accent);
}

.thumb.active {
  border-color: var(--accent);
  box-shadow: var(--shadow-gold);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) brightness(0.85);
}

.thumb:hover img,
.thumb.active img {
  filter: grayscale(0%) brightness(1);
}

.product-info {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  height: fit-content;
  position: sticky;
  top: 120px;
}

.product-info .product-category {
  font-size: 11px;
  margin-bottom: 16px;
}

.product-info .product-name {
  margin: 0 0 24px;
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1.3;
  min-height: auto;
}

.product-info .badge-wrap {
  position: static;
  margin-bottom: 24px;
}

.product-info .product-price {
  font-size: 38px;
  margin-bottom: 12px;
}

.tax-note {
  font-size: 11px;
  color: var(--sub);
  margin-bottom: 32px;
  letter-spacing: 0.08em;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
}

.product-description {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 36px;
  line-height: 2;
  padding: 28px;
  background: rgba(26, 26, 26, 0.5);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.info-list {
  display: grid;
  gap: 20px;
  margin-bottom: 36px;
}

.info-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
}

.info-row dt {
  color: var(--sub);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.option-group {
  margin-bottom: 24px;
}

.option-group label {
  display: block;
  font-size: 12px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--text-soft);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "Noto Sans JP", sans-serif;
}

select,
input[type="number"] {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  background: var(--card);
  color: var(--text);
  font-family: inherit;
  transition: all 0.3s ease;
}

select:focus,
input[type="number"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.action-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
  margin-top: 32px;
}

.shipping-box {
  margin-top: 32px;
  background: rgba(26, 26, 26, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  font-size: 12px;
  color: var(--sub);
  line-height: 2;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.shipping-box strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text-soft);
  letter-spacing: 0.1em;
}

/* ================================================
   詳細ボックス
   ================================================ */

.detail-box,
.review-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.detail-box table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
}

.detail-box th,
.detail-box td {
  padding: 20px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.8;
}

.detail-box th {
  width: 200px;
  color: var(--sub);
  background: rgba(26, 26, 26, 0.3);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.detail-box tr:last-child th,
.detail-box tr:last-child td {
  border-bottom: none;
}

/* ================================================
   レビュー
   ================================================ */

.review-list {
  display: grid;
  gap: 24px;
}

.review-item {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(26, 26, 26, 0.3);
}

.review-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  align-items: center;
}

.review-head strong {
  font-size: 14px;
  letter-spacing: 0.05em;
  font-weight: 400;
  font-family: "Noto Sans JP", sans-serif;
}

.stars {
  color: var(--accent);
  letter-spacing: 0.08em;
  font-weight: 400;
  font-size: 16px;
}

.review-item > div:nth-child(2) {
  font-weight: 400;
  margin-bottom: 12px;
  font-size: 15px;
  letter-spacing: 0.05em;
  font-family: "Cormorant Garamond", serif;
}

.review-item p {
  margin: 0;
  color: var(--sub);
  line-height: 1.8;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
}

/* ================================================
   関連商品
   ================================================ */

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.related-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s ease;
}

.related-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--line-light);
}

.related-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--bg-soft);
  transition: transform 0.6s ease;
  filter: grayscale(20%) brightness(0.85);
}

.related-card:hover img {
  transform: scale(1.05);
  filter: grayscale(0%) brightness(1);
}

.related-body {
  padding: 24px;
}

.related-name {
  font-size: 18px;
  margin: 0 0 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.05em;
  font-family: "Cormorant Garamond", serif;
}

.related-price {
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
  font-family: "Cormorant Garamond", serif;
}

/* ================================================
   お知らせリスト
   ================================================ */

.news-list {
  display: grid;
  gap: 20px;
}

.news-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  transition: all 0.3s ease;
}

.news-item:hover {
  box-shadow: var(--shadow);
  border-color: var(--line-light);
  transform: translateX(8px);
}

.news-date {
  font-size: 11px;
  color: var(--sub);
  margin-bottom: 8px;
  letter-spacing: 0.12em;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
}

.news-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.05em;
  font-family: "Cormorant Garamond", serif;
}

.news-content {
  margin: 0;
  font-size: 13px;
  color: var(--sub);
  line-height: 1.8;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
}

/* ================================================
   フッター
   ================================================ */

.site-footer {
  padding: 64px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--sub);
  font-size: 13px;
  margin-top: 100px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-title {
  margin: 0 0 20px;
  color: var(--text-soft);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "Cormorant Garamond", serif;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li + li {
  margin-top: 12px;
}

.footer-list a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 11px;
  color: var(--sub);
  letter-spacing: 0.1em;
}

/* ================================================
   レスポンシブ
   ================================================ */

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .container,
  .container-narrow {
    width: calc(100% - 48px);
  }
}

@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-info {
    position: static;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 80px;
  }

  .header-inner {
    padding: 16px 0;
  }

  .side-menu {
    width: 100%;
    left: -100%;
  }

  .menu-toggle,
  .cart-icon {
    width: 44px;
    height: 44px;
  }

  .hero {
    padding: 60px 0 48px;
  }

  .hero-box {
    padding: 48px 32px;
  }

  .section {
    padding: 60px 0;
  }

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

  .result-info {
    text-align: right;
  }

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

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

  .info-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .detail-box th,
  .detail-box td {
    display: block;
    width: 100%;
  }

  .detail-box th {
    padding-bottom: 8px;
  }

  .detail-box td {
    padding-top: 8px;
  }

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

  .action-row {
    grid-template-columns: 1fr;
  }

  .product-info,
  .detail-box,
  .review-box {
    padding: 32px;
  }

  .container,
  .container-narrow {
    width: calc(100% - 32px);
  }
}

@media (max-width: 520px) {
  .product-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    font-size: 11px;
    gap: 16px;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .btn-hero {
    width: 100%;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-info,
  .detail-box,
  .review-box {
    padding: 24px;
  }

  .logo h1 {
    font-size: 28px;
  }
}
