/* ===================================================
   2026 感謝祭ウィークリークイズ スタイルシート
   テーマ：明るくポップ！ワクワクする感謝祭フェスティバル
   =================================================== */

:root {
  --primary-color: #ff6b35;
  --primary-hover: #fa5a1e;
  --accent-gold: #ffb703;
  --accent-yellow: #ffd166;
  --accent-blue: #06b6d4;
  --accent-green: #10b981;
  --accent-pink: #ff477e;
  --accent-purple: #8b5cf6;

  --bg-page: #f8fbff;
  --text-main: #1e293b;
  --text-sub: #475569;
  --text-muted: #64748b;

  --card-bg: #ffffff;
  --card-border: #fed7aa;
  --card-shadow: 0 10px 25px rgba(255, 107, 53, 0.08), 0 3px 8px rgba(0, 0, 0, 0.04);
  --card-shadow-hover: 0 16px 36px rgba(255, 107, 53, 0.16), 0 4px 12px rgba(0, 0, 0, 0.06);

  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 8px;

  --font-rounded: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN", "BIZ UDPGothic", sans-serif;
  --font-main: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: var(--font-main);
  background-color: #f7fbff;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(255, 183, 3, 0.12) 0 2px, transparent 3px),
    radial-gradient(circle at 85% 35%, rgba(255, 71, 126, 0.1) 0 2px, transparent 3px),
    radial-gradient(circle at 45% 75%, rgba(6, 182, 212, 0.1) 0 2px, transparent 3px),
    linear-gradient(180deg, #eef7ff 0%, #fff9f5 350px, #ffffff 800px);
  background-size: 70px 70px, 80px 80px, 60px 60px, 100% 100%;
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.7;
  min-height: 100vh;
  padding-bottom: 80px;
  overflow-x: hidden;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* ===================================================
   SVGアイコン共通
   =================================================== */
.svg-icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.2em;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

.svg-icon.fill-current {
  fill: currentColor;
  stroke: none;
}

.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===================================================
   楽しい演出（紙吹雪・ガーランド・バルーン）
   =================================================== */

/* 背景紙吹雪レイヤー */
.confetti-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.confetti-piece {
  position: absolute;
  top: -20px;
  opacity: 0.65;
  animation-name: confettiFall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes confettiFall {
  0%   { transform: translate(0, -10vh) rotate(0deg); }
  25%  { transform: translate(16px, 25vh) rotate(180deg); }
  50%  { transform: translate(-12px, 55vh) rotate(360deg); }
  75%  { transform: translate(14px, 80vh) rotate(540deg); }
  100% { transform: translate(0, 110vh) rotate(720deg); }
}

/* クリック時に弾ける紙吹雪 */
.burst-piece {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  pointer-events: none;
  z-index: 20000;
  animation: burstAnim 1s cubic-bezier(0.15, 0.7, 0.3, 1) forwards;
}

@keyframes burstAnim {
  0%   { transform: translate(-50%, -50%) scale(1) rotate(0); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy) + 60px)) scale(0.5) rotate(var(--rot)); opacity: 0; }
}

/* ガーランド（三角旗） */
/* クイズ・トップバナー（QUIZ ? ! タイル） */
.bunting-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  height: 44px;
  z-index: 3;
}

.quiz-banner-line {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 6px;
}

.quiz-tile {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.92rem;
  color: #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  transform-origin: top center;
  animation: tileSway 3s ease-in-out infinite alternate;
}

@keyframes tileSway {
  from { transform: rotate(-5deg); }
  to   { transform: rotate(5deg); }
}

