/* =====================================================
   シール帳ナビ - メインスタイルシート
   ===================================================== */

/* CSS変数 */
:root {
  --primary: #FF8FAB;
  --primary-light: #FFB3C6;
  --primary-dark: #E05C7C;
  --secondary: #B5A0D8;
  --secondary-light: #D4C5F0;
  --accent: #7DD8C6;
  --accent-light: #A8ECE2;
  --yellow: #FFD166;
  --yellow-light: #FFE8A3;
  --bg-main: #FFF5F8;
  --bg-card: #FFFFFF;
  --bg-section: #FDF0F5;
  --text-main: #4A3550;
  --text-sub: #8C7A96;
  --text-light: #B8A8C0;
  --border: #F0D6E8;
  --shadow: 0 4px 20px rgba(180, 100, 140, 0.12);
  --shadow-hover: 0 8px 30px rgba(180, 100, 140, 0.22);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --font-main: 'Noto Sans JP', 'M PLUS Rounded 1c', sans-serif;
}

/* リセット & ベース */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  min-height: 100vh;
}

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

/* スクロールバー */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 3px; }

/* =====================================================
   ヘッダー
   ===================================================== */
.site-header {
  background: linear-gradient(135deg, #fff0f5 0%, #f5e8ff 50%, #e8f5ff 100%);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(180, 100, 140, 0.3);
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.02em;
}

/* メインナビ */
.main-nav { display: flex; align-items: center; gap: 4px; }

.nav-link {
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  background: var(--primary);
  color: white;
  transform: translateY(-1px);
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s;
}

/* モバイルメニュー */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 2px solid var(--border);
  padding: 16px 20px;
  z-index: 99;
  box-shadow: var(--shadow);
}

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

.mobile-menu .nav-link {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
  border-radius: 10px;
  margin-bottom: 4px;
}

/* =====================================================
   メインコンテンツ共通
   ===================================================== */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px;
}

/* セクション */
.section { margin-bottom: 56px; }

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

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: '';
  width: 6px;
  height: 28px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 3px;
  display: inline-block;
}

.section-title .emoji { width: auto; height: auto; display: inline; }

.section-link {
  font-size: 0.875rem;
  color: var(--primary-dark);
  font-weight: 600;
  padding: 6px 14px;
  border: 2px solid var(--primary);
  border-radius: 20px;
  transition: all 0.2s;
  white-space: nowrap;
}

.section-link:hover {
  background: var(--primary);
  color: white;
}

/* =====================================================
   カード共通
   ===================================================== */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid var(--border);
}

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

/* グリッド */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* =====================================================
   シールカード
   ===================================================== */
.seal-card {
  position: relative;
  cursor: pointer;
}

.seal-card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: linear-gradient(135deg, #ffeef5, #f0e8ff);
}

.seal-card-body { padding: 14px; }

.seal-card-name {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
  color: var(--text-main);
}

.seal-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.seal-card-brand {
  font-size: 0.75rem;
  color: var(--text-sub);
  background: var(--bg-section);
  padding: 2px 8px;
  border-radius: 10px;
}

.seal-card-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.seal-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.badge-new { background: var(--primary); color: white; }
.badge-popular { background: var(--yellow); color: var(--text-main); }
.badge-rare { background: var(--secondary); color: white; }
.badge-collab { background: var(--accent); color: var(--text-main); }

/* =====================================================
   ニュースカード
   ===================================================== */
.news-card {
  display: flex;
  gap: 16px;
  padding: 16px;
}

.news-card-img {
  width: 120px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: linear-gradient(135deg, #ffeef5, #f0e8ff);
}

.news-card-body { flex: 1; }

.news-card-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 10px;
  margin-bottom: 6px;
}

