@charset "UTF-8";

/* ==========================================================================
   ハイブリッド無料鑑定 トリニティ (Trinity)
   Design Theme: Champagne Gold & Royal Ivory (明るい高級ラグジュアリー)
   ========================================================================== */

:root {
  color-scheme: only light;
  --bg-main: #fdfbf7;
  --bg-gradient: radial-gradient(circle at 50% 10%, #fffbf2 0%, #f7f2ea 60%, #eee6d8 100%);
  --panel-bg: rgba(255, 255, 255, 0.88);
  --panel-border: rgba(197, 160, 89, 0.38);
  --panel-border-highlight: rgba(212, 175, 55, 0.7);
  --panel-shadow: 0 12px 36px rgba(180, 140, 70, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  
  --gold-primary: #b38b3a;
  --gold-secondary: #c5a059;
  --gold-light: #fdf6e7;
  --gold-gradient: linear-gradient(135deg, #c5a059 0%, #a67c2e 50%, #d4af37 100%);
  --btn-gold: linear-gradient(135deg, #c5a059 0%, #9a7629 100%);
  --btn-gold-hover: linear-gradient(135deg, #d4af37 0%, #b38b3a 100%);

  --text-title: #2d2638;
  --text-main: #3e3846;
  --text-muted: #6b6475;
  --text-dim: #948c9e;

  --oracle-bg: #ffffff;
  --oracle-border: #dfba73;
}

/* Base resets & Fonts */
* {
  box-sizing: border-box;
}

html, body {
  color-scheme: only light;
  overscroll-behavior-y: contain;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "BIZ UDPMincho", -apple-system, BlinkMacSystemFont, serif;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.8;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  overscroll-behavior-y: contain;
}

/* Subtle Golden Stardust & Marble Vein Overlay */
.cosmos-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(246, 226, 122, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 85% 35%, rgba(203, 155, 81, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(246, 226, 122, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.stars-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(1.2px 1.2px at 30px 40px, #c5a059, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 140px 90px, #e5c158, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 280px 220px, #b38b3a, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 380px 340px, #d4af37, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 400px 400px;
  opacity: 0.35;
  z-index: -1;
  animation: starsFloat 180s linear infinite;
}

@keyframes starsFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-400px); }
}

/* Typography styles */
body, button, input, select, textarea {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "BIZ UDPMincho", -apple-system, BlinkMacSystemFont, serif;
}

.font-cinzel {
  font-family: 'Cinzel', serif;
}

.font-serif-jp {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "BIZ UDPMincho", -apple-system, BlinkMacSystemFont, serif;
}

/* Glassmorphism Containers - Milky Crystal */
.glass-panel {
  background: var(--panel-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--panel-border);
  box-shadow: var(--panel-shadow);
  border-radius: 24px;
}

.glass-card {
  background: #ffffff;
  border: 1px solid rgba(197, 160, 89, 0.28);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(180, 140, 70, 0.08);
  transition: all 0.3s ease;
}

.glass-card:hover {
  border-color: var(--panel-border-highlight);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.2);
  transform: translateY(-2px);
}

/* Gold Gradient Text */
.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-border {
  border-color: var(--gold-secondary);
}

/* Luxury Buttons */
.btn-mystic {
  background: linear-gradient(135deg, #b3822a 0%, #d4af37 45%, #e6ca65 55%, #a6731e 100%) !important;
  box-shadow: 0 8px 24px -2px rgba(180, 120, 20, 0.42), 0 3px 8px rgba(180, 120, 20, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  border: 1px solid rgba(254, 240, 138, 0.8) !important;
  text-shadow: 0 1px 2px rgba(50, 30, 5, 0.5) !important;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #ffffff !important;
}

.btn-mystic:hover {
  background: linear-gradient(135deg, #c5912e 0%, #dfba73 40%, #fef08a 60%, #b3822a 100%) !important;
  transform: translateY(-2px) scale(1.008) !important;
  box-shadow: 0 12px 32px -2px rgba(212, 175, 55, 0.58), 0 4px 14px rgba(180, 120, 20, 0.3) !important;
  border-color: #ffffff !important;
}

.btn-mystic::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 20%,
    rgba(255, 255, 255, 0.42) 50%,
    transparent 80%
  );
  transform: rotate(30deg);
  animation: shimmer 4s infinite;
  pointer-events: none;
}

.btn-mystic:disabled::after,
.btn-mystic[disabled]::after {
  display: none;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(30deg); }
  100% { transform: translateX(100%) rotate(30deg); }
}

/* Form inputs */
.form-input {
  background: #ffffff !important;
  border: 1px solid rgba(197, 160, 89, 0.4) !important;
  color: var(--text-title) !important;
  border-radius: 12px;
  transition: all 0.25s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03);
}

.form-input:focus {
  border-color: #b38b3a !important;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.25) !important;
  outline: none;
}

/* Card item animation & styles */
.card-wrapper {
  perspective: 1000px;
  transition: transform 0.3s ease;
}

.card-wrapper:hover {
  transform: translateY(-4px);
}

.tarot-img-box {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(180, 140, 70, 0.2);
  border: 1px solid #dfba73;
  background: #ffffff;
}

.tarot-img-box img,
.tarot-img-box svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 11px;
}

/* カード画像の外側に上品なゴールド細枠を配置（カードが一切切れない外枠＋マット仕様） */
.card-gold-frame {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 3.5px !important;
  background: #fffdf9 !important;
  border: 1.2px solid #dfba73 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.18), 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box !important;
}

.card-gold-frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(197, 160, 89, 0.28) !important;
}

.card-gold-frame img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 2px !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

.is-reversed img,
.is-reversed svg {
  transform: rotate(180deg);
}

/* Chapter 2 タロット詳細カードサイズ */
.card-detail-tarot {
  width: 96px !important;
  max-width: 96px !important;
}

/* Chapter 3 ルノルマン詳細カードサイズ（控えめで愛らしいプチ・ルノルマンスケール） */
.card-detail-lenormand {
  width: 82px !important;
  max-width: 82px !important;
}

/* Loading Animation - Royal Astrolabe */
.mystic-spinner {
  width: 68px;
  height: 68px;
  border: 3px solid rgba(197, 160, 89, 0.2);
  border-top-color: #b38b3a;
  border-right-color: #d4af37;
  border-radius: 50%;
  animation: spin 1.4s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Reading Output Markdown Styling - High Contrast Hierarchy */
.reading-content h3 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "BIZ UDPMincho", serif;
  color: #422b04;
  font-size: 1.25rem;
  font-weight: 800;
  margin-top: 2.75rem;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(135deg, #fffdf8 0%, #f7edd7 100%);
  border: 1px solid rgba(223, 186, 115, 0.7);
  border-left: 6px solid #8c671b;
  border-radius: 0 14px 14px 0;
  box-shadow: 0 4px 16px rgba(140, 103, 27, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: 0.03em;
}

.reading-content h3::before {
  content: '❖';
  color: #8c671b;
  font-size: 1.15rem;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(140, 103, 27, 0.4));
}

.reading-content h4,
.reading-content .subheading {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "BIZ UDPMincho", serif;
  color: #5c3e0c;
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 1.85rem;
  margin-bottom: 0.85rem;
  padding: 0.45rem 0.85rem;
  background: linear-gradient(90deg, rgba(253, 246, 231, 0.85) 0%, rgba(253, 246, 231, 0.15) 100%);
  border-left: 4px solid #b38b3a;
  border-radius: 0 8px 8px 0;
  border-bottom: 1px dashed rgba(223, 186, 115, 0.45);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reading-content h4::before,
.reading-content .subheading::before {
  content: '✦';
  color: #8c671b;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.reading-content p {
  margin-bottom: 1.25rem;
  color: #3e3846;
  font-size: 0.98rem;
  line-height: 1.95;
}

.reading-content blockquote {
  border-left: 4px solid #b38b3a;
  background: rgba(254, 248, 235, 0.95);
  padding: 0.9rem 1.3rem;
  margin: 1.4rem 0;
  border-radius: 0 10px 10px 0;
  color: #593c09;
  font-size: 0.92rem;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.12);
}

/* 心のお守りメッセージ 特別装飾カード（やわらかく温かいお守り風デザイン） */
.reading-amulet-card {
  background: linear-gradient(135deg, #fffdfb 0%, #fef9f5 50%, #fcf4e8 100%) !important;
  border: 1.5px solid rgba(223, 186, 115, 0.65) !important;
  border-radius: 20px !important;
  padding: 1.35rem 1.5rem !important;
  margin: 2.2rem 0 !important;
  box-shadow: 0 10px 30px rgba(212, 160, 130, 0.12), 0 2px 10px rgba(197, 160, 89, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
  position: relative !important;
}

.reading-amulet-badge {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.45rem 0.65rem !important;
  margin-bottom: 0.85rem !important;
  padding-bottom: 0.7rem !important;
  border-bottom: 1px dashed rgba(223, 186, 115, 0.45) !important;
}

.reading-amulet-icon {
  font-size: 1.2rem !important;
  line-height: 1 !important;
}

.reading-amulet-title {
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: #8c591b !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "BIZ UDPMincho", serif !important;
  letter-spacing: 0.04em !important;
}

.reading-amulet-sub {
  font-size: 0.76rem !important;
  color: #9c7a52 !important;
  background: rgba(253, 245, 230, 0.85) !important;
  padding: 0.15rem 0.6rem !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(223, 186, 115, 0.4) !important;
}

.reading-amulet-body {
  font-size: 0.95rem !important;
  color: #4a3e28 !important;
  line-height: 2 !important;
  margin: 0 !important;
}

.reading-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.2rem;
}

.reading-content li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.7rem;
  color: #4a4453;
}

.reading-content li::before {
  content: '✦';
  color: #b38b3a;
  font-weight: bold;
  position: absolute;
  left: 0.3rem;
  font-size: 0.8rem;
}

.reading-content strong {
  color: #2d2638;
  font-weight: 700;
}

.reading-content hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.4), transparent);
  margin: 2.2rem 0;
}

