/* ==========================================================================
   KMSP SEO Landing Pages — Style / Prefecture / Combo / Beginner / Best
   Programmatic SEO page styles — v8.4.0
   ========================================================================== */

/* ---------- Landing Container ---------- */
.kmsp-landing {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--kmsp-space-md, 1rem);
  color: var(--kmsp-text, #e8e8e8);
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.8;
  font-size: 18px;
}

/* ---------- Breadcrumb ---------- */
.kmsp-lp-breadcrumb {
  font-size: 0.82rem;
  color: #718096;
  margin-bottom: 1rem;
}
.kmsp-lp-breadcrumb a {
  color: #718096;
  text-decoration: none;
  transition: color 0.2s;
}
.kmsp-lp-breadcrumb a:hover {
  color: var(--kmsp-accent, #ff5252);
}
.kmsp-lp-breadcrumb .sep {
  margin: 0 0.4rem;
  opacity: 0.5;
}

/* ---------- Hero ---------- */
.kmsp-lp-hero {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-radius: 16px;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}
.kmsp-lp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(183, 28, 28, 0.08), transparent 50%);
  pointer-events: none;
}
.kmsp-lp-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.6rem;
  line-height: 1.3;
  position: relative;
}
.kmsp-lp-hero .lp-subtitle {
  font-size: 1rem;
  color: #a0aec0;
  margin: 0 0 1.2rem;
}
.kmsp-lp-hero .lp-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #718096;
}
.kmsp-lp-hero .lp-stats span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ---------- Section ---------- */
.kmsp-lp-section {
  margin-bottom: 2.5rem;
}
.kmsp-lp-section > h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--kmsp-accent, #ff5252);
}
.kmsp-lp-section > h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 1.5rem 0 0.7rem;
}
.kmsp-lp-section p {
  color: var(--kmsp-text, #e8e8e8);
  margin: 0 0 1rem;
}

/* ---------- Gym Grid ---------- */
.kmsp-lp-gym-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.kmsp-lp-gym-card {
  background: var(--kmsp-bg-card, #16213e);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.2rem;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  position: relative;
}
.kmsp-lp-gym-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 82, 82, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.kmsp-lp-gym-rank {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--kmsp-accent, #ff5252);
  background: rgba(183, 28, 28, 0.15);
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
}
.kmsp-lp-gym-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  padding-right: 3rem;
}
.kmsp-lp-gym-name a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.kmsp-lp-gym-name a:hover {
  color: var(--kmsp-accent, #ff5252);
}
.kmsp-lp-gym-meta {
  font-size: 0.82rem;
  color: #718096;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.kmsp-lp-gym-stars {
  color: var(--kmsp-gold, #ffc107);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}
.kmsp-lp-gym-features {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}
.kmsp-lp-gym-tag {
  font-size: 0.82rem;
  padding: 0.15rem 0.45rem;
  border-radius: 12px;
  background: rgba(255, 82, 82, 0.1);
  color: var(--kmsp-accent, #ff5252);
}
.kmsp-lp-gym-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.kmsp-lp-gym-btn {
  font-size: 0.88rem;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}
.kmsp-lp-gym-btn-primary {
  background: var(--kmsp-accent, #ff5252);
  color: #fff;
}
.kmsp-lp-gym-btn-primary:hover {
  background: #e53e3e;
  color: #fff;
}
.kmsp-lp-gym-btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--kmsp-text, #e8e8e8);
}
.kmsp-lp-gym-btn-outline:hover {
  border-color: var(--kmsp-accent, #ff5252);
  color: var(--kmsp-accent, #ff5252);
}

/* ---------- Map Embed Section ---------- */
.kmsp-lp-map-wrap {
  margin: 1.5rem 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---------- Info Box / Tip ---------- */
.kmsp-lp-tip {
  background: rgba(183, 28, 28, 0.08);
  border-left: 4px solid var(--kmsp-accent, #ff5252);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.3rem;
  margin: 1.5rem 0;
}
.kmsp-lp-tip-title {
  font-weight: 700;
  color: var(--kmsp-accent, #ff5252);
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}
.kmsp-lp-tip p {
  margin: 0;
  font-size: 0.9rem;
}

/* ---------- Stats Row ---------- */
.kmsp-lp-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.8rem;
  margin: 1.5rem 0;
}
.kmsp-lp-stat {
  text-align: center;
  background: var(--kmsp-bg-card, #16213e);
  border-radius: 10px;
  padding: 1rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.kmsp-lp-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--kmsp-accent, #ff5252);
  display: block;
}
.kmsp-lp-stat-label {
  font-size: 0.88rem;
  color: #718096;
}

/* ---------- FAQ ---------- */
.kmsp-lp-faq-item {
  background: var(--kmsp-bg-card, #16213e);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  overflow: hidden;
  transition: border-color 0.2s;
}
.kmsp-lp-faq-item.open {
  border-color: rgba(255, 82, 82, 0.25);
}
.kmsp-lp-faq-q {
  padding: 0.9rem 1.2rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}
.kmsp-lp-faq-q:hover {
  background: rgba(255, 82, 82, 0.04);
}
.kmsp-lp-faq-q::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--kmsp-accent, #ff5252);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.kmsp-lp-faq-item.open .kmsp-lp-faq-q::after {
  content: '−';
}
.kmsp-lp-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.kmsp-lp-faq-item.open .kmsp-lp-faq-a {
  max-height: 400px;
  padding: 0 1.2rem 1rem;
}
.kmsp-lp-faq-a p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--kmsp-text-muted, #a0a0a0);
  line-height: 1.75;
}

/* ---------- Internal Links Grid ---------- */
.kmsp-lp-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.6rem;
  margin: 1.5rem 0;
}
.kmsp-lp-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--kmsp-bg-card, #16213e);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  text-decoration: none;
  color: var(--kmsp-text, #e8e8e8);
  font-size: 0.88rem;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}
.kmsp-lp-link:hover {
  border-color: rgba(255, 82, 82, 0.3);
  background: var(--kmsp-bg-card-hover, #1a2744);
  color: #fff;
}

/* ---------- CTA ---------- */
.kmsp-lp-cta {
  text-align: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, rgba(183, 28, 28, 0.12), rgba(255, 82, 82, 0.08));
  border: 1px solid rgba(255, 82, 82, 0.2);
  border-radius: 16px;
  margin: 2rem 0;
}
.kmsp-lp-cta h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.5rem;
}
.kmsp-lp-cta p {
  color: #a0aec0;
  margin: 0 0 1.2rem;
  font-size: 0.9rem;
}
.kmsp-lp-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, #b71c1c, #e53e3e);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.kmsp-lp-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(183, 28, 28, 0.4);
  color: #fff;
}

/* ---------- Related Section ---------- */
.kmsp-lp-related {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.8rem;
  margin: 1rem 0;
}
.kmsp-lp-related-card {
  background: var(--kmsp-bg-card, #16213e);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  transition: border-color 0.2s;
}
.kmsp-lp-related-card:hover {
  border-color: rgba(255, 82, 82, 0.2);
}
.kmsp-lp-related-card h4 {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
}
.kmsp-lp-related-card h4 a {
  color: #fff;
  text-decoration: none;
}
.kmsp-lp-related-card h4 a:hover {
  color: var(--kmsp-accent, #ff5252);
}
.kmsp-lp-related-card .meta {
  font-size: 0.88rem;
  color: #718096;
}

/* ---------- Footer ---------- */
.kmsp-lp-footer {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 2rem;
  text-align: center;
  font-size: 0.82rem;
  color: #718096;
}

/* =============== RESPONSIVE =============== */
@media (max-width: 768px) {
  .kmsp-lp-hero {
    padding: 1.8rem 1rem;
  }
  .kmsp-lp-hero h1 {
    font-size: 1.5rem;
  }
  .kmsp-lp-gym-grid {
    grid-template-columns: 1fr;
  }
  .kmsp-lp-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .kmsp-lp-links {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .kmsp-landing {
    font-size: 17px;
  }
  .kmsp-lp-hero h1 {
    font-size: 1.25rem;
  }
  .kmsp-lp-stats-row {
    grid-template-columns: 1fr 1fr;
  }
}