.cat-new { background: var(--primary-light); color: var(--primary-dark); }
.cat-restock { background: var(--accent-light); color: #2D8C7C; }
.cat-collab { background: var(--secondary-light); color: #5A3E90; }
.cat-event { background: var(--yellow-light); color: #9B7820; }
.cat-stock { background: #F0F4FF; color: #3D5A9B; }

.news-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
}

.news-card-date {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* =====================================================
   ランキング
   ===================================================== */
.ranking-list { display: flex; flex-direction: column; gap: 12px; }

.ranking-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.ranking-item:hover { border-color: var(--primary); background: #fff8fa; }

.rank-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  flex-shrink: 0;
}

.rank-1 { background: linear-gradient(135deg, #FFD700, #FFA500); color: white; box-shadow: 0 2px 8px rgba(255,165,0,0.4); }
.rank-2 { background: linear-gradient(135deg, #C0C0C0, #999); color: white; }
.rank-3 { background: linear-gradient(135deg, #CD7F32, #A0522D); color: white; }
.rank-other { background: var(--bg-section); color: var(--text-sub); }

.ranking-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: linear-gradient(135deg, #ffeef5, #f0e8ff);
}

.ranking-info { flex: 1; }

.ranking-name {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2px;
  line-height: 1.3;
}

.ranking-brand { font-size: 0.75rem; color: var(--text-sub); }

.ranking-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary-dark);
}

/* =====================================================
   クイックナビ
   ===================================================== */
.quick-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.quick-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  background: white;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  color: var(--text-main);
}

.quick-nav-item:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.quick-nav-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.quick-nav-label {
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

/* =====================================================
   タブ
   ===================================================== */
.tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: var(--bg-section);
  border-radius: var(--radius);
  width: fit-content;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 8px 20px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-sub);
  transition: all 0.2s;
}

.tab-btn.active, .tab-btn:hover {
  background: white;
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(180, 100, 140, 0.15);
}

.tab-btn.active { color: var(--primary-dark); }

/* =====================================================
   検索・フィルター
   ===================================================== */
.search-box {
  position: relative;
  margin-bottom: 20px;
}

.search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border: 2px solid var(--border);
  border-radius: 30px;
  font-size: 1rem;
  font-family: var(--font-main);
  background: white;
  transition: border-color 0.2s;
  color: var(--text-main);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 143, 171, 0.15);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: var(--text-light);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-select {
  padding: 8px 16px;
  border: 2px solid var(--border);
  border-radius: 20px;
  font-size: 0.875rem;
  font-family: var(--font-main);
  background: white;
  color: var(--text-main);
  cursor: pointer;
  transition: border-color 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B8A8C0' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary);
}

.filter-chip {
  padding: 6px 16px;
  border: 2px solid var(--border);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  background: white;
  color: var(--text-sub);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-chip.active, .filter-chip:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

/* =====================================================
   ページタイトルバナー
   ===================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--bg-section) 0%, #f5e8ff 50%, #e8f5ff 100%);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255,143,171,0.2), transparent 70%);
  border-radius: 50%;
}

.page-hero-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

.page-hero-subtitle {
  font-size: 1rem;
  color: var(--text-sub);
}

/* =====================================================
   バッジ・ラベル
   ===================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
}

.badge-primary { background: var(--primary-light); color: var(--primary-dark); }
.badge-accent { background: var(--accent-light); color: #2D8C7C; }
.badge-secondary { background: var(--secondary-light); color: #5A3E90; }
.badge-yellow { background: var(--yellow-light); color: #9B7820; }

/* =====================================================
   ボタン
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 14px rgba(255, 100, 140, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 100, 140, 0.4);
}

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

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn-sm { padding: 8px 16px; font-size: 0.8rem; }

/* =====================================================
   空状態
   ===================================================== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}

.empty-state-icon { font-size: 4rem; margin-bottom: 16px; }
.empty-state-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.empty-state-text { font-size: 0.875rem; }

/* =====================================================
   ローディング
   ===================================================== */
.loading {
  display: flex;
  justify-content: center;
  padding: 60px;
}

.loading-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  margin: 0 4px;
  animation: bounce 1.4s infinite ease-in-out;
}

.loading-dot:nth-child(2) { animation-delay: 0.2s; background: var(--secondary); }
.loading-dot:nth-child(3) { animation-delay: 0.4s; background: var(--accent); }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* =====================================================
   フッター
   ===================================================== */
.site-footer {
  background: linear-gradient(135deg, #3D2650, #5A3E70);
  color: rgba(255,255,255,0.85);
  padding: 48px 20px 24px;
  margin-top: 80px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 24px;
}

.footer-brand { }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.footer-logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-col ul { display: flex; flex-direction: column; gap: 6px; }

.footer-col a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--primary-light); }

.footer-bottom {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

/* =====================================================
   モーダル
   ===================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.open .modal-box {
  transform: scale(1) translateY(0);
}

.modal-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.modal-body { padding: 24px; }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  border: none;
}

/* =====================================================
   ページネーション
   ===================================================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
}

.page-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid var(--border);
  background: white;
  color: var(--text-sub);
}

.page-btn.active, .page-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* =====================================================
   テーブル
   ===================================================== */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.data-table th {
  background: var(--bg-section);
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  color: var(--text-sub);
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #fff8fa; }

/* =====================================================
   レスポンシブ
   ===================================================== */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .quick-nav { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  
  .section-title { font-size: 1.2rem; }
  .page-hero-title { font-size: 1.4rem; }
  
  .footer-top { grid-template-columns: 1fr 1fr; }
  
  .news-card { flex-direction: column; }
  .news-card-img { width: 100%; height: 160px; }
  
  .quick-nav { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .quick-nav-item { padding: 16px 10px; }
  .quick-nav-icon { width: 44px; height: 44px; font-size: 20px; }
  .quick-nav-label { font-size: 0.75rem; }
}

@media (max-width: 480px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  
  .main-content { padding: 20px 16px; }
  .page-hero { padding: 28px 20px; }
  
  .footer-top { grid-template-columns: 1fr; }
  
  .quick-nav { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  
  .tabs { flex-wrap: wrap; }
}

/* =====================================================
   アニメーション
   ===================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.fade-in { animation: fadeIn 0.5s ease; }
.fade-in-up { animation: fadeInUp 0.5s ease; }

/* 装飾要素 */
.deco-dots {
  position: absolute;
  pointer-events: none;
  opacity: 0.15;
}

/* =====================================================
   購入ボタン（アフィリエイト）
   ===================================================== */

/* カード内コンパクトボタン */
.buy-btns-compact {
  display: flex;
  gap: 5px;
  margin-top: 8px;
}

.buy-btn-amazon-sm,
.buy-btn-rakuten-sm {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 4px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.01em;
  line-height: 1;
}

.buy-btn-amazon-sm {
  background: linear-gradient(135deg, #FF9900, #FF6600);
  color: white;
  box-shadow: 0 2px 6px rgba(255,120,0,0.3);
}
.buy-btn-amazon-sm:hover { background: linear-gradient(135deg, #FFB020, #FF7810); transform: translateY(-1px); }

.buy-btn-rakuten-sm {
  background: linear-gradient(135deg, #BF0000, #990000);
  color: white;
  box-shadow: 0 2px 6px rgba(180,0,0,0.25);
}
.buy-btn-rakuten-sm:hover { background: linear-gradient(135deg, #D91010, #AA1010); transform: translateY(-1px); }

/* モーダル内フルボタン */
.buy-btns {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.buy-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 10px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.buy-btn-icon { font-size: 1rem; }

.buy-btn-amazon {
  background: linear-gradient(135deg, #FF9900, #FF6600);
  color: white;
  box-shadow: 0 4px 14px rgba(255,120,0,0.35);
}
.buy-btn-amazon:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(255,120,0,0.45); }

.buy-btn-rakuten {
  background: linear-gradient(135deg, #BF0000, #990000);
  color: white;
  box-shadow: 0 4px 14px rgba(180,0,0,0.3);
}
.buy-btn-rakuten:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(180,0,0,0.4); }

/* アフィリエイト注記 */
.affiliate-note {
  font-size: 0.65rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 6px;
}

/* モーダル購入エリア強調ラベル */
.buy-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-sub);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* カード画像ラッパー（画像読み込み安定化） */
.seal-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--bg-section);
}

.seal-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform 0.3s ease;
}

.seal-card:hover .seal-card-img-wrap img {
  transform: scale(1.06);
}

/* 在庫バッジ */
.stock-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
}

.stock-in { background: #e8f9f0; color: #2a7a50; }
.stock-hard { background: #ffe8ec; color: #c0304a; }
.stock-restock { background: #fff3d4; color: #a06400; }

/* =====================================================
   トースト通知
   ===================================================== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--text-main);
  color: white;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-hover);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s;
  z-index: 300;
}

.toast.show { transform: translateY(0); opacity: 1; }
