/* =====================================================
   Variables
===================================================== */
:root {
  --color-accent: #2563EB;
  --color-accent-dark: #1D4ED8;
  --color-accent-light: #EFF6FF;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-bg: #ffffff;
  --color-bg-gray: #f8fafc;
  --color-border: #e2e8f0;
  --font-base: 'Noto Sans JP', sans-serif;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* =====================================================
   Reset & Base
===================================================== */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }

/* =====================================================
   Layout
===================================================== */
.lp-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.lp-section {
  padding: 4rem 0;
}

.lp-section--gray {
  background: var(--color-bg-gray);
}

.lp-section-title {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.lp-section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

/* =====================================================
   Header
===================================================== */
.lp-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.lp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-logo a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
}

.lp-logo span {
  color: var(--color-accent);
}

.lp-logo img {
  height: 40px;
  width: auto;
}

.lp-header-cta {
  background: var(--color-accent);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 700;
  transition: background 0.2s;
}

.lp-header-cta:hover {
  background: var(--color-accent-dark);
}

/* =====================================================
   Hero
===================================================== */
.lp-hero {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  padding: 5rem 0 4rem;
  text-align: center;
}

.lp-hero-eyebrow {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.lp-hero-title {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.lp-hero-sub {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.lp-btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff !important;
  padding: 0.9rem 2.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}

.lp-btn:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
}

.lp-btn--line {
  background: #06c755;
  box-shadow: 0 4px 16px rgba(6,199,85,0.3);
}

.lp-btn--line:hover {
  background: #05a847;
}

.lp-hero-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* =====================================================
   Problems
===================================================== */
.lp-problems-list {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
}

.lp-problem-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 4px solid #e74c3c;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  box-shadow: var(--shadow);
}

.lp-problem-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.lp-problem-text {
  font-size: 1rem;
  font-weight: 500;
}

.lp-problem-text small {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-weight: 400;
  margin-top: 0.25rem;
}

/* =====================================================
   Services
===================================================== */
.lp-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.lp-service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.lp-service-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.lp-service-card-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.lp-service-card-text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* =====================================================
   Before / After
===================================================== */
.lp-ba-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
}

.lp-ba-box {
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.lp-ba-box--before {
  background: #f1f5f9;
  border: 1px solid var(--color-border);
}

.lp-ba-box--after {
  background: var(--color-accent-light);
  border: 1px solid #BFDBFE;
}

.lp-ba-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.lp-ba-label--before { color: #94a3b8; }
.lp-ba-label--after { color: var(--color-accent); }

.lp-ba-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.lp-ba-list {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  list-style: none;
  padding: 0;
}

.lp-ba-list li::before {
  content: '・';
}

.lp-ba-arrow {
  font-size: 2rem;
  color: var(--color-accent);
  text-align: center;
}

.lp-ba-note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  background: #fff;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
}

/* =====================================================
   Pricing
===================================================== */
.lp-pricing-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.lp-pricing-table th {
  background: var(--color-accent);
  color: #fff;
  padding: 0.9rem 1.25rem;
  text-align: left;
  font-size: 0.875rem;
}

.lp-pricing-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  font-size: 0.9375rem;
}

.lp-pricing-table tr:last-child td { border-bottom: none; }
.lp-pricing-table tr:nth-child(even) td { background: var(--color-bg-gray); }

.lp-price-amount {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-accent);
}

.lp-pricing-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* =====================================================
   FAQ
===================================================== */
.lp-faq-list {
  display: grid;
  gap: 0.75rem;
}

.lp-faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.lp-faq-q {
  background: #fff;
  padding: 1.1rem 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
}

.lp-faq-q-mark {
  color: var(--color-accent);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.lp-faq-a {
  background: var(--color-bg-gray);
  padding: 1rem 1.5rem 1rem 3rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
}

/* =====================================================
   CTA Section
===================================================== */
.lp-cta-section {
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.lp-cta-section .lp-section-title {
  color: #fff;
}

.lp-cta-section .lp-section-subtitle {
  color: rgba(255,255,255,0.8);
}

.lp-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

/* Contact Form 7 */
.lp-form-wrap {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 600px;
  margin: 2rem auto 0;
  box-shadow: var(--shadow);
}

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

.wpcf7-form p { margin-bottom: 1rem; }

.wpcf7-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-base);
  font-size: 0.95rem;
  color: var(--color-text);
  transition: border-color 0.2s;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.wpcf7-form textarea { height: 120px; resize: vertical; }

.wpcf7-form input[type="submit"] {
  width: 100%;
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: 0.9rem;
  border-radius: var(--radius);
  font-family: var(--font-base);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.wpcf7-form input[type="submit"]:hover {
  background: var(--color-accent-dark);
}

/* =====================================================
   Footer
===================================================== */
.lp-footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 1.75rem 1rem;
  font-size: 0.8rem;
}

.lp-footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
}

/* =====================================================
   Responsive
===================================================== */
@media (max-width: 640px) {
  .lp-section { padding: 3rem 0; }
  .lp-hero { padding: 3.5rem 0 3rem; }

  .lp-ba-grid {
    grid-template-columns: 1fr;
  }

  .lp-ba-arrow { transform: rotate(90deg); }

  .lp-pricing-table th:nth-child(2),
  .lp-pricing-table td:nth-child(2) { display: none; }

  .lp-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}
