/* ===== 楽縁物産 カスタムテーマ CSS ===== */
/* カラー: --brand:#C0392B / --amber:#E67E22 / 白・グレー系 */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand: #C0392B;
  --brand-light: #FFEBEE;
  --brand-dark: #922B21;
  --amber: #E67E22;
  --amber-light: #FEF9E7;
  --text-primary: #1a1a1a;
  --text-secondary: #555;
  --text-tertiary: #737373;
  --border: #e8e8e8;
  --bg: #FAFAFA;
  --white: #fff;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  /* ===== Typography Scale (Major Third 1.25x, Base: 14px) ===== */
  --fs-xs:   11px; /* バッジ・ラベル・税表示 */
  --fs-sm:   13px; /* 補足テキスト・サブ情報 */
  --fs-base: 14px; /* 本文・商品名 */
  --fs-md:   17px; /* カード見出し・ナビ */
  --fs-lg:   22px; /* セクション見出し（H2） */
  --fs-xl:   30px; /* ヒーロータイトル */
  --fs-2xl:  34px; /* 将来の大見出し用 */
  --font-serif: 'Noto Serif JP', 'Noto Serif SC', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --font-sans:  'Noto Sans JP', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

html { font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }

/* ===== HEADER ===== */
.site-header { position: sticky; top: 0; z-index: 100; }
.hdr {
  background: var(--brand);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hdr-logo-wrap { display: flex; align-items: center; gap: 8px; }
.hdr-logo { color: #fff; font-size: 15px; font-weight: 500; }
.hdr-sub { color: rgba(255,255,255,.75); font-size: 10px; margin-top: 1px; }
.hdr-icons { display: flex; gap: 8px; align-items: center; flex-wrap: nowrap; }
.hdr-icons a { color: #fff; font-size: 16px; position: relative; }
.hdr-icons i { font-size: 18px; }
.cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--amber);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ===== LANG SWITCHER ===== */
.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.18);
  border-radius: var(--radius-pill);
  padding: 2px;
  gap: 0;
}
.lang-btn {
  background: transparent;
  color: rgba(255,255,255,.8);
  border: none;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  min-width: 30px;
  min-height: 26px;
  cursor: pointer;
  transition: background .18s, color .18s;
  letter-spacing: .03em;
  line-height: 1;
}
.lang-btn.active {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.lang-btn:not(.active):hover {
  background: rgba(255,255,255,.28);
  color: #fff;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(145deg, #c0392b 0%, #96281b 60%, #7b241c 100%);
  padding: 24px 16px 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
/* 装飾的な背景サークル */
.hero-deco-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-deco-1 {
  width: 200px; height: 200px;
  background: rgba(255,255,255,.06);
  top: -60px; right: -60px;
}
.hero-deco-2 {
  width: 120px; height: 120px;
  background: rgba(255,200,100,.08);
  bottom: 20px; left: -30px;
}
.hero-tag {
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255,255,255,.9);
  font-size: 11px;
  padding: 4px 12px 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,.25);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 12px;
  letter-spacing: .03em;
}
.hero-tag-icon {
  font-size: 13px;
  line-height: 1;
  opacity: .9;
  flex-shrink: 0;
}
.hero-title {
  font-size: var(--fs-xl);
  font-weight: 800;
  line-height: 1.55;
  margin-bottom: 8px;
  text-shadow: 0 1px 4px rgba(0,0,0,.2);
  letter-spacing: .02em;
  font-family: var(--font-serif);
}
.hero-sub {
  font-size: 13px;
  color: rgba(255,255,255,.82);
  line-height: 1.75;
}

/* ===== HERO BADGES ===== */
.hero-badges {
  display: flex;
  gap: 5px;
  flex-wrap: nowrap;
  margin-top: 12px;
  margin-bottom: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hero-badges::-webkit-scrollbar { display: none; }
.hero-badges--row2 { margin-top: 5px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 5px 9px 5px 7px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  letter-spacing: .01em;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.hero-badge--walk,
.hero-badge--open,
.hero-badge--lang {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-badge-icon {
  font-size: 14px;
  line-height: 1;
  display: inline-block;
  flex-shrink: 0;
  opacity: .95;
}
.hero-badge-text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .02em;
}

/* ===== HERO BUTTONS ===== */
.hero-btns {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.hero-action-row--inline {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  align-items: stretch;
}
.hero-action-row--inline > * { flex: 1; }
.btn-primary-hero {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.8);
  letter-spacing: .02em;
  transition: transform .15s, box-shadow .15s;
}
.btn-primary-hero:active { transform: scale(.97); }
.btn-primary-hero--full { width: 100%; justify-content: center; }
.btn-primary-hero--half { flex: 1; justify-content: center; }
.btn-primary-hero--flex { flex: 1; justify-content: center; }
.btn-primary-hero__text { font-size: 14px; font-weight: 700; }
.btn-primary-hero__arrow {
  font-size: 16px;
  font-weight: 400;
  opacity: .7;
  transition: transform .15s;
}
.btn-fire-hero {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.08) 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255,255,255,.55);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
  letter-spacing: .02em;
  transition: background .15s, transform .15s;
  backdrop-filter: blur(4px);
}
.btn-fire-hero:active { transform: scale(.97); }
.btn-fire-hero__icon { font-size: 16px; line-height: 1; }
.btn-fire-hero__text { font-size: 14px; font-weight: 700; }
/* 旧ボタンクラスの後方互換 */
.btn-white {
  background: #fff;
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
}
.btn-outline {
  background: transparent;
  color: #fff;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255,255,255,.6);
  cursor: pointer;
}

