/* ========================================================
   Book List App - Modern Soft Aesthetic Theme (PC Enhanced)
   (Preserves 100% compatibility with original HTML/JS markup)
======================================================== */

:root {
  /* モダンでやわらかなカラーパレット */
  --md-primary: #6B8065;
  --md-on-primary: #FFFFFF;
  --md-primary-container: #EBF1E8;
  --md-on-primary-container: #222D1F;

  --md-secondary: #90837B;
  --md-on-secondary: #FFFFFF;
  --md-secondary-container: #F6EEEA;
  --md-on-secondary-container: #332B27;

  --md-tertiary: #A67C6B;
  --md-on-tertiary: #FFFFFF;
  --md-tertiary-container: #FAEDE8;
  --md-on-tertiary-container: #3D261E;

  --md-error: #D16A65;
  --md-on-error: #FFFFFF;
  --md-error-container: #FCECEB;
  --md-on-error-container: #4A1A18;

  /* 背景色・サーフェス */
  --md-background: #FDFCF9;
  --md-on-background: #2C2B29;
  --md-surface: #FFFFFF;
  --md-on-surface: #2C2B29;
  --md-surface-variant: #F5F3EC;
  --md-on-surface-variant: #78746D;
  --md-surface-container: #FAFAF6;
  --md-surface-container-high: #F2EFE8;

  --md-outline: #E5E2DB;
  --md-outline-variant: #F0EDE5;

  /* エレガントなシャドウ */
  --md-shadow-1: 0 4px 24px rgba(0, 0, 0, 0.03), 0 1px 4px rgba(0, 0, 0, 0.02);
  --md-shadow-2: 0 16px 40px rgba(107, 128, 101, 0.08), 0 6px 16px rgba(0, 0, 0, 0.03);
  --md-glow: 0 8px 28px -6px rgba(107, 128, 101, 0.35);
  --md-gradient-primary: linear-gradient(135deg, #6B8065 0%, #899E83 100%);

  /* 丸み */
  --md-shape-sm: 12px;
  --md-shape-md: 16px;
  --md-shape-lg: 24px;
  --md-shape-full: 999px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --md-primary: #AEC4A7;
    --md-on-primary: #1C2E17;
    --md-primary-container: #41563C;
    --md-on-primary-container: #EBF1E8;

    --md-background: #1A1918;
    --md-on-background: #EAE6DF;
    --md-surface: #242220;
    --md-on-surface: #EAE6DF;
    --md-surface-variant: #3A3835;
    --md-on-surface-variant: #B0ACA3;
    --md-surface-container: #2A2826;
    --md-surface-container-high: #35322F;

    --md-outline: #5C5851;
    --md-outline-variant: #423E3A;

    --md-shadow-1: 0 4px 24px rgba(0, 0, 0, 0.4), 0 1px 4px rgba(0, 0, 0, 0.2);
    --md-shadow-2: 0 16px 40px rgba(0, 0, 0, 0.6), 0 6px 16px rgba(0, 0, 0, 0.4);
    --md-glow: 0 8px 28px -6px rgba(174, 196, 167, 0.2);
    --md-gradient-primary: linear-gradient(135deg, #AEC4A7 0%, #C8DECA 100%);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', 'Roboto', 'Helvetica Neue', 'Noto Sans JP', 'Hiragino Sans', sans-serif;
  background-color: var(--md-background);
  color: var(--md-on-background);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* ========================================================
   背景の装飾 (Glassmorphism オーブ) 
   - PCのような大画面で余白の寂しさを解消します
======================================================== */
body::before, body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
  transition: all 1s ease;
}
body::before {
  top: -15vw;
  left: -10vw;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(174, 196, 167, 0.3) 0%, rgba(253, 252, 249, 0) 70%);
}
body::after {
  bottom: -20vw;
  right: -10vw;
  width: 65vw;
  height: 65vw;
  background: radial-gradient(circle, rgba(230, 213, 203, 0.3) 0%, rgba(253, 252, 249, 0) 70%);
}

@media (prefers-color-scheme: dark) {
  body::before { background: radial-gradient(circle, rgba(174, 196, 167, 0.1) 0%, rgba(26, 25, 24, 0) 70%); }
  body::after { background: radial-gradient(circle, rgba(230, 213, 203, 0.08) 0%, rgba(26, 25, 24, 0) 70%); }
}

/* ========================================================
   APP BAR (ヘッダー)
======================================================== */
.app-bar {
  width: 100%;
  display: flex;
  align-items: center;
  height: 64px;
  background: rgba(253, 252, 249, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--md-outline-variant);
  position: sticky;
  top: 0;
  z-index: 10;
  transition: all 0.3s ease;
}

.app-bar__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

.app-bar__icon-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--md-shape-full);
  border: none;
  background: transparent;
  color: var(--md-on-surface-variant);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.app-bar__icon-btn:hover {
  background: var(--md-surface-container-high);
  color: var(--md-on-surface);
  transform: scale(1.05);
}

