@charset "UTF-8";

.legal-page-container {
    padding-top: 60px;
    padding-bottom: 100px;
    max-width: 800px; /* 読みやすい文字組みの幅に制限 */
}

.legal-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.legal-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    color: var(--text-main);
}

.legal-intro {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.legal-content {
    color: var(--text-main);
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-left: 12px;
    border-left: 4px solid var(--primary-color);
    line-height: 1.4;
}

.legal-section p, 
.legal-section li {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #444444;
}

.legal-section p {
    margin-bottom: 15px;
}

/* リスト（箇条書き・番号付き）のスタイリング */
.legal-section ol,
.legal-section ul {
    padding-left: 1.5em;
    margin-bottom: 15px;
}

.legal-section li {
    margin-bottom: 8px;
}

.legal-section ul li {
    list-style-type: disc;
}

.legal-section ol > li > ul {
    margin-top: 8px;
    margin-bottom: 0;
}

.legal-footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* スマホ対応 */
@media (max-width: 768px) {
    .legal-wrapper {
        padding: 30px 20px;
    }
    
    .legal-title {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.05rem;
    }
    
    .legal-section p, 
    .legal-section li {
        font-size: 0.9rem;
    }
}