/* =============================================
   宮原住宅産業 住まいの無料相談会 LP スタイル
   ============================================= */

/* ---------- リセット & ベース ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:   #1a5fa8;
  --primary-dark: #0f4282;
  --primary-light: #3a80cc;
  --accent:    #e74c3c;
  --accent-warm: #f39c12;
  --bg-light:  #f8f9fc;
  --bg-cream:  #fdf8f2;
  --text-dark: #1a1a2e;
  --text-mid:  #444;
  --text-light:#777;
  --white:     #ffffff;
  --shadow:    0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --radius:    16px;
  --radius-lg: 24px;
  --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- HEADER ---------- */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--primary);
  box-shadow: 0 2px 12px rgba(26,95,168,0.10);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
}

.header-company-name {
  display: flex;
  flex-direction: column;
}

.company-name-main {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: 0.05em;
}

.header-cta-btn {
  background: linear-gradient(135deg, var(--accent) 0%, #c0392b 100%);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(231,76,60,0.35);
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(231,76,60,0.45);
}

/* ---------- HERO ---------- */
#hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.hero-slide.active { opacity: 1; }

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 35, 80, 0.80) 0%,
    rgba(26, 95, 168, 0.65) 50%,
    rgba(10, 35, 80, 0.75) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto auto auto;
  gap: 20px;
  align-items: start;
}

.hero-badge {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
}

.badge-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-warm) 100%);
  color: var(--white);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 20px rgba(231,76,60,0.4);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(231,76,60,0.4); }
  50%       { box-shadow: 0 4px 30px rgba(231,76,60,0.7); }
}

.hero-title {
  grid-column: 1;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.4;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.title-icon  { margin-right: 8px; }
.title-accent {
  color: #ffd700;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
}

.hero-subtitle {
  grid-column: 1;
  display: inline-flex;
}

.subtitle-label {
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
  color: var(--white);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.event-info-box {
  grid-column: 1;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 560px;
}

.event-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-icon { font-size: 1.2rem; }
.info-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  font-weight: 600;
  min-width: 56px;
}
.info-value {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
}
.info-value.highlight-free {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  padding: 2px 12px;
  border-radius: 20px;
  font-size: 1rem;
}

/* Hero Mascot */
.hero-mascot {
  grid-column: 2;
  grid-row: 2 / 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  align-self: end;
}

.hero-mascot .mascot-img {
  width: 200px;
  filter: drop-shadow(0 8px 25px rgba(0,0,0,0.35));
  animation: floatMascot 4s ease-in-out infinite;
}

@keyframes floatMascot {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

/* Speech Bubble */
.speech-bubble {
  background: var(--white);
  border-radius: 16px 16px 4px 16px;
  padding: 14px 18px;
  max-width: 230px;
  position: relative;
  box-shadow: var(--shadow);
}
.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -14px;
  right: 24px;
  border: 8px solid transparent;
  border-top-color: var(--white);
}
.speech-bubble p {
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.6;
  font-weight: 600;
}

/* Hero CTA */
.hero-cta {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.cta-btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, #c0392b 100%);
  color: var(--white);
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 30px rgba(231,76,60,0.5);
  transition: var(--transition);
  text-align: center;
}

.cta-btn-main:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(231,76,60,0.6);
}

.pulse-btn {
  animation: ctaPulse 2.5s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(231,76,60,0.5); }
  50%       { box-shadow: 0 8px 50px rgba(231,76,60,0.8); }
}

.cta-note {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 600;
  margin-left: 12px;
}

/* ---------- SECTION COMMON ---------- */
section { padding: 80px 0; }

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.35;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 12px auto 0;
  width: 80px;
}

.section-title.white { color: var(--white); }
.section-title.white::after {
  background: linear-gradient(90deg, #fff, rgba(255,255,255,0.5));
}

.section-subtitle {
  margin-top: 16px;
  color: var(--text-mid);
  font-size: 1rem;
}
.section-subtitle.white { color: rgba(255,255,255,0.85); }

/* ---------- PROBLEM SECTION ---------- */
#problem-section {
  background: var(--bg-cream);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.problem-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary-light);
  transition: var(--transition);
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.problem-icon { font-size: 2rem; flex-shrink: 0; }

.problem-card p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.6;
}

