/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jul 24 2026 | 09:25:45 */
/* ==========================================================
   品川区をもっと知る 特集ページ（完全修正版）
========================================================== */

/* デフォルトタイトル・パンくず削除 */
.page-id-2854 .page-header,
.page-id-2854 #breadcrumb {
  display: none !important;
}

/* スコープ基本設定 */
.sg-special-page {
  --primary: #0088e3;
  --primary-light: #eef7ff;
  --primary-dark: #005fb8;
  --accent-yellow: #ffcb05;

  /* カテゴリーカラー */
  --cat-community: #2e7d32;
  --cat-traffic: #1976d2;
  --cat-disaster: #e65100;
  --cat-city: #6a1b9a;

  --text-main: #2c3e50;
  --text-sub: #607d8b;
  --bg-main: #f4f9fd;
  --card-bg: #ffffff;

  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  font-size: 16px;
}

.sg-special-page *,
.sg-special-page *::before,
.sg-special-page *::after {
  box-sizing: border-box;
}

.sg-special-page a { text-decoration: none; color: inherit; }

.sg-special-page .sg-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.sg-special-page .pc-only { display: inline; }
@media (max-width: 768px) {
  .sg-special-page .pc-only { display: none; }
}

/* ==================================================
   Hero
================================================== */
.sg-special-page .sg-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 50%, #ffffff 100%);
  padding: 85px 20px 100px;
  text-align: center;
  overflow: hidden;
}

.sg-special-page .sg-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

/* --- 常時動く背景演出 (動画 × 品川モチーフ) --- */
.sg-special-page .sg-hero-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* 1. 動画プレイマーク */
.sg-special-page .play-shape {
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  opacity: 0.16;
  filter: drop-shadow(0 4px 10px rgba(0, 136, 227, 0.2));
  animation: floatPlay 7s ease-in-out infinite alternate;
}

.sg-special-page .ps-1 {
  border-width: 25px 0 25px 42px;
  border-color: transparent transparent transparent #0284c7;
  top: 12%;
  left: 6%;
  animation-duration: 6s;
}

.sg-special-page .ps-2 {
  border-width: 35px 0 35px 60px;
  border-color: transparent transparent transparent #38bdf8;
  bottom: 25%;
  right: 5%;
  animation-duration: 8s;
  animation-delay: -2s;
}

@keyframes floatPlay {
  0% { transform: translateY(0) rotate(0deg) scale(1); }
  50% { transform: translateY(-20px) rotate(12deg) scale(1.1); }
  100% { transform: translateY(-35px) rotate(-8deg) scale(0.95); }
}

/* 2. 品川区事業モチーフ (バス・電車・水道) */
.sg-special-page .city-icon {
  position: absolute;
  font-size: 2.2rem;
  opacity: 0.35;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.06));
  animation: floatCityIcon 5s ease-in-out infinite alternate;
}

.sg-special-page .icon-bus {
  top: 48%;
  left: 3%;
  animation-duration: 5.5s;
}

.sg-special-page .icon-train {
  top: 18%;
  right: 8%;
  animation-duration: 6.5s;
  animation-delay: -1.5s;
}

.sg-special-page .icon-water {
  bottom: 8%;
  right: 18%;
  font-size: 2rem;
  animation-duration: 4.8s;
  animation-delay: -3s;
}

@keyframes floatCityIcon {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-18px) scale(1.08); }
}

/* 3. イコライザー（波形） */
.sg-special-page .sound-wave {
  position: absolute;
  top: 18%;
  left: 18%;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 36px;
  opacity: 0.22;
}

.sg-special-page .sound-wave .bar {
  width: 5px;
  background: var(--primary);
  border-radius: 10px;
  animation: wavePulse 1.2s ease-in-out infinite alternate;
}

.sg-special-page .bar.b1 { height: 40%; animation-delay: 0.1s; }
.sg-special-page .bar.b2 { height: 80%; animation-delay: 0.3s; }
.sg-special-page .bar.b3 { height: 100%; animation-delay: 0.2s; }
.sg-special-page .bar.b4 { height: 60%; animation-delay: 0.4s; }
.sg-special-page .bar.b5 { height: 30%; animation-delay: 0.5s; }

