/* ===========================
   INTER CONNECT 完全版ホームページ
   各セクション独自デザイン
   =========================== */

/* ===========================
   1. サービス概要セクション
   グラデーションカードデザイン
   =========================== */
.service-overview {
    position: relative;
    padding: 120px 0;
    background: #ffffff;
    overflow: hidden;
}

.service-overview::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

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

.service-card {
    position: relative;
    padding: 40px 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 102, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #0066ff, #00d4ff);
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.2);
}

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

.service-card-inner {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 35px 25px;
    margin: -35px -25px;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    color: #0066ff;
}

.service-icon i {
    font-size: 3rem;
    color: #0066ff;
}

/* ===========================
   2. 他社との違いセクション
   比較テーブルデザイン
   =========================== */
.comparison {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.comparison-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 60px;
}

.comparison-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.comparison-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.problem-content {
    background: linear-gradient(135deg, #fff5f5 0%, #fef2f2 100%);
    padding: 50px;
    position: relative;
    border-right: 1px dashed #e5e7eb;
}

.problem-content::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #dc2626;
    border-radius: 50%;
    opacity: 0.1;
}

.our-solution {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
    padding: 50px;
    position: relative;
}

.our-solution::before {
    content: '';
    position: absolute;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #0066ff;
    border-radius: 50%;
    opacity: 0.1;
}

.problem-title {
    font-size: 1.5rem;
    color: #dc2626;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.problem-title i {
    font-size: 1.75rem;
}

.solution-title {
    font-size: 1.5rem;
    color: #0066ff;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.solution-title i {
    font-size: 1.75rem;
}

.problem-content ul,
.our-solution ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.problem-content li,
.our-solution li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    line-height: 1.8;
}

.problem-content li::before {
    content: '×';
    position: absolute;
    left: 0;
    top: 0;
    color: #dc2626;
    font-weight: 700;
    font-size: 1.25rem;
}

.our-solution li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #0066ff;
    font-weight: 700;
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .comparison-item {
        grid-template-columns: 1fr;
    }
    
    .problem-content {
        border-right: none;
        border-bottom: 1px dashed #e5e7eb;
    }
}

/* ===========================
   3. 成功事例セクション
   タイムラインデザイン
   =========================== */
.success-stories {
    position: relative;
    padding: 120px 0;
    background: white;
}

.case-studies {
    position: relative;
    margin-top: 80px;
}