.tile-q { background: #ff5252; }
.tile-u { background: #ff9f1c; animation-delay: 0.2s; }
.tile-i { background: #ffd166; color: #78350f; animation-delay: 0.4s; }
.tile-z { background: #06b6d4; animation-delay: 0.6s; }
.tile-mark { background: #ff477e; font-size: 1.1rem; animation-delay: 0.8s; }
.tile-ex { background: #10b981; font-size: 1.1rem; animation-delay: 1s; }

/* ぷかぷか浮かぶ「？」「！」「Q」クイズバブル */
.quiz-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.q-bubble {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #ffffff;
  user-select: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  animation: qBubbleFloat 5s ease-in-out infinite;
}

.bubble-left-1 {
  left: 4%;
  top: 50px;
  width: 58px;
  height: 58px;
  font-size: 2.2rem;
  background: linear-gradient(135deg, #ff8e3c, #ff5252);
  box-shadow: 0 8px 20px rgba(255, 82, 82, 0.35);
  animation-delay: 0s;
}

.bubble-left-2 {
  left: 11%;
  top: 130px;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #ffd166, #ff9f1c);
  color: #78350f;
  box-shadow: 0 6px 16px rgba(255, 159, 28, 0.3);
  animation-delay: 1.2s;
}

.bubble-right-1 {
  right: 4%;
  top: 60px;
  width: 54px;
  height: 54px;
  font-size: 2rem;
  background: linear-gradient(135deg, #22d3ee, #0284c7);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.35);
  animation-delay: 0.6s;
}

.bubble-right-2 {
  right: 11%;
  top: 135px;
  width: 46px;
  height: 46px;
  font-size: 1.8rem;
  background: linear-gradient(135deg, #ff477e, #e11d48);
  box-shadow: 0 6px 16px rgba(225, 29, 72, 0.3);
  animation-delay: 1.8s;
}

@keyframes qBubbleFloat {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50%      { transform: translateY(-16px) rotate(6deg); }
}

/* ===================================================
   画面右上のフローティングアクション（サウンド & 設定）
   =================================================== */
.top-floating-actions {
  position: fixed;
  top: 16px;
  right: 18px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-btn {
  background: #ffffff;
  border: 2px solid #fed7aa;
  color: var(--text-sub);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.12);
  transition: var(--transition);
  user-select: none;
}

.floating-btn:hover {
  background: #fff8f3;
  color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 107, 53, 0.22);
}

.sound-btn {
  border-color: #ffd166;
  color: #b45309;
  background: #fffdf5;
}

.sound-btn:hover {
  background: #fff8e1;
  border-color: #f59e0b;
  color: #d97706;
}

.sound-btn .svg-icon {
  color: #f59e0b;
}

/* ===================================================
   明るく楽しいイベントヘッダー
   =================================================== */
.hero-header {
  position: relative;
  text-align: center;
  padding: 68px 20px 42px;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.festival-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff477e, #ff6b35);
  color: #fff;
  font-weight: 900;
  font-size: 0.95rem;
  padding: 8px 22px;
  border-radius: 50px;
  letter-spacing: 0.08em;
  box-shadow: 0 6px 16px rgba(255, 71, 126, 0.35);
  margin-bottom: 18px;
  animation: badgeBounce 2.4s ease-in-out infinite;
}

@keyframes badgeBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-4px) scale(1.03); }
}

/* ===================================================
   フェスティバル & クイズ番組風 丸文字タイトルロゴ
   =================================================== */
.hero-title-wrap {
  position: relative;
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  margin: 4px auto 16px;
  padding: 4px 16px;
  max-width: 100%;
}

/* タイトル背後の光彩（ソフトな温かいゴールドグロー） */
.hero-title-wrap::before {
  content: "";
  position: absolute;
  inset: -14px -24px;
  background: radial-gradient(ellipse at center, rgba(255, 183, 3, 0.28) 0%, rgba(255, 107, 53, 0.1) 50%, transparent 72%);
  z-index: -1;
  pointer-events: none;
  filter: blur(10px);
}

.hero-title {
  font-family: var(--font-rounded);
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  letter-spacing: 0.02em;
  user-select: none;
}

/* 左右のキラキラ星 */
.hero-title-sparkle {
  color: #f59e0b;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: sparkleTwinkle 2.2s ease-in-out infinite alternate;
}

.hero-title-sparkle .svg-icon {
  width: 100%;
  height: 100%;
}

.hero-title-sparkle.sparkle-left {
  animation-delay: 0s;
  margin-right: 2px;
}

.hero-title-sparkle.sparkle-right {
  animation-delay: 1.1s;
  margin-left: 2px;
}

@keyframes sparkleTwinkle {
  0%   { transform: scale(0.9) rotate(-10deg); opacity: 0.8; }
  100% { transform: scale(1.2) rotate(15deg); opacity: 1; filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.8)); }
}

/* 1. 「2026」丸みのあるゴールドバッジ */
.title-logo-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ffd166 0%, #ff9f1c 100%);
  color: #78350f;
  font-family: var(--font-rounded);
  font-size: 1.5rem;
  font-weight: 900;
  padding: 4px 16px;
  border-radius: 50px;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35);
  letter-spacing: 0.06em;
  vertical-align: middle;
  transform: rotate(-3deg);
}

/* 2. 「大感謝祭」丸文字・クッキリ鮮やかなコーラルオレンジ（シマシマを廃止し、すっきり読みやすい！） */
.title-logo-fest {
  display: inline-block;
  font-family: var(--font-rounded);
  font-size: 2.85rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #ff5722;
  background: linear-gradient(180deg, #ff7043 0%, #e64a19 50%, #d81b60 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 1px #ffffff) drop-shadow(2px 2px 0 #ffffff) drop-shadow(-2px 2px 0 #ffffff) drop-shadow(2px -2px 0 #ffffff) drop-shadow(-2px -2px 0 #ffffff) drop-shadow(0 4px 12px rgba(216, 27, 96, 0.28));
}

.title-logo-quiz-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* 3. 「クイズ」丸文字・爽やかスカイブルー */
.title-logo-quiz {
  display: inline-flex;
  align-items: center;
  position: relative;
  font-family: var(--font-rounded);
  font-size: 2.85rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: #0284c7;
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 60%, #0369a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 1px #ffffff) drop-shadow(2px 2px 0 #ffffff) drop-shadow(-2px 2px 0 #ffffff) drop-shadow(2px -2px 0 #ffffff) drop-shadow(-2px -2px 0 #ffffff);
  padding-right: 14px;
}

/* 「ズ」の右上：控えめで可愛い「？」マークアクセント */
.title-logo-qmark {
  position: absolute;
  top: -6px;
  right: -2px;
  font-family: var(--font-rounded);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  color: #f59e0b;
  background: linear-gradient(135deg, #ffd166, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(1px 1px 0 #ffffff) drop-shadow(-1px -1px 0 #ffffff) drop-shadow(0 2px 4px rgba(245, 158, 11, 0.4));
  animation: qmarkBounce 2s ease-in-out infinite;
}

@keyframes qmarkBounce {
  0%, 100% { transform: translateY(0) rotate(6deg) scale(1); }
  50%      { transform: translateY(-5px) rotate(-4deg) scale(1.12); }
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #475569;
  font-weight: 700;
  max-width: 640px;
  margin: 0 auto 24px;
}

/* ポップなラベルチップ一覧 */
.hero-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 800;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  color: var(--text-main);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  transition: var(--transition);
}

.hero-chip:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.chip-red    { border-color: #ffcdd2; color: #e53935; background: #fff8f8; }
.chip-yellow { border-color: #ffe082; color: #f57f17; background: #fffdf5; }
.chip-blue   { border-color: #b2ebf2; color: #00838f; background: #f4fdff; }
.chip-gold {
  border-color: #ffd54f;
  color: #e65100;
  background: linear-gradient(135deg, #fff9c4, #ffe082);
  box-shadow: 0 4px 14px rgba(255, 179, 0, 0.3);
  animation: chipGlow 2s ease-in-out infinite alternate;
}

@keyframes chipGlow {
  from { box-shadow: 0 4px 14px rgba(255, 179, 0, 0.25); }
  to   { box-shadow: 0 6px 20px rgba(255, 179, 0, 0.5); }
}

/* ===================================================
   全問正解 抽選賞品セクション（フェスの目玉！超豪華＆明るい）
   =================================================== */
.prize-section {
  position: relative;
  background: linear-gradient(135deg, #fff9db 0%, #fff1c5 40%, #ffe3e3 100%);
  border: 3px solid #fbc02d;
  border-radius: var(--radius-xl);
  padding: 44px 28px 32px;
  margin-bottom: 38px;
  box-shadow: 0 12px 36px rgba(245, 127, 23, 0.18), 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  overflow: hidden;
}

.prize-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f57c00, #e65100);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 7px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(230, 81, 0, 0.35);
  margin-bottom: 14px;
}

.prize-title {
  font-size: 2.1rem;
  font-weight: 900;
  color: #bf360c;
  margin-bottom: 8px;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.8);
}

.prize-lead {
  font-size: 1.1rem;
  color: #e65100;
  font-weight: 700;
  margin-bottom: 26px;
}

.prize-total {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 20px;
  border-radius: 50px;
  background: #ffffff;
  color: #d84315;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.prize-total strong {
  font-size: 1.35rem;
  color: #e65100;
}

.prize-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 24px;
}

.prize-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 26px 16px 22px;
  border: 3px solid #f1f5f9;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

.prize-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.prize-medal {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 12px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
}

.prize-medal .svg-icon {
  width: 32px;
  height: 32px;
}

.prize-rank {
  font-size: 0.95rem;
  font-weight: 900;
  padding: 4px 16px;
  border-radius: 50px;
  color: #fff;
  margin-bottom: 8px;
}

.prize-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #475569;
  margin-bottom: 4px;
}

.prize-amount {
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 8px;
}

.prize-winners {
  font-size: 0.92rem;
  font-weight: 800;
  color: #64748b;
}

.prize-winners strong {
  font-size: 1.35rem;
}

/* 特賞（ゴールド） */
.tier-gold {
  border-color: #ffd54f;
  background: linear-gradient(180deg, #ffffff 0%, #fffdf0 100%);
  box-shadow: 0 10px 30px rgba(255, 179, 0, 0.22);
}
.tier-gold .prize-medal, .tier-gold .prize-rank {
  background: linear-gradient(135deg, #fbc02d, #f57f17);
}
.tier-gold .prize-amount, .tier-gold .prize-winners strong {
  color: #e65100;
}

/* A賞（シルバー） */
.tier-silver {
  border-color: #cfd8dc;
}
.tier-silver .prize-medal, .tier-silver .prize-rank {
  background: linear-gradient(135deg, #90a4ae, #546e7a);
}
.tier-silver .prize-amount, .tier-silver .prize-winners strong {
  color: #37474f;
}

/* B賞（ブロンズ） */
.tier-bronze {
  border-color: #ffccbc;
}
.tier-bronze .prize-medal, .tier-bronze .prize-rank {
  background: linear-gradient(135deg, #ff8a65, #d84315);
}
.tier-bronze .prize-amount, .tier-bronze .prize-winners strong {
  color: #bf360c;
}

.prize-notes {
  list-style: none;
  font-size: 0.85rem;
  color: #bf360c;
  opacity: 0.9;
  text-align: left;
  max-width: 680px;
  margin: 0 auto;
}

.prize-notes li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 4px;
}

.prize-notes li::before {
  content: "※";
  position: absolute;
  left: 0;
}

/* ===================================================
   ルール＆案内カード
   =================================================== */
.rules-card {
  background: #ffffff;
  border: 2px solid #ffccbc;
  border-left: 8px solid var(--primary-color);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  margin-bottom: 38px;
  box-shadow: var(--card-shadow);
  position: relative;
}

.rules-header {
  font-size: 1.35rem;
  font-weight: 900;
  color: #1e1b4b;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rules-list {
  list-style: none;
}

.rules-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
}

.rules-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
}

.bonus-highlight {
  display: inline-block;
  background: #ffe0b2;
  color: #e65100;
  font-weight: 900;
  padding: 2px 10px;
  border-radius: 6px;
}

/* ===================================================
   スタンプラリー（ワクワクする進捗）
   =================================================== */
.progress-card {
  background: #ffffff;
  border: 2px solid #e0e7ff;
  border-radius: var(--radius-xl);
  padding: 30px 28px 26px;
  margin-bottom: 38px;
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.1);
  position: relative;
  overflow: hidden;
}

.progress-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #ff6b35, #ffd166, #06b6d4, #10b981);
}

.progress-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.progress-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 900;
  color: #1e1b4b;
  margin-bottom: 0;
}

.progress-title .svg-icon {
  color: var(--primary-color);
  width: 26px;
  height: 26px;
}

/* MY スコア・解答状況バッジ */
.my-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(30, 27, 75, 0.25);
}