/* Reading Signature (末尾署名とアイコンの右寄せ配置) */
.reading-content .reading-signature,
.reading-signature {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 0.75rem !important;
  color: #8c671b;
  padding-top: 1.25rem;
  margin-top: 1.75rem;
  border-top: 1px dashed rgba(223, 186, 115, 0.45);
  letter-spacing: 0.08em;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "BIZ UDPMincho", serif;
  width: 100%;
}

/* Oracle Board (Export Image Area) - Royal White Altar */
#oracle-board {
  background: linear-gradient(135deg, #ffffff 0%, #fdfbf7 50%, #f7f2ea 100%);
  border: 2px solid #dfba73;
  /* 疑似要素::beforeを使わずinset box-shadowで二重枠を完全再現（html2canvasの文字切断バグを完全防止） */
  box-shadow: inset 0 0 0 4px #ffffff, inset 0 0 0 5px rgba(197, 160, 89, 0.4), 0 14px 40px rgba(180, 140, 70, 0.18);
  border-radius: 24px;
  position: relative;
}

/* Oracle Board Badges (Prevent Japanese font clipping & layout overflow) */
#board-badges-container,
.board-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.board-badges-flex {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: 100% !important;
}

@media (min-width: 640px) {
  #board-badges-container,
  .board-badges-grid,
  .board-badges-flex {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
  }
}