@keyframes wavePulse {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1.1); }
}

/* 4. キラキラ粒子 */
.sg-special-page .sparkle {
  position: absolute;
  font-size: 1.5rem;
  color: #0284c7;
  animation: sparkleTwinkle 2.5s infinite ease-in-out alternate;
}
.sg-special-page .sp-1 { top: 10%; right: 26%; }
.sg-special-page .sp-2 { bottom: 20%; left: 15%; color: #f59e0b; font-size: 1.2rem; animation-delay: 0.8s; }
.sg-special-page .sp-3 { top: 35%; left: 4%; animation-delay: 1.5s; }

@keyframes sparkleTwinkle {
  0% { transform: scale(0.6); opacity: 0.2; }
  100% { transform: scale(1.2); opacity: 0.8; }
}

/* --- テキスト & 光るタイトル --- */
.sg-special-page .sg-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 2px solid #fde047;
  color: #1e293b;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 6px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(253, 224, 71, 0.35);
  margin-bottom: 18px;
}

.sg-special-page .sg-subtitle {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #0284c7;
  margin-bottom: 12px;
}

.sg-special-page .sg-hero-title {
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 24px;
  position: relative;
  display: inline-block;
}

/* ポンポン初期アニメーション (光らせず、青文字で1文字ずつ表示) */
.sg-special-page .pop-chars {
  display: inline-block;
}

.sg-special-page .pop-chars span {
  display: inline-block;
  color: #0284c7;
  -webkit-text-fill-color: #0284c7; /* 光のアニメーションを解除して鮮やかな青に固定 */
  animation: charPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.sg-special-page .pop-chars span:nth-child(1) { animation-delay: 0.20s; }
.sg-special-page .pop-chars span:nth-child(2) { animation-delay: 0.26s; }
.sg-special-page .pop-chars span:nth-child(3) { animation-delay: 0.32s; }
.sg-special-page .pop-chars span:nth-child(4) { animation-delay: 0.38s; }
.sg-special-page .pop-chars span:nth-child(5) { animation-delay: 0.44s; }
.sg-special-page .pop-chars span:nth-child(6) { animation-delay: 0.50s; }
.sg-special-page .pop-chars span:nth-child(7) { animation-delay: 0.56s; }

/* 「品川の注目取り組み」：黒文字ベース ＋ 白い光のアニメーション ＋ 上下余白 */
.sg-special-page .title-main {
  display: inline-block;
  margin-top: 12px; /* 間隔の拡大 */
  background: linear-gradient(
    120deg,
    #0f172a 0%,
    #0f172a 35%,
    #ffffff 50%,
    #0f172a 65%,
    #0f172a 100%
  );
  background-size: 250% 100%;
  background-position: 150% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleShineSmooth 5s infinite ease-in-out 1.2s;
}

/* ポンポン弾けるキーフレーム */
@keyframes charPop {
  0% { opacity: 0; transform: translateY(20px) scale(0.5); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* 光が文字全体を一気に駆け抜けるキーフレーム */
@keyframes titleShineSmooth {
  0% {
    background-position: 150% 0;
  }
  30% {
    background-position: -50% 0; /* 左から右へ一気に見切れず通過 */
  }
  100% {
    background-position: -50% 0; /* 次の周まで待機 */
  }
}

/* リード文（PCは中央寄せ、スマホは左詰め） */
.sg-special-page .sg-lead {
  font-size: 1.08rem;
  color: #475569;
  max-width: 650px;
  margin: 0 auto 32px;
  line-height: 1.8;
  font-weight: 600;
  text-align: center; /* PC閲覧時：中央寄せ */
}

@media (max-width: 768px) {
  .sg-special-page .sg-lead {
    text-align: left; /* スマホ閲覧時：左詰め */
  }
}

/* ボタン */
.sg-special-page .sg-hero-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #0077cc;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 16px 42px;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(0, 119, 204, 0.15);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 3;
}

.sg-special-page .sg-hero-button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.8);
  z-index: -1;
  animation: sgPulseRing 2.2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes sgPulseRing {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.18, 1.35); opacity: 0; }
  100% { transform: scale(1.18, 1.35); opacity: 0; }
}