.my-score-badge strong {
  color: #ffd166;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
}

.my-score-badge .score-label {
  opacity: 0.85;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

/* クイズ番組風プログレスバー（進行ゲージ） */
.challenge-meter-wrap {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 26px;
}

.meter-bar-bg {
  height: 18px;
  background: #e2e8f0;
  border-radius: 50px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
}

.meter-bar-fill {
  height: 100%;
  border-radius: 50px;
  background-color: #ff6b35;
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.25) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0.25) 75%,
    transparent 75%,
    transparent
  );
  background-size: 32px 32px;
  animation: meterStripe 2s linear infinite;
  transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
}

@keyframes meterStripe {
  0%   { background-position: 0 0; }
  100% { background-position: 32px 0; }
}

.meter-info-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.92rem;
  font-weight: 800;
  color: #475569;
}

.meter-info-line strong {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.meter-reward-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff8e1;
  color: #b45309;
  border: 1.5px solid #fde68a;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 800;
}

.meter-reward-tag.complete {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border-color: #10b981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
  animation: tagPulse 1.8s infinite alternate;
}

@keyframes tagPulse {
  from { transform: scale(1); }
  to   { transform: scale(1.04); }
}

/* ステッパー（スタンプラリー台紙） */
.stepper {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  position: relative;
  gap: 8px;
}

