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

:root {
  --black: #0a0a0a;
  --dark: #1a1a1a;
  --gray-900: #2a2a2a;
  --gray-700: #4a4a4a;
  --gray-500: #757575;
  --gray-300: #c0c0c0;
  --gray-100: #f0f0f0;
  --gray-50: #f8f8f8;
  --white: #ffffff;
  --accent: #1a1a1a;
  --border: #e0e0e0;
  --font: 'Helvetica Neue', 'Arial', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: var(--font);
}

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

/* === Layout === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

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

.site-logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  flex-shrink: 0;
}

.site-logo span {
  color: var(--gray-500);
  font-weight: 400;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.15s;
  white-space: nowrap;
}

.header-nav a:hover {
  background: var(--gray-100);
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background 0.15s;
  flex-shrink: 0;
}

.cart-btn:hover {
  background: var(--gray-700);
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  background: var(--white);
  color: var(--black);
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0 4px;
}

/* === Hero === */
.hero {
  background: var(--black);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-300);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

/* ===== Hero Slider ===== */
.hero-slider {
  position: relative;
  margin: 0 auto 28px;
  max-width: 640px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.6);
  background: #000;
  overflow: hidden; /* はみ出しを必ずここで切る */
}

.hero-slider-track {
  display: flex;
  width: 100%;        /* 親幅に固定 */
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.hero-slider-slide {
  /* 幅は親（.hero-slider）と同じ 100% に固定 */
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  flex-shrink: 0;
  background: #000;
  /* 縦横比はそのまま保ちつつ高さを制限 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider-img {
  /* 幅を 100% に収め、高さは比率に合わせて自動 */
  width: 100%;
  height: auto;
  max-height: 420px;  /* 大きすぎる縦長画像の上限 */
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* ドット */
.hero-slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.hero-slider-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* 矢印 */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.35);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}

.hero-slider-arrow:hover {
  background: rgba(0,0,0,0.65);
}

.hero-slider-arrow--prev { left: 10px; }
.hero-slider-arrow--next { right: 10px; }

/* 旧バナースタイル（削除済み・互換用） */
.hero-banner-wrap {
  margin: 0 auto 24px;
  max-width: 640px;
  width: 100%;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--gray-300);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--white);
  color: var(--black);
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: opacity 0.15s;
}

.btn-primary:hover {
  opacity: 0.85;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: border-color 0.15s, background 0.15s;
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}

/* === Category Section === */
.section {
  padding: 60px 0;
}

.section--picbook {
  padding: 0 0 60px;
}

.picbook-banner-img {
  display: block;
  width: 100%;
  max-width: 860px;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,.12);
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  text-transform: uppercase;
  transition: color 0.15s;
}

.section-link:hover {
  color: var(--black);
}

/* === Category Cards === */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.category-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}

.category-card:hover {
  border-color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.category-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.category-name {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.category-count {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* === Product Grid === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.product-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  background: var(--white);
}

.product-card:hover {
  border-color: var(--black);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.product-image {
  width: 100%;
  aspect-ratio: 1;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--gray-700);
  position: relative;
  overflow: hidden;
}

.product-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(0,0,0,0.04));
}

.product-image-text {
  font-family: 'Courier New', monospace;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: 0.1em;
}

.product-image-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-tags {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.tag {
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tag-new { background: var(--black); color: var(--white); }
.tag-popular { background: var(--gray-700); color: var(--white); }
.tag-limited { background: var(--black); color: var(--white); }
.tag-set { background: var(--gray-500); color: var(--white); }
.tag-sale { background: var(--black); color: var(--white); }

.product-info {
  padding: 16px;
}

.product-category-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 6px;
}

.product-name {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.product-price-tax {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gray-500);
  margin-left: 2px;
}

.product-add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  margin-top: 12px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background 0.15s;
}

.product-add-btn:hover {
  background: var(--gray-700);
}

.product-add-btn:disabled {
  background: var(--gray-300);
  cursor: not-allowed;
}

/* === Product Detail Page === */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--gray-500);
  padding: 20px 0;
}

.breadcrumb a {
  color: var(--gray-500);
  transition: color 0.15s;
}

.breadcrumb a:hover {
  color: var(--black);
}

.breadcrumb-sep {
  color: var(--gray-300);
}

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

.product-detail-image {
  background: var(--gray-100);
  border-radius: 12px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 80px;
}

.product-detail-image-text {
  font-family: 'Courier New', monospace;
  font-size: 4rem;
  font-weight: 700;
  color: var(--gray-300);
  letter-spacing: 0.1em;
}

