/* Process Section */
.process {
    padding: 60px 0;
    background: var(--bg-light);
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    flex: 1;
    position: relative;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-medium);
}

.step-number {
    background: var(--primary-blue);
    color: var(--bg-white);
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 14px;
    letter-spacing: 0.05em;
}

.process-step h3 {
    font-family: var(--font-display), var(--font-japanese);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.process-step p {
    font-family: var(--font-primary), var(--font-japanese);
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

.process-arrow {
    font-size: 30px;
    color: var(--primary-blue);
}

/* Price Section */
.price {
    padding: 80px 0;
    background: var(--bg-white);
}

.price-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.price-card {
    background: var(--bg-light);
    border-radius: 30px;
    padding: 30px 40px 20px 40px; /* 下のパディングのみ30pxに削減 */
    position: relative;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: 0 20px 60px var(--shadow-medium);
}

/* 人気プラン（中央）の強調 */
.price-card.featured {
    background: var(--primary-blue);
    color: var(--bg-white);
    transform: scale(1.08);
    border-color: var(--primary-blue);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.3);
    z-index: 1;
}

.price-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-orange);
    color: var(--bg-white);
    padding: 8px 25px;
    border-radius: 50px;
    font-family: var(--font-primary), var(--font-japanese);
    font-size: 14px;
    font-weight: 700;
}

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

.price-header h3 {
    font-family: var(--font-display), var(--font-japanese);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.price-description {
    font-family: var(--font-primary), var(--font-japanese);
    color: var(--text-gray);
    font-size: 15px;
    text-align: center;
}

.price-card.featured .price-description {
    color: rgba(255,255,255,0.8);
}

.price-amount {
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.price-number {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -0.03em;
    display: inline-block;
}

.price-unit {
    font-family: var(--font-primary), var(--font-japanese);
    font-size: 18px;
    font-weight: 400;
    color: var(--text-gray);
}

.price-card.featured .price-unit {
    color: rgba(255,255,255,0.8);
}

.price-features {
    list-style: none;
    margin-bottom: 20px;
    flex-grow: 1;
}

.price-features li {
    font-family: var(--font-primary), var(--font-japanese);
    padding: 5px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 16px;
    position: relative;
    padding-left: 35px;
    display: flex;
    align-items: center;
    min-height: 40px;
}

/* チェックマークのスタイル */
.price-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 18px;
}

/* 利用不可の項目 */
.price-features li.disabled {
    color: #c0c0c0;
    opacity: 0.6;
}

.price-features li.disabled::before {
    content: "−";
    color: #c0c0c0;
    font-size: 20px;
}

.price-card.featured .price-features li {
    border-color: rgba(255,255,255,0.2);
}

.price-card.featured .price-features li::before {
    color: var(--accent-orange);
}

.price-card.featured .price-features li.disabled {
    color: rgba(255,255,255,0.4);
}

.price-card.featured .price-features li.disabled::before {
    color: rgba(255,255,255,0.4);
}

.price-button {
    display: block;
    text-align: center;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-primary), var(--font-japanese);
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--primary-blue);
    color: var(--bg-white);
    width: 100%;
}

.price-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.price-button.featured {
    background: var(--accent-orange);
    color: var(--bg-white);
}

.price-button.featured:hover {
    background: #ff8c00;
    box-shadow: 0 10px 30px rgba(255, 149, 0, 0.3);
}

.price-note {
    text-align: center;
    margin-top: 40px;
    color: var(--text-gray);
    font-family: var(--font-primary), var(--font-japanese);
    font-size: 14px;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: var(--bg-light);
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-blue);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: var(--bg-white);
    border: none;
    text-align: left;
    font-family: var(--font-primary), var(--font-japanese);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-icon {
    font-size: 24px;
    transition: transform 0.3s ease;
    color: var(--primary-blue);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 30px 25px;
}

.faq-answer p {
    font-family: var(--font-primary), var(--font-japanese);
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 15px;
    letter-spacing: -0.01em;
}

.faq-item.active .faq-answer {
    display: block;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 20s ease-in-out infinite;
}

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