.stepper::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 6px;
  border-radius: 6px;
  background: repeating-linear-gradient(90deg, #ffd8a8 0 12px, transparent 12px 20px);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-3px);
}

.step-dot {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.15rem;
  background: #ffffff;
  color: #94a3b8;
  border: 3px dashed #cbd5e1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.step-dot .svg-icon {
  width: 28px;
  height: 28px;
  stroke-width: 3;
}

/* 解答済み（太鼓判スタンプ！） */
.step-answered .step-dot {
  background: linear-gradient(135deg, #ff477e, #e11d48);
  color: #ffffff;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 3px #ff477e, 0 8px 20px rgba(225, 29, 72, 0.4);
  transform: rotate(-6deg) scale(1.08);
  animation: stampBounce 0.35s ease-out;
}

@keyframes stampBounce {
  0%   { transform: scale(0.6) rotate(15deg); opacity: 0.5; }
  60%  { transform: scale(1.2) rotate(-8deg); opacity: 1; }
  100% { transform: scale(1.08) rotate(-6deg); }
}

.step-answered .step-label {
  color: #e11d48;
  font-weight: 900;
}

/* 公開済み（通常クリア） */
.step-done .step-dot {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #fff;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 3px #0ea5e9, 0 6px 16px rgba(14, 165, 233, 0.35);
}

/* 現在出題中（ピョコピョコ跳ねる！） */
.step-current .step-dot {
  background: linear-gradient(135deg, #ff8e3c, #ff5252);
  color: #fff;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 3px #ff6b35, 0 8px 20px rgba(255, 107, 53, 0.45);
  animation: stepJump 1.4s ease-in-out infinite;
}

@keyframes stepJump {
  0%, 100% { transform: translateY(0) scale(1.08); }
  50%      { transform: translateY(-8px) scale(1.15); }
}

.step-date {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1e1b4b;
}

.step-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
}

.step-current .step-label { color: #e65100; font-weight: 900; }
.step-done .step-label { color: #0284c7; }

.next-release {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 50px;
  background: #fff8e1;
  border: 2px solid #ffe082;
  color: #e65100;
  font-size: 0.98rem;
  font-weight: 800;
}

.next-release strong {
  color: #bf360c;
  font-size: 1.1rem;
}

/* ===================================================
   クイズ一覧
   =================================================== */
.quiz-section-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: #1e1b4b;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.quiz-section-title .svg-icon {
  color: var(--primary-color);
}

.quiz-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

/* クイズカード共通 */
.quiz-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 3px solid #fed7aa;
  box-shadow: var(--card-shadow);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.quiz-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

/* 出題中（ボーナス中） */
.quiz-card.is-bonus-active {
  border-color: #ff6b35;
  box-shadow: 0 14px 36px rgba(255, 107, 53, 0.22);
}

.quiz-card.is-bonus-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, #ff477e, #ff6b35, #ffd166);
}

/* 過去問（回答受付中） */
.quiz-card.is-past-open {
  border-color: #bae6fd;
}

.quiz-card.is-past-open::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, #06b6d4, #0284c7);
}

