/* ============================================
   Lead Generation LP - ver0
   接頭辞: lg-
   ============================================ */

/* --- FV --- */
.lg-fv {
  background: linear-gradient(135deg, #0F2B46 0%, #1a3f63 60%, #244d72 100%);
  color: #fff;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
}

.lg-fv-heading {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 1.25rem;
}

.lg-fv-sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 2rem;
}

.lg-fv-cta-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* FV visual - 3 cards representing the pipeline */
.lg-fv-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.lg-fv-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 1.25rem 2rem;
  text-align: center;
  width: 100%;
  max-width: 280px;
  backdrop-filter: blur(4px);
  transition: transform 0.2s, background 0.2s;
}

.lg-fv-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.lg-fv-card-icon {
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.lg-fv-card p {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

@media (max-width: 991.98px) {
  .lg-fv {
    padding: 3rem 0 2.5rem;
    text-align: center;
  }
  .lg-fv-heading {
    font-size: 1.5rem;
  }
  .lg-fv-cta-wrap {
    justify-content: center;
  }
  .lg-fv-visual {
    flex-direction: row;
    justify-content: center;
    margin-top: 2rem;
  }
  .lg-fv-card {
    padding: 1rem;
    max-width: 150px;
  }
  .lg-fv-card-icon {
    font-size: 1.25rem;
  }
  .lg-fv-card p {
    font-size: 0.8rem;
  }
}

/* --- CTA Buttons --- */
.lg-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  border: none;
}

.lg-cta-primary {
  background-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 122, 0, 0.3);
}

.lg-cta-primary:hover {
  background-color: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 122, 0, 0.4);
}

.lg-cta-secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.lg-cta-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
}

.lg-cta-full {
  width: 100%;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* --- Section Common --- */
.lg-section {
  padding: 4.5rem 0;
}

.lg-section-alt {
  background-color: var(--bg-light);
}

.lg-section-title {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.lg-section-subtitle {
  text-align: center;
  color: var(--text-sub);
  margin-bottom: 3rem;
  font-size: 0.95rem;
}

/* --- Challenges --- */
.lg-challenge-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lg-challenge-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s, transform 0.2s;
}

.lg-challenge-list li:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.lg-challenge-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #fef3e7;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-top: 2px;
}

.lg-challenge-list strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.lg-challenge-list p {
  color: var(--text-sub);
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.7;
}

/* --- Value Cards --- */
.lg-value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: box-shadow 0.2s;
}

.lg-value-card:hover {
  box-shadow: var(--shadow);
}

.lg-value-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.lg-value-card-title i {
  color: var(--accent);
  margin-right: 0.35rem;
}

.lg-value-card-desc {
  color: var(--text-sub);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--bg-section);
}

.lg-value-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lg-value-list li {
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--bg-light);
  line-height: 1.7;
}

.lg-value-list li:last-child {
  border-bottom: none;
}

.lg-value-list strong {
  color: var(--primary);
}

/* --- Service Cards --- */
.lg-service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
}

.lg-service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.lg-service-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  color: var(--primary);
}

.lg-service-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.lg-service-card p {
  color: var(--text-sub);
  font-size: 0.875rem;
  margin-bottom: 0;
  line-height: 1.7;
}

/* --- Comparison Table --- */
.lg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.lg-table thead th {
  background-color: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 0.875rem 1rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

.lg-table tbody td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--bg-section);
  vertical-align: top;
  line-height: 1.7;
}

.lg-table tbody tr:last-child td {
  border-bottom: none;
}

.lg-table tbody tr:hover {
  background-color: var(--bg-light);
}

.lg-table tbody td strong {
  color: var(--primary);
}

/* --- Steps --- */
.lg-step {
  text-align: center;
  position: relative;
  padding: 0 0.75rem;
}

.lg-step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.lg-step h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.lg-step p {
  color: var(--text-sub);
  font-size: 0.825rem;
  line-height: 1.7;
}

.lg-step-connector {
  display: none;
}

@media (min-width: 992px) {
  .lg-step-connector {
    display: block;
    position: absolute;
    top: 24px;
    right: -12px;
    font-size: 1.25rem;
    color: var(--border);
  }
}

/* --- Link Cards --- */
.lg-link-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  height: 100%;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.lg-link-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--accent);
}

.lg-link-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.lg-link-card:hover .lg-link-icon {
  color: var(--accent);
}

.lg-link-card h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.lg-link-card p {
  font-size: 0.825rem;
  color: var(--text-sub);
  margin-bottom: 0;
}

/* --- FAQ --- */
.lg-faq .accordion-button {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.95rem;
  background-color: #fff;
}

.lg-faq .accordion-button:not(.collapsed) {
  color: var(--primary);
  background-color: var(--bg-light);
  box-shadow: none;
}

.lg-faq .accordion-button:focus {
  box-shadow: none;
  border-color: var(--border);
}

.lg-faq .accordion-body {
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* --- Final CTA --- */
.lg-section-cta {
  background: linear-gradient(135deg, var(--primary) 0%, #1a3f63 100%);
  color: #fff;
  text-align: center;
  padding: 3.5rem 0 2rem;
}

.lg-cta-heading {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.lg-cta-sub {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* --- Form --- */
.lg-form-section {
  padding: 0 0 4.5rem;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary) 60px, #fff 60px);
}

.lg-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg);
}

.lg-form-title {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.lg-form-subtitle {
  text-align: center;
  color: var(--text-sub);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.lg-form-card .form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
}

.lg-form-card .form-control,
.lg-form-card .form-select {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.625rem 0.875rem;
  font-size: 0.9rem;
}

.lg-form-card .form-control:focus,
.lg-form-card .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 43, 70, 0.1);
}

@media (max-width: 767.98px) {
  .lg-form-card {
    padding: 1.5rem 1.25rem;
  }
}

/* --- スティッキーCTA --- */
.sticky-cta-lg {
  position: fixed;
  right: 24px;
  bottom: 100px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #1a6b3c 0%, #22884d 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.85rem 1.25rem;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(26,107,60,0.4);
  text-decoration: none;
  z-index: 1000;
  transition: background 0.2s, transform 0.2s, opacity 0.3s;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}
.sticky-cta-lg.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.sticky-cta-lg:hover {
  background: linear-gradient(135deg, #15572f 0%, #1d7340 100%);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(26,107,60,0.5);
}
.sticky-cta-lg i {
  font-size: 1.15rem;
}
@media (max-width: 768px) {
  .sticky-cta-lg {
    right: 16px;
    bottom: 80px;
    padding: 0.7rem 1rem;
    font-size: 0.82rem;
  }
  .sticky-cta-lg span {
    display: none;
  }
  .sticky-cta-lg i {
    font-size: 1.4rem;
  }
}
