/* プライバシーポリシーページ専用スタイル */

/* リセットと基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラーパレット */
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    
    /* グレースケール */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* タイポグラフィ */
    --font-primary: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* シャドウ */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* その他 */
    --border-radius: 0.75rem;
    --border-radius-sm: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-out;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* ナビゲーション */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.nav-brand:hover {
    text-decoration: none;
}

.nav-brand .app-logo {
    margin-top: 3px;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    flex-shrink: 0;
    background-image: url('../images/logo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.nav-brand .brand-text {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: var(--font-secondary);
    letter-spacing: -0.02em;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.1));
}

.j-letter {
    color: #007AFF;
}

.other-letters {
    color: #8E8E93;
}

.plus {
    color: #8E8E93;
    font-weight: 900;
    font-size: 1.1em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center; /* 垂直方向の中央揃えを追加 */
}

.nav-link {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* プライバシーメインコンテンツ */
.privacy-main {
    padding-top: 70px;
    min-height: 100vh;
}

/* プライバシーヒーローセクション */
.privacy-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 60%, rgba(16, 185, 129, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.3) 0%, transparent 50%);
}

.privacy-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    font-family: var(--font-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.privacy-title i {
    font-size: 2.5rem;
    color: var(--success-color);
}

.privacy-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.last-updated {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
}

/* プライバシーコンテンツ */
.privacy-content {
    padding: 4rem 0;
    background: var(--white);
}

.privacy-section {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 3rem;
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary-color);
    scroll-margin-top: 100px;
}

.privacy-section.overview {
    border-left-color: var(--info-color);
}

.privacy-section.disclaimer {
    border-left-color: var(--warning-color);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(239, 68, 68, 0.05));
}

.section-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin-top: 0.5rem;
}

.overview .section-icon {
    background: linear-gradient(135deg, var(--info-color), var(--accent-color));
}

.disclaimer .section-icon {
    background: linear-gradient(135deg, var(--warning-color), var(--danger-color));
}

.section-content {
    flex: 1;
}

.section-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    font-family: var(--font-secondary);
}

.content-text {
    color: var(--gray-700);
    line-height: 1.8;
}

.content-text p {
    margin-bottom: 1.5rem;
}

/* 基本原則 */
.key-principles h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 2rem 0 1.5rem 0;
}

.principle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.principle-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(16, 185, 129, 0.05));
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: var(--transition);
}

.principle-item:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.1));
    transform: translateY(-2px);
}

.principle-item i {
    font-size: 2rem;
    color: var(--success-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.principle-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.principle-content p {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin: 0;
}

/* データカテゴリー */
.data-categories {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.data-category {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.data-category.collected {
    border: 2px solid var(--success-color);
}

.data-category.not-collected {
    border: 2px solid var(--gray-300);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    font-weight: 600;
}

.data-category.collected .category-header {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 182, 212, 0.1));
    color: var(--success-color);
}

.data-category.not-collected .category-header {
    background: var(--gray-100);
    color: var(--gray-700);
}

.category-header i {
    font-size: 1.5rem;
}

.category-header h3 {
    font-size: 1.25rem;
    margin: 0;
}

.category-content {
    padding: 2rem;
    background: var(--white);
}

.data-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.data-list li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--primary-color);
}

.data-list li strong {
    color: var(--gray-800);
    font-weight: 600;
}

.data-list li span {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.storage-note {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: var(--border-radius);
    border-left: 4px solid var(--success-color);
}

.storage-note i {
    font-size: 1.5rem;
    color: var(--success-color);
    flex-shrink: 0;
}

.storage-note p {
    margin: 0;
    color: var(--gray-700);
    font-weight: 500;
}

/* ストレージ詳細 */
.storage-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.storage-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.storage-item:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.storage-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.storage-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.storage-info p {
    color: var(--gray-600);
    margin: 0;
}

/* バックアップ機能 */
.backup-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.backup-feature {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.05), rgba(59, 130, 246, 0.05));
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--accent-color);
}

.backup-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.backup-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.backup-info p {
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

/* 第三者共有なし */
.no-sharing-notice {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(245, 158, 11, 0.1));
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--danger-color);
    margin-bottom: 2rem;
}

.notice-icon {
    flex-shrink: 0;
    font-size: 2rem;
    color: var(--danger-color);
}

.notice-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.notice-content p {
    color: var(--gray-700);
    margin: 0;
    font-weight: 500;
}

.sharing-details h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.sharing-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sharing-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--border-radius);
}

.sharing-list li i {
    color: var(--danger-color);
    font-size: 1.125rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.sharing-list li span {
    color: var(--gray-700);
}

/* 法的開示 */
.legal-disclosure {
    margin-top: 1rem;
}

.disclosure-note h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.legal-reasons {
    list-style: none;
    margin: 1rem 0;
    padding-left: 0;
}

.legal-reasons li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-600);
}

.legal-reasons li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.protection-guarantee {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: var(--border-radius);
    border-left: 4px solid var(--success-color);
}

.guarantee-icon {
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--success-color);
}

.protection-guarantee p {
    margin: 0;
    color: var(--gray-700);
    font-weight: 500;
}

