/* privacy/static/privacy/css/privacy.css */

/* より洗練されたスタイル */
:root {
    --primary-color: #4285F4;
    --primary-dark: #3367D6;
    --text-primary: #2c3e50;
    --text-secondary: #555;
    --background: #f8f9fa;
    --surface: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.1);
}

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

.content {
    animation: fadeIn 0.6s ease-out;
}

/* ナビゲーションバーのアニメーション */
.nav-links a {
    position: relative;
    overflow: hidden;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* セクションのホバー効果 */
h2 {
    transition: all 0.3s ease;
}

h2:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* ボタンスタイル */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* カード効果 */
.info-box {
    transition: all 0.3s ease;
}

.info-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* スクロールトップボタン */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #ecf0f1;
        --text-secondary: #bdc3c7;
        --background: #1a1a1a;
        --surface: #2c2c2c;
        --border-color: #444;
    }
    
    body {
        background-color: var(--background);
        color: var(--text-primary);
    }
    
    .content {
        background-color: var(--surface);
    }
    
    .header {
        background-color: var(--surface);
    }
    
    .info-box {
        background-color: rgba(66, 133, 244, 0.1);
    }
    
    .contact-section {
        background-color: rgba(255, 255, 255, 0.05);
    }
}

/* 印刷用スタイル */
@media print {
    .header, .footer, .scroll-top {
        display: none;
    }
    
    .content {
        box-shadow: none;
        padding: 0;
    }
    
    body {
        background: white;
    }
}