/* ===== PRODUCT TAGS ===== */
.prod-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
.prod-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}
.prod-tag svg {
  flex-shrink: 0;
  vertical-align: middle;
}
.prod-tag--spicy  { background: #FFF0F0; color: #C0392B; }
.prod-tag--mild   { background: #F0FFF4; color: #27AE60; }
.prod-tag--frozen { background: #EBF5FB; color: #2980B9; }
.prod-tag--hotpot { background: #FEF9E7; color: #D35400; }
.prod-tag--group  { background: #F5EEF8; color: #7D3C98; }
.prod-tag--recipe { background: var(--brand-light); color: var(--brand); }
.prod-tag--fresh  { background: #E8F5E9; color: #1B5E20; font-weight: 600; }

/* ===== AI鮮度管理セクション ===== */
.freshness-section {
  background: linear-gradient(135deg, #fff8f0 0%, #fff3e0 100%);
  border-radius: var(--radius);
  margin: 0 16px 16px;
  padding: 16px;
}
.freshness-lead {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  text-align: center;
}
.freshness-steps {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 16px;
}
.freshness-step {
  flex: 1;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
  border: 1px solid #f0d8b0;
}
.freshness-step__icon {
  font-size: 24px;
  margin-bottom: 4px;
}
.freshness-step__num {
  font-size: 9px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: .05em;
  margin-bottom: 4px;
}
.freshness-step__title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.3;
}
.freshness-step__desc {
  font-size: 10px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.freshness-step__arrow {
  font-size: 20px;
  color: var(--amber);
  flex-shrink: 0;
  padding-top: 28px;
  font-weight: 700;
}
.freshness-points {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.freshness-point {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #f0d8b0;
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
}
.freshness-point__icon { font-size: 14px; flex-shrink: 0; }

/* 期限管理バッジ */
.hero-badge--ai {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ===== RANKING ===== */
.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ranking-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: background .18s, padding-left .18s;
  border-radius: var(--radius);
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
}
.ranking-item:hover {
  background: rgba(220,38,38,.04);
  padding-left: 12px;
}
.ranking-item:active { background: rgba(220,38,38,.08); }
.ranking-item:last-child { border-bottom: none; }
.ranking-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  background: var(--border);
  color: var(--text-secondary);
}
.ranking-num--1 { background: #F5C518; color: #7A5800; }
.ranking-num--2 { background: #C0C0C0; color: #4A4A4A; }
.ranking-num--3 { background: #CD7F32; color: #fff; }
.ranking-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  background: #F7F7F7;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ranking-img img { width: 100%; height: 100%; object-fit: cover; }
.ranking-img-placeholder { font-size: 24px; }
.ranking-body { flex: 1; min-width: 0; }
.ranking-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ranking-tags { display: flex; flex-wrap: wrap; gap: 3px; margin-bottom: 3px; }
.ranking-price { font-size: 14px; font-weight: 600; color: var(--brand); }
.ranking-arrow { color: var(--text-tertiary); font-size: 18px; flex-shrink: 0; }

/* ===== BEGINNER SECTION ===== */
.beginner-intro {
  font-size: 12px;
  color: var(--text-secondary);
  background: #FFF8F0;
  border-left: 3px solid var(--brand);
  padding: 8px 12px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 14px;
  line-height: 1.6;
}

/* 案A: はじめての方へ リード文+信頼ライン */
.beginner-lead-a {
  background: #FBE9DC;
  border-left: 4px solid var(--brand);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 14px;
}
.beginner-lead-a__text {
  font-size: 13px;
  line-height: 1.7;
  color: #3D3D3D;
  padding: 14px 14px 12px;
}
.beginner-trust-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(217,68,42,0.18);
  text-decoration: none;
  color: #1A1A1A;
}
.beginner-trust-line__icon {
  flex-shrink: 0;
  color: #2F7D32;
  display: flex;
  align-items: center;
}
.beginner-trust-line__text {
  flex: 1;
  font-size: 12px;
  font-weight: 500;
  color: #3D3D3D;
  line-height: 1.4;
}
.beginner-trust-line__text strong {
  color: #1A1A1A;
  font-weight: 700;
}
.beginner-trust-line__chevron {
  color: #8A8A8A;
  font-size: 16px;
  flex-shrink: 0;
}

/* ===== SECTION COMMON ===== */
.section { padding: 16px; }
.sec-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.sec-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: .02em;
  font-family: var(--font-serif);
  line-height: 1.3;
}
.sec-more { font-size: 12px; color: var(--brand); }

/* ===== CATEGORY CHIPS ===== */
.cat-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cat-row::-webkit-scrollbar { display: none; }
.cat-chip {
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 13px;
  color: var(--text-primary);
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s;
}
.cat-chip.active, .cat-chip:hover {
  background: var(--brand-light);
  border-color: var(--brand);
  color: var(--brand);
  font-weight: 500;
}

/* ===== PRODUCT GRID ===== */
.prod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (min-width: 480px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .prod-grid { grid-template-columns: repeat(4, 1fr); }
}

.prod-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform .22s cubic-bezier(.22,.61,.36,1), box-shadow .22s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.prod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.13);
}
.prod-card:active {
  transform: translateY(-1px) scale(.98);
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
}
.prod-img {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #F7F7F7;
  padding: 8px;
}
.prod-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.prod-img-placeholder {
  font-size: 40px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bg-red { background: #F7F7F7; }
.bg-amber { background: #FEF9E7; }
.bg-green { background: #F0FFF4; }
.bg-blue { background: #EBF5FB; }

.prod-body { padding: 10px 12px; }
.prod-name {
  font-size: var(--fs-base);
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 2px;
  line-height: 1.4;
  font-family: var(--font-serif);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prod-sub { font-size: 11px; color: #737373; margin-bottom: 6px; }
.prod-price { font-size: 15px; font-weight: 600; color: var(--brand); }
.prod-tax { font-size: 10px; color: var(--text-tertiary); font-weight: 400; margin-left: 1px; }
.recipe-badge {
  background: var(--brand-light);
  color: var(--brand);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 4px;
  margin-top: 5px;
  display: inline-block;
}

/* ===== GROUP BUY BANNER ===== */
.group-banner {
  margin: 0 16px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.group-head {
  background: var(--amber);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.group-head i { color: #fff; font-size: 18px; }
.group-head-text { color: #fff; font-size: 14px; font-weight: 600; flex: 1; }
.group-head-badge {
  background: rgba(255,255,255,.25);
  color: #fff;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}
.group-body { padding: 12px 16px; }
.group-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.group-item:last-of-type { border-bottom: none; }
.group-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--amber-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.group-info { flex: 1; min-width: 0; }
.group-name { font-size: 13px; font-weight: 500; color: var(--text-primary); margin-bottom: 2px; }
.group-meta { font-size: 11px; color: var(--text-tertiary); }
.group-right { text-align: right; flex-shrink: 0; }
.group-count { font-size: 12px; font-weight: 600; color: var(--amber); }
.group-bar-bg {
  width: 60px; height: 4px;
  background: var(--border);
  border-radius: var(--radius-pill);
  margin-top: 4px;
}
.group-bar { height: 4px; border-radius: var(--radius-pill); background: var(--amber); }
.group-btn {
  width: 100%;
  background: var(--amber);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 11px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-top: 10px;
  transition: opacity .15s;
}
.group-btn:hover { opacity: .9; }

/* ===== RECIPE CARD ===== */
.recipe-card {
  margin: 0 16px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.recipe-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.recipe-icon {
  width: 48px; height: 48px;
  background: var(--brand-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.recipe-title { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.recipe-sub { font-size: 11px; color: var(--text-tertiary); margin-top: 2px; }
.recipe-steps { display: flex; flex-direction: column; gap: 8px; }
.recipe-step { display: flex; align-items: flex-start; gap: 10px; }
.step-num {
  width: 20px; height: 20px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.step-text { font-size: 12px; color: var(--text-secondary); line-height: 1.6; }
.qr-btn {
  width: 100%;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 13px;
  font-weight: 500;
  padding: 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background .15s;
}
.qr-btn:hover { background: #fcd9d9; }

/* ===== PRODUCT DETAIL ===== */
.detail-header {
  background: var(--brand);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.detail-header a { color: #fff; font-size: 18px; }
.detail-header span { color: #fff; font-size: 14px; font-weight: 500; }

.detail-img {
  width: 100%;
  height: 240px;
  background: #F7F7F7;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.detail-img img { width: 100%; height: 100%; object-fit: contain; }
.detail-img-placeholder { font-size: 80px; }

.detail-body { padding: 16px; }
.detail-tag {
  background: var(--brand-light);
  color: var(--brand);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}
.detail-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.4;
}
.detail-price {
  font-size: 26px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 16px;
}
.detail-tax { font-size: 13px; color: var(--text-tertiary); font-weight: 400; }

.info-rows {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.info-row {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.info-row:last-child { border-bottom: none; }
.info-label {
  font-size: 12px;
  color: var(--text-tertiary);
  width: 80px;
  flex-shrink: 0;
}
.info-val { font-size: 12px; color: var(--text-primary); flex: 1; }
.info-val--empty { color: var(--text-tertiary); font-style: italic; }

.spicy-dots { display: flex; gap: 4px; align-items: center; }
.spicy-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--brand);
}
.spicy-dot.off { background: var(--border); }

.recipe-inline {
  background: var(--brand-light);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 16px;
}
.recipe-inline-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.recipe-inline-text {
  font-size: 12px;
  color: var(--brand-dark);
  line-height: 1.8;
}

.add-cart {
  width: 100%;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 15px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .15s;
}
.add-cart:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220,38,38,.30);
}
.add-cart:active {
  transform: scale(.97);
  box-shadow: none;
}
.add-cart { transition: background .15s, transform .15s, box-shadow .15s; }
.add-cart:disabled {
  background: var(--text-tertiary);
  cursor: not-allowed;
  opacity: .7;
}

/* ===== STICKY CART BAR ===== */
.sticky-cart-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(60px + env(safe-area-inset-bottom, 0px));
  z-index: 9500;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0,0,0,.10);
  /* 初期状態：非表示（IntersectionObserverで制御） */
  transform: translateY(110%);
  transition: transform .25s cubic-bezier(.22,.61,.36,1);
  pointer-events: none;
}
.sticky-cart-bar--visible {
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-cart-bar__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sticky-cart-bar__name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-cart-bar__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
}
.sticky-cart-bar__btn {
  flex-shrink: 0;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background .15s;
  white-space: nowrap;
}
.sticky-cart-bar__btn:hover {
  background: var(--brand-dark);
  box-shadow: 0 4px 12px rgba(220,38,38,.28);
}
.sticky-cart-bar__btn:active { transform: scale(.96); }
.sticky-cart-bar__btn { transition: background .15s, transform .15s, box-shadow .15s; }
.sticky-cart-bar__btn:disabled {
  background: var(--text-tertiary);
  cursor: not-allowed;
  opacity: .7;
}
/* スティッキーバー表示中は本文のpaddingBottomを確保 */
body:has(.sticky-cart-bar--visible) .main-with-bottom-nav {
  padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
}

/* ===== GROUP BUY DETAIL PAGE ===== */
.gd-head {
  background: var(--amber);
  padding: 20px 16px;
}
.gd-tag {
  background: rgba(255,255,255,.25);
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 8px;
}
.gd-title {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
}
.gd-deadline {
  color: rgba(255,255,255,.85);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.gd-body { padding: 16px; }

.progress-section {
  background: var(--amber-light);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 16px;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 8px;
}
.progress-current { font-size: 22px; font-weight: 700; color: var(--amber); }
.progress-target { font-size: 13px; color: var(--text-tertiary); }
.progress-track {
  height: 8px;
  background: var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 6px;
}
.progress-fill { height: 8px; background: var(--amber); border-radius: var(--radius-pill); }
.progress-note { font-size: 11px; color: var(--amber); font-weight: 500; }

.gd-price-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 16px;
}
.gd-price-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 13px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.gd-price-row:last-child { border-bottom: none; font-weight: 600; color: var(--text-primary); }

.gd-condition {
  background: var(--brand-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
}
.gd-condition-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.gd-condition-text {
  font-size: 11px;
  color: var(--brand-dark);
  line-height: 1.8;
}
.join-btn {
  width: 100%;
  background: var(--amber);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 15px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background .15s;
}
.join-btn:hover { background: #d35400; }

/* ===== MAIN CONTENT PADDING ===== */
.main-with-bottom-nav {
  padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
}

/* ===== BOTTOM NAV ===== */
.bottom-nav {
  display: flex;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 8px 0 env(safe-area-inset-bottom, 4px);
  position: sticky;
  bottom: 0;
  z-index: 10000;
}
.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  padding: 4px 0;
  text-decoration: none;
  color: var(--text-tertiary);
  transition: color .15s;
  position: relative;
}
.nav-item i {
  font-size: 22px;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1);
}
.nav-label { font-size: 10px; }
.nav-item.active, .nav-item:hover { color: var(--brand); }
.nav-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--brand);
  border-radius: 0 0 2px 2px;
}
.nav-item:hover i, .nav-item.active i { transform: scale(1.18); }
.nav-item:active i { transform: scale(.90); }

/* ===== PAGE CONTENT ===== */
.page-content {
  padding: 20px 16px 48px;
  max-width: 800px;
  margin: 0 auto;
}
.page-content h1 {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-light);
  line-height: 1.4;
}
.page-content h2 {
  font-size: 15px;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--text-primary);
  padding-left: 10px;
  border-left: 3px solid var(--brand);
  line-height: 1.5;
}
.page-content h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 18px 0 8px;
  color: var(--text-primary);
}
.page-content p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.page-content ul,
.page-content ol {
  padding-left: 20px;
  margin-bottom: 14px;
}
.page-content li {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.page-content a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page-content a:hover { opacity: 0.8; }
.page-content strong {
  font-weight: 700;
  color: var(--text-primary);
}
.page-content img {
  width: 100%;
  border-radius: 8px;
  margin: 12px 0;
}
.page-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}
.page-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 16px;
}
.page-content th {
  background: var(--brand-light);
  padding: 8px 10px;
  font-weight: 600;
  text-align: left;
  border-bottom: 2px solid var(--border);
  color: var(--text-primary);
}
.page-content td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--brand-dark);
  color: #fff;
  padding: 24px 16px;
  margin-top: 20px;
}
.footer-inner { max-width: 800px; margin: 0 auto; }
.footer-logo-wrap { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.footer-logo { font-size: 16px; font-weight: 600; }
.footer-sub { font-size: 12px; color: rgba(255,255,255,.7); margin-bottom: 16px; white-space: pre-line; }
.footer-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.footer-info-head { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.footer-info-item { font-size: 12px; color: rgba(255,255,255,.8); display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.footer-info-item i { font-size: 14px; color: rgba(255,255,255,.6); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 16px;
}
.footer-nav a { font-size: 12px; color: rgba(255,255,255,.8); }
.footer-nav a:hover { color: #fff; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,.5); }

/* ===== FOOTER AI FRESHNESS ===== */
.footer-ai-freshness {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}
.footer-ai-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: .02em;
}
.footer-ai-icon { font-size: 18px; }
.footer-ai-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.footer-ai-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-ai-step-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.footer-ai-step-text {
  font-size: 12px;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
  padding-top: 3px;
}
.footer-ai-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(76,175,80,.2);
  border: 1px solid rgba(76,175,80,.4);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #a5d6a7;
  width: fit-content;
}

/* ===== COLLECTION PAGE ===== */
.collection-header {
  background: var(--brand);
  padding: 20px 16px;
  color: #fff;
}
.collection-title { font-size: 20px; font-weight: 700; }
.collection-count { font-size: 12px; color: rgba(255,255,255,.75); margin-top: 4px; }

/* ===== CART ===== */
.cart-page { padding: 16px; }
.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: #FFF5F5;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.cart-item-price { font-size: 14px; font-weight: 600; color: var(--brand); margin-bottom: 8px; }
.cart-qty-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.cart-qty-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  flex-shrink: 0;
}
.cart-qty-btn:hover { background: #f5c6c2; }
.cart-qty-num {
  min-width: 24px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}
.cart-remove-btn {
  margin-left: auto;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: transparent;
  color: var(--text-tertiary);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .15s, background .15s;
}
.cart-remove-btn:hover { color: var(--brand); background: var(--brand-light); }
.cart-total {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  border-top: 2px solid var(--border);
  margin-top: 8px;
}
.checkout-btn {
  width: 100%;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 15px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  margin-top: 16px;
  transition: background .15s;
}
.checkout-btn:hover { background: var(--brand-dark); }

/* ===== UTILITIES ===== */
.text-brand { color: var(--brand); }
.text-amber { color: var(--amber); }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.pb-safe { padding-bottom: env(safe-area-inset-bottom, 80px); }

/* ===== PRODUCT DETAIL - ENHANCED (案A/B/C) ===== */
/* カテゴリーバッジ */
.detail-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.detail-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.badge-cat {
  background: var(--brand-light);
  color: var(--brand);
}
.badge-recipe {
  background: #FFF3CD;
  color: #856404;
}

/* 使い方説明ボックス */
.how-to-use-box {
  background: #F0F9F0;
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px;
  margin-bottom: 16px;
}
.how-to-use-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.how-to-use-text {
  font-size: 12px;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 10px;
}
.use-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.use-tag {
  background: #fff;
  border: 1px solid var(--brand);
  color: var(--brand);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

/* この商品で作れる料理セクション */
.dish-section {
  margin-bottom: 20px;
}
.dish-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.dish-section-bar {
  width: 4px;
  height: 18px;
  background: var(--brand);
  border-radius: 2px;
  flex-shrink: 0;
}
.dish-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.dish-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dish-card {
  display: flex;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  text-decoration: none;
  color: inherit;
  align-items: center;
  transition: box-shadow .15s;
}
.dish-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.dish-card-img {
  width: 90px;
  height: 90px;
  border-radius: var(--radius);
  background: var(--brand-light);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.dish-card-img img,
.dish-card-img .dish-card-photo { width: 100%; height: 100%; object-fit: cover; }
.dish-card-emoji { font-size: 36px; }
.dish-card-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background: #28a745;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
}
.dish-card-body { flex: 1; min-width: 0; }
.dish-card-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dish-card-conv {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.dish-card-arrow { color: var(--brand); font-weight: 700; }
.dish-card-meta {
  display: flex;
  gap: 8px;
  font-size: 11px;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}
.dish-card-link {
  font-size: 11px;
  color: var(--brand);
  font-weight: 600;
}

/* レシピ詳細 - まとめ買いセクション強化 */
.rcp-bundle-section {
  background: #FFFBF0;
  border: 1px solid #F0C040;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
}
.rcp-bundle-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.rcp-bundle-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.rcp-bundle-total {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
}
.rcp-bundle-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.rcp-bundle-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: var(--radius);
  padding: 8px 10px;
}
.rcp-bundle-item-img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: var(--brand-light);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.rcp-bundle-item-img img { width: 100%; height: 100%; object-fit: contain; }
.rcp-bundle-item-info { flex: 1; min-width: 0; }
.rcp-bundle-item-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rcp-bundle-item-price {
  font-size: 12px;
  color: var(--brand);
  font-weight: 600;
}
.rcp-bundle-item-add {
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  transition: background .15s;
}
.rcp-bundle-item-add:hover { background: var(--brand-dark); }
.rcp-bundle-btn {
  width: 100%;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 14px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background .15s;
  border: none;
  cursor: pointer;
}
.rcp-bundle-btn:hover { background: var(--brand-dark); }

/* ===== グループ選択UI ===== */
.rcp-bundle-item--group {
  flex-direction: column;
  align-items: stretch;
  padding: 10px;
  gap: 8px;
}
.rcp-group-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}
.rcp-group-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rcp-group-option-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius);
  border: 2px solid #e8e0d0;
  background: #fafafa;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  position: relative;
}
.rcp-group-option-label.selected {
  border-color: var(--brand);
  background: #fff8f0;
}
.rcp-group-option-img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--brand-light);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.rcp-group-option-img img { width: 100%; height: 100%; object-fit: contain; }
.rcp-group-option-info { flex: 1; min-width: 0; }
.rcp-group-option-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rcp-group-option-price {
  font-size: 12px;
  color: var(--brand);
  font-weight: 600;
}
.rcp-group-option-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: transparent;
  font-size: 11px;
  transition: all .15s;
}
.rcp-group-option-label.selected .rcp-group-option-check {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.rcp-group-add-btn {
  align-self: flex-end;
  margin-top: 2px;
}

/* ===== 昼配達カード (dlv-*) ===== */

/* カード本体 */
.dlv-card {
  margin: 12px 0;
  border-radius: 16px;
  border: 1.5px solid var(--border);
  background: #fff;
  overflow: hidden;
}

/* カードヘッダー */
.dlv-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
  background: linear-gradient(135deg, var(--brand) 0%, #b71c1c 100%);
  color: #fff;
}
.dlv-card-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dlv-card-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.dlv-card-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.dlv-card-subtitle {
  font-size: 11px;
  opacity: 0.85;
  margin-top: 1px;
}
.dlv-card-badge-area {
  font-size: 11px;
  background: rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 3px 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

/* 配達料金バー */
.dlv-fee-section {
  padding: 12px 16px 10px;
  background: #fafafa;
}
.dlv-fee-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.dlv-fee-label {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.dlv-fee-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand);
}
.dlv-fee-free {
  font-size: 13px;
  font-weight: 700;
  color: #2e7d32;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.dlv-progress-track {
  height: 6px;
  background: #e8e8e8;
  border-radius: 999px;
  overflow: hidden;
}
.dlv-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand) 0%, #ff8f00 100%);
  border-radius: 999px;
  transition: width 0.4s ease;
}
.dlv-progress-label {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 5px;
}

/* 区切り線 */
.dlv-divider {
  height: 1px;
  background: var(--border);
  margin: 0 16px;
}

/* セクションラベル */
.dlv-section-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 12px 16px 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.dlv-section-label--toggle {
  cursor: pointer;
  justify-content: space-between;
  padding: 12px 16px;
  user-select: none;
}
.dlv-section-label-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 便選択グリッド */
.dlv-slots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 16px 14px;
}
.dlv-slot-card {
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  background: #fff;
  position: relative;
}
.dlv-slot-card:active { transform: scale(0.97); }
.dlv-slot-card--selected {
  border-color: var(--brand);
  background: #fff5f5;
  box-shadow: 0 2px 10px rgba(183,28,28,0.12);
}
.dlv-slot-card--closed {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}
.dlv-slot-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}
.dlv-slot-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.dlv-slot-icon--am {
  background: #fff3e0;
  color: #e65100;
}
.dlv-slot-icon--pm {
  background: #e8eaf6;
  color: #3949ab;
}
.dlv-slot-card--selected .dlv-slot-icon--am { background: #ffe0b2; }
.dlv-slot-card--selected .dlv-slot-icon--pm { background: #c5cae9; }
.dlv-check-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  transition: all 0.2s;
}
.dlv-check-dot--active {
  border-color: var(--brand);
  background: var(--brand);
  box-shadow: inset 0 0 0 3px #fff;
}
.dlv-slot-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.dlv-slot-deadline {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 2px;
}
.dlv-slot-arrive {
  font-size: 11px;
  color: var(--text-tertiary);
}
.dlv-slot-status-wrap {
  margin-top: 8px;
}
.dlv-status-badge {
  font-size: 10px;
  font-weight: 600;
  border-radius: 999px;
  padding: 2px 8px;
  display: inline-block;
}
.dlv-status-badge--open {
  background: #e8f5e9;
  color: #2e7d32;
}
.dlv-status-badge--closed {
  background: #f5f5f5;
  color: #9e9e9e;
}

/* 翌日案内 */
.dlv-next-day {
  margin: 0 16px 12px;
  padding: 10px 12px;
  background: #fff8e1;
  border-radius: 8px;
  font-size: 12px;
  color: #e65100;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* エリアチップ */
.dlv-area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 14px;
}
.dlv-area-chip {
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: #fff;
  cursor: pointer;
  transition: all 0.15s;
}
.dlv-area-chip--active {
  border-color: var(--brand);
  color: var(--brand);
  background: #fff5f5;
  font-weight: 700;
}

/* 住所入力 */
.dlv-address-wrap {
  padding: 0 16px 14px;
}
.dlv-address-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fafafa;
}
.dlv-address-input-row i {
  color: var(--text-tertiary);
  font-size: 16px;
  flex-shrink: 0;
}
.dlv-address-input {
  border: none;
  background: transparent;
  font-size: 13px;
  color: var(--text-primary);
  width: 100%;
  outline: none;
}
.dlv-address-input-row:focus-within {
  border-color: var(--brand);
  background: #fff;
}

/* 法人トグル */
.dlv-toggle {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #ccc;
  position: relative;
  transition: background 0.2s;
  cursor: pointer;
}
.dlv-toggle--on { background: var(--brand); }
.dlv-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: left 0.2s;
}
.dlv-toggle--on .dlv-toggle-knob { left: 21px; }

/* 法人フィールド */
.dlv-corp-fields {
  padding: 0 16px 14px;
}
.dlv-corp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.dlv-corp-label {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}
.dlv-corp-input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  color: var(--text-primary);
  background: #fafafa;
  outline: none;
  box-sizing: border-box;
}
.dlv-corp-input:focus {
  border-color: var(--brand);
  background: #fff;
}

/* 人数カウンター */
.dlv-people-row {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  background: #fafafa;
}
.dlv-people-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  color: var(--text-secondary);
}
.dlv-people-num {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand);
  min-width: 24px;
  text-align: center;
}
.dlv-people-unit {
  font-size: 12px;
  color: var(--text-tertiary);
}

/* 定期注文 */
.dlv-regular-wrap {
  margin-top: 4px;
}
.dlv-regular-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.dlv-regular-chip {
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  color: var(--text-secondary);
  background: #fff;
  cursor: pointer;
  transition: all 0.15s;
}
.dlv-regular-chip--active {
  border-color: var(--brand);
  color: var(--brand);
  background: #fff5f5;
  font-weight: 700;
}
.dlv-regular-note {
  font-size: 11px;
  color: var(--text-tertiary);
  display: flex;
  align-items: flex-start;
  gap: 4px;
  line-height: 1.5;
  padding: 6px 0;
}

/* 合計ブロック */
.cart-summary-block {
  margin: 4px 0 8px;
  padding: 12px 0 0;
  border-top: 2px solid var(--border);
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 4px 0;
}
.cart-summary-grand {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand);
  border-top: 1px dashed var(--border);
  margin-top: 6px;
  padding-top: 8px;
}

/* チェックアウトボタン */
.checkout-btn:disabled {
  background: #ccc !important;
  cursor: not-allowed;
}

/* ===== 名物お弁当配送バナー (hero-bento-*) ===== */
.hero-bento-banner {
  display: flex; align-items: center; gap: 10px;
  margin: 14px 0 0; padding: 12px 14px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 14px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  text-decoration: none; color: #fff;
  transition: background 0.2s, transform 0.15s; cursor: pointer;
}
.hero-bento-banner:active { transform: scale(0.98); }
.hero-bento-banner:hover { background: rgba(255,255,255,0.2); }
.hero-bento-banner__icon { font-size: 28px; flex-shrink: 0; line-height: 1; }
.hero-bento-banner__text { flex: 1; min-width: 0; }
.hero-bento-banner__title { font-size: 14px; font-weight: 700; letter-spacing: 0.3px; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-bento-banner__sub { font-size: 11px; opacity: 0.8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-bento-banner__slots { display: flex; flex-direction: column; gap: 4px; flex-shrink: 0; }
.hero-bento-slot { font-size: 10px; font-weight: 600; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.hero-bento-slot--am { background: rgba(255,152,0,0.3); border: 1px solid rgba(255,152,0,0.6); color: #ffe0b2; }
.hero-bento-slot--pm { background: rgba(63,81,181,0.3); border: 1px solid rgba(63,81,181,0.6); color: #c5cae9; }
.hero-bento-banner__arrow { font-size: 18px; opacity: 0.7; flex-shrink: 0; }

/* ===== 名物弁当配達ピル (hero-bento-pill) ===== */
.hero-action-row {
  margin-top: 12px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: stretch;
}

/* ピルバッジ本体 */
.hero-bento-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  max-width: none;
  padding: 7px 14px 7px 10px;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s;
  white-space: nowrap;
}
.hero-bento-pill:active { transform: scale(0.96); }
.hero-bento-pill:hover { background: rgba(255,255,255,0.25); }

.hero-bento-pill__emoji {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}
.hero-bento-pill__body {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.hero-bento-pill__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.2;
}
.hero-bento-pill__slots {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  opacity: 0.85;
}
.hero-bento-pill__slot--am { color: #ffe0b2; }
.hero-bento-pill__slot--pm { color: #c5cae9; }
.hero-bento-pill__sep { opacity: 0.5; }
.hero-bento-pill__arrow {
  font-size: 16px;
  opacity: 0.7;
  flex-shrink: 0;
  margin-left: 2px;
}

/* 旧バナークラスは削除（不要） */
.hero-bento-banner { display: none !important; }


/* ===================================================
   取り扱い店舗リスト (rkn-stores)
   =================================================== */
.rkn-stores {
  background: #fff;
  padding: 40px 0 48px;
}
.rkn-stores__inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px;
}
.rkn-stores__header {
  text-align: center;
  margin-bottom: 28px;
}
.rkn-stores__badge {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.rkn-stores__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.35;
  margin: 0 0 10px;
}
.rkn-stores__desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}
.rkn-stores__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.rkn-store-card {
  background: #fafafa;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.rkn-store-card:active {
  border-color: var(--brand);
  box-shadow: 0 2px 10px rgba(192,57,43,0.12);
}
.rkn-store-card--recruit {
  border-style: dashed;
  background: #fff;
  opacity: 0.75;
}
.rkn-store-card__emoji-wrap {
  width: 44px;
  height: 44px;
  background: var(--brand-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rkn-store-card__emoji-wrap--recruit { background: #f0f0f0; }
.rkn-store-card__emoji { font-size: 24px; line-height: 1; }
.rkn-store-card__body { display: flex; flex-direction: column; gap: 4px; }
.rkn-store-card__name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}
.rkn-store-card__name--recruit { color: var(--text-secondary); }
.rkn-store-card__item { font-size: 11px; color: var(--text-secondary); }
.rkn-store-card__item--recruit { font-size: 10px; }
.rkn-store-card__tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.rkn-store-tag { font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.rkn-store-tag--new      { background: #E8F5E9; color: #2E7D32; }
.rkn-store-tag--popular  { background: #FFF3E0; color: #E65100; }
.rkn-store-tag--spicy    { background: #FFEBEE; color: #C62828; }
.rkn-store-tag--premium  { background: #F3E5F5; color: #6A1B9A; }
.rkn-store-tag--recruit  { background: #F5F5F5; color: #757575; }
.rkn-stores__cta { text-align: center; }
.rkn-stores__btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.18s, transform 0.12s;
}
.rkn-stores__btn:active { transform: scale(0.97); background: var(--brand-dark); }
.rkn-stores__note { font-size: 10px; color: var(--text-tertiary); margin-top: 10px; }

/* ===================================================
   ご利用の流れ (rkn-hiw)
   =================================================== */
.rkn-hiw {
  background: linear-gradient(160deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
  padding: 44px 0 52px;
  color: #fff;
}
.rkn-hiw__inner { max-width: 480px; margin: 0 auto; padding: 0 16px; }
.rkn-hiw__header { text-align: center; margin-bottom: 32px; }
.rkn-hiw__badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.rkn-hiw__title { font-size: 22px; font-weight: 800; color: #fff; line-height: 1.35; margin: 0 0 10px; }
.rkn-hiw__subtitle { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.7; margin: 0; }
.rkn-hiw__steps { display: flex; flex-direction: column; gap: 0; margin-bottom: 32px; }
.rkn-hiw__step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 18px 16px;
}
.rkn-hiw__arrow { text-align: center; font-size: 22px; color: rgba(255,255,255,0.3); padding: 4px 0; line-height: 1; }
.rkn-hiw__step-num {
  font-size: 11px;
  font-weight: 800;
  color: var(--brand);
  background: rgba(192,57,43,0.18);
  border-radius: 6px;
  padding: 2px 6px;
  flex-shrink: 0;
  margin-top: 2px;
}
.rkn-hiw__step-icon { font-size: 28px; line-height: 1; flex-shrink: 0; }
.rkn-hiw__step-body { flex: 1; min-width: 0; }
.rkn-hiw__step-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 5px; }
.rkn-hiw__step-desc { font-size: 12px; color: rgba(255,255,255,0.65); line-height: 1.6; }
.rkn-hiw__merits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 32px; }
.rkn-hiw__merit {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 10px 12px;
}
.rkn-hiw__merit-icon { font-size: 16px; flex-shrink: 0; }
.rkn-hiw__merit-text { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.9); line-height: 1.3; }
.rkn-hiw__cta { text-align: center; }
.rkn-hiw__btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.18s, transform 0.12s;
  box-shadow: 0 4px 20px rgba(192,57,43,0.4);
}
.rkn-hiw__btn:active { transform: scale(0.97); background: var(--brand-dark); }

/* ===================================================
   法人・オフィス向け (rkn-corp)
   =================================================== */
.rkn-corp {
  background: var(--bg);
  padding: 44px 0 52px;
  border-top: 1px solid var(--border);
}
.rkn-corp__inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.rkn-corp__badge {
  display: inline-block;
  background: #E8F5E9;
  color: #2E7D32;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.rkn-corp__title { font-size: 24px; font-weight: 800; color: var(--text-primary); line-height: 1.3; margin: 0 0 12px; }
.rkn-corp__desc { font-size: 13px; color: var(--text-secondary); line-height: 1.7; margin: 0 0 24px; }
.rkn-corp__features { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 14px; }
.rkn-corp__feature { display: flex; align-items: flex-start; gap: 12px; }
.rkn-corp__feature-icon { font-size: 22px; flex-shrink: 0; line-height: 1; margin-top: 1px; }
.rkn-corp__feature-title { font-size: 13px; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.rkn-corp__feature-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
.rkn-corp__cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.rkn-corp__btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.18s, transform 0.12s;
}
.rkn-corp__btn:active { transform: scale(0.97); }
.rkn-corp__btn--primary { background: var(--brand); color: #fff; }
.rkn-corp__btn--primary:active { background: var(--brand-dark); }
.rkn-corp__btn--secondary { background: #fff; color: var(--brand); border: 1.5px solid var(--brand); }
.rkn-corp__visual {
  background: linear-gradient(145deg, #c0392b 0%, #922b21 100%);
  border-radius: 20px;
  padding: 24px 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.rkn-corp__stat-card { text-align: center; }
.rkn-corp__stat-num { font-size: 36px; font-weight: 900; letter-spacing: -1px; line-height: 1; margin-bottom: 4px; }
.rkn-corp__stat-label { font-size: 12px; opacity: 0.8; }
.rkn-corp__timeline { display: flex; flex-direction: column; gap: 12px; }
.rkn-corp__tl-item { display: flex; align-items: flex-start; gap: 10px; }
.rkn-corp__tl-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; }
.rkn-corp__tl-item--am .rkn-corp__tl-dot { background: #FFB74D; }
.rkn-corp__tl-item--pm .rkn-corp__tl-dot { background: #9FA8DA; }
.rkn-corp__tl-label { font-size: 12px; font-weight: 700; margin-bottom: 2px; }
.rkn-corp__tl-time { font-size: 11px; opacity: 0.8; }
.rkn-corp__area-label {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11px;
  opacity: 0.75;
  line-height: 1.5;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 14px;
}
.rkn-corp__area-icon { flex-shrink: 0; font-size: 14px; }

/* ===== 店舗カード リンク対応 ===== */
.rkn-store-card--link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.rkn-store-card--link:hover,
.rkn-store-card--link:focus {
  border-color: var(--brand);
  box-shadow: 0 4px 16px rgba(192,57,43,0.14);
  transform: translateY(-2px);
}
.rkn-store-card--link:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(192,57,43,0.10);
}
.rkn-store-card__arrow {
  margin-left: auto;
  font-size: 18px;
  color: var(--text-tertiary);
  flex-shrink: 0;
  padding-left: 6px;
  transition: color 0.18s;
}
.rkn-store-card--link:hover .rkn-store-card__arrow {
  color: var(--brand);
}

/* ===== お弁当タブ 強調スタイル ===== */
.cat-chip--bento {
  background: var(--brand) !important;
  color: #fff !important;
  border-color: var(--brand) !important;
  font-weight: 700;
  position: relative;
}
.cat-chip--bento::after {
  content: '🍱';
  display: none; /* emojiはテキストに含む */
}
.cat-chip--bento:hover,
.cat-chip--bento:focus {
  background: var(--brand-dark) !important;
  border-color: var(--brand-dark) !important;
  color: #fff !important;
}
.cat-chip--bento.active {
  background: var(--brand-dark) !important;
  border-color: var(--brand-dark) !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(192,57,43,0.30);
}

/* ===== サービスハブ (rakuen-hub) ===== */
.rkn-hub { padding: 16px 16px 8px; }
.rkn-hub__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* お弁当強調カード */
.rkn-hub-card--bento {
  display: block;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: var(--radius);
  text-decoration: none;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 4px 16px rgba(192,57,43,0.22);
}
.rkn-hub-card--bento:active { transform: scale(0.98); }
.rkn-hub-card--bento:hover { box-shadow: 0 6px 24px rgba(192,57,43,0.32); }
.rkn-hub-card__badge {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(255,255,255,0.22);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: .04em;
}
.rkn-hub-card__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 14px;
}
.rkn-hub-card__icon { font-size: 32px; flex-shrink: 0; }
.rkn-hub-card__body { flex: 1; min-width: 0; }
.rkn-hub-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.rkn-hub-card__desc {
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 4px;
}
.rkn-hub-card__slots {
  font-size: 10px;
  color: rgba(255,255,255,0.75);
  background: rgba(0,0,0,0.15);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
}
.rkn-hub-card__arrow {
  font-size: 20px;
  color: rgba(255,255,255,0.7);
  flex-shrink: 0;
}

/* 本業3カードグリッド */
.rkn-hub-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}
.rkn-hub-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.rkn-hub-mini:hover, .rkn-hub-mini:focus {
  border-color: var(--brand);
  box-shadow: 0 2px 8px rgba(192,57,43,0.10);
}
.rkn-hub-mini:active { background: var(--brand-light); }
.rkn-hub-mini__icon { font-size: 22px; flex-shrink: 0; }
.rkn-hub-mini__body { flex: 1; min-width: 0; }
.rkn-hub-mini__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  margin-bottom: 1px;
}
.rkn-hub-mini__desc {
  font-size: 11px;
  color: var(--text-secondary);
  display: block;
}
.rkn-hub-mini__arrow {
  font-size: 18px;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

/* ===== お弁当シンプルページ (rakuen-bento-simple) ===== */
.bento-simple {
  padding: 32px 16px 40px;
  max-width: 480px;
  margin: 0 auto;
}
.bento-simple__hero {
  text-align: center;
  margin-bottom: 28px;
}
.bento-simple__emoji {
  font-size: 56px;
  margin-bottom: 12px;
}
.bento-simple__title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 10px;
}
.bento-simple__sub {
  font-size: 13px;
  color: var(--text-secondary);
}

/* 受取方法カード */
.bento-simple__options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.bento-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}
.bento-opt:active { transform: scale(0.98); }

.bento-opt--delivery {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(192,57,43,0.22);
}
.bento-opt--delivery .bento-opt__title { color: #fff; }
.bento-opt--delivery .bento-opt__slots { color: rgba(255,255,255,0.9); }
.bento-opt--delivery .bento-opt__note { color: rgba(255,255,255,0.75); }
.bento-opt--delivery .bento-opt__arrow { color: rgba(255,255,255,0.7); }

.bento-opt--pickup {
  background: var(--white);
  border: 2px solid var(--border);
}
.bento-opt--pickup:hover {
  border-color: var(--brand);
  box-shadow: 0 2px 10px rgba(192,57,43,0.12);
}

.bento-opt__icon { font-size: 32px; flex-shrink: 0; }
.bento-opt__body { flex: 1; min-width: 0; }
.bento-opt__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}
.bento-opt__slots {
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.bento-opt__note {
  font-size: 11px;
  color: var(--text-tertiary);
  background: rgba(0,0,0,0.06);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
}
.bento-opt--delivery .bento-opt__note {
  background: rgba(0,0,0,0.18);
  color: rgba(255,255,255,0.85);
}
.bento-opt__arrow {
  font-size: 22px;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

/* CTAボタン */
.bento-simple__cta { text-align: center; }
.bento-simple__btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 14px rgba(192,57,43,0.25);
}
.bento-simple__btn:hover {
  background: var(--brand-dark);
  box-shadow: 0 6px 20px rgba(192,57,43,0.35);
}

/* ===== お弁当シンプルv2 (rakuen-bento-simple) ===== */
.bento-simple {
  padding: 36px 20px 48px;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}
.bento-simple__hero { margin-bottom: 24px; }
.bento-simple__emoji { font-size: 60px; margin-bottom: 12px; }
.bento-simple__title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.bento-simple__sub {
  font-size: 13px;
  color: var(--text-secondary);
}

/* バッジ */
.bento-simple__badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.bento-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.bento-badge--delivery {
  background: var(--brand);
  color: #fff;
}
.bento-badge--pickup {
  background: var(--white);
  border: 2px solid var(--brand);
  color: var(--brand);
}

/* 便スロット */
.bento-simple__slots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  background: var(--bg-secondary, #f8f8f8);
  border-radius: var(--radius);
  padding: 14px 20px;
}
.bento-slot {
  display: flex;
  align-items: center;
  gap: 6px;
}
.bento-slot__icon { font-size: 18px; }
.bento-slot__label {
  font-size: 11px;
  color: var(--text-secondary);
}
.bento-slot__time {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}
.bento-slot__divider {
  font-size: 20px;
  color: var(--text-tertiary);
}

/* CTAボタン */
.bento-simple__cta { margin-bottom: 16px; }
.bento-simple__btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 15px 36px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(192,57,43,0.28);
  transition: background 0.15s, box-shadow 0.15s;
}
.bento-simple__btn:hover {
  background: var(--brand-dark);
  box-shadow: 0 6px 22px rgba(192,57,43,0.38);
}

/* 注記 */
.bento-simple__note {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 8px;
}

/* =============================================
   GROUP BUY ADMIN — ステータス変更ボタン (D)
   ============================================= */
.gba-status-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  margin-top: 4px;
  transition: opacity 0.15s;
}
.gba-status-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.gba-status-btn--confirm {
  background: #27ae60;
  color: #fff;
}
.gba-status-btn--confirm:hover:not(:disabled) {
  background: #219150;
}
.gba-status-btn--cancel {
  background: #e74c3c;
  color: #fff;
}
.gba-status-btn--cancel:hover:not(:disabled) {
  background: #c0392b;
}
.gba-td--actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

/* ===== 受取方法一括選択セクション ===== */
.rcv-section { margin: 12px 0 0; padding: 0 16px; }
.rcv-section-title {
  font-size: 13px; font-weight: 700; color: var(--text-secondary);
  letter-spacing: .04em; margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
}
.rcv-card {
  border: 1.5px solid var(--border); border-radius: 12px;
  margin-bottom: 10px; overflow: hidden;
  background: var(--white); cursor: pointer;
  transition: border-color .18s, box-shadow .18s;
}
.rcv-card--selected { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(192,57,43,.12); }
.rcv-card--disabled { opacity: .75; cursor: default; }
.rcv-card-inner { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; }
.rcv-radio-wrap { flex-shrink: 0; }
.rcv-radio-dot {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--border); background: transparent;
  transition: border-color .15s, background .15s; position: relative;
}
.rcv-radio-dot--active { border-color: var(--brand); background: var(--brand); }
.rcv-radio-dot--active::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); width: 6px; height: 6px;
  border-radius: 50%; background: #fff;
}
.rcv-card-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.rcv-card-icon--delivery { background: #fff3e0; color: #e65100; }
.rcv-card-icon--pickup   { background: #e8f5e9; color: #2e7d32; }
.rcv-card-icon--shipping { background: #e3f2fd; color: #1565c0; }
.rcv-card-body { flex: 1; min-width: 0; }
.rcv-card-label { font-size: 14px; font-weight: 700; color: var(--text-primary); line-height: 1.3; }
.rcv-card-sub { font-size: 11px; color: var(--text-tertiary); margin-top: 2px; }
.rcv-card-right { flex-shrink: 0; }
.rcv-badge-free {
  background: #e8f5e9; color: #2e7d32;
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
}
.rcv-upsell {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--text-secondary);
  padding: 0 14px 12px; flex-wrap: wrap;
}
.rcv-upsell-link { color: var(--brand); font-size: 12px; text-decoration: none; margin-left: 4px; }
.rcv-form-divider { height: 1px; background: var(--border); margin: 0 14px 12px; }
.rcv-form-label {
  font-size: 12px; font-weight: 600; color: var(--text-secondary);
  padding: 0 14px; margin-bottom: 8px;
  display: flex; align-items: center; gap: 5px;
}
.rcv-slots-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; padding: 0 14px; margin-bottom: 10px;
}
.rcv-slot-card {
  border: 1.5px solid var(--border); border-radius: 10px;
  padding: 10px; cursor: pointer; background: var(--bg);
  transition: border-color .15s;
}
.rcv-slot-card--selected { border-color: var(--brand); background: #fff8f8; }
.rcv-slot-card--closed   { opacity: .5; cursor: default; }
.rcv-slot-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.rcv-slot-icon {
  width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.rcv-slot-icon--am { background: #fff8e1; color: #f57f17; }
.rcv-slot-icon--pm { background: #ede7f6; color: #4527a0; }
.rcv-check-dot {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--border);
  transition: border-color .15s, background .15s; position: relative;
}
.rcv-check-dot--active { border-color: var(--brand); background: var(--brand); }
.rcv-check-dot--active::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); width: 5px; height: 5px;
  border-radius: 50%; background: #fff;
}
.rcv-slot-name  { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.rcv-slot-time  { font-size: 11px; color: var(--text-tertiary); margin-top: 2px; }
.rcv-slot-arrive{ font-size: 11px; color: var(--text-secondary); }
.rcv-slot-badge {
  display: inline-block; font-size: 10px;
  padding: 2px 6px; border-radius: 999px; margin-top: 6px; font-weight: 600;
}
.rcv-slot-badge--open   { background: #e8f5e9; color: #2e7d32; }
.rcv-slot-badge--closed { background: #f5f5f5; color: #9e9e9e; }
.rcv-next-day {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-secondary);
  background: #fff8e1; border-radius: 8px;
  padding: 8px 12px; margin: 0 14px 10px;
}
.rcv-zip-row { display: flex; align-items: center; gap: 6px; margin: 0 14px 8px; box-sizing: border-box; }
.rcv-zip-prefix { font-size: 14px; color: var(--text-secondary); flex-shrink: 0; }
.rcv-zip-input {
  flex: 1; min-width: 0; border: 1.5px solid var(--border); border-radius: 8px;
  padding: 8px 10px; font-size: 14px; background: var(--bg);
  color: var(--text-primary); outline: none; letter-spacing: .05em; box-sizing: border-box;
}
.rcv-zip-input:focus { border-color: var(--brand); }
.rcv-zip-btn {
  background: var(--brand); color: #fff; border: none;
  border-radius: 8px; padding: 8px 12px;
  font-size: 13px; font-weight: 600; cursor: pointer; flex-shrink: 0; white-space: nowrap;
}
.rcv-zip-result {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; padding: 6px 14px 8px;
}
.rcv-zip-result--ok    { color: #2e7d32; }
.rcv-zip-result--error { color: #c62828; }
.rcv-zip-result--warn  { color: #e65100; }
.rcv-address-wrap { padding: 0 14px 12px; }
.rcv-address-input {
  width: 100%; border: 1.5px solid var(--border); border-radius: 8px;
  padding: 9px 12px; font-size: 14px; background: var(--bg);
  color: var(--text-primary); outline: none; box-sizing: border-box;
}
.rcv-address-input:focus { border-color: var(--brand); }
.rcv-pickup-form { padding-bottom: 12px; }
.rcv-pickup-datetime-row { display: flex; gap: 8px; padding: 0 14px; margin-bottom: 8px; }
.rcv-pickup-input {
  flex: 1; border: 1.5px solid var(--border); border-radius: 8px;
  padding: 8px 10px; font-size: 13px; background: var(--bg);
  color: var(--text-primary); outline: none;
}
.rcv-pickup-input:focus { border-color: var(--brand); }
.rcv-pickup-id-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px; margin-bottom: 8px; }
.rcv-id-chip {
  border: 1.5px solid var(--border); border-radius: 999px;
  padding: 5px 12px; font-size: 12px; background: var(--bg);
  color: var(--text-secondary); cursor: pointer;
  transition: border-color .15s, background .15s;
}
.rcv-id-chip--active {
  border-color: var(--brand); background: #fff3e0;
  color: var(--brand); font-weight: 600;
}
.rcv-pickup-note {
  display: block; width: calc(100% - 28px); margin: 0 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 8px 12px; font-size: 13px; background: var(--bg);
  color: var(--text-primary); outline: none; resize: none; box-sizing: border-box;
}
.rcv-pickup-note:focus { border-color: var(--brand); }
.rcv-shipping-note { padding: 0 14px; }
/* ===== END 受取方法 ===== */

/* === スティッキーカートバー === */
.sticky-cart-bar {
  position: fixed;
  bottom: 60px;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #fff;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}
.sticky-cart-bar--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.sticky-cart-bar__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.sticky-cart-bar__name {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-cart-bar__price {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-red, #c0392b);
}
.sticky-cart-bar__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--brand-red, #c0392b);
  color: #fff;
  border: none;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.sticky-cart-bar__btn:hover {
  background: #a93226;
}
.sticky-cart-bar__btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}