.product-detail-image-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.product-detail-info {
  padding-top: 8px;
}

.product-detail-category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.product-detail-name {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 16px;
}

.product-detail-price {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.product-detail-tax {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.product-detail-desc {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 24px;
}

.product-detail-specs {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-bottom: 24px;
}

.spec-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px;
  padding: 8px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--gray-100);
}

.spec-label {
  font-weight: 600;
  color: var(--gray-500);
}

.spec-value {
  color: var(--black);
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.stock-ok { background: var(--gray-100); color: var(--gray-700); }
.stock-low { background: #fff3cd; color: #856404; }
.stock-out { background: var(--gray-100); color: var(--gray-500); }

.qty-control {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.qty-label {
  font-size: 0.85rem;
  font-weight: 600;
}

.qty-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: border-color 0.15s, background 0.15s;
}

.qty-btn:hover {
  border-color: var(--black);
  background: var(--gray-50);
}

.qty-num {
  font-size: 1rem;
  font-weight: 700;
  min-width: 24px;
  text-align: center;
}

.add-to-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background 0.15s;
  margin-bottom: 12px;
}

.add-to-cart-btn:hover {
  background: var(--gray-700);
}

/* === Cart Sidebar === */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  max-width: 100vw;
  background: var(--white);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 40px rgba(0,0,0,0.15);
}

.cart-sidebar.open {
  transform: translateX(0);
}

.cart-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.cart-sidebar-title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.cart-close-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: none;
  border-radius: 6px;
  font-size: 1.2rem;
  transition: background 0.15s;
}

.cart-close-btn:hover {
  background: var(--gray-100);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--gray-500);
}

.cart-empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.3;
}

.cart-empty-text {
  font-size: 0.9rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.cart-item-image {
  width: 60px;
  height: 60px;
  background: var(--gray-100);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Courier New', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: 0.05em;
}

.cart-item-name {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.cart-item-qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.cart-item-qty-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: none;
  border-radius: 4px;
  font-size: 0.85rem;
  transition: background 0.15s;
}

.cart-item-qty-btn:hover {
  background: var(--gray-100);
}

.cart-item-qty {
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.cart-item-subtotal {
  font-size: 0.9rem;
  font-weight: 700;
  text-align: right;
}

.cart-item-remove {
  display: block;
  font-size: 0.7rem;
  color: var(--gray-500);
  text-decoration: underline;
  text-align: right;
  margin-top: 4px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font);
  transition: color 0.15s;
}

.cart-item-remove:hover {
  color: var(--black);
}

.cart-footer {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--gray-500);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background 0.15s;
}

.checkout-btn:hover {
  background: var(--gray-700);
}

/* === Shop Page Filter === */
.shop-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 40px 0 80px;
  align-items: start;
}

.shop-sidebar {
  position: sticky;
  top: 80px;
}

.filter-section {
  margin-bottom: 24px;
}

.filter-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.filter-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
  margin-bottom: 6px;
  font-family: var(--font);
}

.filter-btn:hover {
  border-color: var(--black);
  background: var(--gray-50);
}

.filter-btn.active {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.filter-count {
  font-size: 0.75rem;
  opacity: 0.7;
}

.shop-main {}

.shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.shop-count {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* === Order Form === */
.order-section {
  max-width: 640px;
  margin: 0 auto;
  padding: 60px 0 80px;
}

.order-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.order-subtitle {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 40px;
}

.order-summary-box {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 32px;
}

.order-summary-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.order-summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-100);
}

.order-summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 800;
  padding-top: 12px;
  margin-top: 4px;
}

.form-section {
  margin-bottom: 32px;
}

.form-section-title {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--gray-700);
}

.form-label .required {
  color: var(--black);
  margin-left: 4px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  transition: border-color 0.15s;
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--black);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* === Delivery Options === */
.delivery-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.delivery-option {
  display: block;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  overflow: hidden;
}

.delivery-option:has(input:checked) {
  border-color: var(--black);
  background: var(--gray-50);
}

.delivery-option:hover {
  border-color: var(--gray-500);
}

.delivery-option input[type="radio"] {
  display: none;
}

.delivery-option-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 16px;
  gap: 10px;
}

.delivery-option-icon {
  font-size: 2rem;
}

.delivery-option-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.delivery-option-desc {
  font-size: 0.75rem;
  color: var(--gray-500);
  line-height: 1.5;
}

