@charset "UTF-8";

/* ══════════════════════════════════════════════════
   USECASE PAGE - OTASUKE AI
   ホームページのデザインシステムに準拠
   ══════════════════════════════════════════════════ */

/* ─── ページ全体 ─── */
.usecase-page {
    padding-top: 100px;
}

/* ─── Lottie アニメーション ─── */
.hero-lottie {
    display: block;
    width: 340px;
    height: 340px;
    margin: 0 auto;
}

.counter-lottie {
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 auto 8px;
}

.cta-lottie {
    display: block;
    width: 160px;
    height: 160px;
    margin: 0 auto 10px;
}

@media (max-width: 991px) {
    .hero-lottie {
        width: 260px;
        height: 260px;
    }
}

@media (max-width: 767px) {
    .counter-lottie {
        width: 60px;
        height: 60px;
    }

    .cta-lottie {
        width: 120px;
        height: 120px;
    }
}

/* ─── ヒーローセクション ─── */
.usecase-hero {
    background: linear-gradient(135deg, #003366 0%, #0066CC 60%, #4EAEFF 100%);
    padding: 80px 0 70px;
    position: relative;
    overflow: hidden;
}

.usecase-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(78, 174, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.usecase-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.usecase-hero .container {
    position: relative;
    z-index: 1;
}

.usecase-hero .hero-label {
    display: inline-block;
    font-family: "DM Sans", "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #4EAEFF;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(78, 174, 255, 0.3);
    border-radius: 50px;
    padding: 6px 20px;
    margin-bottom: 20px;
}

.usecase-hero h1 {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 16px;
}

.usecase-hero h1 .accent {
    color: #FFD700;
}

.usecase-hero .hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    max-width: 680px;
}

/* ─── ブレッドクラム ─── */
.breadcrumb-section {
    background: #fff;
    padding: 14px 0;
    border-bottom: 1px solid #E8EEF4;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: #8899AA;
}

.breadcrumb-list a {
    color: #0066CC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: #004A99;
}

.breadcrumb-list li::after {
    content: '>';
    margin-left: 8px;
    color: #AEBAC6;
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list li:last-child {
    color: #2F363D;
}


/* ─── 導入メッセージ ─── */
.usecase-intro {
    padding: 80px 0 60px;
    background: #fff;
}

.usecase-intro .section-label {
    font-family: "DM Sans", "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #0066CC;
    text-align: center;
    margin-bottom: 10px;
}

.usecase-intro h2 {
    font-size: 32px;
    font-weight: 900;
    text-align: center;
    color: #2F363D;
    margin-bottom: 20px;
    line-height: 1.5;
}

.usecase-intro .intro-desc {
    text-align: center;
    color: #5A6872;
    font-size: 15px;
    line-height: 1.9;
    max-width: 700px;
    margin: 0 auto;
}

/* 数字カウンター */
.intro-counters {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.counter-item {
    text-align: center;
}

.counter-num {
    font-family: "DM Sans", "Noto Sans JP", sans-serif;
    font-size: 56px;
    font-weight: 800;
    color: #0066CC;
    line-height: 1;
    display: block;
}

.counter-num .unit {
    font-size: 20px;
    font-weight: 700;
    color: #2F363D;
    margin-left: 2px;
}

.counter-label {
    font-size: 14px;
    color: #5A6872;
    margin-top: 8px;
}


/* ─── カテゴリフィルター ─── */
.usecase-filter {
    padding: 0 0 50px;
    background: #fff;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 50px;
    border: 2px solid #D4E8FC;
    background: #fff;
    color: #2F363D;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Noto Sans JP", sans-serif;
}

.filter-tab:hover {
    border-color: #0066CC;
    color: #0066CC;
    background: #F0F7FF;
}

.filter-tab.active {
    background: #0066CC;
    border-color: #0066CC;
    color: #fff;
}

.filter-tab svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}


/* ─── ユースケースカード一覧 ─── */
.usecase-grid {
    padding: 60px 0 80px;
    background: #F0F5FA;
}

.usecase-grid h2 {
    font-size: 28px;
    margin-bottom: 50px;
}

.usecase-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 51, 102, 0.06);
    transition: all 0.4s ease;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.usecase-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 51, 102, 0.12);
}

.usecase-card-header {
    padding: 28px 28px 20px;
    position: relative;
}

.usecase-card-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}

