/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Aug 06 2026 | 06:07:58 */
/* ==========================================
   熱中症クイズ 24インチ大画面ガタつき完全防護CSS
   ========================================== */

/* デフォルトタイトル・パンくず削除 */
.page-id-2980 .page-header,
.page-id-2980 #breadcrumb {
  display: none !important;
}

/* 1. スクロールバーによる横幅の再計算ループを物理的に固定 */
html {
  scrollbar-gutter: stable;
  overflow-y: scroll !important;
  overflow-x: hidden !important;
}

body {
  overflow-x: hidden !important;
  width: 100% !important;
  position: relative;
}

/* 2. テーマ側の親要素ラッパーでのガタつき（Flex/Grid計算衝突）を強制解除 */
.page-id-2980 #page,
.page-id-2980 #content,
.page-id-2980 .site-content,
.page-id-2980 .entry-content {
  overflow: visible !important;
  transform: none !important;
  filter: none !important;
}

/* ------------------------------------------
   ヒーローエリア（全幅 & 変動ゼロ固定）
   ------------------------------------------ */
.hs-quiz-hero-outer {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 24px auto;
  background: linear-gradient(135deg, #fff7ed 0%, #e0f2fe 100%);
  border-bottom: 3px solid #0284c7;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.08);
  overflow: hidden;
  box-sizing: border-box;
}

/* 背景模様 */
.hs-quiz-hero-outer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(2, 132, 199, 0.08) 1px, transparent 0);
  background-size: 16px 16px;
  pointer-events: none;
}

.hs-quiz-header {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 36px 20px 32px;
  text-align: center;
}

.hs-quiz-hero-decor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.hs-quiz-badge {
  display: inline-block;
  padding: 6px 18px;
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  border-radius: 20px;
  letter-spacing: 0.05em;
  box-shadow: 0 3px 10px rgba(220, 38, 38, 0.3);
  animation: badgePulse 2.5s infinite;
}

.hs-sun-icon {
  display: inline-block;
  font-size: 22px;
  animation: sunFloat 3s ease-in-out infinite;
}