@media (max-width: 480px) {
  .delivery-options {
    grid-template-columns: 1fr;
  }
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.15s;
}

.payment-option:hover {
  border-color: var(--gray-500);
}

.payment-option input[type="radio"] {
  accent-color: var(--black);
}

.payment-option-label {
  font-size: 0.85rem;
  font-weight: 500;
}

/* === ショッパーバッグ バナー === */
.shopper-banner {
  background: #fff0f0;
  border: 1px solid #ffcccc;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cc0000;
  text-align: center;
  line-height: 1.5;
}

.shopper-banner strong {
  font-size: 1rem;
}

.shopper-banner-gift {
  color: #cc0000;
  font-weight: 700;
}

/* === ご当地「県を選んで追加」ボタン === */
.product-add-btn--detail {
  background: var(--white);
  color: var(--black);
  border: 1.5px solid var(--black);
}

.product-add-btn--detail:hover {
  background: var(--gray-100);
}

/* === 県選択（ご当地バージョン詳細ページ） === */
.pref-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23757575' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  appearance: none;
}

.pref-select-note {
  font-size: 0.72rem;
  color: var(--gray-500);
  margin-top: 6px;
}

@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-6px); }
  40%      { transform: translateX(6px); }
  60%      { transform: translateX(-4px); }
  80%      { transform: translateX(4px); }
}

.select-error {
  border-color: #c00 !important;
  animation: shake 0.4s ease;
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background 0.15s;
  margin-top: 8px;
}

.submit-btn:hover {
  background: var(--gray-700);
}

/* === Success Page === */
.success-section {
  text-align: center;
  padding: 100px 0;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 24px;
}

.success-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.success-text {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin-bottom: 32px;
}

/* === 受け取り番号カード === */
.success-order-id {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.pickup-card {
  background: var(--black);
  color: var(--white);
  border-radius: 14px;
  padding: 32px 40px;
  margin: 0 auto 24px;
  max-width: 360px;
  text-align: center;
}

.pickup-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-300);
  margin-bottom: 12px;
}

.pickup-card-number {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-family: 'Courier New', monospace;
  line-height: 1;
  margin-bottom: 16px;
}

.pickup-card-note {
  font-size: 0.78rem;
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 20px;
}

.pickup-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: var(--white);
  color: var(--black);
  border: none;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
  font-family: var(--font);
}

.pickup-copy-btn:hover {
  opacity: 0.85;
}

.pickup-info-box {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  max-width: 360px;
  margin: 0 auto 8px;
  text-align: left;
}

.pickup-info-title {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pickup-steps {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pickup-steps li {
  font-size: 0.82rem;
  color: var(--gray-700);
  line-height: 1.5;
}

/* === Footer === */
.site-footer {
  background: var(--black);
  color: var(--gray-300);
  padding: 40px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--gray-500);
}

.footer-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--gray-300);
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--gray-900);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* === Toast Notification === */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--black);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 300;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* === Category Section (shop) === */
.cat-section {
  margin-bottom: 56px;
}

.cat-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--black);
  margin-bottom: 24px;
}

.cat-section-icon {
  font-size: 1.3rem;
}

.cat-section-title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex: 1;
}

.cat-section-count {
  font-size: 0.78rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* === Variant Sub-section (ご当地 / 武道館) === */
.variant-section {
  margin-bottom: 36px;
}

.variant-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--gray-50);
  border-left: 3px solid var(--black);
  border-radius: 0 6px 6px 0;
  margin-bottom: 18px;
}

.variant-icon {
  font-size: 1.2rem;
}

.variant-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.variant-note {
  font-size: 0.72rem;
  color: var(--gray-500);
  margin-top: 2px;
}

/* === Divider === */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ===================================================
   ハンバーガーメニューボタン（SP用）
   =================================================== */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

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

/* SPナビドロワー */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 16px 24px;
  font-size: .95rem;
  font-weight: 600;
  border-bottom: 1px solid var(--gray-100);
  letter-spacing: .03em;
}

.mobile-nav a:hover {
  background: var(--gray-50);
}

/* ===================================================
   Responsive — タブレット (max 1024px)
   =================================================== */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
  }

  .shop-layout {
    grid-template-columns: 180px 1fr;
    gap: 24px;
  }
}

/* ===================================================
   Responsive — スマートフォン (max 768px)
   =================================================== */