.oracle-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  line-height: 1.4;
  padding: 2.5px 8px;
  border-radius: 9999px;
  font-size: 10.5px;
  font-weight: 700;
  box-sizing: border-box;
}

.board-badges-grid .oracle-badge,
#board-badges-container:not(.board-badges-flex) .oracle-badge {
  width: 100%;
}

.board-badges-flex .oracle-badge {
  width: auto;
}

@media (min-width: 640px) {
  .oracle-badge,
  .board-badges-grid .oracle-badge,
  .board-badges-flex .oracle-badge,
  #board-badges-container .oracle-badge,
  #board-badges-container:not(.board-badges-flex) .oracle-badge {
    width: auto !important;
    padding: 3px 10px;
    font-size: 11px;
    line-height: 1.5;
  }
}

#oracle-board p,
#oracle-board span,
#oracle-board h3,
#oracle-board h4 {
  /* Ensure ample line-height so Japanese kanji ascenders/descenders are never clipped */
  line-height: 1.45;
}

/* Affiliate/PR Frame - VIP Invitation Card */
.pr-container {
  background: linear-gradient(135deg, #ffffff 0%, #fdf9f0 100%);
  border: 1.5px solid rgba(197, 160, 89, 0.45);
  border-radius: 20px;
  position: relative;
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.12);
}