/* カテゴリカラー */
.cat-proposal { background: #E8F0FE; color: #1A56DB; }
.cat-data { background: #E5F6E8; color: #1A8A3F; }
.cat-research { background: #FFF3E0; color: #C67600; }
.cat-content { background: #FCE4EC; color: #C62828; }
.cat-automation { background: #F3E5F5; color: #7B1FA2; }
.cat-support { background: #E1F5FE; color: #0277BD; }
.cat-dev { background: #EDE7F6; color: #4527A0; }
.cat-sales { background: #FFF8E1; color: #F57F17; }

.usecase-card-title {
    font-size: 20px;
    font-weight: 800;
    color: #2F363D;
    line-height: 1.5;
    margin-bottom: 10px;
}

.usecase-card-desc {
    font-size: 14px;
    color: #5A6872;
    line-height: 1.8;
    margin-bottom: 0;
}

.usecase-card-body {
    padding: 0 28px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Before / After */
.usecase-before-after {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.ba-item {
    flex: 1;
    border-radius: 10px;
    padding: 16px;
    font-size: 13px;
    line-height: 1.7;
}

.ba-before {
    background: #FFF5F5;
    border: 1px solid #FFCCCC;
}

.ba-after {
    background: #F0FFF4;
    border: 1px solid #B7EBC8;
}

.ba-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ba-before .ba-label { color: #C53030; }
.ba-after .ba-label { color: #22863A; }

/* メタ情報 */
.usecase-card-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #F0F2F5;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #5A6872;
}

.meta-item svg {
    width: 14px;
    height: 14px;
    color: #0066CC;
    flex-shrink: 0;
}

.meta-item strong {
    color: #2F363D;
    font-weight: 700;
}

/* 成果物タグ */
.usecase-deliverables {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}

.deliverable-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    background: #F0F5FA;
    color: #2F363D;
}


/* ─── 業界別セクション ─── */
.usecase-industry {
    padding: 80px 0;
    background: #fff;
}

.usecase-industry h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.usecase-industry h2 .en {
    font-family: "DM Sans", "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #0066CC;
    display: block;
    margin-bottom: 6px;
}

.industry-desc {
    text-align: center;
    color: #5A6872;
    font-size: 15px;
    margin-bottom: 50px;
}

.industry-card {
    background: #F0F5FA;
    border-radius: 16px;
    padding: 36px 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.industry-card:hover {
    background: #E8F0FE;
    transform: translateY(-4px);
}

.industry-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.08);
}

.industry-icon svg {
    width: 32px;
    height: 32px;
    color: #0066CC;
}

.industry-card h4 {
    font-size: 18px;
    font-weight: 800;
    color: #2F363D;
    margin-bottom: 12px;
}

.industry-card p {
    font-size: 13px;
    color: #5A6872;
    line-height: 1.8;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
}

.industry-tags span {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    background: #fff;
    color: #0066CC;
    border: 1px solid #D4E8FC;
}


/* ─── 導入効果セクション ─── */
.usecase-impact {
    padding: 80px 0;
    background: linear-gradient(135deg, #003366 0%, #0055AA 100%);
    position: relative;
    overflow: hidden;
}

.usecase-impact::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(78, 174, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.usecase-impact h2 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.usecase-impact h2 .en {
    font-family: "DM Sans", "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #4EAEFF;
    display: block;
    margin-bottom: 6px;
}

.impact-desc {
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.impact-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    position: relative;
    z-index: 1;
    height: 100%;
}

.impact-number {
    font-family: "DM Sans", "Noto Sans JP", sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: #FFD700;
    line-height: 1;
    margin-bottom: 6px;
}

.impact-number .unit {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 2px;
}

.impact-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.impact-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}


/* ─── CTA セクション ─── */
.usecase-cta {
    padding: 80px 0;
    background: #F0F5FA;
    text-align: center;
}

.usecase-cta h2 {
    font-size: 32px;
    font-weight: 900;
    color: #2F363D;
    margin-bottom: 16px;
    line-height: 1.5;
}

.usecase-cta .cta-desc {
    font-size: 15px;
    color: #5A6872;
    margin-bottom: 40px;
    line-height: 1.8;
}

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

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: #fff;
    border: none;
    border-radius: 70px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
    color: #fff;
    text-decoration: none;
}

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 40px;
    background: #fff;
    color: #0066CC;
    border: 2px solid #0066CC;
    border-radius: 70px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
    background: #0066CC;
    color: #fff;
    transform: translateY(-3px);
    text-decoration: none;
}

.cta-tel {
    margin-top: 30px;
    font-size: 14px;
    color: #5A6872;
}

.cta-tel a {
    color: #0066CC;
    font-weight: 700;
    font-size: 20px;
    font-family: "DM Sans", "Noto Sans JP", sans-serif;
    text-decoration: none;
}


/* ══════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════ */

@media (max-width: 991px) {
    .usecase-hero {
        padding: 60px 0 50px;
    }

    .usecase-hero h1 {
        font-size: 30px;
    }

    .intro-counters {
        gap: 30px;
    }

    .counter-num {
        font-size: 42px;
    }

    .usecase-before-after {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .usecase-page {
        padding-top: 62px;
    }

    .usecase-hero {
        padding: 45px 0 40px;
    }

    .usecase-hero h1 {
        font-size: 24px;
    }

    .usecase-hero .hero-desc {
        font-size: 14px;
    }

    .usecase-intro h2,
    .usecase-industry h2,
    .usecase-impact h2,
    .usecase-cta h2 {
        font-size: 24px;
    }

    .usecase-grid h2 {
        font-size: 22px;
    }

    .intro-counters {
        gap: 20px;
    }

    .counter-num {
        font-size: 36px;
    }

    .counter-num .unit {
        font-size: 16px;
    }

    .filter-tabs {
        gap: 8px;
    }

    .filter-tab {
        padding: 8px 16px;
        font-size: 13px;
    }

    .usecase-card-header {
        padding: 20px 20px 14px;
    }

    .usecase-card-body {
        padding: 0 20px 20px;
    }

    .usecase-card-title {
        font-size: 18px;
    }

    .industry-card {
        padding: 28px 20px;
    }

    .impact-number {
        font-size: 38px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn-primary,
    .cta-btn-secondary {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}
