/**
 * AI活用コンサルティングページのスタイル
 */

/* ヒーローセクション */
.ai-consulting-hero {
    height: 90vh;
    min-height: 700px;
    background-image: linear-gradient(rgba(87, 75, 144, 0.8), rgba(155, 89, 182, 0.7)), url('../assets/images/services/ai-consulting-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 0;
    overflow: hidden;
}

.ai-consulting-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/images/services/ai-pattern.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.ai-consulting-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-hero-content .hero-subtitle {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.page-hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-hero-content p {
    font-size: 22px;
    margin-bottom: 35px;
    line-height: 1.6;
    opacity: 0.9;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    background-color: white;
    color: var(--primary);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: none;
}

.primary-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    background-color: white;
    border-color: white;
}

.outline-button {
    display: inline-flex;
    align-items: center;
    background-color: transparent;
    color: white;
    padding: 15px 32px;
    border: 2px solid white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
}

.outline-button:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* サービス概要（数字で見るメリット） */
.service-benefits {
    padding: 80px 0;
    background-color: white;
    position: relative;
    z-index: 2;
    margin-top: -80px;
    border-radius: 30px 30px 0 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-card {
    background-color: #f9f8f4;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

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

.benefit-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.percent, .plus, .times {
    font-size: 22px;
    font-weight: 600;
    margin-left: 5px;
}

.benefit-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.benefit-desc {
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
}

/* サービス特徴 */
.service-features {
    padding: 80px 0;
    background-color: #f9f8f4;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(87, 75, 144, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 30px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary);
}

.feature-card p {
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
}

/* コンサルティングプラン */
.service-plans {
    padding: 80px 0;
    background-color: white;
}

.plan-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.plan-card {
    background-color: #f9f8f4;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.plan-card.recommended {
    background-color: white;
    box-shadow: 0 10px 30px rgba(87, 75, 144, 0.2);
    z-index: 2;
    border: 2px solid var(--primary);
}

.plan-badge {
    position: absolute;
    top: 0;
    right: 30px;
    background-color: var(--primary);
    color: white;
    padding: 5px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 0 0 10px 10px;
    z-index: 3;
}

.plan-header {
    background-color: rgba(87, 75, 144, 0.1);
    padding: 30px;
    text-align: center;
}

.plan-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.plan-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.currency {
    font-size: 18px;
    font-weight: 600;
    margin-left: 5px;
}

.plan-period {
    font-size: 14px;
    color: var(--text);
}

.plan-content {
    padding: 30px;
    flex: 1;
}

.plan-section {
    margin-bottom: 25px;
}

.plan-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    color: var(--dark);
}

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

.plan-section li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    font-size: 14px;
    color: var(--text);
}

.plan-section li:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    position: absolute;
    left: 0;
}

.plan-footer {
    padding: 30px;
    text-align: center;
}

.plan-button {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.plan-button:hover {
    background-color: #4a3f79;
}

/* コンサルティング内容詳細 */
.curriculum-container {
    margin-top: 50px;
}

.curriculum-item {
    margin-bottom: 40px;
    background-color: #f9f8f4;
    border-radius: 10px;
    overflow: hidden;
}

.curriculum-header {
    background-color: rgba(87, 75, 144, 0.1);
    padding: 20px 30px;
}

.curriculum-header h3 {
    font-size: 20px;
    color: var(--primary);
    margin: 0;
}

.curriculum-content {
    padding: 30px;
}

.timeline {
    position: relative;
    list-style: none;
    padding: 0;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: var(--primary);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
}

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

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.timeline-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark);
}

.timeline-content p {
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
}

/* 導入事例 */
.case-studies {
    padding: 80px 0;
    background-color: #f9f8f4;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-study-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

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

.case-study-image {
    height: 200px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-study-card:hover .case-study-image img {
    transform: scale(1.05);
}

.case-study-content {
    padding: 25px;
}

.case-industry {
    display: inline-block;
    background-color: rgba(87, 75, 144, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.case-study-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
}

.case-study-content p {
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
    margin: 0;
}

/* よくある質問 */
.faq-section {
    padding: 80px 0;
    background-color: white;
}

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

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    background-color: #f9f8f4;
    padding: 20px 30px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.faq-toggle i {
    transition: transform 0.3s ease;
}

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

.faq-answer {
    background-color: white;
    padding: 20px 30px;
    display: none;
}

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

.faq-answer p {
    margin: 0;
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
}

/* お問い合わせCTA */
.cta-section {
    padding: 80px 0;
    background-image: linear-gradient(rgba(87, 75, 144, 0.9), rgba(155, 89, 182, 0.8)), url('../assets/images/services/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

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

.cta-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.cta-button {
    display: inline-block;
    background-color: white;
    color: var(--primary);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
    .web-marketing-hero,
    .ai-consulting-hero {
        height: auto;
        min-height: 600px;
        text-align: center;
    }
    
    .page-hero-content {
        margin: 0 auto;
    }
    
    .page-hero-content h1 {
        font-size: 42px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .service-benefits {
        margin-top: 0;
        border-radius: 0;
    }
}

@media (max-width: 768px) {
    .page-hero-content h1 {
        font-size: 36px;
    }
    
    .page-hero-content p {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .web-marketing-hero,
    .ai-consulting-hero {
        min-height: 500px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .primary-button, .outline-button {
        width: 100%;
        justify-content: center;
    }
    
    .page-hero-content h1 {
        font-size: 32px;
    }
}