@media (max-width: 768px) {

  /* --- ヘッダー --- */
  .header-nav {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .header-inner {
    height: 56px;
    gap: 12px;
  }

  .header-user-area {
    gap: 6px;
  }

  .header-mypage-btn {
    padding: 6px 10px;
    font-size: .72rem;
  }

  .site-logo {
    font-size: 1.05rem;
  }

  .cart-btn {
    padding: 7px 12px;
    font-size: .78rem;
  }

  /* --- コンテナ --- */
  .container {
    padding: 0 16px;
  }

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

  .hero-eyebrow {
    font-size: .7rem;
    margin-bottom: 10px;
  }

  .hero-subtitle {
    font-size: .85rem;
    margin-bottom: 24px;
  }

  .hero-slider {
    border-radius: 8px;
    margin-bottom: 20px;
    max-width: 100%;
  }

  .hero-slider-img {
    max-height: 280px;
  }

  .hero-slider-arrow {
    width: 30px;
    height: 30px;
    font-size: 1.1rem;
  }

  .hero-banner-wrap {
    margin-bottom: 16px;
  }

  .hero-banner-img {
    border-radius: 8px;
  }

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

  .section-header {
    margin-bottom: 20px;
  }

  /* --- 商品グリッド --- */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-info {
    padding: 12px;
  }

  .product-name {
    font-size: .85rem;
  }

  .product-price {
    font-size: 1rem;
  }

  .product-add-btn {
    padding: 8px;
    font-size: .75rem;
    margin-top: 8px;
  }

  /* --- ショップページ --- */
  .shop-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 20px 0 48px;
  }

  .shop-sidebar {
    position: static;
    margin-bottom: 16px;
  }

  .filter-section {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0;
  }

  .filter-title {
    width: 100%;
    margin-bottom: 0;
  }

  .filter-btn {
    width: auto;
    padding: 6px 14px;
    font-size: .78rem;
    border-radius: 20px;
    margin-bottom: 0;
  }

  .shop-header {
    margin-bottom: 16px;
  }

  /* --- バリアントセクション --- */
  .variant-header {
    padding: 8px 12px;
  }

  .cat-section {
    margin-bottom: 36px;
  }

  /* --- 商品詳細 --- */
  .product-detail {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px 0 48px;
  }

  .product-detail-image {
    position: static;
    border-radius: 8px;
    max-height: 60vw;
  }

  .product-detail-image-text {
    font-size: 2.5rem;
  }

  .product-detail-name {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }

  .product-detail-price {
    font-size: 1.5rem;
  }

  .breadcrumb {
    font-size: .72rem;
    gap: 4px;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  /* --- カートサイドバー --- */
  .cart-sidebar {
    width: 100vw;
  }

  /* --- 注文フォーム --- */
  .order-section {
    padding: 32px 0 48px;
  }

  .order-title {
    font-size: 1.4rem;
  }

  .order-subtitle {
    margin-bottom: 24px;
  }

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

  .delivery-options {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .delivery-option-inner {
    flex-direction: row;
    text-align: left;
    padding: 14px 16px;
    align-items: center;
    gap: 14px;
  }

  .delivery-option-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
  }

  /* --- 受け取り番号カード --- */
  .pickup-card {
    padding: 24px 20px;
  }

  .pickup-card-number {
    font-size: 2.8rem;
  }

  .success-section {
    padding: 60px 0;
  }

  .success-title {
    font-size: 1.4rem;
  }

  /* --- フッター --- */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* --- トースト --- */
  .toast {
    font-size: .8rem;
    padding: 10px 18px;
    max-width: 90vw;
    white-space: normal;
    text-align: center;
  }

  /* --- 外部バナー --- */
  .ext-banner-wrap {
    padding: 20px 0;
  }
}

/* ===================================================
   Responsive — 極小スマートフォン (max 380px)
   =================================================== */
@media (max-width: 380px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .product-info {
    padding: 8px;
  }

  .product-name {
    font-size: .78rem;
  }

  .pickup-card-number {
    font-size: 2.2rem;
  }
}

/* === Animations === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.4s ease forwards;
}

/* === Utility === */
.text-gray { color: var(--gray-500); }
.text-small { font-size: 0.8rem; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }

/* === External Banner === */
.ext-banner-wrap {
  background: #0a0a0a;
  padding: 32px 0;
  border-top: 1px solid #222;
}

.ext-banner-link {
  display: block;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(0,0,0,.5);
  transition: transform .2s, box-shadow .2s;
}

.ext-banner-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,.6);
}

.ext-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 960px) {
  .ext-banner-link {
    border-radius: 0;
  }
}