.cta-content h2 {
    font-family: var(--font-display), var(--font-japanese);
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.cta-content p {
    font-family: var(--font-primary), var(--font-japanese);
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    letter-spacing: -0.01em;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-button {
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-primary), var(--font-japanese);
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: var(--accent-orange);
    color: var(--bg-white);
    box-shadow: 0 10px 30px rgba(255, 149, 0, 0.5);
}

.cta-button.primary:hover {
    background: #ff8c00;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 149, 0, 0.6);
}

.cta-button.secondary {
    background: var(--bg-white);
    color: var(--primary-blue);
}

.cta-button.secondary:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .price-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 900px;
    }
    
    .price-card {
        padding: 40px 30px;
    }
    
    .price-number {
        font-size: 48px;
    }
    
    .price-card.featured {
        transform: scale(1.05);
    }
}

@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .price-cards {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 500px;
    }
    
    .price-card.featured {
        transform: scale(1);
        order: -1;
    }
    
    .price-card {
        padding: 40px 35px;
    }

    .cta-content h2 {
        font-size: 36px;
    }

    .cta-content p {
        font-size: 18px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .cta-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .price,
    .faq,
    .cta-section {
        padding: 60px 0;
    }

    .process {
        padding: 3rem 0; /* セクション全体のパディングを調整 */
    }

    .process-steps {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
        justify-content: center;
    }

    .process-step {
        background: white;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        width: 100%;
        max-width: 300px;
        min-height: 140px;
        padding: 20px;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        transition: all 0.3s ease;
    }

    .process-step:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .step-number {
        background: #2563eb;
        color: white;
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 10px;
        display: inline-block;
    }

    .process-step h3 {
        font-size: 1.2rem;
        font-weight: 600;
        color: #1a1a1a;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .process-step p {
        font-size: 0.9rem;
        color: #666;
        line-height: 1.4;
        margin: 0;
    }

    .process-arrow {
        color: #2563eb;
        font-size: 1.2rem;
        margin: 8px 0;
        transform: rotate(90deg);
        opacity: 0.7;
    }

    .price-card {
        padding: 35px 25px;
    }
    
    .price-header h3 {
        font-size: 24px;
    }
    
    .price-number {
        font-size: 42px;
    }
    
    .price-features li {
        font-size: 14px;
        padding: 12px 0;
    }

    .faq-question {
        font-size: 16px;
        padding: 20px;
    }

    .faq-answer {
        padding: 0 20px 20px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-content p {
        font-size: 16px;
    }

    footer {
        background: #2563eb !important;
        color: white !important;
        padding: 30px 0 20px;
        text-align: center !important; /* フッター全体を中央揃え */
    }
    
    footer * {
        text-align: center !important; /* すべての子要素を中央揃え */
    }
    
    .footer-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }
    
    .footer-company {
        order: 1;
        text-align: center !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .footer-company .logo,
    .footer-logo {
        margin: 0 auto 10px !important;
        display: block !important;
        text-align: center !important;
        width: auto !important;
    }
    
    .footer-company .logo {
        align-items: center !important;
        justify-content: center !important;
    }

    .footer-links {
        order: 2;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-around !important;
        flex-wrap: wrap !important;
        gap: 15px !important;
        width: 100% !important;
    }
    
    .footer-bottom {
        order: 3;
        margin-top: 20px !important;
        padding-top: 15px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    /* すべてのテキストを白色に統一 */
    .footer-column h4,
    .footer-company .logo-text,
    .footer-company h3 {
        color: white !important;
        text-align: center !important;
    }
    
    .footer-column a,
    .footer-company .logo-tagline,
    .footer-company p {
        color: rgba(255, 255, 255, 0.8) !important;
        text-align: center !important;
    }
    
    .footer-bottom p {
        color: rgba(255, 255, 255, 0.6) !important;
        text-align: center !important;
    }
    
    .footer-column a:hover {
        color: white !important;
    }
}

@media (max-width: 360px) {
    .process {
        padding: 2.5rem 0;
    }
    
    .process-steps {
        gap: 12px;
    }
    
    .process-step {
        max-width: 280px;
        min-height: 130px;
        padding: 18px;
    }
    
    .process-step h3 {
        font-size: 1.1rem;
    }
    
    .process-step p {
        font-size: 0.85rem;
    }
    
    .process-arrow {
        margin: 6px 0;
        font-size: 1rem;
    }
}