/* セキュリティ対策 */
.security-measures {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.security-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.security-item:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.security-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--success-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.security-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.security-info p {
    color: var(--gray-600);
    margin: 0;
}

/* ユーザー権利 */
.user-rights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.right-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.right-item:hover {
    background: var(--gray-100);
    transform: translateY(-5px);
}

.right-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.right-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
}

.right-info p {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.6;
}

/* 子どものプライバシー */
.child-protection {
    margin-top: 1rem;
}

.child-safety-measures h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 2rem 0 1rem 0;
}

.safety-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.safety-list li {
    position: relative;
    padding-left: 2rem;
    color: var(--gray-600);
}

.safety-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.125rem;
}

.parent-guidance {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(239, 68, 68, 0.1));
    border-radius: var(--border-radius);
    border-left: 4px solid var(--warning-color);
}

.guidance-icon {
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--warning-color);
}

.guidance-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.guidance-content p {
    color: var(--gray-700);
    margin: 0;
    line-height: 1.6;
}

/* 国際的なデータ移転 */
.data-transfer-info {
    margin-top: 1rem;
}

.no-transfer-notice {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--success-color);
    margin-bottom: 2rem;
}

.no-transfer-notice .notice-icon {
    color: var(--success-color);
}

.local-processing h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.benefit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.benefit-list li {
    position: relative;
    padding-left: 2rem;
    color: var(--gray-600);
}

.benefit-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.125rem;
}

/* ポリシー更新 */
.policy-updates {
    margin-top: 1rem;
}

.update-process h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 2rem 0 1.5rem 0;
}

.update-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.update-step {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--border-radius-lg);
}

.step-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.step-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--gray-600);
    margin: 0;
}

.version-history {
    margin-top: 2rem;
}

.version-history h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.history-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--info-color);
}

.history-date {
    flex-shrink: 0;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.875rem;
}

.history-content {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* お問い合わせ */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.contact-method:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.contact-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.contact-details h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.response-time {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.inquiry-note {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--accent-color);
}

.note-icon {
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--accent-color);
}

.note-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.note-content p {
    color: var(--gray-700);
    margin: 0;
    line-height: 1.6;
}

/* 免責事項 */
.disclaimer-content {
    margin-top: 1rem;
}

.disclaimer-points {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.disclaimer-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(239, 68, 68, 0.05));
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--warning-color);
}

.disclaimer-item i {
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--warning-color);
    margin-top: 0.25rem;
}

.disclaimer-text h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.disclaimer-text p {
    color: var(--gray-700);
    margin: 0;
    line-height: 1.6;
}

.emergency-notice {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1));
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--danger-color);
    margin-top: 2rem;
}

.emergency-icon {
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--danger-color);
    margin-top: 0.25rem;
}

.emergency-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.emergency-content p {
    color: var(--gray-700);
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
}

/* フッター */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand .app-logo {
    margin-top: 3px;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    flex-shrink: 0;
    background-image: url('../images/logo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.footer-brand .brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-secondary);
    letter-spacing: -0.02em;
}

.footer-brand .j-letter {
    color: #3b82f6;
}

.footer-brand .other-letters {
    color: var(--gray-400);
}

.footer-brand .plus {
    color: var(--gray-400);
    font-weight: 700;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-400);
    font-size: 0.875rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: start;
        padding-top: 2rem;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .privacy-title {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .privacy-section {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }

    .section-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto;
    }

    .section-content h2 {
        font-size: 1.75rem;
        text-align: center;
    }

    .principle-grid {
        grid-template-columns: 1fr;
    }

    .user-rights {
        grid-template-columns: 1fr;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .inquiry-note {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .privacy-hero {
        padding: 3rem 0;
    }

    .privacy-title {
        font-size: 2rem;
    }

    .privacy-subtitle {
        font-size: 1rem;
    }

    .privacy-section {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }

    .section-content h2 {
        font-size: 1.5rem;
    }

    .disclaimer-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .emergency-notice {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .principle-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .storage-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .backup-feature {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .security-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

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

/* スクロールバーのカスタマイズ（Webkit系ブラウザ） */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* フォーカス状態の改善（アクセシビリティ） */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* 印刷スタイル */
@media print {
    .navbar,
    .footer,
    .hamburger {
        display: none;
    }

    .privacy-main {
        padding-top: 0;
    }

    .privacy-section {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--gray-300);
        margin-bottom: 2rem;
    }

    .section-icon {
        background: var(--gray-600) !important;
        -webkit-print-color-adjust: exact;
    }
}

/* 言語切替ボタンのスタイル */
.language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 40px; /* 高さを固定してナビメニューと同じ高さに */
}

.nav-link {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    display: flex;
    align-items: center; /* ナビリンクも中央揃えに */
    height: 40px; /* ナビリンクの高さを統一 */
}

.language-link {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.language-link:hover {
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.1);
}

.language-link.active {
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.1);
    font-weight: 600;
}

.language-separator {
    color: var(--gray-400);
    font-weight: 300;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .language-toggle {
        order: -1; /* モバイルでは最上部に表示 */
        margin-bottom: 1rem;
    }
}