.app-bar__title {
  font-family: 'Fraunces', 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--md-on-surface);
  margin: 0;
}

/* PC時も含めて幅100%のフルウィズ・ラインヘッダー */
@media (min-width: 800px) {
  .app-bar__inner {
    max-width: 800px;
    padding: 0 24px;
  }
}

/* ========================================================
   メインレイアウト
======================================================== */
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 100px;
  position: relative;
  z-index: 1;
}

/* PC表示ではもう少し幅を持たせる */
@media (min-width: 800px) {
  main {
    padding-top: 48px;
    padding-bottom: 120px;
  }
  .page-list main {
    max-width: 960px; /* 公開リストは広げて2カラムグリッドを活かす */
  }
}

h1 {
  font-family: 'Fraunces', 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--md-on-surface);
}

h2 {
  font-family: 'Fraunces', 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 32px 0 16px;
  color: var(--md-on-surface);
}

p.supporting {
  font-size: 14px;
  color: var(--md-on-surface-variant);
  margin: 0 0 24px;
  line-height: 1.7;
}

/* ========================================================
   ボタン各種
======================================================== */
button {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-filled {
  height: 52px;
  padding: 0 32px;
  border-radius: var(--md-shape-full);
  border: none;
  background: var(--md-gradient-primary);
  color: var(--md-on-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  box-shadow: var(--md-glow);
  font-size: 15px;
  text-decoration: none;
}
.btn-filled:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -4px rgba(107, 128, 101, 0.4);
}
.btn-filled:active {
  transform: translateY(0) scale(0.98);
  box-shadow: none;
}

.btn-outlined {
  height: 48px;
  padding: 0 28px;
  border-radius: var(--md-shape-full);
  border: 1px solid var(--md-outline);
  background: var(--md-surface);
  color: var(--md-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--md-shadow-1);
  text-decoration: none;
}
.btn-outlined:hover {
  background: var(--md-surface-container);
  border-color: var(--md-primary);
  transform: translateY(-2px);
  box-shadow: var(--md-shadow-2);
}

.btn-tonal {
  height: 44px;
  padding: 0 24px;
  border-radius: var(--md-shape-full);
  border: none;
  background: var(--md-secondary-container);
  color: var(--md-on-secondary-container);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}
.btn-tonal:hover {
  background: var(--md-surface-container-high);
  transform: translateY(-2px);
}

.btn-text {
  height: 44px;
  padding: 0 20px;
  border-radius: var(--md-shape-full);
  border: none;
  background: transparent;
  color: var(--md-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  gap: 8px;
}
.btn-text:hover {
  background: var(--md-primary-container);
}

.btn-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--md-shape-full);
  border: none;
  background: transparent;
  color: var(--md-on-surface-variant);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.btn-icon:hover {
  background: var(--md-error-container);
  color: var(--md-error);
}

/* ========================================================
   フォーム・フィールド
======================================================== */
.field {
  position: relative;
  margin-bottom: 24px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--md-on-surface-variant);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.field input, .field textarea {
  width: 100%;
  height: 56px;
  border-radius: var(--md-shape-sm);
  border: 1px solid var(--md-outline);
  background: var(--md-surface);
  color: var(--md-on-surface);
  padding: 0 20px;
  font-size: 16px;
  font-family: inherit;
  box-shadow: var(--md-shadow-1);
  transition: all 0.25s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--md-primary);
  background: var(--md-surface);
  box-shadow: 0 0 0 4px rgba(107, 128, 101, 0.15);
}

/* ========================================================
   カード・リストアイテム
======================================================== */
.card {
  background: var(--md-surface);
  border-radius: var(--md-shape-lg);
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--md-outline-variant);
  box-shadow: var(--md-shadow-1);
}