/* ---------- SECTION MASCOT ---------- */
.section-mascot {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-top: 40px;
  justify-content: flex-start;
}
.section-mascot.reverse {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.mascot-img-sm {
  width: 140px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

.speech-bubble-left {
  background: var(--white);
  border: 2px solid var(--primary-light);
  border-radius: 16px 16px 16px 4px;
  padding: 16px 20px;
  position: relative;
  box-shadow: var(--shadow);
  max-width: 400px;
}
.speech-bubble-left::before {
  content: '';
  position: absolute;
  left: -14px;
  bottom: 20px;
  border: 8px solid transparent;
  border-right-color: var(--primary-light);
}

.speech-bubble-right {
  background: var(--white);
  border: 2px solid var(--primary-light);
  border-radius: 16px 16px 4px 16px;
  padding: 16px 20px;
  position: relative;
  box-shadow: var(--shadow);
  max-width: 400px;
}
.speech-bubble-right::after {
  content: '';
  position: absolute;
  right: -14px;
  bottom: 20px;
  border: 8px solid transparent;
  border-left-color: var(--primary-light);
}

.speech-bubble-left p,
.speech-bubble-right p {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.7;
}

/* ---------- TRUST SECTION ---------- */
#trust-section {
  background: var(--primary-dark);
  position: relative;
  overflow: hidden;
}

.trust-bg-overlay {
  position: absolute;
  inset: 0;
  background: url('https://www.genspark.ai/api/files/s/VTaEFm1G') center/cover;
  opacity: 0.12;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
  position: relative;
}

.trust-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}
.trust-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.18);
}

.trust-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: #ffd700;
  line-height: 1;
  margin-bottom: 8px;
  font-family: 'Noto Serif JP', serif;
}
.trust-number span {
  font-size: 1.4rem;
  margin-left: 4px;
}

.trust-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.trust-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

/* Gallery */
.gallery-section { position: relative; }

.gallery-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  text-align: center;
  margin-bottom: 28px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,35,80,0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
}

/* ---------- CONSULTATION SECTION ---------- */
#consultation-section {
  background: var(--bg-light);
}

.consultation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

.consultation-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.consultation-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--white);
}
.card-icon-wrap.blue   { background: linear-gradient(135deg, #1a5fa8, #3a80cc); }
.card-icon-wrap.green  { background: linear-gradient(135deg, #27ae60, #2ecc71); }
.card-icon-wrap.orange { background: linear-gradient(135deg, #e67e22, #f39c12); }
.card-icon-wrap.red    { background: linear-gradient(135deg, #e74c3c, #c0392b); }

.consultation-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.consultation-card ul { display: flex; flex-direction: column; gap: 8px; }

.consultation-card li {
  font-size: 0.9rem;
  color: var(--text-mid);
  padding-left: 18px;
  position: relative;
  line-height: 1.55;
}
.consultation-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

/* ---------- FLOW SECTION ---------- */
#flow-section {
  background: var(--white);
}

.flow-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 50px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.flow-step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 24px 12px;
  background: var(--bg-light);
  border-radius: var(--radius);
  position: relative;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  flex-shrink: 0;
  padding: 0 8px;
  padding-top: 40px;
}

.step-number {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.step-number span { font-size: 1.3rem; }

.step-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.flow-step h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.flow-step p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.65;
}

.step-time {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- OVERVIEW SECTION ---------- */
#overview-section {
  background: var(--bg-cream);
}

.overview-wrap {
  max-width: 780px;
  margin: 0 auto;
}

.overview-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 36px;
}

.overview-table th,
.overview-table td {
  padding: 18px 24px;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
  vertical-align: top;
}

.overview-table th {
  background: var(--bg-light);
  color: var(--primary-dark);
  font-weight: 800;
  white-space: nowrap;
  width: 180px;
}

.overview-table td {
  color: var(--text-mid);
  line-height: 1.7;
}

.overview-table tr:last-child th,
.overview-table tr:last-child td {
  border-bottom: none;
}

.time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.time-slot {
  background: var(--primary);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
}

.slot-note, .address-note {
  font-size: 0.82rem;
  color: var(--text-light);
}

.free-text {
  color: #27ae60;
  font-size: 1.1rem;
  font-weight: 900;
}

/* Remaining Slots */
.remaining-slots {
  background: linear-gradient(135deg, #fff8f0, #fff);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  text-align: center;
}

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

.slots-mascot {
  width: 80px;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.15));
}

.slots-alert {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

.slots-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.6;
  text-align: left;
}

/* ---------- FAQ SECTION ---------- */
#faq-section {
  background: var(--white);
}

.faq-mascot-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.faq-mascot {
  width: 120px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.12));
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1.5px solid #e0e8f0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  text-align: left;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text-dark);
  font-family: 'Noto Sans JP', sans-serif;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--bg-light); }
