/* ===========================
   LP: AI活用型受託開発サービス
   Base: inherits from ../../style.css
   =========================== */

/* LP Header */
.lp-header {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.lp-nav {
    max-width: 1100px; margin: 0 auto; padding: 12px 24px;
    display: flex; justify-content: space-between; align-items: center;
}
.lp-logo-img { height: 36px; width: auto; }
.lp-header-cta {
    display: inline-block; padding: 8px 24px;
    background: #2490F3; color: white; text-decoration: none;
    border-radius: 6px; font-size: 0.9rem; font-weight: 500;
    transition: background 0.3s ease;
}
.lp-header-cta:hover { background: #1a75c9; }

/* Container & Section */
.lp-container { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.lp-section { padding: 80px 0; }
.lp-section-title {
    font-size: 1.8rem; font-weight: 700; color: #2c3e50;
    text-align: center; margin-bottom: 48px; line-height: 1.5;
}

/* ===========================
   Hero
   =========================== */
.lp-hero {
    min-height: 90vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 40%, #2c5364 100%);
    color: white; text-align: center; padding: 100px 24px 80px;
}
.lp-hero-label {
    display: inline-block; padding: 6px 24px;
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px; font-size: 0.9rem; font-weight: 500;
    letter-spacing: 0.08em; margin-bottom: 24px;
}
.lp-hero-title {
    font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 700;
    line-height: 1.5; margin-bottom: 24px;
}
.lp-hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.15rem); font-weight: 300;
    opacity: 0.9; line-height: 2; margin-bottom: 32px;
}
.lp-hero-points {
    display: flex; justify-content: center; gap: 16px;
    flex-wrap: wrap; margin-bottom: 40px;
}
.lp-hero-point {
    padding: 8px 20px; background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25); border-radius: 50px;
    font-size: 0.9rem; font-weight: 600;
}