.sg-special-page .sg-hero-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 119, 204, 0.22);
  background: #ffffff;
}

.sg-special-page .sg-hero-button .arrow {
  display: inline-block;
  animation: sgBounceArrow 1.2s infinite;
}

@keyframes sgBounceArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ==================================================
   Intro
================================================== */
.sg-special-page .sg-intro {
  background: var(--bg-main);
  padding: 40px 0 20px;
}

.sg-special-page .sg-intro-box {
  background: #fff;
  border: 3px dashed #bae6fd;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 6px 20px rgba(0,136,227,0.05);
}

.sg-special-page .sg-intro h2 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 800;
}

.sg-special-page .sg-intro p {
  font-size: 0.98rem;
  color: #475569;
  margin: 0;
  line-height: 1.85;
  text-align: left;
}

/* ==================================================
   Category Filter
================================================== */
.sg-special-page .sg-category {
  background: var(--bg-main);
  padding: 25px 0 15px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.sg-special-page .sg-filter-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.sg-special-page .sg-category button {
  appearance: none;
  border: 2px solid #cbd5e1;
  background: #fff;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.sg-special-page .sg-category button:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.sg-special-page .sg-category button:active {
  transform: scale(0.95);
}

.sg-special-page .sg-category button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 136, 227, 0.35);
}

/* ==================================================
   Videos & Cards
================================================== */
.sg-special-page .sg-videos {
  background: var(--bg-main);
  padding: 25px 0 70px;
}

.sg-special-page .sg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.sg-special-page .sg-card {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  
  opacity: 0;
  transform: translateY(25px);
}

.sg-special-page .sg-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sg-special-page .sg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}

/* 動画エリア */
.sg-special-page .sg-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.sg-special-page .lazy-youtube {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.sg-special-page .lazy-youtube img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sg-special-page .lazy-youtube:hover img {
  transform: scale(1.05);
}

/* 再生ボタン */
.sg-special-page .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ff0055;
  border: 3px solid #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(255, 0, 85, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  animation: sgPlayPulse 2s infinite;
}

@keyframes sgPlayPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 0, 85, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(255, 0, 85, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 0, 85, 0); }
}

.sg-special-page .play-icon {
  font-size: 22px;
  margin-left: 3px;
}

.sg-special-page .lazy-youtube:hover .play-button {
  transform: translate(-50%, -50%) scale(1.1);
  background: #e6004c;
}

.sg-special-page .lazy-youtube iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* カードコンテンツ */
.sg-special-page .sg-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sg-special-page .sg-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.sg-special-page .sg-tag.community { background: var(--cat-community); }
.sg-special-page .sg-tag.traffic   { background: var(--cat-traffic); }
.sg-special-page .sg-tag.disaster  { background: var(--cat-disaster); }
.sg-special-page .sg-tag.city      { background: var(--cat-city); }

.sg-special-page .sg-content h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 10px;
  line-height: 1.4;
  color: var(--text-main);
}

.sg-special-page .sg-text {
  font-size: 0.92rem;
  color: #64748b;
  margin: 0 0 18px;
  flex: 1;
  line-height: 1.65;
}

.sg-special-page .sg-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 700;
}

.sg-special-page .speaker {
  background: #f1f5f9;
  color: #334155;
  padding: 3px 10px;
  border-radius: 6px;
}
/* ==================================================
   Footer Message
================================================== */
.sg-special-page .sg-message {
  background: var(--bg-main);
  padding: 20px 0 80px;
}

.sg-special-page .sg-message-card {
  background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%);
  border: 2px solid #bae6fd;
  border-radius: 24px;
  padding: 40px 24px;
  text-align: center; /* カード全体（アイコン・タイトル等）は中央寄せ */
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 10px 25px rgba(0, 136, 227, 0.06);
}