.pr-badge {
  position: absolute;
  top: -11px;
  left: 20px;
  background: linear-gradient(135deg, #c5a059 0%, #9a7629 100%);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
}

/* ==========================================================================
   Affiliate & PR Component Styles
   ========================================================================== */
.affiliate-pr-box {
  background: linear-gradient(135deg, #fffdfa 0%, #fffbf2 50%, #faf4e6 100%) !important;
  border: 1.5px solid #dfba73 !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.18), 0 2px 6px rgba(0, 0, 0, 0.03) !important;
  position: relative !important;
}

.affiliate-pr-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 3px 12px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #c5a059 0%, #8c671b 100%) !important;
  border-radius: 9999px !important;
  letter-spacing: 0.08em !important;
  box-shadow: 0 2px 6px rgba(140, 103, 27, 0.3) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
  margin-bottom: 0.5rem !important;
  line-height: 1.4 !important;
}

.affiliate-pr-icon {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #dfba73 0%, #c5a059 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.8rem !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35) !important;
  flex-shrink: 0 !important;
}

.affiliate-pr-title {
  color: #2d2638 !important;
  font-weight: 800 !important;
  font-size: 1.02rem !important;
  line-height: 1.4 !important;
  margin-bottom: 0.3rem !important;
}

.affiliate-pr-desc {
  color: #554d5d !important;
  font-size: 0.85rem !important;
  line-height: 1.7 !important;
  margin-bottom: 0.75rem !important;
}

.affiliate-pr-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.7rem 1.75rem !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%) !important;
  color: #1a1625 !important;
  font-weight: 800 !important;
  font-size: 0.92rem !important;
  letter-spacing: 0.03em !important;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.28) !important;
  border: 1px solid rgba(254, 240, 138, 0.6) !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
  position: relative !important;
  overflow: hidden !important;
}

.affiliate-pr-btn:hover {
  background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 50%, #f59e0b 100%) !important;
  box-shadow: 0 6px 22px rgba(217, 119, 6, 0.42) !important;
  transform: translateY(-2px) !important;
}

/* ★ キラッと光るシマーエフェクト (規約準拠・安全かつ高CVR) */
.affiliate-pr-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 20%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 80%
  );
  transform: rotate(30deg);
  animation: shimmer 3.8s infinite;
  pointer-events: none;
}

.affiliate-asp-banner {
  background: linear-gradient(135deg, #fffdfa 0%, #fffbf2 50%, #faf4e6 100%) !important;
  border: 1.5px solid #dfba73 !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.18), 0 2px 6px rgba(0, 0, 0, 0.03) !important;
  padding: 1.25rem 1rem !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 1.5rem auto;
  text-align: center;
  position: relative !important;
}

.affiliate-asp-banner a {
  display: inline-block;
  line-height: 0;
  max-width: 100%;
}

.affiliate-asp-banner img {
  max-width: 100% !important;
  height: auto !important;
  display: inline-block !important;
  vertical-align: middle;
}

/* Toast Notification */
.toast-msg {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #2d2638;
  border: 1px solid #c5a059;
  color: #ffffff;
  padding: 11px 24px;
  border-radius: 30px;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(45, 38, 56, 0.35);
  transition: transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28), opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
}

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

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f7f2ea;
}

::-webkit-scrollbar-thumb {
  background: #d8c29d;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b38b3a;
}

/* スクロール追従：リリの鑑定書へジャンプボタン（スマホ・長文スクロール対策） */
.floating-jump-wrap {
  position: fixed !important;
  bottom: 24px !important;
  right: 18px !important;
  z-index: 9990 !important;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28) !important;
}

.floating-jump-wrap.hide {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(16px) !important;
}

