/*
 * 業者様へページのスタイル
 * Partners Page Styles
 */

/* ========================================
   ヒーローセクション
   ======================================== */

.partners-hero {
    position: relative;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
    background-color: transparent !important;
    width: 100%;
}

.partners-hero .hero-background {
    position: relative;
    background-image: url('../images/background05.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--spacing-3xl) 0;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.partners-hero .hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.partners-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
}

.partners-hero .hero-title {
    font-size: 4rem;
    color: var(--color-text-white);
    font-weight: 800;
    font-family: var(--font-family-en);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    line-height: 1.2;
    margin-top: 0;
}

.partners-hero .subtitle {
    font-size: 1.5rem;
    color: var(--color-text-white);
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* ========================================
   紹介文セクション
   ======================================== */

.partners-intro {
    background-color: #ffffff;
    padding: 80px 0;
}

.partners-intro .section-subtitle {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-dark-gray);
    margin-bottom: 2rem;
    text-align: center;
}

.partners-intro .intro-text {
    max-width: 900px;
    margin: 0 auto;
    border-left: none;
    text-align: left;
}

.partners-intro .intro-text p {
    font-size: 1rem;
    line-height: 1.9;
    color: #666;
    margin-bottom: 1.5rem;
    border-left: none;
    text-align: left;
}

/* ========================================
   提供価値セクション
   ======================================== */

.partners-value {
    background-color: #f8f9fa;
    padding: 80px calc(50vw - 50%);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.partners-value .section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 1.5rem auto 0;
    line-height: 1.8;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 60px;
}

.value-card {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--color-primary-green);
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

.value-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark-gray);
    margin-bottom: 1rem;
}

.value-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #666;
}

/* ========================================
   お取引の流れセクション
   ======================================== */

.partners-flow {
    background-color: #ffffff;
    padding: 80px 0;
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 60px;
}

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

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary-green) 0%, var(--color-primary-green-light) 100%);
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(46, 133, 64, 0.25);
}

.step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark-gray);
    margin-bottom: 1rem;
}

.step-description {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #666;
}

/* ========================================
   CTAセクション
   ======================================== */

.partners-cta {
    background-color: #f8f9fa;
    padding: 80px calc(50vw - 50%);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    text-align: center;
}

.cta-text {
    font-size: 1rem;
    line-height: 1.9;
    color: #666;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.partners-cta .btn-primary {
    background: linear-gradient(135deg, var(--color-primary-green) 0%, var(--color-primary-green-light) 100%);
    color: #ffffff;
    border-radius: 50px;
    padding: 0.875rem 3rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(46, 133, 64, 0.25);
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.partners-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(46, 133, 64, 0.35);
}

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

.cta-phone p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.phone-large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary-green);
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.phone-large:hover {
    color: var(--color-primary-green-dark);
}

/* ========================================
   レスポンシブデザイン
   ======================================== */

/* タブレット */
@media (max-width: 1024px) {
    .partners-hero .hero-background {
        min-height: 350px;
    }

    .partners-hero .hero-title {
        font-size: 3rem;
    }

    .partners-hero .subtitle {
        font-size: 1.35rem;
        font-weight: 700;
    }

    .value-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .flow-steps {
        gap: 1.5rem;
    }

    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
}

/* スマートフォン */
@media (max-width: 768px) {
    .partners-hero .hero-background {
        min-height: 300px;
    }

    .partners-hero .hero-title {
        font-size: 2.5rem;
    }

    .partners-hero .subtitle {
        font-size: 1.25rem;
        font-weight: 700;
    }

    .partners-intro {
        padding: 60px 0;
    }

    .partners-intro .section-subtitle {
        font-size: 1.5rem;
    }

    .partners-value {
        padding: 60px 20px;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 40px;
    }

    .partners-flow {
        padding: 60px 0;
    }

    .flow-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 40px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .partners-cta {
        padding: 60px 20px;
    }

    .phone-large {
        font-size: 1.75rem;
    }
    
    .partners-cta .btn-primary {
        padding: 0.75rem 2.5rem;
        font-size: 0.95rem;
    }
}

/* 小型スマートフォン */
@media (max-width: 480px) {
    .partners-hero .hero-background {
        min-height: 250px;
    }

    .partners-hero .hero-title {
        font-size: 2rem;
    }

    .partners-hero .subtitle {
        font-size: 1.1rem;
        font-weight: 700;
    }

    .partners-intro .section-subtitle {
        font-size: 1.25rem;
    }

    .partners-intro .intro-text p {
        font-size: 0.9rem;
    }

    .value-card {
        padding: 2rem;
    }

    .value-title {
        font-size: 1.1rem;
    }

    .value-description {
        font-size: 0.85rem;
    }

    .phone-large {
        font-size: 1.5rem;
    }
    
    .partners-cta .btn-primary {
        padding: 0.625rem 2rem;
        font-size: 0.9rem;
    }
}

