/* =====================================================
   サービスページ共通デザイン強化
   
   WEB制作 / グラフィックデザイン / LINE構築 / AI活用
   の4ページに共通適用する "デザインの底上げ" CSS。
   
   目的：
   - セクション間の視覚リズムを作る（背景の交互パターン）
   - カードにグラスモーフィズム＋グロー効果で奥行きを出す
   - タイポグラフィの階層感を強化
   - フロー図・アーキテクチャ図の矢印をSVGアイコンに置換
   - CTAセクションの視覚インパクト強化
===================================================== */

/* ==========================================================================
   1. セクション背景 — 交互パターンで視覚リズム
   ========================================================================== */

/* 奇数セクション: 微妙な明るさの変化 */
.wp-problems,
.wp-solution,
.wp-capabilities,
.wp-system,
.wp-faq,
.ais-problems,
.ais-features,
.ais-effects,
.ais-faq,
.ln-problems,
.ln-solution,
.ln-segment,
.ln-as-hp,
.ln-faq,
.service-overview,
.features-section {
    background: rgba(255, 255, 255, 0.015);
}

/* 偶数セクション: ほぼ透明（contrast） */
.wp-compare,
.wp-flow,
.wp-quote-section,
.ais-architecture,
.ais-flow,
.ais-cases,
.ln-crm,
.ln-reservation,
.ln-ai,
.ln-flow,
.ln-quote-section,
.pricing-section,
.process-section {
    background: transparent;
}

/* ==========================================================================
   2. セクションヘッダー — タイポグラフィ強化
   ========================================================================== */

.section-header {
    margin-bottom: 0;
}

.section-header .section-title {
    position: relative;
    padding-bottom: 20px;
}

.section-header .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-orange, #FF6B35), var(--warm-orange, #FF8C42));
    border-radius: 2px;
}

.section-header .section-subtitle {
    margin-top: 16px;
    opacity: 0.7;
}

/* ==========================================================================
   3. サービスHero — 背景エフェクト強化
   ========================================================================== */

.service-hero {
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 50%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.service-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 40%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 200, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.service-hero-content {
    position: relative;
    z-index: 1;
}

.service-badge {
    position: relative;
    overflow: hidden;
}

.service-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: badge-shine 4s ease-in-out infinite;
}