.hs-quiz-header h2 {
  margin: 10px 0;
  padding: 0;
  border: none;
  font-size: clamp(16px, 5.2vw, 23px);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.hs-title-highlight {
  display: inline-block;
  background: linear-gradient(transparent 65%, #fef08a 65%);
  white-space: nowrap;
}

/* 文字色装飾：熱中症（炎・熱感） */
.hs-hot-text {
  display: inline-block;
  color: #dc2626;
  background: linear-gradient(45deg, #ea580c, #dc2626);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  filter: drop-shadow(0 2px 2px rgba(234, 88, 12, 0.2));
}

/* 文字色装飾：避暑シェルター（涼感ブルー） */
.hs-cool-text {
  display: inline-block;
  color: #0284c7;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  filter: drop-shadow(0 2px 4px rgba(2, 132, 199, 0.25));
}

.hs-quiz-header p {
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: #334155;
  line-height: 1.5;
}

.hs-hero-subtext {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(11px, 3.6vw, 14px);
  letter-spacing: -0.03em;
}

.hs-q-count {
  display: inline-block;
  color: #ea580c;
  font-weight: 800;
  font-size: 13px;
  margin-top: 2px;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes sunFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(15deg); }
}

.sp-only {
  display: none;
}

/* ------------------------------------------
   クイズコンテンツ本体ボックス
   ------------------------------------------ */
.hs-quiz-wrapper {
  max-width: 680px;
  margin: 0 auto 20px;
  padding: 0;
  box-sizing: border-box;
  /* ↓ 24インチ大画面でのスクロールバー暴振（ガタつき）を防止するため追加 */
  min-height: 80vh;
}

.hs-quiz-wrapper *,
.hs-quiz-wrapper *::before,
.hs-quiz-wrapper *::after {
  box-sizing: border-box;
}

/* クイズカード */
.hs-quiz-card {
  margin-bottom: 20px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.hs-quiz-q-num {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hs-quiz-question {
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.6;
}

/* 設問画像 */
.hs-quiz-image-box {
  width: 100%;
  margin: 16px 0 20px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background-color: #fff;
  overflow: hidden;
}

.hs-quiz-image-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* 選択肢ボタン */
.hs-quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hs-quiz-opt-btn {
  display: flex;
  align-items: flex-start;
  width: 100%;
  padding: 14px 18px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  color: #334155;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.hs-quiz-opt-btn .hs-opt-num {
  flex-shrink: 0;
  margin-right: 6px;
  line-height: 1.5;
}

.hs-quiz-opt-btn .hs-opt-text {
  flex: 1;
  line-height: 1.5;
}

.hs-quiz-opt-btn:hover:not(:disabled) {
  background: #f0f6ff;
  border-color: #3b82f6;
  color: #1d4ed8;
}

.hs-quiz-opt-btn.correct {
  background-color: #f0fdf4 !important;
  border-color: #22c55e !important;
  color: #15803d !important;
  font-weight: 700;
}

.hs-quiz-opt-btn.wrong {
  background-color: #fef2f2 !important;
  border-color: #ef4444 !important;
  color: #b91c1c !important;
  opacity: 0.8;
}

/* 解説・ボタン */
.hs-quiz-explanation {
  margin-top: 18px;
  padding: 16px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.6;
}

.hs-quiz-explanation.correct-bg {
  background-color: #f0fdf4;
  border-left: 4px solid #22c55e;
  color: #166534;
}

.hs-quiz-explanation.wrong-bg {
  background-color: #fef2f2;
  border-left: 4px solid #ef4444;
  color: #991b1b;
}

.hs-quiz-next-btn,
.hs-btn-restart {
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
}

.hs-quiz-next-btn {
  margin-top: 18px;
  background-color: #2563eb;
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.hs-quiz-next-btn:hover {
  background-color: #1d4ed8;
}

.hs-btn-restart {
  background-color: #64748b;
  color: #fff;
}

.hs-btn-restart:hover {
  background-color: #475569;
}

/* ------------------------------------------
   結果・シェルター案内エリア
   ------------------------------------------ */
.hs-quiz-result-box {
  padding: 20px 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.hs-quiz-score-header {
  text-align: center;
  margin-bottom: 20px;
}

.hs-quiz-score {
  margin-top: 10px;
  font-size: 36px;
  font-weight: 800;
  color: #ef4444;
  line-height: 1.3;
}

/* シェルター案内カード本体 */
.hs-quiz-shelter-info {
  margin-bottom: 24px;
  padding: 18px 10px;
  background-color: #f0f9ff;
  border: 2px dashed #0284c7;
  border-radius: 10px;
}

.hs-quiz-shelter-info h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: clamp(14px, 4.5vw, 18px);
  font-weight: 800;
  color: #1e293b;
  text-align: center;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.hs-quiz-shelter-info h3 .hs-hot-line {
  display: inline-block;
  white-space: nowrap;
}

.hs-quiz-shelter-info .hs-hot-text,
.hs-quiz-shelter-info .hs-cool-text {
  font-size: 1.05em;
}

.hs-highlight {
  color: #dc2626;
  background: linear-gradient(transparent 60%, #fef08a 60%);
}

/* マーク紹介エリア */
.hs-quiz-shelter-marks {
  margin: 16px 0 20px;
  padding: 16px 4px;
  background-color: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  text-align: center;
}

.hs-mark-title {
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 700;
  color: #0369a1;
  line-height: 1.4;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.hs-mark-images {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 16px;
}

.hs-mark-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hs-mark-item img {
  width: auto;
  max-width: 100%;
  height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.hs-mark-item span {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}

/* シェルター詳細情報テキスト */
.hs-quiz-shelter-details {
  margin-bottom: 20px;
  padding: 0 4px;
  font-size: 16px;
  color: #1e293b;
  line-height: 1.6;
}

/* PDFボタンエリア */
.hs-quiz-pdf-links {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.hs-btn-pdf {
  flex: 1;
  padding: 12px 6px;
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #1e293b;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  line-height: 1.4;
  transition: background-color 0.2s;
}

.hs-btn-pdf:hover {
  background-color: #e2e8f0;
}

/* 公式ページボタン */
.hs-btn-official {
  display: block;
  width: 100%;
  padding: 14px 8px;
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
  color: #ffffff !important;
  font-size: clamp(11px, 3.7vw, 16px);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.03em;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.hs-btn-official:hover {
  opacity: 0.95;
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.4);
}

/* ------------------------------------------
   レスポンシブ (スマホ表示: 480px以下)
   ------------------------------------------ */
@media (max-width: 480px) {
  .sp-only {
    display: inline;
  }

  .hs-quiz-wrapper {
    padding: 0 8px;
  }

  .hs-quiz-header {
    padding: 24px 16px 20px;
  }

  .hs-quiz-header h2 {
    font-size: 19px;
  }

  .hs-quiz-header p {
    font-size: 13px;
  }

  .hs-quiz-q-num {
    font-size: 13px;
  }

  .hs-quiz-question {
    font-size: 16px;
  }

  .hs-quiz-opt-btn {
    font-size: 15px;
  }

  .hs-quiz-explanation {
    font-size: 14px;
  }

  .hs-quiz-next-btn,
  .hs-btn-restart {
    font-size: 15px;
  }

  .hs-quiz-result-box {
    padding: 12px 6px;
  }

  .hs-quiz-score {
    font-size: 26px;
  }

  .hs-quiz-shelter-info {
    padding: 14px 6px;
  }

  .hs-quiz-shelter-info h3 {
    font-size: 16px;
  }

  .hs-quiz-shelter-info h3 br {
    display: none;
  }

  .hs-mark-title {
    font-size: clamp(11px, 3.8vw, 15px);
    letter-spacing: -0.03em;
  }

  .hs-mark-images {
    gap: 12px;
  }

  .hs-mark-item img {
    height: 150px;
  }

  .hs-quiz-shelter-marks {
    padding: 14px 2px;
  }

  .hs-quiz-shelter-details {
    font-size: 15px;
  }

  .hs-btn-pdf {
    font-size: 14px;
  }

  .hs-quiz-pdf-links {
    flex-direction: column;
    gap: 10px;
  }

  .hs-quiz-card {
    padding-left: 0;
    padding-right: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .hs-quiz-image-box {
    margin-top: 12px;
    margin-bottom: 16px;
    border-radius: 8px;
  }

  .hs-quiz-q-num,
  .hs-quiz-question,
  .hs-quiz-options,
  .hs-quiz-explanation,
  .hs-quiz-next-btn {
    padding-left: 2px;
    padding-right: 2px;
  }

  .hs-hero-subtext {
    font-size: clamp(10.5px, 3.5vw, 13px);
    letter-spacing: -0.04em;
  }

  .hs-btn-official {
    font-size: clamp(10.5px, 3.5vw, 15px);
    letter-spacing: -0.04em;
    padding: 12px 6px;
  }
}









/* ==========================================
   品川区 避暑シェルタークイズ 誘導バナーCSS（全体リンク＆ホバー連動版）
   ========================================== */

/* 全体リンク（aタグ化に伴うスタイル調整） */
a.hs-banner-outer {
  display: block;
  width: 100%;
  max-width: 1000px;
  margin: 20px auto;
  padding: 2px;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 60%, #ea580c 100%);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.12);
  box-sizing: border-box;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

/* ★バナー全体にカーソルが乗ったときの挙動：バナーが少し持ち上がる */
a.hs-banner-outer:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.25);
}

.hs-banner-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  background: linear-gradient(110deg, #ffffff 0%, #f0f9ff 60%, #fff7ed 100%);
  border-radius: 12px;
  box-sizing: border-box;
  overflow: hidden;
}

/* --- PC版：左側テキストコンテンツ --- */
.hs-banner-content {
  flex: 1;
  z-index: 2;
  max-width: 520px;
}

.hs-banner-badge-row {
  margin-bottom: 8px;
}

.hs-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

.hs-banner-badge.hs-warm-badge {
  background: #ea580c;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.2);
}

.hs-badge-icon {
  font-size: 13px;
  line-height: 1;
}

.hs-banner-main-title {
  margin: 0 0 6px 0;
  padding: 0;
  border: none;
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.hs-highlight-cool {
  color: #0284c7;
  background: linear-gradient(transparent 60%, #bae6fd 60%);
  display: inline-block;
}

.hs-banner-description {
  margin: 0 0 12px 0;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  line-height: 1.45;
}

/* --- CTAボタン --- */
.hs-banner-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  overflow: hidden;
  transition: all 0.3s ease;
}

.hs-banner-btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  transition: all 0.6s ease;
}

/* ★バナー全体にホバーした時にボタンを連動して光らせる（シマー効果） */
a.hs-banner-outer:hover .hs-banner-btn::after {
  left: 125%;
}

a.hs-banner-outer:hover .hs-banner-btn {
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
}

.hs-btn-arrow {
  font-size: 15px;
  transition: transform 0.2s ease;
}

a.hs-banner-outer:hover .hs-btn-arrow {
  transform: translateX(4px);
}

/* --- 右側画像エリア --- */
.hs-banner-media {
  flex: 0 0 auto;
  z-index: 1;
  display: flex;
  align-items: center;
  margin-top: -10px;
  margin-bottom: -10px;
}

.hs-flag-mark-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hs-banner-img {
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
}

.hs-flag-img {
  height: 165px;
}

.hs-mark-img {
  height: 150px;
}

/* --- アニメーション --- */
@keyframes hs-flag-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(-1.5deg); }
}

@keyframes hs-mark-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(1.5deg); }
}

.hs-flag-float {
  animation: hs-flag-float 4s ease-in-out infinite;
}

.hs-mark-float {
  animation: hs-mark-float 4s ease-in-out infinite 0.5s;
}

/* --- スマホ表示（768px以下）：横並び維持＆超スリム化 --- */
@media (max-width: 768px) {
  a.hs-banner-outer {
    margin: 12px auto;
    border-radius: 12px;
  }

  .hs-banner-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    gap: 8px;
    text-align: left;
  }

  .hs-banner-content {
    max-width: 60%;
  }

  .hs-banner-badge-row {
    margin-bottom: 4px;
  }

  .hs-banner-badge {
    padding: 2px 8px;
    font-size: 10px;
  }

  .hs-badge-icon {
    font-size: 11px;
  }

  .hs-banner-main-title {
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 4px;
  }

  .hs-banner-description {
    display: none;
  }

  .hs-banner-btn {
    padding: 6px 14px;
    font-size: 11px;
    border-radius: 20px;
    margin-top: 2px;
  }

  .hs-btn-arrow {
    font-size: 12px;
  }

  .hs-banner-media {
    margin-top: 0;
    margin-bottom: 0;
  }

  .hs-flag-mark-box {
    gap: 4px;
  }

  .hs-flag-img {
    height: 85px;
  }

  .hs-mark-img {
    height: 75px;
  }
}