/**
 * ウェブ制作会社向けページスタイル
 *
 * @package Funbrew
 */

/* ==========================================================================
   メインセクション
   ========================================================================== */
.partners-web-production-section {
    padding: 100px 0;
    background-color: #fafafa;
}

.partners-web-production-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   ヒーローセクション
   ========================================================================== */
.hero-section {
    text-align: center;
    margin-bottom: 80px;
    padding: 60px 40px;
    background: linear-gradient(135deg, #ffffff, #f8faff);
    border-radius: 20px;
    border: 1px solid #e1e8f0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), #4f46e5, #7c3aed);
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 24px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   ターゲットセクション
   ========================================================================== */
.target-section {
    margin-bottom: 80px;
}

.target-list {
    background: linear-gradient(135deg, #ffffff, #f8faff);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #e1e8f0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.target-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid #e5e9f0;
    transition: all 0.3s ease;
}

.target-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.target-item:last-child {
    margin-bottom: 0;
}

.target-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), #4f46e5);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 16px;
}

.target-text {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text);
}

/* ==========================================================================
   共感セクション
   ========================================================================== */
.empathy-section {
    margin-bottom: 80px;
    background: linear-gradient(135deg, #fff5f5, #fffafa);
    padding: 60px 40px;
    border-radius: 20px;
    border: 1px solid #ffe0e0;
    position: relative;
    overflow: hidden;
}

.empathy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #ff8787, #ffa8a8);
}

.empathy-content {
    max-width: 900px;
    margin: 0 auto;
}

.empathy-situations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.situation-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid #ffe5e5;
    transition: all 0.3s ease;
}

.situation-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.1);
}

.situation-icon {
    flex-shrink: 0;
    font-size: 40px;
    line-height: 1;
}

.situation-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin: 0;
}

.empathy-message {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    border: 1px solid #ffe0e0;
}

.message-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text);
}

.message-text strong {
    font-size: 24px;
    color: var(--color-primary);
    display: block;
    margin-bottom: 16px;
}

/* ==========================================================================
   FUNBREWについて
   ========================================================================== */
.about-funbrew {
    margin-bottom: 80px;
    background: var(--color-white);
    padding: 80px 40px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-lead {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 24px;
    line-height: 1.4;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

/* ==========================================================================
   事例紹介
   ========================================================================== */
.case-studies {
    margin-bottom: 80px;
    background: var(--color-white);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.case-study-item {
    padding: 32px;
    background: linear-gradient(135deg, #fafbff, #ffffff);
    border: 1px solid #e5e9f0;
    border-radius: 16px;
    position: relative;
    transition: all 0.3s ease;
}

.case-study-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.case-study-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-primary);
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 16px;
}

.case-study-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
}

.case-study-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

.case-study-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f2f5;
    color: var(--color-text-secondary);
    font-size: 13px;
    border-radius: 12px;
    border: 1px solid #e0e3e7;
}

/* ==========================================================================
   連携が生む価値
   ========================================================================== */
.partnership-value {
    margin-bottom: 80px;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.value-item {
    padding: 32px;
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.value-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
    line-height: 1.4;
}

.value-description {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   セクション見出し
   ========================================================================== */
.section-heading {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), #4f46e5);
    border-radius: 2px;
}

/* ==========================================================================
   パートナー連携の流れ（親ページから継承）
   ========================================================================== */
.partnership-flow {
    margin-bottom: 80px;
    background: linear-gradient(135deg, #ffffff, #f8faff);
    padding: 80px 40px;
    border-radius: 20px;
    border: 1px solid #e1e8f0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.flow-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto;
    gap: 20px;
}

.flow-step {
    flex: 1;
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.step-number:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(var(--color-primary-rgb), 0.3);
}

.step-num {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
}

.step-description {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.flow-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* ==========================================================================
   見積もりセクション
   ========================================================================== */
.estimate-section {
    margin-bottom: 80px;
    background: linear-gradient(135deg, #f0f4ff, #f8faff);
    padding: 60px 40px;
    border-radius: 20px;
    border: 1px solid #d4e0ff;
    position: relative;
    overflow: hidden;
}

.estimate-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #6366f1, #818cf8);
}

.estimate-content {
    max-width: 900px;
    margin: 0 auto;
}

.estimate-message {
    text-align: center;
    margin-bottom: 48px;
}

.estimate-lead {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.5;
}

.estimate-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.estimate-approach {
    background: rgba(255, 255, 255, 0.8);
    padding: 48px;
    border-radius: 16px;
    border: 1px solid #e5e9f0;
    margin-bottom: 32px;
}

.approach-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 40px;
}

.approach-items {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.approach-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.approach-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}

.approach-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-primary);
}

.approach-content {
    flex: 1;
}

.approach-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.approach-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin: 0;
}

.estimate-note {
    background: rgba(79, 70, 229, 0.1);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.note-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    margin: 0;
}

/* ==========================================================================
   よくあるご質問
   ========================================================================== */