.floating-jump-wrap.show {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

.floating-jump-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 10px 18px !important;
  border-radius: 9999px !important;
  background: rgba(45, 38, 56, 0.94) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  color: #dfba73 !important;
  border: 1.5px solid rgba(223, 186, 115, 0.6) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 2px 6px rgba(197, 160, 89, 0.3) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.floating-jump-btn:hover {
  background: #1a1625 !important;
  color: #fce7b0 !important;
  border-color: #dfba73 !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(197, 160, 89, 0.4) !important;
  transform: translateY(-2px) !important;
}

.floating-jump-btn:active {
  transform: translateY(0) scale(0.96) !important;
}

/* 心のお守りメッセージ（🌸 桜の心のお守りカード） */
.reading-amulet-card {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background: linear-gradient(135deg, #fffdfb 0%, #fef9f5 50%, #fcf4e8 100%) !important;
  border: 1.5px solid rgba(223, 186, 115, 0.65) !important;
  border-radius: 20px !important;
  padding: 1.35rem 1.5rem !important;
  margin: 2.2rem 0 !important;
  box-shadow: 0 10px 30px rgba(212, 160, 130, 0.12), 0 2px 10px rgba(197, 160, 89, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
  position: relative !important;
}
.reading-amulet-badge {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.45rem 0.65rem !important;
  margin-bottom: 0.85rem !important;
  padding-bottom: 0.7rem !important;
  border-bottom: 1px dashed rgba(223, 186, 115, 0.45) !important;
}
.reading-amulet-icon { font-size: 1.2rem !important; line-height: 1 !important; }
.reading-amulet-title {
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: #8c591b !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "BIZ UDPMincho", serif !important;
  letter-spacing: 0.04em !important;
}
.reading-amulet-sub {
  font-size: 0.76rem !important;
  color: #9c7a52 !important;
  background: rgba(253, 245, 230, 0.85) !important;
  padding: 0.15rem 0.6rem !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(223, 186, 115, 0.4) !important;
}
.reading-amulet-body {
  font-size: 0.95rem !important;
  color: #4a3e28 !important;
  line-height: 2 !important;
  margin: 0 !important;
}

/* 適職・才能マトリクス表（洗練されたシャンパンゴールド＆アイボリー・横スクロール対応） */
.reading-table-container {
  width: 100% !important;
  margin: 1.8rem 0 !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 20px rgba(180, 140, 90, 0.08), 0 1px 3px rgba(0, 0, 0, 0.03) !important;
  border: 1px solid rgba(223, 186, 115, 0.45) !important;
  background: #fffdfb !important;
}
.reading-table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
  text-align: left !important;
  min-width: 580px !important;
}
.reading-table thead {
  background: linear-gradient(135deg, #fbf4ea 0%, #f7ebd9 100%) !important;
  border-bottom: 2px solid rgba(212, 160, 89, 0.45) !important;
}
.reading-table th {
  padding: 0.85rem 1rem !important;
  font-weight: 700 !important;
  color: #784812 !important;
  white-space: nowrap !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "BIZ UDPMincho", serif !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.03em !important;
}
.reading-table td {
  padding: 0.85rem 1rem !important;
  border-bottom: 1px solid rgba(223, 186, 115, 0.2) !important;
  color: #3d3324 !important;
  vertical-align: middle !important;
  font-size: 0.88rem !important;
}
.reading-table tbody tr:last-child td {
  border-bottom: none !important;
}
.reading-table tbody tr:nth-child(even) {
  background: rgba(254, 250, 244, 0.6) !important;
}
.reading-table tbody tr:hover {
  background: rgba(251, 244, 234, 0.85) !important;
}
.reading-table td strong {
  color: #8c591b !important;
  font-weight: 700 !important;
}

/* 鑑定書内・小見出しカードサムネイル（正位置・逆位置対応） */
.reading-card-heading-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  margin: 1.6rem 0 0.8rem 0 !important;
  padding: 0.35rem 0.85rem 0.35rem 0.45rem !important;
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(254, 249, 235, 0.92)) !important;
  border: 1px solid rgba(223, 186, 115, 0.5) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(180, 140, 90, 0.08) !important;
  max-width: 100% !important;
}

.reading-card-thumb-frame {
  width: 38px !important;
  flex-shrink: 0 !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid rgba(223, 186, 115, 0.7) !important;
  background: #fff !important;
  line-height: 0 !important;
}

.reading-card-thumb-frame.is-reversed img {
  transform: rotate(180deg) !important;
}

.reading-card-thumb-img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

.reading-card-heading-badge h4,
.reading-card-heading-badge h3 {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  color: #2d2638 !important;
  border: none !important;
  background: transparent !important;
  line-height: 1.4 !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "BIZ UDPMincho", serif !important;
}

/* ナビゲーションバー（スマホ2段均一・PC1段 崩れ・文字はみ出し完全防止） */
.nav-container {
  width: 100% !important;
  box-sizing: border-box !important;
}

.nav-grid-services {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.45rem !important;
  width: 100% !important;
}

.nav-service-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.35rem !important;
  padding: 0.45rem 0.5rem !important;
  border-radius: 12px !important;
  font-size: 0.82rem !important;
  text-decoration: none !important;
  text-align: center !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  background: rgba(255, 255, 255, 0.75) !important;
  border: 1px solid rgba(223, 186, 115, 0.45) !important;
  color: #554d5d !important;
}

.nav-service-btn:hover {
  background: rgba(223, 186, 115, 0.2) !important;
  color: #8c671b !important;
}

.nav-service-btn.active {
  background: linear-gradient(135deg, rgba(223, 186, 115, 0.35), rgba(254, 243, 199, 0.7)) !important;
  border: 1.5px solid #dfba73 !important;
  color: #8c591b !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(140, 89, 27, 0.12) !important;
}