.case-study {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 80px;
    padding: 50px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.case-study:nth-child(even) {
    background: linear-gradient(135deg, #ffffff 0%, #fff7f0 100%);
}

.case-study-header {
    position: relative;
}

.case-number {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.case-content h4 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 20px;
}

.case-metrics {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.metric-box {
    background: white;
    padding: 20px 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    min-width: 150px;
}

.metric-value {
    font-size: 2rem;
    font-weight: 800;
    color: #0066ff;
    display: block;
}

.metric-label {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 5px;
}

/* ===========================
   4. 実績データセクション
   ダッシュボードデザイン
   =========================== */
.performance-data {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #0066ff 0%, #004fc4 100%);
    overflow: hidden;
}

.performance-data * {
    color: white !important;
}

.performance-data::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff10" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,138.7C672,149,768,203,864,213.3C960,224,1056,192,1152,165.3C1248,139,1344,117,1392,106.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

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

.data-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.data-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.data-value {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
}

.data-label {
    font-size: 1.125rem;
    color: white;
    opacity: 1;
}

/* ===========================
   5. 料金プランセクション
   プライシングカードデザイン
   =========================== */
.pricing {
    position: relative;
    padding: 120px 0;
    background: #f8fafc;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
    align-items: start;
}

.pricing-card {
    position: relative;
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.pricing-card.featured {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.2);
    border: 2px solid #0066ff;
}

.pricing-card.featured::before {
    content: '人気No.1';
    position: absolute;
    top: -15px;
    right: 30px;
    background: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.875rem;
}

.pricing-header {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    color: #0066ff;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: #64748b;
}

.pricing-features {
    padding: 30px 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #475569;
}

.pricing-features li::before {
    content: '✓';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ===========================
   6. 入会プロセスセクション
   ステップデザイン
   =========================== */
.join-process {
    position: relative;
    padding: 100px 0;
    background: white;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 60px auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 4px;
    background: #e5e7eb;
    z-index: 0;
}

.process-step {
    position: relative;
    text-align: center;
    flex: 1;
    z-index: 1;
}

.step-circle {
    width: 80px;
    height: 80px;
    background: white;
    border: 4px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    font-weight: 800;
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.process-step.active .step-circle {
    background: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    border-color: #0066ff;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.step-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.step-time {
    display: inline-block;
    background: #f3f4f6;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 10px;
}

/* ===========================
   7. FAQセクション
   アコーディオンデザイン
   =========================== */
.faq {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.faq-categories {
    display: grid;
    gap: 40px;
    margin-top: 60px;
}

.faq-category {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.faq-category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0066ff;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-question::before {
    content: 'Q';
    display: inline-block;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-weight: 700;
    flex-shrink: 0;
}

.faq-answer {
    color: #64748b;
    padding-left: 40px;
    line-height: 1.8;
}

/* ===========================
   8. ニュースセクション
   タイムラインデザイン
   =========================== */
.news {
    position: relative;
    padding: 100px 0;
    background: white;
}

.news-timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto;
    padding-left: 40px;
}

.news-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #0066ff 0%, #00d4ff 100%);
}

.news-month {
    position: relative;
    margin-bottom: 40px;
}

.month-marker {
    position: absolute;
    left: -40px;
    top: 0;
    width: 30px;
    height: 30px;
    background: white;
    border: 3px solid #0066ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.month-marker::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #0066ff;
    border-radius: 50%;
}

.news-items {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px;
    margin-left: 20px;
}

.news-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

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

.news-category {
    display: inline-block;
    background: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    color: white;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ===========================
   9. CTAセクション
   グラデーションCTAデザイン
   =========================== */
.cta-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #0066ff 0%, #004fc4 100%);
    overflow: hidden;
}

.cta-section * {
    color: white !important;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

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

.cta-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.cta-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cta-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-icon i {
    font-size: 3rem;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #004fc4 !important;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
}

/* CTAボタンのテキスト色を確実に青にする */
.cta-card .cta-button {
    color: #004fc4 !important;
}

.cta-section a.cta-button {
    color: #004fc4 !important;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
    color: #003399 !important;
    background: #f0f7ff;
}

/* ===========================
   共通スタイル
   =========================== */
.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.highlight-text {
    background: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.emphasis-box {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    padding: 40px;
    border-radius: 20px;
    margin: 40px 0;
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.15);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 102, 255, 0.1);
}

.emphasis-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.05) 0%, transparent 50%);
    transform: rotate(45deg);
}

.emphasis-box h4 {
    position: relative;
    color: #0066ff;
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.emphasis-box ul {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
}

.emphasis-box li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.emphasis-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0066ff;
    font-weight: 700;
    font-size: 1.25rem;
}

/* ヒーローボタン */
.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.hero-buttons .btn {
    padding: 15px 30px;
    font-size: 1.125rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-light:hover {
    background: white;
    color: #0066ff;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    /* セクション余白調整 */
    section {
        padding: 60px 0;
    }
    
    /* タイトル文字サイズ */
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    /* サービスカード */
    .service-card h3 {
        font-size: 1.25rem;
    }
    
    .case-study {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }
    
    .process-timeline {
        flex-direction: column;
    }
    
    .process-timeline::before {
        top: 0;
        left: 40px;
        right: auto;
        width: 4px;
        height: 100%;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
    }
    
    /* 強調ボックス */
    .emphasis-box {
        padding: 30px;
        margin: 30px 0;
    }
    
    .emphasis-box h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* より小さい画面向け */
    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .section-description {
        font-size: 0.9rem;
    }
    
    /* サービスカード */
    .service-card {
        padding: 20px;
    }
    
    .service-card h3 {
        font-size: 1.125rem;
    }
    
    .service-card p {
        font-size: 0.875rem;
    }
    
    /* 比較アイテム */
    .comparison-item h3 {
        font-size: 1.125rem;
    }
    
    .problem-content,
    .solution-content {
        padding: 20px;
    }
    
    /* ケーススタディ */
    .case-study {
        padding: 20px;
        gap: 20px;
    }
    
    .case-info h3 {
        font-size: 1.125rem;
        margin-bottom: 10px;
    }
    
    .case-info .tag {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    
    .case-info p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .challenge,
    .solution {
        padding: 15px;
    }
    
    .challenge h4,
    .solution h4 {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .challenge p,
    .solution p {
        font-size: 0.8rem;
    }
    
    .case-result h4 {
        font-size: 0.9rem;
    }
    
    .result-item {
        padding: 10px;
    }
    
    .result-value {
        font-size: 1.25rem;
    }
    
    .result-label {
        font-size: 0.75rem;
    }
    
    /* 実績数値 */
    .data-value {
        font-size: 2.5rem;
    }
    
    .data-label {
        font-size: 0.875rem;
    }
    
    /* 料金カード */
    .pricing-card {
        padding: 30px 20px;
    }
    
    .pricing-price {
        font-size: 2rem;
    }
    
    /* プロセスステップ */
    .process-step {
        padding: 20px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* FAQ */
    .faq-item h4 {
        font-size: 1rem;
        padding: 15px 40px 15px 15px;
    }
    
    /* 強調ボックス */
    .emphasis-box {
        padding: 20px;
        margin: 20px 0;
    }
    
    .emphasis-box h2 {
        font-size: 1.25rem;
    }
    
    .emphasis-box p {
        font-size: 0.875rem;
    }
    
    /* CTAボタン */
    .cta-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    /* コンタクトグリッド */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* 最新ニュース */
    .news-category {
        font-size: 0.7rem;
        padding: 2px 8px;
        border-radius: 10px;
    }
    
    .news-item {
        padding: 15px;
    }
    
    .news-item h4 {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .news-item p {
        font-size: 0.8rem;
    }
}

@media (max-width: 320px) {
    /* 極小画面向け */
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-description {
        font-size: 0.85rem;
    }
    
    /* ボタン */
    .cta-button {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    /* カード類の最小幅調整 */
    .service-card,
    .pricing-card,
    .process-step {
        min-width: unset;
    }
    
    /* 最新ニュース - 極小画面 */
    .news-category {
        font-size: 0.65rem;
        padding: 1px 6px;
    }
    
    .news-item h4 {
        font-size: 0.85rem;
    }
}