/* First-Time Page Styles */

.page-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/assets/images/business-meeting-two.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 1rem;
    opacity: 0.8;
}

.intro-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

.feature-section {
    padding: 80px 0;
    background-color: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

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

.flow-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.flow-step {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.step-number {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

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

.faq-section {
    padding: 80px 0;
    background-color: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 60px;
}

.faq-item {
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: #f8f9fa;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-answer {
    padding: 20px;
    background-color: white;
    line-height: 1.7;
    color: #555;
    display: none;
}

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

.faq-toggle {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

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

.cta-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-text {
    margin-bottom: 40px;
    line-height: 1.8;
}

.service-comparison {
    padding: 80px 0;
    background-color: white;
}

.strength-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.strength-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.strength-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color, #0056b3));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.strength-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.strength-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.strength-card:hover .strength-icon {
    transform: scale(1.15) rotate(5deg);
}

.strength-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
    transition: color 0.3s ease;
}

.strength-card:hover .strength-title {
    color: var(--primary-color);
}

.strength-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* 旧比較表スタイル（削除） */
.comparison-table {
    display: none;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    .feature-grid,
    .flow-steps {
        grid-template-columns: 1fr;
    }
    .strength-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .strength-card {
        padding: 30px 25px;
    }
    .strength-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    .feature-section,
    .flow-section,
    .faq-section,
    .cta-section,
    .service-comparison {
        padding: 60px 0;
    }
    .strength-card {
        padding: 25px 20px;
    }
    .strength-title {
        font-size: 1.1rem;
    }
    .strength-description {
        font-size: 0.9rem;
    }
}