.partners-faq {
    margin-bottom: 80px;
    background: var(--color-white);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

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

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

.faq-question {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
    position: relative;
    padding-left: 32px;
}

.faq-question::before {
    content: 'Q.';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.faq-answer {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    padding-left: 32px;
}

/* ==========================================================================
   CTA セクション
   ========================================================================== */
.partners-cta {
    text-align: center;
    background: linear-gradient(135deg, #ffffff, #f8faff);
    padding: 80px 40px;
    border-radius: 20px;
    border: 1px solid #e1e8f0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.partners-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), #4f46e5, #7c3aed);
}

.partners-cta .section-heading {
    color: var(--color-text);
    margin-bottom: 32px;
}

.partners-cta__text {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: var(--color-text-secondary);
}

.partners-cta__button-wrapper {
    display: inline-block;
}

.partners-cta__button-wrapper .btn {
    background: var(--color-primary);
    color: #ffffff;
    font-size: 18px;
    padding: 20px 48px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid var(--color-primary);
}

.partners-cta__button-wrapper .btn:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* CTAハイライト */
.cta-highlight {
    background: linear-gradient(135deg, #fff5f0, #fffaf7);
    border: 2px solid var(--color-primary);
    border-radius: 16px;
    padding: 32px;
    margin: 32px 0;
}

.cta-highlight__text {
    font-size: 20px;
    line-height: 1.6;
    margin: 0;
    color: var(--color-text);
}

.cta-highlight__text strong {
    font-size: 24px;
    display: block;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.cta-icon {
    font-size: 32px;
    vertical-align: middle;
    margin-right: 8px;
}

.cta-note {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-top: 16px;
}

/* CTAフィーチャー */
.cta-features {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 24px auto 32px;
    max-width: 720px;
}

.cta-feature {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    min-width: 0;
}

.cta-feature-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8faff, #ffffff);
    border-radius: 50%;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.04),
        0 4px 16px rgba(79, 70, 229, 0.08),
        inset 0 1px 2px rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-feature-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-feature:hover .cta-feature-icon {
    transform: translateY(-4px);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.06),
        0 8px 24px rgba(79, 70, 229, 0.12),
        inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

.cta-feature:hover .cta-feature-icon::before {
    opacity: 1;
}

.cta-feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-primary);
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.cta-feature:hover .cta-feature-icon svg {
    transform: scale(1.05);
}

.cta-feature .cta-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.5;
    letter-spacing: 0.02em;
}

/* ==========================================================================
   パートナー募集ページへ戻るリンク
   ========================================================================== */
.back-to-partners {
    text-align: center;
    margin-top: 40px;
}

.back-to-partners .btn-text-link {
    display: inline-flex;
    align-items: center;
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-to-partners .btn-text-link:hover {
    color: var(--color-primary-dark);
    transform: translateX(-4px);
}

/* ==========================================================================
   レスポンシブ対応
   ========================================================================== */
@media (max-width: 768px) {
    .partners-web-production-section {
        padding: 40px 0;
    }
    
    .partners-web-production-content {
        padding: 0 12px;
    }
    
    .hero-section,
    .target-section .target-list,
    .empathy-section,
    .about-funbrew,
    .case-studies,
    .partnership-flow,
    .estimate-section,
    .partners-faq,
    .partners-cta {
        padding: 24px 16px;
    }
    
    .hero-section {
        margin-bottom: 24px;
    }
    
    .target-section,
    .empathy-section,
    .about-funbrew,
    .case-studies,
    .partnership-value,
    .partnership-flow,
    .estimate-section,
    .partners-faq {
        margin-bottom: 24px;
    }
    
    .partners-cta {
        margin-bottom: 32px;
    }
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-heading {
        font-size: 28px;
    }
    
    .flow-steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .value-grid {
        grid-template-columns: 1fr;
    }
    
    .target-text {
        font-size: 16px;
    }
    
    .partners-cta__text {
        font-size: 18px;
    }
    
    .empathy-situations {
        grid-template-columns: 1fr;
    }
    
    .situation-icon {
        font-size: 32px;
    }
    
    .message-text strong {
        font-size: 20px;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-highlight__text {
        font-size: 18px;
    }
    
    .cta-highlight__text strong {
        font-size: 20px;
    }
    
    .cta-icon {
        font-size: 24px;
    }
    
    .estimate-lead {
        font-size: 20px;
    }
    
    .estimate-text {
        font-size: 16px;
    }
    
    .approach-icon {
        width: 40px;
        height: 40px;
    }
    
    .approach-subtitle {
        font-size: 18px;
    }
    
    .estimate-approach {
        padding: 32px 24px;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 12px;
        margin: 16px auto 20px;
    }
    
    .cta-feature {
        padding: 12px;
        background: #fafbff;
        border-radius: 12px;
        border: 1px solid #e5e9f0;
    }
    
    .cta-feature:not(:last-child)::after {
        display: none;
    }
    
    .cta-feature-icon {
        width: 48px;
        height: 48px;
    }
    
    .cta-feature-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .cta-feature .cta-text {
        font-size: 14px;
    }
}