/* ==========================================
   style_service.css
   サービス紹介ページ共通CSS (sv- prefix)
   SEO / AI 等のサービスページで共用
   ========================================== */

/* ---------- Hero ---------- */
.sv-hero {
    position: relative;
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

.sv-hero-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}

.sv-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 46, 0.65);
}

.sv-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px clamp(20px, 5vw, 40px) 60px;
}

.sv-hero-text h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    line-height: 1.4;
    margin: 0 0 24px;
}

.sv-hero-text p {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    line-height: 1.8;
    margin: 0 0 32px;
    color: rgba(255, 255, 255, 0.92);
}

.sv-hero-text .seo-btn {
    margin-top: 8px;
}

/* ---------- Section Layout ---------- */
.sv-section {
    width: 100%;
    position: relative;
    padding: 72px 0;
}

.sv-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

.sv-section h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: #1a1a2e;
    text-align: center;
    margin: 0 0 16px;
    line-height: 1.5;
}

.sv-section h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background: #b11920;
    margin: 16px auto 0;
    border-radius: 2px;
}

.sv-section-lead {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0 auto 40px;
    max-width: 700px;
}

/* ---------- Background Variants ---------- */
.sv-white { background: #fff; }
.sv-cream { background: #f7f5f2; }
.sv-dark  { background: #1a1a2e; color: #fff; }
.sv-dark h2 { color: #fff; }
.sv-dark h2::after { background: #e74c4c; }
.sv-dark p { color: #fff; }
.sv-dark .sv-section-lead { color: rgba(255,255,255,0.85); }
.sv-dark .sv-proof-numbers li { color: #fff; }

/* ---------- Inline link (button style) ---------- */
.sv-inline-link {
    margin-top: 32px;
    margin-bottom: 0;
}

.text-center {
    text-align: center;
}

.sv-dark .sv-inline-link a.seo-btn-outline {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

.sv-dark .sv-inline-link a.seo-btn-outline:hover {
    background: rgba(255,255,255,0.1);
}

/* ---------- Pain Points ---------- */
.sv-pain-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.sv-pain-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 28px 24px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333;
}

.sv-pain-item i {
    color: #b11920;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 3px;
}

/* ---------- Service Cards (Plans) ---------- */
.sv-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.sv-plan-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 32px 28px;
    transition: box-shadow 0.25s;
}

.sv-plan-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.sv-plan-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid #b11920;
}

.sv-plan-card p,
.sv-plan-card ul {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #555;
    margin: 0 0 8px;
}

.sv-plan-card ul {
    padding-left: 18px;
}

.sv-plan-card .sv-card-example {
    font-size: 0.85rem;
    color: #888;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

/* ---------- Proof / Numbers ---------- */
.sv-proof {
    margin-top: 40px;
}

.sv-proof-numbers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    padding: 0;
}

.sv-proof-numbers li {
    list-style: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 20px 22px;
    font-size: 0.95rem;
    line-height: 1.7;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.sv-proof-numbers i {
    color: #e74c4c;
    flex-shrink: 0;
    margin-top: 3px;
}

.sv-proof-link {
    text-align: center;
    margin-top: 32px;
}

.sv-proof-link a {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
    font-size: 1rem;
}

.sv-proof-link a:hover {
    color: #e74c4c;
}

/* ---------- Reasons ---------- */
.sv-reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.sv-reason-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 28px 24px;
    text-align: center;
}

.sv-reason-card i {
    font-size: 2rem;
    color: #b11920;
    margin-bottom: 16px;
}

.sv-reason-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
}

.sv-reason-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* ---------- Flow ---------- */
.sv-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    margin-top: 40px;
}

.sv-flow-step {
    text-align: center;
    flex: 1 1 160px;
    max-width: 200px;
    position: relative;
    padding: 0 12px;
}

.sv-flow-step .sv-flow-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #b11920;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 14px;
}

.sv-flow-step h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px;
}

.sv-flow-step p {
    font-size: 0.82rem;
    color: #888;
    line-height: 1.6;
    margin: 0;
}

.sv-flow-step + .sv-flow-step::before {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: -8px;
    top: 14px;
    color: #ccc;
    font-size: 0.9rem;
}

/* ---------- FAQ ---------- */
.sv-faq {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.sv-faq-item {
    border-bottom: 1px solid #eee;
    padding: 24px 0;
}

.sv-faq-item:first-child {
    border-top: 1px solid #eee;
}

.sv-faq-q {
    font-weight: 700;
    font-size: 1rem;
    color: #1a1a2e;
    margin: 0 0 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.sv-faq-q::before {
    content: "Q";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #b11920;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.sv-faq-a {
    font-size: 0.92rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
    padding-left: 38px;
}

.sv-faq-a::before {
    content: "A. ";
    font-weight: 700;
    color: #1a1a2e;
}

/* ---------- CTA ---------- */
.sv-cta {
    text-align: center;
    padding: 64px clamp(20px, 4vw, 40px);
    background: #1a1a2e;
    color: #fff;
    box-sizing: border-box;
}

.sv-cta h2 {
    color: #fff;
    margin-bottom: 12px;
}

.sv-cta h2::after {
    background: #e74c4c;
}

.sv-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.sv-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .sv-hero {
        min-height: 50vh;
    }

    .sv-hero-inner {
        padding: 60px 20px 48px;
    }

    .sv-section {
        padding: 48px 0;
    }

    .sv-pain-points,
    .sv-plans,
    .sv-reasons {
        grid-template-columns: 1fr;
    }

    .sv-proof-numbers {
        grid-template-columns: 1fr;
    }

    .sv-flow {
        flex-direction: column;
        align-items: center;
        gap: 28px;
    }

    .sv-flow-step + .sv-flow-step::before {
        content: "\f078";
        left: 50%;
        transform: translateX(-50%);
        top: -20px;
    }

    .sv-flow-step {
        max-width: 100%;
    }

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

/* ---------- Buttons (self-contained) ---------- */
.seo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.2s, transform 0.2s;
    border: none;
    box-sizing: border-box;
    max-width: 100%;
}

.seo-btn:hover {
    transform: translateY(-2px);
}

.seo-btn-primary {
    background: #b11920;
    color: #fff;
}

.seo-btn-primary:hover {
    background: #8e1419;
    color: #fff;
}

.seo-btn-white {
    background: #fff;
    color: #b11920;
    font-weight: 700;
}

.seo-btn-white:hover {
    background: #f0f0f0;
    color: #b11920;
}

.seo-btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.seo-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.icon-left {
    margin-right: 8px;
}