/* 未公開（ロック） */
.quiz-card.is-locked {
  background: #f8fafc;
  border-color: #e2e8f0;
  border-style: dashed;
  box-shadow: none;
}
.quiz-card.is-locked:hover {
  transform: none;
}

/* Qの透かし文字 */
.q-watermark {
  position: absolute;
  right: 20px;
  bottom: -15px;
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 107, 53, 0.06);
  pointer-events: none;
  user-select: none;
}

.quiz-card.is-locked .q-watermark {
  color: rgba(148, 163, 184, 0.1);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.week-badge {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.quiz-card.is-past-open .week-badge {
  color: #0284c7;
}

.badge-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.stamp-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff1f2;
  color: #e11d48;
  border: 2px solid #fecdd3;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 900;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.15);
  transform: rotate(-3deg);
  animation: stampPillPop 0.3s ease-out;
}

@keyframes stampPillPop {
  0%   { transform: scale(0.7) rotate(5deg); opacity: 0; }
  100% { transform: scale(1) rotate(-3deg); opacity: 1; }
}

.stamp-pill .svg-icon {
  width: 15px;
  height: 15px;
}

.status-badge {
  font-size: 0.9rem;
  font-weight: 900;
  padding: 7px 18px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 解答済みカードのハイライト */
.quiz-card.is-user-answered {
  border-color: #86efac;
  background: linear-gradient(180deg, #ffffff 0%, #f6fef9 100%);
}

.quiz-card.is-user-answered::after {
  content: "ANSWERED";
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: #059669;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  padding: 3px 10px;
  border-radius: 4px;
  pointer-events: none;
}

.badge-bonus {
  background: linear-gradient(135deg, #ff477e, #ff6b35);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 71, 126, 0.4);
  animation: bonusGlow 1.8s infinite alternate;
}

@keyframes bonusGlow {
  from { box-shadow: 0 4px 14px rgba(255, 71, 126, 0.35); }
  to   { box-shadow: 0 6px 20px rgba(255, 71, 126, 0.65); }
}

.badge-open {
  background: #e0f2fe;
  color: #0369a1;
  border: 1.5px solid #7dd3fc;
}

.badge-locked {
  background: #e2e8f0;
  color: #64748b;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 14px;
}

.period-info {
  background: #fff8f3;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 4px solid var(--primary-color);
}

.period-info.locked {
  background: #f1f5f9;
  border-left-color: #94a3b8;
  color: var(--text-muted);
}

.countdown-timer {
  color: #e11d48;
  font-weight: 900;
}

.question-body {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 22px;
  white-space: pre-line;
  background: #fffdfb;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border: 2px solid #ffe8d6;
  color: #1e293b;
}

/* ヒント欄 */
.hint-container {
  margin-bottom: 24px;
}

.hint-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: #fffbeb;
  color: #b45309;
  border: 2px solid #fde68a;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 800;
  user-select: none;
  transition: var(--transition);
}

.hint-summary:hover {
  background: #fef3c7;
  transform: translateY(-1px);
}

.hint-content {
  margin-top: 10px;
  padding: 16px 20px;
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  color: #78350f;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hint-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d97706;
  font-weight: 900;
  text-decoration: underline;
  margin-top: 4px;
}

/* 解答ボタン（ぷっくり押したくなるフェスボタン！） */
.card-action {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 2px dashed #fed7aa;
}

.btn-answer {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #ff8e3c, #ff5252);
  color: #ffffff;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 16px 32px;
  border-radius: 50px;
  box-shadow: 0 8px 0 #d83a3a, 0 14px 26px rgba(255, 82, 82, 0.4);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  width: 100%;
}

.btn-answer::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  transform: rotate(25deg) translateY(-100%);
  transition: transform 0.65s ease;
  pointer-events: none;
}

.btn-answer:hover::after {
  transform: rotate(25deg) translateY(100%);
}

.btn-answer:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 0 #d83a3a, 0 18px 30px rgba(255, 82, 82, 0.5);
  background: linear-gradient(135deg, #ff984e, #fa4545);
}

.btn-answer:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #d83a3a, 0 4px 10px rgba(255, 82, 82, 0.3);
}

.btn-answer.is-past {
  background: linear-gradient(135deg, #06b6d4, #0284c7);
  box-shadow: 0 8px 0 #0369a1, 0 14px 26px rgba(2, 132, 199, 0.35);
}

.btn-answer.is-past:hover {
  background: linear-gradient(135deg, #22d3ee, #0369a1);
  box-shadow: 0 10px 0 #0369a1, 0 18px 30px rgba(2, 132, 199, 0.45);
}

.btn-answer.is-past:active {
  box-shadow: 0 2px 0 #0369a1;
}

.action-flex-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.action-note {
  font-size: 0.88rem;
  color: #475569;
  font-weight: 700;
  text-align: left;
}

.btn-toggle-answered {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  color: #475569;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-toggle-answered:hover {
  background: #fff1f2;
  color: #e11d48;
  border-color: #fca5a5;
  transform: translateY(-1px);
}

.btn-toggle-answered .svg-icon {
  width: 14px;
  height: 14px;
}

/* 未公開カード */
.locked-placeholder {
  text-align: center;
  padding: 26px 20px;
  color: var(--text-muted);
}

.locked-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: #94a3b8;
}

.locked-icon .svg-icon {
  width: 48px;
  height: 48px;
}

.locked-msg {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.locked-date {
  font-size: 0.98rem;
  color: var(--primary-color);
  font-weight: 900;
}

/* フッター */
.footer {
  text-align: center;
  padding-top: 50px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

/* ===================================================
   レスポンシブ調整（スマートフォン最適化）
   =================================================== */
@media (max-width: 680px) {
  /* 全体・コンテナ */
  body {
    padding-bottom: 50px;
  }
  .container {
    padding: 0 14px;
  }

  /* 画面右上ボタン（上部タイルデコと重ならないようタイルの下に配置） */
  .top-floating-actions {
    top: 40px;
    right: 10px;
    gap: 6px;
    z-index: 800;
  }
  .floating-btn {
    padding: 6px 12px;
    font-size: 0.78rem;
    gap: 6px;
  }

  /* ヘッダー（上部パディングを広げてタイルデコ＆ボタンとの干渉を完全解消） */
  .hero-header {
    padding: 82px 10px 24px;
  }
  .bunting-wrapper {
    height: 32px;
    top: 0;
  }
  .quiz-banner-line {
    gap: 4px;
    padding-top: 4px;
  }
  .quiz-tile {
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
    border-radius: 4px;
  }
  .bubble-left-2, .bubble-right-2 {
    display: none;
  }
  .bubble-left-1 {
    left: 2%;
    top: 85px;
    width: 36px !important;
    height: 36px !important;
    font-size: 1.25rem !important;
    opacity: 0.45;
  }
  .bubble-right-1 {
    right: 2%;
    top: 135px;
    width: 34px !important;
    height: 34px !important;
    font-size: 1.2rem !important;
    opacity: 0.45;
  }

  /* バッジ */
  .festival-badge {
    font-size: 0.82rem;
    padding: 5px 16px;
    margin-bottom: 12px;
    gap: 6px;
  }

  /* タイトル（2026 改行 大感謝祭 改行 クイズ の3段縦並び） */
  .hero-title-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 2px 4px;
    margin: 2px auto 14px;
    gap: 6px;
  }
  .hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 0;
    text-align: center;
  }
  .title-logo-badge {
    font-size: 1.25rem;
    padding: 3px 14px;
    border-radius: 50px;
    border-width: 2.5px;
    margin-bottom: 2px;
  }
  .title-logo-fest {
    font-size: 3.35rem;
    line-height: 1.15;
    letter-spacing: 0.04em;
  }
  .title-logo-quiz-wrap {
    display: inline-flex;
    align-items: center;
  }
  .title-logo-quiz {
    font-size: 3.35rem;
    line-height: 1.15;
    padding-right: 14px;
    letter-spacing: 0.03em;
  }
  .title-logo-qmark {
        font-size: 2.4rem;
        top: 1px;
        right: -14px;
  }
  .hero-title-sparkle {
    width: 20px;
    height: 20px;
  }

  /* サブタイトル & チップ */
  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 14px;
    padding: 0 4px;
  }
  .hero-chips {
    gap: 6px;
  }
  .hero-chip {
    padding: 5px 12px;
    font-size: 0.8rem;
    gap: 4px;
  }

  /* 全問正解 抽選賞品セクション */
  .prize-section {
    padding: 22px 12px 18px;
    margin-bottom: 22px;
    border-radius: 16px;
    border-width: 2px;
  }
  .prize-ribbon {
    font-size: 0.76rem;
    padding: 4px 14px;
    margin-bottom: 8px;
    gap: 6px;
  }
  .prize-title {
    font-size: 1.3rem;
    margin-bottom: 6px;
    line-height: 1.3;
  }
  .prize-lead {
    font-size: 0.85rem;
    margin-bottom: 14px;
    line-height: 1.5;
  }
  .prize-total {
    font-size: 0.8rem;
    padding: 2px 10px;
    margin-top: 4px;
  }
  .prize-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 14px;
  }
  .prize-card {
    padding: 14px 12px;
    border-radius: 14px;
  }
  .prize-medal {
    width: 42px;
    height: 42px;
    margin-bottom: 6px;
  }
  .prize-medal .svg-icon {
    width: 20px;
    height: 20px;
  }
  .prize-rank {
    font-size: 0.8rem;
    padding: 3px 12px;
    margin-bottom: 6px;
  }
  .prize-name {
    font-size: 0.88rem;
    margin-bottom: 3px;
  }
  .prize-amount {
    font-size: 1.4rem;
    margin-bottom: 4px;
  }
  .prize-winners {
    font-size: 0.84rem;
  }
  .prize-notes {
    font-size: 0.76rem;
    line-height: 1.55;
    padding: 0 4px;
  }

  /* ルールカード */
  .rules-card {
    padding: 18px 14px;
    margin-bottom: 22px;
    border-radius: 16px;
    border-left-width: 6px;
  }
  .rules-header {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }
  .rules-list li {
    font-size: 0.88rem;
    padding-left: 24px;
    margin-bottom: 8px;
    line-height: 1.55;
  }
  .rules-list li::before {
    top: 3px;
    width: 17px;
    height: 17px;
  }

  /* スタンプラリー & MY挑戦シート */
  .progress-card {
    padding: 18px 12px 14px;
    margin-bottom: 22px;
    border-radius: 16px;
  }
  .progress-header-wrap {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    text-align: center;
  }
  .progress-title {
    font-size: 1.15rem;
    justify-content: center;
    gap: 6px;
  }
  .my-score-badge {
    width: auto;
    max-width: 100%;
    font-size: 0.82rem;
    padding: 5px 14px;
  }
  .challenge-meter-wrap {
    padding: 10px 10px;
    margin-bottom: 16px;
    border-radius: 12px;
  }
  .meter-bar-bg {
    height: 14px;
  }
  .meter-info-line {
    font-size: 0.8rem;
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
  .meter-reward-tag {
    font-size: 0.76rem;
    padding: 2px 10px;
  }

  /* ステッパー（スタンプ台紙） */
  .stepper {
    gap: 2px;
  }
  .stepper::before {
    top: 19px;
    height: 4px;
    left: 6%;
    right: 6%;
  }
  .step-dot {
    width: 38px;
    height: 38px;
    font-size: 0.82rem;
    margin: 0 auto 5px;
    border-width: 2.5px;
  }
  .step-dot .svg-icon {
    width: 18px;
    height: 18px;
    stroke-width: 3;
  }
  .step-date {
    font-size: 0.72rem;
    letter-spacing: -0.02em;
  }
  .step-label {
    display: none;
  }
  .next-release {
    margin-top: 12px;
    padding: 8px 10px;
    font-size: 0.8rem;
    text-align: center;
    flex-direction: column;
    gap: 2px;
    border-radius: 12px;
  }

  /* クイズカード一覧 */
  .quiz-section-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }
  .quiz-grid {
    gap: 16px;
  }
  .quiz-card {
    padding: 16px 14px;
    border-radius: 16px;
    border-width: 2.5px;
  }
  .card-top {
    margin-bottom: 8px;
    gap: 6px;
  }
  .week-badge {
    font-size: 1.05rem;
    gap: 6px;
  }
  .status-badge {
    font-size: 0.76rem;
    padding: 4px 10px;
  }
  .stamp-pill {
    font-size: 0.74rem;
    padding: 3px 8px;
  }
  .quiz-card.is-user-answered::after {
    top: 8px;
    right: 8px;
    font-size: 0.65rem;
    padding: 2px 6px;
  }
  .card-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
    line-height: 1.35;
  }
  .period-info {
    padding: 8px 10px;
    font-size: 0.8rem;
    margin-bottom: 12px;
  }
  .countdown-timer {
    font-size: 0.8rem;
  }
  .question-body {
    font-size: 0.94rem;
    line-height: 1.65;
    padding: 12px 12px;
    margin-bottom: 14px;
    border-radius: 10px;
  }
  .hint-container {
    margin-bottom: 12px;
  }
  .hint-summary {
    font-size: 0.85rem;
    padding: 6px 14px;
  }
  .hint-content {
    font-size: 0.85rem;
    padding: 10px 12px;
  }
  .card-action {
    padding-top: 12px;
    gap: 8px;
  }
  .btn-answer {
    padding: 12px 16px;
    font-size: 1.05rem;
    gap: 8px;
    border-radius: 50px;
  }
  .action-flex-row {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 6px;
  }
  .action-note {
    font-size: 0.76rem;
    text-align: center;
    line-height: 1.4;
  }
  .btn-toggle-answered {
    justify-content: center;
    width: 100%;
    font-size: 0.8rem;
    padding: 6px 10px;
  }
  .q-watermark {
    font-size: 4.5rem;
    right: 8px;
    bottom: -8px;
    opacity: 0.35;
  }

  /* フッター */
  .footer {
    padding-top: 24px;
    font-size: 0.76rem;
  }
}