.nav-service-btn.daily {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%) !important;
  border: 1.5px solid #fdba74 !important;
  color: #9a3412 !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 3px rgba(194, 65, 12, 0.1) !important;
}

.nav-grid-articles {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 0.35rem !important;
  width: 100% !important;
}

.nav-article-chip {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.4rem 0.2rem !important;
  border-radius: 8px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  text-align: center !important;
  white-space: nowrap !important;
  background: rgba(255, 255, 255, 0.75) !important;
  border: 1px solid rgba(223, 186, 115, 0.4) !important;
  color: #554d5d !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.nav-article-chip:hover {
  background: rgba(223, 186, 115, 0.2) !important;
  color: #8c671b !important;
}

.nav-article-chip.active {
  background: linear-gradient(135deg, rgba(223, 186, 115, 0.38), rgba(254, 243, 199, 0.75)) !important;
  border: 1.5px solid #dfba73 !important;
  color: #8c591b !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 6px rgba(140, 89, 27, 0.12) !important;
}

.nav-desktop-row {
  display: none !important;
}

@media (min-width: 768px) {
  .nav-desktop-row {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 0.45rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

.nav-desktop-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.3rem !important;
  padding: 0.38rem 0.65rem !important;
  border-radius: 10px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  background: rgba(255, 255, 255, 0.65) !important;
  border: 1px solid rgba(223, 186, 115, 0.35) !important;
  color: #554d5d !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.nav-desktop-btn:hover {
  background: rgba(223, 186, 115, 0.2) !important;
  border-color: rgba(223, 186, 115, 0.65) !important;
  color: #8c671b !important;
}

.nav-desktop-btn.active {
  background: linear-gradient(135deg, rgba(223, 186, 115, 0.35), rgba(254, 243, 199, 0.7)) !important;
  border: 1.5px solid #dfba73 !important;
  color: #8c591b !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(140, 89, 27, 0.12) !important;
}

.nav-desktop-btn.daily {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%) !important;
  border: 1.5px solid #fdba74 !important;
  color: #9a3412 !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 3px rgba(194, 65, 12, 0.1) !important;
}

.nav-service-btn.daily.active,
.nav-desktop-btn.daily.active {
  background: linear-gradient(135deg, #fed7aa 0%, #ffedd5 100%) !important;
  border: 1.5px solid #ea580c !important;
  color: #7c2d12 !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.22) !important;
}

@media (min-width: 960px) {
  .nav-desktop-btn {
    font-size: 0.86rem !important;
    padding: 0.42rem 0.8rem !important;
    gap: 0.35rem !important;
  }
}

/* じっくり総合鑑定用 シャンパンゴールド枠 */
.form-container-gold,
.form-container-crimson {
  position: relative !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 253, 248, 0.95) 100%) !important;
  border: 2px solid #dfba73 !important;
  border-radius: 24px !important;
  box-shadow: 0 12px 36px -4px rgba(223, 186, 115, 0.28), 0 4px 14px -2px rgba(180, 140, 50, 0.12), inset 0 1px 0 #ffffff !important;
}

.carte-badge-gold,
.carte-badge-crimson {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
  background: linear-gradient(135deg, #c5a059 0%, #a6731e 100%) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 0.2rem 0.7rem !important;
  border-radius: 9999px !important;
  border: 1px solid #fef08a !important;
  box-shadow: 0 2px 6px rgba(166, 115, 30, 0.28) !important;
  letter-spacing: 0.03em !important;
  white-space: nowrap !important;
}

.today-fortune-aside {
  display: block !important;
  margin-bottom: 24px !important;
}

/* SNS共有ボタン：高さ・表示を全サービスで統一 */
.result-share-button {
  width: 100% !important;
  min-height: 56px !important;
  box-sizing: border-box !important;
  border: 0 !important;
  opacity: 1 !important;
}

.result-share-instagram,
.instagram-share-gradient {
  background: linear-gradient(90deg, #833ab4 0%, #c13584 38%, #e1306c 68%, #f77737 100%) !important;
  color: #ffffff !important;
}

.result-share-instagram:hover,
.result-share-instagram:focus-visible,
.instagram-share-gradient:hover,
.instagram-share-gradient:focus-visible {
  opacity: 0.92 !important;
  color: #ffffff !important;
}

#instagram-share-badge,
.instagram-share-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  color: #c13584 !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}
@media (min-width: 640px) {
  .today-fortune-aside {
    margin-bottom: 28px !important;
  }
}