/* CTA Button */
.lp-cta-button {
    display: inline-block; padding: 16px 40px;
    background: #e67e22; color: white; text-decoration: none;
    border: none; border-radius: 8px; font-size: 1.1rem; font-weight: 700;
    cursor: pointer; transition: background 0.3s ease, transform 0.2s ease;
    font-family: inherit;
}
.lp-cta-button:hover { background: #d35400; transform: translateY(-2px); }
.lp-cta-wrap { text-align: center; margin-top: 48px; }

/* ===========================
   Problems
   =========================== */
.lp-problems { background: #f8f9fa; }
.lp-problems-list {
    max-width: 800px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 24px;
}
.lp-problem-item {
    display: flex; align-items: flex-start; gap: 20px;
    background: white; padding: 28px 24px; border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.lp-problem-icon {
    flex-shrink: 0; width: 44px; height: 44px; color: #e74c3c; opacity: 0.8;
}
.lp-problem-icon svg { width: 100%; height: 100%; }
.lp-problem-text h3 { font-size: 1.05rem; font-weight: 600; color: #2c3e50; margin-bottom: 6px; }
.lp-problem-text p { font-size: 0.9rem; color: #666; line-height: 1.7; }

/* ===========================
   Solution
   =========================== */
.lp-solution { background: white; }
.lp-solution-lead {
    text-align: center; font-size: 1.05rem; color: #444; line-height: 2;
    margin-bottom: 48px; max-width: 700px; margin-left: auto; margin-right: auto;
}
.lp-solution-points {
    max-width: 700px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 28px;
}
.lp-solution-point { display: flex; align-items: flex-start; gap: 20px; }
.lp-solution-number {
    flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; background: #2490F3; color: white;
    border-radius: 50%;
}
.lp-solution-number svg { width: 24px; height: 24px; }
.lp-solution-point h3 { font-size: 1.05rem; font-weight: 600; color: #2c3e50; margin-bottom: 4px; }
.lp-solution-point p { font-size: 0.9rem; color: #666; line-height: 1.7; }

/* ===========================
   Comparison
   =========================== */
.lp-comparison { background: #f8f9fa; }
.lp-comparison-table-wrap { max-width: 750px; margin: 0 auto; overflow-x: auto; }
.lp-comparison-table {
    width: 100%; border-collapse: collapse; background: white;
    border-radius: 12px; overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.lp-comparison-table th, .lp-comparison-table td {
    padding: 18px 20px; text-align: center; border-bottom: 1px solid #eee;
}
.lp-comparison-table thead th {
    background: #2c3e50; color: white; font-weight: 600; font-size: 0.95rem;
}
.lp-comparison-table thead th:first-child { background: #34495e; }
.lp-comp-label {
    font-weight: 600; color: #2c3e50; text-align: left; background: #f8f9fa;
}
.lp-comp-old { color: #999; }
.lp-comp-new { color: #2490F3; }
.lp-comp-note { font-size: 0.8rem; color: #27ae60; font-weight: 500; }
.lp-comparison-example {
    text-align: center; margin-top: 32px; font-size: 1rem; color: #444;
}
.lp-price-old { text-decoration: line-through; color: #999; }
.lp-price-new { font-weight: 700; color: #2490F3; font-size: 1.15rem; }

/* ===========================
   Services
   =========================== */
.lp-services { background: white; }
.lp-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 24px;
}
.lp-service-card {
    background: #f8f9fa; border-radius: 12px; padding: 32px 24px;
    text-align: center; border: 2px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.lp-service-card:hover { transform: translateY(-4px); border-color: #2490F3; }
.lp-service-icon { width: 48px; height: 48px; margin: 0 auto 16px; color: #2490F3; }
.lp-service-icon svg { width: 100%; height: 100%; }
.lp-service-card h3 { font-size: 1.1rem; font-weight: 600; color: #2c3e50; margin-bottom: 8px; }
.lp-service-price { font-size: 1.3rem; color: #2490F3; margin-bottom: 16px; }
.lp-service-list { list-style: none; padding: 0; text-align: left; }
.lp-service-list li {
    padding: 8px 0; border-bottom: 1px solid #eee; font-size: 0.9rem; color: #555;
    padding-left: 24px; position: relative;
}
.lp-service-list li::before {
    content: ''; position: absolute; left: 0; top: 12px;
    width: 14px; height: 14px; background: #2490F3; border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 10px; background-repeat: no-repeat; background-position: center;
}
.lp-services-note { text-align: center; color: #999; font-size: 0.85rem; margin-top: 24px; }

/* ===========================
   Results
   =========================== */
.lp-results { background: #f8f9fa; }
.lp-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 24px;
}
.lp-result-card {
    background: white; border-radius: 12px; padding: 32px 24px;
    text-align: center; box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
.lp-result-badge {
    display: inline-block; padding: 4px 12px; background: #2c3e50; color: white;
    border-radius: 4px; font-size: 0.8rem; font-weight: 500; margin-bottom: 12px;
}
.lp-result-card h3 { font-size: 1.05rem; font-weight: 600; color: #2c3e50; margin-bottom: 20px; }
.lp-result-comparison {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    margin-bottom: 16px;
}
.lp-result-before, .lp-result-after { text-align: center; }
.lp-result-label { display: block; font-size: 0.75rem; color: #999; margin-bottom: 4px; }
.lp-result-value { display: block; font-size: 1.4rem; font-weight: 700; }
.lp-result-old { color: #999; text-decoration: line-through; }
.lp-result-new { color: #2490F3; }
.lp-result-sub { display: block; font-size: 0.78rem; color: #999; margin-top: 2px; }
.lp-result-arrow { font-size: 1.5rem; color: #ccc; font-weight: 700; }
.lp-result-savings {
    display: inline-block; padding: 4px 16px;
    background: #27ae60; color: white; border-radius: 50px;
    font-size: 0.85rem; font-weight: 600;
}

/* ===========================
   Message
   =========================== */
.lp-message { background: white; }
.lp-message-content {
    display: flex; align-items: center; gap: 48px;
    max-width: 800px; margin: 0 auto;
}
.lp-message-photo { flex-shrink: 0; }
.lp-message-img {
    width: 160px; height: 160px; border-radius: 50%;
    object-fit: cover; background: #ddd;
}
.lp-message-text h2 { font-size: 1.4rem; font-weight: 600; color: #2c3e50; margin-bottom: 12px; }
.lp-message-name { font-size: 0.95rem; color: #666; margin-bottom: 20px; line-height: 1.6; }
.lp-message-name strong { font-size: 1.15rem; color: #2c3e50; }
.lp-message-text p { font-size: 0.95rem; color: #555; line-height: 1.9; margin-bottom: 12px; }

/* ===========================
   Flow
   =========================== */
.lp-flow { background: #f8f9fa; }
.lp-flow-steps {
    display: flex; align-items: flex-start; justify-content: center;
    gap: 8px; flex-wrap: wrap;
}
.lp-flow-step {
    flex: 1; min-width: 180px; max-width: 220px; text-align: center;
    padding: 24px 16px; background: white; border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.lp-flow-number {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; background: #2490F3; color: white;
    border-radius: 50%; font-size: 1.2rem; font-weight: 700; margin-bottom: 12px;
}
.lp-flow-step h3 { font-size: 1rem; font-weight: 600; color: #2c3e50; margin-bottom: 8px; }
.lp-flow-step p { font-size: 0.85rem; color: #666; line-height: 1.7; }
.lp-flow-arrow {
    display: flex; align-items: center; padding-top: 36px;
    color: #bbb; width: 24px; flex-shrink: 0;
}
.lp-flow-arrow svg { width: 24px; height: 24px; }

/* ===========================
   FAQ
   =========================== */
.lp-faq { background: white; }
.lp-faq-list { max-width: 750px; margin: 0 auto; }
.lp-faq-item { border-bottom: 1px solid #eee; }
.lp-faq-question {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; padding: 20px 0; background: none; border: none;
    cursor: pointer; font-size: 1rem; font-weight: 500; color: #2c3e50;
    text-align: left; font-family: inherit; gap: 16px;
}
.lp-faq-question:hover { color: #2490F3; }
.lp-faq-icon {
    width: 20px; height: 20px; flex-shrink: 0;
    transition: transform 0.3s ease; color: #999;
}
.lp-faq-item.is-open .lp-faq-icon { transform: rotate(180deg); }
.lp-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.lp-faq-item.is-open .lp-faq-answer { max-height: 300px; padding-bottom: 20px; }
.lp-faq-answer p { font-size: 0.95rem; color: #666; line-height: 1.8; }

/* ===========================
   Contact Form
   =========================== */
.lp-contact { background: #2c3e50; color: white; }
.lp-contact .lp-section-title { color: white; }
.lp-contact-lead {
    text-align: center; color: rgba(255,255,255,0.8);
    margin-bottom: 40px; font-size: 1rem; line-height: 1.8;
}
.lp-form-wrapper { max-width: 600px; margin: 0 auto; }
.lp-form { display: flex; flex-direction: column; gap: 20px; }
.lp-form-group { display: flex; flex-direction: column; gap: 6px; }
.lp-form-label { font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.9); }
.lp-required { font-size: 0.75rem; color: #e67e22; margin-left: 4px; }
.lp-form-input {
    padding: 12px 16px; border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px; background: rgba(255,255,255,0.08);
    color: white; font-size: 1rem; font-family: inherit;
    transition: border-color 0.3s ease;
}
.lp-form-input::placeholder { color: rgba(255,255,255,0.35); }
.lp-form-input:focus { outline: none; border-color: #2490F3; background: rgba(255,255,255,0.12); }
.lp-form-input.is-error { border-color: #e74c3c; }
.lp-form-textarea { resize: vertical; min-height: 120px; }
.lp-form-error { font-size: 0.82rem; color: #e74c3c; min-height: 1.2em; }
.lp-form-submit { margin-top: 8px; width: 100%; }

/* Thank You */
.lp-thankyou { text-align: center; padding: 40px 0; }
.lp-thankyou-content { max-width: 500px; margin: 0 auto; }
.lp-thankyou-icon { width: 64px; height: 64px; color: #27ae60; margin-bottom: 20px; }
.lp-thankyou h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 12px; }
.lp-thankyou p { font-size: 1rem; color: rgba(255,255,255,0.8); line-height: 1.8; }

/* Footer */
.lp-footer {
    background: #1a2a3a; color: rgba(255,255,255,0.6);
    padding: 32px 24px; text-align: center;
}
.lp-footer p { font-size: 0.82rem; }

/* ===========================
   Responsive
   =========================== */
@media (max-width: 768px) {
    .lp-section { padding: 60px 0; }
    .lp-section-title { font-size: 1.4rem; margin-bottom: 36px; }
    .lp-nav { padding: 10px 16px; }
    .lp-logo-img { height: 28px; }
    .lp-header-cta { padding: 6px 16px; font-size: 0.82rem; }
    .lp-hero { min-height: auto; padding: 100px 16px 60px; }
    .lp-hero-points { gap: 8px; }
    .lp-hero-point { padding: 6px 14px; font-size: 0.82rem; }
    .lp-cta-button { padding: 14px 32px; font-size: 1rem; }
    .lp-problem-item { padding: 20px 16px; }
    .lp-problem-icon { width: 36px; height: 36px; }
    .lp-solution-lead { font-size: 0.95rem; text-align: left; }
    .lp-solution-number { width: 40px; height: 40px; }
    .lp-comparison-table th, .lp-comparison-table td { padding: 12px 10px; font-size: 0.88rem; }
    .lp-result-value { font-size: 1.2rem; }
    .lp-result-comparison { gap: 8px; }
    .lp-flow-steps { flex-direction: column; align-items: center; }
    .lp-flow-step { max-width: 100%; width: 100%; }
    .lp-flow-arrow { transform: rotate(90deg); padding-top: 0; }
    .lp-message-content { flex-direction: column; text-align: center; gap: 24px; }
    .lp-message-text p { text-align: left; }
    .lp-message-img { width: 120px; height: 120px; }
    .lp-faq-question { font-size: 0.95rem; padding: 16px 0; }
    .lp-contact-lead { font-size: 0.9rem; }
    .lp-container { padding: 0 16px; }
}

@media (max-width: 480px) {
    .lp-hero-title { font-size: 1.5rem; }
    .lp-hero-subtitle { font-size: 0.9rem; }
    .lp-section-title { font-size: 1.25rem; }
    .lp-problem-item { flex-direction: column; gap: 12px; }
    .lp-problem-icon { width: 32px; height: 32px; }
    .lp-cta-button { width: 100%; text-align: center; }
    .lp-comparison-table th, .lp-comparison-table td { padding: 10px 8px; font-size: 0.82rem; }
    .lp-service-card { padding: 24px 16px; }
    .lp-result-card { padding: 24px 16px; }
    .lp-result-comparison { flex-direction: column; gap: 4px; }
    .lp-result-arrow { transform: rotate(90deg); }
}