.sg-special-page .msg-icon {
  font-size: 2.6rem;
  display: block;
  margin-bottom: 10px;
}

.sg-special-page .nowrap-title {
  font-size: clamp(1.05rem, 4.2vw, 1.5rem);
  white-space: nowrap;
  color: var(--primary-dark);
  margin: 0 0 12px;
  font-weight: 800;
}

.sg-special-page .sg-message p {
  font-size: 0.98rem;
  color: #334155;
  margin: 0;
  line-height: 1.85;
  text-align: left;
}



/* ==================================================
   Filter Animations
================================================== */
.sg-special-page .sg-card.sg-hide {
  display: none !important;
}

.sg-special-page .sg-card.sg-show {
  animation: sgPopFilter 0.35s ease forwards;
}

@keyframes sgPopFilter {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .sg-special-page .sg-hero { padding: 55px 16px 70px; }
  .sg-special-page .sg-hero-title { font-size: 2.1rem; }
  .sg-special-page .sound-wave { display: none; }
  
  .sg-special-page .icon-bus {
    top: auto;
    bottom: 5%;
    left: 4%;
    font-size: 1.5rem;
    opacity: 0.25;
  }
  .sg-special-page .icon-water {
    bottom: 4%;
    right: 4%;
    font-size: 1.5rem;
    opacity: 0.25;
  }
  .sg-special-page .icon-train {
    top: 10%;
    right: 4%;
    font-size: 1.5rem;
  }

  .sg-special-page .sg-grid { grid-template-columns: 1fr; }
}

/* ==================================================
   Video Lightbox Modal
================================================== */
.sg-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* モーダルが開いているとき */
.sg-modal.is-open {
  opacity: 1;
  visibility: visible;
}

/* 暗い背景オーバーレイ */
.sg-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85); /* 深いダークブルー半透明 */
  backdrop-filter: blur(4px);
}

/* モーダルコンテンツ */
.sg-modal-content {
  position: relative;
  width: 100%;
  max-width: 900px; /* PCでの最大幅 */
  z-index: 2;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.sg-modal.is-open .sg-modal-content {
  transform: scale(1);
}

/* 閉じるボタン */
.sg-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  padding: 5px 10px;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.sg-modal-close:hover {
  transform: scale(1.2);
  color: #38bdf8;
}

/* 動画エリア (16:9比率を保持) */
.sg-modal-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.sg-modal-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}


/* モーダルのヘッダーエリア */
.sg-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

/* 音声オンボタン */
.sg-unmute-btn {
  background: #ff0055;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 0, 85, 0.4);
  transition: transform 0.2s ease, background 0.2s ease;
  animation: sgPulse 2s infinite;
}

.sg-unmute-btn:active {
  transform: scale(0.95);
}

.sg-unmute-btn.is-active {
  background: #10b981; /* 音声が出たら緑色に変化 */
  animation: none;
}

@keyframes sgPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

/* モーダル閉じるボタンの位置調整 */
.sg-modal-close {
  position: static; /* ヘッダー内にインライン配置 */
}



/* ==================================================
   動画レポート誘導バナー (ヒーローエリア デザイン完全準拠)
================================================== */
.sg-banner-link {
  display: block;
  text-decoration: none !important;
  margin: 30px auto;
  max-width: 1000px;
  width: 100%;
}

.sg-hero-banner {
  position: relative;
  /* ヒーローエリアと同じ爽やかな明るい背景グラデーション */
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 50%, #e6f2ff 100%);
  border-radius: 20px;
  padding: 30px 36px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 136, 204, 0.12), 0 0 1px rgba(0, 0, 0, 0.08);
  border: 2px solid #e1f0ff;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.sg-banner-link:hover .sg-hero-banner {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px -8px rgba(0, 136, 204, 0.22);
  border-color: #b3d9ff;
}