.faq-question.open   { background: #eef5ff; }

.faq-q-mark, .faq-a-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
}
.faq-q-mark {
  background: var(--primary);
  color: var(--white);
}

.faq-arrow {
  margin-left: auto;
  color: var(--primary);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-question.open .faq-arrow { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 20px 18px 66px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer.open { max-height: 400px; }

.faq-a-mark {
  background: #e8f4e8;
  color: #27ae60;
  margin-top: 2px;
}

.faq-answer p {
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.75;
  padding: 16px 0 4px;
}

/* ---------- VOICE SECTION ---------- */
#voice-section {
  background: var(--bg-light);
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.voice-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
  transition: var(--transition);
}
.voice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.voice-stars {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.voice-text {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 14px;
  font-style: italic;
}

.voice-name {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 700;
  text-align: right;
}

/* ---------- FINAL CTA SECTION ---------- */
#final-cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0d3466 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,215,0,0.08) 0%, transparent 60%),
              radial-gradient(circle at 70% 20%, rgba(231,76,60,0.1) 0%, transparent 50%);
}

.final-cta-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 50px;
  justify-content: center;
  flex-wrap: wrap;
}

.final-mascot {
  width: 220px;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,0.4));
  animation: floatMascot 4s ease-in-out infinite;
}

.final-cta-text {
  max-width: 560px;
}

.final-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  color: var(--white);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 20px;
  animation: badgePulse 2s ease-in-out infinite;
}

.final-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 16px;
}

.final-title .accent {
  color: #ffd700;
}

.final-subtitle {
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.final-event-info {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.final-event-info span {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.25);
}

.cta-btn-final {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: var(--white);
  padding: 20px 48px;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 40px rgba(231,76,60,0.55);
  transition: var(--transition);
  width: 100%;
  max-width: 480px;
  animation: ctaPulse 2.5s ease-in-out infinite;
}
.cta-btn-final:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 50px rgba(231,76,60,0.7);
}

.cta-subnote {
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  text-align: center;
  margin-top: 12px;
}

/* ---------- FOOTER ---------- */
#site-footer {
  background: #0d1b2e;
  padding: 40px 20px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  padding: 6px;
}

.footer-company {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.1em;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ---------- FLOATING CTA ---------- */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  transition: var(--transition);
}

.floating-cta.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.floating-cta-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, #c0392b 100%);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 6px 25px rgba(231,76,60,0.5);
  transition: var(--transition);
  animation: ctaPulse 2.5s ease-in-out infinite;
}
.floating-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(231,76,60,0.65);
}

/* ---------- IMAGE FALLBACK ---------- */
img[src] {
  background: #e0e8f5;
}

.gallery-item img {
  background: linear-gradient(135deg, #c5d8f0, #e0e8f5);
}

/* ---------- HELPERS ---------- */
.sp-only { display: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .flow-steps {
    flex-direction: column;
    align-items: stretch;
  }
  .flow-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
    text-align: center;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-mascot {
    grid-column: 1;
    grid-row: auto;
    flex-direction: row;
    justify-content: center;
  }

  .final-cta-content {
    flex-direction: column;
    text-align: center;
  }

  .final-event-info {
    justify-content: center;
  }

  .cta-btn-final {
    max-width: 100%;
  }
}

@media (max-width: 680px) {
  section { padding: 56px 0; }

  .hero-content {
    padding: 40px 16px;
    gap: 16px;
  }

  .event-info-box {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-cta { align-items: center; }
  .cta-btn-main { width: 100%; max-width: 400px; font-size: 1rem; padding: 16px 24px; }

  .hero-mascot .mascot-img { width: 140px; }

  .sp-only { display: block; }

  .overview-table th,
  .overview-table td { padding: 14px 16px; }
  .overview-table th { width: 120px; }

  .section-mascot {
    flex-direction: column;
    align-items: center;
  }
  .section-mascot.reverse {
    flex-direction: column;
  }

  .speech-bubble-left::before,
  .speech-bubble-right::after { display: none; }

  .logo-img { width: 48px; height: 48px; }
  .company-name-main { font-size: 0.85rem; }
  .header-cta-btn { font-size: 0.78rem; padding: 8px 14px; }

  .faq-answer { padding-left: 20px; }

  .final-mascot { width: 160px; }
}
