/* ========================================
   PLATORY v3.2-design - 追加デザインスタイル
   建築デザイン事務所レベルの洗練されたデザイン
======================================== */

/* ========================================
   PROBLEM SECTION - ELEGANT CARDS
======================================== */
.problem-card {
    text-align: center;
    position: relative;
    background: var(--text-white);
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.problem-card:hover::before {
    transform: scaleX(1);
}

.problem-number {
    position: absolute;
    top: -12px;
    right: -12px;
    background: var(--accent-brown);
    color: var(--text-white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.problem-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-subtle);
    border-radius: 50%;
    margin: var(--spacing-lg) auto var(--spacing-md);
    color: var(--accent-brown);
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.problem-card:hover .problem-icon {
    transform: scale(1.1);
    background: var(--gradient-accent);
    color: var(--text-white);
}

.problem-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-main);
    margin: 0;
    padding: 0 var(--spacing-sm);
}

/* ========================================
   STATISTICS - PROFESSIONAL DISPLAY
======================================== */
.stats-section {
    margin-top: var(--spacing-xxxl);
}

.stat-card {
    background: var(--text-white);
    text-align: center;
    padding: var(--spacing-xxl) var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-subtle);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.stat-card > * {
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 3rem;
    font-weight: 300;
    color: var(--accent-brown);
    margin-bottom: var(--spacing-sm);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-text {
    font-size: 1.125rem;
    color: var(--text-main);
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

.stat-note {
    font-size: 0.75rem;
    color: var(--text-sub);
    margin: 0;
    font-style: italic;
}

/* ========================================
   PROFESSIONAL QUOTE
======================================== */
.professional-quote {
    margin-top: var(--spacing-xxxl);
    text-align: center;
}

.quote-container {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--spacing-xxl);
    background: var(--text-white);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--accent-brown);
    box-shadow: var(--shadow-md);
    position: relative;
}

.quote-container::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: var(--spacing-lg);
    font-size: 4rem;
    color: var(--accent-brown);
    line-height: 1;
    font-family: serif;
}