/* --------------------------------------------------
   背景装飾 (水色三角形 & 黄色キラキラアニメーション)
-------------------------------------------------- */
.sg-banner-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* 水色の三角形 */
.sg-deco-triangle {
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  opacity: 0.6;
}

.sg-tri-1 {
  top: 12px;
  left: 24px;
  border-width: 0 10px 18px 10px;
  border-color: transparent transparent #58b9ff transparent;
  transform: rotate(-15deg);
}

.sg-tri-2 {
  bottom: 16px;
  right: 140px;
  border-width: 0 14px 24px 14px;
  border-color: transparent transparent #68c3ff transparent;
  transform: rotate(25deg);
}

/* 黄色のキラキラ */
.sg-deco-sparkle {
  position: absolute;
  color: #ffcc00;
  font-size: 18px;
  animation: sgSparkle 2.5s infinite ease-in-out;
}

.sg-sp-1 { top: 20px; right: 220px; animation-delay: 0s; }
.sg-sp-2 { bottom: 25px; left: 15px; animation-delay: 1.2s; }

@keyframes sgSparkle {
  0%, 100% { transform: scale(0.8) rotate(0deg); opacity: 0.4; }
  50% { transform: scale(1.2) rotate(15deg); opacity: 1; }
}

/* --------------------------------------------------
   テキスト & レイアウト
-------------------------------------------------- */
.sg-banner-body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.sg-banner-text {
  flex: 1;
}

/* バッジ (黄色枠の柔らかいデザインに調整) */
.sg-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 10px;
  border: 2px solid #ffe680;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.sg-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #ff0055;
  border-radius: 50%;
  box-shadow: 0 0 8px #ff0055;
  animation: sgPulseDot 1.5s infinite;
}

@keyframes sgPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* 英語サブタイトル */
.sg-banner-sub-en {
  font-size: 0.78rem;
  font-weight: 800;
  color: #0088cc;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}

/* メインタイトル (ヒーローエリアの文字色とハイライト) */
.sg-banner-title {
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.3;
  margin: 0 0 8px 0;
  color: #1a2b3c; /* ヒーローエリアのダークカラー */
  letter-spacing: -0.01em;
}

/* 「1分でわかる！」の鮮やかな水色文字 */
.sg-title-highlight {
  color: #0088cc;
  margin-right: 6px;
}

.sg-banner-desc {
  font-size: 0.88rem;
  color: #556677;
  margin: 0;
  line-height: 1.5;
  font-weight: 500;
}

.sg-sp-only {
  display: none;
}

/* --------------------------------------------------
   右側：ボタンエリア（ピンクのワンポイント演出）
-------------------------------------------------- */
.sg-banner-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
}

.sg-play-button {
  width: 60px;
  height: 60px;
  background: #ff0055;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(255, 0, 85, 0.35);
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  animation: sgPulseBtn 2s infinite;
}

@keyframes sgPulseBtn {
  0% { box-shadow: 0 0 0 0 rgba(255, 0, 85, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(255, 0, 85, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 0, 85, 0); }
}

.sg-play-icon {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}

.sg-action-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: #ff0055;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.sg-banner-link:hover .sg-play-button {
  transform: scale(1.1);
  background: #e6004c;
  box-shadow: 0 8px 20px rgba(255, 0, 85, 0.5);
}

/* --------------------------------------------------
   レスポンシブ対応 (スマホ表示)
-------------------------------------------------- */
@media (max-width: 768px) {
  .sg-hero-banner {
    padding: 20px;
  }

  .sg-banner-title {
    font-size: 1.25rem;
  }

  .sg-banner-desc {
    font-size: 0.78rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .sg-sp-only {
    display: inline;
  }

  .sg-play-button {
    width: 48px;
    height: 48px;
  }

  .sg-play-icon {
    width: 20px;
    height: 20px;
  }

  .sg-action-label {
    font-size: 0.72rem;
  }

  /* スマホでは一部の装飾位置を微調整 */
  .sg-tri-2 { right: 80px; }
  .sg-sp-1 { right: 100px; }
}