/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Apr 02 2026 | 17:29:54 */
/* デフォルトタイトル削除 */
.page-id-2084 .page-header{
display:none;
}

/* パンくず削除 */
.page-id-2084 #breadcrumb{
display:none;
}

/* =========================
　ヒーロー部分（完成版）
========================= */
.quiz-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: linear-gradient(135deg, #1565C0, #42A5F5);
  color: white;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* 背景① テクスチャ */
.quiz-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://www.transparenttextures.com/patterns/cubes.png");
  opacity: 0.08;
}

/* 自転車が横切るアニメーション */ .quiz-hero::after { content: "🚲"; position: absolute; font-size: 120px; opacity: 0.; bottom: 20px; /* 地面っぽい位置 */ left: 100%; /* 画面右外からスタート */ animation: quiz-bikeRun 8s linear infinite; will-change: transform; } /* 右 → 左へ移動 */ @keyframes quiz-bikeRun { 0% { transform: translateX(0); } 100% { transform: translateX(-120vw); } } /* スマホ調整 */ @media (max-width: 767px) { .quiz-hero::after { bottom: 10px; animation-duration: 5s; /* 少し速く */ } }
/* コンテンツ */
.quiz-hero-inner {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  z-index: 1;
}

/* バッジ */
.quiz-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
margin-bottom: 18px;}

/* タイトル */
.quiz-hero-title {
  font-size: 32px;
  line-height: 1.4;
  margin-bottom: 15px;
  font-weight: 700;
}

.quiz-hero-title span {
  font-size: 42px;
  display: block;
  letter-spacing: 1px;
}

/* サブ */
.quiz-hero-sub {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* 強調 */
.quiz-highlight {
  color: #FFD54F;
  font-weight: bold;
}

/* CTA */
.quiz-hero-btn {
  display: inline-block;
  background: white;
  color: #1565C0;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.25s;
}

/* ホバー演出 */
.quiz-hero-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* PC */
@media (min-width: 768px) {
  .quiz-hero {
    padding: 110px 20px;
  }

  .quiz-hero-title {
    font-size: 44px;
  }

  .quiz-hero-title span {
    font-size: 56px;
  }

  .quiz-hero-sub {
    font-size: 18px;
  }
}

/* =========================
　クイズ部分
========================= */
#quiz-app {
  max-width: 480px;
  margin: 30px auto;
  padding: 0 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.quiz-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* 進捗バー */
.progress-wrap {
  width: 100%;
  height: 8px;
  background: #eee;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 6px;
}

#progress-bar {
  height: 100%;
  width: 0%;
  background: #4CAF50;
  transition: width 0.3s;
}

#progress-text {
  font-size: 12px;
  color: #777;
  margin-bottom: 12px;
}

/* 画像 */
#quiz-image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

#q-badge {
  background: #2196F3;
  color: white;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 13px;
}

#question-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

#question-text {
  font-size: 15px;
  line-height: 1.6;
  margin: 10px 0 15px;
  white-space: pre-line;
}


/* =========================
　画像キャプション
========================= */
.quiz-img-wrap {
  position: relative;
  margin: 10px 0;
}

.quiz-img-wrap .exp-img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

/* 画像キャプション「品川区青切符チラシより」 */
.quiz-img-caption {
  position: absolute;
  bottom: 4px;
  right: 6px;
  font-size: 10px;
  color: rgba(0, 0, 0, 0.55); /* ←薄めのグレー */
  background: rgba(255, 255, 255, 0.6); /* ←うっすら白 */
  padding: 2px 5px;
  border-radius: 3px;
}

/* =========================
　🔽 このページのみに反映されるようスコープ化
========================= */

/* 選択肢ボタン（このページ限定） */
#quiz-app .quiz-choice-btn {
  width: 100%;
  margin: 6px 0;
  padding: 12px;
  border-radius: 10px;
  border: none;
  font-size: 15px;
  background: #f5f5f5;
  text-align: left;
  cursor: pointer;
}

#quiz-app .quiz-choice-btn:hover {
  background: #e0f2f1;
}

/* 正誤 */
#quiz-app .quiz-correct {
  background: #4CAF50 !important;
  color: white;
}

#quiz-app .quiz-wrong {
  background: #f44336 !important;
  color: white;
}

