/* AI質問ナビゲーター プライバシーポリシー スタイルシート */

:root {
    --primary-color: #4285f4;
    --secondary-color: #34a853;
    --accent-color: #ea4335;
    --warning-color: #fbbc04;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --background-primary: #ffffff;
    --background-secondary: #f8f9fa;
    --border-color: #dadce0;
    --shadow-light: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-medium: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-primary);
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2rem 0;
    box-shadow: var(--shadow-medium);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-section h1 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
}

/* メインコンテンツ */
.main-content {
    padding: 3rem 0;
}

.hero-section {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ポリシーカード */
.policy-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.policy-card {
    background: var(--background-secondary);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 2px solid transparent;
}

.policy-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.policy-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: center;
}

.policy-card ul {
    list-style: none;
}

.policy-card li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.policy-card li:before {
    content: "✅";
    flex-shrink: 0;
}

.policy-card code {
    background: rgba(66, 133, 244, 0.1);
    color: var(--primary-color);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* CTA セクション */
.cta-section {
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.05) 0%, rgba(52, 168, 83, 0.05) 100%);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 3rem;
    border: 2px solid rgba(66, 133, 244, 0.1);
}

.cta-section h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    min-width: 200px;
    justify-content: center;
}

.cta-button.primary {
    background: var(--primary-color);
    color: white;
}

.cta-button.primary:hover {
    background: #3367d6;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.cta-button.secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* クイック情報 */
.quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.info-item {
    background: var(--background-secondary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-light);
}

.info-item strong {
    color: var(--primary-color);
}

/* フッター */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* 絵文字 */
.emoji {
    font-size: 1.2em;
    margin-right: 0.3rem;
}

/* プライバシーポリシー詳細ページ用スタイル */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.privacy-content h1 {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 2rem;
}

.privacy-content h2 {
    color: var(--secondary-color);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.privacy-content h3 {
    color: var(--accent-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.highlight {
    background-color: rgba(66, 133, 244, 0.1);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.summary {
    background-color: var(--background-secondary);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    border: 2px solid rgba(66, 133, 244, 0.2);
}

.contact-box {
    background: linear-gradient(135deg, rgba(227, 242, 253, 0.8) 0%, rgba(227, 242, 253, 1) 100%);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    border: 2px solid rgba(66, 133, 244, 0.3);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--background-secondary);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

th, td {
    border: 1px solid var(--border-color);
    padding: 1rem;
    text-align: left;
}

th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

tr:nth-child(even) {
    background: rgba(248, 249, 250, 0.5);
}

.last-updated {
    color: var(--text-secondary);
    font-size: 0.9em;
    text-align: right;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
    font-size: 1.2rem;
}

.back-to-top:hover {
    transform: translateY(-3px);
    background: #3367d6;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .policy-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .quick-info {
        grid-template-columns: 1fr;
    }
    
    .info-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .privacy-content {
        padding: 1rem;
    }
    
    .privacy-content h1 {
        font-size: 1.8rem;
    }
    
    .privacy-content h2 {
        font-size: 1.4rem;
    }
    
    .highlight, .summary, .contact-box {
        padding: 1rem;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .policy-card {
        padding: 1.5rem;
    }
    
    .cta-section {
        padding: 1.5rem 1rem;
    }
    
    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

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

.policy-card {
    animation: fadeInUp 0.6s ease-out;
}

.policy-card:nth-child(2) {
    animation-delay: 0.2s;
}

.policy-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* フォーカス状態のアクセシビリティ */
.lang-btn:focus,
.cta-button:focus,
.footer-links a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* 印刷用スタイル */
@media print {
    .header,
    .footer,
    .back-to-top,
    .language-switcher {
        display: none;
    }
    
    .privacy-content {
        margin: 0;
        padding: 0;
    }
    
    * {
        color: black !important;
        background: white !important;
    }
}-section {
        padding: 2rem 1rem;
    }
    
    .cta
