/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 26 2026 | 08:02:22 */
/* ==========================================
   クイズ まとめエリア（CSS）
   ※ 旧3種のバナーCSS（gw-banner-* / quiz-banner-* / hs-banner-*）は置き換えて削除OK
   ========================================== */
.qz-section {
  width: 100%;
  max-width: 1000px;
  margin: 28px auto;
  box-sizing: border-box;
}

/* --- 見出し（Lightningの見出し装飾を打ち消し） --- */
.qz-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}
.qz-title {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  font-size: 19px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.3;
}
.qz-title::before,
.qz-title::after { display: none !important; }

.qz-swipe-hint { display: none; }

/* --- PC：3列 --- */
.qz-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* --- カード共通 --- */
.qz-card {
  --qz-main: #10b981;
  --qz-dark: #059669;
  --qz-bg: #fff;
  --qz-text: #0f172a;
  --qz-sub: #475569;
  --qz-hl: #059669;
  --qz-hl-line: #a7f3d0;
  --qz-badge-bg: #10b981;
  --qz-badge-text: #fff;
  --qz-cta-bg: linear-gradient(135deg, #f59e0b, #d97706);
  --qz-cta-text: #fff;

  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-height: 172px;
  padding: 16px 16px 14px;
  box-sizing: border-box;
  overflow: hidden;
  text-decoration: none !important;
  color: var(--qz-text);
  background: var(--qz-bg);
  border: 2px solid var(--qz-main);
  border-radius: 16px;
  box-shadow: 0 4px 0 var(--qz-dark), 0 8px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}
.qz-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 0 var(--qz-dark), 0 12px 22px rgba(0, 0, 0, 0.12);
}
.qz-card:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--qz-dark), 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 色バリエーション */
.qz-card--gomi {
  --qz-bg: linear-gradient(135deg, #ffffff 0%, #ebfbee 60%, #fef9c3 100%);
}
.qz-card--bike {
  --qz-main: #1565c0;
  --qz-dark: #0d47a1;
  --qz-bg: linear-gradient(135deg, #1565c0, #42a5f5);
  --qz-text: #ffffff;
  --qz-sub: rgba(255, 255, 255, 0.9);
  --qz-hl: #ffffff;
  --qz-hl-line: rgba(255, 255, 255, 0.3);
  --qz-badge-bg: rgba(255, 255, 255, 0.22);
  --qz-cta-bg: #ffffff;
  --qz-cta-text: #1565c0;
}
.qz-card--hs {
  --qz-main: #0284c7;
  --qz-dark: #0369a1;
  --qz-bg: linear-gradient(110deg, #ffffff 0%, #f0f9ff 60%, #fff7ed 100%);
  --qz-hl: #0284c7;
  --qz-hl-line: #bae6fd;
  --qz-badge-bg: #ea580c;
  --qz-cta-bg: linear-gradient(135deg, #0284c7, #2563eb);
}

.qz-body { position: relative; z-index: 2; }

.qz-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--qz-badge-text);
  background: var(--qz-badge-bg);
  border-radius: 20px;
}

.qz-card-title {
  margin: 0 0 6px;
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 900;
  line-height: 1.35;
  color: var(--qz-text);
}
.qz-hl {
  color: var(--qz-hl);
  background: linear-gradient(transparent 62%, var(--qz-hl-line) 62%);
}

.qz-sub {
  margin: 0 !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--qz-sub);
}

.qz-cta {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 900;
  color: var(--qz-cta-text) !important;
  background: var(--qz-cta-bg);
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}
.qz-arrow { font-size: 11px; transition: transform 0.2s ease; }
.qz-card:hover .qz-arrow { transform: translateX(4px); }

/* 装飾（絵文字・画像）は右下に控えめに */
.qz-deco {
  position: absolute;
  right: 10px;
  bottom: -6px;
  z-index: 1;
  font-size: 64px;
  line-height: 1;
  opacity: 0.16;
  transform: rotate(-10deg);
  pointer-events: none;
  user-select: none;
}
.qz-img {
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 1;
  width: auto;
  height: 74px;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15));
  pointer-events: none;
}

.qz-dots { display: none; }

/* --- スマホ：横スワイプ --- */
@media (max-width: 767px) {
  .qz-section { margin: 20px auto; }

  .qz-title { font-size: 17px; }

  /* 「スワイプで…」ヒント＋矢印のゆらぎ */
  .qz-swipe-hint {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 800;
    color: #475569;
    white-space: nowrap;
    transition: opacity 0.3s ease;
  }
  .qz-swipe-arrow {
    display: inline-block;
    font-size: 10px;
    color: #0284c7;
    animation: qz-nudge 1.2s ease-in-out infinite;
  }
  @keyframes qz-nudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
  }

  /* 右端のフェード（まだ続きがあることを示す） */
  .qz-viewport { position: relative; }
  .qz-viewport::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 36px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.95));
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.3s ease;
  }
  .qz-viewport.is-end::after { opacity: 0; }

  .qz-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 2px 12px; /* 下：影が切れないように */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .qz-track::-webkit-scrollbar { display: none; }

  /* 78%幅にして、次のカードをチラ見せ */
  .qz-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
    min-height: 160px;
  }
  .qz-card:hover { transform: none; }

  /* ドット */
  .qz-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2px;
  }
  .qz-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
  }
  .qz-dot.is-active {
    width: 22px;
    border-radius: 6px;
    background: #0284c7;
  }

  /* 一度スワイプしたらヒントを消す */
  .qz-section.is-scrolled .qz-swipe-hint { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .qz-swipe-arrow { animation: none; }
  .qz-card, .qz-arrow { transition: none; }
}