/* 次へボタン */
#quiz-app #nextBtn {
  display: none;
  margin-top: 12px;
  background: #2196F3;
  color: white;
  text-align: center;
  border: none;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
}

/* ========================= */

#result-box {
  display: none;
  margin-top: 15px;
  padding: 12px;
  background: #f1f8ff;
  border-radius: 12px;
  position: relative;
}

#result-box::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 20px;
  border-width: 8px;
  border-style: solid;
  border-color: transparent transparent #f1f8ff transparent;
}

#result {
  font-size: 14px;
  white-space: pre-line;
}

@media (min-width: 768px) {
  #question-title {
    font-size: 20px;
  }
}

.exp-img {
  width: 100%;
  border-radius: 10px;
  margin: 10px 0;
}

/* =========================
　結果画面
========================= */
.quiz-result-wrap {
  text-align: center;
  padding: 20px 10px;
}

.quiz-result-title {
  font-size: 22px;
  margin-bottom: 10px;
}

.quiz-result-score {
  font-size: 28px;
  font-weight: bold;
  color: #1565C0;
  margin-bottom: 10px;
}

.quiz-result-message {
  font-size: 14px;
  margin-bottom: 20px;
}

/* SNS */
.quiz-share-title {
  font-size: 13px;
  margin-bottom: 8px;
}

.quiz-share-btn {
  display: inline-block;
  margin: 5px;
  padding: 10px 14px;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-size: 13px;
}

.quiz-x {
  background: #000;
}

.quiz-line {
  background: #06C755;
}

/* 公的リンク */
.quiz-official {
  margin-top: 20px;
}

.quiz-official-title {
  font-size: 13px;
  margin-bottom: 8px;
}

.quiz-official-btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: #E3F2FD;
  color: #1565C0;
  text-decoration: none;
  font-weight: bold;
}

/* リスタート */
.quiz-restart-btn {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #2196F3;
  color: white;
  font-size: 14px;
  cursor: pointer;
}

/* =========================
　引用注意文
========================= */
.quiz-note {
  max-width: 700px;
  margin: 40px auto;
  padding: 18px;
  border-radius: 12px;
  background: #f5f7fa;
  color: #444;
  font-size: 13px;
  line-height: 1.7;
}

.quiz-note-title {
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}

.quiz-note-source {
  margin-top: 10px;
  font-size: 12px;
}

.quiz-note a {
  color: #1565C0;
  text-decoration: underline;
}

/* =========================
　クイズ誘導バナー
========================= */
.quiz-banner {
  display: block;
  text-decoration: none;
  margin: 30px 0;
}

.quiz-banner-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;

  background: linear-gradient(135deg, #1565C0, #42A5F5);
  color: #fff;

  padding: 20px;
  border-radius: 16px;
  overflow: hidden;

  transition: 0.3s;
}

/* ホバー */
.quiz-banner:hover .quiz-banner-inner {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* 左側 */
.quiz-banner-left {
  z-index: 1;
}

/* バッジ */
.quiz-banner-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 8px;
}

/* タイトル */
.quiz-banner-title {
  font-size: 20px;
  line-height: 1.4;
  margin: 0 0 6px;
}

.quiz-banner-title span {
  font-size: 24px;
  font-weight: bold;
}

/* テキスト */
.quiz-banner-text {
  font-size: 13px;
  margin-bottom: 10px;
  opacity: 0.9;
}

/* CTA */
.quiz-banner-cta {
  display: inline-block;
  background: #fff;
  color: #1565C0;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
}

/* 右の自転車 */
.quiz-banner-bike {
  font-size: 60px;
  opacity: 0.15;
  transform: rotate(-10deg);
}

/* 背景の装飾 */
.quiz-banner-inner::after {
  content: "🚲";
  position: absolute;
  font-size: 120px;
  opacity: 0.08;
  bottom: -10px;
  right: 10px;
}

/* スマホ */
@media (max-width: 767px) {
  .quiz-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .quiz-banner-bike {
    font-size: 50px;
    position: absolute;
    right: 10px;
    bottom: 10px;
  }

  .quiz-banner-title {
    font-size: 18px;
  }

  .quiz-banner-title span {
    font-size: 22px;
  }
}