.book-row {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  background: var(--md-surface);
  border-radius: var(--md-shape-md);
  margin-bottom: 12px;
  border: 1px solid var(--md-outline-variant);
  box-shadow: var(--md-shadow-1);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.book-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--md-shadow-2);
  border-color: var(--md-outline);
}

.book-cover {
  width: 52px;
  height: 74px;
  border-radius: 8px;
  background: var(--md-surface-variant);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

div.book-cover {
  position: relative;
  background: 
    linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 4px, rgba(0,0,0,0.06) 5px, rgba(0,0,0,0) 6px),
    linear-gradient(135deg, #F6F3EC 0%, #EBE6DC 100%);
  border: 1px solid var(--md-outline-variant);
  overflow: hidden;
}

div.book-cover::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke-width='1.2' stroke='%23899E83' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 19a9 9 0 0 1 9 0a9 9 0 0 1 9 0' /%3E%3Cpath d='M3 6a9 9 0 0 1 9 0a9 9 0 0 1 9 0' /%3E%3Cpath d='M3 6l0 13' /%3E%3Cpath d='M12 6l0 13' /%3E%3Cpath d='M21 6l0 13' /%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.8;
}

.book-info {
  flex: 1;
  min-width: 0;
}
.book-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--md-on-surface);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.book-author {
  font-size: 13px;
  color: var(--md-on-surface-variant);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========================================================
   本の大判カード (list.html 閲覧用)
   - PC表示時にグリッドレイアウトを適用し、おしゃれに。
======================================================== */


.book-card-lg {
  display: flex;
  gap: 24px;
  padding: 28px;
  border-radius: var(--md-shape-lg);
  background: var(--md-surface);
  box-shadow: var(--md-shadow-1);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--md-outline-variant);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  
}


.book-card-lg:hover {
  box-shadow: var(--md-glow), 0 16px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-6px);
  border-color: rgba(107, 128, 101, 0.3);
}

.book-cover-lg {
  width: 120px;
  height: 172px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--md-surface-variant);
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

div.book-cover-lg {
  position: relative;
  background: 
    linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 8px, rgba(0,0,0,0.06) 9px, rgba(0,0,0,0) 11px),
    linear-gradient(135deg, #F6F3EC 0%, #EBE6DC 100%);
  border: 1px solid var(--md-outline-variant);
  overflow: hidden;
}

div.book-cover-lg::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke-width='1' stroke='%23899E83' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 19a9 9 0 0 1 9 0a9 9 0 0 1 9 0' /%3E%3Cpath d='M3 6a9 9 0 0 1 9 0a9 9 0 0 1 9 0' /%3E%3Cpath d='M3 6l0 13' /%3E%3Cpath d='M12 6l0 13' /%3E%3Cpath d='M21 6l0 13' /%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.8;
}
.book-card-lg:hover .book-cover-lg {
  transform: scale(1.05) rotate(-2deg);
}

.book-card-lg__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.book-title-lg {
  font-family: 'Fraunces', 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
  color: var(--md-on-surface);
}

.book-author-lg {
  font-size: 15px;
  color: var(--md-on-surface-variant);
  margin: 0 0 auto;
}

.book-meta-lg {
  font-size: 13px;
  color: var(--md-on-surface-variant);
  margin: 6px 0 8px;
}

.book-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
}
.chip-sm {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 14px;
  border-radius: var(--md-shape-full);
  background: var(--md-primary-container);
  color: var(--md-on-primary-container);
  font-size: 12px;
  font-weight: 600;
}

.book-description-lg {
  font-size: 14px;
  color: var(--md-on-surface-variant);
  line-height: 1.7;
  margin: 8px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.book-memo-lg {
  font-size: 14px;
  color: var(--md-on-surface);
  background: var(--md-surface-container);
  padding: 12px 16px;
  border-radius: var(--md-shape-sm);
  margin: 12px 0 0;
  line-height: 1.6;
  border: 1px solid var(--md-outline-variant);
  position: relative;
}
.book-memo-lg::before {
  content: '”';
  position: absolute;
  top: 4px;
  left: 8px;
  font-size: 32px;
  color: var(--md-primary);
  opacity: 0.2;
  font-family: serif;
}

.amazon-btn-sm {
  height: 38px;
  padding: 0 18px;
  margin-top: 0;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--md-shape-full);
  background: var(--md-secondary-container);
  color: var(--md-on-secondary-container);
  border: none;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.25s ease;
}
.amazon-btn-sm:hover {
  background: var(--md-primary-container);
  color: var(--md-on-primary-container);
  transform: translateY(-2px);
  box-shadow: var(--md-shadow-1);
}

