/* 共通スタイル */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ヘッダー */
.site-header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.site-header .navbar-brand {
    font-weight: bold;
    color: var(--primary-color);
}

/* メインコンテンツ */
.main-content {
    margin-top: 76px;
    min-height: calc(100vh - 160px);
    padding: 2rem 0;
}

/* フッター */
.site-footer {
    background: var(--dark-color);
    color: #fff;
    padding: 2rem 0;
    margin-top: 2rem;
}

/* ヒーローセクション */
.hero-section {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

/* 機能カード */
.feature-card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card .card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* プライシングテーブル */
.pricing-table {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.pricing-table .pricing-header {
    background: var(--light-color);
    padding: 1.5rem;
    text-align: center;
}

.pricing-table .price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* フォーム */
.form-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 2rem;
}

/* ステップインジケーター */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 0;
    right: 0;
    height: 2px;
    background: #dee2e6;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    background: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #fff;
}

.step.completed {
    border-color: var(--success-color);
    background: var(--success-color);
    color: #fff;
}

/* データテーブル */
.data-table {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.data-table th {
    background: var(--light-color);
    font-weight: 600;
}

/* ダッシュボードカード */
.dashboard-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.dashboard-card .card-title {
    color: var(--secondary-color);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.dashboard-card .card-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--dark-color);
}

/* アラート */
.custom-alert {
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: none;
}

.custom-alert.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.custom-alert.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* モーダル */
.custom-modal .modal-content {
    border-radius: 8px;
    border: none;
}

.custom-modal .modal-header {
    background: var(--light-color);
    border-bottom: 1px solid #dee2e6;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .main-content {
        margin-top: 56px;
    }
}
