/* Smartmart ロボット導入コンサルティングページ (rc- prefix) */

/* --- ページレイアウト --- */
.rc-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.rc-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

/* --- ページヘッダー --- */
.rc-header {
    margin-bottom: 40px;
}

.rc-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary, #333);
    margin-bottom: 12px;
    line-height: 1.3;
}

.rc-lead {
    font-size: 16px;
    color: var(--text-secondary, #666);
    line-height: 1.7;
}

/* --- カード --- */
.rc-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color, #e0e5eb);
    margin-bottom: 24px;
    overflow: hidden;
}

.rc-card-body {
    padding: 28px 32px;
}

.rc-card-body h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary, #333);
    margin-bottom: 16px;
}

.rc-card-body p {
    font-size: 14px;
    color: var(--text-primary, #333);
    line-height: 1.8;
    margin-bottom: 12px;
}

.rc-card-body p:last-child {
    margin-bottom: 0;
}

/* --- サービス項目グリッド --- */
.rc-service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 8px;
}

.rc-service-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.rc-service-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: var(--primary-color, #0668E1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.rc-service-body h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary, #333);
    margin-bottom: 4px;
}

.rc-service-body p {
    font-size: 13px;
    color: var(--text-secondary, #666);
    margin: 0;
    line-height: 1.6;
}

/* --- ロボットカテゴリ --- */
.rc-category-section {
    margin-bottom: 24px;
}

.rc-category-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color, #0668E1);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rc-category-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.rc-robot-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rc-robot-list li {
    font-size: 13px;
    color: var(--text-primary, #333);
    padding: 4px 0;
    line-height: 1.5;
}

.rc-robot-list li::before {
    content: "•";
    margin-right: 6px;
    color: var(--primary-color, #0668E1);
}

/* --- 導入事例グリッド --- */
.rc-case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.rc-case-card {
    border: 1px solid var(--border-color, #e0e5eb);
    border-radius: 8px;
    padding: 16px;
}

.rc-case-card h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color, #0668E1);
    margin-bottom: 8px;
}

.rc-case-card p {
    font-size: 12px;
    color: var(--text-primary, #333);
    line-height: 1.6;
    margin-bottom: 4px;
}

/* --- タイムライン --- */
.rc-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rc-timeline-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.rc-timeline-num {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    background: var(--primary-color, #0668E1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
}

.rc-timeline-body h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary, #333);
    margin-bottom: 2px;
}

.rc-timeline-body p {
    font-size: 12px;
    color: var(--text-secondary, #666);
    margin: 0;
    line-height: 1.6;
}

/* --- サイドバー --- */
.rc-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* CTAカード */
.rc-cta-card {
    background: var(--primary-color, #0668E1);
    color: white;
    border-radius: 12px;
    padding: 28px;
    text-align: center;
}

.rc-cta-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.rc-cta-card p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0.9;
}

.rc-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    color: var(--primary-color, #0668E1);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}

.rc-cta-btn:hover {
    background: #f0f4ff;
    color: var(--primary-color, #0668E1);
}

/* 実績カード */
.rc-stats-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color, #e0e5eb);
    padding: 24px;
}

.rc-stats-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary, #333);
    margin-bottom: 16px;
}

.rc-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 14px;
}

.rc-stat-label {
    font-size: 13px;
    color: var(--text-secondary, #666);
}

.rc-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color, #0668E1);
    line-height: 1;
}

/* FAQ カード */
.rc-faq-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color, #e0e5eb);
    padding: 24px;
}

.rc-faq-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary, #333);
    margin-bottom: 16px;
}

.rc-faq-item {
    border-bottom: 1px solid var(--border-color, #e0e5eb);
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.rc-faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.rc-faq-q {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary, #333);
    margin-bottom: 6px;
    cursor: pointer;
}

.rc-faq-a {
    font-size: 13px;
    color: var(--text-secondary, #666);
    line-height: 1.7;
}

/* 資料ダウンロードカード */
.rc-dl-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color, #e0e5eb);
    padding: 24px;
}

.rc-dl-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary, #333);
    margin-bottom: 16px;
}

.rc-dl-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.rc-dl-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color, #e0e5eb);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}

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

.rc-dl-item:hover {
    color: var(--primary-color, #0668E1);
}

.rc-dl-item i {
    color: #ef4444;
    font-size: 18px;
    flex-shrink: 0;
}

.rc-dl-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary, #333);
    margin-bottom: 2px;
}

.rc-dl-item:hover .rc-dl-name {
    color: var(--primary-color, #0668E1);
}

.rc-dl-note {
    font-size: 11px;
    color: var(--text-secondary, #666);
}

/* --- レスポンシブ --- */
@media (max-width: 992px) {
    .rc-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .rc-title {
        font-size: 24px;
    }

    .rc-service-grid {
        grid-template-columns: 1fr;
    }

    .rc-category-cols {
        grid-template-columns: repeat(2, 1fr);
    }

    .rc-case-grid {
        grid-template-columns: 1fr;
    }

    .rc-card-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .rc-category-cols {
        grid-template-columns: 1fr;
    }
}
