/* 
 * luckluck - Custom Styles
 * ヘルスケア企業向けデータ活用支援サービス
 */

/* ================================================
   共通設定
   ================================================ */
:root {
    --primary-color: #0056b3;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* スムーススクロール */
html {
    scroll-behavior: smooth;
}

/* セクション共通 */
section {
    scroll-margin-top: 76px; /* ナビゲーション分のオフセット */
}

/* ================================================
   ナビゲーション
   ================================================ */
.navbar {
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* ================================================
   ヒーローセクション
   ================================================ */
.hero-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding-top: 76px; /* ナビゲーション分のパディング */
}

.hero-section h1 {
    color: var(--dark-color);
    animation: fadeInUp 1s ease;
}

.hero-section p {
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: backwards;
}

.hero-section .btn {
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: backwards;
}

.hero-image {
    animation: fadeIn 1.5s ease;
}

/* ================================================
   サービスセクション
   ================================================ */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.card i {
    transition: transform 0.3s ease;
}

.card:hover i {
    transform: scale(1.1);
}

/* ================================================
   実績・事例セクション
   ================================================ */
.case-study-content h3 {
    color: var(--primary-color);
}

.results-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #003d82 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.results-card .display-4 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* ================================================
   プロフィールセクション
   ================================================ */
.profile-image i {
    color: #ddd;
}

/* ================================================
   問い合わせフォーム
   ================================================ */
.form-control, .form-select {
    border-radius: 0.5rem;
    border: 2px solid #e0e0e0;
    transition: border-color 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #003d82;
    border-color: #003d82;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

.btn-outline-primary {
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

/* ================================================
   フッター
   ================================================ */
footer {
    background-color: #212529;
}

/* ================================================
   アニメーション
   ================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ================================================
   レスポンシブ対応
   ================================================ */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .results-card .display-4 {
        font-size: 2.5rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 1rem !important;
    }
}

/* ================================================
   追加のユーティリティ
   ================================================ */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* セクションタイトルの装飾 */
.display-5 {
    position: relative;
    padding-bottom: 1rem;
}

.display-5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* カードの影 */
.shadow-sm {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

/* フォームのプレースホルダー */
.form-control::placeholder,
.form-select::placeholder {
    color: #999;
}

/* ローディング状態 */
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
} 