/* 法的事項ページ用スタイル */
.legal-content {
    padding: 130px 5% 5rem;
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.legal-container h1 {
    font-size: 2.2rem;
    color: #1a4d8f;
    margin-bottom: 1rem;
    font-weight: 700;
    border-bottom: 3px solid #1a4d8f;
    padding-bottom: 1rem;
}

.last-updated {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    text-align: right;
}

.legal-text {
    line-height: 1.8;
    color: #2c3e50;
}

.legal-text h2 {
    font-size: 1.5rem;
    color: #1a4d8f;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    padding-left: 0.5rem;
    border-left: 4px solid #1a4d8f;
}

.legal-text h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.legal-text p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.8;
}

.legal-text ul,
.legal-text ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.8;
}

.legal-text ol > li {
    margin-bottom: 0.8rem;
}

.legal-text ul > li {
    list-style-type: disc;
}

.legal-text ol > li > ol {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.legal-text ol > li > ol > li {
    list-style-type: lower-alpha;
}

.policy-date {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
    text-align: right;
    color: #6c757d;
    font-size: 0.9rem;
}

footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 5%;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e8f0fe;
}

footer p {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .legal-content {
        padding: 100px 5% 3rem;
    }
    
    .legal-container {
        padding: 2rem 1.5rem;
    }
    
    .legal-container h1 {
        font-size: 1.8rem;
    }
    
    .legal-text h2 {
        font-size: 1.3rem;
    }
    
    .legal-text h3 {
        font-size: 1.1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