@keyframes badge-shine {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.service-title {
    text-shadow:
        0 0 30px rgba(255, 255, 255, 0.15),
        0 4px 20px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   4. カード — グラスモーフィズム + グロー
   ========================================================================== */

/* 共通カード基盤 */
.wp-problem-card,
.wp-solution-step,
.wp-cap-category,
.wp-cycle-step,
.ais-problem-card,
.ais-feature-card,
.ais-arch-step,
.ais-effect-card,
.ais-case-card,
.ln-problem-card,
.ln-solution-step,
.ln-segment-card,
.ln-reservation-card,
.ln-as-hp-card,
.ln-ai-card,
.ln-crm-card,
.ln-cross-card,
.pricing-card,
.feature-item,
.application-card {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0.02) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ホバー: グロー効果 */
.wp-problem-card:hover,
.wp-cap-category:hover,
.ais-problem-card:hover,
.ais-feature-card:hover,
.ais-effect-card:hover,
.ais-case-card:hover,
.ln-problem-card:hover,
.ln-segment-card:hover,
.ln-reservation-card:hover,
.ln-as-hp-card:hover,
.ln-ai-card:hover,
.ln-cross-card:hover,
.pricing-card:hover,
.feature-item:hover,
.application-card:hover {
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.25),
        0 0 30px rgba(255, 107, 53, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* LINE用: グリーングロー */
.ln-problem-card:hover,
.ln-segment-card:hover,
.ln-reservation-card:hover,
.ln-as-hp-card:hover {
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.25),
        0 0 30px rgba(6, 199, 85, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   5. 引用 / ノートブロック — 統一デザイン
   ========================================================================== */

.wp-quote,
.ln-quote,
.wp-solution-note,
.wp-system-note,
.ais-arch-note,
.ln-solution-note,
.ln-as-hp-note {
    position: relative;
    overflow: hidden;
}

.wp-quote::after,
.ln-quote::after {
    content: '"';
    position: absolute;
    bottom: -20px;
    right: 20px;
    font-size: 6rem;
    font-weight: 900;
    opacity: 0.04;
    color: #fff;
    line-height: 1;
    pointer-events: none;
}

/* ==========================================================================
   6. フロー矢印 — SVG化＋アニメーション
   ========================================================================== */

.wp-solution-arrow,
.wp-cycle-arrow,
.ais-arch-arrow,
.ln-solution-arrow {
    font-family: system-ui, sans-serif;
    opacity: 0.5;
    animation: arrow-pulse 2s ease-in-out infinite;
}

@keyframes arrow-pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

/* ==========================================================================
   7. FAQ — 視覚強化
   ========================================================================== */

.faq-list {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-large, 20px);
    padding: 8px 28px;
}

.faq-item {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    position: relative;
}

.faq-question::before {
    content: 'Q';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--neon-orange, #FF6B35);
    opacity: 0;
    transition: opacity 0.3s;
}

.faq-question:hover::before {
    opacity: 0.5;
}

/* ==========================================================================
   8. CTA セクション — インパクト強化
   ========================================================================== */

.service-cta {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 107, 53, 0.04) 0%,
        transparent 40%,
        transparent 60%,
        rgba(255, 107, 53, 0.04) 100%
    );
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 48px 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-large, 24px);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cta-title {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.cta-button {
    position: relative;
    overflow: hidden;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::after {
    left: 100%;
}

/* ==========================================================================
   9. process-timeline — 視覚強化
   ========================================================================== */

.process-timeline {
    position: relative;
}

.process-step {
    position: relative;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateX(4px);
}

.step-number {
    position: relative;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.step-title {
    position: relative;
}

/* ==========================================================================
   10. 比較テーブル — 視覚強化
   ========================================================================== */

.wp-compare-table {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.wp-compare-col--us {
    position: relative;
    background: rgba(255, 107, 53, 0.03);
}

.wp-compare-row:hover .wp-compare-col {
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.2s;
}

.wp-compare-row:hover .wp-compare-col--us {
    background: rgba(255, 107, 53, 0.06);
}

/* ==========================================================================
   11. セグメントタグ — 視覚強化
   ========================================================================== */

.ln-segment-tag {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.04em;
}

.ln-segment-effects {
    margin-top: 2.5rem;
}

.ln-segment-effect {
    box-shadow: 0 2px 12px rgba(6, 199, 85, 0.1);
}

/* ==========================================================================
   12. CRM ビジュアル — 矢印強化
   ========================================================================== */

.ln-crm-arrow-big {
    text-shadow: 0 0 20px rgba(6, 199, 85, 0.3);
}

.ln-crm-card--result {
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(6, 199, 85, 0.04),
        inset 0 1px 0 rgba(6, 199, 85, 0.08);
}

/* ==========================================================================
   13. 機能カテゴリ — ヘッダーアクセント
   ========================================================================== */

.wp-cap-header {
    position: relative;
    overflow: hidden;
}

.wp-cap-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.wp-cap-item {
    transition: background 0.2s;
}

.wp-cap-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* ==========================================================================
   14. ページ内クロス導線カード
   ========================================================================== */

.ln-cross-card,
.ln-ai-link .ln-cross-link {
    position: relative;
    overflow: hidden;
}

.ln-cross-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 107, 53, 0.03) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.ln-cross-card:hover::before {
    opacity: 1;
}

/* ==========================================================================
   15. service-detail.css 用 — グラフィックデザインページ強化
   ========================================================================== */

.overview-grid {
    position: relative;
}

.overview-content .section-title::after {
    left: 0;
    transform: none;
}

.feature-list li {
    transition: transform 0.2s;
}

.feature-list li:hover {
    transform: translateX(4px);
}

.image-wrapper.placeholder {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0.02) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.pricing-card {
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card.featured {
    border-color: rgba(255, 107, 53, 0.2);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.2),
        0 0 40px rgba(255, 107, 53, 0.05);
}

.pricing-card.featured::before {
    opacity: 1;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.4), transparent);
}

.plan-cta {
    position: relative;
    overflow: hidden;
}

.plan-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.plan-cta:hover::after {
    left: 100%;
}

.price-number {
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.2);
}

/* 人気バッジ強化 */
.popular-badge,
.badge {
    box-shadow: 0 2px 12px rgba(255, 107, 53, 0.3);
    animation: badge-glow 3s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% { box-shadow: 0 2px 12px rgba(255, 107, 53, 0.3); }
    50% { box-shadow: 0 4px 20px rgba(255, 107, 53, 0.5); }
}

/* ==========================================================================
   16. レスポンシブ
   ========================================================================== */

@media (max-width: 768px) {
    .faq-list {
        padding: 4px 16px;
    }

    .cta-content {
        padding: 32px 20px;
    }

    .faq-question::before {
        display: none;
    }

    .section-header .section-title::after {
        width: 40px;
        height: 2px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .cta-content {
        padding: 40px 28px;
    }

    .faq-list {
        padding: 6px 20px;
    }
}