/* ===== HERO & BADGES ===== */
.hero-logo-wrap {
  width: 110px;
  height: 110px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 8px 20px rgba(107, 128, 101, 0.15));
  transition: transform 0.3s ease;
}
.hero-logo-wrap:hover {
  transform: scale(1.03);
}

/* ===== 順序変更ボタン ===== */
.reorder-btns {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.reorder-btns button {
  width: 32px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--md-on-surface-variant);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  border-radius: 6px;
}
.reorder-btns button:hover {
  background: var(--md-surface-container-high);
  color: var(--md-on-surface);
}
.reorder-btns button:disabled {
  opacity: 0.2;
  cursor: default;
}

/* ===== FAB & BOTTOM BAR ===== */
.fab {
  position: fixed;
  right: 32px;
  bottom: 32px;
  height: 64px;
  padding: 0 32px;
  border-radius: var(--md-shape-full);
  border: none;
  background: var(--md-gradient-primary);
  color: var(--md-on-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: var(--md-glow), 0 8px 24px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 15;
}
.fab:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 32px rgba(107, 128, 101, 0.4);
}
.fab:active {
  transform: translateY(0) scale(0.98);
}

.bottom-bar {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  height: 60px;
  padding: 0 32px;
  border-radius: var(--md-shape-full);
  background: var(--md-gradient-primary);
  color: var(--md-on-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--md-glow), 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 15;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.bottom-bar:hover {
  transform: translateX(-50%) translateY(-4px);
  box-shadow: 0 16px 32px rgba(107, 128, 101, 0.4);
}

/* ===== ユーティリティ ===== */
.divider {
  border: none;
  border-top: 1px solid var(--md-outline-variant);
  margin: 32px 0;
}

.row { display: flex; gap: 12px; }
.row > * { flex: 1; }
.row .btn-tonal {
  padding: 0 12px;
  font-size: 14px;
  white-space: nowrap;
  gap: 8px;
}

.qr-wrap {
  display: flex;
  justify-content: center;
  padding: 32px;
  background: var(--md-surface);
  border-radius: var(--md-shape-lg);
  margin-bottom: 24px;
  box-shadow: var(--md-shadow-1);
  border: 1px solid var(--md-outline-variant);
}

.empty-state {
  text-align: center;
  padding: 64px 20px;
  color: var(--md-on-surface-variant);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--md-shape-lg);
  border: 2px dashed var(--md-outline);
}
.empty-state > i:first-child {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
  color: var(--md-primary);
  opacity: 0.6;
  margin-left: auto;
  margin-right: auto;
}

.snackbar {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%) translateY(100px);
  background: var(--md-on-surface);
  color: var(--md-surface);
  padding: 14px 28px;
  border-radius: var(--md-shape-full);
  font-size: 15px;
  font-weight: 600;
  box-shadow: var(--md-shadow-2);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 20;
  max-width: 90vw;
  text-align: center;
}
.snackbar.show {
  transform: translateX(-50%) translateY(0);
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--md-outline-variant);
  border-top-color: var(--md-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 40px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* 検索行 (scan.html) */
.search-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.search-row .field { margin-bottom: 0; }
.search-row #camera-btn { width: 100%; }

@media (min-width: 600px) {
  .search-row {
    flex-direction: row;
    align-items: flex-end;
  }
  .search-row .field { flex: 1; }
  .search-row #camera-btn {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: var(--md-shape-sm);
    flex-shrink: 0;
  }
  .camera-btn-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    margin: 0;
  }
}

video#scanner-preview {
  width: 100%;
  border-radius: var(--md-shape-lg);
  background: #000;
  margin-bottom: 20px;
  box-shadow: var(--md-shadow-1);
}

.book-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.rakuten-btn-sm {
  height: 38px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--md-shape-full);
  background: #fce8e6;
  color: #bf0000;
  border: none;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.25s ease;
}
.rakuten-btn-sm:hover {
  background: #f8d7d4;
  color: #900000;
  transform: translateY(-2px);
  box-shadow: var(--md-shadow-1);
}
