/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', Meiryo, sans-serif;
    line-height: 1.8;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    min-height: 100vh;
    padding: 20px;
}

/* コンテナ */
.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* ヘッダー */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px 40px;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.app-name {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 16px;
    opacity: 0.95;
}

.last-updated {
    font-size: 0.95rem;
    opacity: 0.85;
    font-weight: 300;
}

/* メインコンテンツ */
main {
    padding: 50px 40px;
}

section {
    margin-bottom: 50px;
}

section:last-child {
    margin-bottom: 0;
}

h2 {
    font-size: 1.8rem;
    color: #667eea;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #667eea;
    font-weight: 600;
}

h3 {
    font-size: 1.3rem;
    color: #555;
    margin-top: 28px;
    margin-bottom: 16px;
    font-weight: 600;
}

p {
    margin-bottom: 16px;
    font-size: 1.05rem;
    color: #444;
}

ul {
    margin: 20px 0;
    padding-left: 24px;
}

li {
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: #444;
    line-height: 1.8;
}

li strong {
    color: #667eea;
    font-weight: 600;
}

/* 注記 */
.note {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 6px;
    font-size: 1rem;
}

.note strong {
    color: #856404;
}

/* リンク */
a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.2s ease;
}

a:hover {
    border-bottom: 1px solid #667eea;
}

/* コンタクト情報 */
.contact-info {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    padding: 24px;
    margin-top: 20px;
    border-radius: 8px;
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info p:last-child {
    margin-top: 16px;
    font-size: 0.95rem;
    color: #666;
}

/* フッター */
footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 30px 40px;
    font-size: 0.95rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        border-radius: 12px;
    }

    header {
        padding: 40px 24px 30px;
    }

    header h1 {
        font-size: 2rem;
    }

    .app-name {
        font-size: 1.1rem;
    }

    main {
        padding: 30px 24px;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    p, li {
        font-size: 1rem;
    }

    footer {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.7rem;
    }

    .app-name {
        font-size: 1rem;
    }

    .last-updated {
        font-size: 0.9rem;
    }

    main {
        padding: 24px 20px;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .contact-info {
        padding: 20px;
    }
}

/* アニメーション */
@media (prefers-reduced-motion: no-preference) {
    section {
        animation: fadeIn 0.6s ease-in;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* 印刷スタイル */
@media print {
    body {
        background: white;
        padding: 0;
    }

    .container {
        box-shadow: none;
        border-radius: 0;
    }

    header {
        background: #667eea;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    section {
        page-break-inside: avoid;
    }
}
