/* ==========================================
   適法性 CSS
   ========================================== */

/* コンテンツ全体のコンテナ */
.legality-content {
    padding: 20px;
    max-width: 960px;
    margin: 0 auto;
}

/* 白背景のカードデザイン */
.legal-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    line-height: 1.4;
    font-size: 1.0rem;
}

/* 各章・各条の見出し */
.law-box {
    margin-bottom: 40px;
}

.legal-card h2 {
    font-size: 1.25rem;
    border-left: 4px solid var(--theme-color);
    padding-left: 15px;
    margin-bottom: 20px;
    color: var(--text-main);
}

/* 法律条文・判決文の引用ブロック */
.law-text, .judgment-text {
    background: var(--bg-light);
    border-left: 4px solid #ccc;
    padding: 20px;
    margin: 25px 0;
    font-size: 0.95rem;
    color: var(--text-sub);
    line-height: 1.7;
    border-radius: 0 4px 4px 0;
}

.law-text h4 {
    color: var(--text-main);
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: bold;
}

/* 重要な補足・まとめ */
.law-summary {
    background: var(--primary-blue);
    padding: 15px 20px;
    border-radius: 6px;
    margin: 20px 0;
    font-size: 0.95rem;
}

body.mode-cutting .law-summary {
    background: var(--primary-green);
}

.important-notice {
    margin-top: 30px;
    padding: 25px;
    border: 2px solid var(--theme-color);
    border-radius: 8px;


/*
.terms-content {
    padding: 20px;
    max-width: 960px;
    margin: 0 auto;

}

.terms-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    line-height: 1.4;
    font-size: 1.0rem;
}

.terms-section {
    margin-bottom: 40px;
}

.terms-section h2 {
    font-size: 1.25rem;
    border-left: 4px solid var(--theme-color);
    padding-left: 15px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.terms-section ol {
    padding-left: 1.5rem;
}

.terms-section ol li {
    margin-bottom: 15px;
}

.terms-list {
    list-style: disc;
    padding-left: 1.5rem;
}

.terms-list li {
    margin-bottom: 10px;
}

.terms-list.type-none {
    list-style: none;
    padding-left: 0;
}

.terms-list strong {
    color: var(--theme-color);
}
*/

/* スマホ対応 */
@media (max-width: 768px) {
    .terms-card {
        padding: 20px;
    }
    .terms-section h2 {
        font-size: 1.1rem;
    }
}