.quote-badge {
    display: inline-block;
    background: var(--gradient-accent);
    color: var(--text-white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.quote-text {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-main);
    font-style: italic;
    margin: 0;
}

/* ========================================
   SERVICE CARDS - ELEGANT DESIGN
======================================== */
.service-card {
    text-align: center;
    background: var(--text-white);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--gradient-subtle);
    border-radius: var(--border-radius-lg);
    margin: 0 auto var(--spacing-lg);
    color: var(--accent-brown);
    font-size: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    background: var(--gradient-accent);
    color: var(--text-white);
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.service-title {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.service-description {
    color: var(--text-sub);
    line-height: 1.6;
    margin: 0;
}

.service-highlight {
    background: var(--gradient-accent);
    color: var(--text-white);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius-md);
    font-weight: 500;
    margin-top: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

/* ========================================
   SUCCESS STORIES - PREMIUM CARDS
======================================== */
.success-card {
    text-align: center;
    background: var(--text-white);
    position: relative;
    overflow: hidden;
}

.success-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-brown) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.success-card:hover::after {
    opacity: 0.05;
}

.success-type {
    background: var(--light-grey);
    color: var(--accent-brown);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.success-name {
    font-size: 1.125rem;
    color: var(--text-main);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.success-highlight {
    font-size: 1.5rem;
    color: var(--accent-brown);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.success-description {
    color: var(--text-sub);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ========================================
   FEATURE ITEMS - STATISTICS DISPLAY
======================================== */
.feature-item {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--text-white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-number {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--accent-brown);
    margin-bottom: var(--spacing-sm);
    line-height: 1;
}

.feature-text {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9rem;
}

/* ========================================
   PROCESS TIMELINE - ARCHITECTURAL
======================================== */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.process-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-xxl);
    position: relative;
}

.process-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    color: var(--text-white);
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 600;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.process-content {
    margin-left: var(--spacing-xl);
    background: var(--text-white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    flex: 1;
}

.process-duration {
    color: var(--accent-brown);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.process-title {
    font-size: 1.125rem;
    color: var(--text-main);
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.process-description {
    color: var(--text-sub);
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   PRICING GRID - PREMIUM DESIGN
======================================== */
.pricing-grid {
    gap: var(--spacing-lg);
}

.pricing-card {
    background: var(--text-white);
    text-align: center;
    position: relative;
    border: 2px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-brown);
}

.plan-name {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.plan-price {
    font-size: 2rem;
    color: var(--accent-brown);
    font-weight: 300;
    margin-bottom: var(--spacing-lg);
    line-height: 1;
}

.plan-period {
    font-size: 0.875rem;
    color: var(--text-sub);
    font-weight: 400;
}

.plan-features {
    list-style: none;
    padding: 0;
}

.plan-features li {
    padding: var(--spacing-sm) 0;
    color: var(--text-sub);
    font-size: 0.875rem;
    border-bottom: 1px solid var(--border-light);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li::before {
    content: '✓';
    color: var(--accent-brown);
    font-weight: bold;
    margin-right: var(--spacing-sm);
}

/* ========================================
   FAQ - ELEGANT ACCORDION
======================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--text-white);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: var(--spacing-lg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
}

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

.faq-question h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 500;
}

.faq-toggle {
    font-size: 1.25rem;
    color: var(--accent-brown);
    font-weight: 300;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 20px;
    text-align: center;
}

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

.faq-answer {
    padding: 0 var(--spacing-lg);
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--light-grey);
}

.faq-item.active .faq-answer {
    padding: var(--spacing-lg);
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    color: var(--text-sub);
    line-height: 1.6;
}

/* ========================================
   COMPANY SECTION - PROFESSIONAL
======================================== */
.company-features {
    margin-bottom: var(--spacing-xxl);
}

.feature-card {
    background: var(--text-white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.feature-card h3 {
    color: var(--text-main);
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
    font-weight: 500;
}

.feature-card p {
    color: var(--text-sub);
    line-height: 1.6;
    margin: 0;
}

.platory-info {
    background: var(--gradient-subtle);
    padding: var(--spacing-xxl);
    border-radius: var(--border-radius-lg);
    text-align: center;
    border-left: 4px solid var(--accent-brown);
}

.platory-info h3 {
    color: var(--text-main);
    margin-bottom: var(--spacing-lg);
    font-size: 1.5rem;
    font-weight: 500;
}

.platory-info p {
    color: var(--text-sub);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* ========================================
   CONTACT SECTION - CONVERSION OPTIMIZED
======================================== */
.contact-steps {
    margin-bottom: var(--spacing-xxl);
}

.step-item {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--text-white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-light);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    color: var(--text-white);
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 auto var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.step-title {
    color: var(--text-main);
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
    font-weight: 500;
}

.step-description {
    color: var(--text-sub);
    line-height: 1.6;
    margin: 0;
    font-size: 0.875rem;
}

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

/* ========================================
   SCROLL INDICATOR
======================================== */
.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-white);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border: 2px solid var(--text-white);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    margin-top: var(--spacing-sm);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    40% {
        transform: rotate(45deg) translateY(-10px);
    }
    60% {
        transform: rotate(45deg) translateY(-5px);
    }
}

/* ========================================
   RESPONSIVE ENHANCEMENTS
======================================== */
@media (max-width: 768px) {
    .process-timeline::before {
        display: none;
    }
    
    .process-item {
        flex-direction: column;
        text-align: center;
    }
    
    .process-content {
        margin-left: 0;
        margin-top: var(--spacing-md);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .process-item {
        margin-bottom: var(--spacing-lg);
    }
    
    .quote-container {
        padding: var(--spacing-lg);
    }
    
    .quote-container::before {
        font-size: 3rem;
        left: var(--spacing-md);
    }
}

/* ========================================
   VISUAL ENHANCEMENTS - NEW IMAGES
======================================== */

/* Section Background Images */
.services-section,
.problems-section,
.why-choose-section,
.process-section,
.pricing-section,
.faq-section,
.contact-section {
    position: relative;
    overflow: hidden;
}

.services-section::before,
.problems-section::before,
.why-choose-section::before,
.process-section::before,
.pricing-section::before,
.faq-section::before,
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

/* Process Images */
.process-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: var(--spacing-md) 0;
    box-shadow: var(--shadow-md);
}

.process-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-item:hover .process-image img {
    transform: scale(1.1);
}

/* Success Case Images */
.success-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    position: relative;
}

.success-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.success-card:hover .success-image img {
    transform: scale(1.1);
}

.success-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.2) 0%, transparent 100%);
}

/* Company Profile Section */
.company-profile-section {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxxl);
    padding: var(--spacing-xl);
    background: var(--light-grey);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-brown);
}

.company-profile-image {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.company-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.company-profile-image:hover img {
    transform: scale(1.05);
}

.company-profile-content h3 {
    color: var(--accent-brown);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.company-profile-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9rem;
}

/* Mobile Responsive for Images */
@media (max-width: 768px) {
    .company-profile-section {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-lg);
    }
    
    .company-profile-image {
        width: 150px;
        height: 150px;
    }
    
    .success-image {
        height: 160px;
    }
}