/* グローバルスタイル */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* ヘッダー */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

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

/* ヒーローセクション */
.hero-section {
    padding-top: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    color: var(--primary-color);
    font-weight: 700;
}

.hero-section .lead {
    color: #666;
    font-size: 1.25rem;
}

/* ボタン */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* カード */
.card {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

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

.card-title {
    color: var(--primary-color);
    font-weight: 600;
}

/* セクション */
section {
    padding: 5rem 0;
}

section h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 3rem;
}

/* プロフィールセクション */
#about {
    background-color: var(--light-bg);
}

#about .lead {
    color: var(--secondary-color);
    font-weight: 500;
}

#about ul li {
    margin-bottom: 1rem;
}

/* お問い合わせセクション */
#contact .card {
    border-radius: 15px;
}

/* フッター */
footer {
    background-color: var(--primary-color);
}

footer h5 {
    color: white;
    font-weight: 600;
}

.social-links a {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color) !important;
    transform: translateY(-3px);
}

/* スクロールトップボタン */
#scrollTop {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#scrollTop:hover {
    transform: translateY(-3px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding-top: 120px;
    }

    .hero-section img {
        margin-top: 2rem;
    }

    section {
        padding: 3rem 0;
    }

    .card {
        margin-bottom: 1.5rem;
    }
}

/* アニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section,
.card,
section {
    animation: fadeIn 1s ease-out;
}