/* --- PleasureMapPrice: Landing Page (LP) Stylesheet --- */

#lpContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: radial-gradient(circle at 15% 20%, #1e293b 0%, #0f172a 60%, #020617 100%);
  color: #f8fafc;
  z-index: 9000;
  display: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
  scroll-behavior: smooth;
}
#lpContainer.active {
  display: block;
}

/* LP Header Nav */
.lp-navbar {
  position: sticky;
  top: 0;
  z-index: 9200;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  text-decoration: none;
}
.lp-logo-badge {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: white;
}
.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lp-nav-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.15s;
}
.lp-nav-link:hover {
  color: #ffffff;
}

/* Buttons */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s ease;
  user-select: none;
}
.lp-btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35);
}
.lp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}
.lp-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.lp-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}
.lp-btn-accent {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0f172a;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}
.lp-btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.5);
}

/* Hero Section */
.lp-hero-section {
  position: relative;
  padding: 70px 20px 40px;
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
}
.lp-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #60a5fa;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}
.lp-hero-title {
  font-size: clamp(32px, 5.5vw, 56px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -1.2px;
  margin: 0 0 20px;
  background: linear-gradient(135deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lp-hero-title span {
  background: linear-gradient(135deg, #60a5fa 20%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lp-hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: #94a3b8;
  line-height: 1.7;
  max-width: 820px;
  margin: 0 auto 36px;
}
.lp-hero-cta-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* ==========================================================================
 * Interactive Leaflet Live Sandbox (実画面プレビュー)
 * ========================================================================== */
.lp-sandbox-wrapper {
  max-width: 1200px;
  margin: 0 auto 80px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(59, 130, 246, 0.2);
  background: #0f172a;
  position: relative;
}

.lp-sandbox-topbar {
  background: #1e293b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.lp-sandbox-title-area {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lp-sandbox-dots {
  display: flex;
  gap: 6px;
}
.lp-sandbox-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.lp-sandbox-dot.red { background: #ef4444; }
.lp-sandbox-dot.yellow { background: #f59e0b; }
.lp-sandbox-dot.green { background: #10b981; }

.lp-sandbox-pill {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.lp-sandbox-pill-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 6px #10b981;
  animation: pulseGreen 1.5s infinite;
}
@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.lp-sandbox-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.lp-ring-btn {
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.lp-ring-btn:hover, .lp-ring-btn.active {
  background: #3b82f6;
  border-color: #60a5fa;
  color: white;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.lp-city-btn {
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 11px;
  cursor: pointer;
}
.lp-city-btn.active {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-weight: 700;
}

/* Sandbox Map & Dashboard Container */
.lp-sandbox-body {
  position: relative;
  height: 520px;
  display: flex;
}

#lpDemoMap {
  width: 100%;
  height: 100%;
  background: #0f172a;
}

/* Floating Interactive Store Analysis Card */
.lp-store-card {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 320px;
  border-radius: 16px;
  padding: 16px;
  z-index: 1000;
  color: #f8fafc;
  pointer-events: auto;
  animation: slideInRight 0.3s ease-out;
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.lp-store-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}
.lp-store-name {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}
.lp-tier-badge {
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.tier-S1 { background: #ec4899; color: white; }
.tier-S2 { background: #f43f5e; color: white; }
.tier-A  { background: #eab308; color: #1e293b; }
.tier-B  { background: #3b82f6; color: white; }
.tier-C  { background: #64748b; color: white; }

.lp-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.lp-stat-box {
  background: rgba(255, 255, 255, 0.06);
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.lp-stat-label {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 4px;
}
.lp-stat-val {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}
.lp-stat-sub {
  font-size: 10px;
  font-weight: 600;
}
.stat-up { color: #34d399; }
.stat-down { color: #f87171; }

.lp-feature-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.lp-feature-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Interactive Ranking Mini Table */
.lp-ranking-mini {
  position: absolute;
  bottom: 16px;
  left: 16px;
  width: 290px;
  max-height: 190px;
  border-radius: 14px;
  padding: 12px;
  z-index: 1000;
  overflow-y: auto;
}
.lp-ranking-title {
  font-size: 12px;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.lp-ranking-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 11px;
  cursor: pointer;
  transition: background 0.15s;
}
.lp-ranking-row:hover {
  background: rgba(255, 255, 255, 0.1);
}
.lp-rank-num {
  font-weight: 800;
  color: #f59e0b;
  width: 18px;
}

/* Feature Cards Grid */
.lp-features-section {
  padding: 40px 20px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.lp-section-header {
  text-align: center;
  margin-bottom: 48px;
}
.lp-section-title {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px;
}
.lp-section-subtitle {
  color: #94a3b8;
  font-size: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.lp-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.lp-feature-card {
  padding: 24px;
  border-radius: 18px;
  transition: all 0.25s ease;
}
.lp-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}
.lp-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.lp-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 8px;
}
.lp-card-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
 * Pricing Simulator & Inquiry Form
 * ========================================================================== */
.lp-pricing-section {
  padding: 40px 20px 80px;
  max-width: 1080px;
  margin: 0 auto;
}
.lp-pricing-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
@media (max-width: 860px) {
  .lp-pricing-container {
    grid-template-columns: 1fr;
  }
}

.lp-sim-card {
  padding: 32px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
}
.lp-sim-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
  margin-bottom: 24px;
}
.lp-sim-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px;
}
.lp-sim-subtitle {
  font-size: 13px;
  color: #94a3b8;
}

.lp-sim-control-group {
  margin-bottom: 24px;
}
.lp-sim-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.lp-sim-label {
  font-size: 14px;
  font-weight: 700;
  color: #e2e8f0;
}
.lp-sim-val-display {
  font-size: 18px;
  font-weight: 800;
  color: #60a5fa;
}

.lp-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 8px;
  border-radius: 4px;
  background: #334155;
  outline: none;
  cursor: pointer;
}
.lp-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #3b82f6;
  border: 2px solid white;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.lp-free-tag {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.lp-calc-result-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 20px;
  margin-top: auto;
}
.lp-result-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 8px;
}
.lp-result-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 10px;
}
.lp-total-label {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}
.lp-total-price {
  font-size: 32px;
  font-weight: 900;
  color: #f59e0b;
}

/* Inquiry Form */
.lp-form-card {
  padding: 32px;
  border-radius: 20px;
}
.lp-form-header {
  margin-bottom: 20px;
}
.lp-form-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px;
}
.lp-form-subtitle {
  font-size: 13px;
  color: #94a3b8;
}

.lp-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.lp-form-col-2 {
  grid-column: span 2;
}

.lp-form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 5px;
}
.lp-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 13px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.15s;
}
.lp-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}
.lp-textarea {
  min-height: 75px;
  resize: vertical;
}

.lp-bank-notice {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
  border-left: 3px solid #f59e0b;
}

/* LP Footer */
.lp-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px 20px;
  text-align: center;
  font-size: 12px;
  color: #64748b;
}

/* ==========================================================================
 * Real Application Screenshot Showcase Gallery & Lightbox
 * ========================================================================== */
.lp-gallery-section {
  max-width: 1200px;
  margin: 40px auto 30px;
  padding: 0 20px;
}

.lp-gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: center;
}

.lp-gallery-tab-btn {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  padding: 10px 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  backdrop-filter: blur(12px);
}

.lp-gallery-tab-btn:hover {
  background: rgba(51, 65, 85, 0.8);
  color: #f1f5f9;
  border-color: rgba(99, 102, 241, 0.4);
}

.lp-gallery-tab-btn.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(6, 182, 212, 0.25));
  border-color: #818cf8;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.35);
}

.lp-gallery-viewport {
  position: relative;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 40px rgba(99, 102, 241, 0.15);
}

.lp-gallery-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  overflow: hidden;
}

.lp-gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lp-gallery-img-wrap:hover img {
  transform: scale(1.02);
}

.lp-gallery-zoom-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8fafc;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.lp-gallery-caption {
  padding: 16px 24px;
  background: rgba(15, 23, 42, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.lp-gallery-caption-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.lp-gallery-caption-desc {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.4;
}

/* Lightbox Modal */
.lp-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}

.lp-lightbox-overlay.active {
  display: flex;
  animation: fadeIn 0.2s ease-out;
}

.lp-lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lp-lightbox-content img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(99, 102, 241, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lp-lightbox-caption {
  margin-top: 14px;
  color: #f1f5f9;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.lp-lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s;
}

.lp-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}
